« first day (1697 days earlier)      last day (3129 days later) » 

5:00 PM
@Calvin'sHobbies Thanks for the heads-up.
 
5:10 PM
@AlexA. I've seen these comics before. They're pretty funny.
 
5
Q: Find the Chemistry of a name

WizardOfMenloWe all have knowledge of the periodic table, since our days in school. Something most of us have often tried to do is to spell out your name using elements of the table. Your challenge is to do exactly this. You will be given a string to STDIN or equivalent, and you will need to output the form...

 
:(
Wow. In addition to Geobits, none of my first, middle, or last names can be spelled in elements.
Stupid scientists and their stupid tables.
 
damn, no Im or M :/
or Z or Ze
 
I think none of mine either. There will be lots of :(
 
yes, 007 is definitely not there :P
 
5:23 PM
007 --> Boron Oxygen Neodymium
 
@ZachGates for all intents and purposes
 
@Geobits Where does Neodymium come from?
 
BONd, James BONd.
There's no bare D, so Nd it is.
 
5:42 PM
@Geobits Well, when I pronounce my username, it's EM-bomb-double-oh-seven.
 
I do too. It was just a joke response to Optimizer, nothing to take seriously :)
 
@Geobits A very chemical name.
 
@PeterTaylor I don't see codegolf.stackexchange.com/questions/58476/… as a duplicate
 
Oh, yes. You're right. @SvenTheSurfer Thanks :P
 
@Calvin'sHobbies I see it as removing the outer loop and massaging the output format.
Sure, it's a closer dupe of codegolf.stackexchange.com/questions/34641/…;, which was closed as a dupe...
 
6:04 PM
This one is at least better written. And converting Smith to Sm I Th is not necessarily the same as seeing if Smith can be converted in the first place.
@AlexA. I'm unwhitelisting pairleebel for inactivity. She can join again if desired as usual.
 
@Calvin'sHobbies I'm not sure I get your point. None of the three questions under discussion just test whether a word "can be converted in the first place"
 
6:23 PM
@AlexA. meta.codegolf.stackexchange.com/questions/6918/… I suppose something should be done about that ;)
 
One could suggest a header format for the answers # Lang, Creator to correctly parse them all.
 
BeTa DeCaY
I think
Nope, no De :(
 
Thought: would Python golfing techniques be significantly different if you retrict yourself to PEP8?
 
6:38 PM
what's that?
 
Computer Programmers are the stupidest people with degrees. It shouldn't take four years to learn how to Google Stack Overflow.
 
It's a new Pepsi formula, and the eighth one since they started.
Restricting yourself to that would probably cause deficiencies.
 
is it mind-altering?
 
Noo that's Coke
 
@minxomat I'd prefer a separate line, for cases where there's a list of authors (e.g. Marbelous)
 
6:41 PM
Not that I know of, but....
 
@MartinBüttner I don't have the JS knowledge to make anything better than what's there. I pretty much just took your snippet and hacked it apart. It still tries to calculate the score of something, I just don't know what.
@Calvin'sHobbies Okay, I'll let her know. Thanks!
 
Can anyone explain what this guy is asking?
 
Dang Javascript, always trying to calculate something
 
@ZachGates The examples have '>' at the beginning and he wonders if that's part of the actual input.
 
@ZachGates If their* submission should be a REPL with a > prompt, or just handle one line of input and terminate.
 
6:45 PM
@SvenTheSurfer Seriously. It must be jQuery. After all, that is the preferred way to add numbers in JavaScript.
 
How should I answer that?
 
0
A: Sandbox for Proposed Challenges

ASCIIThenANSIFind Your Stack Exchange Spirit Pokemon code-golf It's a popular game on the internet to take some numbers related to someone (usually their birthday/age), multiply them, and divide until you get a number between 1 and 720. That number is the Pokedex number of your "spirit Pokemon". We're going...

 
I'd say 1) no 2) yes 3) irrelevant.
 
"No, it should handle just one input. The > format was purely for demonstration."
(Well, IMO of course. It's your challenge! :))
(But that seems to be the standard on PPCG.)
 
Well, you got it right, haha
Thanks for the help
Seems like my question is attracting (relatively) new users. Strange.
I'll be back in about an hour.
 
6:54 PM
Not that strange.
 
@Geobits I think you should embrace it. i.imgur.com/IuNdcSM.png
 
hmm, what was this pokemon again?
 
What is he embracing? The "3) irrelevant" part of his last message?
 
damn I am getting old, can't even remember a name!
 
I sincerely object to any formula where I end up a Palpitoad. — Geobits 8 mins ago
 
6:59 PM
@SvenTheSurfer Oh come on, at least let me evolve into a Seismitoad. Not great, but better than that... :(
 
I've honestly never seen that Pokemon either, haven't played one since gold.
 
@Optimizer I'm Alex
 
magpie, right? got it!
Like a boss. http://t.co/hL3mVvcT6n
 
haha wtf
 
"like a bausss"
 
7:02 PM
Until now, I hadn't realized that the two colors in mspaint are left and right click.
 
I threw that on the ground
@SvenTheSurfer you are now double the productive!
 
Paint is now almost as useful as photoshop
 
@AlexA. haha did someone flag? :P
 
No I deleted it myself because it's pretty inappropriate
 
just because you can't do half of the things he can, doesn't make it inappropriate ...
 
7:14 PM
I can puke on Debra's desk and turn into a jet, but that's about it.
 
Surely this is some form of spam?
 
@Calvin'sHobbies Are you new to this chatroom?
 
Is that a piece of spam in armor?
 
7:19 PM
sparmor
 
Five minutes afk, I return to two pings, both deleted, and a can of teriyaki(wow) spam.
 
Teriyakiwow
 
Teriyakiwowspam
 
Amaze
 
dear diary
today I abused regex
f=s("[()',]",'',str(eval(s('(,?)(\d+)',r'*\2\1',s('([A-Z][a-z]*)',r'("\1",),',i‌​nput()))))).split()
(where s is re.sub)
 
7:23 PM
I think probably about half the uses of regex I see are actually abuses.
 
@orlp I'm calling Child Protective Services.
 
cough Retina cough
 
Do you have a cold?
 
yes, and my eyes are paining..
 
@Geobits Is there any right way to use regex? I thought it was made for hacking solutions together using duct tape
 
7:27 PM
Wait, are you hacking things together with regex or duct tape?
 
Depends on how Heath Robinson I feel
@AlexA. What the...
 
I don't see why that's surprising. That's probably what it looks like before being pressed into can-shape anyway, they're just skipping a step :P
 
When my mom was growing up, her family had pretty much no money, so they ended up eating a lot of Spam.
 
Huh. At least around here, it's about the same, even a bit more expensive than regular meat per pound.
 
It's gone up-market.
 
7:32 PM
spam is over-rated
 
@Geobits I think it was dirt cheap when my mom was young, otherwise they wouldn't have eaten it.
(She was born in the early 50s.)
 
nowadays, only filters eat spam
 
Quite possibly. I don't like the stuff, so I don't know what the price was like when I was a kid, either.
 
I've never had it but I don't want to.
 
No
Take that back
 
7:34 PM
Uh... no?
 
@Geobits So you'll be having spam, egg, sausage, and spam?
 
But but but spam
 
@PeterTaylor Sure, just hold the spam.
I've given it a fair shot served several ways. I just don't like it :)
 
@Geobits Urgghh!
 
Try hot sauce on Spam
That'll make it better
 
7:37 PM
Nope
 
You're the second Alex I know that refuses to eat Spam
 
My general rule is that if I have to add hot sauce to something to make it edible, there are plenty of better things I could be eating.
 
Well, I think we've now definitely established that there are no Vikings in the room.
5
 
:D
 
I was pretty sure of that already. :P
 
7:39 PM
My biggest annoyance is when people smash their crab in a cup of butter. Crab is the best sea dweller and shouldn't be covered in something from a cow.
 
@SvenTheSurfer You guys are my antithesis >:(
 
@SvenTheSurfer Would it be better if the butter was made from dolphin or whale milk?
 
Is it possible to make human butter?
 
You tell me
 
If I knew the answer I wouldn't have asked.
 
7:41 PM
I don't see why not, but I've never made it before so maybe there's something.
 
@Geobits Hey man, that's like not the point, but if there was dolphin butter (then the subsequent inventions of I can't believe its not dolphin butter) it would make it just a little less appalling.
 
What about fish oil margarine? pukes thinking about it
 
Butter is one of the best creations of mankind, so I have a hard time hearing it's wrong on anything :P
 
@Geobits Incorrect
 
Your opinion is invalid when facts are involved.
 
7:44 PM
I caught my PPCG reputation up with my SO rep. :o
 
I'm all for the "saturated-gold" stuff. I do not want, however, to see anyone with congestive heart failure.
Also it's not necessary because crab is the best. Did I say that already?
 
Incorrect.
 
Crab is fine and all. Crab with butter is better.
 
OK. Fine. Crab with butter is better.
 
But "crab is the best" is just wrong :P
 
7:46 PM
 
@AlexA. Probably. There was a shop in London which sold human ice-cream for a while. I think it was shut down on health-and-safety grounds.
 
@PeterTaylor o.o
 
@PeterTaylor I'm not surprised it was shut down...
 
That's quite disturbing..
 
It was shut down because it was called Homo Shakiens
 
7:53 PM
> Homo Shakiens
 
jk, it's a gif
 
well, so much for consistency
 
0
A: Sandbox for Proposed Challenges

KroltanIt's a small world! A code-golf challenge inspired by small world networks. It is said that in such a network, starting at any point, you are able to reach any other node of the network in a specific amount of hops. Your task will be determining the smallest number of hops necessary to reach an...

 
I'm seeing 8399 across the board @orlp
 
@AlexA. Oh God... Who have we elected? Someone who doesn't like spam, Hawaiian pizza, butter... :'(
 
8:00 PM
There's a tag for that...
 
Hm.
I like my tag better.
 
That's because...
 
He also doesn't know how to properly juice an avocado -->
 
You just ask nicely, right?
 
That just seems objectively wrong.
 
8:06 PM
also
everyone is thinking it
so who's going to write the inverse challenge of codegolf.stackexchange.com/questions/58469/molecules-to-atoms/…
 
I wouldn't know how to. Aren't there multiple valid formulas for a given atom count/list?
 
@Geobits find the shortest
 
To be clear, I haven't done chemistry since high school, and don't know what rules govern whether one is valid anyway :)
 
@Geobits validity doesn't matter in this case :P
 
@orlp I'll write that one, too :P
Might take significantly longer, though
 
8:09 PM
@orlp Oh, so basically a grouping challenge? That would make sense.
I think for many cases, it would just be shortest to not group at all. Adding those parentheses sucks.
 
What would prevent people from simply doing H:2,N:3,C:1,O:8 - > H2N3CO8 ?
 
H2SO4 vs S(HO2)2
 
@PhiNotPi that it's not always the shortest
H2N2Be2C2O6 vs (HNCBeO3)2
 
okay
 
@orlp You need a better example. That one is 8 for both ;)
 
8:14 PM
@Geobits haha optical illusion
the () cause this
 
illusion fail ^
longer line is longer
 
That isn't an illusion
 
wait, this image is badly drawn
 
If the rules are just grouping to shorten, it might be considered a dupe-ish of one of the numerous "Represent a number in <some obscure format/language>" challenges.
 
 
8:17 PM
H:8,C:6,O:4 --> (H4(CO2))2(CO2)C2
 
@ZachGates such 'optimization' :D
 
:P
At least it's a somewhat valid formula
 
@ZachGates I only count 5 C.
 
@Geobits Count again..
 
8:19 PM
I only count pre-edit :D
 
(H4(CO2))2(CO2)C2 should be (H4(CO2))2CO2C2 though
 
Depends on the rules of the challenge
 
I think it should be H8C6O4, personally.
 
What if you ended up with like H: 120000
I guess it will still be shorter. Nevermind
 
8:25 PM
H12e4
 
Nice
 
And terrible at the same time.
 
No, VrSc-`v::z"([A-Z][a-z]*)""('\\1',),"",?(\d+)""*\\1,"`(k))8j": "_N is terrible :P
 
Has an ASCII, Conway's Game of Life challenge been done before?
 
undoubtedly
 
Ah, we even have a tag for it
 
Ahhhh
 
Ahhhhhhhhh
 
8:31 PM
AH!
 
guys
get a room
 
We have one.
 
"The Nineteenth Ah"
 
It's called The Nineteenth Byte.
 
Ahhhhhhhhhhhhhhhhhh
there, 19 bytes
 
8:35 PM
Ahhhhhhhhhhhhhhhhhhh
19 h's worth of bytes
 
Ah19
 
ProduceAndPrintNineteenAhsForChat[]
Just found that Mathematica builtin.
 
You mean just thought that up and watched Mathematica generate a built-in for you?
 
@ETHproductions dank maymay
 
I'm thinking of the following challenge: *Given a start and an end value for a cell and a maximum length n, brute force the shortest string of brainfuck code to get from start to end or output an error if this is impossible with n bytes of code.*
That's only
iterations for a length of 10 bytes.
 
8:45 PM
IMO not that interesting if you're requiring brute force.
 
OK, let's say "find".
Though I'd be impressed to see a shorter solution than to loop-evaluate all possibilities.
 
don't make a maximum though
needlessly complicates the solutions
also, what is the maximum cell size?
does the cell wrap when overflowing?
 
Brainfuck has 8bit wrap-around byte-cells.
 
can you have negative cells?
@minxomat that's one possible implementation
 
8:49 PM
That is commonly considered the standard, everything else is an extension.
 
Is there a BF standard?
Like a hard-and-fast standard?
 
there isn't
Brainfuck is an esoteric programming language created in 1993 by Urban Müller, and notable for its extreme minimalism. The language consists of only eight simple commands and an instruction pointer. While it is fully Turing-complete, it is not intended for practical use, but to challenge and amuse programmers. The language's name is a reference to the slang term "brain fuck", which refers to things so complicated or unusual that they exceed the limits of one's understanding. == HistoryEdit == In 1992, Urban Müller, a Swiss physics student, took over a small online archive for Amiga software. The...
 
Ah, okay.
 
Let's say most of the BF interpreters do operate that way.
 
0
A: Sandbox for Proposed Challenges

muddyfishThe Doughnut Shop™ code-golfascii-art Being short of cash, you have signed up to build donuts for The Doughnut Shop™, the biggest digital doughnut company in the world, this is mostly because The Doughnut Shop™ sells every size of doughnut imaginable. Now, given that trading standards is very ...

 
8:51 PM
Though you can drop the , and . operator for this challenge, so you don't have to care about EOF standards.
 
@AlexA. Why did someone star this?
 
also note
there's a maximum of 65536 programs
256 starts * 256 ends
 
Dear god..
This is just evil..
Whitespace is an esoteric programming language developed by Edwin Brady and Chris Morris at the University of Durham (also developers of the Kaya and Idris programming languages). It was released on 1 April 2003 (April Fool's Day). Its name is a reference to whitespace characters. Unlike most programming languages, which ignore or assign little meaning to most whitespace characters, the Whitespace interpreter ignores any non-whitespace characters. Only spaces, tabs and linefeeds have meaning. An interesting consequence of this property is that a Whitespace program can easily be contained within...
> Only spaces, tabs and linefeeds have meaning.
 
Did you not know about Whitespace?
 
I did not
 
8:53 PM
@ZachGates wait until you learn Pyth
then you will be enlightened
 
There are more than 65536 programs, because there is more than one way to get to the results.
@orlp
+- yields the same result as -+
 
@minxomat very likely
but not necessarily
 
There is an infinite number of programs, because there are infinite ways of getting from A to B (assuming infinite program memory).
 
but we're talking about optimal programs here
not just any program
it's very likely there are multiple answers possible for the shortest program to go from A to B
but it's theoretically possible (albeit very unlikely from gut instinct) until proven otherwise that every shortest solution is unique
for example, going from 0 to 1 has one unique shortest solution: +
either way, my point was that you can construct an answer that's simply a 256 * 256 element lookup table of programs ^^
 
Yep, but the task is to find the optimal solution, and that requires a separate algorithm. You can't "just" generate all optimal programs with 1 step per program.
 
8:59 PM
(not saying it's the shortest when golfed)
 
many nonzero-> 0 are [-] or [+]
 
@feersum well, now we've proven it :D
@minxomat is there a maximum tape size?
@minxomat does the tape extend to the left and right?
 
Tape extents to the right. The position of the cell has to be given to calc the left bound.
 
@minxomat could you rephrase that
 
A BF tape starts at pos 0 and doesn't end.
You have to know the position of the starting cell A to calculate the left end of the tape.
 
9:03 PM
@minxomat just put the starting cell at 0
or extend both ways
otherwise you get some really arbitrary question
 
Well, no because the maximum code length is 255 +'s
Or 256byte in general, everything else is redundant.
 
@minxomat I mean, put the position of the starting cell A at position 0 of the tape (all the way on the left)
 
@orlp That has no benefit. The result should be usable in a "real" world program, where the pointer is most likely not at position 0.
Also, if the position of A is 0, then you wouldn't have to implement the < operator. Makes this too easy.
 
There might be important things in the surrounding cells.. better just go ++++++... to be safe :P
 
@feersum Depends on the maximum < or > operators in the most complex solution :D
Without accounting for loops of course.
 
9:10 PM
@Optimizer I actually do eat spam, but only with a very small number of foods. Spam alone tastes nasty and salty, but spam in bee hoon is not bad.
 
What in the world is "bee hoon"?
 
Noodles
 
I think some of you might enjoy this social satire.
 
Naturally, spam with nasi lemak is also quite good.
 
9:17 PM
@ZachGates It gets real good around 1:05.
 
@ZachGates While you are playing around with self-responses:
@Justin test
@Justin And this too
See
 
@minxomat that's not true
any solution that uses > must also use < to get back
 
Best line in that video:
> "Things don't exist simply because you believe in them. Thus sayeth the Almighty Creature in the Sky!"
 
@orlp I'm talking about invalid solutions though.
Not that that matters
 
@ZachGates Let's not get into this again here...
 
9:21 PM
Anyway, I already have a better BF challenge in the pipeline, so I'll scrap this idea ^^
 
I know what I want to eat for dinner this evening now.
 
Has there ever been a UTF --> ASCII85 challenge? I don't see one anywhere
 
Has always been around?
 
I created it yesterday
 
Ever since the Europeans invaded America.
Christopher Columbus et al.
 
9:33 PM
Anyone know if giving this answer input 1 with the pyth interpreter is a problem with the answer or with pyth version or something?
The other inputs seem to work, but 1 gives Traceback (most recent call last): File "pyth.py", line 636, in <module> File "<string>", line 8, in <module> NameError: name 'K' is not defined
@Pietu1998 ^
 
@Calvin'sHobbies normally I'd check for you
but deciphering 150 chars of Pyth is a bit too much =/
 
I'll accept your answer if you can fix/find the problem @Pietu1998
 
Does anyone like the ASCII85 challenge idea?
Or would it disqualify some languages / have some other problem?
 
@ZachGates ?
 
@ZachGates What is the challenge exactly?
 
9:40 PM
Encoding an input string to ASCII85 (without using a builtin specifically made for it)
"easy" becomes "<~ARTY*~>" and such
"test" becomes "<~FCfN8~>"
 
@ZachGates I think it's fine
but to allow creative solutions
allow every answer to choose it's own alphabet
 
@Optimizer No matter how I measure this I get 69 bytes, though 49 characters.
(Does the Cjam interpreter really report chars instead of bytes?)
 
@Calvin'sHobbies I copy pasted that in to Vim, saved as latin1 and got 46 bytes
 
@Calvin'sHobbies I got 57 bytes and 43 characters
 
9:56 PM
I get 43 bytes.
 
I get byten by mosquitoes sometimes.
 
wow
 
So 5 different byte counts?
 
a new AI bot has found a new strategy for tic-tac-toe
it always wins
 
10:23 PM
@orlp What do you mean? Base85 uses ASCII char 33 through ASCII char 117
 
10:49 PM
Can you guys currently access the main site? My connections get refused(?).
 
Works fine for me.
 
Oh, there it is again. Weird.
 

« first day (1697 days earlier)      last day (3129 days later) »