« first day (3878 days earlier)      last day (950 days later) » 
00:00 - 19:0019:00 - 00:00

12:00 AM
Is outputting a string as a list of characters allowable for code golf if there isn't an explicit restriction?
 
It's allowed in the default I/O
 
@BrowncatPrograms then I have a little secret for you
The s flag here is purely for convenience
 
Hmm, true
 
It's still valid without it
So next time you go to bag flags, make sure you actually know why they are there
 
If it's for convenience it shouldn't be in the header of the answer
It should be in the TIO link
 
12:02 AM
It would be 2 if the K flag worked.
 
So even if it would work without the flag, it's still using a flag
Anyway, gtg for now
 
@BrowncatPrograms done.
 
And I don't really feel like arguing about flags more :p
 
@emanresuA regarding this comment on your answer, that was actual genuine surprise
I genuinely said to myself "w... How?!"
 
Is it just me or is this the most pins we've ever had?
 
12:09 AM
I feel like too many things have been pinned recently...
 
i think we had 4 not long ago
 
stop pinning everything!
 
can unpin #3 and #4
#2 should get some more feedback
 
#4 could stay up, I think
 
even #1, like why does that need to be pinned idk
 
12:10 AM
could keep 4 but i don't want to annoy the staff too much :p
 
2 and 4 look like good candidates for staying
 
@cairdcoinheringaahing I think we should definitely have it here: Smokey doesn't take up too much space, and messages could be moved if they become a nuisance
@rak1507 Yeah, it's been 2 days, so I think most TNB regulars will have seen it
 
Did we find out if smokey commands could be turned off?
 
they cannot
but supposedly it would not be too hard to implement that so i could open an issue on gh
the thing is in theory a !!/coffee or two every now and then shouldn't be too harmful and we could just go with "use your common sense and don't spam or you might get kicked/banned" but... despite how many bots TNB has now none of them have commands (except the RO/mod-exclusive status commands on NMP/NSP) so it'd be a totally new thing
 
Well from experience, stupid commands don't actually get used that much except from when they are new
After people have their fun with it, they just don't use them
So maybe have a temporary smokey playtest room
Let people experiment with smokey in a sandboxed environment
Get the urge to spam the not so useful commands out of the way
 
12:16 AM
yawns
i saw smokedetector commands referenced
what've I missed?
 
Nothing
 
nothing yet, we're just discussing whether we should add the bot into this room
 
@hyper-neutrino harder than you think in the current codebase
(we have no mechanism for it, we need to implement a disable function)
doable probably, but still
ah
well i will make a note
it doesn't have to be in here specifically
 
@ThomasWard oh, huh. i was told by tripleee that it wouldn't be too challenging but i guess we all have different measurements of what's easy and hard xD
 
you can create a dedicated CGCC Smokedetector Reporting room for people who care, and then have it report there
@hyper-neutrino tripleee probably can do it faster than I can
it's probably not difficult but as long as I don't ahve to do it xD
 
12:18 AM
lol fair enough
 
@hyper-neutrino either way, the other idea is a dedicated CGCC room for it to report in and for people to join/watch
that would then isolate it still from this channel, whether we have command disables or not
as a temporary solution I mean
(also hi! I know it's unusual for me to randomly appear but :P)
 
yeah that is true. the thing is our site gets comparably little spam (*knocks on wood*) so it isn't like the bot itself will generate too much noise (and we can just throw it out, since we already do that when our current new-question bot relays spam over)
 
1 and 4 (what I moderate when I RO, and mod/cm meet-up) definitely seen pin worthy
 
yep. and i'm in here frequently enough you can @ ping me if I have to beat the bot with a hammer :P
 
I pinned "why I go by Rosie" Becuase I think it's an important discussion to have, even if it doesn't directly apply to us
 
12:21 AM
what, 'anonymity is important on the internet'? pretty sure most people know that already
not that the post isn't important, but does it need to be pinned? idk
 
And the SD CMP is inviting discussion on a topic that may impact the chat room for the significant future, and I'd like to get feedback before acting on it
 
pins @rak1507 to the starboard just because
:P
 
@rak1507 Yes, that's the primary discussion. The secondary point, that applies to us, is the idea that people on the Internet != people IRL, and I think that's actually something we as a chatroom should consider
 
@cairdcoinheringaahing (which is why diamonds exist for when it gets so out of hand people need reminders, just making a point)
 
However, I will grant that originally I wanted it started rather than pinned
 
12:24 AM
@cairdcoinheringaahing how/why?
 
@rak1507 Think about it. I know the first names, and rough locations of most of the important (mods, ROs) of this room
 
@hyper-neutrino no but whether SD is here or not, all's good. It should be easy to remove the bot if it misbehaves or is suddenly unwanted
just lemme know if you need any help with it :)
 
@ThomasWard that's good to know. I trust it to not misbehave too much cuz it's been running for a while in many places and i haven't heard of any mass casualties yet :D
 
If I wanted to, it wouldn't take much effort to find them IRL. Anonymity is an important topic, especially in such a personalised chat room as this
 
@ThomasWard will do, thanks :) once we get a verdict someone can just poke someone in CHQ. i forget how to add rooms.
 
12:26 AM
@hyper-neutrino 'cept when my infrastructure explodes or is under a power loss, yeah there's no mass casualties from it being an overlord :) (underling Metasmoke system relies on my infra right now... power outages are rare but do happen in more severe TStorms)
 
@cairdcoinheringaahing Does that matter, though? It's not as if you're going to kidnap them and then take over TNB like a weird villain or something :P
 
it's not the robotic overlord... yet. evil grin
 
@cairdcoinheringaahing So?
 
@ThomasWard I'd support smokey as the overload of SE ;p
 
hah
 
12:28 AM
Smokey probably has more sense than all us humans combined
 
oh right you run smokey just in your house, forgot about that. :P i for one welcome our robot overlords
 
@hyper-neutrino there's a few smokedetector instances out there
 
Let's just have all of SE be Smokey and Community posting answers and questions, no human interaction allowed :P
 
but the core that powers it - Metasmoke - is currently on my infra yes
 
12:28 AM
it's just using my instance right now 'cause it's the fastest to report to MS without issues. shrugs
'course it's due for it's monthly punting so...
 
Anything special about it that makes it the fastest?
 
but yeah, it's all good :)
@user the fact it's on the same network as MS so the report time to make the metasmoke record is like snap that?
did I mention I have a server cluster in my apartment? And gigabit download 150Mbps upload internet with a static /28 of IPs? :)
 
That's handy :P
 
yep but meh.
 
I honestly wouldn't be shocked if any of y'all referred to me as "Chloe" instead of "caird". But e.g. WW might be if you referred to them as "Eamon" (or "Sriotchilism O'Zaic", etc.) Privacy is an important point, and Rosie raises that point well through that discussion. How private someone wants to be here is their choice, and having a high ranking user such as a CM raising that discussion is important
 
12:31 AM
@cairdcoinheringaahing i mean, i have the evil habit of calling people by their usernames or abbreviations therein but that's just me :)
 
Idk, I guess I'd prefer for that discussion to be starred rather than pinned, Becuase I'd hope that other users would recognise that. But, when it didn't get starred, I pinned it because I thought it importabt
 
@cairdcoinheringaahing I'd say practically everyone here knows that (and someone just passing by who for some reason doesn't understand how the internet works wouldn't bother with reading it anyway)
@cairdcoinheringaahing That might be better
 
If any ROs/mods disagree, feel free to cancel the pin (but not the stars please)
 
There are some things on the starboard that aren't too interesting/funny (and might drive away more users like Wezl), but it's probably okay because they'll move off later anyway
 
In the same way as e.g new CM hires, there are some posts, often on MM that would potentially benefit from the input from this site (among many), and so, I believe, as an RO, my job includes pinning those discussions
Did I mention how much I hate mobile chat?
 
12:36 AM
You don't need to, everyone feels your pain ⍨
 
It's better than using desktop chat on mobile, but it's nowhere near as good :/
@user Have you read Catija's answer? That's sort of it's point
If someone genuinely referred to me as "Chloe", I would be somewhat surprised as people who know me here, know me as "caird". Referring to me as "Chloe" either shows you know me really closely, or that you don't know me
Even when I was "Dude", people still referred to me as "caird"
Hell, I've met both pxeger and Adám IRL, and I suspect they'd both call me "caird" before they'd call me either "Jay" or "Chloe". Anonymous profiles can easily become just as personal as posting your full name and your favourite movie, and Rosie brings up this concept: Rosie is Rosie, including any details she's happy to share, and that persona is specifically less than who she is in real life
 
1:00 AM
Sandbox posts last active a week ago: What will the radio play next week?
 
1:37 AM
0
A: "Hello, World!"

tail spark rabbit earCLC-INTERCAL, 221 bytes. DO;1<-#13DO;1SUB#1<-#29DO;1SUB#2<-#1100DO;1SUB#3<-#249DO;1SUB#4<-#255DO;1SUB#5<-#250DO;1SUB#6<-#677DO;1SUB#7<-#373DO;1SUB#8<-#4160DO;1SUB#9<-#570DO;1SUB#10<-#2572DO;1SUB#11<-#225DO;1SUB#12<-#247DO;1SUB#13<-#348DOREADOUT;1 How I generated the code above. There is other "H...

 
1:57 AM
@ThomasWard I am in support of doing this
I really don't think SD belongs in this room. Honestly I'd rather if no bots or feeds posted here, but those are reasonable enough and useful to most people. Smoke detector seems like a more technical thing that only a specific group of people will care to see, and I think that would be better as an opt-in thing (i.e. another chat room)
Usually branching off more rooms is bad since they'll die out, but one that's primarily about a bot will do fine because there's a constant source of outside stimuli keeping it active :p
Plus we can call it something more generic like "CGCC Moderation", and add more bots there as the need arises
E.g., ones for sandbox moderation
 
The problem is... look at what happened to the guild of reviewers.
 
Well the bots never got added there
 
OSP's there
 
But if we did have a CGCC Moderation specific room, we could combine its function with that of what the Guild was supposed to be
@emanresuA OSP's also here :p
There'd been plans for me to make some bots to post a lot of information about sandbox posts, and maybe even have a way for under-20-rep users to request that their posts be reviewed, but those never ended up being made
I'd be glad to start again if we feel that's needed, of course
 
> and maybe even have a way for under-20-rep users to request that their posts be reviewed
I think OSP should be posting things from 2-3 days ago.
Since that's where you get feedback'
 
2:07 AM
@emanresuA Yeah, I'd been planning on having it detect comments like "I'd like more feedback on this", then the bot would notice that and post it in the room
 
Rep required to comment > rep required to chat
 
Not on your own post
 
True
The best possible solution would be to have a 'Request Feedback' function and a separate review queue, but that requires major site-specific changes.
So almost certainly no
 
I'm considering making a script that does something similar, since chat has limitations when it comes to providing useful and nicely formatted information
But the main reason I don't is that I don't really feel motivated to do all that work when almost no new users post in the sandbox anyway :/
 
True :p
Maybe add to the sandbox description: 'Comment "Any Feedback?" on any of your proposals to receive feedback on them.'
 
2:13 AM
I'd probably make it a much broader regex, so they can type more specific and human sounding things like "Any more feedback on the title?"
Although I'm still trying to think if there'd be any nicer way of doing it
 
i mean we could make a mod office like math.se does but
there isn't really much of a need for it on this site
 
I don't think SD should go in this room though, unless who can interact with it is seriously limited
 
well funny story
in Charcoal HQ, 10 mins ago, by Makyen
in The Restaurant at the End of the Universe, Sep 26 '19 at 5:47, by Makyen
@Mithrandir Who gets authorization in a room has generally been left up to the room's ROs and/or mods. For rooms that have commands enabled, there are four types of commonly used permissions settings: A) inherit from CHQ, B) inherit from CHQ with additional people listed per the ROs, C) have a separately list where the RO's permission is required to add people, and D) moderators only. Which is used in here, is really whatever the people in charge here want.
it seems that that may be possible
 
Oh nice
Still don't think it belongs in TNB though :p
 
question though: what really is the point in this even, or like what originally motivated this to be considered
i have SD in CHQ set to ping me whenever it detects something on CGCC, which people can do if they care - I don't think I've been pinged in at least a few weeks, anyway :P
 
2:23 AM
 
It's not like spam almost always gets posted here instantly anyway :p
Even answers will tend to be reposted pretty fast
By people who notice them in the queues, typically
@lyxal Smomey
 
@lyxal hmm
Either no one has voted or the poll site is bad
 
I voted
 
@BrowncatPrograms Don't forget; Until recently new users couldn't post in the sandbox at all.
 
@BrowncatPrograms Then the poll site is bad
 
2:35 AM
^
Get good poll lol
 
Resultsn't
 
getting poll scamed
the site just scammed all our votes :(
 
I suppose just leave your vote as a reply to the cmp then
 
@lyxal Smomeyn't
 
@lyxal I'm for having smokey btw
 
2:40 AM
@lyxal smokey but with answers only?
 
@Niko we asked if that was possible, and the answer was yesn't.
 
@lyxal Agreederouih;e
 
that's happyn't
 
I think SD is mostly unnecessary, and I don't like the idea of having more bots in the room
NP/SP/OSP are bad enough
(plus the feeds)
 
@Niko actually,
in Charcoal HQ, yesterday, by Makyen
@hyper-neutrino That would be possible, but would require adding code. The option to do that does not currently exist.
so it's possible, but it'd have to be added
 
2:42 AM
classic programmer
 
Escalators are fun. Last year my family went to get christmas card pictures taken at a mall, and it had escalators and the manager yelled at me for sprinting up the down escalator
Despite there being maybe two other people in the whole building :p
 
oh frick I forgor yesterday was 9 + 10 day
aw dang
 
it's still sept. 10 for me :D
 
@hyper-neutrino Nit for me
 
@hyper-neutrino then what's 9 + 10?
 
2:54 AM
@hyper-neutrino SLEEP
 
It's still the 10th for me as well
 
@emanresuA it is 11 PM
@lyxal 21?
 
@hyper-neutrino you stupid
 
@lyxal no i'm not
(i think the order is off... oops)
 
doesn't matter
the point is we made the joke
 
2:57 AM
posted on September 11, 2021 by Moshi

Challenge Given the roots of a polynomial (that is, the $x$ values where the polynomial evaluates to zero), as an array of real numbers, return the polynomial's coefficients. T...

 
3 mins ago, by lyxal
@hyper-neutrino you stupid
Accurate
 
Codidact seems more active than CGCC recently
 
3:29 AM
@Bubbler i think having perl like syntax for most things makes it less scary
and it has quite a few math builtins
 
3:46 AM
hi ppls
extremely bored rn
 
posted on September 11, 2021 by Mark Giraffe

This challenge is currently under beta release. If given enough positivity, it will remain here and stand as a fully released challenge. Otherwise, it will be deleted and put back ...

 
We need... coconut, right?
 
4:03 AM
Does codegolf.stackexchange.com/a/142209/100664 count against our standard loophole of using crypto functions in cops-and-robbers?
 
4:15 AM
CMQ: Is this way of submitting XML and XSLT valid?
also, TIL SE has xml and xslt highlighting avaliable
 
 
1 hour later…
5:44 AM
@emanresuA the question specifically permits cryptographic functions.
 
@lyxal I don't see why not
 
@Razetime O
+1 for effort.
 
TIL you can't buy actual bees on amazon.com.au
:(
why is it that I have to go to American eBay if I want to hypothetically buy bees?
smh
 
6:07 AM
@lyxal smokeyn'tn'tn't
 
so no then.
 
correct
 
ighto so that's 2 people for and 2 people against
 
6:18 AM
Is there a better name for {} than "curly brackets"?
 
Squiggly bois
2
 
@emanresuA braces
 
@emanresuA parentheses but someone screwed up the drawing really badly
 
CMC: Given coefficients a,b,c for a quadratic equation, solve it.
 
@emanresuA "definite brackets", "swirly brackets", "birdie brackets", "French brackets", "Scottish brackets", "squirrelly brackets", "gullwings", "seagulls", "squiggly brackets", "twirly brackets", "Tuborg brackets" (DK), "accolades" (NL), "pointy brackets", "fancy brackets", "M Braces", "moustache brackets", "squiggly parentheses", or "flower brackets" (India).
 
6:23 AM
oh yeah flower brackets
@PyGamer0 will it always be solvable
 
@PyGamer0 Vyxal, ∆P
 
@Razetime no
 
6:38 AM
i think i made it: Try it online!
 
@lyxal +1 for being thorough.
 
@emanresuA s/thorough/able to copy and paste from Wikipedia
 
7:10 AM
I do love how the autosuggest for my Yaml linter suggests "Hello my name jeff. Ur sussy baka" instead of 'Half'.
5
 
7:21 AM
uh
 
classic
 
 
1 hour later…
8:29 AM
@lyxal wow first ever vyxal that interests me
 
i'm guessing it's a digraph builtin
 
Correct
It's a single element
 
mathematic diagraphs
 
@Niko so really it's actually quite ironic that this is what interests you as it's literally a built-in that solves the cmc
 
1
A: Sandbox for Proposed Challenges

Wheat WizardHow many Jimmies does this platform need? Platforms are stretches of - characters separated by one or more characters. For example: ------ -- ------ - Has 4 platforms sizes 6, 2, 6 and 1. Platforms that are not supported will fall. To be supported platforms need Jimmies. Jimmies look lik...

Posting this today.
 
8:37 AM
@lyxal in what angle does it look like flowers?
flower brackets don't make sense to me
 
@PyGamer0 idk I stole the list from Wikipedia
 
@lyxal you mean, ctrl+c, ctrl+v?
 
How else would you steal something from Wikipedia
 
Bolt cutters and a van.
2
 
@lyxal right click->copy right click->paste
 
9:04 AM
The TTTNB is amazing!
 
9:34 AM
When the impostor disconnects ._.
 
9:47 AM
And/or when the impostors win because everyone else disconnects
 
10:10 AM
@emanresuA my brother was playing among us last year
he wanted to become the impostor
like he really wanted to be the impostor
and when he became the impostor; the game decided that the impostor won, so everyone in the lobby though that my brother was hacking
so they kicked him
 
10:36 AM
@emanresuA ^^
 
><>
And no, I didn't test that.
 
@emanresuA oof
 
JS:
> x++
ReferenceError: x is not defined
> undefined++
NaN
> null++
SyntaxError: invalid increment/decrement operand
 
@emanresuA ^
 
evil
 
10:48 AM
h..how did you guess?
 
I recognised the a and w
Ive seen it before
 
10:59 AM
@PyGamer0 that's a bit sussy
 
11:48 AM
@WheatWizard Last chance for feedback.
 
Are you sure there's not a cheap regex that everyone's going to port?
 
Reasonably so yeah.
 
Ok, looks good then!
 
I don't doubt it can be solved with a regex.
 
The center-of-mass bits make it more tricky, so I doubt it's going to be simple/portable/
 
11:52 AM
Well spoilers: the center of mass doesn't actually matter all that much.
 
Wait what?
Why not?
 
A platform requires max 1 Jimmy to support it. (Just place it under the CoM).
If you have a small platform you can have a Jimmy support that and half support the next.
You don't have to place the Jimmies. You only have to count them.
 
True
And by small you mean single-block, right?
 
Yeah.
I could actually simplify the rules to say that each platform requires 2 Jimmy parts to support it unless it is 1 wide in which case it only requires 1. I don't think that actually ever changes the output.
 
Suggested testcase: - - -
 
11:58 AM
I basically already have that one. It's the 3rd to last.
 
Oh I see
No....
 
I did go from ~100 rep a day to basically not moving at all for 2 days, so you at least have that.
 
True
 
0
Q: How many Jimmies does this platform need?

Wheat WizardPlatforms are stretches of - characters separated by one or more characters. For example: ------ -- ------ - Has 4 platforms sizes 6, 2, 6 and 1. Platforms that are not supported will fall. To be supported platforms need Jimmies. Jimmies look like this: \o/ They are three units wide. D...

 
@WheatWizard You might get another shot if someone gets one of your deadlineless bounties before you get enough upvotes to counterbalance it.
 
12:02 PM
Indeed. All the more modivation to do them.
 
Sadly, it's one of the few things you can't 11.
 
12:22 PM
'night
 
\o
 
 
1 hour later…
1:29 PM
@PyGamer0 I think your cops answers to the language quiz are the only unedited, cracked cops :P
 
1:42 PM
@cairdcoinheringaahing Retina, 69 bytes
@cairdcoinheringaahing Charcoal, 17 bytes: F⊖N⊞υιI…⊕⁺υ⁻⊕⌈υυN
(could save 1 byte by using 0-indexingj
 
2:27 PM
@cairdcoinheringaahing ...Were they cracked before the grace period ended?
Splinter?aaaaaa — user Aug 15 at 10:29
I can't tell why in the world I typed "aaaaaa" ಠ_ಠ
 
2:52 PM
@cairdcoinheringaahing Retina, 21 bytes (Link only does base 7 due to limitations of TIO)
 
@user maybe you got the splinter and you were screaming in pain?
 
3:40 PM
@emanresuA That's because undefined = xyz is valid JS (but does nothing), due to a bug in IE that had to be supported for backwards compatibility reasons
Whereas null = xyz is never valid
 
@BrowncatPrograms ...There's code that requires undefined = xyz to be valid JS?
I can understand bugs like that in IE, but why tf would anyone ever actually use that?
 
@user If there is I am going to find that developer and hit them with a very sharp object until they go fix it
 
Please
 
wait don't comments end the grace period?
or were they cracked in chat or smth
 
3:56 PM
If anybody would like to epically meme some scammers they sent me a fake site trying to phish for personal information
[not including the protocol so this isn't a link]://garanttonlinebva.com/members/apply/
 
4:18 PM
That totally looks like a legit bank, I should totally apply!
 
4:39 PM
@hyper-neutrino Yeah, they got cracked in <5 mins in chat :P
@BrowncatPrograms SE, just as an example, promises to some employees that they won't be poked with a sharp stick. Hopefully, JS devs aren't also promised that :P
 
I'd honestly just delete my cop out of shame at that point lol
@cairdcoinheringaahing o.O That's an extremely specific promise
 
> some employees
hmm
 
There's a pun involving Promises here, but I can't find it :P
@cairdcoinheringaahing A JS dev can create promises, but they can't await them because they're a JS dev, not a sink
 
in Tavern on the Meta on Meta Stack Exchange Chat, 2 days ago, by Philippe
Never underestimate the lengths I'll go through to poke someone with a sharp stick when merited.
@pxeger Even better is that it doesn't appear to be job based, as only some members of the CM team have that promise :P
 
Remind me to never work at SE :P
 
4:44 PM
Aug 17 at 10:11, by pxeger
but a sink can't go to sleep
CMC: given a list of coordinate pairs (x,y) in increasing order by x value, integrate the step function it defines. E.g. [(0, 1), (1, 3), (3, 3)] -> 7 (graph)
 
Guaranteed non-empty?
 
yes. guaranteed length >= 2 and no other weird invald inputs
 
I still don't get what the points represent.
 
The start of each step
 
4:50 PM
@WheatWizard the points at which the y-value changes, and the end point
 
So for the last value we don't care about the y?
 
It should be the same y as the second-to-last one, right? @px
 
yeah, the final y value will be the same as the penultimate y value
 
Wait, first y value?
 
The same as the first?
 
4:53 PM
I'm not drunk I promise
 
Oh no, did you listen to Shaggy and caird?
 
And the first x will always be 0?
 
@WheatWizard no
you integrate from the first x to the last x
 
This is such a weird format. I can't even wrap my head around it.
 
It's not that odd
 
4:55 PM
0
Q: Yet another coin flipping problem

gamerxStarting with a set of 10 coins at the start where all coins are tails up, and given n number of integers x_1, x_2, x_3... x_n. We randomly flip x_i number of coins in sequence in each of the n rounds. Write a function takes as input a list of integers, and calculates the expected number of head...

 
Everything is like shifted by 1.
 
@WheatWizard that's kinda the point of the challenge, otherwise it would just be basic summation
 
@NewPosts What?
@pxeger It kinda is lol
 
@user I'm not doing this again
 
The conversation about drinking?
 
 
2 hours later…
@hyper-neutrino Thank god it's not just me, I didn't want to say it :P
 
i noticed that when i first saw it but was reminded by taco's comment lol
 
I think that might have been the first challenge kicked from the HNQ
 
Yay, a new milestone for CGCC. How fun.
 
Nope
I've made y'all kick a KotH off the HNQs before
 
6:58 PM
Which one? xkcd?
 
The one after xkcd
It was another pretty trivial optimization one
 
By closing it?
 
I thought we'd had a mod take it off the HNQs
Might be misremembering though
 
00:00 - 19:0019:00 - 00:00

« first day (3878 days earlier)      last day (950 days later) »