syklemil

joined 3 months ago
[–] [email protected] 3 points 1 week ago (2 children)

And the macaroni soup with sugar and cinnamon?

[–] [email protected] 3 points 1 week ago (1 children)

Isn't that sort of just the cost of doing business in C? It's a sparse language, so it falls to the programmer to cobble together more.

I do also think the concrete example of emails should be taken as a stand-in. Errors like swapping a parameter for an email application is likely not very harmful and detected early given the volume of email that exists. But in other, less fault-tolerant applications it becomes a lot more valuable.

[–] [email protected] 2 points 1 week ago

It is pretty funny that C's type system can be described pretty differently based on the speaker's experience. The parable of the Blub language comes to mind.

[–] [email protected] 13 points 2 weeks ago (4 children)

Parsing is a way of "validating early". You either get a successful parse and the program continues working on known-good data with that knowledge encoded in the type system, or you handle incorrect data as soon as it's encountered.

[–] [email protected] 5 points 2 weeks ago (1 children)

I used Ratpoison for well over a decade, and only replaced it with sway once I had a new machine and figured it was time to try Wayland. Apparently that's some 4-5 years ago already.

[–] [email protected] 5 points 2 weeks ago (2 children)

it really does sound more and more like people think it's Stormblood 2

[–] [email protected] 13 points 2 weeks ago (6 children)

I feel I gotta point out it's a pretty funny example—email comes up so frequently as a thing that you're recommended to neither parse nor validate, just try to send an email to the address and see if it works. If you need to know that it was received successfully, a link to click is the general method.

But "parse, don't validate" is still a generally good idea, no matter the example used. :)

[–] [email protected] 5 points 2 weeks ago

DAP stands for Debugger Adapter Protocol or something close to that. My impression is it's pretty much the debugger variant of the Language Server Protocol (LSP).

[–] [email protected] 3 points 2 weeks ago

Been looking forward to try the new LSP configuration method!

[–] [email protected] 4 points 2 weeks ago

Yeah, you generally just want the same auto-stuff done as would be enforced in CI anyway.

… all the other stuff you could fix but wind up just ignoring because your team ignores it will just glare at you until you sneak it in somehow

[–] [email protected] 24 points 2 weeks ago

It's just a monoid object in a category of endofunctors, no biggie

[–] [email protected] 2 points 2 weeks ago

I think this also influences our coffee habits. The water is kind of a significant influence on the result, and some roasting styles are likely better than others at covering up unpleasant water.

view more: ‹ prev next ›