Deebster

joined 1 year ago
[–] Deebster 3 points 1 day ago

I just saw the top two thirds, and had to scroll to see the punchline and the comm - what a pleasant surprise! For me, it's the 3DO but that's to niche for most.

[–] Deebster 4 points 1 day ago (1 children)

DFRA

That doesn't work, though.

For a recursive acronym, you want something like ADFRA Didn't Forget Recursive Acronyms.

[–] Deebster 6 points 2 days ago* (last edited 1 day ago)

All the studies I've seen say the world is safer than ever for kids, but parents seem to live in fear.

My childhood memories were parents saying "don't come back until it's dark", and summers full of building dens, getting stung by nettles and sleeping well. "In my day" vibes, I know, but hopefully there's still a silent majority of parents that give their kids this freedom and these articles are overblown.

[–] Deebster 1 points 2 days ago

Is this a joke? This is surely worse than using semvar.

[–] Deebster 10 points 3 days ago

It's a blue screen that's shown because something has died, I think it's a perfect fit.

[–] Deebster 1 points 3 days ago

I was going to post this myself, but you beat me to it. Great video.

[–] Deebster 2 points 1 week ago (2 children)

date-fns? It's third in my search results but doesn't ring any bells to me.

[–] Deebster 18 points 1 week ago (5 children)

I'll be very happy to not have to use Date any more. Pop quiz, what's in whatnum?

const vday = new Date('14 February 2025');
const whatnum = vday.getDay() - vday.getMonth();

Err, it's 5... Ha, amazing; that's not even the gotcha I meant to demonstrate. getDay returns the day of the week, the day of the month is returned from getDate.

Take two:

const vday = new Date('14 February 2025');
const whatnum = vday.getDate() - vday.getMonth();

So this is 14 - 2 = 12, right? Nope! The day (from getDate) is 1-based whereas month is 0-based, so 14 - 1 = 13.

208
submitted 1 week ago* (last edited 1 week ago) by Deebster to c/[email protected]
 

Title text:

Can you pass the nackle?

Transcript:

[Cueball is holding a pointer and gesturing towards a whiteboard that shows the chemical formulas HCOOH and CH₃COOH. Below these, respectively, are classic diagramatic representations of formic/methanoic acid [with an apparently accidental doubled bond between the carbon and the hydroxy group] and acetic/ethanoic acid; being, in turn, a single- and double-carbon chain molecule with a double-bonded oxygen (carbonyl group) plus an oxygen-hydrogen (hydroxy) upon one carbon of each, to form the full carboxyl grouping, and hydrogens completing all other expected bonds.]
Cueball: The two simplest carboxylic acids are hakoo and chuckoo.
Off-panel voice: No!!

[Caption below the panel:]
How to annoy chemists

Source: https://xkcd.com/3040/

explainxkcd for #3040

[–] Deebster 4 points 1 week ago

Yeah, worth a read; it’s fun.

Rating: 1.5/5

That rating doesn't seem to match the rest of the review.

[–] Deebster 1 points 1 week ago

TypeScript's readonly is compile-time only and has zero runtime cost

This point means that I'll probably never use the good ideas in this post: if I'm doing JS complicated enough to need Object.freeze(), I'll be doing it in Typescript.

[–] Deebster 20 points 1 week ago* (last edited 1 week ago)

the neater and more consistent your handwriting, the easier time the Nuwa pen will have captur[ing] it

That's me out then

[–] Deebster 2 points 2 weeks ago

Forgejo v10.0 is the last version to allow a transparent upgrade from Gitea v1.22 or lower

Seems like if you're planning on moving to Forgejo then it's simpler to do it now rather than later.

 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

99
Animal Far (programming.dev)
submitted 2 months ago* (last edited 2 months ago) by Deebster to c/[email protected]
 
 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

27
submitted 2 months ago* (last edited 2 months ago) by Deebster to c/linux
 

cross-posted from: https://programming.dev/post/21363946

The normal complaint new Zellij users have is that it has a lot of keybindings which are likely to conflict with programs like nvim or Helix that use a lot themselves. Before, the workflow was to lock Zellij with ctrl-g which let input go through to the focused shell/program.

The new mode has most of the keybindings behind the ctrl-g lock, e.g. a new tab is ctrl-g t n (instead of ctrl-t n). You can still use alt-(cursor) for changing focus and alt-n/alt-f for a new tiled/floating pane, but all other key presses get passed along.

You can switch between default and unlock-first (non-colliding) modes so if you need those alt shortcuts you can lock everything as before.

Plus some other nice features like being able to change modifier keys while running (via the Kitty Keyboard Protocol), and autoloading the new config when you edit the file.

34
submitted 2 months ago* (last edited 2 months ago) by Deebster to c/commandline
 

The normal complaint new Zellij users have is that it has a lot of keybindings which are likely to conflict with programs like nvim or Helix that use a lot themselves. Before, the workflow was to lock Zellij with ctrl-g which let input go through to the focused shell/program.

The new mode has most of the keybindings behind the ctrl-g lock, e.g. a new tab is ctrl-g t n (instead of ctrl-t n). You can still use alt-(cursor) for changing focus and alt-n/alt-f for a new tiled/floating pane, but all other key presses get passed along.

You can switch between default and unlock-first (non-colliding) modes so if you need those alt shortcuts you can lock everything as before.

Plus some other nice features like being able to change modifier keys while running (via the Kitty Keyboard Protocol), and autoloading the new config when you edit the file.

 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

33
Bacon v3 released (dystroy.org)
submitted 3 months ago* (last edited 3 months ago) by Deebster to c/rust
 

Bacon is a Rust code checker designed for minimal interaction, allowing users to run it alongside their editor to receive real-time notifications about warnings, errors, or test failures (I like having it show clippy's hints).

It prioritizes displaying errors before warnings, making it easier to identify critical issues without excessive scrolling.

Screenshot (from an old version I think):

v3 adds support for cargo-nextest, plus some QoL improvements.

v3.0.0 release notes

 

Getting later and later at posting these!

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

 

Let’s discuss tasks, contestants and the show in general.

Spoilers ahead.

view more: next ›