« first day (1749 days earlier)      last day (3112 days later) » 

3:00 AM
Generic stack language seems to be true for the shorter problems, but necessarily all of them (e.g. Minko's 3var).
 
@Sp3000 My plan for Minkolang is to just do the sort of operations you would do on strings on the stack, with it's plain integer values. As in, you can do a replace of 100 by 80, say.
 
But yeah 1D of course is shorter in general (due to the cost of moving to another line and all) but I was hoping 2D might still help for more complex control flow
 
Oh, that wasn't your language, but close enough I guess...
 
@Sp3000 ever heard of github tags, instead of folders?
 
Nope, I haven't - what are those?
 
Anonymous
3:02 AM
sdjfkldfn
 
@Sp3000 github.com/Sp3000/Golfish/releases you can tag points on the history for version and stuff like that
 
Ah thanks (they never teach actual useful repo stuff in uni)
 
hella useful
 
Aaaand I have been outgolfed by Dennis with his 10-byte GS2 answer.
 
Anonymous
@El'endiaStarman Welcome to the club
 
Anonymous
3:11 AM
Make sure to deposit your tears for Dennis's nourishment
 
Anonymous
I need someone smarter than me to point out what I'm doing wrong
 
Anonymous
Permalinks aren't working with chars above 127
 
Anonymous
Because encoding URIs is failing hard
 
Woo repo looks neater already, thanks (probably still doing a ton of stuff wrong though :P)
 
Anonymous
encodeURIComponent isn't doing its job
 
Anonymous
3:13 AM
I'm considering doing a horrible hack and just using the base64-encoded text
 
@Mego Base64 won't work with any code point above 255.
 
Anonymous
@Dennis I don't need it to, thanks to the magic of CP437
 
No worries then. :)
 
3:20 AM
Lies!
@Mego encodeURIComponent encodes as UTF-8. If that's not desired, use escape.
 
Anonymous
@Dennis escape is deprecated though, and encoding as UTF-8 is fine
 
Anonymous
All this encoding juggling is hard
 
Well, the issue is somewhere, and I suspect the encoding. Do you have a non-working permalink you could toss me?
 
Anonymous
I have lots of non-working permalinks, because I changed the permalink structure :P
 
Anonymous
Lemme rollback, that will probably make things a bit easier
 
3:25 AM
I'm making a Turing-complete version of HTML
 
@Mego It's curiosity, mostly. Base64 is a better idea anyway.
@CᴏɴᴏʀO'Bʀɪᴇɴ Is the name PHP? :P
 
@Dennis Haha, no. Using something like <var name="i" value=35></var>
 
1
A: "Hello, World!"

DennisXSM, 28 bytes <print>Hello, World!</print>

 
Anonymous
Oops I broke my tree
 
Anonymous
3:29 AM
user image
3
 
Anonymous
me_irl
 
xkcd oneboxes! please don't post the direct image links :(
 
Oct 31 at 16:57, by Dennis
(This is how I actually feel about git.)
 
(with images, you don't get hovertext, and it's also too small and hard to read)
 
3:31 AM
1 min ago, by Doorknob
xkcd oneboxes! please don't post the direct image links :(
sigh
 
@Doorknob I tried!
 
What is the source?
 
... the same as every other onebox
the xkcd link
 
3:32 AM
yayyy
 
I thought they were preceded by a !
 
Anonymous
I may or may not have broken everything
 
Not for one-boxes.
 
Anonymous
Oops
 
Anyway, if/when I ever do Minko 2.0, I think I'm going to use $, ¢, £, and ¥ as toggles. :D
 
Anonymous
3:35 AM
Oh good it worked sort of
 
Anonymous
 
`` ig1 [[1, 42], [2, 42], [3, 42], [4, 42], [5, 42], [6, 42], [7, 42], [8, 42], [9, 42], [10, 42], [11, 42], [12, 42], [13, 42], [14, 42], [15, 42], [16, 42], [17, 42], [18, 42], [19, 42], [20, 42], [21, 42], [22, 42], [23, 42], [24, 42], [25, 42], [26, 42], [27, 42], [28, 42], [29, 42], [30, 42], [31, 42], [32, 42], [33, 42], [34, 42], [35, 42], [36, 42], [37, 42], [38, 42], [39, 42], [40, 42], [41, 42], [42, 42]]`` ?
 
I get this as the code:
 
Anonymous
Yeah, it's missing `MΣ
 
Anonymous
Probably because of encoding issues
 
3:37 AM
,;R`p`MΣ(-D;n;;╟@RZ`ig1
Didn't realize there were backticks in there.
 
Anonymous
Wait, you guys aren't getting an error?
 
I'm not, no.
Output is borked, though. I see what Conor sees.
 
Anonymous
Try force-reloading
 
Anonymous
I'm getting a 404 now
 
Nope, still works fine.
 
3:39 AM
mah IDE isnt working and i has no IDEa why
 
Both the permalink and the root url.
@phase ಠ_ಠ
 
Anonymous
Weird
 
Anonymous
It started working for me now
 
Anonymous
And by working I mean failing slightly less
 
I am magic with technology.
 
Anonymous
3:40 AM
Stupid cache
 
Mine was working yesterday fine
and now it sucks
 
This is not the first time something has worked after I took a look. :P
 
just straight up failing
 
@phase Yup, does not load for me.
Application error.
 
The logs just show it restarting and failing over and over again ;-;
 
Anonymous
3:42 AM
Ok so
 
Anonymous
I'm gonna try encoding and decoding with base64 now
 
@Mego I haven't looked at the source, but everything after the = gets eaten. I suspect you split the fields of the GET request after URL-decoding.
 
Gets... eaten? o.O
 
@Mego Seriously and this site were made by Mego! I think not >_> <_<
 
^
 
3:45 AM
@AlexA. I got my thing working o-lang.herokuapp.com oh wait no I suck
 
Yeah I tried it and it won't load for me. :/
 
Same error as before for me.
 
Anonymous
> I got my thing working o-lang.herokuapp.com oh wait no I suck
 
You don't suck though, stuff like this just happens sometimes.
<3
 
Anonymous
I dare say I've put more work into mine than you did when I forked it :P
 
3:47 AM
woah woah woah I spent all summer (like a week) on this thing
you just fixed all the bugs
 
Anonymous
When your code is all bugs, that's significant
 
2015-11-13T03:26:06.490564+00:00 app[web.1]: Compiling O...
2015-11-13T03:26:06.649054+00:00 app[web.1]: * Running on http://127.0.0.1:5000/
2015-11-13T03:26:36.464819+00:00 app[web.1]: 2015-11-13 03:26:36 [3] [CRITICAL] WORKER TIMEOUT (pid:363)
2015-11-13T03:26:36.468278+00:00 app[web.1]: 2015-11-13 03:26:36 [369] [INFO] Booting worker with pid: 369
2015-11-13T03:26:36.689773+00:00 app[web.1]: Starting server...
2015-11-13T03:26:36.466553+00:00 app[web.1]: 2015-11-13 03:26:36 [3] [CRITICAL] WORKER TIMEOUT (pid:363)
 
@Mego Hey now, that's a little mean.
 
@Mego ;-;
I don't know what a Worker Timeout error is, but maybe it will go away if I ignore it.
 
14
A: Gunicorn worker timeout error

Amit TalmorWe had the same problem using Django+nginx+gunicorn. From Gunicorn documentation we have configured the graceful-timeout that made almost no difference. After some testings, we found the solution, the parameter to configure is: timeout (And not graceful timeout). It works like a clock.. So, Do:...

Are you using Gunicorn?
 
3:50 AM
yup!
 
There's this whole magical site in PPCG's parent network. People ask questions and some people answer them. It's amazing!
3
 
what!!!!
 
What? They ask questions rather than posting challenges?! What is this blasphemy
6
 
It's more or less like PPCG, except you get yelled at when you post homework.
 
You get yelled at when you post homework on here
 
3:51 AM
Not as loudly
 
Yeah, we're nicer.
 
Hello!
 
Yeah all the mods are nice here. Except Alex
 
It's easier here to disguise your homework as a challenge.
 
;_;
 
@AlexA. jk liy only because you solve my problems
 
Hello!
 
@phase When have I ever solved your problems...? o.o
 
A wild turtle has appeared.
 
3:53 AM
@AlexA. You linked me to that one SO post like a minute ago
 
@CᴏɴᴏʀO'Bʀɪᴇɴ how u know?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Just checking in to see if Alex is behaving. ;)
3
 
@TheDoctor Voila ^
 
@phase I'm merely a messenger. Amit Talmor is the one who solved your problem. :P
 
3:54 AM
I thought that said "make Alex believe."
2
 
Believe what?
 
@Mego wait a minute how on earth is yours working O_O
 
Believe in his imminent doom.
 
@RetoKoradi Idk, in Santa Claus?
 
3:56 AM
Believe that you can win against @Dennis, even though we all know that will never happen.
 
it happened once!
 
Anonymous
@phase Because I fixed all of your bugs
 
@Mego steals all your code
 
Anonymous
Go for it
 
Do we yet have a challenge to escape a regex?
 
3:57 AM
There is no escape from regular expressions
2
 
@CᴏɴᴏʀO'Bʀɪᴇɴ We have one to compliment them.
 
"Oh hey, nice regex."
 
@Dennis As in, "Your shoes look great!"
Ninja'd :P
 
Anonymous
t̛͎͕̰̞h̯̩̰̖͈̜e͍̼̬͍͓͉̜r͖͠e̥ ̯̻͎̤͘ͅi͏̜̞͍̩̖̜s̱̰̕ ̣̩͓̖̭ͅn҉ͅo̭͈̯͔ ͕̤e̶̼s̺̘̕c͞a̫̞̹̠̫̼͙͟p҉e̢͖͖̞̤̬͇͓
2
 
Oh "complement", not "compliment"... I was going to answer something on the lines of "Nice word boundaries!" — WallyWest Mar 17 '14 at 10:41
 
3:58 AM
@AlexA. You should! Some company (that shall rename nameless) got complaints because one of their devices responded "Santa Clause is a fictional character" to the question "Is Santa real?"
 
sigh of course that happened
People get mad at everything
 
@MartinBüttner where are you?
 
zzzZZZzzz I believe
 
@TanMath Where are you?
 
4:02 AM
Right here!
 
Behind your desk.
 
TMI man, TMI
 
@Sp3000 but just 24 hours ago he was up I think...
 
Not at this time usually, give him about 3-4 hours at least
 
@Sp3000 OK.. Can you guys help me debug some Python code?
 
Anonymous
4:05 AM
Remember, when in doubt, use more JSON
 
What's the code?
 
@Mego huh? I thought I should use jQuery!
 
You need to use an equal amount of JSON and JDAUGHTER to be politically correct!
5
 
@Sp3000 it is in my sandbox post... Let me get it...
 
Anonymous
@TanMath That too. That remark was actually re: my JS troubles
 
4:07 AM
@Mego I've dealt with JSON troubles for mine.
 
5
A: Sandbox for Proposed Challenges

TanMathSquares of squares Premise One night, I was just contemplating on numbers. I found out about something unique about numbers like 7, 10, 12, 13, and more. They are squares of squares! Meaning, that when squared, are comprised of squares themselves. The OEIS calls them Squares which are a decimal...

 
@RetoKoradi Gee, thanks JDAD. :P
 
ssl333132.cloudflaressl.com you scumbag
 
?
 
So do you know what the code does?
 
4:12 AM
0
Q: Iterative binary search

A TImplement iterative binary search. Smallest # of chars wins Clarifications: Example of calling the function/lambda/macro should be included, but don't count those chars! Output should be > -1 if found, and <=-1 otherwise More info: Rosetta Code, Wikipedia.

 
@AlexA. Or alternatively, JPOP
@TanMath What test case is giving a bug?
 
@Sp3000 Haha XD
 
Every time I got to Meta PPCG, Chrome gives me an error saying that the certificate from there is invalid
 
@Sp3000 input 4... Runs forever
 
@phase Known issue with HTTPS on meta
 
4:18 AM
dog == true
 
Anonymous
@NewMainPosts Surely that's a dupe...
 
It's extremely unclear as is
 
Anonymous
The best part is they submitted an answer
 
0
A: Tips for Golfing in ECMAScript 6

Cᴏɴᴏʀ O'BʀɪᴇɴUse built-in base conversion If you ever have the need to convert from Binary, Hexadecimal, or Octal, one might use the following: // suppose the variable 'inBase' exists... parseInt(inBase,16) // 10 chars + digits of base + var name parseInt(inBase,8) parseInt(inBase,2) Shorter are these (8 ...

Is it helpful?
 
@Mego Eh, common
 
4:22 AM
Any help?
 
Anonymous
@TanMath Sorry, too many of my own problems right now
 
I'm working on it, but unfortunately you have more than just a bug or two in here...
 
Yeah, I'm in a cheap hotel room, too.
and goodbye!
 
!!!!! The Sandbox is now at +100 total score!
100
Q: Sandbox for Proposed Challenges

SandboxWhat is the Sandbox? This "Sandbox" is a place where Programming Puzzles & Code Golf (PPCG) users can get feedback on prospective challenges they wish to post to the main page. This is useful because writing a clear and fully specified challenge on the first try can be difficult. There is a much...

 
@El'endiaStarman lol
 
4:27 AM
I just motor-boated.
2
 
Anonymous
@Dennis Congrats?
 
with whom?
 
@Mego Remove the tabs from your source code and try again.
 
Wait, no. Mortarboarded.
 
4:29 AM
Close enough. :P
 
What does that mean anyway?
 
@AlexA. But tabs are golfier!
@Dennis It's the graduation hat name
 
Ohrly?
 
@Dennis Motor-boating or mortarboarding?
 
Anonymous
4:29 AM
@AlexA. Why are there tabs... my default is set to spaces
 
Mortarboarding.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ Thanks for the email
 
@Mego Idk. Regex find and replace \t with 4 spaces
Or 2 or whatever
4 is best
 
Anonymous
@AlexA. Submit a pull request
 
4:30 AM
So good. ^_^
 
If you're looking for tabs, go to shapescript.tryitonline.net.
 
Anonymous
IT WORKS
 
@Mego No thanks :P
 
Anonymous
I FIXED PERMALINKS
 
Anonymous
4:31 AM
Now I just get to merge and replace all of my permalinks
 
Anonymous
var code = encodeURIComponent(utf8_to_b64(window.JSON.stringify({
							code : $('#code').val(),
							input : $('#input').val()
						})));
 
Anonymous
much pride
 
Oh, if you forked the O code, I think kirbyfan64sos uses tabs.
Phase killed them with fire in the O source the other day.
Huh?
 
Anonymous
troll.jpg
 
@Sp3000 thanks... What are the bugs?
 
4:40 AM
@Mego I'm confused. Are you telling me to fork phase's code that doesn't have tabs?
 
Anonymous
@AlexA. No lol, I was making a joking comment by replacing a derogatory remark with a pun
 
@TanMath ideone.com/KQ8D1i - 1) You're not checking that the num is comprised of two or more squares, 2) You don't update i unless it's a valid square of squares (hence the infinite loop), 3) Even if you fix 2, it gets stuck on the final square, since you do i < z rather than i <= z
Also T(5) should be 19
btw I think the challenge should have some upper limit that submissions must work for, because otherwise approaches like sqrt(t).is_integer() for checking squares would fail for large square numbers
 
Square of squares?
I don't think there is anything about numbers that are 4th powers.
 
You commented on that and yes it's not the best wording, but I'm quoting the spec here
 
It's completely incorrect.
 
Anonymous
4:48 AM
I got permalinks working finally, I'd say that's enough excitement for one day
 
Not suboptimal wording.
It's concatenation of squares.
 
@Mego Let's not do that... We joke a lot here, but that could be interpreted as an insult.
 
Anonymous
@Dennis Mmkay, feel free to remove my message if you think that's the best option, as it's too old for me to remove
 
................................................................updating packages................................................................
 
@TheDoctor why this
 
Anonymous
4:53 AM
 
Very.
 
Ah, all those beautiful tabs...
 
Cut down in their prime.
Gone forever.
>:D
 
Anonymous
until you do a git revert yeah definitely gone forever
 
5:13 AM
I wonder how long the average error message in my C++ template language will be.
 
@AlexA. I wrote the original tabs (think the setting was wrong on NP++), kirby joined the project way afterward
 
Oh, okay. So you have only yourself to blame.
 
I have NP++ to blame because it starts out with tabs by default
 
Haha excellent.
 
> Note: This did not fix the IDE whatsoever. I think it broke it more.
Precious.
 
5:27 AM
Gunicorn is running the file with the name ide, but I think it only does that when it has to get the server files or something weird
I also can't test gunicorn locally because it relies on fcnutl or something and it's not on Windows
so life just isn't working out for me right now
oh wow i messed that message up
 
Set up a Linux VM on your computer using VirtualBox and install fcnutl.
VirtualBox is free IIRC
@phase FTFY
 
@phase Glad you like it. Once I get the basics together, I hope to create a nice repo of online interpreters for esolangs.
 
It's gonna be so cool
 
People, stop starring Doorknob's message. It's four stars short of overtaking quartata's record breaking post:
Oct 29 at 2:17, by quartata
I'm an idiot
 
@Dennis ಠ_ಠ
You mean we must stop starring The Word of the Knob?
 
5:40 AM
@Dennis I'm considering offering help in getting Minkolang working there, but on the other hand, the one I've got is pretty good... And the client-side code and server-side code are pretty interwoven.
 
@phase VirtualBox, Ubuntu. Go nuts.
 
Thanks @Sp3000 !!
 
@El'endiaStarman To get Minkolang working, I'd only have to implement command-line arguments. Everything else should be identical to ShapeScript.
For a vanilla interpreter, I mean, without all the debugging features.
 
Because who debugs code, amirite?
 
I'd have to add at least an option to see output from STDERR. It's currently ignored.
 
5:45 AM
@Dennis Ah, yeah. The debugging features part is what's really nice about mine...
 
No doubt.
 
6:12 AM
I can't star messages on mobile without them already being starred ;-;
@Dennis just start going through the esolangs language page and implement EVERY SINGLE ONE
 
Upload Sp3000's esolangs folder and that should take care of most of them.
 
@phase Are you using chat on the mobile site or via ChatSEy or whatever?
@feersum Having Foo on there would be blasphemy.
 
If you don't have Foo, you lose 74% of traffic.
 
Oh right, how could I discount the most popular esolang?
 
6:28 AM
@Sp3000: It took me 14 minutes to implement 16 trig functions. :P
(Most of that time was taken by writing the angle difference code.)
Time to increment the version number! :D
 
I have a pretty great knock-knock joke, but you have to start.
 
/me looks suspiciously at PhiNotPi
.........
Knock knock?
 
Who's there?
 
Why, yes he's here!
 
Reto Koradi
 
6:38 AM
I am back!
 
It's a miracle!
 
It is!
 
This week is cold enough that I'm wearing long sleeves.
That means one thing: it's magic trick season.
 
The number one way to impress a lady is to pull a really long scarf out of your sleeve.
Fact.
 
@AlexA. .....that could easily be innuendo.
Especially now that I've said that.
 
6:47 AM
I honestly don't see the innuendo in that
Legit.
Usually if I make innuendo it is not at all subtle.
 
You only need to change two words to make it pretty explicit.
 
That's true of a lot of innocuous sentences.
 
I didn't mean that you were saying innuendo, but that it could be one.
 
> That's true **** a lot of **** sentences.
 
I know
 
6:50 AM
did I do it right?
 
Yes
So explicit
Very expletive
 
R2-D2: the most foul-mouthed character in all of Star Wars.
 
I don't speak whistling trashcan.
 
Or that could be Jabba, now that I think about it.
 
I also don't speak giant space slug.
I speak very few intergalactic languages, it seems.
 
6:53 AM
@AlexA. Actually, those would be Exogorths, not Hutts.
 
I normally do a magic trick every winter that involves the audience interlocking their fists with their thumbs pointed down, and having them try to rotate their hands upright. It's physically impossible, except that I have one of my arms rotated 360 in the opposite direction so that I can do it.
Really simple, triple-digit number of minds blown.
 
> colloquially known as the space slug
huh
@PhiNotPi You just blew my mind and I didn't even see it in person.
 
I've had that trick done to me (and many other people) before.
 
It doesn't sound familiar based on the description but I bet it's been done to me as well at some point.
 
I have a new idea for a challenge... write a calculator that takes into account sig figs...
 
6:59 AM
@TanMath I'm not certain but that may have been done before.
 
Just searched for "significant figures". Found no challenges based on that.
 

« first day (1749 days earlier)      last day (3112 days later) »