« first day (4260 days earlier)      last day (586 days later) » 

1:14 AM
...since when were there codidact webhooks in here?
or have they been in here all along?
 
10
Q: Should new challenges on Codidact be posted into The Nineteenth Byte?

caird coinheringaahingCodidact is a related network of sites to Stack Exchange, created in the aftermath of behaviour by Stack Exchange in late 2019, in an effort to create a better Q&A network. One of the sites in their network is Code Golf, where a large number of CGCC users have started to contribute. The site has ...

TL;DR, a year
 
Since then we've had maybe one every few months
 
1:42 AM
@thejonymyster It was probably just the blog of some swedish dude named phil
 
2:06 AM
@RadvylfPrograms tbh i also was thrown off by the header that said Meta, i was like, what kind of weird SE is this? has it not fully loaded in yet?
 
2:32 AM
@emanresuA well see about that
my aim tomorrow: outgolf vyxal
 
2:42 AM
@emanresuA port of jelly be 4 bytes
 
Knight v2, 40 bytes (takes input 1-indexed): ;=nP;=b,=a@;W=n-EnT;=t a;=a b=b+@+,t,aDa
wait actually
bruh wait why am i even using a temporary var lol
shorter to print indefinitely but the website seems to get stuck if i try to do that
 
you don't need the +@ lmao
you don't need to convert an array to an array
 
@Steffan shit u right, i was used to putting that there for numbers lol
itll be 31 bytes in that case
 
@Steffan smort
 
for what numbers lol
 
2:54 AM
@Steffan i meant converting numbers to list of digits
just subconscious put the +@ there lol
 
yeah but there's no number to convert to a list of digits. its arg is just a list
 
@Steffan ok ya ik that but like i just put it there out of habit anyways lol
 
lol
@emanresuA you can actually get 3 bytes with /mM flag
 
Ooh
 
i feel like vectorized recursion should be one byte in a golflang
also you shouldn't need a lambda, so that would make flaggy 1 byte
 
2:58 AM
da hell is vectorized recursion
 
recurse on each
 
@Steffan ohhh that makes more sense
 
i feel like that's more mapped recursion
like vectorization carries the implication of implicit and known-depth
 
3:14 AM
@cairdcoinheringaahing Maybe, yeah. It certainly feels familiar.
@cairdcoinheringaahing Wait, this is incorrect. Every sequence element after the first two should be a list containing exactly two lists.
 
Oops
 
@emanresuA Nice, I was vaguely thinking there had to be a better way than while 1
 
3:31 AM
@emanresuA 36
the single thing i can do in python golf
 
smort
 
@UnrelatedString that looked hella confusing until i looked at the previous golfs lol
i was like tf is b,a,b
 
Pip -p, infinite output, 14 bytes: Y[l]W1Y[Pll:y]
 
That's clever
 
3:35 AM
Wish there were a shorter way to get [[]]
@emanresuA I started with the Fibonacci program and tweaked it until it worked
though this one is rather easier to understand, methinks
 
att
4:35 AM
@UnrelatedString 32
 
oooh nice
 
@att lol wtf is going on here
 
att
last element of s(n) is s(n-1)
mathematica take on that is 25: Nest[{p,p=#}&,{Set@p},#]&
 
 
1 hour later…
5:44 AM
@att Ooh! Though, IDK how I feel about tuples... but it's still 34 with list output.
 
 
1 hour later…
6:46 AM
(Awaiting Sandbox update...)
 
0
A: Sandbox for Proposed Challenges

Parcly TaxelCount Futoshiki row solutions code-golfgamecombinatoricspuzzle-solver Futoshiki is a logic puzzle where an \$n×n\$ Latin square using numbers from \$1\$ to \$n\$ must be completed based on given numbers and inequalities between adjacent cells. In a solved Futoshiki puzzle any row (or column) for...

 
Yes, that one. As usual I'd like to see if there's anything I need to fix with this proposal
 
 
1 hour later…
7:59 AM
should we delete this answer? so many thing went wrong in that answer
 
Is there a good way to quickly search for all submissions on a specific language?
 
direct search for answer that contains the language name, language name should be put on top of most of the answer
 
and hope that it is not an unsearchable name
 
^ really
otherwise you need to do some SEDE hackery abusing links or whatever
 
8:31 AM
1
Q: Should rust anonymous functions fully specify parameter types?

mousetailContext Rust does a lot of smart things to determine the types of variables. This is why you rarely need to define the types of a variable explicitly. Rust can search very far to find a type for a function. For example, this is invalid: let i; but this is: let i; i=5 These lines do not need to ...

 
9:00 AM
@Niko give them a week or two to fix it - JoKing left a comment asking them to make the answer valid, so they need time to read the comment and act upon it
 
@lyxal ok, also the code can’t even run because of it’s indent is wrong lol
 
9:59 AM
In computer science, the ostrich algorithm is a strategy of ignoring potential problems on the basis that they may be exceedingly rare. It is named after the ostrich effect which is defined as "to stick one's head in the sand and pretend there is no problem". It is used when it is more cost-effective to allow the problem to occur than to attempt its prevention. == Use with deadlocks == This approach may be used in dealing with deadlocks in concurrent programming if they are believed to be very rare and the cost of detection or prevention is high. For example, if each PC deadlocks once per 10 years...
 
10:31 AM
was there a lyal?
 
10:46 AM
No
 
why
@lyxal why, what are we supposed to learn
 
I suppose it just wasn't remembered
 
right fine
Anyone still want to do LYAL?
 
11:27 AM
|:
 
\:
 
@Ginger That means transpose in J
@mathcat And that means sort/grade descending.
 
...thanks for the info??? what do I do with this knowledge
 
J:
 
@Ginger go learn J
 
11:29 AM
Is J the LYAL today?
 
@Adám why doesn’t transpose use \ which actually looks like a diagonal…?
 
we'll go with yes it is now
sound good?
I assume so, so:
Welcome to the twenty-fifth Learn You A Lang for Great Good! Today, we'll be learning J. During the event, feel free to post CMCs to practice J (JMCs), ask questions about the language, and so on.
 
@Ginger Feel its awesome power:
user image
4
 
I vote kill
CMC If all the programing languages where playing among us, who would be the impostors?
 
@mousetail This one
 
11:33 AM
@Fatalize Because J started as an ASCII transliteration of APL. APL has a mnemonic set of reverse and transpose. J kept the visual pairing, but had to compromise.
 
@Fatalize lol
 
@mousetail Well, APL is the only language I know where has meaning…
 
@Adám Wouldn't that make it a crewmate though?
@NumberBasher Why is the S so weird?
 
@mousetail That's traditional.
 
11:36 AM
There are a few normal S too
 
Yes, at the end of words and word-parts.
The long s ⟨ſ⟩, also known as the medial s or initial s, is an archaic form of the lowercase letter ⟨s⟩. It replaced the single s, or one or both of the letters s in a 'double s' sequence (e.g., "ſinfulneſs" for "sinfulness" and "poſſeſs" or "poſseſs" for "possess"—but never *"poſſeſſ"). The long s is the basis of the first half of the grapheme of the German alphabet ligature letter ⟨ß⟩, which is known as the Eszett. The modern ⟨s⟩ letterform is known as the 'short', 'terminal', or 'round' s. In typography, it is known as a type of swash letter, commonly referred to as a "swash s". == Rules... ==
 
Odd
Also the definition of a line there is actually a line segment
 
@Adám true
 
@mousetail vyxal
 
@mousetail tell Euclid
 
11:37 AM
@NumberBasher I mean Euclid was a long time ago, so it makes sense his work is out of date but that makes the info here kinda useless
@mathcat Ok Vyxal sus for sure
 
@Ginger JMC: Write a dyadic function which takes an integer left argument ≤ the integer right argument, and generates the inclusive range. E.g. _4 f 2 gives _4 _3 _2 _1 0 1 2
 
11:55 AM
0
Q: Fix the dead LYAL

Number BasherLike last time, LYAL is dead. Source. As documented here, there were no LYALs for 6 weeks. I agree with what caird says: If people aren't engaging with an event anymore, the proper thing to do is let it die. It was fun when it started, and that's great, but there's nothing wrong with saying "Wel...

 
12:07 PM
LYAL dead?
only 1 jmc no answers
 
@Seggan true
 
12:18 PM
o wait i just realized joking is a mod
 
It's actually the twenty-seventh one lol
I forgor to change the number
 
@Seggan maybe i should apply to the election to make doubly sure
 
so you can get SE Nitro :p
 
Would you get 2 diamonds after your name if you became mod twice?
 
you'd get a heart
 
12:21 PM
@mousetail no, that already happens
 
I see only 1
@Ginger My life goal would be to get a club
 
@mousetail (the joke is that a chat improvement userscript I use places an extra diamond for some reason)
 
@mousetail become mod(mod(moderator)erator)erator)
 
@mousetail i actually rank up to the omega ranking
 
Are YOU a SIGMA MOD? Take THIS personality quiz to FIND OUT!
7
 
12:24 PM
if i don't do enough flags i get demoted down to gold
 
@Ginger 1 question: Are you Jo King (Y/N)
 
@mousetail I am not Jo King, in both senses of the word
2
 
I'm usually Joking but never as good as Jo King
2
 
tfw you do do doing it wrong wrong wrong
 
Mar 30 at 12:50, by lyxal
it's a result of every 12-year-old's favourite browser hacking tool
 
12:28 PM
a very belated welcome back to mathcat
 
a very belated hi
 
12:52 PM
 
ighto back to writing an answer to the "fix the dead lyal" meta post
 
Nobody is wrong
What if the lines identify as parallel even if they are born intersecting?
 
Which is sort of ironic, because once my name was "Nobody"
@mousetail shrug
 
1 mismoved sandbox review request moved back from Off-Topic TNB
 
12:59 PM
I know, this place is as brilliant as ever
 
@lyxal lol
@lyxal would've wanted to move it to a new room but the conversation is sort of over
 
@ParclyTaxel I'm sorry for accidentally moving your sandbox message btw - it accidentally got caught up in the parallel lines discussion
 
Our opinions would stay equidistant, we are paralel
 
(tbh it happens all the time when you've got to move... 151 messages
@mousetail and we would never meet... for good.
 
...or for evil
 
1:01 PM
lol
 
My working title was "Count linear extensions of an inequality chain" – drier
 
I'm looking forward to @lyxal 's Meta answer
 
it's taken half an hour to research it
and I'm still going
 
hmm..
ok
@lyxal btw, there's more if you scroll up
 
LDW isn't that active either
 
1:08 PM
most of those
@mousetail true...
@mousetail but nobody forgets it (for now)
 
@NumberBasher I figured those would be okay to keep
 
It's always the same though, so you can just post the same thing
For LDW you actually need to read the thread to figure out what the L is
 
@lyxal ok
@mousetail true
 
1:21 PM
@lyxal @ me when you are done and I got to go
 
okie doke
 
1:54 PM
Which of these language version selectors look better:
 
second
 
That's what I'm thinking, though I'm worried it might look weird for languages with a lot of implementations
 
@RadvylfPrograms Why not align them all the way?
 
@mousetail As in line up the versions?
 
yes
 
1:55 PM
Because they won't necessarily be using the same versioning schemes
E.g., Node.js's versions are totally different from V8's
 
Also why does python only go up to 2.0
 
Because that's where the good Python is /s
Nah I just typed in numbers that looked nice, and then added in the language name later
 
It's actually really hard to find any info on python 1.x
 
@RadvylfPrograms what's the maximum number of versions allowed?
 
@RadvylfPrograms Not necessarily line up the same version numbers but use grid to they are paralel to a version, maybe two for long versions
 
1:58 PM
@NumberBasher done
 
@lyxal No hard maximum, but there's going to be guidelines. The number of versions you'd be expected to stay within reasonably is roughly proportional to how popular the language is and how large it is disk-wise
E.g., we don't need 40 different versions and implementations of Brain-flak, but 20 Pythons or 10 Vyxals would be fine
 
@RadvylfPrograms so 103 releases of a language would be a no-no?
 
0
A: Sandbox for Proposed Challenges

cs1349459Given an input, print it out but removing every character that is the letter e, either uppercase or lowercase. The string must be the exact same (minus the removed letters), and you can assume the input will be non-empty. Example Input: This is a sentence. Output: This is a sntnc.

 
> Add some more languages to the language pool
0
A: Fix the dead LYAL

lyxalA Diagnosis of LYAL Forgive me if this is a little incoherent - I wrote this at 11pm while feeling a tad bit tired and incoherent myself While I disagree with the statement that LYAL is dead, I do agree that it is slowly dying. This answer will look at the symptoms that indicate LYAL is dying and...

Think I should nominate Fig?
 
@lyxal Yeah, you wouldn't be able to include all of those, unless you came up with a really cool layering system to save space and had a good reasom.
 
2:00 PM
@RadvylfPrograms would previous releases ever be deleted?
because that could be a problem if they aren't
@Seggan yes
 
Speaking of LYAL, Trianguish was nominated a while back and I'm willing to teach it
@lyxal Whenever a new one's added, the person adding it (or bot) would be expected to get rid of any that are no longer needed
E.g., a new patch of the same minor version would probably just replace the old one
Or, maybe you'd want to keep around the most recent one, and replace the second most recent one, for bug-finding purposes
Maybe if the storage wasn't an issue, I could add an option (enabled by default) to show only the most important versions, and you could go in and see the whole list if you needed them all
I've only got 800 GB of storage right now, but maybe I'll hit my head really hard and drop $4k on 64 TB worth of SSDs and it won't be an issue :p
This UI doesn't look super good, but I can't think of a way to make the byte count and options dropdown look nice next to each other:
 
@RadvylfPrograms Looks fine
 
Idk, the gray non-bold text just looks out of place next to the bold byte count to me
 
I'd maybe swap the grey and black
but I don't think it looks out of place
 
2:35 PM
Never heared of CGSE where every post has <h1>
 
For accessibility it's better to use <h2> but a title is defiantly helpful — mousetail 10 mins ago
defiantly helpful...when you're helpful and you will not stop being helpful
:p
 
I can never spell definatly
 
Yeah me neither
 
and my computer always corrects it to definatly
 
It's got a weird combination of like, double is which are hard enough, then I can never remember what it is in def.n.t.?ly
 
2:42 PM
@lyxal oh ok
and it looks amazing to me
I'm not gonna look at it today (which for me is probably 2 hours) and of course not until a reasonable time tommorow (for sleep) cuz I've got a test day tommorow
 
I think chat events kind of have a natural life cycle
It happened with BMG, it'll happen with LYAL
Then we just move on to a new event, and circle back to it some time in the future when there's interest again
I think for now we can squeeze more juice out of this avocado though
 
3:04 PM
@RadvylfPrograms true
@RadvylfPrograms hhh
 
wow
 
wow
thats so cool
 
i squish the body:
 
3
Q: Solve Cubic Using Cubic Formula

cs1349459Description All cubic equations can be solved, and every cubic has at least one solution. The goal of this challenge is to solve a given cubic using the inputs, and (obviously) the smallest program size. Rules The solution must solve a cubic correctly, using any method. Scoring The score is based...

0
Q: Cut along the lines

Wheat WizardIn this challenge you will take as input a non-empty list of binary values (these can be booleans or integers on the range 0-1), you should output all the ways to partition the list into non-empty sections such that no two adjacent equal values in the initial list are separated into different sec...

 
3:15 PM
with every update desmos comes closer to an actual programming language. I wonder how long it'll be until we get "Implement Tetris in Desmos" :p
 
0
A: Language nominations for the "Learn You a Lang for Great Good" chat event

SegganFig Fig is a functional, pure ASCII, hypercondensed Lisp. That is, its a Lisp will all parentheses and whitespace removed. Here is a more in-depth explanation of how Fig was derived. Fig is also one of the golfiest languages on this site, thanks to its irrational (!) byte scoring system. In the c...

 
I do love the 4 pinned messages :b
 
@LYaLNominations wait we have this
desmos.com/calculator/w0mbh5n8wc lol love how it just jiggles then blows up
 
that's what being divided by zero feels like
 
3:35 PM
@Ginger lol thats already implemented in desmos smh
 
vertical lines act as teleporters
argh too many pins
i cant get to my rooms
 
@Seggan lmao cant u just press the show more button to show more of ur favorite rooms
 
4:03 PM
@WheatWizard, finally got around to updating this - could you undelete it, please?
 
 
2 hours later…
6:30 PM
I did it
I actually got a bytecode to scan
hell. yes.
 
you ... what?
are you implementing a qr code scanner?
 
in a sense
let's discuss in ottnb
 
6:56 PM
@Ginger Given lyaln't, I think we can unpin it
 
ok
 
 
3 hours later…
9:35 PM
gotta love google destroying your search results :P google.com/search?client=firefox-b-1-d&q=dart+mission
 
 
2 hours later…
11:21 PM
Does anyone know any important constants that start with 2.147899?
 
OEIS has none
 
nyet
 
Where does the constant come from?
Could be some combination of other constants (e.g. addition of pi and e :P)
 
maybe it's new and we can name it the Redwolf constant
 
@cairdcoinheringaahing not so related but OEIS has a ton of sequences for decimal expansion of some combination of pi and e :P
 
11:25 PM
@cairdcoinheringaahing it's what a(n + 2) / a(n) approaches, where a is the Narayana cows sequence (like fibonacci but you sum the last numbers and the one two numbers before it)
 
why on earth did you calculate that?
I want to know what prompted this
 
Has to do with my compression algorithm
Long story
 
> a(n+1)/a(n) tends to x = 1.465571... (decimal expansion given in A092526) in the limit n -> infinity. This is the real solution of x^3 - x^2 -1 = 0
 
WHAT
 
That's interesting
 
11:26 PM
I want the whole story
 
Will tell it in OTTNB later
 
@Bubbler A01960X just is 2 * pi * e / each odd number :P
 
is this "later" as in tomorrow later or "later" as in radvylf will fix his website later
 
> Decimal expansion of the power tower of the ratio E/Pi.
> This infinite tetration limit of (E/Pi)^^n is also the only solution of x*(Pi/E)^x = 1
Ah yes, glad we have that written down
> Decimal expansion of e + Pi + e*Pi + e^Pi + Pi^e + Pi*sqrt(e) + e*sqrt(Pi).
 
@RadvylfPrograms Yeah it's basically the square of asymptotic ratio of a(n+1)/a(n)
 
11:29 PM
A????????: The decimal expansion of e(pi)pi^2(e)pi^e^e pi pi(e) e(e)^e(2) log(pi e)e
 
@RadvylfPrograms Also it happens to be the real solution to another cubic x^3-x^2-2x-1 = 0
 
@Ginger Later as in next few days
 
because a_n = a_(n-1) + a_(n-3) = a_(n-2) + a_(n-3) + a_(n-4) = a_(n-2) + 2a_(n-4) + a_(n-6)
 

« first day (4260 days earlier)      last day (586 days later) »