HNHacker News
TopNewBestAskShowJobs

gkhartman

493 karma · joined March 17, 2017

I'm not Greg Kroah-Hartman in case you're wondering.
submissionscomments
gkhartman··on Linux's Bedtime Routine
I've noticed the same thing. It's the delay between waking up and freezing that makes it so frustrating.

I'm using Pop_OS on an AMD 7950x + Nvidia RTX 4080. I'm using the proprietary Nvidia drivers, so I blamed that initially, but I see another comment mentioning that this only happens on their AMD systems, so maybe they are not the culprit this time.

The only solution I've found is to disable sleep/suspend entirely.

gkhartman··on Show HN: OBS Live-streaming with 120ms latency
As someone unfamiliar with video broadcasting latencies, how does this compare to alternatives? Also, what are the hardware specs used to achieve the 120ms measurement?
gkhartman··on CIEL Is an Extended Lisp
What made it more productive than the usual mainstream languages?

I'm coming from 10 years of OOP leaning C++/Java/Python, and have been seeing the beauty of functional programming in the latter half of that time. It's just far easier to test than OOP in my experience.

gkhartman··on ChartDB – Free and open source, database design editor
I have definitely had issues getting the ERD to behave in dbeaver. For someone like me, it's fine. I'll fiddle until it works. For some folks I've worked with, not so much. I usually only want this sort of thing when collaboraring on design with those unfamiliar with SQL, but have domain knowledge (and arrive wielding excel spreadsheet the size of a small DB).
gkhartman··on ChartDB – Free and open source, database design editor
I wish this existed when I started my project 5 years ago. I had to design a database schema for a full stack project using postgres. I was working with a scientific domain expert, and it was very helpful to have a diagram to review, so they could identify issues that might arise due to future domain specific needs.

This caused many one-on-one meetings where we would look at the diagram, and I'd note changes to be made for next meeting.

With this, we could have made changes live during meetings, and saved many iterations.

Things like pgadmin existed, but it didn't look as friendly for non-technical folks. This might decrease some friction.

gkhartman··on A Collection of Free Public APIs That Is Tested Daily
Small nitpick: How does this calculate the health score shown? I see a vague description in the about page, but I'm confused by the weights. For example the Guild Wars 2 API shows 95 prevent, but clicking for details shows 100 percent reliability. Perhaps it's the high latency that drops it's score by 5 percent?

This is really great overall. I like the interface on mobile, and search works great for me so far. Bookmarking for later.

gkhartman··on Unlocking the Pixel 9 bootloader breaks some Pixel AI apps
Thanks for the info. Their comments on hardware treadmills are reasonable. I'm not looking to chase the latest hardware, but I was still scared off by reviews claiming web video playback performance issues. I suppose I was hopping for the bumps to smooth out a bit.

I find it encouraging to hear that it's working for you. I'll probably take another look at making the switch when I have a moment. I'd much rather support an alternative platform if possible.

gkhartman··on Unlocking the Pixel 9 bootloader breaks some Pixel AI apps
I wish it was comparable. The Librem 5 is years behind flagship smartphone hardware. I want to switch, but it would be difficult to give up the stability that comes with Android. That said, maybe the Librem has improved in the last year or so.
gkhartman··on The brain simulates actions and their consequences during REM sleep
Not yet, but that's not a bad idea.
gkhartman··on The brain simulates actions and their consequences during REM sleep
I've often thought this was the case. Tangentially, when I don't get enough sleep, and my executive function is impaired, I tend to drift into involuntary daydreams. The content of those daydreams trends to feel like simulations of future events and possible outcomes. I can't say it's related, but I often wondered if my brain is saying "If your not going to sleep enough, so be it, I'll try to squeeze in some simulation tasks during the day". When I was a teen, I'd daydream about skateboarding. It could feel so realistic that I could get a "jump scare" in imagined situations that ended in me hitting the ground.
gkhartman··on The introverts are winning
I've noticed this as well. I think it's a pretty good analogy. That realization came after being homeschooled for a few years as a teen. In my case, this meant less opportunity to socialize. After returning to public school, my "level of fitness" increased pretty quickly to way it's consider normal/healthy. The pandemic had similar effects that required a bit of effort to correct.

Just like physical fitness, some need more/less exercise to stay fit. There will also be different preferences for were that exercise is done (at or outside the office).

gkhartman··on FastHTML – Modern web applications in pure Python
It's a bit of a tangent, but do you have any go-to resources for learning how to use Django-ninja with HTMX? I haven't really put a lot of time into it, but HTMX seemed difficult to use with JSON APIs on first attempt.

I'm only really familiar with Django and DRF, but if love to switch at some point.

gkhartman··on In Praise of Low Tech DevEx
I miss this workflow sometimes. I started out as a c++ dev with a light weight vim + make workflow. I didn't really want an ide. I didn't have to configure much and I knew the libraries well enough that auto-completions didn't really interest me.

After getting a few full stack web projects made me jump to vscode. There's too many libraries and languages to juggle. Going without a smarter editor starts feeling like leaving time (aka money) on the table.

gkhartman··on Maybe You're Not Sick of Programming
I often feel this way l only to realize that the real cause is that the software was written before planning the architecture first. Usually caused by the rush to a minimum viable product rather than maintainability. Immutably can definitely lighten that burden though. The worst case is opening the code and finding mountains of global state that can be modified from who knows where.
gkhartman··on Programmable Matter – 3D Catoms
Self assembling robotic materials feel so far away, yet so close to happening. I'm sure it will be a long time before anything like this is practical, but it seems like we could be so much more efficient with that level of reuse. I'm not as optimistic about the waste produced by dead units, but hopefully we get our ewaste programs under control by then.
gkhartman··on Ask HN: How do you organize and store your cables?
We've all had "the box" at one point or another. You know, the one full of nightmare spaghetti. I may have one (or three) of those. I find its often easier to buy a new cable, rather than fight the spaghetti monster.
gkhartman··on Nvidia overtakes Apple as No. 2 most valuable company
I'm wondering what will happen when competition finally shows up. While I'm not an expert, I'm sure cloud providers would love to stop paying high prices for hardware. CUDA seemed like the roadblock,, but that can only last so long right?

Disclaimer: It's been a while since I've worked on an implementation involving GPUs.

gkhartman··on Flatpak – a security nightmare – 2 years later (2020)
I agree. I tend to avoid flatpak, since I don't usually have the time to debug access issues. The desktop integration doesn't seem good enough to give me an allow/block dialog each time. The current situation of "is the app I need a snap|flatpak|$os_pkg_format_here" seems to add a lot of fatigue to the experience.
gkhartman··on Grace Version Control System
I don't develop offline often these days, but I do recall a recent time where my power went out for a few hours. Since I was using git on my laptop, I just shrugged and kept working. Using git allowed me to continue working in a flow state that would have normally been interrupted by a dropped connection. Of course, if your project doesn't run locally, that point is moot. For others, in areas with more power/connection interruptions, the time savef would add up.
gkhartman··on An analysis of the Rabbit R1 APK
I agree with your take. This device kind of reminds me of the kiosk use case. There are times where having a single device, that does one thing well, feels better than having to search through a crowded smartphone for an app.
gkhartman··on The IMEI Code: Your phone’s other number
I've had this thought before while studying biology in college while working on legacy code as an intern. There's definitely a "designed by natural selection" feel to some old legacy systems.
gkhartman··on A Beginner's Guide to the ESP8266 (2017)
This is great news! I recently discovered LVGL and was thinking that it would be great to have in a esphome module. I currently have a few of the small i2c OLED displays going, but they are quite limited.

Many thanks to those working on it. Can't wait to try the preview.

gkhartman··on Windows 11 now comes with its own adware
Yeah, I had a few driver versions cause issues. I'm usually able to get around it by switching proton versions. Sometimes the experimental version works when others don't. There was a driver version a month or so back that broke gw2, but it seemed to be fixed by next driver release.

I think about picking up a cheaper amd card for those unstable periods when Nvidia can't seem to get it right. I know its nowhere near the top of there todo list, but really wish they'd give more attention to the Linux driver.

gkhartman··on Windows 11 now comes with its own adware
I'm fine with paid software licenses, but ads and telemetry embedded in a product with a payed license is a hard pass from me.
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.
← PreviousPage 3 of 7Next →