jbrains

joined 1 year ago
[–] jbrains 1 points 2 months ago

The Handmaid's Tale

We

Nightfall

The Terminal Experiment

[–] jbrains 8 points 2 months ago* (last edited 2 months ago)

The fact that the loop is doing "find first driver matching these strange criteria" seems most obviously obscured by the pattern of assigning a value, then killing the loop or not. This strikes me as the part that makes the algorithm tedious to test, since it forces us to use a collection to test the intricacies of the inner conditions.

Once we isolate "find first driver matching condition" from computing the condition for each driver, I consider the rest a question of personal taste. Specification pattern, composition of filters, something like that. Whatever you find easier to follow.

[–] jbrains 4 points 2 months ago (1 children)

Who else immediately heard the song when they saw this post in their feed?

[–] jbrains 4 points 2 months ago (1 children)

I would hope that scratching any word onto a student's body would be grounds for suspension.

[–] jbrains 2 points 2 months ago

Only if temperature distribution is a continuous function.

[–] jbrains 2 points 2 months ago (1 children)

Wise personal account, if you want virtual cards. They're debit, not credit, but it's an option.

[–] jbrains 50 points 2 months ago (3 children)

Anyone else remember when Joe Rogan was a harmless comedian?

[–] jbrains 2 points 2 months ago

FWIW, both big chain grocery stores where I live (in Canada) mark the taxes charged on each item, albeit only with a single-character code that's explained nearer the bottom of the receipt. I'm surprised that it's legal anywhere in our respective countries to withhold that information.

And indeed, even though you can see the nontaxable items clearly on the receipt, that's not made clear at the shelves where the prices are posted. That's where they really need to show the price including taxes.

Some liquor stores in Canada, for example, show both prices: before and after taxes. I'll let you guess which price is rendered in the smaller font.

[–] jbrains 2 points 2 months ago

Even better than rg is rga. Indeed, you have a fine list.

[–] jbrains 3 points 2 months ago (4 children)

No, eza is one of those modern Rust replacement programs. It replaces ls.

[–] jbrains 3 points 2 months ago (1 children)
[–] jbrains 7 points 2 months ago (10 children)

You might like eza even more!

view more: ‹ prev next ›