« first day (2413 days earlier)      last day (2421 days later) » 

4:04 PM
Hi
 
hi
 
@cairdcoinheringaahing BTW it's + :)
LOL
 
@Mr.Xcoder Is that the chat message thing?
 
Yes, and PPCG is in the middle of the icon :-/
 
@Mr.Xcoder . It's under the close thing for me
 
4:09 PM
Still there for me :-/
 
norepro for me too
 
Let me finish writing the task now
 
its like that for me too
 
@Mr.Xcoder Can you wait for a couple of days to post, so that Deorst v2 can compete? :P
 
its like that for wheat wizard too
 
4:10 PM
@cairdcoinheringaahing Non-competing is not a thing
It applies to WheatWizard as well.
And to Erik
 
@Mr.Xcoder It is when the language isn't complete
 
@cairdcoinheringaahing Sorry, I'll post it today. You can compete in the future, after you finish it. I think it's quite fun
 
@Mr.Xcoder Meh, I've got Python and Jelly TIO pages open, waiting for it to be posted
 
Yeah, Python is not the best tool for the job, and it's moderately hard as well in Jelly.
 
4:30 PM
0
A: Sandbox for Proposed Challenges

geokavelThe Compressor code-challenge test-battery You are given this list of 100 positive integers that are at between 7 and 18 digits long: [list to come] You need to generate 100 snippets that will produce these numbers in some language (either as a numeric or string). Your score is the total leng...

 
Does anyone know how to square a number in APL? Other than *2 of course.
 
@cairdcoinheringaahing Do you want me to ping you when I post it?
 
@Mr.Xcoder You can, but I may not post as I'm working on Deorst atm
 
@cairdcoinheringaahing I will post it in a few mins.
 
@caird Done.
 
ah forgot caret reply doesn't work in chrome 61
 
@Erik Done.
 
saw a parenthesis on the tab's title that's how I realized
 
@Mr.Xcoder I have to ask, are you sure you want to go Fib after Fibtraction?
 
4:48 PM
Whoops forgot to change title >.>
@cairdcoinheringaahing yes, sure
 
@Mr.Xcoder In that case, brb, VTCing as dupe :P /s
 
@cairdcoinheringaahing Make sure to read it though
 
0
Q: Implement Fibonacci... Shifted to the right

Mr. XcoderBackground We all know the famous Fibonacci sequence, where each term is the sum of the previous two, with the first term being 0 and the second one being 1. The first few elements are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765 What we are going ...

 
That was fast
If you feel like there is place for improvements, tell me and I might move it to the sandbox
 
@Mr.Xcoder Where is the OEIS link? Without that, how will I use the really easy formula provided?
Why'd you delete it?
 
4:51 PM
@cairdcoinheringaahing No OEIS for it
@cairdcoinheringaahing Because of random downvotes
 
@Mr.Xcoder what happened?
 
Sorry
I will move to the sandbox
 
@Mr.Xcoder One downvote shouldn't be a good reason to delete it. I was about to +1
 
@EriktheOutgolfer Ugh, I now realize you have answered it >.>
 
well I realized my answer would sometimes print leading 0s
and now I can't delete it :(
 
4:52 PM
@cairdcoinheringaahing Let me move it to the sandbox. I will ask you for feedback and I'll move it back to main in a few minutes
 
@Mr.Xcoder I can give you feedback right now: remove the second bullet point. Answers can't be compared if they do different things. Otherwise, its fine
 
@EriktheOutgolfer Do you think I should allow leading zeros?
 
no
it was just my answer that was printing them in error
 
Why?
I mean, why not?
 
you can allow them if you want
 
4:54 PM
CMC: Given a number, shift every digit to the right
 
btw I fixed my answer
 
For example, "1247" --> "2358"
 
@DJMcMayhem Add a test with 9
 
"98720" --> "09831"
 
Ah, that is different from rotation
 
4:55 PM
@Mr.Xcoder Don't bother moving it to the sandbox. Its not a problem that the sandbox can fix.
 
Never mind, misread the question
 
V, 8 bytes: Try it online!
 
@WheatWizard I will remove the second bullet point and make it find the Nth term. Do you think there is room for immediate improvements?
 
@cairdcoinheringaahing he needs leading 0s
(also you stole that from my answer didn't you? :p)
jelly, 5 bytes (full program): D‘%⁵V
 
@EriktheOutgolfer Yes and ಠ_ಠ damn it
 
4:56 PM
@Mr.Xcoder I just think the question is boring. I would personally just go back to the drawing board. But that's my opinion, plenty of questions I think are boring get tons of upvots
 
Ok
@DJMcMayhem Can we take and return as lists?
 
Ehh, sure
 
jelly, 3 bytes: ‘%⁵
thanks to list i/o allowance :p
 
Python 3, 46 bytes "".join(str(int(i)%10+1)for i in str(input()))
Working on a Python 2 version
 
@DJMc Pyth, 5 bytes: .rQUT
 
4:59 PM
pyth, 3 bytes: meh
16
 
@Sherlock9 You can remove str() around the input()
 
huh
 
@cairdcoinheringaahing It also needs fixing, hang on
 
@EriktheOutgolfer Welp... Come on... Last digit
 
@Mr.Xcoder I didn't ask for stars, it just happened to be so
 
5:00 PM
@EriktheOutgolfer Beatiful
 
Python, 41 bytes: "".join(str(-~int(i)%10)for i in input())
 
Just in case, I will repost the challenge shortly.
 
ಠ_ಠ The hyperlink for my Deorst parser on TIO is too long to fit into a chat message
 
@DJMcMayhem it was an accident :p
 
@Sherlock9 lambda k:[-~int(i)%10for i in k]
 
5:01 PM
it's actually mehdQ but the last two chars are implicit
 
@Mr.Xcoder Ah right, you are allowed to output as a list. Well done
 
@EriktheOutgolfer meh, the first one is better (pun intended)
 
I've been meaning to ask, caird. Where does your name come from?
 
@cairdcoinheringaahing I don't need a pun to choose the golfiest I can get to!
 
@Sherlock9 Hold on, checking the transcript for all of the times this has been asked
 
5:03 PM
Sorry, was afraid to touch the search function. It's buggy in there.
 
also on an unrelated note chrome 61 colors are sickening
 
zeros or zeroes???
 
@cairdcoinheringaahing Interesting. And very weird
One day, I may go back and try to understand Brain-Flak like I figured out Parenthetic
 
Probably not tonight though
@DJMcMayhem Never mind then. Bless you, sir
 
@Sherlock9 I couldn't decide on a name, and thought it would be fun to make people to type it. I have been thwarted by autocorrect.
 
> Readable
 
@Sherlock9 s/readable/semi-readable
 
Ah, no comments
sigh
 
5:06 PM
Yeah, just indentation
I can add comments if you like
 
If you would, I would appreciate it
Meanwhile I'll dig up the Brain-Flak docs to look at
 
@Sherlock9 Like I told carusco (however you say their name) last night, it's not too daunting if you start small. And it's much easier to write than it is to read
 
Parenthetic is almost the same way until your variable names get too big
 
@Sherlock9 Actual readable version: Try it online! </s>
 
hey new main challenge it's not mr xcoder's!
 
5:08 PM
@DJMcMayhem I think its pronounced "Magic Octopus Urn"
 
Oh yeah, they changed it
 
Do we have a definition of bytecode?
 
@DJMcMayhem >_< I am amazed at your commenting skills
 
Reposted
And I will be back in a couple of minutes to address any concerns :P
 
@wizzwizz4 Bytecode in which cases? For just scoring or for other stuff?
 
5:09 PM
ಠ_ಠ Search says I've only posted 15 questions and 17 posts in the sandbox
 
I'm not familiar with what meta has or hasn't decided on bytecode
 
@Sherlock9 For a representation of a program.
@El'endiaStarman We're having on-topic, non-spammy discussion now. Please come back!
Python is an example of a language with bytecode.
 
@Sherlock9 Here's an actual readable version, with waaay more time spent on comments than I usually do. I also added some links so that you didn't think I wrote everything manually:
Shoot
URL is too long lol
Just a second
 
hey starman!
 
@wizzwizz4 On-topic and non-spammy discussion is a necessary but not sufficient condition for me to be interested in chatting.
 
5:14 PM
Sorry for sketchy bitly link: bit.ly/2wN6sk4
 
@El'endiaStarman EL! Dude, how have you been?
I haven't seen you in ages!
 
Hey! I've been doing well. Life's going well for me thus far. :D
 
I'm really glad to hear it :D
 
@Sherlock9 If you're interested in learning more, you're always free to hit me or wheatwizard up in the third stack
 
Sorry to hear that you don't frequent TNB much anymore. What have you been up to in the meantime?
 
5:16 PM
@DJMcMayhem Ha, clever name.
 
Haha, thanks. The reasoning behind it is pretty cool actually
 
@DJMcMayhem Noted. And many thanks for taking the time to comment :D
 
Always glad to help! :)
6
A: Tips for Golfing in Brain-Flak

Wheat WizardUse the Third Stack If you have read the title you might be a bit confused. Surely there are only two stacks in Brain-Flak? However I assure you that it exists and it is one of the most powerful if not the most powerful tool in writing and golfing Brain-Flak. What is the "Third Stack"? Eve...

 
@DJMcMayhem yeah it's a really cool golfing tip :p
 
@Sherlock9 Aside from work, I've worked on a couple personal projects. The big one is my update of TNBDE, which I announced in here yesterday.
 
5:17 PM
ninja'd
 
It's also just a really fun name
And it feels kinda similar to The Nineteenth Byte
 
@DJMcMayhem Oh, I thought the chatroom name was a joke based off of there being only two stacks in the language itself, so the third stack was the chat.
 
It's that too
But it's also a fun reference to a more advanced understanding of how brain-flak works
 
2
Q: Measuring a pile of logs

ZgarbIntroduction This is a log of length 5: ##### I want to pile a bunch of these logs on top of each other. How I do this is that I slide a new log onto the topmost one from the right, and stop sliding when their left or right ends align (don't ask why). If the new log is longer, it slides all t...

3
Q: Implement the Fibonacci sequence... Shifted to the right

Mr. XcoderBackground We all know the famous Fibonacci sequence, where each term is the sum of the previous two, with the first term being 0 and the second one being 1. The first few elements are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765 What we are going ...

-1
Q: dog and cat puzzle

joey langAngus,Basil,Craig and duane have pets. 1.Angus says : "If Duane and I each have a dog,then exactly one of basil and Craig has a dog" 2.Basil says: "If Craig and I each have a cat,then exactly one of Angus and Duane has a dog" 3.Craig says: "If Angus and I each have a dog,then exactly one of Basi...

 
Wait you can use Brain-Flak's parsing stack for computation?
 
5:20 PM
Back when @WheatWizard Was making cults on my behalf, he named me The Third Stack
One of the highest honors I've been given
@TuxCopter Yep! How much brain-flak do you know?
 
nothing except () evaluates to 1
iirc
 
OK
I'll make a simple example
 
@El'endiaStarman Sorry late reply. IRL stuff for a moment. I saw the update. Nice :D
I always assumed that the data stuff from SE was SE's creation though
TNBDE was your own making?
 
So {} pops a value off the current stack, and {...} repeatedly runs the code ... until the top value is 0. But it also evaluates to the sum of everytime the code was executed.
 
@Sherlock9 Maybe you're thinking of the SEDE? Stack Exchange Data Explorer? I deliberately named TNBDE to echo that.
 
5:23 PM
So if there were three non-zero values on the stack, then {{}} would be equivalent to {}{}{}, which evaluates to the sum of each element
So this: Try it online! will sum every element of input by incrementing the current value by {} everytime it's run
 
Oh I see
 
Ooh, Brain-flak class going on
 
Or Try it online! would sum every (element of input + 1) by incrementing the current value by {}() each time it's run. So the () has no direct effect except for changing the end evaluated value
 
brain-flak is simple to understand, yet hard to make anything useful out of it
 
In essence, the () is incrementing "The Third Stack"
 
5:25 PM
@Sherlock9 Yeah. Definitely contributed to me getting my job. :D
 
@TuxCopter Does that make sense?
 
Ooh, what do you do now?
 
ooh
 
For a living, I mean
Damn it brain autocorrect
 
That leads to some super awesome polygonal number calculations, for example, ({({})({}[()])}{})
(Mega cookies to anyone who can explain that one to me)
 
5:27 PM
@DJMcMayhem ooh
 
I work for WB New York. Our main product is Hydra Studio, which you can google, and basically, we do a lot of backend support and development in concert with other game studios in Warner Bros. Games, such as NetherRealm Studios for Injustice 2 and Monolith for the upcoming Shadow of War.
 
... You're helping to make Shadow of War?
 
@DJMcMayhem you mean ({({})({}[()])}{})
you edited it in apparently
 
I don't believe the emoticon exists for how cool I think that is O_O
 
5:28 PM
@Sherlock9 Yep.
 
@Sherlock9 I think I've seen ven using the emoticon Ω_Ω
 
@EriktheOutgolfer Yeah
 
I also helped with Injustice 2. That was the first game (well, pair of games) we helped launch after I started working last December.
 
@Sherlock9 😮_😮
 
Flipping cool :D
 
5:33 PM
ono dennis gonna outgolf me help
oh he actually commented on mine
 
(
 {
  ({}) (pop sum)
  (
   {} pop
   [()] neg 1
  ) sub 1
 } run while TOS nonzero
 {} sum
) print
 
@EriktheOutgolfer I am very surprised Dennis didn't just outgolf you
(yet)
 
well maybe his turned out too similar to mine
but sometimes he does things a bit slower
 
Wait... Jelly with STDIN?
 
@DJMcMayhem So I think what's happening here is that we're popping n every time and subtracting 1 from another n as a counter until the counter hits zero, then we some all the ns add pop
But I could be wrong
 
5:39 PM
@Mr.Xcoder yeah
it's a trick for the ¡
it automatically gets its second argument from stdin if there aren't any command-line args
 
@Mr.Xcoder Only Dennis and miles ever actually use it
 
>_>
 
and then default niladic chain has implicit 0s
 
a new user has posted an incredible answer... And he is extremely similar to an old user...
 
@DJMcMayhem squares a number
 
5:40 PM
@DJMcMayhem No wait, I get it. ({}) pops n, then ({}[()]) pops n-1. You keep popping until you reach 1 and 0. The sum of 1..n and 0..(n-1) is n(n+1) plus n(n-1) which is n**2
 
@Mr.Xcoder I think I have seen them before?
 
@Sherlock9 That's mostly accurate, but ({}) is actually going to be push(pop)) which is basically just peek(). And the last {} simply pops off an extra 0, and the surrounding (...) is push rather than print (the printing is implicit)
 
@EriktheOutgolfer They are very similar to “Vote to Close”
 
@Mr.Xcoder VoteToReopen?
 
@Sherlock9 Yes exactly!
 
5:41 PM
Yes
 
Yeah, they used to have an account here. I think it got deleted as a sock though
 
@Mr.Xcoder no the VoteToReopen name alongside 1 rep and 1 bronze badge got me déjà vu
and it says
> Member for 3 months
 
@Mr.Xcoder for lolz, this is the parser for Deorst :P
 
@El'endiaStarman What would it take?
 
@El'endiaStarman Sorry I got preoccupied with Brain-Flak for a bit there. I did have another question or two before you disappear for a bit again. What are you working on now (work-wise, personal-wise)?
 
5:43 PM
But they haven't been around for a month or so
 
I have just asked them
 
I know people don't like talking about them, but I'm just gonna say it, I think they might be a sock. Just my 2 cents.
 
@cairdcoinheringaahing if they don't like to talk about them it's suspicious to me
 
@EriktheOutgolfer As in people don't like it when other people are accused of being or having sock accounts
 
@Sherlock9 Work-wise, a new software component. It's been a great learning experience using Java, which I'm coming to really appreciate with a good IDE. Personal-wise, I hope to start a new project soon that I'm calling "IdeaGrapher" which is intended to be a tool for visualizing networks (graphs) of ideas.
 
5:45 PM
Ooh, like a mega mind map
 
if they're accused in the bad sense abuse ensues usually
 
Or at least, that's the first thing I think of
 
@cairdcoinheringaahing I don't think anyone would name their sock that way... It's too obvious... Maybe they have forgotten their old account password?
 
@Sherlock9 Yeah, basically.
 
@DJMcMayhem TryItOnline!
 
5:46 PM
@DJMcMayhem Belated :D
 
I'll probably post a link in here once it's in any semblance of a usable state.
 
@Mr.Xcoder brb, making a sock called coird coinheringaahing
 
@Poke Kewl
 
@EriktheOutgolfer Can you please add an explanation to your Jelly answer?
 
5:47 PM
It's incredibly hard to read your code
 
@DJMcMayhem do i get cookies now
 
@Poke 🍪 🍪 🍪
 
@Mr.Xcoder Its Jelly, you should be worried about your challenge if the Jelly is easy to read
 
that'll do
 
@cairdcoinheringaahing I'm no longer worried about it
 
5:48 PM
I just found myself writing that ^
 
Wait, C++ and lambda in the same sentence
 
@DJMcMayhem ಠ_ಠ Stupid compiled languages. Clearly interpreted languages are better
 
@El'endiaStarman Good to know. Have a good day, dude. Hope to see you again soon :D
 
@Mr.Xcoder Yes. Since C++... 14 I think?
 
>_> We use C++::11 in school
 
5:49 PM
@Sherlock9 You too man.
 
That's actually not too bad
 
@Mr.Xcoder We use Python :P
 
Schools tend to lag way behind
 
(and brainfuck)
 
I learned pseduo-C++11 without any of the the features that makes C++ decent
 
5:50 PM
Now Conor tells me it's a dupe... I don't want to disagree
 
Hm, did feersum ever release how he/she made the Seed hello world?
 
@Mr.Xcoder done
 
@DJMcMayhem Mind if I ask what makes C++ decent?
@EriktheOutgolfer Thanks
 
@Mr.Xcoder I'm not sure I'd agree :P
But what they taught us was horrible. With the modern features I've learned since, it's a lot better
 
Now that I've seen El come back (and I realize now that I didn't really realize he'd disappeared) I almost want to play a game of "Hey, what happened to that guy?"
 
5:52 PM
Stuff like actually using the classes that are built in instead of re-inventing every single wheel. Stuff like vectors/maps/lists/etc. and corresponding iterators. Auto. Boost
 
Jul 20 at 20:14, by trichoplax
To escape closure, a fibonacci challenge has to be as good as the previous 2 fibonacci challenges put together
 
All of those would have been super useful
 
Not sure I want to start that though. Might take ages to wade through all the people and it would probably end up really off-topic
 
@DJMcMayhem @EriktheOutgolfer hammered my own question.
 
yeah saw that
although that's not what we call "hammering"
 
5:53 PM
@EriktheOutgolfer I know.
 
@Sherlock9 Whenever someone comes back, I always think of this guy
 
Although I would like to disagree, I don't want to argue with 3 users with more rep than me. I prefer closing it.
 
@Sherlock9 You could probably use TNBDE for that stuff. :P
 
That's a better idea that clogging chat. I'll go take a look
 
@Mr.Xcoder why did you hammer it then?
 
5:55 PM
> I don't want to argue with 3 users with more rep than me. I prefer closing it.
 
@Mr.Xcoder At least they didn't hammer. Peter Taylor hammered my 5 dupe question without a single comment
 
@El'endiaStarman What's the query syntax for "Last post from <user>". I feel like I'm going to be using that most
 
@Mr.Xcoder well, at least you could've waited for others to close it, doing it yourself would indicate agreement...
 
@EriktheOutgolfer Mostly because you'd say my arguments are not strong enough to keep it open.
 
Actually, "most recent post by every user who's ever typed in TNB" would be an interesting query on its own
 
5:56 PM
After 3 users commented, I highly doubt my judgement.
And I slowly begin to agree...
 
oh, and talking about posting challenges, I'd like a last inspection on this one before I post
 
I am about to get myself a dupe-hammer... Need 150 more votes
 
@Mr.Xcoder Wait for another Trump-related question to be posted, then learn Trumpscript (or something like that)
 
Oh, 150 is easy to get
 
@Mr.Xcoder ಠ_ಠ
 
5:59 PM
I usually need more posts rather than more votes
Which reminds me, I'm one quine away from bronze
Any recommendations?
 

« first day (2413 days earlier)      last day (2421 days later) »