Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Freaky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Freaky
3y ago
Reflinks are basically CoW hardlinks — supported on Linux by btrfs, XFS, and I've seen some effort to bring it to ZFS. DragonFlyBSD's HAMMER filesystem supports on-demand/scheduled dedup using the hammer(8) command, with conf
32.
▲
by
Freaky
3y ago
Its main benefit is it's memory-hard in addition to time-hard. You're not just repeating a hash function across a few dozen bytes a few thousand times, you're doing it over tens or hundreds of MB, thus making it much harder
33.
▲
by
Freaky
3y ago
> Correct Horse Battery Staple 4 lg(100000) = 33 I think you mean 66. More realistically, 52 for Diceware's 7776-word dictionaries, or 44 for XKCD's 2000 common words.
34.
▲
by
Freaky
4y ago
This is why I made https://github.com/Freaky/zfsnapr Instead of working out how to teach my backup tools about snapshots, I just mount them in a subtree and use that as a chroot env.
35.
▲
by
Freaky
4y ago
XKCD estimated 11 bits per "common word", corresponding to a dictionary of ~2000. But that's assuming even distribution across that dictionary, which isn't a reasonable thing to expect a human to do themselves. Diceware
36.
▲
by
Freaky
4y ago
The default handler for SIGINFO is a non-fatal process summary, like this (from FreeBSD): load: 0.15 cmd: sleep 52109 [nanslp] 0.27r 0.00u 0.00s 0% 2132k mi_switch+0xc2 sleepq_catch_signals+0x2e6 sleepq_timedwait_sig+0x12 _sleep+
37.
▲
by
Freaky
4y ago
Twitter's infamous for encoding video into little more than mildly suggestive compression artifacts. Here's a 4k60 YouTube video: https://youtu.be/VGnuGnOWeTE?t=605
38.
▲
by
Freaky
4y ago
borg-backup.sh, which runs my remote borg backups off a cronjob: https://github.com/Freaky/borg-backup.sh zfsnapr, a ZFS recursive snapshot mounter - I run borg-backup.sh using this to make consistent backups: https:&
39.
▲
by
Freaky
4y ago
Many of Peter Watts books and short stories - including Blindsight, and the short story set in the same universe "The Colonel" - are free to read on his website: https://www.rifters.com/real/shorts.htm There&
40.
▲
by
Freaky
4y ago
I wrote https://github.com/Freaky/zfsnapr a few months ago so I could finally have point-in-time consistent Borg backups with ZFS snapshots, without having the mess of teaching Borg where every .zfs directory was. It r
41.
▲
by
Freaky
4y ago
A great deal of the benefit of Option comes from where it isn't used - you know most things can't be null and simply don't have to think about the possibility. unwrap() bugs are annoying, yes, but at the end of the day they&#
42.
▲
by
Freaky
5y ago
> A delightful take from a non-Western newsmonger, using the language the West uses when analyzing corrupt far-flung lands Author has a vast megathread on Twitter using similar language: https://twitter.com/gathara/s
43.
▲
by
Freaky
5y ago
Here's what I'm using: https://gist.github.com/Freaky/b5cd807d518a176298c1d0e612dcc...
44.
▲
by
Freaky
5y ago
No, the benefit of the GMMK Pro is supposed to be build quality. There are plenty of cheap hot-swap boards about. I'm using a Hexgears K705A - it cost me £60, with BOX White switches and cheap double-shot ABS keycaps. That's les
45.
▲
by
Freaky
6y ago
Each server does share a "proto env" object, but it is duplicated for each Client: https://github.com/puma/puma/blob/0cc3f7d71d1550dfa8f545ece8... and Client objects are not reused: https:/&#x
46.
▲
by
Freaky
6y ago
It certainly has a fast path, it just mixes it up with lseek() for filesystems like /proc: https://github.com/coreutils/coreutils/blob/9de1d153f82243ae... FreeBSD just uses fstat: https://gith
47.
▲
by
Freaky
6y ago
Having written a Rust wc implementation a few years ago ( https://github.com/Freaky/cw ), I had a look at theirs. It's pretty naive - a simple linewise read_until loop, a conditional to avoid word splitting and such
48.
▲
by
Freaky
6y ago
Nothing so fancy. Each worker thread runs in a loop executing a queue of jobs. On every iteration it sets an atomic progress flag to true. The runtime in which it's contained polls its workers every 1-10ms, atomically swapping in fals
49.
▲
by
Freaky
6y ago
Read the first sentence. > This blog post describes a proposed scheduler for async-std that did not end up being merged for several reasons. I don't think it's a particularly good idea in the first place - it's basically a
50.
▲
by
Freaky
6y ago
It's beaten by half a dozen sync Ruby implementations, which should be a pretty good hint that something else is going on. Lack of HTTP keep-alive is probably the most obvious thing holding it back.
51.
▲
by
Freaky
6y ago
Probably the lack of HTTP keep-alive support - it's explicitly disabled due to bugs in the older HTTP library the stable version uses (seen as a large number of errors in previous rankings), so each request needs a new TCP connection.
52.
▲
by
Freaky
6y ago
Further reading - uggcf://ra.jvxvcrqvn.bet/jvxv/Yvdhvq_qebcyrg_enqvngbe
53.
▲
by
Freaky
6y ago
Only handles a single symbolic name per commit, and doesn't necessarily pick one that's meaningful in that sense. It's what I'm trying to get away from. e.g. projects/aio_writev has 8 commits, but if name-rev is al
54.
▲
by
Freaky
6y ago
No. The problem is that to git, a branch is just a reference to the commit currently at the tip of that branch - the rest of the commit graph is completely anonymous sans its position in that graph. Where in SVN it's implicit in the p
55.
▲
by
Freaky
6y ago
As the maintainer of FreshBSD.org, git gives me headaches regarding what to do with branch naming. SVN and even CVS include branch information on each commit, but git couldn't care less - it's up to you to infer it by unspecified
56.
▲
by
Freaky
6y ago
> Any command that evaluates to a valid path will automatically change the current working directory to that path You can get similar behaviour on Unix shells with options like: • zsh: `setopt auto_cd` • bash: `shopt -s autocd` • tcsh: `
57.
▲
by
Freaky
6y ago
> I guess what I don't understand then is what big advantage "enterprise ECC" has left over this DDR5 "non-enterprise ECC" ECC should be end-to-end, so it detects and (hopefully) corrects errors anywhere along th
58.
▲
by
Freaky
6y ago
One I made in async Rust: https://github.com/Freaky/tarssh I currently have 22 clients stuck it in across three machines. When I started out it was more like a thousand, so seems they've largely adapted.
59.
▲
by
Freaky
6y ago
... and it's useful how? It obscures the assignment at the end of an arbitrarily long statement instead of giving the value a name right up front. It feels a bit like a new method definition syntax that allows you to put the name afte
60.
▲
by
Freaky
6y ago
Yes, to highlight that this "horrible rigmarole" and "irritation" you describe is entirely on the basis of there being a Perl script involved. Something I suspect the majority would overlook without even really noticing
More ›