2,378 karma · joined March 19, 2019
Lovely movie, it was a lot of fun.
First, as for speed and responsiveness, if there is a degradation, it is imperceptible to me. I wouldn't have a clue that my interactive shell is slowing down because it is logging a command to ~/.persistent_history.
My persistent_history is 4MB and has been migrated from machine to machine as I've upgraded, it's never felt slow to edit with (neo)vim or search with system supplied grep.
Eli's way of doing it also includes the timestamps for all commands, so it's easy to trace back when I had run the command, and duplicates are suppressed. In fact my longest persistent_history goes back to 2019-07-04, so I've been using it for quite some time now.
But the larger point I wanted to make is that I wouldn't feel comfortable switching this, in my opinion, quite efficient setup to displace it with an sqlite database. That would require a special tool to drill through the history and search rendering simple unix utilities useless. As Eli suggested, if your history gets too big, simply rotate the file and carry on. I have the alias phgrep to grep ~/.persistent_history, but I can easily have another alias to grep ~/.persistent_history*.
[1]: https://eli.thegreenplace.net/2013/06/11/keeping-persistent-...
This doesn't hinder repairability, as you will find with the Macbook Neo. It just thwarts a secondary market for stolen Macbooks and/or parts.
The Zen of Python is how we got crap like argparse where arguments are placed in the namespace instead of a dict.
I tried this in zsh and it wasn't the default behaviour which immediately made me nope from the shell altogether, among all the other quirks. I've just been using bash for far too long to switch to something different.
[0] https://eli.thegreenplace.net/2013/06/11/keeping-persistent-...
The battery life when I first got it, was at best 4-5 hours of moderate usage, and then slumped to 3-4 hours; running Linux of course.
My one also had hinge issues where the screen would fall flat 180 degrees from a 90 degree position when picking it up which was just really annoying. There is a new hinge kit that costs $40, but they want $35 shipping for it.
The keyboard is mostly good, but it still annoys me that there isn't an half-sized inverted-T arrow keys like the Macbooks; I was mostly banking on a 3rd party creating this type of replaceable keyboard but it just never happened.
I think the display panel is of very average quality as well, maybe the newer generations are better.
The other annoying thing was the fan noise. It's just so loud, but it only does turn on when heavy compute is happening, and not randomly like a lot of the PC laptops out there.
Despite all these deficiencies, I think I mostly just miss using a Mac and being fully in the ecosystem. Linux just doesn't really do it for me, and I don't think I can ever really use Windows again even though it has WSL2. I just find Apple products so much better to use, despite the software quality degrading. Plus the accessibility tools which I lean heavily on outclass the competition by a large margin.
I already have a Brewfile in my dotfiles stored in git, but wanted a way to setup all the little things on my Mac like trackpad settings, dock settings, file associations, etc. nix-darwin is the obvious solution.
Gave the task to ChatGPT and it came back saying it's a good way to get started, but then offered a middle-ground of an idempotent script to set things up. So I investigated the latter, and after a couple of minutes I now have a setupmac() function in my .bash_profile (yeah I use bash) which mostly consists of a bunch of 'defaults' commands and a few other things, and now continue with brew for managing software and setupmac() to setup everything else, and of course manually manage my dotfiles for ghostty/nvim.
I wish I had this earlier, because I just set myself up on 3 different Macs in the last week or so. I'm also glad I don't need to learn a new language and tooling for something pretty simple. Everything is a bit disjointed and not as automated as a proper nix setup and doesn't have that fidelity that nix has, but it's straight-forward, compact in that it sits in my brain easily, and easy to execute.
This type of support cannot be had with any of the PC vendors it seems.
Was recently verbally assaulted at a Costco Fuel station. Had some of it recorded by dash cam, but the other bit of assault was only near a bowser. Anyways shaken up I contacted Costco about it by email, and within 2 days they were able to get a/v evidence of the entire thing, very likely banning the member that abused me, and encouraging me to take it to the cops and press charges, and they would back me up and be on my side. I think had it been any other petrol station, they wouldn't give a shit.
Not OP, but accessibility tools on mac put other desktop OSes to shame.