News for hackers. Stuff that matters.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by qq66 on Monday September 08, 2025 @04:50AM (#45166015)
On the other hand, this library probably wouldn’t exist without vibe coding, and you might never have known that the lid angle is readable.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by hebejebelus on Monday September 08, 2025 @05:02AM (#45166087)
I think that's the thing I'm trying to say. _This_ library might not exist but anyone with an Anthropic account and the knowledge that there is a readable sensor can make it exist just as easily.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by joenot443 on Monday September 08, 2025 @07:09AM (#45166884)
I completely agree.

I’d be so much more impressed if OP had come up with an interesting use case for this “library” rather than just writing a single prompt and firing up a Show HN

macOS has hundreds of APIs. I’m not really convinced every single one needs a Claude wrapper library, nor am I convinced OP did any amount of interesting engineering work here.

It’s a bit like releasing a music album comprised entirely of Suno tracks - sure, it’s there, you can press play, but is it something to be proud of?

Re:Show HN: C++ library for reading MacBook lid angle sensor... by numpad0 on Monday September 08, 2025 @05:23AM (#45166214)
This couldn't have existed until someone else done it manually in Python and posted here on HN. The author likely fed that code to Claude or free tier Gemini.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by saagarjha on Monday September 08, 2025 @06:28AM (#45166607)
Did you see the link to the repo that inspired this?