« first day (2271 days earlier)      last day (2564 days later) » 

1:01 PM
@EriktheOutgolfer What do you mean by snippets then?
 
@JonathanAllan I mean the representations of the code in both languages have different Python code for each one, while what should differ is only the encoding.
 
Ah, thanks!
@EriktheOutgolfer must have copied from wrong TIO window :)
 
A bunch of challenges recently
 
user165474
Yeah I've seen a lot recently, more than usual
 
user165474
1 every 6 hours for the past 18 hours on average
 
1:08 PM
It does seem like challenges here go in spurts
 
@Mego Have you tried WTF-8 encoding?
 
user165474
Are answers for polyglot challenges allowed to be the same language with different major versions? See my Python 2 / 3 answer here
 
Some polyglot challenges explicitly disallow it. Not sure if that makes it allowed by default though.
 
136
Q: Trick or Treat polyglot

BrainStoneSince Halloween is coming up I though I might start a fun little code golf challenge! The challenge is quite simple. You have to write a program that outputs either trick or treat. "The twist?" you may ask. Well let me explain: You program has to do the following: Be compilable / runnable in ...

 
user165474
Alright. Dennis says there's no default so it's up to OP
 
1:27 PM
0
Q: Same language different version for polyglots

HyperNeutrinoI recently asnswered a polyglot challenge (my answer is here). I'm using Python 2 and Python 3, abusing a version-change math trick. However, a commenter asked me if using the same language but different (major) versions is allowed. My question is, is this allowed? I recall seeing it before so I ...

 
A snippet from my latest answer: c+=*a-4*d**a;
Isn't it beautiful?
PS: ** isn't power, it's multiplying with the number that's a points to.
 
I have a 6 byte solution to that same challenge but it depends on whether I can have a trailing space... and the OP wouldn't clarify
 
@betseg What is the point of c=c; in your answer?
 
@KritixiLithos Makes the function return the value of c. Won't work in every implementation.
 
1:42 PM
oh that thing
 
@TRiG That's neat.
 
@BasicSunset I'd say go for it
it's almost always allowed
 
OP did clarify in the end and said it's ok
 
5 polyglot challenges on the front page
Cool
 
1:58 PM
too many IMO
it's getting kinda old, feels like people are just sticking hte polyglot tag onto challenges and making new mashups
 
does it remind you of some other tag, now banned?
 
Poll: Best (in your opinion) song mash-up
 
dark horse in 20 different styles, perhaps
 
@flawr
user image
4
 
@AdmBorkBork Meshuggah's Bleed with Lady Gaga's Bad Romance.
*paparazzi
 
2:04 PM
Could we please pretend she doesn't exist?
 
For me, it would be Nirvana vs Rick Astley -- Never Gonna Give Your Teen Spirit Up
@Riker Hawaiian pizza is awesome, stfu :p
2
 
@AdmBorkBork why
 
It fits together amazingly well
 
I just checked it out and I learned it seems I'm not really into song mashups
Although that might be due to mr. Astley's presence.
 
@AdmBorkBork it does O_O
@JanDvorak Rick astley is awesome, stfu :p
 
2:09 PM
Or The Grey Album by Dangermouse, not only for its wider critique on art and copyright, but because it's a pretty solid album in its own right.
 
Poll: Which is better, cJAM or JELLY?
 
MATL
 
@Mego Don't give him any ideas. He might add that to TIO.
 
Golfscript
 
Guys, Jam and Jelly are both condiments. I guess you missed it.
 
2:13 PM
oh
 
Then Ruby. I'm a crystallivore.
 
@AdmBorkBork Do medley's count?
If so, this Disney medley a capella is probably my favorite.
 
@BassdropCumberwubwubwub congrats!
 
@mbomb007 Sure, medleys are a mash-up of sorts.
 
In which case - Dana Winner - Abba medley
 
2:19 PM
@AdmBorkBork Axis of Awesome - 4 Chord Song is pretty great.
And depending on definition of mash-up, Sabaton - Metal Machine
 
@Emigna Yep, that's a good one
 
@Emigna Oh yeah, that one is neat.
 
After four months of negotiation, I've been poached away from my own company. What a ride.
 
So, like, resigned as CEO of your own company to go join another?
 
2:35 PM
Yes
 
@mınxomaτ congrats?
 
Congrats!
 
user165474
su -> shut up. therefore by signing into root (su -i) you're just telling the code to shut up and do the task without complaining about permissions
 
user165474
congrats! (?)
 
I'm not sure if that's a good thing but it seems to be so yeah congrats
 
2:44 PM
@Riker Let's see. I'm excited about the challenge (and significant pay raise) though.
 
:D
 
@HyperNeutrino i sign into root by sudo -i
Shut up and do this
 
@mınxomaτ Sounds like that's congrats-worthy, then. Congrats!
 
If that wasn't a good thing he wouldn't have left and signed elsewhere
 
user165474
@betseg Haha yep :P
 
user165474
2:48 PM
@Fatalize Good point. So yeah then Congrats! (!)
 
True, but you don't really know a job if everyone you are talking to is either an accountant or lawyer. I'll basically be getting a new team to manage that'll just focus on coming up with crazy ideas and seeing what sticks.
 
3:08 PM
user image
5
So many zeroes...
 
Congrats! (so many congrats this morning :D)
 
Morning? I'm about to sleep here!
 
@AdmBorkBork I like Stranger heathens a lot
 
@betseg It is like that one quote "It is mourning when people leave since I am mourning." someone posted it but can't find the permalink
 
@DJMcMayhem 404 mastering not found
 
3:23 PM
Mar 28 at 16:10, by mbomb007
@Mego Are you sure? Because I'm always a knight when someone comes online and mourning when someone leaves.
 
@DJMcMayhem Thanks. That one
 
Because they upvote the FGITW and never come back
 
But it's not even an impressive answer. It's the equivalent of +++(repeat a bunch...).>++++(repeat a bunch...).> etc. In brainfuck
 
3:46 PM
@DJMcMayhem it's also kinda rude
the "reputation talks" bit
which implies (likely truthfully) he's only answering for the bounty
 
On an unrelated note, I'm closing in on the Deputy badge.
 
congrats!
 
About a dozen more helpful flags
 
0
A: Sandbox for Proposed Challenges

ghosts_in_the_codeEncrypt a byte (Cops) cops-and-robbers Your program/function must accept a single byte of data and return a single byte of data. Every possible input must produce a unique output. (In the other words, your function must be bijective) You cannot use built-ins that have the sole purpose of hashi...

 
3:59 PM
@DownChristopher is it py3 or py2?
the TIO is py3, but just checking
 
@Riker 3
 
cracked it
 
Wait what?
 
Invalid. I replaced the 2 in 9%2 with a 4. — Riker 14 secs ago
er
 
dang it
@Riker fixed
Longer math
 
4:04 PM
@DownChristopher it's invalid as dennis pointed out, plus this: tio.run/nexus/…
replaced the 9 with a 7
 
@DownChristopher Compilation outputs must be the same not the... Ninja'd
 
@Riker I would have done the same
 
@flawr as the youngling or as anakin?
 
I don't know starwars, but in doubt > pineapplepizza
 
> I don't know starwars
how could you
go watch star wars
 
4:09 PM
@flawr Even doubts are better than pineapplepizzas, that's true
 
@DownChristopher 1. it's invalid anyway, I can change a byte
2. it does indeed say that in the challenge:
> The output of compilation should be byte for byte identical not "equivalent" or "similar enough".
 
@Riker have to finish the pineapple pizza first :)
 
eugh ;p
 
and my non-vegetarian chocolate eggs
 
lol
Oh. I understand. Remove please (mobile) — Down Christopher 2 mins ago
 
4:15 PM
What kind of browser are you using that doesn't let you remove your answer? O.o
 
mobile app
doesn't let you view deleted things or delete stuff
 
@flawr Hopefully with a Mortal Kombat-style finisher, not eating it. Pineapple on pizza isn't food anymore.
 
@mbomb007 but pineapple together with pizza is
 
I swear, this room argues about food an awful lot. Hah.
 
@Riker ... wow
 
4:16 PM
Didn't Iceland make pineapple on pizza illegal or something
 
iirc the president officially denounced it
 
@mbomb007 I fixed the mistake with my program. I was not previously aware that a tstcase like a1;22 should have resulted false
 
The PM said that he denounced it and would sign a law if it crossed his desk
 
@AdmBorkBork only because of heathens like you and my desire to prove to the internet I am right
 
anyway I don't get why it is pine-apple in english, it has nothing to do with pines nor apples
 
4:18 PM
@Riker bah-leted
 
But hey, the us actually did declare pizza is a vegetable.
 
@AdmBorkBork sorry my internet is spazzing out
@Pavel what where pls link
 
Is pizza sandwich?
 
@flawr it looks like a pine cone
and it has an inside like an apple
 
4:19 PM
I don't agree with any of those points:)
 
@AdmBorkBork it's labeled as ananas around here in the stores
around 1/3 of the time
 
In Turkish, "Ananas aldırdım." means "I had someone to buy me a pineapple." but "Anana saldırdım." means "I attacked your mother.".
13
 
@Pavel omfg
that's amazing
 
@AdmBorkBork Conveniently omits Spanish (piña).
 
4:20 PM
@betseg turkey is weird
 
@Riker your mother ananas is weird
 
@Riker No, they didn't declare pizza a vegetable. That was extremely sensationalized way of stating what actually happened.
 
@flawr lol
@AdmBorkBork sigh
 
@Riker chat.stackexchange.com/transcript/240?m=31427902#31427902 another example of Turkish weirdness (warning: language)
 
never trust msn, never trust msn, never trust msn
 
4:21 PM
@Riker turkey is delicious. (Did you mean Turkish?)
 
@Riker Too close to "bananas"
 
@betseg lol
@Dennis both are weird tbh
 
@Dennis Well, of course. That ruins the joke. :D
 
@Dennis doesn't that also mean "pine cone"?
 
Ананас is Russian for pineapple.
 
4:22 PM
hahaha
 
@AdmBorkBork ananá is also valid, but rarely used.
 
@Riker ftfy: AHAHAC
 
if you type "ananas" into google translate, you can select a random language to translate from, and it seems to always mean pineapple
@betseg kek
 
Aww I don't have topkek in the hospital ;_;
 
Spanish has piña
 
4:24 PM
@mbomb007 Ninja'd
 
the psychological and social issues on this site run too deep for me
 
In Turkish, the word for turkey (bird) is "Hindi" iirc.
 
@MitchSchwartz You need more rep. Then you can live with it.
Or maybe PPCG needs to be your parent account.
 
@Pavel Also, in Hindi turkey is peru
(watch the capitalizations)
 
@mbomb007 btw were you the downvoter on my answer?
 
4:27 PM
Yeah, I just now got the "fixed" notification
 
sounds like a joke that i've not been conditioned to find funny
 
Dunno who to mention, I'll mention @Riker because I mostly see him posting Reddit posts. reddit.com/r/xkcd/comments/65pnjq/slug/dgc5gql
 
@betseg It's hard not to mentally pronounce your name "best egg". Especially around Easter.
 
Welp
 
@betseg Right, "peru" is also turkey in Portuguese.
 
4:32 PM
@betseg Is Topkek an actual thing in Turkey?
 
Spanish annoyingly breaks the chain.
 
@MitchSchwartz Which joke? The "PINE. APPLE." one?
 
@Mendeleev yes, etietieti.com/eti-topkek-with-hazelnut-and-cocoa , older than the meme
 
CMC: Given an int array a and an int n, output the smallest positive difference between n and any value in a.
 
4:34 PM
PPAP will never be on-topic on TNB :P
6
 
@AdmBorkBork mbomb007's messages to me
 
@Pavel closely related:
1
Q: Find the temperature closest to 0

JoshIn this exercise, you have to analyze records of temperature to find the closest to zero. Write a program that prints the temperature closest to 0 among input data. Input N, the number of temperatures to analyse (optional). This will be nonzero. The N temperatures expressed as integers rangin...

 
@MitchSchwartz I'm pretty sure the first comment is saying that the "joy" experienced from getting upvotes and reputation makes up for the "weirdness" of the site's users. I know we've had discussions in the past regarding how upvotes elicit a "pleasure response" in the brain for most people, so I understand your statement, now.
 
@Pavel sorry, wanted to type "loosely related"
 
Actually it's the same thing but with constant n
 
4:38 PM
 
Glad I could find a possible dupe, that one was poorly received :)
 
wait, i should use a lambda, duh
 
i am unable to deceive myself that an upvote generally indicates that the voter has read and understood the thing they voted for
 
@mbomb007 a new challenge idea: embedded lambdas :)
 
@Pavel CJam, 9 bytes q~f-:z$0=
 
4:42 PM
@MitchSchwartz Yeah, there's definitely a lot more reactionary upvotes than thoroughly-understood upvotes.
 
@Pavel C, 72 bytes. Takes the array, the int and the length of the array. Try it online!
 
@Downgoat do you use time machine with your mac? if so, did you ever have it "preparing for backup" forever?
 
What exactly does it do with one's mac?
 
It makes it cost more.
 
4:50 PM
@betseg that's glorious
@KritixiLithos backup device
@mbomb007 nah, we don't need that
 
Either that or I'm completely blind.
I'm pretty sure all of those brackets are balanced.
 
do you have any unicode?
 
Time machine will likely take away what's left of the remaining 12 GB of storage I have
 
Nope
 
0
A: Sandbox for Proposed Challenges

Wheat WizardAre these lists equal? As you may very well know python has lists. As you might not know these lists can contain themselves. a = [] a.append(a) Python 2 Python 3 These are cool, however you cannot compare them. a = [] a.append(a) b = [] b.append(b) a == b Python 2 Python 3 Task You...

 
4:53 PM
@WheatWizard ^^^^^^^
 
Should we delete the broken ad until the host site actually works?
 
@Pavel What?
 
I'll do it, and I'll try to check in every day or so to see if it's back up
 
Because right now that ad is just a big white square that says "Bounties for everybody", which isn't very helpful.
 
4:54 PM
@Riker Thanks.
 
done
 
@WheatWizard (())(()()){}<>{{}}(()()())<> -> Error at character 15: Unmatched '{' character.
 
@Pavel Ok looks like we have a bug
 
Indeed.
 
Ok I know what it is
I will fix it
 
4:56 PM
I'm working on the VIP submission, that should be flack, mini, and flueue. I've had trouble fitting in Classic, unless there's a way to suppress output in it but not the others.
 
@Pavel @WheatWizard was able to repro, looks like if a nested pair of {} is followed by a ()
@Pavel VIP?
 
Versatile Integer Printer
 
@Riker It actually just has to be followed by anything
 
Since the BF interpreter now supports 4 languages, I'm trying to polyglot all of them together.
 
@WheatWizard ah, okay
 
4:57 PM
I'm pretty sure I know what is going on
 
cool
 
I feel like there needs to be an easier way to push zero. (<><>) is bleh
 
There's also (<()>) but I do agree, most ways are bleh
 
I suppose you can save bytes by doing (< other things your program needs to do >)
 
@Pavel There is usually something you can wrap in (<...>). For example, if you have an "if" you can do {(<whatever you need to do>)}
 
5:02 PM
@Pavel @Riker Fixed the issue
 
cool
what was it?
 
tyvm
 
When it skips to the end of the loop it doesn't remove the brace from the scope stack which causes it to think it never closes the brace
It also turns out I accidentally misspelled raise
 
ah
lol
 
I don't know why anything was working at all with raise spelled as rasie
but it apparently was
It was even raising the error properly as far as I could tell
 
5:14 PM
Ruby recognizes that you probably meant raise
Still errors when I try rasie on TIO
 
@Riker yeah, that might take a while depending on disk size
 
hm, okay
it's 500 gb so
 
Is your mac a macbook pro?
 
yes
 
CMC: Determine the average absolute difference between elements of an array.
 
5:18 PM
@Riker ok might take a while
 
[1 2 1 2 1 2 1 2] --> 1
[10 9 8 9 10] --> 1
[2 4 6 8] --> 2
[4 8 15 16 23 42] --> 7.6
[9 0 7 9 5 6 4 6 2 12 9 5 5 5 3 3 7 8 8 6 3 7 2 8 6 8 2 4 3 1 9 9] --> 3.16
 
@Downgoat hm, okay
 
Do you think we should have metadata for answers?
 
@Pavel If you find any new bugs feel free to notify me or make an issue on the github
 
will do
 
5:24 PM
@WheatWizard This is a little bit random, but how many users would you say brain-flak has now? (Wild guessing)
 
51 mins ago, by Kritixi Lithos
PPAP will never be on-topic on TNB :P
Please, let these discussions be over for good. I'm getting sick.
 
user165474
@DJMcMayhem import numpy;lambda x:sum(numpy.diff(x))/(len(x)-1)
 
Sick of PPAP?
 
@DJMcMayhem I like toying with it but the part that turns me off is how arduous it is to loop :P
 
@DJMcMayhem depends on how you define user. 4 people who regularly use it. ~10 people who use it every so often/ know the commands and I would guess 30 who have used or tried it.
 
5:26 PM
@KritixiLithos Yeah, like almost everybody here AFAICT.
 
I don't know what that is, so I can't be sick of it.
 
@EriktheOutgolfer I don't know what PPAP means
 
@Dennis @DJMcMayhem I hope you never know!
 
user165474
@DJMcMayhem Good for you! Glad you haven't been infected!
 
@DJMcMayhem it's some stupid meme song that's an earworm
it's not that big of a deal, it's just an annoying song
 
5:28 PM
@Riker You just infected everybody.
 
who cares?
plus, I didn't link the song
 
4
Q: Metadata for answers?

programmer5000It would be great to have an option in answers to add metadata. (This would be most useful for questions tagged code-golf, but maybe also other tags?) You would be able to put in the language, the golfed code, current byte count, and old byte counts. Then the data could be used to sort answers by...

3
 
Well, I want to have good health anyways.
'Nuff said, discussion closed as off-topic.
 
This whole "What is noise?" thing is getting ridiculous
 
user165474
@Mendeleev Where?
 
5:37 PM
It's been a thing for months
 
where?
I don't see it being mentioned anywhere
 
user165474
I've never encountered it... where is it showing up?
 
@HyperNeutrino it's not on the starboard, nor on meta
 
Not being mentioned a lot recently, but it's been a large discussion topic a few months back
 
so?
it's mostly over now
 
5:39 PM
Then why is it getting ridiculous now?
 
Mostly
 
^^
@Mendeleev where do you see any evidence it's still here?
 
-_-
 
nothing has been trashed recently afair, and no new meta posts have come up
 
user165474
Why would you bring it up here? If it's annoying, why bother bringing it up again? Let it die.
 
5:40 PM
Never mind
 
I've had only one additional answer on Working on my Knight moves since posting the +250 bounty. It ends in three days, folks! Are you going to let aditsu and cjam win?
 
0
A: Sandbox for Proposed Challenges

AdmBorkBorkWhen Fibonacci Meets the Queens code-golf chess fibonacci (inspired by Helka's response to my random pairing of "chess" and "Fibonacci" tags in chat) Fibonacci The Fibonacci numbers are one of the more well-known sequences in mathematics, where each number is composed by adding the two prev...

 
user165474
@AdmBorkBork I'd try but there's no way I'll come even close because I don't know how to program using any golfing languages.
 
user165474
I'll try though.
 
The golfing languages that I know suck at anything other than string manipulation/ascii art
 
user165474
5:46 PM
Maybe I'll look through the Jelly code-page or something like MATL or CJAM
 
user165474
I use python all the time ;_;
 
@KritixiLithos V, Carrot, and Charcoal? Yeah, interesting choices haha
 
And Retina
 
Oh yeah
Solution: learn IPOS also :P
 
user165474
I'm not sure it will be worth it though, because I can usually get 250 rep in 2 or 3 days if I try a bit, and it will take quite a bit of effort to golf that down.
 
5:49 PM
IPOS?
 
0
A: What programming languages have been created by PPCG users?

DenkerAffeIPOS Made by me, DenkerAffe IPOS (short for I process only strings) is a stack-based golfing language made for complex string processing. It will have a huge amount of string manipulation builtins, so it will probably (hopefully) win every challenge which is about transforming an input string i...

 
@HyperNeutrino That's true. It's a superficially easy challenge, but the coordinate system really ratchets up the difficulty.
 
@DJMcMayhem Haha, my top 5 badges (excluding code-golf) are: , , , ,
3 of them have something to do with string manipulation
 
user165474
@AdmBorkBork Yeah. The coordinate system is definitely the hardest part about the challenge.
 
@KritixiLithos Mine are , , , , , so same here lol
 
5:53 PM
@DJMcMayhem How are you counting that?
 
But I got lucky with polyglot because people kept on upvoting 2 trivial solutions of mine really much
 
@tomdemuyt yeah, I'm sorry about that :/ I accidentally did chown $(whoami) -R /usr/bin/ for some stupid reason so right now my server is down — Downgoat Oct 3 '16 at 14:19
was this like the original downgoat server bork?
cc @Downgoat
 
user165474
Mine are , , , , and (not counting of course :P)
 
Oh, haha, I keep forgetting that I can look at my own profile tab
 
user165474
5:55 PM
By votes.
 
And I dabble with 2D languages for polyglot challenges
 
I don't even make the top 20 by , but I'm 7th in
 
@DJMcMayhem I find it amusing that you made V, which is awful at math, but yet have two math tags in your top 5
 
@DJMcMayhem How do you see that?
 
I'm also 2nd in questions, which is pretty cool
 
user165474
5:57 PM
@DJMcMayhem How do you figure that out?
 
I am 14th at polyglot (on the leaderboard \o/)
 
@Riker idk, it's not like I answer exclusively in V. Just close :P
 
user165474
Yay 3k rep! :D \o/
 
Actually, I can't tell if I'm 20th or lower
 
Ooo, two more questions and I take over the #3 spot on the all-time askers list for that tag.
@DJMcMayhem You show as #20 for me
 
5:59 PM
Wait, I am 20th. I thought it was just showing me in that spot cause I didn't make the top 20, but I actually am 20th
 

« first day (2271 days earlier)      last day (2564 days later) »