« first day (1734 days earlier)      last day (3096 days later) » 

3:03 PM
I do love the code snippet
thank you to the author
 
Anonymous
The leaderboard snippet?
 
yes
hmm.. the answer have ignored the 60 seconds part I think
 
Anonymous
That would be @MartinBüttner's baby
 
it's very nice
 
@Lembik They are mainstream to most. The vast majority of programs sold today have animation and interactivity. It's just hard to spec for on a site like this, which is not mainstream at all.
 
3:09 PM
@Geobits I think I meant that the most popular programming languages don't make it trivial any more
@Geobits it used to be something a 9 year old could easily do
 
My 8 year old has no problem doing it in Scratch :P
 
@Geobits ah yes.. Scratch! I meant something you write in English :)
 
Anonymous
> write in English
 
Anonymous
Well Perl is right out, then
 
English? I don't know a popular language actually written in English.
 
3:10 PM
it's a shame that pygame is not properly supported I suppose
 
Anonymous
@Geobits AppleScript
 
@Geobits :)
 
@Geobits Shakespeare
 
python would seem an ideal language to make this easy in
 
Anonymous
@Geobits COBOL
 
3:11 PM
@Mego I guess you guys missed the "popular" part of my statement ;)
 
Anonymous
@Geobits AppleScript and COBOL are both popular. Whether they should be purged by fire is a different matter.
 
@Geobits I dunno ... every time Shakespeare is posted it seems to get dozens of upvotes
 
-_-
 
Anonymous
I took a class on COBOL for my degree and I barely know how to use it
 
Nothing mentioned is in the top 20 on TIOBE, for example. By "popular", I assumed "something a ton of people still use, and not for purely legacy reasons".
 
Anonymous
3:15 PM
COBOL is #21
 
@Geobits I did.. but I am not sure I am "it" :)
 
It = the statement in this context. You can be an it too, if you want ;)
 
:)
 
Anonymous
You could argue that PL/SQL is closer to English than most other languages, and it's #18
 
@Mego I'd dispute COBOL's "Englishness", too.
 
Anonymous
3:17 PM
@Geobits It's more of Engrish really
 
:D
 
more popular languages are certainly not not in English :)
 
Inform-7
 
Anonymous
Yeah I think everything that is close to English is balanced out by the fact that Perl is #9
 
Anonymous
I mean seriously
 
Anonymous
3:18 PM
23 hours ago, by Dennis
~!0!~('@"/(@`)~@``^"|'.(('"
_]'^'|"`&').('[)).["[}(@,@@
{~/),$}@{**(!(^$&%{%{*[/,`,
'^'+[@@/+{_`%@,/&[)@[@@_`[#
!(!~-/,[,[#{&%@').'"!"})'))
 
Making languages "more like English" usually turns out bad anyway.
 
@Mego you are 100% right :)
 
Anonymous
There is a grand total of 1 alphanumeric character in that program
 
you used to be able to do great things like $$var in perl :)
can you guess what the means?
 
0
A: Create a programming language that only appears to be unusable

ZgarbHPR, written in Python 3 HPR (the name means nothing) is a language for processing lists of integers. It is designed to be minimalistic, extremely limited, and free of "artificial" restrictions. Programming in HPR is painful, not because you have to solve a puzzle to keep the interpreter from sh...

^ Get cracking.
 
3:21 PM
Guys there's a big backlog now!
3 unusable languages
Someone besides Martin needs to help :P
 
I can't see to get the answers to work.. Does jsfiddle.net/m7gjb69g show anything for anyone?
 
Try decreasing your resolution? :P
 
@Lembik I see a moving pixel.
 
@Zgarb ah ok :) I am just blind
 
@feersum I think I can solve the dragon thing, but I'd need to generate the code and can't be bothered right now...
 
3:24 PM
I see it now
 
No worries... there's a whole week left.
 
@Zgarb is the speed uneven for you?
 
@Lembik Yeah, it seems to slow down when it returns to the left border.
 
@Zgarb for me too
I have asked the author why
@feersum Thanks :)
@Zgarb the author has made an edit as a result :)
 
@Geobits see: AppleScript
 
3:34 PM
@Lembik I'm feeling useful!
 
:)
 
Wow my i'm an idiot message might be the most starred message I've ever seen
2
Jeez
 
It's pretty close to the highest. C'mon everyone, we can make it the champion! :P
 
It's higher than any of the others on the many memes post
I'm impressed.
 
I'll star it if quartata asks me to :p
 
3:39 PM
I'm fairly certain this is the highest at 20. Just a few more to beat it ;)
 
ok so despite Martin's valid criticism, I am quite pleased to get 3 answers so far.
even though that is almost the number of downvotes too :(
 
@aditsu pls :3
@Geobits Yeah that's the highest I know of
 
ok :p
 
It should probably be pinned. That's what you do with information that everyone in chat needs to see, right?
 
@Lembik I don't see any criticism from Martin on the question :-/
 
3:41 PM
@Lembik What challenge is this?
 
It was in chat, not on the post.
 
it's a chopper, baby
 
Sounds like a job for SNES assembly
(no it doesn't)
 
3:42 PM
@Rainbolt Martin was (rightly) highly critical of my lack of sandboxing
 
Lack of sandboxing is not something to criticize honestly
 
@quartata please go ahead :)
 
Poor quality is, though
 
I just learned a new keyword in AppleScript.
 
@VoteToClose ooh
 
3:43 PM
@Rainbolt I hope it's not poor quality now
 
0
A: Remove repeated words from a string

VoteToCloseAppleScript, 162 bytes Interestingly, this is almost identical to the non-repeating characters thing. set x to(display dialog""default answer"")'s text returned's words set o to"" repeat with i in x considering case if not i is in o then set o to o&i&" " end end o I didn't actually know the considering keyword before this. the more you know...

considering : involving a constant that is not considered by default. O.o
 
Anonymous
@VoteToClose Challenge: Answer every non-closed question in AppleScript
 
@Lembik I thought the flow was a bit odd. "Hey guys, can I have feedback on idea A? (feedback ensues) Ah, ok, cool. How about idea B? (no feedback) Hey I posted B!"
 
@Geobits Well B evolved from A, the comments about it and what I realised from them and thinking about it more
I realised that writing a maze challenge would be hard to get right
at least for me
and that putting one pixel on the screen would be easy to get right but was too boring
so I settled on something relatively easy to get right and not too boring.. hopefully :)
 
3:48 PM
Why was this challenge about ascii art never really answered?
 
@VoteToClose The spec seems pretty complex.
 
That and the bonuses are weird. -20 bytes for detecting an impossible condition and printing a 21-char string?
 
@Geobits It's a trap! D:
 
The sesame seed thing makes no sense to me, either. Does it need sesame seeds? How many? Stuff like that.
 
Anonymous
Yeah that spec is awful
 
Anonymous
3:57 PM
@VoteToClose
 
Anonymous
Your name is relevant
2
 
20 stars
one more to overtake
 
One more to equal 19.
9 + 10 = 21, 9 + 10 = 19 19 = 21
 
4:14 PM
347
Q: Write a program that makes 2 + 2 = 5

qwrWrite a program that seemingly adds the numbers 2 and 2 and outputs 5. This is an underhanded contest. Your program cannot output any errors. Watch out for memory holes! Input is optional. Redefining 2+2 as 5 is not very creative! Don't doublethink it, try something else.

 
Ooh.
 
Aah.
 
Bing bang, wallawalla bing bang?
 
hmm... maybe I should give a bounty to the first person to post an answer in a top 20 language!
or just multiply their score by the rank :)
 
its this weird stuff that you come up with that bites you back
 
4:18 PM
bytes*
 
bights*
 
bighghts*
 
bisdfghksts*
 
VoteToCloseAsSpam*
 
4:19 PM
:c*
 
> Snow White took a bight of the red apple.
Wtf?
 
Uhh...
 
> Work out which sentences are correct. Then click on the "Check Here!" button.
 
Wrong. 3.8 bits make a Geobits
 
this is great Haskell! let 2+2=5 in 2+2
 
4:21 PM
@Rainbolt Reading instructions is for suckers ;)
 
! is a special character. ;)
 
4:23 PM
#ShouldHaveUsedAHashtag
 
We have lift-off
 
@Optimizer was that in reply to my comment?
 
yes
 
Wow
 
@Optimizer oh you mean weird scoring functions come back to bite you?
or something else?
 
4:29 PM
yes
 
wow
 
@BetaDecay ?
@Optimizer I am sure you are right
 
I'm making up for the lack of doge (@TheDoctor)
 
if 2 + 2 ≠ 5 then ¬
return false
return true
10
A: What is ¬ called and what is it for?

IxrecThe only use I've seen for the ¬ symbol is to represent negation in the context of formal logic. For instance, if P is the proposition "It will rain today", then ¬P is the proposition "It will not rain today." I've also seen ~ used for this. I don't believe it has an actual name other than "nega...

...except for the fact that in AppleScript it means continue line.
 
4:31 PM
Did we have a challenge whose score was the number of ones in the binary representation of the code characters? Am I imagining things?
 
@BetaDecay Great timing, I've arrived.
 
Okay, I'm back
 
@Calvin'sHobbies Yes.
 
@Calvin'sHobbies Nope, never seen that
 
4:32 PM
There was something about peanuit butter though
 
@feersum Have a link? :)
 
^
 
@TimmyD Thats the one
 
So it wasn't the peanut butter one?
Well that backfired :P
 
4:36 PM
Still one of my favorite answers ... "I'M SHOUTING AT YOU BECAUSE IT'S CHEAPER!"
 
I seem to remember having posted an answer to that, actually
But I guess not, because I can't find it
 
Is there a quick way to search for starred posts with at least x stars?
 
I don't think so.
 
1
A: Remove repeated words from a string

Belfieldclass Dictionary { public Dictionary<int, string> InsertWordsIntoDictionary(string userInput) { Dictionary<int, string> newWords = new Dictionary<int, string>(); int a = 0; int b = 1; userInput = userInput.Insert(userInput.Length, " "); for (int i...

WHY IS THIS UPVOTED
 
Haha wow that could be my headmaster
 
4:56 PM
Best code-golf ever.
 
5:13 PM
@AlienG He could have golfed it some more by using longer variable names instead of a, b and i.
 
Torchy's Tacos took over a building that literally just got renovated before they moved in, and somehow it it taking them 6 months to open
They've been hiring for two months now
 
@MartinBüttner I have a follow up idea that I will sandbox! Assuming you don't tell me it isn't even worth that
how about "breakout" without any bricks?
 
So, more like masturbatory pong?
2
 
@Geobits that is a great expression for a teenager's bedroom!
Pong for one
I want to make it simple enough that good solutions will be short.. if you see what I mean
@Geobits what do you think?
I expect Processing will be the right language again :)
 
It could be hard to specify how the ball should bounce from the paddle
 
5:19 PM
@feersum good point.. hmmm
 
"The ball moves according to the third derivative of 3x^3 + 2x^2 + x - 3" :7
 
650 bytes for the full two player game is very impressive
 
1
Q: Open the combination

Stewie GriffinThe scene is: Peter is at the gym with his buddy Brian when Brian suddenly is in dire need of his inhaler. Brian manages to tell Peter the code to his combination lock before he collapses on the floor. The moment Peter gets to Brian's locker and sees what the indicator is pointing at, Stewie a...

 
or less in Processing...
@CᴏɴᴏʀO'Bʀɪᴇɴ not sure what to make about that comment :)
 
@Lembik Oh, come on! It's just the Calculus! Not that hard :P
 
5:25 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I can take the 3rd derivative :)
it's just that I can't do the physics :)
 
@Lembik Hooray! And I'm the same way :P
 
:)
 
I'm a pure math guy, all this application makes me cringe.
 
@NewMainPosts Since when does Brian need an inhaler?
 
we need more code golf answers in C and Haskell.. imho
 
Anonymous
5:28 PM
For pong, the angle of reflection wrt the normal of the paddle (a vector/line perpendicular to the paddle) is equal to the angle of incident, but reflected across the normal
 
Anonymous
Just like optics
 
@Mego what about if it hits the end of the paddle?
or the paddle is moving in the direction of the ball?
 
Anonymous
@Lembik Same formulation, but use the normal of the side of the paddle
 
Anonymous
@Lembik oh right crap, I'll dig around for a better formula
 
Anonymous
Though it should be the same angle, but given extra momentum due to the movement of the paddle
 
5:29 PM
@Lembik Just say that the user cannot move the paddle in the same direction of the ball. Easy fix, imperial programming.
 
:)
 
@Lembik Both C and Haskell are in the top ten, ahead of most golfing languages, according to this query. It counts all answers, not just golfs, but since the vast majority of questions are golfs, it works as a decent proxy.
 
@Mego It's not like that at all.
If it were, you would have zero control over the direction of the ball.
 
@Mego It is a travesty that MathJax doesn't work. Besides, you forgot to enclose ing with {...}.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ It works on my screen, because I'm using the extension
 
5:31 PM
Oh, huh. So your extension did the subscript incorrectly?!
 
Anonymous
@feersum It is, but with the momentum being added from the moving paddle, the ball can bounce off on the same side of the normal
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ No, it did it correctly, I was mainly just testing to make sure I remembered how to do it
 
Anonymous
18
A: In Pong, how do you calculate the ball's direction when it bounces off the paddle?

RicketHere's the relevant logic I used on the pong on my homepage: (please go play it before reading, so that you know the effect I'm achieving with the following code) Essentially, when the ball collides with the paddle, its direction is completely disregarded; it is given a new direction according t...

 
Anonymous
Yahtzee
 
@Mego OH okay. What does this look like? $$\dfrac{3x^3}{f^\pprime(\mathbb{Q},3-2i)}-q_3\left(a^{\|n\|}\right)$$
 
Anonymous
5:35 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ good, except for \pprime
 
Huh. I think that's a valid symbol, isn't it?
 
Yeah, they really should add mathjax support.
 
Anonymous
You want \prime I believe
 
Anonymous
Or just '
 
In the meanwhile, there are online renderers you can use.
 
5:36 PM
@Mego Huh. I typically use a math extension in my LaTeX documents. I guess its not a vanilla symbol?
 
Anonymous
$$f^{\prime}(x) = \lim_{h\to 0} \frac{f(x+h)-f(x)}{h}$$
 
puts on sunglasses
Guess who learned how to use the ! ?!
 
Anonymous
Alternatively $$f''(x) = \frac{df'}{dx}$$
 
@Conor I'm going to guess it was you.
 
@SuperJedi224 One n, and yes it was :3
 
Anonymous
5:41 PM
$$I_0(M_n) = min(M_n,k), M' = \{m_i-1:m_i \in M \land i \notin I_0(M)\}+\{m_j:m_j \in M \land j \in I_0(M)\}$$
 
Anonymous
$$P(M_n,k) =
\left\{
\begin{array}{ll}
0 & \mbox{if } n < k \\
1+P(M',k) & \mbox{if } n \geq k
\end{array}
\right.$$
 
@Mego That doesn't work here ...
 
Anonymous
$$min(M,n) = \text{the }n\text{ minimal elements of }M$$
 
@mınxomaτ He has an extension and I have patience
 
Anonymous
@mınxomaτ works fine with the chrome extension :P
 
5:42 PM
@Mego *\min(M,n) = \text{the }n\text{ minimal elements of }M
 
Anonymous
Much better
 
Anonymous
It doesn't work so well when you try to copy over stuff from a TeX document :P
 
So? What's the point of an extension when other (I dare to say most) people don't see it :)
 
@mınxomaτ Some people are enlightened: they can see (La)TeX in their minds.
 
Anonymous
5:44 PM
And some can look at a bunch of parens and tell if they are matched
 
^ Mostly Lisp programmers
 
Anonymous
carrot.c I've actually never used Lisp, and I can usually do that
 
Anonymous
But I do a fair bit of functional programming in Python, so it's not too far off
 
I can do it, so long as the text isn't, erm, long. And yes, that is very close!
 
I have now officially filled 4 hoppers completely with coal.
 
5:46 PM
MINI-CHALLENGE Objective Check to see if parenthesis are matched, given two arrays/sets/tuples/etc. of symbols to match. (E.g.,func(["(","{"],[")","}","{{()}}{}()][");)
 
maybe we should have a treap implementation challenge
have data structure implementation challenges worked well before?
 
@SuperJedi224 Are you talking about Minecraft hoppers?
 
Yeah.
 
Then you should look at paulsoaresjr's cool "Easy Bake Oven". It uses hoppers and chests.
 
I already have a hopper-chest system for feeding coal to my battery of furnaces.
 
Anonymous
5:48 PM
6
A: Math in manhattan

MegoPython, 665 bytes import operator as o, re as e, sys x,q,t,r,w='*/+-M';mm,md,ma,ms='*M /M +M -M'.split() n=lambda x:x a=lambda a,b:str(10*int(a)+int(b)) v=lambda a,b:a[::-1].replace(b,'',1)[::-1] m=lambda a,b:a.replace(b,b*int(b)) d=lambda a,b:m(a,b[0])if a>0 else b[0] def p(s):s=s.group();ss=s....

 
@CᴏɴᴏʀO'Bʀɪᴇɴ imho that would be a bit too similar to exisiting matching challenges.
 
Anonymous
My proudest (mostly) functional code, also on @CᴏɴᴏʀO'Bʀɪᴇɴ's challenge :P
 
@mınxomaτ Exactly. It's just a mini-challenge.
@Mego Which one? :D
 
Anonymous
mini-challenge*
 
So apparently I'm a bit late for the LaTeX, but here's the basic axiom for code golf
 
Anonymous
5:49 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ read up
 
wait
 
@Mego OH HAHA
 
Anonymous
@Pietu1998 You are never late for latex parties
 
how do you do images here
 
@Pietu1998 fail :D
 
Anonymous
5:49 PM
Just paste the image link
 
apparently not
 
^ with an exclamation point in front of it
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ That was a really fun challenge
 
5:49 PM
@Pietu1998 Man...
 
@Mego Thanks :) That makes me feel good.
 
well that didnt work
 
-2
Q: How to print the inverse of a number in Python?

user46665For example you enter 5 and the program prints -5. Thanks!

 
Yeah, no kidding @Pietu1998
 
@Mego I read this as "My most functional code" to which I thought "Hmm. Lot of corrective comments..."
 
5:51 PM
@Mego What is that video supposed to mean?
 
Anonymous
@VoteToClose By functional I mean functional programming, not functioning properly :P It was my second answer, gimme a break
 
finally
 
Anonymous
 
Anonymous
There, now that you did that, it's appropriate again
 
5:52 PM
@Mego What is that video supposed to mean?
 
"What's this?! An equation for ants?"
 
Anonymous
@ΚριτικσιΛίθος carrot.gif
 
carrot.psd
 
carrot.vtc
 
5:53 PM
@Mego ? Where's the carrot
2
carrot.png
 
carrot.com
 
Anonymous
@ΚριτικσιΛίθος carrot = caret = see above
 
Anonymous
whoosh
 
car.rot
2
 
Anonymous
what have I done
 
5:53 PM
You've started the end times, is all.
 
Anonymous
oh ok I can live with that
 
@Pietu1998 This is a live chat for reddit.
 
@Mego what is caret?
 
@VoteToClose .com, as in DOS executables
 
5:54 PM
carrot.bat
 
while(true){s/carrot/carrot.carrot/g}
 
Anonymous
 
./carrot.sh
 
@ΚριτικσιΛίθος ^
 
5:55 PM
So, any comments on the Microscript II draft specs?
 
carrot.txt
 
carrot.jpg.exe
 
"Shortest program that takes input to output an amount of carrots (^)" go, now.
 
carrot@gmail.com
 
5:55 PM
@Zgarb virus
 
Anonymous
carrot.py.c.java.php.cpp.rb
2
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ print'^'*input()
 
carrot.pde
carrot.css
 
@CᴏɴᴏʀO'Bʀɪᴇɴ "^"r\[DO]
 
I_s"^"*
 
5:56 PM
Language names !?
 
Microscript II (latest draft)
 
Vitsy.
 
carrot.^
 
I should really add an integer input function.
 
5:57 PM
carrot.mc
 
carrot.se
 
^ closed as dupe
2
 
^ too
 
5:57 PM
Damn, that's a lot of carrots.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ in J: #&'^'
 
Simplex, uiv"^"u[v*uM]
 
carr.out
 
@Zgarb .... language. please.
 
5:58 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Vitsy wins again! :D
 
@VoteToClose Haha, almost.
 
carrot.getEaten();
 
@SuperJedi224 wins @VoteToClose
 
carrot.isAToy()
 
5:59 PM
carrot.listAllExtensions()
 
carrot.carrot()
 

« first day (1734 days earlier)      last day (3096 days later) »