Live data from Hacker News

Claude writing a macOS driver for my obscure HP printer built only for Windows

twitter.com

161–170 of 241 posts

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#161
post #51

Earlier quoted context omitted.

Would calling it a "driver adapter" fit more accurately .. ?

I don't think so, no. It does not appear to be functioning as an OSX device driver. It's just hosting a network print server in docker.

It works with Cmd + P https://x.com/kuberwastaken/status/2089961185047437729

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#164
Awesome. I had a crack at the Xerox Travel Scanner 150, which had niche drivers for some reason, only shipped Windows and didn't make it into SANE. Wireshark and prior art from SANE got me most of the way. Getting the stepper motor working was really hard and I didn't manage to get it completely working Maybe I'll resurrect 15 year when it's a little older. I really fancied a Pi+Scanner pipeline with OCR/AI to file all my documents as they arrive. Maybe I should just take a photo?

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#165

Unfortunately this is a very misleading article and headline. I don't doubt the end result - it's useful that it works, but it's not "natively" and, unlike what some people assume, Claude didn't write a driver. It basically used HP's existing proprietary driver in a Linux VM on macOS, and just bridged that to macOS. It also requires a root launcher that runs code from the user ~/.hp1008 dir, so security is weakened.

I do not want to call anyone names but the level of pedantry and gatekeeping in this comment and the replies is outstanding. I can hear Chuck McGill screaming "You're not a real driver!".

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#166
post #97
post #89

Earlier quoted context omitted.

The way that you talk to it influences the way that it responds to you and it is not subtle. I don't want to hitch on to the "it's just really complicated autocomplete" bandwagon, but this is one of the ways that it does feel like that.

With voice dictation (wispr flow), I find it easier for me to talk naturally as if I'm talking to a friend. I'll sometimes give lengthy notes on context for a project, like why I want to do it, e.g. something for my wife to use. So I find it common (and fine, I suppose) for Claude to reply using that context. "Let me know what your wife thinks of the app" etc.

Free opensource alternative to whisper flow : https://handy.computer

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#168
post #79

Earlier quoted context omitted.

Had a similar thought today - maybe we could finally get Linux drivers for more HW...

I don't understand the technology enough to see why, but LLMs seem unusually skilled at reverse engineering proprietary software.

LLMs don't get as mentally exhausted by trying repeated tedious things as a human will. Same general idea as, imagine if you as a human typing into a keyboard had to manually fuzz test software in a pre-LLM era vs. how fuzz testing is actually done.

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#169

Earlier quoted context omitted.

I don't understand the technology enough to see why, but LLMs seem unusually skilled at reverse engineering proprietary software.

IMO it's because they don't get burnt out by a lack of results. After 5-6 consecutive approaches fail, I need a reason to think the next one might work out to stay motivated. Claude will keep burning credits trying new approaches until something sticks. That's a huge advantage in a field where most of the things you try don't go anywhere.

As an analogy, you're not going to cut your lawn by hand at the speed and slow pace that the smallest and weakest lawn mowing robot does. You're not going to cut your lawn with kitchen scissors. But the LLM will, metaphorically, be perfectly happy to cut your lawn with kitchen scissors as long as it has enough time/tokens to keep cranking away at it.

Re: Claude writing a macOS driver for my obscure HP printer built only for Windows

#170

Earlier quoted context omitted.

Had a similar experience getting a niche app running under wine. The bot had to bring in a different open source renderer, patch dlls, adapt a mapping tool from a different chip architecture to partly map and modify the binary, crazy stuff. Alternatives exist but are expensive, this got it working in an hour when doing it myself would probably be 2 weeks.

Last week I had Claude add support for aac audio to davinci resolve on Linux, just by patching the binary. It did almost exclusively with gdb and objdump, patching about 5 functions over an hour or two. I only got it to the proof of concept stage. The patch adds aac but breaks flac support in the process. And it only works for aac in mp4 container files. But I’m sure with a bit of time we could make a patch which wor…

Are you planning to develop this in the open somewhere. I would be more than interested to have that davinci capability as well
Post reply on HN