Readit News logoReadit News
heywoodlh commented on Nvidia GPU on bare metal NixOS Kubernetes cluster explained   fangpenlin.com/posts/2025... · Posted by u/fangpenlin
fangpenlin · a year ago
By the way, one of the problems I encountered but didn't mention in the article was that the libnvidia-container has problem with the pathes for reading nvidia drivers and libraries under NixOS with its non-POSIX pathes. I had to create a patch for modifying the path files. I just created a Gist here with the patch content:

https://gist.github.com/fangpenlin/1cc6e80b4a03f07b79412366b...

But later on, since I am taking the CDI route, it appears that the libnvidia-container (nvidia-container-cli) is not really used. If you are going with just container runtime approach instead of CDI, you may need a patch like this for the libnvidia-container package.

heywoodlh · a year ago
Oooo, thanks for the pointers! Will be revisiting this tomorrow!
heywoodlh commented on Nvidia GPU on bare metal NixOS Kubernetes cluster explained   fangpenlin.com/posts/2025... · Posted by u/fangpenlin
heywoodlh · a year ago
Ah, this is awesome! I currently run k3s on a decently spec-ed NixOS rig. I tried getting k3s to recognize my Nvidia GPU but was unsuccessful. I even used the small guide for getting GPU in k3s to work in nixpkgs[0], but without success.

For now I’m just using Docker’s Nvidia container runtime for containers that need GPU acceleration.

Will likely spend more time digging into your findings — hoping it results in me finding a solution to my setup!

[0] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...

heywoodlh commented on Ask HN: Did you personal website help you get hired? Tell about it    · Posted by u/throwaway844535
heywoodlh · a year ago
For myself, my blog and GitHub activity were key points in my interviews that heavily influenced my previous two hires.

> Also I can't decide what to write about, and whether to make it more nerdy or more professional.

Personally, I use my blog to write about:

- Niche things I run into that I want to document for myself

- Things I’m working on that I think are cool

- Opinions on why I do things a certain way

I love reading other blogs that orbit around this type of content. One suggestion I would make is to focus on writing your blog for yourself instead of a fictional audience. That way your blog’s value is self-contained, rather than worrying about the value other people get out of it.

Good luck!

heywoodlh commented on Installing Arch Linux on a Laptop   giacomo.coletto.io/blog/a... · Posted by u/AlphaJack
Levitating · 2 years ago
These types of posts are often more harfmul than helpful. ArchLinux already has proper installation instructions and those who cannot follow them aren't recommend to run it. The main installation issues the ArchLinux forum sees is from people following outdated third party installation guides.
heywoodlh · a year ago
Interestingly, I’m not sure why more people don’t use archinstall, which is provided with the official live ISO: https://wiki.archlinux.org/title/Archinstall

I have no issue doing Arch installations by hand, but sometimes it’s nice to save time when you don’t have any special configurations. That being said, knowing how to do installations manually has been pivotal in me knowing how to recover borked Linux systems.

heywoodlh commented on Human parasites in the Roman World: health consequences of conquering an empire   cambridge.org/core/journa... · Posted by u/GeoAtreides
beloch · 2 years ago
If you go to the public latrine at Ephesus today, it looks pretty awesome. It's out in the air. Nice views in all directions. If you can get over the communal nature of it, it seems like a fantastic spot to do your business.

In Roman times, public latrines were places of last resort. They were typically enclosed, poorly ventilated, and notorious for rats and explosions[1]. For most Romans, making it home to your own commode was vastly preferred.

This brings us to a funny quirk of roman home design. Toilets were usually located in kitchens and "flushed" with wastewater from the kitchen. In most homes these toilets were connected to cesspits that were periodically emptied, and not to the sewers.

[1]https://www.ancient-origins.net/ancient-places-europe/rats-e...

heywoodlh · 2 years ago
> https://www.ancient-origins.net/ancient-places-europe/rats-e...

This was a fascinating read, thanks!

For anyone curious of why public latrines exploded:

> Even worse, these public latrines were notorious for terrifying customers when flames exploded from their seat openings. These were caused by gas explosions of hydrogen sulphide (H2S) and methane (CH4) that were rank as well as frightening.

heywoodlh commented on Not an iPad Pro Review: Why iPadOS Still Doesn't Get the Basics Right   macstories.net/stories/no... · Posted by u/ihuman
heywoodlh · 2 years ago
> I’m looking forward to the new iPad Pros, but I can’t shake the feeling that the same old iPadOS cycle is about to begin all over again.

This is EXACTLY how I feel. WWDC will roll around and Apple will completely drop the ball for yet another year with iPadOS.

I also feel that the iPad Pro is one of the best hardware form factors for a computer — but iPadOS makes it a not great laptop replacement. I can’t help but feel like it would look incredibly foolish for Apple to do their May iPad event announcing M4 iPads — only to find out at WWDC that iPadOS still sucks.

Thankfully, it seems like most people, tech reviewers, etc. are vocal about iPadOS missing the mark. I hope Apple doesn’t continue to ignore the negative feedback.

heywoodlh commented on Tailscale SSH is now Generally Available   tailscale.com/blog/tailsc... · Posted by u/yarapavan
luckman212 · 2 years ago
do you do this with cron, fail2ban, or some other mechanism?
heywoodlh · 2 years ago
Sorry for the delay, just barely saw this!

I use journalctl to follow the log. My NixOS module for it is here: https://github.com/heywoodlh/nixos-configs/blob/master/nixos...

If that isn’t clear, let me know and I can send my Ansible example :)

EDIT: To be more precise I set up the monitoring service as a systemd service

heywoodlh commented on Bloomberg: "Strong possibility" of M4 debuting on May 7 with new iPad Pro   macrumors.com/2024/04/28/... · Posted by u/aurareturn
robenkleene · 2 years ago
> Maybe it’s a laptop killer for creative professionals?

Nope. I'd argue developers are actually the best served professionals by iPads, simply because a terminal-drive workflow via SSH is at least possible.

I've written about the situation of creative apps not gaining traction on iPads (Procreate being the main exception) https://blog.robenkleene.com/2019/08/07/apples-app-stores-ha...

heywoodlh · 2 years ago
> simply because a terminal-driven workflow via SSH is at least possible

This has been the one thing that has kept my iPad useful! I use Blink (grandfathered into their Legacy Pro plan) and it’s a very clean experience. I can’t help but feel like it’s a fragile experience having to rely on an app from the app store for my iPad to be useful — that Apple or the Developer could remove at any time. Maybe it would feel less fragile if Apple provided an official i[Pad]OS Terminal/SSH client.

heywoodlh commented on Bloomberg: "Strong possibility" of M4 debuting on May 7 with new iPad Pro   macrumors.com/2024/04/28/... · Posted by u/aurareturn
heywoodlh · 2 years ago
Having an iPad Pro with an M1, I grow increasingly frustrated each year with how incapable my iPad is compared to my Macbook/Linux laptops. iPadOS still feels like iOS with some visual tweaks to the larger screen real estate. It’s absolutely not a laptop killer for a sysadmin or developer (unless your preferred language is Swift). Maybe it’s a laptop killer for creative professionals?

I think my iPad is an excellent thin client, however — but a Pro device should be more than just a thin client for me, imo.

Some things that would be a huge improvement for me:

1. Ability to do development locally

2. Virtualization (might circumvent the need to do local dev)

3. Install/build local applications

Apple seems determined to never allow anything outside of the App Store on i[Pad]OS, and with iPadOS being over four years old and still feeling like a giant iPhone, I don’t think I could recommend anyone should buy an iPad as a power user device.

heywoodlh commented on Stop Acting Like You're Famous   ajkprojects.com/stopactin... · Posted by u/ashleynewman
heywoodlh · 2 years ago
I recently started my own Mastodon instance for myself in this same train of thought. I noticed that one of my toxic traits was reaching out to people too often about things I found interesting. Expressing my own interests on my own Mastodon instance — even if nobody is looking at it — has been amazing for me to be more self-sufficient emotionally when it comes to my interests. It’s almost like a tech diary for me at this point.

Similar to parent, I find tremendous value in making myself my target audience.

u/heywoodlh

KarmaCake day632September 29, 2020
About
Security analyst interested in Unix/Unix-Like systems programming.

https://heywoodlh.io

View Original