It might have been horse-drawn in the 1890s with color paint, and years later photographed with a modern camera.
- 0 Posts
- 9 Comments
Ferk@programming.devto
Programming@programming.dev•diskonaut is ncdu, but with better visualization & Rust
2·11 months agoAnd if looking for Rust alternatives, there’s
dua.Particularly user friendly when called in interactive mode with
dua i, you can navigate the tree immediately as it populates and calculates space progressively.
That’s horrible for muscle memory, every time I switch desk/keyboard I have to re-learn the position of the home/end/delete/PgUp/PgDn keys.
I got used to
Ctrl-a/Ctrl-eand it became second nature, my hands don’t have to fish for extra keys, to the point that it becomes annoying when a program does not support that. Some mapCtrl-ato “Select all” so, for input fields where the selection is one line, I’d ratherCtrl-athenleft/rightto go to the beginning/end than fish forhome/end, wherever they are.
Alt-deletedeletes the whole word before cursorAlt-ddeletes the whole word after cursorCtrl-kdeletes (kill) everything after the cursor
Whatever is deleted is stored in the “killring” and can be pasted(yanked) back with
Ctrl-y(like someone else already mentioned), consecutive uses ofAlt-delete/Alt-dadd to the killring.Alt-b/Alt-fmoves one word backwards / forwardsAlt-tswaps (translocates) the current word with the previous oneCtrl-_undo last edit operation
All those bindings are the same as in emacs.
Also, normally
Ctrl-dinserts the end-of-file character, and typically can be used to close an active shell session or when you have some other interpreter open in the terminal for interactive input.
That quote was in the context of simply separating values with newlines (and the list also included “your language’s
splitorlinesfunction”).Technically you don’t even need
awk/sed/fzf, just a loop in bash doingreadwould allow you to parse the input one line at a time.while read line; do echo $line # or whatever other operation done < whateverfileAlso, those manpages are a lot less complex than the documentation for C# or Nushell (or bash itself), although maybe working with C#/nushell/bash is “easy when you’re already intuitively familiar with them”. I think the point was precisely the fact that doing that is easy in many different contexts because it’s a relatively simple way to separate values.
For the record, you mention “the limitations of the number of inodes in Unix-like systems”, but this is not a limit in Unix, but a limit in filesystem formats (which also extends to Windows and other systems).
So it depends more on what the filesystem is rather than the OS. A FAT32 partition can only hold 65,535 files (2^16), but both ext4 and NTFS can have up to 4,294,967,295 (2^32). If using Btrfs then it jumps to 18,446,744,073,709,551,615 (2^64).
Yes… “metadata” is becoming an overused term. Not all data is metadata.
My first thought when I read the title was about those
.nfofiles used by Kodi/Jellyfin and other media centers to keep information relative to the media files.
Ferk@programming.devto
Programming@programming.dev•The graying open source community needs fresh blood
53·1 year agoIronically, I think it’s the younger ones the ones pushing for discord the most. Some projects opened a discord because it actually made it more attractive to young people.
The question is how to make an open source alternative more attractive.

Technically, even an optical port can deliver power. Light is just a particular form of electromagnetic wave that just happens to use another method of transmission (and you might need a different mechanism to transform its energy), but it also has an intensity, potential energy and resistance in the medium of propagation.