msarnoff
Joined 16 years ago
Joined 16 years ago
[0] https://www.macintoshrepository.org/6717-logo-writer-2-0
[1] technically I had used the Apple II version a couple times first
[2] https://applerescueofdenver.com/products-page/macintosh-to-p...
One of my favourite short stories, it’s always stuck with me since it was posted to HN a few years ago.
But multiplication is just repeated addition, and division is just repeated subtraction. Some of the highest-end units could do square roots! Check out CuriousMarc’s videos.
The Casio 14-A was indeed the world’s first all-electric desk calculator. But by “desk calculator,” they literally mean “a desk that is a calculator.” The display/keyboard pictured was literally attached to a desk filled with hundreds of relays and weighed 140 kg. [0]
The “all-electric” claim is interesting. There had been scores of electric calculators for decades (Friden, Marchant, etc.) but were merely driven by an electric motor. The calculations were still performed by gears and cams and linkages.
It works great for Rust binaries, which can get quite large. I had to rewrite some Python utilities (software updater, Wi-Fi network config, etc.) for a very constrained embedded system (64MB RAM) that couldn’t handle Python. So I built them all in a single multi-call binary. I believe `clap` has built-in support for it.
Also, Busybox has a lot of stuff built in that you’d never think of. It has a little vi built in. It has the full suite of ‘runit’ process supervisor utilities. And plenty more. It has a Kconfig system (like the kernel) where you can tune exactly which utilities you need and what features you need. Don’t need full output in ps? Turn it off. Don’t need tab completion? Pretty sure you can turn that off too. Always typing ‘dc’ instead of ‘cd’? Just don’t include dc.
I figured out that the test cases allocated a disproportionate amount of X-byte blocks. I was able to get to the top by hardcoding a specific freelist just for X-byte blocks.
Learned a lesson about easily it is to game a benchmark :)
The meltdowns stopped, but I still have issues spiralling into thoughts of failure and being a horrible person when I feel like I’ve disappointed family or friends.
Guanfacine has helped though. Tried a bunch of medications and this is the only one that seems to have made an impact.
Also explains why there is no difference between Ctrl-x and Ctrl-Shift-x.
https://youtu.be/smStEPSRKBs?si=k_0u3NKCxCqZBc6w
Battlezone and later 3D games used different circuitry that generated vectors with analog circuitry and used a “math box” coprocessor based on Am2901 bit slice ALUs to help with the 3D math.
http://archive.pbrick.info/The%20MIT%20Programmable%20Brick%...
https://web.archive.org/web/20011212030110/http://fredm.www....
Growing up in New England at the time, I was very lucky that they ran a pilot project at my elementary school. We programmed our "sketches" (though we didn't use this term) in LogoWriter on Mac LC IIs and flashed them using a weird dongle that connected to the brick via RJ11 cable.
I owe a lot to my teachers and Fred Martin's group. I don't think I'd be a developer today without that experience.
I don’t think it always did the best job and saw a bunch of register spills I thought were unnecessary, but I couldn’t justify the time and effort to do it in assembly…
@[email protected] @msarnoff.bsky.social
Old twitter: http://twitter.com/txsector (Inactive since 2022)
http://youtube.com/user/74hc595
http://github.com/74hc595