Deebster

joined 1 year ago
[–] [email protected] 3 points 4 hours 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.

[–] [email protected] 4 points 16 hours ago (1 children)

DFRA

That doesn't work, though.

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

[–] [email protected] 1 points 1 day ago

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

[–] [email protected] 10 points 2 days ago

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

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

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

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

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

[–] [email protected] 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.

227
submitted 1 week ago* (last edited 1 week ago) by [email protected] 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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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

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

This might even be an appropriate use for AI (maybe even running in-browser for privacy). I imagine something that reads your prompt and auto-populates a few rings to search. You review and edit the suggested rings, then click search.

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

I don't think that's the opposite of plot armour, though - O'Brien was too much a main character (and too popular) to be killed off, so we knew he'd survive the episode/danger/trauma.

He definitely broke his arm more than the rest of the cast combined, but was spared any serious injury until the plot required it.

 

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

Spoilers ahead.

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

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

Spoilers ahead.

 

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.

 

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.

30
Bacon v3 released (dystroy.org)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

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 ›