HNHacker News
TopNewBestAskShowJobs

n8henrie

802 karma · joined May 5, 2014

https://n8henrie.com

F21A6194C9DB9899CD09E24E434B2C14B8C33422

[ my public key: https://keybase.io/n8henrie; my proof: https://keybase.io/n8henrie/sigs/WoQvsZKguJVoMfO7Fxk2mnWhN1Xh0cLZuDGQnxpwhWY ]

submissionscomments
n8henrie··on NixOS Linux review, is it the alternative to Debian and Archlinux?
Fair, but "learning / maintaining Linux" is not a singular entity. Every project uses a different configuration (toml, yaml, json, ini, etc.), much of which can often be accomplished -- even for multiple machines simultaneously -- with some nix.
n8henrie··on Perfectly good M1 MacBooks are being scrapped because of Activation Lock [video]
That's great to hear! I've got a few devices laying around that roughly match that description, would like to find a good source for stuff with cracked screens. Until then eBay it is!
n8henrie··on iQuit: My Hellish Attempt to Leave Apple’s Walled Garden
I usually keep my iPhones for about 3 years and use them heavily. That's less than $0.75 per day difference in cost, and if the improved experience (which I get every day for the 3 years) translates directly to cost (admittedly a little silly), 5% of $200 is $10, so that seems worth it.
n8henrie··on Perfectly good M1 MacBooks are being scrapped because of Activation Lock [video]
I dream of learning to do electronics repairs (as a hobby). Were / are you a (former) professional?
n8henrie··on Lima: A nice way to run Linux VMs on Mac
As a novice, I was surprised how easy it was to get the basics working with plain old libvirt (on my M1 at least).
n8henrie··on Mistakes with Rust smart pointers: when Deref goes wrong
Typo: `impl Index> for AsciiString`
n8henrie··on The horrors of Pompeii
Exactly, thank you.
n8henrie··on The horrors of Pompeii
Exactly! Amazing how non-linear the improvements have been. (As context, I'm a US physician.)
n8henrie··on The horrors of Pompeii
I think the detractors of your comment would have less ground if you compared the life expectancy at 10 yo in Pompeii to that of a 10 yo from, say, 100 years ago, in which case at least I find it surprising that the difference is not far greater.
n8henrie··on Tell HN: People forget that you can stick any data at the end of a bash script
Similar trick to bundle a python script with self-contained dependencies (with some limitations, and doesn't include python itself): https://n8henrie.com/2022/08/easily-create-almost-standalone...
n8henrie··on Tell HN: Nearly all of Evernote’s remaining staff has been laid off
Timely thread about Joplin, an open-source alternative: https://news.ycombinator.com/item?id=36611355
n8henrie··on Wayland on NixOS: Confusion, Conquest, Triumph
Just got around to working on my NixOS sway setup this week. Working better than I had expected!

If you want, there are dedicated HM options to use for your key bindings[1] and outputs[2] (ie for your background) instead of putting things in `extraConfig`.

[1]: https://nix-community.github.io/home-manager/options.html#op...

[2]: https://nix-community.github.io/home-manager/options.html#op...

n8henrie··on CLI tools hidden in the Python standard library
Interesting! Not often using either crate, this example looks like something for which I might usually look to nom. Is there a reason I should consider using regex for this use case instead (if neither is a pre-existing dependency)?
n8henrie··on Vitamin D and major cardiovascular events: D-Health randomised controlled trial
The stark differences between vit D non-interventional studies and RCTs continue.

As I recently mentioned in another thread, I hope all the enthusiasm about associations between microbiome and human health (also mostly promising non-interventional studies) pan out better.

n8henrie··on macOS command-line tools you might not know about
I don't think wrapping my entire shell session in a moderately complex third party tool (that maybe just uses pbcopy under the hood[1]) counts as "simply" when compared to my existing solution which just pipes over ssh and a couple bash scripts.

But thank you for the share, it is interesting!

[1]: https://github.com/roy2220/osc52pty/blob/master/oscexecutor....

n8henrie··on macOS command-line tools you might not know about
Happy to share, but I'm away from my MacBook for the next 2-3 weeks. I'll ping you when I have access to the code again.
n8henrie··on macOS command-line tools you might not know about
I have! Unfortunately not supported in MacOS Terminal.app, which I'm otherwise very satisfied with (have tried iTerm2, use Alacritty on Linux, just like Terminal.app).
n8henrie··on macOS command-line tools you might not know about
So much of my Linux use is over ssh from a MacOS client that I've made a `pbcopy` executable that just pipes stdin over ssh to my MacBook to its pbcopy (with a dedicated ssh key that runs this as a forced command). Makes it super nice to be on an SSH session and `pbcopy` some content to my MacOS clipboard!
n8henrie··on OPNsense: Open-source security platform
Same! Have you looked into IPFire? That's the one I had my eyes on.
n8henrie··on OPNsense: Open-source security platform
NixOS is a Linux distro based on the nix package manager. There is a freebsd package for nix, I am 90% sure. NixOS on FreeBSD seems nonsensical, like saying Ubuntu on FreeBSD.
n8henrie··on Hunter-gatherer lifestyle fosters thriving gut microbiome
All of the commenters so far (and the article's title) seem to assume that this is causative of good health. Why is that?

I'm aware that fecal transplants can help cure C diff infections.

Do we have randomized, placebo-controlled evidence that suggests that gut biodiversity is causative of (and not just associated with other lifestyle features causing) good health? It's hard for me to imagine a good way to design such a study.

I thought the rigorously performed research regarding eg probiotics had mostly been disappointing.

Is there any reason to think that food that is good for human health would not also be good for gut flora health, thus heavily confounding much of the non-interventional research?

n8henrie··on ThinMachine – A $25 thin client macOS Time Machine appliance
My main TimeMachine backup (for my and my wife's MBPs) is over SMB to ZFS (RAIDZ2) on my NAS. Running pretty well for 2 years or so now. The only issues I've had seem to be related to running out of space with the quotas I've set (so I make sure I leave some space for my wife), since the ZFS snapshots prevent the TimeMachine's auto pruning mechanisms from freeing up space like it expects. Thankfully I was always able to ZFS roll back and find a recent a known good snapshot, manually prune old ZFS snapshots to make space, run a Time Machine verification, and keep going (after making a manual "known good" snapshot).

Thankfully, I recently discovered the ZFS refquota setting that seems to have resolved the wonky dance above and lets my quotas work as TimeMachine expects (though extra space is used for my ZFS snapshots, which is fine because the TImeMachine stuff is only a small part of the array's storage).

The only other issue I've had is with ZFS on arch (kernel upgrades / dkms issuss), so I recently moved to NixOS an it's been solid so far. TimeMachine backups over Tailscale are pretty sweet!

Separately, I have a second TimeMachine backup to an AirPort Extreme-attached USB drive.

I also use restic for cross-platform backups to the same NAS above, which then sends ZFS snapshots (of the TM + restic data) to a remote server.

Finally I have a USB drive in a safe that I manually take out and run a locally-attached TimeMachine backup to every month or so.

Keeping everything backed up was a (tongue-in-cheek) part of my wedding vows -- stakes are high.

n8henrie··on Even more hindsight on Vim, Helix and Kakoune
Yes, I'm using `miwc` a lot (used to `ciw` in nvim)
n8henrie··on Even more hindsight on Vim, Helix and Kakoune
"The code is bad because it was written by a novice dev" sounds like an ad hominem attack to me (as opposed to "the code is bad because of X attribute of the code itself").
n8henrie··on Show HN: Slint – A declarative UI toolkit for embedded and desktop
> Create your application under MIT, BSD, Apache 2.0 or any of the other GPLv3 compatible licenses, provided that the complete work is made available under the GPLv3.

> Create your application under a license of your choice, open-source or proprietary, provided that the application includes proper attribution to Slint and retains copyright notices. I've listened to at least one (or two?) podcasts on slint, and I'm still not sure that I understand the license options, which makes me hesitate to invest time to learn.

I usually use the MIT license. Is the first license above compatible with MIT, without requiring forks (of my project) to GPL3 their code?

Does the latter license mean I can closed-source and commercialize my app and just include a shout-out to Slint and I'm good? (EDIT: if so, why would anyone choose the potentially expensive commercial option?)

n8henrie··on Milk-V Duo: A $9 RISC-V Computer
Yes, I was shocked when I finally decided to try a pinetab and got all the way to checkout before discovering a $60 shipping charge for my $160 tablet. Disappointed, "remove from cart," guess I'll buy some android tablet instead.
n8henrie··on Is drinking sparkling water a healthy alternative?
Do you mean that it make you feel dehydrated? Or are you measuring your intake and output volume / body weight / urine spec grav / some other means of measuring your hydration status?

Certainly symptoms like dry mucous membranes or lightheadedness can be caused by mechanisms other than dehydration, and it would surprise me if sparkling water could cause symptomatic dehydration (as opposed to correcting it, since the main ingredient is water).

n8henrie··on ESP32-C3 Wireless Adventure: A Comprehensive Guide to IoT [pdf]
I haven't done much with it yet, but I'm excited about the bare-metal (no_std) rust support for the esp32c3 (as opposed to some other variants that require a custom toolchain as I understand it).

Lots of details at <https://mabez.dev/blog/posts/>, and some examples of wifi on bare-metal at <https://github.com/esp-rs/esp-wifi>.

I hope to eventually get it working with MQTT (there may be examples already, I haven't yet looked in-depth), at which point I think this will be my go-to for the majority of my IOT projects going forward!

n8henrie··on Show HN: A smarter Unix shell and scripting environment
I didn't mean to imply that I use it "so often," just that it makes it much easier when I do.

I have to `kill -9` neovim once or twice per week due to <https://neovim.discourse.group/t/how-to-debug-intermittent-n...>, that's probably the most frequent culprit.

I really need to compile a debug version and help get that sorted.

n8henrie··on Show HN: A smarter Unix shell and scripting environment
Huh, I had no idea. Just `kill <tab>` then? Will give it a shot next time I'm ak.
← PreviousPage 12 of 20Next →