One great feature of Vim (and probably other editors) is ā€œkeyword completionā€: Type the beginning of a word, then press Ctrl-N and Vim will give autocompletion options by scanning all the words in the current file. For example, when I now type ā€œauā€ and then Ctrl-N, it will suggest ā€œautocompletionā€.

This is so very useful when writing text / prose. Itā€™s especially useful for German text with all those long words like ā€œInformationssicherheitsbeauftragerā€. I use this feature all time and I sorely miss it when Iā€™m forced to use some other crappy editor. šŸ˜©

https://movq.de/v/96049c4aea/s.png


#spsmx5q

(#6r76lfq) Looks like heā€™s just pressing enter twice really, resulting in what I think are hard paragraphs šŸ¤£ e2 80 a8 is the hexdump for \u2028 ā€“ the unicide newline character used in multi-line twts.


#zychptq

Wow, itā€™s crazy how many people already delivered donations for our scout flea market today. Collecting and delivering officially starts tomorrow, today was just the setup. Covering the floor of the townā€™s multipurpose hall, transporting and arranging beer tables and benches, setting up sign, that sort of thing.

But on the flipside, weā€™ve also been abused as dumpsters again. Some asshole brought us a deep fryer. With the oil still in it. Unfortunately, we discovered that too late.

The big work starts tomorrow morning at 8:30. And the flea market where we actually sell the stuff is on Sunday. Itā€™s gonna be a hell of a weekend.


#h52lhqq

(#gkwcrvq) @mckinley@twtxt.net Yes, over 20 years ago, a hard disk died. Not completely, only some parts of it, but it was enough to destroy ~30 GB or something like that.

I bought a lot of DVDs over time and many of them have become unreadable. Star Trek DS9 is among the victims, parts of TNG, parts of X-Files. Really annoying. I didnā€™t have the required disk space to make backups and, honestly, didnā€™t think they would die so quickly. When/if I buy movies these days, I either make a backup right away or I treat those DVDs as ā€œwill die soonā€. šŸ«¤

CDs regularly die, too, although not as often as DVDs.

And of course, lots of floppy disks are dead now. šŸ˜‚šŸ«¤


#uguqlpq

(#gkwcrvq) @mckinley@twtxt.net When typesetting our graduation newspaper (ā€œAbizeitungā€ as we call it), I destroyed the work of a whole day. :-D

I plugged in the USB stick of my mate (exact same model as mine) to do a backup of that dayā€™s work. Since mine was already plugged in, the mount path /media/USB_DISK or whatever it was already existed. Throughout the day I saved everything on my drive (I donā€™t know the reason for that anymore). The newly plugged in thumb drive then got automatically mounted by Konqueror as /media/USB_DISK2 or something like that. I wanted to show off my other mate how cool Linux was and how quickly the command line was able to get things done. By force of habit I cded into the wrong path to first rm -rf *, so that there was room for the new stuff. Indeed, the data was ruined super quickly.

When I noticed my fuckup I aborted immediately, but it was already too late. I went to the family computer to research recovery tools. All the files I was able to restore were corrupted. The Scribus XML files ended somewhere in the middle. So then we decided to redo all the work instead of wasting more time trying to fill in the missing XML. Unsurprisingly, it turned out that not only the last closing tags were missing, much more of the contents disappeared. I remember that I gladly noticed the second typesetting round went much faster. :-)

I could be totally wrong here, but I think one problem was that write operations to external devices were not immediately synced, one had to expicitly flush the write cache, e.g. by umounting it properly. Early on in the typesetting process we decided to have each page or spread as separate *.sla, because a) our computers were not powerful enough to handle a large project and b) once the layout template was cast in stone, we could easily work in parallel and join everything in the end. That helped to limit the damage to just my work. My mateā€™s was still there I believe.

Oh yeah, thatā€™s certainly the best strategy, @bender@twtxt.net! ;-)


#f7po3va

(#v5mxp7a) @prologic@twtxt.net Planning it ahead of time is all well and good if you have the money to buy 6 or 8 hard drives at once. I really donā€™t, and I want to mirror the whole thing offsite anyway. Mergerfs will let me do it now, and Iā€™ll buy a drive each for SnapRAID in short order.


#7v2346a

(#sdorpga) @prologic@twtxt.net ZFS is fine but itā€™s out-of-tree and extremely inflexible. If Btrfs RAID5/6 was reliable it would be fantastic. Add and remove drives at will, mix different sizes. I hear itā€™s mostly okay as long as you mirror the metadata (RAID1), scrub frequently, and donā€™t hammer it with too many random reads and writes. However, there are serious performance penalties when running scrubs on the full array and random reads and writes are the entire purpose of a filesystem.

Bcachefs has similar features (but not all of them, like sending/receiving) and it doesnā€™t have the giant scary warnings in the documentation. I hear itā€™s kind of slow and it was only merged into the kernel in version 6.7. I wouldnā€™t really trust it with my data.

I bought a couple more hard drives recently and Iā€™m trying to figure out how Iā€™m going to allocate them before badblocks completes. I have a few days to decide. :)


#v5mxp7a

(#vrckl3a) @aelaraji@aelaraji.com At work? Not a chance. šŸ˜‚

Private life? Sure. There was a regular community event called ā€œA week in the TTYā€ over at nixers.net, where we spent a week only in text mode. It was easily doable.

There are some things where a graphical browser is pretty much mandatory these days. Online banking comes to mind. I could in theory physically go to the bank, but Iā€™m way too lazy for that. šŸ˜‚

Netflix is more popular nowadays and I wouldnā€™t want to miss that, either.


#i375rsq

(#seft4wq) @prologic@twtxt.net I read the help and itā€™s a bit clearer now. Still a bit wonky. I will probably have it already forgotten by this evening. ā€œTermā€ is exact match and ā€œMatchā€ adds some kind of unknown fuzziness on top.

The second bullet point can be addressed I reckon. Itā€™s purely a UI thing. Also, Iā€™d add a short explanation for the search types next to them, so people donā€™t have to look things up all the time through the help or even follow the links to the bleve documentation.

I like the magic detectionā„¢. Thatā€™s what people expect. At least I did.


#754vltq