« first day (1844 days earlier)      last day (2997 days later) » 

4:00 PM
Where's the clock that counts down to Graduation?
 
@Eridan It expired...
 
The clock has lied
 
A graduation hoax? I don't think that had ever happened before...
 
@Dennis oh huh
 
You should totally drop that and use TIO. It is really great and does all things.
 
4:05 PM
^
When will we get support for meta golf script?
:3
 
Is there any shorter way for uniqueness testing than __|=
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That would actually work on TIO.
@quartata )&!
 
!
 
(only works for integers)
 
@Dennis Really? I thought meta golf script had a different interpreter for each language. I think I need to re-read the article on it.
 
4:07 PM
You know, that timer didn't expire. I had to search my history, but it's right here: itsalmo.st/#ppcggraduationtime
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I could set up the web server so metagolfscript-... creates it dynamically. I won't actually do that, but I could.
 
@Dennis Oh. This is an array of strings.
 
@Geobits And now I know why you deleted your previous message :P
 
@Dennis Oh, I see XD
 
@Geobits dat font
 
4:09 PM
@trichoplax Previous message? I know not what you mean.
 
ha
 
My mistake - I must have been thinking of someone else :)
 
Bug report: The timer doesn't expire on Nov 1.
 
The way I heard it, we're "graduating" March 11, but the design and such will take until November 1.
They're pretty backlogged on design stuff.
 
Nah nah it's March 14
 
4:13 PM
"Radians Fahrenheit or radians Celsius?" "Uh, sorry, gotta go!"
2
 
It would make more sense if they did it on PPCG day.
 
@Dennis So we're graduating in 0.173 radians
 
ppcg is better. That's 2*pi*c*g, right? Only problem then is I can't figure out whether to use m/s or m/s/s for the final answer :(
 
m^2/s/s/s surely?
 
We could fit radians in there, too, to appease Dennis.
 
4:17 PM
@Dennis worked like a charm on TIO
q~{_2T#sew__|={T):T}{0}?}g;T
Now I just have to figure out how to do the indices....
annoying requirement is annoying
 
I thought radians were unitless, so probably wouldn't hurt to just put them wherever in the units they make most sense/confusion/whatever
 
Hence the alt text.
 
Okay, so m^2/s/rad/s/s ?
 
I'm confused. Mission accomplished?
 
@trichoplax Yeah radians are dimensionless
 
4:21 PM
I don't think the point of this is to make sense :P
 
0.173 radians = 9.91216985576324 degrees = 594.7301913457944 minutes = 9.91216985576324 hours = 0.413 days. Not long now!
 
Are those metric or imperial days?
 
I'm going to go with standard Martian days
 
> Martian dats
 
dats what I said
 
4:28 PM
Marky says it's not until April :(
 
0
Q: Do I have to verify all answers?

Luc MI have an idea about a code-golf challenge. Will I need to verify/test every answer submitted ? Will I need to run code submitted to be sure that the answer meets the requirements ?

 
@CameronAavik I understand that, but a) many mathematical facts are stated in these challenges since math knowledge is not a prerequisite for these puzzles; and b) it's not obvious that when a knave says p => q it implies p, since p => q can be also be false for ~p universes (e.g., "If helium is lighter than hydrogen, hydrogen floats on top of helium" is a false p=>q statement where ~p).
 
Give me an interesting disapproval face that does not use markdown.
 
:D
^ very disapproving
 
4:30 PM
ಠ___ಠ
Inspired. I know.
 
ಠ___ಠ
I'm working on a 9-hole challenge, and that's one of the holes: "faces of disapproval"
 
ಠ_.._ಠ
 
wat is that o_O
 
Angry nostrils
 
Better than my last one, right?
ಠ~ಠ
I need a lower tilde.
 
4:33 PM
Wait 6 hours?
 
ಠ˷ಠ
6
Lower tilde
 
Very nice
 
ಠ˜ಠ
higher tilde
 
Your tilde looks... flat.
 
@Rainbolt Looks particularly good zoomed in
 
4:34 PM
(ಠ⌣ಠ)
 
@Dennis According to the cheat sheet t is set but it doesn't seem to do what I thought it would. What does it do?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm not sure exactly what that is, but it doesn't look disapproving. More like smartass-mischievous.
 
@Geobits yup. could not resist.
 
[0 0 0]1 4t sets the element at index 1 to 4, so it returns [0 4 0].
 
Oh.
Ohhh
I thought it was literally set(<array>) (like in Python)
 
4:36 PM
CJam doesn't have sets.
 
Hm. I can't think of a good way to pull this off.
I need to get the indices of all non-unique elements in this array.
I thought maybe map count + logical not, then just find the zeroes.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 𝄑_𝄑
 
But that seems too long
Find index only returns one index at a time, correct?
 
too bad
 
4:41 PM
Shows up on my computer
Have you considered the benefits of not using Windows?
3
 
What about: ෴
 
It is a good face ;)
 
that's a furrowed brow
...not sure how to combine into a face
 
@quartata Immensely.
ಠ෴ಠ
moustache.
 
The mustache makes him look quite a bit more disapproving than usual.
 
4:47 PM
⟄෴⟃
 
 ෴෴
 ಠ෴ಠ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ (-‸ლ)
8
 
@TimmyD nice
 
@TimmyD Yes!
(>‸ლ)
(~‸ლ)
WTF! Apparently this is buried deep in CJK Symbols (U+3020): 〠
(ヽ‸ლ)
 
〠 I'm coming for you 〠
 
4:55 PM
Hi
 
@ALEXA. @ALEXA. @ALEXA. we learned about the Tatars in history class today \o/
 
What, you're still in school @Doorknob? :O
 
4:59 PM
@ThreeFx er, yes, I'm in 9th grade
 
I always assumed you were way older :D
 
That's ageist ⟄෴⟃
 
All these new disapproving faces and you had to use that one...?
 
@Dennis What would be the shortest way to get the indices of all 0s in an array
The map count decrement logical not trick seems to work OK now I just need that
 
@Geobits Do you still have that 19th byte chat archive thing?
 
5:04 PM
@quartata :T,{T=!}, should do the trick.
 
All right the moment of truth
 
In Pyth it's just x0...
 
Feb 7 at 6:40, by Geobits
Does anyone want a full chat transcript (up until yesterday)? I scraped, parsed, and combined one for general use. Uploading now, will add link. It's around 68MB uncompressed.
 
@Dennis Does this leave each index on the stack or as an array?
 
Array.
 
5:07 PM
@trichoplax I know what I meant :D
 
@mınxomaτ The link is directly after that message - hope that covers what you wanted :)
 
Yep. That's it.
 
I always forget that I have the Commander Keen downvote userscript on my laptop. Catches me by surprise every single time.
 
?
 
two more holes
 
5:11 PM
(best viewed in that size)
 
I just added gotoes to my in-progress language design
It still needs conditionals though
 
There are languages where gotoes and conditionals are the only forms of control flow
 
Underneath, all languages have gotos and conditionals as the only form of control flow...
 
5:14 PM
Also gotos are not bad and never were. Irresponsible programmers are the problem.
 
Wait a sec- since I have gotoex as well as goto, I don't really need conditionals. But they're probably be a good idea anyway.
 
and suddenly my little map trick doesn't work anymore
It doesn't work with strings.
Great.
 
I should still add that append method to the string type
 
@Dennis Does count not work with strings?
 
It does.
You mean e=, right?
 
5:17 PM
Yeah.
I'm doing :U{Ue=(!}%
It's probably Java string equality stuff
 
That should work perfectly. CJam doesn't use Java's strings.
 
It appears to work for integers just fine and characters just fine but not strings
 
Oh, do you have an array of strings?
 
Yeah.
 
In that case, you need :U{U\e=(!}%.
 
5:20 PM
:U reminds me of alex.
 
Why the \?
 
The syntax is <haystack><needle>e=. You can swap it if the needle isn't an iterable.
 
Ahhhhh
OK. Gotcha.
 
Where does a question about GitHub for Windows' problems with .gitignore belong: Superuser or SO?
 
5:22 PM
Stack Overflow
 
^
 
...
 
git is a standalone application
 
@Liam Not git. GitHub - the software.
 
5:23 PM
Stack Overflow is suitable for tools commonly used by programmers, and Git is such a tool.
 
github even more so than just git
 
Dammit this works but I just realized the challenge only asks for two indices
which is just weird
 
if you have git issues, they might be on topic on un*x./linux.se
 
whatever I'll post it anyways
 
5:25 PM
@Liam Not git. GitHub for Windows. git works just fine on it's own.
 
Because, y'know, windows.
 
I know. But if you're using a git prompt on windows (comes with the github application) it is pretty much the same thing.
and at the end of the day, most of the time when people have issues with GitHub, it is really git they are struggling with
 
@Liam No it's not all the same. Private repositories require you to exchange your SSH keys with github when using the git bash. The desktop client uses the GitHub API for authentication. I also don't have any issues with Github as a service, just with the client. It does not parse/commit changes to gitignore files like it should...
 
0
A: Sandbox for Proposed Challenges

Cᴏɴᴏʀ O'BʀɪᴇɴAnother Golf Course holds up microphone, puts on announcer hat Welcome! Today you will compete in a 9-hole golf course, with the aim to perform all nine tasks in the shortest amount of bytes possible! Your score is the sum of the bytes in each program. Each program is graded according to the en...

 
Well, the gitignore works for everything except very specific *.dll and *.exe files in very specific sub-directories.
 
5:34 PM
I probably don't appreciate the difference because the only reason I use git on windows is to pull compile and push back stuff I've done on linux
So I never really use the windows prompt for much
 
@CᴏɴᴏʀO'Bʀɪᴇɴ your sandbox post reminds me that I wanted to make a meta post about whether golf courses are a bad idea :/
2
 
oh.
.___.
do you think it's okay?
 
I personally would like to see them ruled off topic unless there is significant interaction between the individual parts ("you can't use a language twice" is not that... "you can't use any character in two or more of the programs" is)
 
the main problem is that it circumvents the duplicate system
 
5:43 PM
I see. Should I delete it, then?
 
there are other problems though whose main symptom is usually "but what if someone copies only one of the 9 solutions from someone else?"
@CᴏɴᴏʀO'Bʀɪᴇɴ don't yet.
 
and then there's also the question why someone wouldn't post them as separate challenges, to which the answer can only really be "because they're not interesting enough on their own", but then why are they more interesting if you throw 9 of them together?
 
Why post separate challenges when we can just have a list challenge?
2
 
this, basically
 
5:45 PM
Are any of the subchallenges redeemable? :/
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 2 looks great
 
Yeah, but isn't it basically "Output the nth triangle number, reflected"?
 
the rest seem like they're either dupes or "I would never ask this as a separate challenge"
 
My advice: post on meta asking for a list of ways to improve your list challenge.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ oh, number of pins
make it the actual pin indices instead
 
5:47 PM
Hm...
 
or come up with simulation rules that allow other results than perfect triangles
 
Put locations between pins also.
So, 4.5
 
ah yes that would help
 
5:49 PM
(besides, hitting the center pin dead-on is a terrible way to try for a strike ;)
 
@MartinBüttner What reason did I get a bounty for? I didn't check the site while it was up.
 
@feersum it was up for the best golfed polynomial-time solution and people in chat assured me that yours was most impressively golfed
 
@Geobits That sentence bugs me. The open paren is not technically closed because the close paren is part of a smiley
 
Oddly enough, I prefer the first version
 
5:55 PM
(╯°□°)╯︵ sǝlnɹ
 
69+
 
it's oddly satisfying how smooth that animation is.
 
Agreed
 
Just don't combine old-school emoticons with parens. (problem solved :D)
9
 
5:57 PM
@Dennis Oh ... I'll just put this back, then
rulesノ(º_ºノ)
 
(╯°□°)╯︵ ┻━┻
 
@TimmyD shouldn't that be "rulesノ(º_ºノ)"?
Conor gets a suspension for vandalism.
 
@MartinBüttner Hah, that's what I get for just blindly copy-pasting from my chat.txt file
 
can someone find a multi-part challenge where there is no interaction at all between the separate parts (just sum your scores, no restrictions between subchallenges), except for Pyth[on] Practice challenges?
most of them seem to at least forbid or penalise reuse of languages.
ah, this one required all of them to be in the same language, that's better: codegolf.stackexchange.com/q/63014/8478
 
Anonymous
6:06 PM
@MartinBüttner oh hi there
 
The language still needs a name
 
@Mego sorry :/
 
Anonymous
Lol you beat me to posting the link :P
 
if someone can find one without any interaction at all that would be even better
there was also the befunge puzzles but those weren't code golf
 
Anonymous
There are no challenges with no interaction
 
Anonymous
6:08 PM
They all either penalize, forbid, or require reusing languages
 
not all of them have the tag though
 
That is a weird thing to have a builtin for.
 
None of the 173 results from searching for [code-golf] total each is:question seem to match a "just sum your scores" style question, excepting that one from Mego.
 
Anonymous
So, idea for a challenge:
 
Anonymous
6:19 PM
 
Anonymous
Given an image of a game console made by Microsoft, Nintendo, or Sony, classify it as "Xbox", "Nintendo", or "Playstation"
 
mmmm not a bad idea
 
Anonymous
So you'd be looking at: [Xbox, Xbox 360, Xbox One, Kinect], [NES, SNES, N64, Wii, Wii U, GB, GBA, GBA SP, GBA DS, all the other DS variants], [PS1, PS2, PS3, PS4, PSP]
 
As suggested by your comic ... Mom (a variant of Foo), 10 bytes "Nintendo" ... outputs "Nintendo" for every image.
 
Anonymous
Maybe instead it should identify the game console and not just the generic brand
 
6:23 PM
@Mego Vita? What about variants, like the PSOne? Or color variations, like the 360 Elite? This is a pretty large scope.
 
Anonymous
@TimmyD Yeah, I'd need to narrow it down, definitely. Maybe just Nintendo vs Nontendo
 
That sounds interesting
 
Anonymous
Which would also balance the number of consoles on each side
 
@Mego Is classifying a new set of images still adding anything to this genre?
 
Anonymous
6:26 PM
@MartinBüttner Competitive answers would likely be looking for distinguishing text/icons/ports, which would be significantly different than the usual image classification answers that classify based on general shape
 
Anonymous
Since they're all rectangular prisms (for the most part), simple shape analysis won't get you far
 
Hm, possibly.
 
Huh ... I swear I've seen a "frame ASCII art" challenge before, but I can't seem to find it.
 
Anonymous
For example, if you could rule out the Wii U, from an image of the output ports, you could very easily classify it as Nontendo by the presence of an HDMI port
 
1
Q: Frame this nice ASCII-Art

DenkerAffeIntroduction I think everyone agrees that nice pictures have to have a nice frame. But most challenges on this site about ASCII-Art just want the raw picture and don't care about it's preservation. Wouldn't it be nice if we had a program that takes some ASCII-Art and surrounds it with a nice fra...

 
Anonymous
6:29 PM
@TimmyD There was one in the recent past that got closed
 
> very easily
 
Anonymous
@El'endiaStarman Relatively speaking. It's a whole lot easier to look for an HDMI port than to guess which type of rectangular prism this one is.
 
Hmm. Right. Mathematica has an HDMIPort[] builtin.
 
14
Q: Surround a string with hashes

Jacob_I've already made this in Python, but it seems that it could be shortened a lot: txt = input("Type something.. ") c = "#" b = " " print(c * (len(txt) + 4)) print(c, b * len(txt), c) print(c, txt, c) print(c, b * len(txt), c) print(c * (len(txt) + 4)) So if the user types: Hello World The pr...

 
Anonymous
6:32 PM
@Dennis Close enough for me
 
@randomra @ӍѲꝆΛҐӍΛПҒЦꝆ retina.tryitonline.net/… (assumes input is letters only)
by using loops instead of balancing groups it turned out a lot shorter than I thought.
 
Anonymous
What challenge is that for?
 
Anonymous
Just transposing for the fun of it?
 
both of them asked me in the past two or three days how to transpose an ASCII grid in Retina
 
Anonymous
6:43 PM
Ahh
 
I think we had a multi-part challenge where you weren't allowed to reuse any characters in multiple subchallenges. Can someone find that?
 
Latest chrome update fucked up font rendering.
 
I put those hidden characters there.
you win a prize
 
If you have a chrome update pending, don't do it. It appears to be a known problem.
 
1
Q: Output all the white or black squares of a chessboard

AdnanIntroduction This is how a chessboard looks like. You can see that a1 is a dark square. However, b1 is a light square. The Task The challenge is, given dark, light or both, output all the dark, light or all squares. The order of all the squares does not matter. Test cases Input: dark Ou...

 
6:49 PM
Man, what a time to be alive ... www.illumibowl.com
 
@mınxomaτ Not a problem for me. Chrome updates whenever Windows has to restart. :P
 
The comments are all dead :O
 
RIP comments
 
@El'endiaStarman Blergh... Any time I restart chrome it has to re-open my 23 or so pinned tabs...
 
@mınxomaτ Same. I just deal with it.
Well, except they're not pinned.
 
6:53 PM
@El'endiaStarman My paren'ts crappy internet can't deal with it. This always happens when I'm here. I just need a really long eth cable from my apartment to here :D
 
@MartinBüttner This one?
13
Q: Print strings without sharing characters

jimmy23013Edit: Allowed to reuse whitespaces. Your task is to write n programs (or functions, or bodies of functions without using parameters or the function names) in the same language. The kth program should output the (cardinal) number k in standard English in lowercase (with an optional trailing newl...

 
hmmm, might be
 
@mınxomaτ :P
My alma mater is closed due to severe weather conditions. Keep in mind that it's in upstate New York. I wonder how bad it is there...
 
Hm... seems like I have to reboot. For the first time in almost 3 months...
 
Heavy snow, 6-11 inches, freezing rain, visibilities less than a quarter mile, 10-20 mph winds, some roads might become impassable due to deep snow cover...
.....yeah. That's bad.
 

« first day (1844 days earlier)      last day (2997 days later) »