Readit News logoReadit News
kbr2000 commented on Pizlix: Memory Safe Linux from Scratch   fil-c.org/pizlix... · Posted by u/nullbyte808
metadope · 7 days ago
> Pizlix requires you to set up your machine thusly:

  > You must have a /mnt/lfs partition mounted at /dev/sda4.
should say

  > You must have a /dev/sda4 partition mounted at /mnt/lfs.
Pedantic Sunday: Happy Hanukkah!

kbr2000 · 4 days ago
Or rather:

> You must have a filesystem, located on the /dev/sda4 device, mounted at /mnt/lfs.

The /dev/sda4 device represents the fourth (primary) partition on the /dev/sda block device, which represents the first SCSI disk.

kbr2000 commented on Python is not a great language for data science   blog.genesmindsmachines.c... · Posted by u/speckx
slashdave · a month ago
Native python is hopeless for numerics, which is why just about everyone just uses numpy, which solves all of these issues. Of course, a separate package. But the strength of python is that it can fairly seamlessly incorporate these kinds of packages that add core capabilities. Another important example: pytorch.
kbr2000 commented on Forth – Is it still relevant?   github.com/chochain/efort... · Posted by u/lioeters
1vuio0pswjnm7 · a month ago
"... after working with the [SORTA] language for a while, I guess I can read it pretty easily, but I also think FORTH is a beautiful language)." - djb
kbr2000 commented on Underdetermined Weaving with Machines (2021) [video]   youtube.com/watch?v=on_sK... · Posted by u/akkartik
kbr2000 · 2 months ago
Ralph Griswold (also known for the Icon programming language [0]), started the On-Line Digital Archive of Documents on Weaving and Related Topics [1] at the time, a gem.

[0] https://www2.cs.arizona.edu/icon/

[1] https://www2.cs.arizona.edu/patterns/weaving/index.html

kbr2000 commented on Dgsh – Directed graph shell   www2.dmst.aueb.gr/dds/sw/... · Posted by u/pabs3
DonHopkins · 3 months ago
That's what I think when I hear "bash".
kbr2000 · 3 months ago
batshit?
kbr2000 commented on Dial-up Internet to be discontinued   help.aol.com/articles/dia... · Posted by u/Kye
pogue · 4 months ago
kbr2000 · 4 months ago
lol, reminds me of this Monkey Dust one: https://www.youtube.com/watch?v=o2j_hXHEjX4
kbr2000 commented on Make Your Own Backup System – Part 1: Strategy Before Scripts   it-notes.dragas.net/2025/... · Posted by u/Bogdanp
zelphirkalt · 5 months ago
What does dirvish do better or simpler than rsync?
kbr2000 · 5 months ago
It permits you to config more complicated backups more easily. You can inherit and override rules, which is handy if you need to do for example hundreds of similar style backups, with little exceptions. The same with include/exclude patterns, quickly gets complicated with just rsync.

It generates indices for its backups that allow you to search for files over all snapshots taken (which gives you an overview of which snapshots contain some file for you to retrieve/inspect). See dirvish-locate.

Does expiration of snapshots, given your retention strategy (encoded in rules, see dirvish.conf and dirvish-expire).

It consistently creates long rsync commandlines you would otherwise need to do by hand.

In the end you get one directory per snapshot, giving a complete view over what got backed up. Unchanged files are hard-linked thus limiting backup storage consumption. Changed files are stored. But each snapshot has the whole backed up structure in it so you could rsync it back at restore time (or pick selectively individual files if needed). Hence the "virtual".

Furthermore: backup reporting (summary files) which you could be piped into an E-mail or turned into a webpage, good and simple documentation, pre/post scripts (this turns out to be really useful to do DB dumps before taking a backup etc.)

You'll still need to take care of all other aspects of designing your backup storage (SAS controllers/backplanes/cabling, disks, RAID, LVM2, XFS, ...) and networking (10 GbE, switching, routing if needed, ...) if you need that (works too for only local though). Used this successfully in animation film development as an example, where it backed up hundreds of machines and centralized storage for a renderfarm, about 2 PBytes worth (with Coraid and SuperMicro hardware). Rsync traversing the filesystem to find out changes could be challenging at times with enormous FS (even based on only the metadata), but for that we created other backup jobs that where fed with specific file-lists generated by the renderfarm processes, thus skipping the search for changes...

kbr2000 commented on Make Your Own Backup System – Part 1: Strategy Before Scripts   it-notes.dragas.net/2025/... · Posted by u/Bogdanp
kbr2000 · 5 months ago
Dirvish [0] is worth looking at, light-weight and providing a good set of functionality (rotation, incremental backups, retention, pre/post scripts). It is a scripted wrapper around rsync [1] so you profit from all that functionality too (remote backups, compression for limited links, metadata/xattr support, various sync criteria, etc.)

This has been a lifesaver for 20+ years, thanks to JW Schultz!

The questions/topics in the article go really well along with it.

[0] https://dirvish.org/ [1] https://rsync.samba.org/

kbr2000 commented on Show HN: Moon Phase Algorithms for C, Lua, Awk, JavaScript, etc.   github.com/oliverkwebb/mo... · Posted by u/oliverkwebb
kbr2000 · 7 months ago
LCAL[0]: The Moon Phase Calendar Program

A PostScript program to visualize a calendar of moon phases (skip down to "LCAL PostScript Calendar Examples" for just that). Did some nice PS prints recently for the next 10 years, adapted to fit in a frame I had laying around.

[0] https://pcal.sourceforge.net/

u/kbr2000

KarmaCake day148September 5, 2018View Original