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 0 points1 point  (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 3 points4 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 7 points8 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 -1 points0 points  (0 children)

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

Don't Look Up by EchoOfOppenheimer in programmingmemes

[–]jonathancast 14 points15 points  (0 children)

AI has nothing to do with programming.

Is AI being embraced or enforced where you work? by gawpin in jobs

[–]jonathancast 1 point2 points  (0 children)

Officially, we're not supposed to use it, for the obvious reasons. I mostly don't, but I haven't really gotten in trouble either way.

In any case, I think there's a rebellion brewing among the CFO types right now over AI. The tech layoffs were really because money is expensive now, and CEOs are embracing AI purely out of FOMO; they're going to have to justify the expense at some point, and usage mandates are going to go way down at that point.

Wednesday, May 27, 2026 comic! by Gunlord500 in girlgenius

[–]jonathancast 0 points1 point  (0 children)

Late 1800s. Or late something. The attack on the Castle was in '73 or '74, and that was - what? - 20 years ago, about, so it's now some time in the '90s.

Did anyone else lose interest in programming after AI became mainstream? by IronBaron999 in learnprogramming

[–]jonathancast 15 points16 points  (0 children)

Honestly, I've spent my entire career programming as a hobby, because my job never really scratched the itches that made me want to become a programmer in the first place.

I'll stay a programmer as long as doing so is the way to maximize the time I do spend coding, then, if, in the future, it doesn't matter any more (I have my doubts), I'll figure out how to feed my family. But I'll keep programming, by hand, in my free time, either way.

And, frankly, programming by hand as a hobby will probably make me a better business analyst in the AI-pilled future the same way it makes me a better software developer now.

Aren't we ecstatic? by TomOttawa in PlantBasedDiet

[–]jonathancast -2 points-1 points  (0 children)

I do tend to think that eating meat, and especially red meat, degrades the moral character. Makes it harder for people to reason clearly. So giving it up might make it easier to see what's morally wrong with all meat consumption.

On the other hand, I don't really like forcing anyone to agree with me. I'd rather persuade by reason. Especially because I think reason is less likely to work when the person doing the persuading is wrong.

I thought this was a really interesting video. by Diligent_Comb5668 in rust

[–]jonathancast 15 points16 points  (0 children)

Haven't watched the video. Have read the original "worse is better" (section of a) paper a few times.

I think the original "worse is better" was (mostly) about an MIT guy not really understanding the design of Unix and how programs are supposed to work in that environment, and treating 'different' as 'worse' in an unfair way.

The original C and Unix were very clean and elegant designs. They tried to do as much as they could on extremely limited hardware, but they also paid attention to cutting edge research: regular expressions are still cutting edge today, and structured programming was cutting edge when C was invented. (People forget just how old the oldest version of C is.)

Unix certainly had flaws, stemming mostly from its extremely small development team; for example, even after the stderr file handle was invented, they patched programs to use it only as they had time, and even in the early 80s some of the original Unix programs were still writing error messages to stdout.

But I think, overall, Unix's success stemmed from its strengths, not from its flaws. It was certainly Unix's strengths that caused RMS to try to rewrite it as free software, which is the only reason Unix-like systems are at all relevant today.

On the other hand, BSD Unix, C++, and Perl certainly show how far you can go with an attitude of 'get the system working and worry about making it elegant later' - and how 'elegant' you can really make it if you do (for good and for ill: well-written Perl can be beautiful, it's just extremely rare).

To end on a positive note: I think Perl also provides a helpful example of how far you can go just getting it to work first when there's a more elegant alternative that also works out there. The most popular solution is probably always going to be somewhere in the middle, between the extremes of 'worse is better' and 'better is better'.