News for hackers. Stuff that matters.

oftenwrong

Re:JetKVM Mini on Sunday September 13, 2026 @09:51AM (#49684020)
The cheap alternative I use is based on a USB switch hub and a monitor that has enough inputs for all of the computers I want to switch between.

The hub is a very simple and inexpensive device that essentially just lets you change USB devices between computers. It has 4 ports for USB devices, and 4 input ports for USB hosts. There is a wired remote control that allows you to switch between the hosts.

The way you turn this into a KVM-like device is by having each host connected to the monitor/s indepentently. In my case, I have only two hosts, and each one is connected via HDMI cable to my single monitor. Each host is set up to detect when the USB hub is connected, and then send a DDC command to switch the monitor input over to itself.

The end user experience is: I press a button on the wired remote, which is mounted on my keyboard tray, and then after a short delay the corresponding computer is on my screen and everything works normally.

On linux, this is trivially accomplished with a udev rule + a script calling ddcutil.

On my work machine, a Mac, I could not find a simple solution that worked reliably on my specific Macbook Pro model that I would recommend, so I had an AI write a custom daemon for this purpose.

The major benefit of this "poor man's KVM" is that you do not need an expensive and finnicky piece of KVM hardware. You do not need to worry about the video chip supporting your setup, or firmware bugs. You buy one cheap, commodity product. The downside is the reliance on the hosts, and on monitor features, and having to set up the functionality manually. In my case, this is the sort of thing I basically just set up and then never touched again, so it was a fine trade-off. If I get new computers, or a new monitor, or I change which porta the computers are attached to, then I have to change the code.

Re:JetKVM Mini on Sunday September 13, 2026 @09:13AM (#49683616)
At the beginning of my career, it was typical to have servers in the office, either in a server closet, or in a proper server room. Even if we had servers off-site, the development infrastructure was often still local. It was typical for experienced developers to know how to do basic "physical" maintenance. I was a system administrator before I was a developer, so often I was the one who ended up doing it. I imagine many HN readers remember those days. I miss it a bit!
The greatest weakness of Google Photos is that it has no real incremental, automated backup features. If it could incrementally sync over to other services, it would be much better. The closest is to manually use Google Takeout to export specific time ranges, and then copy those elsewhere.
That's me in a nutshell. I have close to 300GiB in Google Photos, mostly photos and videos of my children. I take a lot of photographs because getting a good shot, for me, is mostly a matter of luck. I don't delete that many photos because it's active work and I don't really care to spend the time. I do curate an album of decent ones, just so the few people who care can see new photos and videos every now and then. I pay a relatively small fee for 2 TiB of space.
Re:How version control will evolve for the agent boom on Thursday July 09, 2026 @10:04AM (#48846068)
I am anticipating a move away from git-style version control entirely.

One possible shape is something like unison-lang's CAS AST model:

https://www.unison-lang.org/docs/the-big-idea/

This model has some significant downsides for humans, but less so for automatons. It eliminates some major problems of software development like merge conflicts, dependency hell, etc.

Re:In praise of memcached on Tuesday June 23, 2026 @07:46PM (#48653260)
Seems that it is already supported: https://docs.memcached.org/features/flashstorage/
Re:Nobody cracks open a programming book anymore on Monday May 25, 2026 @08:09PM (#48273379)
[delayed]
Re:Why the heck are we still using Markdown? on Sunday April 05, 2026 @09:36AM (#47649313)
I have long used underscores for _emphasis_, but I never made the connection that it was meant to resemble an underline until now.
Re:ninja: a small build system with a focus on speed on Monday March 30, 2026 @05:23PM (#47579871)
I might be missing your sarcasm, but this is a common approach for large scale builds. Virtual filesystems are used to provide a pre-computed tree hash as a xattr. In a more typical case, you can read the git tree hash.
Surely the school streets are a great benefit for families, yes? That seems as pro-child as public space allocation could be.
Re:1Password pricing increasing up to 33% in March on Saturday February 28, 2026 @09:11AM (#47195597)
>The browser extension doesn’t work half the time. In addition to being frustrating, that makes it a less secure system, as one of the benefits is that it only fills the password on the specified domain. A lack of reliability of the extension leaves people more vulnerable to phishing, since they have to copy/paste passwords out of the app.

This is my main frustration with it as well. It is one of the main features in my mind, and it often does not work. It seems to work for many sites I use on desktop (Firefox on Linux, Mac), but doesn't work well at all on Android (Android app and Firefox). I can understand if this issue is outside of 1password's control because it possibly is due to specifics of Android's APIs, but I would prefer transparency in the matter.

Re:Show HN: Unfudged – version control without commits on Saturday February 28, 2026 @08:40AM (#47195243)
I have used savevers.vim for many years as a way to recover old versions of files.

https://www.vim.org/scripts/script.php?script_id=89

It is comparatively unsophisticated, but I need it so infrequently that it has been good enough.

I do like the idea of maintaining a complete snapshot of all history.

This is a good application for virtual filesystems. The virtual fs would capture every write in order to maintain a complete edit history. As I understand it, Google's CitC system and Meta's EdenFS work this way.

https://cacm.acm.org/research/why-google-stores-billions-of-...

https://github.com/facebook/sapling/blob/main/eden/fs/docs/O...

Re:I Don't Like Magic on Saturday February 21, 2026 @11:39PM (#47108225)

    #!/usr/bin/env java --source 25
    void main() {
        IO.println("Hello, World!");
    }
Re:Spotify Honk AI Agent on Thursday February 12, 2026 @04:23PM (#46995410)
Seems that the Google-style approach would be a good fit: mostly one codebase with a well-defined dependency graph, and build/test infrastructure that supports fast and comprehensive validation. This would seem to obviate the need for the catalog system described, but probably requires more investment in the build system.
Re:What Functional Programmers Get Wrong About Systems on Tuesday February 10, 2026 @11:09AM (#46961818)
This is one of the main problems I have banging my head on for the past decade, and many of the things mentioned, like Buf, Unison, and more, I only stumbled upon randomly on my own. It's refreshing to read an article on this subject simply because it's so under-discussed. I also wonder to what degree these problems have been solved within the high walls of the tech giants like Google and Amazon.
Re:Company as Code on Thursday February 05, 2026 @12:54PM (#46902437)
This is perhaps a bit different, but Fossil supports storing more types of written company artifacts in the repo:

>One notable feature of Fossil is that it bundles bug tracking, wiki, forum, chat, and technotes with distributed version control to give you an all-in-one software project management system.

https://fossil-scm.org/home/doc/trunk/www/whyallinone.md

Re:Modetc: Move your dotfiles from kernel space on Saturday January 24, 2026 @10:19AM (#46744289)
I have been doing this for decades. My files are in a sub-directory of $HOME. It also makes it very obvious when a piece of software does not treat your $HOME with respect.

Older »