HNHacker News
TopNewBestAskShowJobs

gkhartman

505 karma · joined March 17, 2017

I'm not Greg Kroah-Hartman in case you're wondering.
submissionscomments
gkhartman··on Windows 11 now comes with its own adware
I've been playing Baldurs Gate, and Guidwars 2 without issue. I originally started out on endeavorOS which lasted a while, but eventually needed the stability of PopOS since I have dev work on the same machine.

Pop has a version that ships with Nvidia proprietary drivers which made things easier (RTX 4080). Only thing missing for me is HDR support. I'm very happy to give that up to avoid Windows.

gkhartman··on Wyze security incident update
This is really awesome. Thanks for the links. I'm done with everything iot cloud, even though it takes a bit more work on the home server upkeep side.
gkhartman··on Pulsar, the best code editor since Atom
Nah, programmers of that caliber will use a magnetized needle directly on the hard disk platters.
gkhartman··on AI George Carlin: I'm Glad I'm Dead [video]
I only listened a bit of the link, skipping around to get the gist, but I got this feeling. Carlin had a talent pointing out the darker sides of human existence in a way that left me feeling a bit more hopeful, and able to cope with them. I'm not sure what feels off, but the AI generated bits lack that magic. It's Carlin-style content thats missing the punchlines.
gkhartman··on Engineers test autophage rocket engine
I recall having that exact experience as a kid. It was equally disappointing (it definitely ruined the rocket), and hilarious. Finding the remains of the rocket protruding from the earth, like a sad javelin sent from the heavens, still lightly smoking... priceless. Thanks for unlocking that memory, those were some great times.
gkhartman··on Ask HN: If you didn't have a computer, what would you do for work?
I would probably have become a licensed locksmith. My father was a locksmith, and tought me enough that it would have been an easier path to take, as opposed to learning a new profession. I chose to start a CS program after realizing that it had many of the same problem solving aspects with much better pay and future outlook. It's likely a path I would have searched a bit more if computers didn't exist at all.
gkhartman··on How I Made a Heap Overflow in Curl
It still blows my mind that so many devices depend on a library largely written by a single person. The level of pressure must be insane and it shows in this bit:

"Reading the code now it is impossible not to see the bug. Yes, it truly aches having to accept the fact that I did this mistake without noticing and that the flaw then remained undiscovered in code for 1315 days. I apologize. I am but a human."

If Daniel happens to read this, thanks for your hard work, and I really don't think any apology is necessary. After all, the source was right there for any of us to read and review.

gkhartman··on OpenIPC: Alternative open firmware for your IP camera
I'd be interested. Even if it's just a Linux SBC + camera module, an OS image preconfigured as an IP cam would really reduce the DIY overhead.
gkhartman··on OpenIPC: Alternative open firmware for your IP camera
I was really hoping that the Pine64 PineCube cameras would gain traction in this space, but it seems like they only ever really shipped small batches of them. They'd need an enclosure/software to make them a reasonable choice.

Wiki: https://wiki.pine64.org/wiki/PineCube

gkhartman··on Dockerized local and offline backing up of PostgreSQL with rotation, compression
This looks great. When working in smaller teams, there's a lot of pushback when the suggestion of adding a new tool comes up, mostly due to the learning overhead involved. This might be just what we need, since it leverages existing tools many are familiar with already. Thanks for the suggestion.
gkhartman··on Everyday uses for PVC water pipe
When I saw the finished model at the start of the video, my first thought was "clearly there must be some PVC sheets used". You clearly said that he's flattening the tubing with heat, but my brain just couldn't accept the work involved in doing that for every flat surface I was seeing. Truly remarkable.
gkhartman··on Ask HN: What web frameworks do you use?
Django, mithril.js, and bootstrap.

Django since it's a "batteries included" framework. Mithril.js for react-like features. It's a small framework, so one could easily read through it's code to understand how it works if needed.

I'll swap Django for Flask for smaller/lighter services.

If I was starting a project today, I might use htmx in place of mithril.js, and tailwind in place of bootstrap.

gkhartman··on D1 receptors may be a more important target than D2 for antipsychotic drugs
That list seems pretty incomplete/sparse. It's pretty unsettling that paracetamol, as common as it is in modern medicine, would still lack a known mechanism of action. I wonder if it's just a hard question to answer, or something more boring like research cost vs benefit ratios etc.
gkhartman··on ChimeraOS: Instantly turn any PC into a gaming console
I would have thought that installation of Nvidia driver packages for Arch would do the trick. I'll admit that I'm unfamiliar with the interaction between GPU drivers and Wayland, so I'm guessing it would just result in an unstable combination?
gkhartman··on Kafka is dead, long live Kafka
Just to clarify MQTT is a pub/sub protocol, while ActiveMQ and RabbitMQ are message broker implementations. As an example ActiveMQ implements MQTT as one of its optional protocols. Though if anyone's looking for a simple MQTT implantation I'd recommend Mosquitto. My 2 cents as someone who's worked with ActiveMQ pub/sub for quite a few years.
gkhartman··on Linux surpasses the Mac among Steam gamers
Fine, as long as some of the profits from my rent go towards development of the Linux gaming ecosystem. It may not be the best way through, but it's the most hopeful path forward at the moment.
gkhartman··on Good code is like a love letter to the next developer who will maintain it
"Imagine a carpenter that says straight cuts aren't possible, just because they never maintained their tools and the last 10 cuts came out wrong."

Anyone who's worked on a construction site would agree that this is not too far from reality.

I agree, it's quite sad, but that sentiment usually comes with burnout from too many quick deadlines and vast piles of tech debt.

gkhartman··on How I run my servers (2022)
I've been using Ansible to deploy ~10 services from git repos to a set of KVMs. After paying the time tax of writing the playbooks, I just update a release version variable for the service I want to update and rerun the playbook. It will even take care of the systemd restarts.

I'm pretty happy with that set up. Ansible has just enough smarts to be less tedious than shell scripting, but dumb enough that it's behavior is easy to figure out in most cases.

Now I'm tempted to try running it nightly from cron.

gkhartman··on LXD is now under Canonical
If it gets us closer to being able to run native Office and Directx apps on Linux I'm all for it. Snap enforcement already scared me away from Ubuntu for the most part anyway.
gkhartman··on Can Dell’s 6K monitor beat their 8K monitor?
I've recently started noticing latter has been happening to me without my consent ;)
gkhartman··on Frigate – NVR with Realtime Object Detection for IP Cameras
This project is really great, and I love the integration it has with Home Assistant.

Lately I've been stuck on the issue of getting my GPU mapped into its docker container. I'm probably in the small group that's not using the suggested Google TPU though. I felt myself wishing for non-container installation docs, but that's probably due to a lack of free time to fiddle with the container.

gkhartman··on Ken Thompson on the bug that exposed his compiler trojan (2021)
That was a wild read. Thanks for sharing. Lesson learned, but now I have to go "walk it off" haha.
gkhartman··on React, but in Python
They have their own template engine, but it can be swapped for Jinja2 optionally.
gkhartman··on DreamBerd is a perfect programming language
First time reading this. Thanks for the laugh. Trigger warning for those who have worked on legacy Java/C# code.
gkhartman··on Ask HN: How to generate PDFs from the back end?
I inherited a codebase that uses this approach. You can use xvfb to get around the x11 frame buffer requirement. It works, but we are looking to migrate to another solution, since it appears that wkhtmltopdf is no longer maintained.
gkhartman··on Linux HDR hackfest wrap-up
I was just wondering about this sort of work after converting my gaming PC to Arch to play steam games. Glad to hear there are people working on linux HDR and graphics in general. Many thanks to all involved.
gkhartman··on LattePanda Announces Sigma, a 'Hackable Single Board Server'
I wish there was something similarly affordable that came with ECC ram.
gkhartman··on Booting Modern Intel CPUs
Thanks for the tip about the ESP32-S3 ADC2. Coincidentally, I was about to embark on that trail only to learn the hard way. You've likely saved me a good deal of frustration.
gkhartman··on Framework’s computers aren’t perfect, but they are exciting
Sparkfun sold a refill kit, but sadly it's retired ;)

https://www.sparkfun.com/products/retired/10622

gkhartman··on Cooking on gas could be behind kids' asthma symptoms
Seconding this. I picked up an Airthings wave plus sensor a few months back and have been quite happy with it. I was shocked by how quickly the co2 value would rise in my home office during a typical work day. Now I can tell when I need to open a window to let in fresh air to avoid feeling drowsy.

I was able to connect it to my Home Assistant server using a USB Bluetooth dongle which was a nice bonus.

← PreviousPage 4 of 7Next →