« first day (2310 days earlier)      last day (2536 days later) » 

12:12 AM
0
A: Sandbox for Proposed Challenges

Stephen SCreate the Vesica Piscis Eye popularity-contest fractal This is the Vesica Piscis Eye: Source More information on the construction of the vesica piscis itself (the two larger circles). The eye is formed by splitting the vesica piscis overlap in half with a straight line, then inserting a d...

 
I'm tired of the sandbox :P prepare for a post
 
user165474
...
 
user165474
as long as you don't bypass sandbox
 
user165474
actually
 
user165474
I shouldn't be talking
 
user165474
12:21 AM
I've skipped the sandbox more times than I should have.
 
What do you mean
 
user165474
As long as you don't mainpost before sandboxing
 
I put it in the sandbox
 
user165474
but that's not actually true all the time
 
user165474
ah okay
 
user165474
12:22 AM
:thumbsup:
 
user165474
subtly linking to your challenge
 
Oops I meant to link to the Sandbox challenge
 
user165474
@HyperNeutrino this isn't discord
 
user165474
12:23 AM
delete plz
 
2
Q: Plot the Gaussian Distribution in 2D

MD XF In probability theory, the normal (or Gaussian) distribution is a very common continuous probability distribution. Normal distributions are important in statistics and are often used in the natural and social sciences to represent real-valued random variables whose distributions are not known....

 
user165474
@MDXF delete plz
 
user165474
though for me it makes no difference lol
 
user165474
I almost asked "why is ... starred?" but that's the least effective message in TNB history
7
 
lol
 
12:28 AM
^ or most effective if you want stars
 
I think the top starred message is "stop abusing stars"
 
user165474
@WheatWizard true
 
user165474
@Mendeleev I believe so. Lemme find it
 
user165474
Nov 12 '15 at 22:26, by Doorknob
okay seriously stop abusing stars
 
user165474
110 stars
 
12:29 AM
Yeah, that one.
I wonder...
What's the most starred message on the SE network?
 
prolly doorknob's stop abusing stars
 
user165474
Is there an SEDE
 
not for chat
only the TNBDE exists
 
user165474
:(
 
@HyperNeutrino What do you mean?
 
user165474
12:35 AM
the sandbox post
 
user165474
it's common practice to delete sandbox posts after they're posted to main
 
user165474
anyway be right back in ~30m or less or so
 
Oh, I thought people generally left the headers for a few hours
Deleted
 
hi I would like some feedback on the Dungeon of botdom koth
 
0
Q: Nibbles Nostalgia

sergiolPeople from my generation certainly know what is the Nibbles game! If you are not here included, what I am asking is a one-line version the level 1 of https://www.youtube.com/watch?v=UmeKHtei0qo (time: 14s—54s) The challenge is to write a game that is a one line, one level Nibbles game using onl...

 
12:50 AM
I got a downvote on my grim trigger answer. seems like someone is upset that theirs is bad
Please give feedback on the dungeon of botdom challenge pls
 
link?
 
0
A: Sandbox for Proposed Challenges

Destructible LemonDungeon of Botdom Bots will play a variant of this game: https://boardgamegeek.com/boardgame/150312/welcome-dungeon (Our version will be played by one bot versus another bot, and there will only be one character, which may or may not be in the actual game, and it will be repeated a bunch.) Es...

I'm thinking maybe first to five wins wins, first to five losses loses
but then also repeat that like, say 50 times or so
(lol I slipped because the game was undeterministic so it doesn't matter)
 
Cue a new meta post
 
(elevator music plays)
 
Gah, why is the chat.SE JS minified...
 
12:58 AM
There needs to be a meta.sitename for everything, like Google and Twitter, etc.
 
user165474
no
 
user165474
not for everything
 
(e.g. meta.google.com, not meta.google.stackexchange.com)
 
user165474
meta.meta.stackexchange.com -> for things about things about stackexchange
 
if you disagree
 
12:59 AM
Meta sites are extremely useful
 
please take it to meta.chat.stackexchange.com/rooms/240/the-nineteenth-byte
 
@HyperNeutrino grep -r dir -e "string"
 
user165474
@DestructibleLemon ಠ_ಠ
 
user165474
@Downgoat thanks. i got it now though by opening all of the files :P but yay that will be helpful
 
user165474
@Downgoat also, IIRC, there's a bug with PPCG grad script that displays 1-byte winning programs as having 1 bytes at the bottom of the question
 
1:00 AM
1 bytes
 
user165474
yes
 
user165474
that's the problem
 
not a bug
it is a feature
 
user165474
>_>
 
What do I do
I don't wanna be a jerk and invalidate that guy's answer
but I don't wanna make a new challenge just 'cause of a typo
 
1:01 AM
um, please don't talk like that. its probably fine
just edit it
and give him/her notice
 
Sorry
 
any Python experts around? can you think of a way to make a program starting with an arbitrary identifier (that isn't a Python keyword or builtin), followed by an opening parenthesis, not cause an error?
 
-1
Q: Nibbles Nostalgia

sergiolPeople from my generation certainly know what is the Nibbles game! If you are not here included, what I am asking is a one-line version the level 1 of https://www.youtube.com/watch?v=UmeKHtei0qo (time: 14s—54s) The challenge is to write a game that is a one line, one level Nibbles game using onl...

 
@HyperNeutrino is this joke
 
user165474
 
1:06 AM
0
Q: Which answer should I give my bounty to?

MD XFI started a bounty on this question because I didn't think it could get beaten. The next day it was beaten by Dennis. I was sure this would win, but then it was beaten again. However, I am a bit hesitant to award the bounty on either answer. Dennis' answer relies on GCC, UTF-8 compatibility, th...

 
@ais523 why is this needed and I don't understand
 
@DestructibleLemon I'm trying to map the space of what's possible in polyglots
identifier( is a very promising start in a lot of languages, but I've hit something of a wall in Python
however, I don't know the language very well, so maybe there's some trick I'm missing
 
how arbitrary?
# is nice
 
# isn't an identifier
 
what is an identifier?
 
1:08 AM
identifiers are made out of letters/digits/underscores and start with a letter
 
again, how arbitrary?
because unlike other langs, variables don't have undefined value or undefined behaviour before assigned. they just error
 
I can't control it to something that has specific meaning to Python, and apart from that, I'd expect all of them to work equally well
(or to not work equally well)
 
except for preassigned variables like builtin functions
 
the problem is that Python appears to be evaluating the function before its arguments
(if you do it the other way round you can exit in the middle of the argument list so that the function never gets evaluated)
 
yeah, any code you could do that with would have to come before that code anyway
 
1:10 AM
hmm… is there a way to run code at parse time in Python?
 
user165474
exec
 
that's the other way round, that lets you parse at runtime
 
even then, I think Python probably stops parsing as soon as it sees an undefined variable
 
user165474
sorry i misunderstood
 
1:11 AM
IIRC wasn't it designed to be a one-pass language?
 
is there a PPCG discord?
 
user165474
Yes.
 
invite?
 
link?
 
@ais523 vanilla Python doesn't have a preprocessor but optimizer will resolve constant, deterministic branches
 
user165474
 
user165474
This link can be used for half an hour
 
Thanks
Already joined
 
user165474
no problem :)
 
There's no one else there though
 
what exactly is discord
 
1:14 AM
its like irc, just gamer oriented
or
 
Is anyone else supposed to be in that room?
 
Teamspeak + Slack
 
was I supposed to make my own server?
 
what?
 
oh nvm just figured it out
 
user165474
1:15 AM
@MDXF eh what?
 
Accidentally made my own server instead of joining that one :fliptable:
 
user165474
gj
 
ikr
 
0
Q: Eyeballing the bits

Mikhail VEyballing the binary values printed as ovals and sticks is not easy... To help with that, you must write a function that prints numbers in custom binary format. . Specification The function takes input like this: f(A, mask, zeros, ones) Parameters: A - a list (or an array) of unsigned int...

 
@HyperNeutrino 0/10 did not laugh at joke
 
user165474
1:18 AM
it's not joke
 
0
A: Sandbox for Proposed Challenges

sergiolBike saddle drawn through a fractal Based on the Mandelbrot image in every language, and on the observation the 3rd layer (0 indexed) always looks like a bike saddle, I had a little bit different challenge: Language must be capable of graphical output or drawing charts (saving files disallowed...

 
1:41 AM
everyone ditches to go to Discord
Is this too hard or too boring to get a bunch of answers?
 
well
that seems like a very specific question
 
0
A: Sandbox for Proposed Challenges

K ZhangData Categorization with a Si(g)n Background: Machine learning is a very powerful tool for categorizing data. It can help find a function that splits some already known data so that unknown values can be predicted. Typically, this function should be simple so that it does not "overfit" the data...

 
@Downgoat Throwback to my favorite picture ever posted in TNB:
Sep 2 '16 at 23:37, by Downgoat
user image
 
1:56 AM
what is the first challenge ever posted on codegolf
 
Closed
probably
 
but its not the first question asked here
 
Oh yeah 'cause used to be on-topic for SO
 
user165474
2:10 AM
we're a branch off of SO but we're obviously way better
 
we deserve our own app, except the source code for the app should be golfed
 
user165474
>_>
 
user165474
also notice how almost all js sources are golfed so you can't even read it anymore
 
rule 1: any program in a golfing lang will look golfed.
 
user165474
lol true i guess
 
2:21 AM
@KuanHulio I disagree
it's often obvious to me when a Jelly program is ungolfed
(like, not golfed at all)
actually, one general rule you can use to tell that a program in a golfing language is ungolfed
is if it tends to use the same characters over and over
 
user165474
true
 
@KuanHulio brb making
 
making what?
@Downgoat
 
PPCG App with golf source code
 
2:37 AM
@DJMcMayhem why are you not DJMcMayHam. this question has been playing on my mind for a long time
5
 
TIL VSL speak spanish:
vsl:transform> 2(test)
{
    (2).(undefinedo)
}
 
...
no, then it would be
vsl:transformo> 2(testo)
{
    (2).(undefinedo)
}
 
3:01 AM
0
A: Sandbox for Proposed Challenges

MD XFHow long is your quine snake? code-challenge kolmogorov-complexity Similar to How long is your (language) snake?, but with only one language. The challenge Write an Ouroboros loop that uses as many steps as possible in the same language. Rules None of the programs in the loop may be identic...

 
user165474
3:24 AM
@Mego I think you finally got what you wanted: quiet in TNB
 
Anonymous
@HyperNeutrino And you killed it
 
user165474
(except now I'm here, so...)
 
user165474
lol
 
ninja'd
 
user165474
quiet != silence
 
3:25 AM
Hi ASCII-only
 
@MDXF hello
 
user165474
 
user165474
weee my server
 
@HyperNeutrino Is that TNB Discord or your server
 
user165474
:37686830
 
3:26 AM
:P
 
user165474
it's mine
 
user165474
 
user165474
3 hours ago, by Hyper Neutrino
I almost asked "why is ... starred?" but that's the least effective message in TNB history
 
user165474
but that actually makes sense to be starred for once
 
@Mego you killed it more though
 
3:28 AM
lol
 
user165474
Survey: How many discord servers do you own and how many total are you on?
 
1 and 2
But I'm alone in mine :(
 
user165474
rip :(
 
Ikr
If it happens again tonight I'm gonna flip
 
you're complaining about luck right now
 
user165474
3:31 AM
well i mean i worked rly hard just to cap once and i didn't really even cap
 
:P
 
user165474
and you've been here for like 2 weeks
 
user165474
so stop complaining ;_;
 
Also how do I make this work in C? integer1%integer2 ? for-loop : somethingelse
 
Anonymous
> Man I hate getting all of this easy rep
 
3:31 AM
s/stupidity/(removed)
 
> I hate constantly getting easy rep and not quite getting all of it
 
Anonymous
@MDXF So do a for loop if int2 doesn't divide int1, and do something else if it does?
 
@Mego Yep
 
Anonymous
if(int1%int2)for(...);else ...;
 
Anonymous
That's assuming your for-loop can be a single statement
 
3:33 AM
@Mego I already have that, I'm trying to golf it
Figured it out, though - for(...; int1%int2 && conditional; ...)
 
user165474
code blocks can't go in ternaries
 
user165474
only expresssions
 
Yeah
That was the problem
 
Anonymous
@MDXF That doesn't handle the else bit
 
How so?
Oh yeah the else was a placeholder
Sorry
 
Anonymous
3:34 AM
Oh
 
Anonymous
Then yeah that's the easy way to do it
 
Anonymous
Also remove that filthy whitespace
 
@MDXF pls link?
 
user165474
> filthy
 
user165474
> whitespace
 
3:35 AM
To what?
(@ASCII-only)
 
@MDXF like can you collabedit the code or somethign
 
@ASCII-only Well if you're wondering it's this (not to self-promote)
Any suggestions for how I can golf? :P
 
@ASCII-only thanks
 
Please help me golf some code
In a challenge where I used Gzip compression, what is the best compression program to use?
I'm thinking multithreaded Zopfli
 
3:48 AM
:O
 
@MDXF 101
2
@Adám Hmm, MSKLC failed to build my custom keyboard (windows 10), do you have any idea what might be wrong?
 
4:18 AM
3
Q: How to make Vi work as Emacs in Git Bash shell?

jwwGit includes Vi in its Git Bash shell on Windows through MinGW64. I'm not a Vi user, so Git really screws things up for me when it launches Vi. It usually ends in me forcefully closing the terminal, deleting the clone, and then re-cloning (because it wastes so much time trying to fix the mess). ...

sigh
 
I'm not necessarily against trying to configure git to use a different text editor, but that's a little silly.
On the other hand, Emacs does have Evil Mode
 
user165474
v_v
 
user165474
wait what?
 
user165474
evilness?
 
user165474
^_^
 
user165474
4:20 AM
dammit caretreply
 
Emacs Evil Mode is Emacs with Vim keybindings
 
user165474
ah i see. weird
 
It's how the emacs people convince the vim people to switch.
 
user165474
oic :P
 
@ASCII-only Can you not do *s[i]+32 instead of tolower(*s[i])?
 
user165474
4:24 AM
lower to lower
 
Just use JetBrains IDEs.
 
user165474
unwanted behavior
 
Yes to ^^
I can't wait for Rider to become better so I can stop using VS
 
Anonymous
@ASCII-only 99
 
user165474
why is it two bytes each time ;_;
 
4:29 AM
@HyperNeutrino I'm a dum-dum
 
Try selecting my last message
 
user165474
-1
 
user165474
that's been done before
 
user165474

Sandbox

Where you can play with chat features (except flagging) and ch...
 
user165474
that sort of stuff isn't encouraged here
 
4:31 AM
plus it makes some peoples formatting break
 
user165474
yes, that as well
 
user165474
and it's bad if it gets starred
 
rip
sorry
 
TIL you can't star deleted messages >_>
 
user165474
...you tried
 
user165474
4:33 AM
ಠ_ಠ
 
@KritixiLithos No, any non-uppercase char will break if you used that way
 
10 mins ago, by Kritixi Lithos
@HyperNeutrino I'm a dum-dum
Wait, I just saw this trick being use in an answer to lowercase a char: |32. So you can do *s[i]|32 instead to save 6 bytes
@ASCII-only Why doesn't main(a,char**s) work?
 
@KritixiLithos because if you have char** you need int a
 
Anonymous
@KritixiLithos Because you have to declare types for none or all in the parens
 
@KritixiLithos Fails for @[\\]^_
 
4:50 AM
So in s[i]+1, you are incrementing the pointer to "move it one forward" so that it would skip the first character?
 
@KritixiLithos yes
 
Anonymous
@KritixiLithos Correct. s[i]+1 is equivalent to &s[i][1] (the original code)
 
Anonymous
The nonsense that C can do with pointer arithmetic is handy for golfing
 
and &s[i][1] means the location of s[i][1]?
 
@KritixiLithos yes
 
4:52 AM
it's weird how when you format s[i]+1 as %s it appears as a string, but when you format it as a %d it appears as a number
 
@KritixiLithos well yeah? It's a pointer (i.e. a number that is equal to the address of a string)
@Mego A char* not char** :P
 
@ASCII-only the address of the beginning of the string?
 
Anonymous
I completely misread everything
 
Anonymous
Back when I was a teenager and I spent my evenings on IRC, there was a running joke: "Don't listen to Mego after 3 am - he can't read or type at that point". It seems as I've gotten older, the time has moved back by a few hours.
 
@ASCII-only wait how? How is i treated like an array?
 
4:56 AM
@KritixiLithos i[s] is the same as *(i + s)
 
Anonymous
@KritixiLithos s[i] is the same as *(s+i), which by commutative rules means *(i+s) and thus i[s] is the same thing also
 
user165474
wait what
 
user165474
i[s]==s[i]?
 
Anonymous
Yep
 
ooh, I thought it in the case of s[i] it just took the ith element of s and treated s like a char* array
 
user165474
4:57 AM
TIL :o
 
@KritixiLithos s is an array of strings (char pointers), not a string itself
 
Anonymous
 
user165474
I agree. I C how it works (kinda)
 
1[s] ? ಠ_ಠ
 
Anonymous
 
5:01 AM
but then why doesn't 1[1][s] work?
 
Anonymous
Order of operations: *(1+1) doesn't make any sense
 
Anonymous
However 1[s][1] does
 
Anonymous
Rabbit holes I've sent TNB down today: 2
 
@Mego What was the other one
 
but if s is a char array instead, then s[1] would pick the 1st element of s instead of adding s with 1?
 
5:05 AM
@KritixiLithos *(s + 1) (accesses the element at s + 1 i.e. the second element of s)
 
Anonymous
@KritixiLithos It would do both. A char array is a char pointer.
 
Anonymous
11 hours ago, by Mego
Imagine a cartoon character digging through a closet, complete with that poor cat
 
@Mego how could you link to tvtropes
 
Anonymous
Evil penguin who just wants some quiet :P
 
Anonymous
11 hours ago, by Mego
@ConorO'Brien No, I wanted TNB to be quiet for a bit
 
5:16 AM
A char array reference is not a char pointer, but can implicitly convert to one.
 
5:37 AM
Ooh cool in Ruby you can define a use case for binary operators with no arguments.
Ruby is awesome.
 
user165474
lol i should probably go to sleep soon
 
user165474
it's almost 2
 
user165474
but golfing > sleep :P
 
(types into python repl)
@HyperNeutrino no it isn't D:<
 
user165474
...
 
5:46 AM
>>> "golfing" > "sleep"
False
 
user165474
:(
 
what should the size of the deck be for my welcome to the dungeon game? I could use 13, but if I cut down the deck size, and ask for submissions to be deterministic, I could test bots on every single deck combination
 
To all those who use Pyth: I've finished my semester, and I'll be implementing issues and new features.
 
Anonymous
@isaacg Why would you implement issues? :P
 
Because they're feature request issues :)
 
5:48 AM
would people be interested in discussing in a new room for my dungeon koth?
 
1
Q: Tic Tac Toe: print all possible positions without duplicates

ThomasRWrite a program that outputs all possible Tic Tac Toe positions including the corresponding game outcome. Avoid duplicate output of equal positions. The program takes no input. Rules: A position output must consist of 9 characters, using X and O for the taken squares, and an arbitrary non-whi...

 
user165474
 
user165474
sorry about the bad screenshot this is from chromebook
 
user165474
but check the console
 
fairly sure that is bad photoshop
 
5:54 AM
@HyperNeutrino In your implode submission, you can remove the semi-colon on the first line, but it also doesn't work exactly as stated by the challenge
 
@HyperNeutrino THAT ISN'T EVEN THE RIGHT FONT
 
In the TIO snippet, the bottom right character must be a plus
 
Anonymous
@DestructibleLemon Let's not yell
 
Anonymous
1 message moved to trash
 

« first day (2310 days earlier)      last day (2536 days later) »