« first day (3817 days earlier)      last day (1024 days later) » 
00:00 - 17:0017:00 - 00:00

5:00 PM
Expanding it to include things like AGM, median, mode etc. would make it more useful, but at what point does that start infringing on ?
 
Solution: Change the meaning of the tag and just use it for all challenges which are neither bad nor especially good :p
 
@cairdcoinheringaahing median and mode are arguably averages
 
CMC: Escape an APL string. This means take an array of characters, replace all single quotes with two single quotes, add single quotes on each side, and return an array of characters.
example: that's a lot of damage => 'that''s a lot of damage'
 
Jelly, 11 bytes: =”'‘x@µ⁾''j
 
@hyper-neutrino Nope, nope
 
5:05 PM
did i do it wrong
 
That is not code you aint fooling me, that is the droodlings of a mad toddler
 
somewhat more cursed: Jelly, 11 bytes: ؽ”'×yµ⁾''j
 
@Wezl haven't we done this as a CMC before?
 
probably
 
quite recently I think
 
5:06 PM
Yeah, it was in the last BMG
 
possible in the last BMG or something
ninja'd
 
Jul 6 at 8:29, by Bubbler
in BMG Drafts, 7 hours ago, by Bubbler
Draft: Given an ASCII string, double each single quote and enclose it in single quotes. "How'd'n't I see that" -> "'How''d''n''t I see that'"
 
5:08 PM
2-2 dyadic chains ftw :P
 
argh i wanted to figure that out but i was putting it on the wrong side of the '' lol
 
@hyper-neutrino That's so broken :P
 
yep :p
@hyper-neutrino ok this solution is super cursed lol
jelly y can't substitute lists very well, but if i multiply "'" by 2, it isn't a proper jelly string but a forced python string object that jelly thinks is a character
 
wait i might be able to use some cursed broken-pipe thing
Jelly, 9 bytes: Ḥẹ¦”'⁾''j
:)
 
5:13 PM
@Wezl nib, 37 bytes, "'"++:(repeat:(=:c"'"+ 1)concat)++"'", jelly*4
 
@Wezl Kotlin (?): {"'${it.replaceAll("'","''")}'"}
@RedwolfPrograms tHeY'Re NoT JoKiNg, TheY'Re AarOn MiLLeR
 
D:
user has lyxalitis
 
Hi @Razetime!
Shouldn't you be sleeping?
@RedwolfPrograms Been spending too much time on Vyxal :P
 
Small browse before sleep :p
 
Yesterday I voted for 10 tabs and 2.484 spaces 42069 times
 
Vyxal, 11 bytes: \'‛''V‛''$j: Try it Online!
@cairdcoinheringaahing oh damn wtf
that is so cursed. i love it
 
@Wezl Vyxal, 10 bytes: \'⁽døṙ\'pǏ
 
Anyway good night
 
5:24 PM
o/
 
@Wezl QuadR, 8: ^|'|$ '& Try it online!
 
nice
 
@Wezl It'd be so nice if ⍎⍣¯1 worked ;-)
@Wezl Dyalog 18.1 REPL, 7: ]repr ⍞:
      ]repr ⍞
How'd'n't I see that
'How''d''n''t I see that'
 
@Wezl Grok, 39 bytes: Try it Online!
 
@Adám Oh nice, I thought you had to use repObj from SALT or something for that
 
5:38 PM
@user Yes, but I got tired of that and added a command for it in 18.1.
 
I'd love to some day be able to say "oh I got tired of quirk X about this programming langauge so I just added it" but alas I don't have such powers
 
Unless you make an esolang of your own
 
@pxeger tbf, I didn't add anything to the core language. It is just a development tool.
 
@pxeger I am writing a vimscript for it :p (Jelly that is)
 
5:44 PM
I don't grok what that means
 
You don't grok Grok.
 
@AaronMiller Jelly, another 8 bytes: https://tio.run/##y0rNyan8//9Rw1z1k5Nts60dCv7//@@RX66eop6nXqLgqVCcmqpQkpFYAgA
er
 
lol idk why you pinged me
 
replying to the double quoted cmc
...i didn't even notice the escape apl version
 
yeah, i was just linking to where it had been asked before
 
5:47 PM
lol
 
@pxeger The trick is to write your own language (or to contribute to one)
 
well you can contribute to a language but you then have to get it merged
 
@UnrelatedString Man, the chaining there :P
 
I don't think my private fork of CPython that I'm working on will ever be merged lol
 
@cairdcoinheringaahing the good old 2,2,2,2
 
5:49 PM
@pxeger Just get enough people to use it and it will be the new main
 
sue it? lol
 
@UnrelatedString No, the good ol' 0,(2,2,2,2) :P
 
> [Adám] occasionally broadcasts live programming sessions on Twitch
ooh interesting, where?
 
5:51 PM
looking at my brachylog contributions and i forgot that like half of them were just adding new subscripts to w
 
yuno, 13 bytes: ;¹=?”')ϾFˌ''j (Try it online!)
yuno is rather cursed and incomplete
 
the simplest i could come up with in jelly was ṣ”'⁾''jj@¥, so you could try translating that
 
joke's on you, I don't have a split built-in
 
do i even have a dyad combinator?
 
5:53 PM
i can see where cursed and incomplete comes in
oh no
 
i mean i can just use {} (and drop the trailing }) but I cannot remember if I implemented them
 
6:04 PM
speaking of not having a split builtin
Brachylog, 17 bytes: {∈"''"|}ᵐ{,"'"↔}ⁱ²
there is split on spaces and/or newlines
but there's genuinely no join builtin
 
because if you have strings containing spaces or newlines you can't un-split them on spaces or newlines
which i did not actually realize until i did the xor table challenge
wow
that is a lot of chat flags
 
What is happening herelol?
 
Fun discussion over in a Politics chat room :/
 
I suddenly got 14 flags
 
6:11 PM
yep
 
Wait, 14?
Only 4 messages got flagged
 
wait is it politics
i thought it was from that one hnq on history
 
 
Yeah, it quickly lowered itself though
 
i only saw 4 as well
 
6:12 PM
@Adám cool, thanks!
 
@UnrelatedString Yep, sorry, history.SE
 
I think you get multiple if multiple users flag?
 
Like it said 5 users flagged this
 
A bunch of mods just nuked basically all the messages in the room :P
 
6:13 PM
@pxeger is that actually just one guy who made a sandbox for two of h
 
I mean.. I understand it
 
is questions that he didn't expect to be received well
 
@pxeger That's an exact copy-paste of our Sandbox :P
 
It is a good introduction though
 
Not really
SE sites don't have sandboxes for a reason - you shouldn't ask to ask, you should just ask
 
6:21 PM
we only have a sandbox because we're not a q&a site at all
here, if you have a problem it should be ironed out before asking
on an actual q&a site, if you have a problem that's why you're asking
 
ah, another mod got there before I got back to my computer. good
also I do think the number of flags in the circle is the total count of flags, not messages
(i can verify this since i can also see a list of who flagged the message)
 
is there a colloquial term for ` " ' surrounding some expression?
 
Does marking a flag as valid "reflag" it?
 
wdym by reflag
 
@N3buchadnezzar ...quotes? quoted?
 
6:26 PM
like, if someone marks as valid i believe it is equivalent to just flagging the message directly
not sure
 
nested quotes?
 
Searching after not in vim finally gives me the correct char from Jelly's atom list :p
Finally!! ^^
 
0
Q: Blinking Lighthouses

Djin TonicLighthouses on an island have blink codes that let ships know which lighthouse they are seeing. Codes are a list of strings of any combination of the letters S and/or L. Here is a Python example of codes for 4 lighthouses: ['SLS', 'SLL', 'SSS', LSL] where: S = short ON (1 sec) L = long ON (3 sec)...

 
> No import statements.

The shortest code (length in characters, whitespace excluded) wins (code-golf).
IIRC this was in the Sandbox as well :/
 
It was, and I even pointed out a (non-existent) issue in it without seeing that part :(
 
6:36 PM
It sucks when a new user posts in the Sandbox, it goes relatively unnoticed for a while and then they post it with noticed issues :(
 
should there be a bump bot for sandbox challenges?
 
i am considering working on a triage bot for the guild of reviewers to keep track of sandbox posts and ask for feedback based on likelihood that it'll actually be posted and such
OSP is nice but if the post gets zero activity it won't be noticed I think (except for the 1w mark? idk exactly how it works)
 
It posts any post that hasn't had any activity (edits, being posted) for a week
So something that's never been edited will be caught by OSP once, a week after it was posted
 
ah okay
 
@hyper-neutrino I was planning on making one but other stuff came up
 
6:46 PM
@JohnDvorak It might be worth creating a bot to bump inactive, low-voted Sandbox posts if the Sandbox goes however long without activity
 
The OP's modified their question, should we retract the close votes?
 
For example, if there's no activity for 12 hours, it finds a couple of "abandoned" proposals and makes an invisible edit to them
 
How do you make invisible edits?
 
Add a <p> element to the end
 
@user we probably want the input format to be a bit looser still, and the body itself could use some help formatting while we're at it
 
6:49 PM
@user I think it still needs improving tbh
 
@cairdcoinheringaahing Ooh, smart
Yeah, good point
 
Or add a &nbsp; to the end
 
Great, I overrode caird's edit
 
DW about it, I just did another edit :P
 
6:52 PM
Turn that smile upside down
 
It's already on revision 9 lol
@Catija Are you planning on adding an answer/edit beyond the tag, or should we just go ahead and add that?
 
It's so frustrating seeing a post by a user who did everything right (used the sandbox, waited a while, etc.) and is willing to make changes and improve their question, that still ends up requiring lots of work because there wasn't enough feedback :/
 
:(
 
I'll definitely put the Guild bot higher on my to-do list, this sort of thing shouldn't happen
 
@cairdcoinheringaahing Ugh, you're so needy. I just got back and I've had meetings all day. :P
 
6:57 PM
@Catija No rush, just remembered that it was monday :P
Plus, if it's just the tag, I can get one more helpful flag on meta :P
 
1
A: New First-Time Asker Dialog

CatijaYaakov kindly updated this to include the information you wished. It'd require a bigger change to make it possible to get rid of the bullet points but I'll discuss internally about whether that's something we want to request. I know this would be great for y'all but with the number of devs we hav...

 
Thinking about it, it's a shame that tag edits don't count towards Refiner and Illuminator, otherwise CMs and mods would be first in line with the status tags :P
 
Catja keep rocking you are awesome = )
 
7:40 PM
@Adám does that work for strings beginning with '?
 
@cairdcoinheringaahing huh, that's weird, because then |. matches every character and every inter-character position (including at the start and the end), which surprises me, since other regex engines don't do that
 
@Neil It is just vanilla PCRE.
 
7:57 PM
@Adám huh, I never knew it did that
 
Retina doesn't use PCRE does it?
 
@cairdcoinheringaahing No, I think it uses .NET regex.
 
 
1 hour later…
@Ausername Looks pretty good
 
I think a single string makes more sense, but looks good
 
Mmm, a single string would certainly be simpler, will change later
 
9:23 PM
Oui oui
 
0
Q: Splinter metagolf

A usernameThe language Splinter is an esoteric programming language where data is stored in 'splinters'. There are three different types of syntax: Simple character output: \character, outputs a character Splinter storage: (splinter name){code}, stores the code into the splinter with the correct name f...

 
10:13 PM
If someone's message is "successfully" flagged, how long is the suspension? This says it's 30 minutes if a mod flags a message, but only "the author will be given a very short suspension" for normal user flags
 
it is 30 minutes no matter what
> A user posts a string of obscenities directed at SQL: nod in sympathy, then mass-delete the messages.
lmao
 
@hyper-neutrino well that's irritatingly vague :/
 
yep
it is literally just "if a message is deleted due to flags, the user's suspension += 30min"
 
@hyper-neutrino If that's the recommended approach to SQL, I wonder what's the proper response to PHP hate? Pin the messages? :P
 
promote the user to RO :p
 
10:17 PM
hand out a free diamond :P
Get mod powers, any% speedrun :P
 
@hyper-neutrino I would like that very much :)
 
*bans user*
 
:(
 
Any APLers who hang out here: the tag has no tag wiki. I'd write one, but I figure there are many more people more qualified to do so
 
10:21 PM
Try the APL Orchard instead
 
I've dropped a message into the Orchard
I don't remember; when you create a tag, do you have to create an excerpt for it?
 
You just add it to your question, right?
 
I think so, I haven't done it in a while
But we have no tags with empty excerpts (compare to meta where we still have a few), which suggests to me that it's a "mandatory" thing
 
11:07 PM
0
Q: What to do with the [average] tag?

caird coinheringaahingaverage is a tag applied to 3 questions. It currently has no tag wiki, and the tag excerpt reads This challenge is related to average or arithmetic mean. Currently, this is a very specific tag which is arguably covered by the statistics tag. However, nothing in the statistics very short tag wik...

 
@NewPosts That's something I didn't consider (or know about) when I first asked the CMM: There are upwards of 250 challenges about averages, by a conservative estimate. Regardless of what we decide to do with the tag, we should probably do some retagging at some point, whether it be with , or something else
 
11:20 PM
CMC: Exponential factorial. Given n, calculate a_n
 
@cairdcoinheringaahing Its too late for CMC's caird
We need to use the sleep
 
@N3buchadnezzar Timezones
 
On the other hand, the Americans are just ending work, and what's better than a fresh CMC? :P
 
It's nearly 7:30 here, which timezone do you mean?
 
huh, well, it is there in the docs; regex engines stop applying * when the term becomes zero-width, but whenever you get a zero-length match in a /g loop, the engine tries to make a non-zero-length match at that point first before trying to match later on in the string
compare the .NET engine which always starts searching from the next character if there was a zero-length match
I think the JS engine does the same
 
11:30 PM
@cairdcoinheringaahing APL, 5 bytes: */∘⌽⍳
 
Interesting. I expected APL to match Jelly's 4 bytes but I guess RTL reduction is the opposite to what you want here
 
I thought RTL reduction was exactly what was needed here
There's probably a shorter APL solution, I just don't know it
 
*⍨/⍳ doesn't work (needs a reverse I think)
 
Yeah, doing it that way would require / to work LTR
 
11:53 PM
How would you index into a boolean list with truthies?
 
What are truthies?
 
f 2 3 5 70 1 1 0 1 0 1
 
Jelly's builtin
 
I figured the example would explain it
 
> Return a Boolean array with 1s at the indices in z.
 
11:55 PM
There was a challenge about this, wasn't there?
 
Oooh that's way cool!
 
@user Yes, I posted it
 
Sorry, I thought I was in the APL Orchard, haha
 
29
Q: Jelly's Untruth

caird coinheringaahingJelly has an "untruth" atom: Ṭ. This takes a non-empty array of positive integers and returns a Boolean array with 1s at the indexes in the input. For example: [1,3,5,6]Ṭ ⁼ [1,0,1,0,1,1] [5]Ṭ ⁼ [0,0,0,0,1] [2,1,1,2]Ṭ ⁼ [1,1] [5,4,3]Ṭ ⁼ [0,0,1,1,1] [1]Ṭ ⁼ [1] Try it online! Note tha...

 
Does anyone know how to golf it in APL, or shall I ask there?
Ooh neat, I'll check there. Thanks!
 
00:00 - 17:0017:00 - 00:00

« first day (3817 days earlier)      last day (1024 days later) »