rycee

joined 2 years ago
[–] rycee@lemmy.world 8 points 3 days ago (1 children)

It might be excessive for your purposes but an alternative may be to use zoxide. It learns the directories you use regularly and you can then cd to those directories through the z command. E.g. z docs.

[–] rycee@lemmy.world 6 points 4 days ago

Having used a bit of htmx I think it is pretty cool to incorporate some of its functionality into vanilla HTML to actually make it a bit more hypermedia.

[–] rycee@lemmy.world 2 points 4 weeks ago* (last edited 4 weeks ago)

Perhaps a board from some form of drone that fits in the nose cone?

Edit: Never mind, saw the comment about the #1 pin.

[–] rycee@lemmy.world 21 points 4 weeks ago (1 children)

Per the article, there must be replacement batteries available for at least five years after the end of the product being available on the market. I don't think it would make much sense to keep tonnes of batteries in storage for so long. Presumably battery manufacturing would therefore have to continue over time. Maybe device manufacturers will try to share battery designs across device models so they don't need so many manufacturing lines?

Would be great if it means that I could swap out my device's battery after a few years and the new battery takes advantage of the improvements over that time.

[–] rycee@lemmy.world 47 points 1 month ago (13 children)

Bummer, perhaps it can be repaired? By the way, be very careful about sharing photos of keys, it is often quite easy to produce a duplicate key from a photo.

[–] rycee@lemmy.world 0 points 4 months ago (1 children)

Wow, I've never heard of this fast restart feature before. Did it disappear after Windows 95?

[–] rycee@lemmy.world 6 points 4 months ago (1 children)

I'm pretty sure that IFS does not apply to quoted strings since word splitting happens before the quote removal (see Shell Expansion).

$ ( files=$(ls); IFS=$'\n' ; for x in $files; do echo $x; done )
file a.txt
file b.txt
plainfile.txt

$ ( files=$(ls); IFS=$'\n' ; for x in "$files"; do echo $x; done )
file a.txt file b.txt plainfile.txt
[–] rycee@lemmy.world 1 points 4 months ago

For maximum pedantry, it may be worth mentioning that filenames in typical Linux file systems can contain newline characters.

[–] rycee@lemmy.world 3 points 4 months ago (4 children)

Wouldn't for i in "$LIST"; just result in a single loop iteration with $i being the entirety of $LIST?

[–] rycee@lemmy.world 4 points 4 months ago* (last edited 4 months ago)

Superb visualizations! The last one with the time until first flip was especially mesmerizing.

Edit: Forgot to call out the audio design. It was really sweet.

[–] rycee@lemmy.world 3 points 5 months ago

I didn't know about this API and it seems really cool. Will definitely try it out.

[–] rycee@lemmy.world 3 points 6 months ago

Awesome, thanks a lot!

view more: next ›