« first day (3777 days earlier)      last day (1075 days later) » 

12:01 AM
@cairdcoinheringaahing yeah uh. moderating SO sounds very not fun. apparently they have like 1k+ flags or smth. lol.
 
Would someone mind testing something for me?
I'd do it myself, but it involves answering on of my questions (or me answering one of yours) to avoid disruption/clutter
 
@cairdcoinheringaahing Why not just edit Latex into a pre-existing answer? Can it not be reproduced that way?
 
No, it's not that bug
 
Oh ok
 
Basically I need someone to choose any of my questions, copy an existing answer and post a new answer that's an exact copy of it (testing this bug). Once tested, you can and should delete the answer
 
12:13 AM
I can try it
 
I just tried it, and nothing happened (maybe I didn't do it right?)
 
sure, you go ahead and do it (so we don't both try :p)
 
Ok, @user thanks. Looks like you can delete it
 
does it work on your own answer? or does it have to be someone else's
 
It didn't seem to work on my own answer, anyone want to try someone else's answer?
 
12:15 AM
I'm putting that one down as . Programmer5000 couldn't repro it on the meta discussion either
You're welcome to test a bit more on that question (keep it sensible), but it looks non-repro-able
 
I tried someone else's answer, and I got a warning that looks like "This post appears to be a duplicate of <post link>"
and the answer didn't get posted at all
 
Looks like they fixed it silently?
It didn't give me any warning whatsoever, which it should have, although I did get a CAPTCHA to solve
 
In which case, then. Cool
 
this looks like it doesn't need to be addressed
 
That seems like a post where the answer should be "yeah, sorry. We can't do anything about that" (aka xnor's comment)
 
12:18 AM
should that be reproduced then? it doesn't seem to be a dev issue so idk if that makes sense
or should i just untag FR from it and make it a discussion
 
It's definitely an FR, as it asks to improve the tour page/similar
I think maybe , but honestly, the best fit might be to leave it untagged for now
 
Maybe close as a dupe of this?
 
oh yeah, probably. does your query exclude closed questions?
 
Holy crap, you got hella outgolfed @hyper-neutrino
@hyper-neutrino No
 
12:20 AM
o.O
ah right
prime factorizing the prime factor wouldn't do anything. of course...
 
CMM: Informal VTC this as a dupe of this (informal to avoid any lone hammers)?
@DigitalTrauma TBH I'd rather close that as a duplicate of this. This is better specified, includes example inputs/outputs, doesn't have a bonus and that requires a restrictive output format — caird coinheringaahing 59 secs ago
I.e. if there's enough agreement, I'm happy to hammer, but not unilaterally
 
My stance is usually that various restrictions and bonuses make a different challenge, but I'd give 0.5 VTC in this case for quality reasons
 
0
Q: Concatenated halting problem: no + no + ... = yes

BubblerChallenge Write \$2 \le n \le 10\$ distinct, valid non-halting full programs in your language of choice. If all of them are concatenated in order, the resulting full program should be a valid halting program, but if any of them are left out, the result should still be a valid non-halting program....

 
12:33 AM
that makes sense (also added the reputation right before your edit too :p), thanks
 
> How did SO become filled with arrogant, sadistic, self-rightious moderators? [closed]
In case it gets deleted :P
 
@cairdcoinheringaahing :( it got deleted
 
As far as I can tell, the challenge is unsolvable in BF (unless you can find an interpreter that accepts unbalanced brackets or something)
 
i am very bad at reading :p
yeah i can't see how this could be solveable in BF; if the first program does not halt, nothing you append will actually matter
i read it as the other way around because from the title i thought no + no = yes meant no infinite => yes infinite
 
12:39 AM
I meant no halting => yes halting :)
because it's about halting problem
 
that makes a lot more sense given you mention halt 10 times in the question title + body :D
alright i've made enough edits, i should hold off on retagging more meta posts for now
 
@hyper-neutrino Maybe slow down on the tag edits, meta's been a bit flooded :p
 
ninja'd
 
:P but yeah i probably should've stopped one or two ago
someone go answer in red and bump the lotm :p
keeping track of these in my chat room is very convenient because i can go back and update my messages as i wish
 
12:43 AM
I'm working on a gist with all of them categorised, and your edits keep messing with that list :P
 
oops :p
how should this be resolved? it looks like it could be retagged to discussion but idk if it's asking for users to link those pages to new users, or for the site itself to have those links more. the former would be a discussion, the latter is something we can't fix because we can't really edit the help center
 
That's literally what an FAQ is, we add in the relevant links to the FAQ, and close that as a dupe of it
 
I guess it's resolved with our new Welcome post collection
and its visibility on main
 
true. i guess it could be completed in that case?
 
Agreed
Meanwhile, I always thought writing the whole frontend (including the body HTML and view update logic) in non-HTML+JS is cursed, but now I'm trying to do the exact thing in Rust
 
1:24 AM
@OldSandboxPosts Maybe cut down those tags in the title?
 
As in, your sandbox proposals, or the bot when posting messages?
 
I mean the bot
 
I had a few people suggesting including title tags, so I'm not sure what a good compromise would be
 
Idk then
Maybe the problem is just that the two posts have multiple lengthy tags
 
@cairdcoinheringaahing post two messages, one with tags, one without
 
1:42 AM
maybe win con tags could be trimmed out? idk if that'd be good
or we can form a bijection between tags and some sequence of unicode characters
string compress the tags
 
at this point it's easier to just click the link. The tags aren't more important to see than the question body. So I don't think the tags should be shown, if it's not too inconvenient to remove them.
 
2:04 AM
Tags are easy to remove (the bot didn't originally show them), they're included because a bunch of users asked for them to be included. I can edit OSP and get Redwolf to update the actual bot tomorrow (later today technically but)
 
2:19 AM
What is CMM and CMQ?
 
@StackOverflow Chat Mini Meta (for when a meta question isn't really significant or complex enough to be a full meta question) and Chat Mini Question (which is just any question that doesn't really fit into the other categories)
 
Cool.
 
And CMZs, which I made up and we still haven't figured out the meaning of.
 
if y'all ever feel like you're bad at coding, check out the company that used users' customer ID as an auth token, which is bad enough on its own, but then also used incremental IDs (tom scott video)
 
Wow
I may have made an app thing that showed login errors via '?err=(message)', and didn't sanitise HTML chars...
 
2:35 AM
Has there been a question asking for code golfing tips in C (clang)?
 
@Ausername Thankfully I noticed before anyone else.
 
152
Q: Tips for golfing in C

CaseyWhat general tips do you have for golfing in C? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C (e.g. "remove comments" is not an answer). Please post one tip per answer. Also, please include if your tip applies to C89 and/or C99...

@Ausername i once implemented "update profile" by copying over all fields from the JSON body into the user object if they existed
including the admin field
fortunately we noticed before anyone else but it was funny
 
Oh wow
 
3:16 AM
I swear, every video I watch has MrBeast advertising something called Honey.
 
You'ven't watched any new videos have you.
Beast doesn't plug honey anymore
 
I'm still getting the ads.
Not in the video, just the ads.
 
TIL hyper is an absolute savage
 
I mean, I generally disapprove of bringing my off-site activity into here, but I'll let it slide.
 
If it wasn't esoserver I wouldn't have posted it here
 
3:21 AM
fair enough
granted, it's not exactly hard to connect my presence on discord to my presence elsewhere, lol.
 
Lol
 
I wonder why.... ⌏P
 
Gottem indeed.
 
3:56 AM
I just realized I always removed the blanks, when I'm still blank. Yes. Me.
 
4:45 AM
@StackOverflow what do you mean by this
 
5:03 AM
What server is this
 
@EnderShadow8 esoserver: discord.gg/bUJsVqRen4
 
Quick warning: NP/SP will probably drop out of the users list at some point tonight. They should still be in the room, though they will not respond to STATUS pings.
I will fix it tomorrow if possible, but I need to do some logging to identify what the heartbeats look like
 
Will they still respond to new posts and send them here?
 
Yes
Gray foxes look like a weird mix between cats and wolves
I want a pet gray fox now
Unfortunately it's "illegal" and "probably a really bad idea"
 
when has that ever stopped the hivemind from doing anything?
 
5:15 AM
If anyone can track down a gray fox pup and give it to me, I'll reward you with lots of cookies and insurance
Also shouldn't the EU cookie law be called the EU biscuit law? Or is that just Britain?
 
they said it couldn't be done
but they did it
 
Does anyone here live somewhere in Europe that isn't Britain or Switzerland? If so, what do you call cookies?
The tasty kind
As soon as I turn 18 and go to college, I'm going to buy dozens and dozens of cookies
I have no idea how people who have jobs resist the temptation to spend their entire paycheck on cookies every month
 
you good buddy?
seems you're losing control of yourself in favour of cookies
 
Cookies are good okay
So is insurance
 
gone mad from tasting your own product eh?
I hereby move to inherit control of the hivemind while redwolf is temporarily unable to retain leadership
 
5:23 AM
Hm. I think Redwolf's input weights are adjusted improperly. Let me recalibrate him.
 
Rebooting...
Press F10 for boot options
 
jokes on you
now that you're out of the way
I control the hivemind
 
@hyper-neutrino The common way of golfing is removing whitespaces. I won't talk about how I'm empty.
 
hivemind.get_user(347075).heuristic.weights.inputs.apply_modification("cookies", x => Math.min(x / 10, 0.01))
 
@hyper-neutrino stop trying to ruin this for me
 
5:26 AM
that should be alright for now
@StackOverflow Oh, first part makes sense. I... suppose I won't ask then, lol. (You alright though? Usually when people refer to themselves as empty they mean emotionally. Understandable if you don't want to share publicly or it's a joke that's gone over my head, feel free to just ignore)
@lyxal this will be the end of wakanda the hivemind
 
Wait, I just realized I never told y'all my idea. Cookies as currency.
I had this idea months ago.
 
CookieCoin
 
Cookies' value would be determined by how good they taste. Bankeries (bank + bakery) would issue cookies, and ones by better cookie cooks would could be trusted more to taste good without having to be consumed.
This would also mean that the value of a cookie would decrease over time, as it goes stale, promoting the economy as spending would increase
 
this already makes more sense than half of the government budget plans i've seen /hj
 
It means that people who can bake good cookies can make a profit by buying ingredients for cookies at a lower price than the resulting cookies. This is a skill well worth rewarding.
 
5:31 AM
@RedwolfPrograms Bankeries seem like a cool thing, tbh.
 
Plus if you're ever hungry, you can just be like "I'd like a loan of one really good white chocolate macadamia cookie", then when you get around to it you can bake a few lower quality cookies to pay them back with
 
I have 9 inbox messages and I'm curious what they are, since I manage 3 sites now (or 4 if chat counts), but I don't want to open it.
 
It also adds a bit of strategy; some cookies are a bit more niche than others. For example, somebody might strongly dislike oatmeal raisin cookies, and trade them for chocolate chip at a really good rate. But if you find someone who likes oatmeal raisin, you can earn more than you initially put in.
 
0
Q: Conic Sections (simplified)

ophactGiven the equation of a non-parabolic conic section, output its characteristics. Spec This assumes prior knowledge of hyperbolas and ellipses, as well as their characteristics. (This includes circles; they are a special case of the ellipse with eccentricity of zero.) Input A non-parabolic (to si...

 
If you want to store money for a long time, you can invest heavily in one type you think will increase in popularity, or just go with a mix of types (or chocolate chip, which will likely be pretty steady).
Sort of like investing in specific companies vs. an index fund.
But it tastes a lot better.
 
5:35 AM
I strongly suspect we're being played here with an attempt to get this all moved to the nineteenth bakery, which would be the epitome of all RO jokes.
4
 
Anyway I'll see y'all tomorrow o/
 
hello everyone
@RedwolfPrograms bye
 
0
Q: Tips for golfing in Red

WasifAs June 2021 Language of the Month is Red, what are the general tips for golfing in Red language? Please one tip per answer!

 
*sigh* do I really have to explain this again?
 
5:45 AM
You said 'have a +1' but...
 
I don't own any of my upvotes or downvotes from before sometime in mid 2017, and any votes from before that have rather undefined existence
 
@Ausername well thanks for sharing the challenge
It sounds like a tasty job for VBScript/VBA
 
@hyper-neutrino Oh is this the account merging
 
@Wasif Once you release 2D deadfish properly, we can have a tips question for that./
 
5:47 AM
I don't know where the cutoff is because not all of my votes were removed, but some were, and the ones that weren't don't belong to me anyway. I can't remember if I really upvoted that post becaues I don't even remember commenting on it or seeing it; it was over four years ago and my memory isn't that good lol
 
@Ausername its actually implemented
the python interpreter
you run the code locally
 
Have you put it on esolangs?
 
not yet
I am lazy
in such tasks
 
@Wasif I can fix up the web one
 
@Ausername please fix it
I hope it won't be hard
 
5:48 AM
37
Q: Italicize ASCII art

DoorknobGiven an input of an ASCII art picture, output the ASCII art italicized. To italicize the ASCII art: Insert zero spaces before the last line, one space before the second-last line, two spaces before the third-last line, etc. Remove any extra leading whitespace that may have been created. That ...

 
Repo link pls?
 
@NewlyFeaturedPosts holy heck me and raze discussed bountying this half an hour ago.
waay too slow
 
@NewlyFeaturedPosts only one?
and the later one too?
???
 
that's how NFP works
 
5:49 AM
its data structure is a stack :p
 
well why there is a +600 in the icon of NFP bot?
 
@Wasif because it's not possible so presumably that's the joke
 
33 secs ago, by lyxal
that's how NFP works
 
RREEEDWOOOOOLLLLFFF!1!!!!1!!1!11!11!!
 
6:00 AM
NFP.
 
NFP is a feed
 
@hyper-neutrino I think @AUsername wanted to say Redwolf mod abuse
but to what?
 
no, spamming redwolf11! is usually when his bots are not working properly
 
@Wasif No
 
then wat
 
6:01 AM
0
Q: When will DST start / end

tshDaylight saving time (DST), is the practice of advancing clocks (typically by one hour) during warmer months so that darkness falls at a later clock time. The typical implementation of DST is to set clocks forward by one hour in the spring ("spring forward") and set clocks back by one hour in aut...

 
^^^
 
I see
 
GWIFTING
Nvm too confusing
 
oh wow, i am looking at that challenge which i posted over four years ago, and i commented good job under pretty much every sub, lol. that is like textbook defn of too chatty
 
6:41 AM
@Wasif Another pull request, sorry about all the branch juggling
 
@lyxal I also always read it as Air Traffic Ontrol
 
What?
No.
I meant ATO = Australian Tax Office
 
0
Q: How to delete user input number from array?

Rohan ItaliyaIf array is [2, 3,4,5,3,6,3] and i want to delete number 3 so that output will be [2, 4,5,6]

 
6:56 AM
this bot is too OP. 27 seconds from post to close + explanatory comment
 
@NewPosts Vyxal, 1 byte
 
All sTart rickrOll
 
7:17 AM
@Bubbler I suppose so
 
7:58 AM
Starts rickrolling in sign language
 
8:36 AM
@lyxal Whatever you did to break palindroming lists, please fix it.
 
0
Q: Quine in Pxem: quine in language whose program is represented as a pair of strings

tail spark rabbit ear My quine in Pxem A Pxem program is represented as a pair of a filename and content of file. My submissions print their own filenames. Arguing whether a program that outputs filename instead of content is a quine or not, on comment section. So far I have submitted three versions of quines; one re...

 
What I mean is, until recently, ⟨1|2|3⟩m used to return [1,2,3,3,2,1] but now returns [4,4,4].
 
i assume it used some addition function which used to concatenate lists but now vectorizes instead
 
8:55 AM
@UnrelatedString Yeah probably, but it's annoying and I think it breaks some of my older programs.
 
yeah it does not only break backwards compatibility but also do so somewhat uselessly
 
Guys, please read the challenge more carefully. I've got three invalid answers due to messing up "no" and "yes", and two others violating "distinct" already
 
maybe someone should post an inverted challenge - I had a lot of fun writing my answer...
 
Well, inverted one would be way too trivial (accumulate a value and test it with a while loop at the end)
 
but it could still be interesting
 
9:12 AM
@Bubbler That's quite similar to a lot of the programs.
The bash one sets a loop off at the end if the accumulator's too small.
 
The "distinct" requirement seems a bit pointless. You can always just append a varied comment to the program, or change some variable names or something
 
I made this answer in C (clang) for codegolf.stackexchange.com/questions/85/… and I was looking around if there's already a duplicate of it. This one seems similar to what I have. Are they duplicates?
 
@Ausername I've barely made changes to vyxal lately. The people who've made changes lately are user and you
The few things I touched weren't anything to do with m
 
Hmm...
 
9:28 AM
@hyper-neutrino Please answer when you come here.
 
@lyxal Ok the problem appears to be that add was somehow used instead of join, causing the problem. Ok to fix?
Ok sending a PR.
@lyxal Done.
 
@StackOverflow it has to start with 1 1 2 3... so I don't think your answer is valid
 
Let me try to modify.
@rak1507 Valid enough?
 
no, it has to start 1 1
 
yea that seems fine
 
10:01 AM
Okay, new answer coming.
Thanks for the help.
 
10:20 AM
in bash is there a more compact way of writing for i in 10 15 20 25 30 35 40 45 ?
 
Not sure about bash, but in zsh: for i ({10..45..5})
 
@Anush seq 10 5 45 I think?
 
@Bubbler but that doesn't loop the code, only prints
 
@Bubbler I just discovered {10..45..5}
for i in {10..45..5}
which is completely new to me
 
You could do for i in `seq 10 5 45`
 
10:23 AM
I think {10..45..5} is shorter
 
@lyxal I've given up trying to figure out why this happens.
 
this is a very rare that I find something more compact than anyone here
 
I don't understand why it's parsed, as it should be skipped over.
 
10:45 AM
@Bubbler My issue was I read the challenge thought "I could do this in Haskell" and then read the first answer and thought "oh I had it wrong that's hard in Haskell but I could probably do it in Brain-Flak" and of course that answer was one of the invalid ones so I copied theit misconception.
 
"oh I had it wrong that's hard in Haskell but I could probably do it in Brain-Flak"
Um...
 
Yeah should have had some second thoughts after that.
 
11:04 AM
0
Q: How to display missing objects, extra objects and similar objects between two images?

byulI have ground truth images and predicted images which are grayscale images and I want to display the correct cells (similar cells between the ground truth and the predicted image) in green, the extra cells in blue and the missing cells in red like this , I searched all over the internet and coul...

 
When VSCode gives up
Yes this is Python
 
11:46 AM
@Ausername hey I recognise that!
very cool
wait why are you commenting out the [0] part?
that's neccesary
 
 
1 hour later…
12:59 PM
@NewPosts CMC: This. Given a list and an index, return the list with the element at that index removed
You must return the list, not the element
 
@cairdcoinheringaahing Python: lambda l,a:[l.pop(a),l][1]
 
l[:a]+l[a+1:] ?
 
@cairdcoinheringaahing Scala: _.patch(_,Nil,1). idk why it's so convoluted in Scala
 
@cairdcoinheringaahing Zsh: eval `cat`=;<<<$@
 
1:16 PM
lambda l,a:[l.pop(a)]and l works for the same length
@StackOverflow We don't have a policy saying duplicate answers aren't allowed. If you post the same / basically the same answer as someone else, especially if it's been a while, you probably won't get many votes though.
And typically if two people post the same answer at around the same time (usually near the start of the challenge) usually whoever got beaten to it will just delete.
 
@hyper-neutrino Is that so? Still, I'll keep it to my thoughts that I wouldn't post dupe answers.
 
Yeah, I'd still advise against it. It's just that we don't have a rule saying it's explicitly forbidden.
@cairdcoinheringaahing 4 bytes in Jelly. Is there a way to do this for shorter? (if you've solved it)
 
oh okay. gonna try to get that independently first then
@cairdcoinheringaahing having trouble figuring this out; are you taking list,num or num,list?
 
0
A: Sandbox for Proposed Challenges

Code Golf Stack ExchangeThe big outputted letters jump over the size machine I was thibking of making a challenge where if I output the quick brown fox jumps over the lazy dog., it will output: T h eee i k b ff j ssss ...

 
That's quick.
 
there's Redwolf's bots for ya
they're quick
 
1:43 PM
They're Redwolf's?
 
yep
 
Nice. They're pretty good, if I were to compare myself.
 
@SandboxPosts @StackOverflow is this a kolmogorov complexity? that is, are we supposed to take input, or just output that exact text?
 
@hyper-neutrino Output it, no longer taking input. That was the old challenge.
 
I think it's supposed to be kolmogorov-complexity, but that isn't massively clear because of the wording. I'd suggest scrapping the backstory and just saying "output this exact text".
 
1:45 PM
Okay.
 
and I'd recommend to also add the standard rule: trailing whitespace is allowed
 
0
A: Sandbox for Proposed Challenges

polfosol ఠ_ఠNot sure about the title (suggestions are appreciated) Consider a n x n multiplication table and replace each item with its remainder of division by n. For example, here is a 6x6 table and its "modulo 6" structure: 1 2 3 4 5 6 1 2 3 4 5 0 2 4 6 8 10 12 2 4 0 2 4 0 3 6 ...

 
@cairdcoinheringaahing NGL I;m surprised this isn't a builtin in Jelly: remove the elements of x at the indices in y
 
@pxeger What's kolmogorov complexity? Sounds Russian.
 
@cairdcoinheringaahing The inverse exists, doesn't it?
 
1:50 PM
@StackOverflow - read the tag wiki
 
@StackOverflow It is named after Andrey Kolmogorov, who is indeed a Russian mathematician
 
@pxeger What's the inverse?
 
@cairdcoinheringaahing take the elements of X at the indeces specified in Y
Is that a built-in, or am I going mad?
 
@pxeger No, that doesn't exit
 
well
I guess I'm going mad
 
1:51 PM
there's elements of Y and indices in X, but that's only because it vectorizes on the left
 
I understand now what it means.
 
@pxeger Oh, by "take" do you mean, given a list of indices X and a list of values Y, return the values in Y at the indices X?
Cause that's
 
yes
 
i feel like there is some super obvious atom i am missing
 
@hyper-neutrino Mine is 2 atoms
 
1:54 PM
Atom?
 
oh wait of course. the classic for removing - split then rejoin >_>
i even used that recently, can't believe i missed it lol
\o/ pretty much identical sol (though i used instead of F which I'd argue is more correct)
 
@StackOverflow Jelly breaks its builtins into "atoms", "quicks" and "syntax"
 
See you tomorrow, eh?
Well, I don't have much time.
@cairdcoinheringaahing Oh, okay.
Jelly looks really weird.
 
it's wobbly
 
@StackOverflow Essentially, atoms are builtins that take 0,1 or 2 values and output a value. Quicks operate on those atoms to modify their behaviour in some way (for example, @ reverses the order of the arguments, or tells Jelly to run the atom again)
 
@Wezl It feels like a dupe, imma just run it through my dupe checker to see if I can find anything
 

« first day (3777 days earlier)      last day (1075 days later) »