« first day (1809 days earlier)      last day (3025 days later) » 

10:00 PM
ohh...my brain doesn't qualify for any of them
 
Usually fun though. :P
 
but what's the difference between codegolf and normal programming
 
@feersum The submissions should preferably be tested on tens of thousands of inputs.
A million generations might make that slow.
 
@manshu In code golf, the objective is to make your code as short as possible.
 
Code golf just means making your code as short as possible.
 
10:01 PM
Ninja'd
 
> code as short as possible
 
Often at the expense of ugly code and/or inefficient algorithms.
 
are we golfing the definition of golf
 
Making your code ASAP
 
10:01 PM
short code 10 bytes
 
ahh...
 
2
Q: Plurality Voting with Cellular Automata

PhiNotPiThere's a really important problem in cellular automata called the Majority problem: The majority problem, or density classification task is the problem of finding one-dimensional cellular automaton rules that accurately perform majority voting. ... Given a configuration of a two-...

 
@NewMainPosts whoa
 
Fastest 6 votes ever?
 
<html>
need to study. bye
</html>
 
10:04 PM
later
 
@PhiNotPi I added some tags for you, I forgot to check those in the sandbox.
 
Thanks
 
@NewMainPosts There go all the things I was hoping to get done this week...
 
TBH, I have no clue how to go about solving my own challenge.
 
New challenge idea: cellular automaton bot wars >:)
 
10:10 PM
@PhiNotPi I want to try and implement the Juille and Pollack paper for this, but that might have to wait a day or two.
 
@ETHproductions That actually sounds interesting.
 
@ETHproductions sounds like the top-rated never-posted sandbox proposal
 
^ that too
 
Yeah, good point...
 
Which doesn't mean you can't do it anyways.
The top post is pretty much up for grabs at this point.
 
10:11 PM
Hey, wait...I've already got a KotH under my belt, and I just did some CA work...
I should do the N-Battleship KotH and then I'll have all the pieces I need to do that one.
 
@MartinBüttner I have to look at it when I am more awake=)
 
@El'endiaStarman You over-achiever.
 
@PhiNotPi very nice and interesting question
 
@Dennis oh, wow, they do
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Haha. Well, N-Battleship would teach me how to interface with programs in other languages.
 
10:14 PM
@MartinBüttner I'm looking forward to your solution=)
 
Oh, true.
I want to know how to do that.
 
@flawr I don't think I'll be posting it for the code golf, because it's not going to be as short as the naive solution
 
STDIN and STDOUT are just synonyms for i/o to me. But it's something more than that, right?
 
@AlexA. when everyone around you is saying the same thing, maybe you should listen ;P
 
ಠ_ಠ
 
10:15 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Those are a specific subset of I/O, and there's a difference between knowing that and actually doing it.
 
okai
I'll just hide in my JavaScript corner.
(Y'know, where STDOUT and STDIN are fantasy. :P)
 
@PhiNotPi That challenge is waaaaay over my head.... No offense, but I'll stick to code golf for now.
 
@flawr Amazing. Also, I like how the audience looks like they're at a concert. :P
During the celebration, that is.
 
#NoPlaneCrash
 
@Doorknob you missed the close/reopen war
 
10:19 PM
did I?
 
1 hour ago, by quartata
user image
 
hardly a "war"
 
True, but:
This shouldn't have been reopened. Ideally, it should stay mod-locked until we reach a consensus on meta.quartata 3 hours ago
I dunno if you're allowed to do that but it seems like it would be the best preventative step.
 
That's actually one of the default lock reasons.
 
Oh.
 
10:21 PM
> This post has been locked while disputes about its content are being resolved. For more info visit meta.
 
I wish we would get a meta answer from one of the people who wanted it reopened
All I see so far are downvotes from them
 
Insightful meta answers take time. Be patient.
 
@flawr The Mathematica code from the OEIS page takes about 6.5 seconds for the first 1000 numbers. My new code takes 2.2 seconds. However, that code uses exceptions for control flow so that might be part of the reason.
 
@Dennis That reminds me that I forget to change the title
 
@flawr okay, mine seems to have better complexity. 2000 takes 10 seconds for mine and 50 seconds for that one. so I guess mine is quadratic and that one is more like cubic, as expected.
 
10:25 PM
Whoa, there was a week where I was #3 in rep gain? Cool.
 
it's still way too slow to extend the sequence :(
 
@ETHproductions I remember a month where I was #3 in rep gain. Good times...
 
@MartinBüttner Did you look at the python code there?
I do honestly not quite understand how that one works.
 
@quartata I'm currently #10 this year, and it hasn't updated for today yet (+200 as of right now)
 
@flawr looks like the naive implementation
 
10:27 PM
Wow, my first week on the site, I got #7.
 
@ETHproductions Are you good with JS?
 
I have decided that exercise is bad for you. According to my FitBit, when I started exercising I was burning 19.7 calories per 15 minutes of just sitting there. Now, I am burning only 19 calories per 15 minutes of just sitting there. This is because as I get in shape, my resting heart rate has decreased. Being in shape has actually caused me to burn less calories.
 
@quartata I remember when Martin didn't have as much rep as the rest of the front page combined
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes. I'm a JS guru. Maybe.
 
@flawr find all potential terms formed by arithmetic sequences with positions current-i and current-2i
 
10:28 PM
Ah ok that makes sense!
 
another test link...
 
although that one is also quadratic
 
@ETHproductions Okay, that's what I thought. Here's my problem: I want to catch an error. Simple, right? I was wondering if there were some errors that are "uncatch-able"; for example, this fails:
var a;try{function(){}}catch(e){a=e}
Maybe I'm doing something stupid...
 
the mathematica code is cubic... it actually seems to check all potential terms for every single value
 
Just to avoid confusion, by cubic you mean it takes O(n^3) time to calculate the terms s(1) ... s(n), right?
 
10:30 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ That seems a little odd. var a;try{eval("function(){}")}catch(e){a=e} works for me, though.
 
Thanks!
Weird that the former doesn't work.
 
@Rainbolt That reminds me that I found an abandoned FitBit on the sidewalk that I've been meaning to take apart
 
0
A: Tips for golfing in Brainfuck

undergroundmonorailIn this answer I'm going to refer to a specific cell on the tape many times. It doesn't matter which cell it is, but it's the same cell throughout the entire answer. For the purposes of this post, I'll call that cell "Todd". When trying to set a cell to a constant value, it sometimes pays to not...

todd
 
Hello, Todd!
 
Todd?
 
10:32 PM
Todd.
 
Looks like it is a "FitBit Flex," whatever that means.
 
@PhiNotPi todd
 
Why, Todd???
 
what is it with you and disasters
2
 
@flawr He needs his Viola :D
 
10:34 PM
@flawr just ported that code to Mathematica
it's also slower than mine
22 seconds for N=1...2000
(mine took 10)
 
Is there a fastest code?
 
todd: the other dank doge (edit: I tried my best)
 
lame
 
@MartinBüttner I can't explain why but my brain read that as "just poured that code into Mathematica"
 
10:35 PM
that's accurate too
 
@TanMath Do you intend to allow third party libraries for parsing links from the page?
 
@flawr yes
although I guess it's actually O(s(n)*n^2) but then it looks like s(n) = O(n)
 
There's a first time for everything:
54
Q: Regex that only matches itself

Dylan MadisettiThere are some pretty cool challenges out there involving regex (Self-matching regex, Regex validating regex) This may well be impossible, but is there a regex that will ONLY match itself? NOTE, delimiters must be included: for example /thing/ must match /thing/ and not thing. The only match p...

 
oh jeez i just realized. no one ever edit this question. it's a piece of history
 
whereas mine is O(n*(s(n)+n))
@Dennis D:
you done it
 
10:37 PM
Why does that provoke sadness?
 
shock, not sadness
I never thought that would happen
 
@AlexA. I assume you've finished those books by now?
 
@AlexA. y u no IPA
 
@flawr No, I'm still only part way through the third. :/ I need to finish it!
 
10:38 PM
I have no idea how to pronounce any of those either
 
@AlexA. why pick one?
I sometimes pronounce it dohj
and sometimes doggie
depending on the context
 
@Doorknob I like India pale ales but I don't know IPA phoenetics
 
it's 'doggie' when doge is used to describe a cute doggie
 
scrolling through the Unanswered section Ooh, this one looks nice! click Nah, too hard... back How about this one? click Aw, too hard again... back This one will be a piece of cake! click Urrgh.......
 
it's 'dohj' when you're referring to the meme
 
10:39 PM
@orlp I would imagine that the majority of folks would choose whatever they use most often when referring to the meme
 
"dohg" is the option for a hard "g" sound right?
 
@orlp I've never seen "doge" used like that
@Rainbolt Like the g in dog
 
I always think "dohj"
 
@AlexA. you, sir, need to consume more internets
 
@undergroundmonorail why?
 
10:40 PM
CONSTRUCT ADDITIONAL INTERNETS
 
@undergroundmonorail Strange attraction.
 
@Doorknob if you edit it, the system will make you change the title
 
ahh okay
 
I picked dohg just because I call my dog a "Purddy Dohggie" with a hard "g".
 
@orlp I believe those would be called "Outernets"
 
10:41 PM
@ETHproductions eww
 
@Rainbolt WHAT KIND OF DOG DO YOU HAVE
 
what is this 'outside' you speak of?
3
 
@AlexA. A beagle
 
 
oh goodness
 
10:42 PM
o_o
 
Come here doggy dog!
He just wants to play.
 
What a... nice, dog.
 
 
@orlp That's not scary, it's just a smiley husky with shitty resolution in the dark
 
10:43 PM
@FlagAsSpam Are you going to work on "Flasp"?
 
Apparently the correct pronunciation is "dəʊdʒ"
Noun: doge ‎(plural doges or dogi)
  1. (historical) The chief magistrate in the republics of Venice and Genoa.
  2. 1982, John Julius Norwich, A History of Venice, chapter 34, page 346
  3. doge
  4. doge m ‎(plural doges)
  5. doge m ‎(plural dogi)
(4 more not shown…)
 
@flawr wooo, brought 10 seconds down to 6.5
 
@Rainbolt How does one pronounce that?
 
@MartinBüttner I need to see your code=) (I hope I can understand it=)
 
@AlexA. that IS the pronunciation
 
10:45 PM
@orlp Right, but how do I make it come out of my mouth?
 
Timing[
 max = 2000;
 ClearAll[sieve, f];
 sieve[n_, k_] = False;
 f@1 = f@2 = 1;
 For[n = 2, n < max,
  temp = f[n];
  For[i = n - 1, i > 0 && 2 n - i <= max, --i,
   sieve[2 n - i, 2 temp - f[i]] = True;
   ];
  ++n;
  i = 1;
  While[sieve[n, i], ++i];
  f@n = i;
  ]
 ]
@flawr ^
 
@AlexA. ?
 
@MartinBüttner Thanks!
 
Just found on Amazon.com: "Unfortunately, this item will not arrive before Christmas."
 
@AlexA. just pipe it to /dev/ipa
err
 
10:46 PM
@orlp Is that really a thing?
 
echo "dəʊdʒ" | ipa2wav > /dev/mouth
execute that in your brain unit
 
0
A: Sandbox for Proposed Challenges

El'endia StarmanCount Standard Young Tableaus A tableau is a shape composed of squares such that the number of squares per row is decreasing, and filled with the numbers 1 through n. This is a Young tableau. A standard Young tableau is one where the numbers in each row and column are increasing (in that row/col...

 
ಠ_ಠ
 
@MartinBüttner Ungolfed Mathematica is as difficult to read as I imagined, I realise.
 
@flawr mathematica is perfectly fine to read... for mathematica users =/
 
10:47 PM
 
I blame mr. wolfram
a genius and a madman
 
@flawr Looks like a train with an untamed mustache
 
Also apparently a very unpleasant person
 
I think I should get used to it when considering my current occupation...
 
he claims cellular automata are behind the universe and life itself, and should be studied in science as the fundamental pieces
 
10:49 PM
Did you read teh book?
 
no :(
 
Why the ":("?
 
I'm just rehashing other people's summaries
 
@flawr let me know what's unclear
 
@flawr because I'm giving you guys sadly only a third hand view
 
10:50 PM
@MartinBüttner Nothing, so far=)
 
@orlp Sounds like those digital physicists I've heard of
 
@orlp 1197 pages.
 
Wait, Wolfram wrote that?
 
1197... Uh...
 
@quartata yes
 
10:51 PM
@quartata Yes
 
@AlexA. haha
you got ninja'd
out-chatted
 
o dam son
 
@quartata No, he used the WriteBookAbout[Me] command in Mathematica.
 
That's too bad. I thought he was rather sane.
 
 
MY CHAT EXPERIENCE :(
 
to be fair, I am to blame
 
@orlp's chat experience can be summed up as simply ( ͡° ͜ʖ ͡°)
 
avg(cat,hat)=chat
 
10:53 PM
⎝ ͡° ͜ʖ ͡°⎠
 
If you get enough chat experience, you evolve
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Wow. Just, wow.
 
hahaha
 
@orlp (╯ಠ ͜ʖಠ)╯︵ ┻━┻
 
10:54 PM
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▄▄██████▄
▒▒▒▒▒▒▒▒▒▒▄▄████████████▄
▒▒▒▒▒▒▄▄██████████████████
▒▒▒▄████▀▀▀██▀██▌███▀▀▀████
▒▒▐▀████▌▀██▌▀▐█▌████▌█████▌
▒▒█▒▒▀██▀▀▐█▐█▌█▌▀▀██▌██████
▒▒█▒▒▒▒████████████████████▌
▒▒▒▌▒▒▒▒█████░░░░░░░██████▀
▒▒▒▀▄▓▓▓▒███░░░░░░█████▀▀
▒▒▒▒▀░▓▓▒▐█████████▀▀▒
▒▒▒▒▒░░▒▒▐█████▀▀▒▒▒▒▒▒
▒▒░░░░░▀▀▀▀▀▀▒▒▒▒▒▒▒▒▒
:( looks bad
 
@undergroundmonorail So I'm not the only pannenkoek2012 fan
 
@flawr 100k would take about 4.5 to 5 hours by my estimations, but I'm slightly worried about the memory footprint
 
also holy shit .5 A HMC
 
10:55 PM
@undergroundmonorail omg how
 
hype
 
i haven't used this myself but i've heard it works addons.mozilla.org/en-US/firefox/addon/globaltwitchemotes
 
FUN JOLF FACT OF THE DAY R is the join command. It is used for joining arrays, like in this: conorobrien-foxx.github.io/Jolf/#code=xqZbMSwyLDNdJyw
 
10:56 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ CONOR reveals himself to be the dank memer we've always wanted
3
 
@orlp s/ONOR/ᴏɴᴏʀ
 
@flawr reimplementing it in C, I might be able to get to 10^6 in less than a day, I guess.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ none of the buttons work
 
@orlp And hey, it's not like I'm clicking on that link and downloading the software
 
they just cause lots of errors in the console
 
10:57 PM
@Doorknob OH PISS I FORGOT
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHh
sorry I'm tired
 
No excuses
You can sleep later
2
 
@CᴏɴᴏʀO'Bʀɪᴇɴ FUN JAPT FACT OF THE DAY R is a newline. It is used for joining arrays, like in this: ethproductions.github.io/…
 
@undergroundmonorail I'm pissed that he actually had to explain a half A press
It's fairly obvious
Youtube comments amirite
 
I'm thinking about doing the new cellular automata challenge in Rust
 
@ETHproductions You have a redundant output source? ಠ_ಠ
 
10:58 PM
@Doorknob ^^ relevant to your interests
 
FUN pb FACT OF THE DAY: If you have an R anywhere in your code it's stripped out before it's ever parsed.
@quartata i mean, i was confused the first time as well. the difference is that i bothered to read the description :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What?
 
alert and the output text box
 
FUN ALEX FACT OF THE DAY: I don't care what R does.
5
 
^ That's Alex A. for ya.
 
10:59 PM
@undergroundmonorail When I saw the first video with it and saw the AB kicks I immediately understood what he meant
 
@AlexA. he says, having posted many answers in R
 
Also R is my middle initial
 
FUN PYTH FACT OF THE DAY: PYTH > YOUR ESOLANG
 
Oh god what have I done
 

« first day (1809 days earlier)      last day (3025 days later) »