« first day (2289 days earlier)      last day (2557 days later) » 

12:06 AM
@Riker Matches 10000... or any repetition of 1s and 0s
1001101 is the only one that is neither 10000... or a repetition
Maybe the \d should be [01] though
 
so regular languages and machine code are more likely to get the bounty? what about non-golf esolangs?
11
Q: Turing complete language interpreter code golf

arodebaughA challenge I thought that would be very cool is to make an interpreter for a Turing-complete language of your choosing. The rules are simple: You may use any language to create this interpreter even if it is newer than this challenge. You may use any Turing-complete language as long as it is ...

 
Has anyone heard of Angolf before? It looks a lot like JavaScript, but I can't find any information about it online (here's why I'm asking)
 
@ais523 where do nongolf esolangs stand with your bounty?
 
> angolf esolang
> > Did you mean: angol szleng
thanks Google, but no -_-
 
I can't find it on github
 
12:22 AM
@ETHproductions Thanks!
@DestructibleLemon depends on how long the answer is compared to a similar answer in a practical language
 
@ais523 um, I don't understand? does it depend on it being longer?
 
I'm mostly caring about how short you can get a program without resorting to golfing languages
so if you pick a very verbose language, it wouldn't do well on the bounty
whereas if you pick something like Befunge, which has a similar verbosity level to something like C, it'd do about as well as C would
 
Gahhhhhhhhhhhhhhhhhhhhhhhhh! I have no idea why but cleaning the kitchen makes me really mad.
It makes no sense
 
user165474
Hello, if you are reading this message, then my little experiment has worked.
 
@HyperNeutrino hi
 
12:34 AM
Congratz you can type
 
user165474
Hello.
 
user165474
@Christopher No, I'm chatting from a shell using a program that was set up by someone to supposedly work, and now that it does, I can get underway with making a chat bot.
 
So you can code to avoid typing
much time save
 
user165474
I'm still typing...
 
user165474
Just from a different location...
 
12:37 AM
@ais523 hmm, I don't think verbosity is something you can easily compare
 
well the bounty isn't objective, it's subjective
 
I mean, how verbose is Turtlèd?
 
user165474
!!/random
 
user165474
@HyperNeutrino 0.5872063630955395
 
I think I made it pretty clear that I'd be picking an answer I liked, but these are the criteria I was planning to use, but if an answer's much better than the others it can override them even if it doesn't meet the sort of thing I had in mind
 
user165474
12:38 AM
Yay.
 
that sort of thing is inappropriate for a challenge, though (thus the bounty)
 
example: ?;d'0u[*'|:[|'_l]u][0d]u[*r{_r}l(|u)(_'-{-d}{ l}[ (0'1d)(1'2d)(2'3d)(3'4d)(4'5d)(5'6d)(6'7d)(7'8d)(8'9d)(9'0l( '0))]uu{ r})]' d{|[ ' r]dl[ l]r} is a square number calculator
but it can outgolf c in a fair amount of challenges
 
the language seems to have trouble with I/O
whereas the challenge isn't really about I/O
so I guess you'd look at the aspects that were important for the challenge
 
@ais523 the reason the square number calculator is so long isn't I/O
 
a short Turtlêd answer would be interesting, but it's also not the sort of thing I was thinking of when it came to the bounty
 
12:40 AM
@ais523 if I make a new answer for a more complex lang, would that be good?
if I made a brainflak interpreter in Turtlèd would I get a prize? except modified so that there is no output or anything
 
the sort of thing I was looking for was a choice of TC language that can be implemented in a really short space, without exploiting overly powerful builtins
a brain-flak interpreter in Turtlêd isn't the sort of thing I was planning on with this bounty (although it might well be worthy of a bounty in other respects)
in fact, it would arguably be not a serious competitor to that challenge, because Mini-Flak would be a clearly better choice
 
ya know, maybe I'll just make a brainflak interpreter outright
 
12
Q: Write a brain-flak classic interpreter!

DJMcMayhemBrain-Flak (a cross between Brainf**k and Flack-Overstow) is a stack-based esoteric language. Since this challenge was posted, the language has evolved and updated, but this first revision of the language is known as "brain-flak classic". You must write a program or function that takes a string ...

 
with i/o and stuff
 
there, that would be a better challenge to post it to :-)
 
12:43 AM
but this isn't classic
 
(although brain-flak classic isn't quite the same as current brain-flak, so maybe we'd need a separate challenge for that)
 
also impossible for my lang
> [n] Print 'n' as an int and a newline.
 
right
really the challenge should have been about current brain-flak :-(
maybe we can start another one
I've started at least two challenges purely to be able to post answers to them
 
isn't the interpreter newer than the challenge
 
12:47 AM
Technically, yes
 
what should we do about it?
 
I guess we should tell the OP, but I honestly don't care because the language is basically a more byte-y version of JS so it's not winning this challenge
And for all we know it may have existed before the challenge was posted anyway
(though there's no way to tell one way or the other, of course)
 
user165474
Guys I made a thing
 
@ais523 That's cause at the time, classic was all there was. The name classic didn't come until much later
 
user165474
!!/eval 2 + 5
 
user165474
12:58 AM
@HyperNeutrino 7
 
user165474
!!/eval 5 ** 9
 
user165474
@HyperNeutrino 1953125
 
sandbox pls
 
user165474
Sorry.
 
Not in here please
 
12:59 AM
Hey, sweet. I don't know if this is the place to test that though
 
or that bot room
 
user165474
I just wanted to show it off a bit here. :P I tested it over at Sandbox earlier to make sure it wouldn't be stupid.
 
"that bot room" is only Laff-o-Tron's now. You could create your own room though
 
Poor lonely laffy
 
@HyperNeutrino super coool
 
user165474
1:18 AM
lol Sandbox is now just me spamming stuff.
 
Did someone say "Straya"?
 
are you also AUS?
 
Yes I am
 
is that an accurate representation of daily life?
 
So just skiing in the snow?
I have never seen snow once in my life
 
1:42 AM
lol
with a kangaroo
 
I didn't see the whole gif :P
 
2:14 AM
Dwarf Fortress has some amazing descriptions of in-game combat. Here, two necromancers are fighting each other.
 
Why has the generalist badge never been received? It doesn't seem that hard to get
 
how do you bruise a bone...
huh. TIL bones can be bruised
why did he punch him in the foot?
more to that point how did he punch him in the foot?
I mean, did he crouch down, specifically to punch the foot?
also dwarf necromancer 4 is gonna need a prosthetic now
I like that the dwarfs actually are affected by killing things
 
@quartata you are compiling Pytek to like C/C++/other low level representation right?
 
and don't go "hooray, murder!"
what do you guys think about a succession game of dwarf fortress?
 
@DestructibleLemon that could be neat
 
2:28 AM
also the thing about dwarf fortress combat is that only half of it tends to be realistic
it is incredibly difficult to injure a giant sponge
because it is a sponge
but you can get absolutely destroyed by one
 
The fortress will probably get rekt while it is my turn playing.
 
user165474
Alright, so if you notice NeutrinoBot around, that's my chatbot trying to gain 20 rep to chat. Don't be worried. :P
 
@PhiNotPi losing is fun :P
 
Anonymous
@HyperNeutrino Chatbots aren't allowed in TNB except under very special circumstances (like when we had an election results bot in here for the first moderator elections)
 
Anonymous
Not sure if you meant you're bringing the bot in TNB, but I thought I'd give you a heads-up
 
2:46 AM
^ Sandbox or Beep Boop rooms are good bot rooms
 
@WheatWizard Excellent question. Unless I'm misunderstanding the requirements, I should have gotten one a long time ago.
 
That's what I'm thinking
You and Martin both, plus some others
 
According to this, I meet re requirements in 35 tags, and only 20 are required.
You should write up a bug report.
 
3:02 AM
Apparently I have 19 myself, so the bar should be pretty low
Are we sure its a bug? Do they list more specific requirements anywhere
 
Said the user with 12.5k reputation. :P
 
user165474
@Mego Oh, sorry. I was mostly showing it off because I didn't expect it to go crazy (and even if so, <Alt><Tab><Ctrl><C>, but I'll keep that in mind and keep it in sandbox. Thanks!
 
@WheatWizard Pretty sure. I got the query from an answers that was accepted by waffles.
37
A: When am I going to get the generalist badge?

kennytmAnother try: http://data.stackexchange.com/stackoverflow/q/734 declare @temp table (id int identity(1,1), TagName char(128), score int); with tags40 as ( select top 40 tagid from posttags group by tagid order by count(*) desc ), answers as ( select score, id, parentId from posts -- find r...

 
@PhiNotPi maybe you should start the fortress
 
Does each of the top 20 tags have 200 answers? that is also a requirement
 
3:07 AM
Answers or questions? Definitely not enough questions.
 
questions
Ok that seems to be the issue then
 
Only 14.
Yikes, all 40 need 200+ questions.
 
As soon as it hits that threshold so many people are going to get the badge
 
And number 40 currently has 68. My bet is this will happen sometime between 2023 and never.
 
which is number 40? we can hold a meta challenge writing contest
 
user165474
3:10 AM
If PPCG ever gets its design, that might help. Probably not really though.
 
If I ask 192 more questions that will be one down
 
The next one only has 73 though.
 
user165474
You know, only 192.
 
Clearly, we need tags like and to max out the tags per question.
 
Find smallest brain-flak program to output a string,
 
user165474
3:12 AM
We should have a tag called
 
hahah yes
 
user165474
 
user165474
hehe
 
Every question is really a "puzzle-solver"
we just need to retag
 
user165474
3:14 AM
CMC: Make a bot that will retag every question to be
 
We just need some Unicode homographs of .
 
that's almost as bad as CMC: make a bot that will get your main account banned
 
Or split it up in and . These hyphens are killing us!
 
If we apportion the homographs correctly, that would give us 150+ already.
 
And then precede to tag every question with
 
user165474
3:16 AM
Like I said, just tag them all with because all questions are questions.
 
user165474
"All questions are questions" well that wasn't obvious
 
technically they're challenges
 
Um, actually very few questions are questions.
 
user165474
True.
 
user165474
 
3:17 AM
while we're at it, we could go the Java route:
 
Like an inheritance hierarchy of tags?
And if you use tag X, you must use all the supertags of X?
 
I just realized how much dwarfs all the other tags. That is insane
 
user165474
Well, half of PPCG is CG (or 66% unique) so that makes some sense. (<-- this makes no logical sense)
 
Oh wow I'm in both the list of top CG answerers and askers
 
user165474
3:27 AM
applause go wheat wizard!
 
Who here would be interested in starting a succession game of dwarf fortress?
 
@DestructibleLemon I would but I have finals for the next week so I probably can't play any time soon
 
user165474
@WheatWizard Good luck with finals!
 
Thanks, I'm going to need all the luck I can get
 
user165474
3:32 AM
Oh? Hm.
 
Finals are going to be hard, and I have not been the most diligent student
 
user165474
Oh, I see. That sucks :///
 
@WheatWizard distracted by brain-flak? :P
 
More than I care to admit.
If I spent the average of 4 hrs a day I spent doing Brain-flak studying for Complex analysis I would have an easy week ahead of me
 
user165474
Haha I've been distracted by PPCG in general.
 
user165474
3:36 AM
If I spent the average of 6 hours on PPCG a day actually doing my homework I might not be behing then. RIP.
 
the one time ppcg has helped me with academics was on my comp sci principles exam today, so I think it's worth it
 
user165474
Oh, hm. Interesting.
 
I lost points in comp-sci because I used to golf my code. (that was before PPCG)
 
anyone else interested in the succession game of dwarf fortress?
 
user165474
rip. On the most recent programming competition I accidentally golfed my code to the first problem because it was so easy.
 
user165474
3:37 AM
I've heard bad things about my school's ICS10 course so I'm not taking it next year.
 
@WheatWizard I can confidently say that you are the most talented brain-flak writer
 
@DJMcMayhem Thanks! Riley is damn good though
 
I can confidently say that I am the most talented Turtlèd writer
 
I'm basically Wheat wizard, but on the opposite size of the spectrum >.>
 
user165474
3:40 AM
Haha I'm not decently talented at anything atm. RIP.
 
user165474
(':
 
if you're here, that says something
 
@HyperNeutrino I never said I was talented
 
user165474
Hm? First of all I did not address that and second of all you did? Or does nobody else use Turtle\d?
 
I am the most talented
technically other people have used it
but I'm the only one making complicated ones
 
user165474
3:45 AM
I see.
 
user165474
I can confidently say I'm the most talented BilliardBallMachine writer.
 
user165474
Because I'm the only one ;_;
 
@HyperNeutrino printable characters == printable ascii
 
user165474
Okay. Thanks for the clarification.
 
lol lists written literally look so stupid in my ML variant
<1,<2,<3,<4,>()|||||
 
user165474
3:52 AM
That looks kind of peculiar. Looks like it's a nested list [1, [2, [3, [4]]]].
 
it looks like a stack kinda
 
@HyperNeutrino It is in a way. It's a linked list.
 
user165474
Oh, I see. That makes sense.
 
Technically it doesn't have to have a list type; there are 5 free type parameters.
 
user165474
I can imagine though that making large lists would be painful.
 
3:53 AM
3
Q: Make me a password generator!

SIGSEGVI am making a customizable password generator. But I (for some reason) thought it'd be better to let you guys do it. Umm.. then? You only get one integer. That will include all the information about the customization. The first 4 bits (1,2,4,8) will be used for choosing which charsets will ...

 
user165474
Asking us to generate a password for you is guaranteed to be a bad idea.
 
Anonymous
4:17 AM
@HyperNeutrino We have a bot room (Beep Boop Maggot)
 
user165474
Alright, thanks.
 
4:55 AM
0
A: Sandbox for Proposed Challenges

MegoOptimize for the Test Cases test-battery optimization metagolf Given a set of test cases (pairs of input and output strings) as input, output a program in a programming language of your choice that consistently and deterministically produces the correct output for each input. Rules You may ch...

 
user165474
5:29 AM
Would I be allowed to upvote my bot's post to bump it over 20 rep so it can participate in chat?
 
Anonymous
@HyperNeutrino No
 
user165474
Okay. Thanks.
 
Anonymous
25
Q: How should a bot earn enough reputation to perform the actions necessary for that bot?

Patrick HofmanWe all know it: bots that chat. There are also bots that flag, or perform other actions. And usually we like them for doing that, like our dear Smokey. So every now and then, a new bot is created, and usually you would ask a question using that bot or suggest enough edits to get the reputation n...

 
user165474
Thanks!
 
Anonymous
Glad to help
 
5:41 AM
Hey Mego
How's 0.15?
 
Anonymous
Fun
 
Anonymous
Nukes are fun
 
Ooh
@Mego So when would you like to play again?
 
Anonymous
6:00 AM
@Sherlock9 Maybe tomorrow (my time)?
 
Is that Saturday your time or Sunday?
Because I think it's just now midnight in Texas
 
1:00 AM
 
My brain said "yeah because DST it moves to midnight!"
 
So tomorrow either means Sunday (technically correct) Or Saturday after he goes to sleep (common usage)
 
Because my brain is not completely awake yet, even though I've already been awake for three hours
 
6:02 AM
What time is it for you?
 
1 pm Saturday
I think I should get lunch
 
user165474
So you're UTC+7:00?
 
Yep
The Golf time zone
 
Anonymous
I meant sometime Saturday PM CDT
 
Fair enough, I usually wake up at 10:00, so how is 10:00 PM Saturday for you?
 
Anonymous
6:11 AM
I guess I'm in Romeo time zone
 
Anonymous
@Sherlock9 That should work
 
@Mego During DST. It's Sierra otherwise
Excellent. See you then
Anything new to learn besides nuclear power?
 
Anonymous
Nuclear power, new science packs, different ratios
 
Anonymous
Steam is much simpler now
 
Anonymous
Maybe I'll start a headless server on my Linux server and open it to PPCG users
 
6:19 AM
Most recent Friday fact says that they might rebalance stuff factorio.com/blog/post/fff-189
Science pack recipes, crafting time, that sort of thing
 
Anonymous
Yep, there already have been some rebalancing things
 
Anonymous
Better underground belts now go further (5-7-9 instead of 5-5-5)
 
So what's new about the science packs?
And I've just now realized that this conversation could probably be moved elsewhere
Discord?
 
Anonymous
Eh, I'll make a new room since I'm gonna make a PPCG server
 
Anonymous
Actually
 
6:23 AM
must resist urge to make adverb joke
 
Anonymous
@Dennis Could you unfreeze this room please?
 
user165474
Question: What sort of stuff would get someone banned from asking questions?
 
user165474
I didn't even know that was possible (besides regular suspension) until I saw this meta.SE post
 
Anonymous
@HyperNeutrino Lots of closed/deleted questions
 
Anonymous
If every question you ask has been closed/deleted, then you're probably not going to be allowed to make new questions until you clean up your old ones
 
user165474
6:27 AM
Oh, I see. Does "a lot" mean like a lot or just a significant amount?
 
Anonymous
A significant amount compared to your good questions
 
@Mego nice
 
Anonymous
The algorithm isn't disclosed on purpose
 
user165474
I see. Okay.
 
user165474
Thanks.
 
6:28 AM
@Mego Dennis may not respond until the morning because it's 2:28 am in Paraguay
 
Anonymous
@Sherlock9 He also never sleeps :P
 
Anonymous
I'll just go ahead and make a new one
 
user165474
It's 2:28 am for me as well.
 
user165474
*2:29
 
user165474
lol the clock ninja'd me
 
Anonymous
6:30 AM

 PPCG Factorio Server

Discussion about the PPCG Factorio server and Factorio in general
 
user165474
 
user165474
This has 5 downvotes and 1 view.
 
user165474
lol
 
user165474
(well it's deleted now...)
 
It's spam
I've seen thousands like it (literally)
 
user165474
6:38 AM
Yes, there's too much spam. I usually don't see much but I joined Charcoal HQ. :P What I don't get is how there are more downvotes than views.
 
Anonymous
@HyperNeutrino Red flags cast automatic downvotes
 
Anonymous
And with FIRE, you can cast a spam flag without giving it a view
 
user165474
Oh, I did not know that. That makes more sense. Thanks!
 
user165474
Wait, if I have <125 rep the red-flag won't cast a downvote right?
 
Anonymous
@HyperNeutrino It will, because it's not from your account
 
Anonymous
6:41 AM
You can red flag and downvote for -2
 
user165474
Hm? Wait, so if I red-flag it, it will downvote it from the system or something? And what's the -2?
 
Anonymous
@HyperNeutrino Yes. By -2, I mean you can effectively downvote it twice.
 
user165474
Oh, interesting. So if I have 125 rep, I can double-downvote answers. Interesting.
 
user165474
And also TIL that getting something 6-red-flagged will result in -100 reputation.
 
what do you guys think of me making a Dwarf fortress succession game room, or should I just get the dwarf fortress room unfrozen?
 
Anonymous
6:51 AM
@DestructibleLemon The second
 
also, I'm starting to feel bad about repeating myself, but is anyone else interested in the succession game?
aw
@Mego :P you made a factorio server room, hypocrite
 
Anonymous
7:06 AM
How is that hyprocrisy?
 
Anonymous
Oh wait I completely misread your message
 
Anonymous
Yeah you should probably make a new room
 
kk
I think @hyperneutrino would like it because he likes killing and destruction in games
 
user165474
I was mentioned?
 
7:28 AM
@HyperNeutrino Yes, you were. Not sure Destructible Lemon meant that you'd like Dwarf Fortress or Factorio
 
Userscript idea: Drop-down TIO iframe.
Built in button to copy permalink answer template to new answer.
 
That's already in the graduation userscript I think?
 
There's auto-tio execution for permalinks already in existing answers, and it's been broken for months.
 
Oh, it's broken since TIO Nexus or something?
 
Basically, yeah.
Ooh, it could also make clicking on tio permalinks drop in the iframe instead of taking you to the full site.
 
7:44 AM
I dunno if that's what you may want though. Maybe an arrow right of the link or something would be better?
 
Maybe. Either way, I can't JavaScript, so I can't actually make it a thing.
Maybe downgoat or ataco could do it.
 
That would take a looong time nevertheless. Neither I can JS anyways, so...
 
A basic implementation wouldn't be hard, just insert an iframe when a key combination is pressed.
 
We just need to change tryitonline.net to tio.run/nexus
 
I guess tryitonline.net isn't the site the userscript uses, but rather <language>.tryitonline.net, so I bet it's the TIO Nexus interface making it break.
Since <language>.tryitonline.net auto-redirects to tio.run/nexus/<language>.
 
Anonymous
7:53 AM
@EriktheOutgolfer The breakage is actually because the backend request format changed, and Dennis hasn't really published it because he's not done working on it yet
 
To fix auto execution? No, because Dennis said he reworked the api or something.
Ninja'd
Welp, time to learn java script.
 
Nah, not worth the effort IMO. Just think about ==/!=.
I've heard it does very strange things.
 
I think this acts more normal than the other though.
 
=== actually compares equality.
 
Anonymous
@Phoenix Well, it gets as close as possible in JS
 
Anonymous
8:05 AM
[1,2,3]===[1,2,3] is false
 
Anonymous
Because comparing references for arrays is so much more useful that it absolutely should be the default behavior
 
Yeah, it really is.
 
Anonymous
I forgot my sarcasm tags
 
Nah, you totally didn't forget them. :P
 
Anonymous
It's like if in C, a == b was &a == &b. It's completely useless in most cases.
 
8:09 AM
Isn't that only for pointers though?
 
Anonymous
What do you mean?
 
For example, int*, char*, etc. those are pointers/references.
 
Anonymous
Yes...?
 
Anonymous
What I'm saying is, JS's idea of equality is &a == &b in C, which is useless 99% of the time
 
Anonymous
If you compare two structs in C, it does elementwise comparison, not pointer address comparison. That makes sense and is good.
 
8:12 AM
Except if the stuff you compare is pointer addresses themselves.
 
Anonymous
Ok you've completely lost me
 
Anonymous
I don't know what you're saying
 
For example, char a[6] = "hello";.
a is of type char*, so it's a reference.
 
Anonymous
I didn't say anything about comparing C-strings with ==
 
Anonymous
C-strings are bad and are an unfortunate consequence of the language design
 
8:14 AM
Oh, I thought that's what you were saying.
 
Anonymous
No, I'm talking about structs
 
Oh, you mean the structs themselves?
 
Anonymous
Say you have struct A { int a; int b; } a, b; a.a = b.a = 10; a.b = b.b = 42; Then, a==b will be true. If we used JS logic, the comparison would do &a == &b, which would tell us that a and b do not share a memory location, which is not useful information.
 
Do you mean char* or std::string is bad?
 
Anonymous
@Phoenix char*, aka C-strings (or C-style strings). std::string is better in a lot of ways.
 
8:17 AM
Well, char* is faster and uses less memory, which is basically the reason people use C/++
 
Anonymous
The term "C-string" refers to the use of character arrays as strings in C. When you're working with them, programmers often substitute a curse of choice for the C part.
 
@Mego So the struct A {...} a, b; declares a and b as As?
 
@Mego char *a; a = "hello"; would segfault, right?
 
Anonymous
@KritixiLithos More or less
 
I think it would segfault, since it doesn't even know how much memory to allocate.
 
Anonymous
8:19 AM
@EriktheOutgolfer Surprisingly, no
 
Anonymous
I expected it to segfault. I'm not entirely sure why it doesn't.
 
Well, this doesn't segfault too?
 
Anonymous
Yeah, that's weird. That's a problem for a time when I've had more sleep.
 
I think the compiler automatically allocates the maximum amount of memory so that it won't segfault? I'll try STDIN.
 
Anonymous
@EriktheOutgolfer GCC is not that smart or compassionate
 
Anonymous
8:24 AM
Well, it might be that smart - it could optimize it into a single initialization
 
OK, this segfaults.
 
Anonymous
It must be optimization trickery
 
Anonymous
But running it with the -O0 flag doesn't change anything...
 
It seems that gcc sees the string with the maximum length and allocates length+1 ('\0'-terminator) bytes to it. But it can't predict STDIN, so it segfaults.
I don't think that's optimization at all.
 
@Riker haha=)
On the other hand the USA was invented by Europeans.
7
@Riker It seems there is more chocolate in these chocolate cakes than in actual chocolate.
 
8:54 AM
> actual chocolate
I dunno how much of "actual chocolate" is really actual chocolate, given that it's usually a sweet, while chocolate is actually supposed to be bitter.
 
Well then chocolate means something different to you=)
 
Apparently, 52% of milk chocolate is sugar, per Google.
 
That might be about right.
 
And 48% of dark chocolate is also sugar.
 

« first day (2289 days earlier)      last day (2557 days later) »