« first day (3806 days earlier)      last day (1052 days later) » 

9:04 PM
Do we approve or reject edits that attempt to clarify closed questions?
 
I'd say it depends on how likely it is that the edit is what the OP intended
If it's just clarifying what can be reasonably inferred from the challenge body and comments, it's good imo
If it adds information never clarified and not necessarily intended, I'd probably reject
 
I would reject this edit
typically I reject them because if it's unclear, the editor may not understand the author's intended meaning, and their fix could very likely go against the author's intent - clarifications should be requested and suggested in the comments
 
It was borderline, but I figured that it didn't present additional information not said/implied by OP and approved it
 
does anyone remember if there was some script so that I can click a button to see the bytecount of each language and its rank in a code-golf challenge?
 
There's the gradscript which adds leaderboards to challenges
 
9:08 PM
The gradscript has that, I was working on a standalone leaderboard but forgot about it
 
for example, does 67 fit within n=2? it's unambiguous what that would display as, but the no-overlapping rule makes it seem like it might not be allowed, but 1 was never mentioned to be a special case by the author even though the example case implies that. so i'll leave it on hold
 
could anyone provide me with a link to the script?
 
thanks!
 
or, even though nobody's interested, the ungraduation script:
May 4 at 3:20, by hyper-neutrino
@Razetime https://gist.github.com/hyper-neutrino/c591af36fdcfa70ce25987f5332728d2 ungraduation
 
9:10 PM
Does that add a leaderboard?
 
no it makes the site look like it's in beta and renames it PPCG
 
0
Q: Generate the shortest regex to match these but not those

user197974Challenge Given two lists of strings where each string is of length 50 and each list is also of length 50 generate the shortest regex you can that fully matches all the strings in the first list and does not match any of the strings in the second list. Scoring Your score will be the average lengt...

 
Okay
This is fricking weird
I golfed down my MCVE
var interpreter = () => {
    var relay = { on: 0, will_on: 0 };

    return () => {
        var toggle = () => {
            relay.will_on = true;

            console.log(+relay.on);
        };

        // console.log();

        relay.on = relay.will_on;
        relay.will_on = 0;

        toggle();
    };
};

var run = interpreter();
Uncommenting that console.log(); changes the outcome of the program in Chrome 91 for me.
I'm now almost entirely sure this is out of order execution
Weirdly, you have to run run() like 20 times before the output randomly changes to 0 instead of 1
 
while it is commented, the first output is 0, and all subsequent outputs are 1
same with it uncommented. cannot reproduce on firefox
 
How many times did you run it?
Just counted, it starts acting weird on the tenth run for me
I think it's a chrome bug
 
9:25 PM
0
Q: Help Alice fix her text!

Leaky NunWhen Alice was touch typing on her QWERTY keyboard (Figure 1), she accidentally shifted both of her hands rightwards by one key, so q became w, w became e, etc. (p became [). Spaces were not affected because the space bar was quite big. Your task is to help her fix her message using the shortest ...

 
oh wait, wasn't there a 10-minute delay?
 
Nope, we replaced the feeds with a bot
 
nice
 
Also, welcome back @LeakyNun! :P
 
@NewPosts aw, jelly's keyboard digraph doesn't include the non-letters
 
9:26 PM
@cairdcoinheringaahing yjsmld
 
dammit, you beat me (and by 2 bytes)
spent too long forgetting how y is meant to be used
y doesn't appear to run in parallel - 1,2,2,3y1,2,3,4,5 will give 3,3,3,4,5 whereas 2,3,1,2y1,2,3,4,5 will give 2,3,3,4,5 and i got tripped up by near-correct behavior on the test case I was using since I had a list of pairs, lol
 
Revised SO question:
0
Q: Behavior changing when blank console.log() call inserted

Redwolf ProgramsCode var repro_bug = () => { var state = { x: 1, y: 1 }; return () => { var toggle = () => { state.y = 1; console.log(state.x); }; // console.log(); state.x = state.y; state.y = 0; toggle(); }...

 
9:44 PM
can't seem to reproduce on 91.0.4472.124
 
Huh. That makes it even weirder.
 
Can't repro on 91.0.4472.101
 
reproduced on 91.0.4472.114
 
Huh
So I guess it's .114 specific?
 
interesting
 
9:47 PM
reproduced on 91.0.4472.124
@hyper-neutrino did you copy the code to the console?
 
windows 10
 
Oh, does it not work if done in the Stack Snippet?
 
no, it doesn't work on the Stack Snippet
 
9:48 PM
@LeakyNun yes
 
I'm not sure why someone made it a stack snippet
 
the snippet was added after i copied it
 
Okay why did they modify my indentation too
 
People make some senseless edits sometimes. That part would have been rejected if it was suggested and they didn't also use a stack snippet
 
9:50 PM
are you intending to assign run twice?
 
More side effects of that stupid edit
 
You could roll it back, then do revision 3 manually
 
It should be fixed now
 
still cannot seem to reproduce - I am copying the code into a console and then running for (var x of Array(100)) run();
am I missing steps?
 
You have to do the last run() manually
It doesn't work when you run them without a break for chrome to frick with stuff
 
9:53 PM
weird - still cannot reproduce
I am using the same Chrome version as leaky (124) and also on Win 10
 
Does what you're doing look like the screenshots?
Uh oh, the person who made the original edit I didn't like just made another one to fix a small thing and they have 600k rep and probably saw my edit messages lol
 
i can compare my solutions to theirs after solving a set of problems
 
Try with 10 instead, maybe it's periodic or something?
 
repeated the exact same procedure with 10; no 0s
 
9:59 PM
Huh
 
> Grumble
 
I do get 1 sometimes, when I use 100,
This is not only weird but nondeterministic...
 
It's not undefined behavior, is it?
 
Not at all
It's an extremely straightforward program, the sort you'd probably use to teach someone the basics of programming
 
¯\_(ツ)_/¯ Well Chrome users deserve all the bugs they get anyway for using an evil product by an evil company /s
 
10:02 PM
Which Noobs uses Chrome in this day and era anways?
 
the output should be 1 always right?
 
@N3buchadnezzar Something like 60% of the desktop market share :p
@hyper-neutrino Yes
 
@RedwolfPrograms Netscape is where the cool kids are at
 
I wonder if window.navigator comes from Netscape Navigator
 
If you don't download Napster on Netscape when you first set up your Apple II computer fresh from Radio Shack, you're doing it wrong
you are accessing the property of an object. — pilchard 15 mins ago
There you go, the guy solved it
 
10:04 PM
When was the last time someone experienced a computer virus?
 
November 2019 Oh, computer?
 
probably a few seconds ago
 
I used a school computer for a state test, so about two months ago
 
the dupe close vote has been retracted lol
 
I tried acquiring some Avril songs on limewire, and not only got a virus but also rick rolled.
 
10:07 PM
sounds like something lyxal's evil doppleganger would do (or maybe lyxal is the evil one)
 
You at least got a song :p
Just not the one you necessarily intended
 
The only truly authentic way to listen to music is to become roommates with the singer and wait for them to start singing in the shower :P
As an aside, I wonder if musicians sing their own songs just for fun or if they have an earworm
 
Probably both
 
I should pay more attention to which room I'm in
 
Y'all have no idea how long it took to golf that MCVE lol
 
10:11 PM
@cairdcoinheringaahing Now move this message too, and the one that says this one was moved, and so on until TNB freezes over :P
 
you can use this to generate infinite messages :o broken exploit, abuse before patched
oh wait you could just type
 
@hyper-neutrino Yes, that's how code is usually written.
 
@user no usually code is written with Ctrl-C and Ctrl-V
 
Oh my bad
 
"Okay google, write some code"
 
10:17 PM
That future may be closer than we think, thanks to GitHub's pig
 
posted on July 01, 2021 by user

Idea shamelessly stolen from caird and

 
Took you only half an hour >(
 
@user pig?
 
10:34 PM
@RedwolfPrograms I can't reproduce it
pretty weird tho
@GamrCorps wow last talked 1269 days ago
 
@N3buchadnezzar idk what it is but it looks like a pig
 
that's quite a while
 
Oh yeah? Well, my great-great-great-great-grandpappy last talked a century ago
 
10:50 PM
lol
 
@CodidactPosts Damn, 7 bytes in Jelly :D
 
This stupid chrome bug is interfering with my newest language's interpreter. Finally a bug that's not my fault, but for some reason it's more annoying :p
It was also unbelievably painful to discover...you can't log states between operations like you normally would, because that makes it inexplicably work again
 
Clearly this is proof you should use a real debugger instead of using console.log :P
 
@RedwolfPrograms or maybe if you shared what progress you have, we'd be able to point things out :p
 
11:02 PM
Imagine using Chrome
 
Isn't Vivaldi Chromium based?
 
Made by going to switch to DDG web browser when they release it gang
@RedwolfPrograms but it isn't chrome
 
Well you've probably got the bug too then, so jokes on you :p
 
11:17 PM
Wanna know what my favourite elements are? Americium, Oganesson, Uranium and Sulfur
 
The gradscript gives it away tho
 
11:40 PM
@hyper-neutrino Huh, OP just approved the edit
 

« first day (3806 days earlier)      last day (1052 days later) »