3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions
comment 4y ago · link · parent
ADD: that is, avoids heap allocation for those, unlike both Box<str> and String.
comment 4y ago · link · parent
comment 4y ago · link · parent
I muse what could be done with modern cross-compiler (SAT solving for optional code sequences?) A llvm backend for Z80 has recently kicked back into gear: https://github.com/jacobly0/llvm-project
comment 4y ago · link · parent
I only have experience with Z80 and 65C02 and I believe the consensus is that a 4 MHz Z80 beats a 2 MHz 65C02, but neither is a particularly nice compiler target.
comment 4y ago · link · parent
What a depressing load of manure. I can’t wait for it all to crash and burn yet I feel sorry for the many who were duped and lost a lot of money they couldn’t afford to loose.
comment 4y ago · link · parent
It already works very well (seat-of-the-pants feels comparable to or better than my sshfs recollection); I managed to build Rust projects over it (with target on local FS).
Googling around suggest bumping the TCP transfer window but I don't see that as option in macOS's man mount_nfs, or any other useful option for that matter.
comment 4y ago · link · parent
$ ssh -Nf -L2049:my-nas:2049 my-gw
$ sudo mount -t nfs -o vers=4 localhost:/mnt/somewhere/username /home
to mount my home (5,000 miles from where I currently sit) over ssh (over zerotier) without needing SSHFS. I'm going to use this going forward.comment 4y ago · link · parent
TL;DR: both have valid use cases, but for a home file server I'd definitely choose NFSv4 for Unix (*BSD, Linux, macOS) hosts (know nothing about Windows).
comment 4y ago · link · parent
ADD: Some might not be aware that NFSv4 is a MAJOR change from the earlier versions and has many radical changes, including: time-expiring lease-based coherency, bundled requests (do much more in each NFSv4 network packet), locking built-in to the protocol. Don't don't base your assumptions of NFS on NFSv3.
Some on this thread suggests Syncthing, scp, rsync, etc, but this not really the same. When the file system is enormous and you need to commit your changes back - it would be impractical to sync everything (many TiB of data) and a pain to try to remember which things changed.
The situation on macOS has been a bit sad; Mac Homebrew refuse to install sshfs as Mac FUSE is not open source (because the author got fed up with commercial abuse of his work). I sympathize, but that still leaves me in limbo. Ideally, Apple should just include a FUSE like facility in macOS as it's so useful.
comment 4y ago · link · parent
comment 4y ago · link · parent
These days the IMO most interesting ISA from a JIT point of view is WASM as it's the one that offers the most information (context) and the fewest constraints on the implementation.
comment 4y ago · link · parent
It was apparent from very early on that I would never want to work for him. Later I have met ex-Tesla employees who confirmed my concerns (“you work on whatever is his most reason pet idea, dropping everything else”).
comment 4y ago · link · parent
There were plenty of warning signs, but it’s wasn’t until Covid (“Silly, it’s just like a flu”) that I couldn’t look away any more. Since then his megalomania has only grown. Where does it end?
comment 4y ago · link · parent
comment 4y ago · link · parent
(rplacd (quote sub) (quote (expr (lambda (a b) (plus a (minus b))))))
(rplacd (quote fib) (quote (expr (lambda (l) (cond ((greaterp l 1) (plus (fib (sub l 2)) (fib (sub l 1)))) (t l))))))
(fib 22)
5030
Why yes, it's all in octal fib(18) = 2584comment 4y ago · link · parent
I like how the assembly source code is small enough to include at the end of the manual. A bit of slogging finds you the source code and a pdp-1 assembler, enough to run it on simh or MESS, but even though there's a online PDP-1 emulator running SpaceWar!, I wasn't able to find a way to run Lisp 1 online.
* http://www.softwarepreservation.org/projects/LISP/interlisp_...
comment 4y ago · link · parent
1. Super terrible at threading. Threads are clearly discouraged and don't nest. This appears to be by design, but even Usenet handled threading better.
2. Slack is an information wastebasket - at least in my experience it's really hard to find information once there's a significant traffic in a deployment.
3. Too Much Notification! I have to mute channels that has a high rate of addressing the channel.
However there's no denying that it's popular. Seems like every place I go is using Slack. At least slack allows me to edit my typos.
comment 4y ago · link · parent
I'd have to imagine that the amortized cost (millions?) for the MRI machine, it's operation and storage, and the trained personnel isn't free, but obviously much less than you and your insurance pay.