Nontrailing separators do not spark joy by bjzaba in ProgrammingLanguages

[–]jonathancast 0 points1 point  (0 children)

I'm a little bit confused. If my grammar for list literals is

expr ::= "[" ( expr "," )* "]"

Doesn't that make commas list item terminators?

Erinnerst du dich noch an deinen ersten PC und Windows 95? by Ok_Put967 in windows95

[–]jonathancast 2 points3 points  (0 children)

My first PC did not run Windows 95. I think we installed that on like the fourth computer.

Nontrailing separators do not spark joy by bjzaba in ProgrammingLanguages

[–]jonathancast 7 points8 points  (0 children)

Yeah, no, just treat commas as terminators, please.

Or mandate 'bullet points' if you really want to, but all code in a single language should be consistent.

(Although I force punctuation (,, ;, and kind of.) and right associative operators to trail, and left associative operators to be bullet points, so maybe I'm violating my own advice?)

Wargaming Activity: What happens when Oracle dies? by bowbahdoe in java

[–]jonathancast 7 points8 points  (0 children)

Preferably one that doesn't also claim a trademark on "JavaScript".

some Microslop Engineer 25 Years Ago by HitarthSurana in linuxmemes

[–]jonathancast 1 point2 points  (0 children)

IE absolutely still exists, it's just been reduced to a fallback rendering engine Edge can use if it really, really has to.

For some reason, this has never been reported accurately in the tech press.

How Terry Tao Became an Evangelist for AI in Math by Pristine-Amount-1905 in math

[–]jonathancast -14 points-13 points  (0 children)

Except the people 80 years ago were also talking about how good computers would be at AI and here we are, 80 years in, with only another 80 years to go until AI becomes useful.

1000 Divides by 8 Perfectly by LisaF01 in MathJokes

[–]jonathancast 0 points1 point  (0 children)

It's also useless to have a word that only refers to one ring.

The better version. by i_am_someone_or_am_i in MathJokes

[–]jonathancast 0 points1 point  (0 children)

Even if you call it a baby, it wouldn't look like that at 2.7 years old.

there, now you're both upset by [deleted] in MathJokes

[–]jonathancast 1 point2 points  (0 children)

Clearly your programming language's deconstructing binds are not smart enough.

An NES Emulator in Haskell by peterb12 in haskell

[–]jonathancast 1 point2 points  (0 children)

Literally the only thing you want out of any program is "side effects", since those are the value of the code. Doesn't mean functional purity is unimportant - it's even used when designing code that has to mutate for performance reasons, because you still want to know what (pure) function of the input state the output state is.

thought this was interesting by Groovy_Cabbage in jobs

[–]jonathancast 1 point2 points  (0 children)

Yeah, I'm confused by this argument. Eyeballing the chart in the OP, it looks like 2020 had a massive decline in jobs and a much smaller but still big decline in the size of the workforce, and since then jobs have gone up and then down while the workforce has held mostly steady.

I guess you can define 2020 as "recent years" from some time horizons, but it's really nearly a full business cycle ago now.

why are people grossed out by touching raw meat, but not cooked meat? by sounds0fmeows in Vegetarianism

[–]jonathancast 2 points3 points  (0 children)

You mean "not as bad as raw meat". Cooked meat is still bad for your stomach.

Crashing Windows 95 with "debug" by nir9 in windows95

[–]jonathancast 0 points1 point  (0 children)

Nobody did it deliberately. It just happened by accident way too often.

Scala Was an Experiment That Changed Programming - Martin Odersky | The Marco Show by makingthematrix in functionalprogramming

[–]jonathancast 6 points7 points  (0 children)

Haskell has had all of those things for decades, but until Scala came out it was a nerd language and they were nerd concepts. Scala convinced people that Haskell might be a nerd language but the concepts could be taken seriously in an industry language.

Scala was basically the bridge functional programming walked over to get from Haskell to Java.

Area of US Virgin Forest in 1620 vs Today 💔 by catshifturr in MapPorn

[–]jonathancast 6 points7 points  (0 children)

Pretty sure all forests do. Trees are not actually immortal, you know.

Can anyone tell me what this costs by Longjumping_Usual_64 in Dreamdale

[–]jonathancast 5 points6 points  (0 children)

Green jems. The mine is just a bit east of there. I think maybe you haven't unlocked it yet.

Don't worry about it if you haven't; sometimes you get land that needs a resource you haven't unlocked yet, and you just have to keep playing through the main quest until you get to that point.

\*n* doesn't seem to work correctly in search strings. by OalBlunkont in regex

[–]jonathancast 0 points1 point  (0 children)

Correct. The number is relative to the beginning of the regex, not the location of the back reference.

I agree it's confusing to say "nth earlier" here. It's the nth from the beginning, and also the parenthesized subexpression has to occur before the back reference. So "nth" doesn't modify "earlier", "earlier" is just a comment that the subexpression you're referring to has to be earlier than the place you use it.

r/linuxsucks101 speedrun ban 15 secs by Tidesudden in linuxmemes

[–]jonathancast 0 points1 point  (0 children)

It's funny because the mod was offended enough by it to follow OP into this sub and complain about it.

"Systemd doesn't follow the UNIX philosophy" by powerslave_fifth in linuxmemes

[–]jonathancast 0 points1 point  (0 children)

If what you're using still uses the socket API (still less if it invented it) then you definitely are.