MurphyA/hacker-news huggingface dataset:
by tombert | 2025-12-28 23:57:48+00:00
I don't even think we need ChatGPT or anything for this. Instead, just create an n8n job that runs nightly that sends a company-wide email that says "we are continuing to strive to implement AI into our application". Maybe add a thing talking about how share price going down is actually a blessing in disguise, depending on how the market is doing, obviously.

Don't steal this idea it's mine I'm going to sell it for a million dollars.
by fooofw | 2025-12-28 23:58:06+00:00
I believe this might be slightly imprecise also.

The traceback is actually shown based on the last-thrown exception (that thrown from the finally in this example), but includes the previous "chained exceptions" and prints them first. From CPython docs [1]:

> When raising a new exception while another exception is already being handled, the new exception’s __context__ attribute is automatically set to the handled exception. An exception may be handled when an except or finally clause, or a with statement, is used. [...] The default traceback display code shows these chained exceptions in addition to the traceback for the exception itself. [...] In either case, the exception itself is always shown after any chained exceptions so that the final line of the traceback always shows the last exception that was raised.

So, in practice, you will see both tracebacks. However, if you, say, just catch the exception with a generic "except Exception" or whatever and log it without "__context__", you will miss the firstly thrown exception.

[1]: https://docs.python.org/3.14/library/exceptions.html#excepti...
Show HN: Kiss – code-complexity feedback for LLM coding agents
by dspub99 | 2025-12-28 23:58:30+00:00
I (like everyone?) have found that linters help keep AI coders on track. But I would still see consistent overcomplexity and "code smells" that tend to creep in when iterating on code. kiss is my attempt to fix that. The agent might see a kiss violation on a long function and respond by factoring out some piece of it. Or it might get a violation due to duplicated code and factor that out.

kiss was AI-coded using kiss. It lints Python and Rust code. I'd love feedback.
by sallveburrpi | 2025-12-28 23:59:05+00:00
The people in this thread coming to the defense of their CEOs sound like Tom Smykowski in Office Space desperately trying to save his job:
“I already told you: I deal with the god damn customers so the engineers don't have to. I have people skills; I am good at dealing with people.”

https://youtube.com/watch?v=hNuu9CpdjIo
by derriz | 2025-12-28 23:59:25+00:00
That’s the seductive power of mocking - you get a test up and running quickly. The benefit to the initial test writer is significant.

The cost is the pain - sometimes nightmarish - for other contributors to the code base since tests depending on mocking are far more brittle.

Someone changes code to check if the ResultSet is empty before further processing and a large number of your mock based tests break as the original test author will only have mocked enough of the class to support the current implementation.

Working on a 10+ year old code base, making a small simple safe change and then seeing a bunch of unit tests fail, my reaction is always “please let the failing tests not rely on mocks”.
by actsasbuffoon | 2025-12-28 23:59:27+00:00
I’ve seen experienced software developers make impressive stuff with AI. I haven’t seen anything interesting made with AI by non-developers. They make a landing page or something. It’s just… barely anything. It’s a nothing of a project.

We use AI a lot at work, and the developers are vastly better at getting AI to do what we need than the non-developers. AI is a tool, and like any tool, it takes effort to learn how to use it effectively. And so far, the skills to use AI effectively are something I’ve only seen in software developers.

I don’t think product people are going to replace devs. Ever. I agree that I think a dispersal is more likely than an outright crash.
by saghm | 2025-12-28 23:59:39+00:00
I've never understood that to mean that every possible abstraction would be zero cost, but that the language itself provides abstractions that are zero cost. I'm not sure how you could avoid having external libraries ever implement an abstraction with a cost. I honestly can't tell from this article alone what library the type `FFISafe` is from, but it's not from std.

(As an side someone whose spent a lot of time in the ecosystem might be able to infer this is likely a third-party library just from the fact that the capitalization is not in the typical format that official things use; if it were in std, I'd expect it to be FfiSafe, similar to how IoSlice[1], Arc[2], Shl[3], TypeId[4] etc. don't treat separate parts of an abbreviation/acronym/initialism as word breaks).

[1]: https://doc.rust-lang.org/std/io/struct.IoSlice.html
[2]: https://doc.rust-lang.org/std/sync/struct.Arc.html
[3]: https://doc.rust-lang.org/std/ops/trait.Shl.html
[4]: https://doc.rust-lang.org/std/any/struct.TypeId.html
by hackyhacky | 2025-12-28 23:59:53+00:00
> I think you don't have an appreciation for the work or finesse or charisma required.

I think that you don't appreciate that charismatic emails are one of the few things that modern AI can do better than humans.

I wouldn't trust ChatGPT to do my math homework, but I would trust it to write a great op-ed piece.
by jeeyoungk | 2025-12-29 00:00:37+00:00
If you want "3x3 colored image", you would need 6x6 of the bayer filter pixels.

Each RGB pixel would be 2x2 grid of

```
G R
B G
```

So G appears twice as many as other colors (this is mostly the same for both the screen and sensor technology).

There are different ways to do the color filter layouts for screens and sensors (Fuji X-Trans have different layout, for example).
by tombert | 2025-12-29 00:00:46+00:00
I do think it's a lot about personality, though I gotta say that I don't really think it should be like that.

My dad had a manager (who was a VP) that he privately nicknamed "VPGPT", because despite being a very polite and personable guy he pretty much knew nothing about the engineering he was ostensibly managing, and basically just spoke in truisms that sounded kind of meaningful unless you do any kind of analysis on them.

I'm not saying that AI would necessarily be "better", but I do kind of hate how people who are utterly incapable of anything even approaching "technical" end up being the ones making technical decisions.
by zelphirkalt | 2025-12-29 00:01:00+00:00
I like that this idea is brought up though, to hold a mirror in front of CEO faces. Just like we won't replace capable (!) CEOs with AI any time soon, we will not replace capable (!) developers with AI any time soon.

It is good, that CEOs also get some of this "You will be replaced by AI!" flak, that we hear from CEOs of big tech directed at developers. Do those CEOs think their job is more complex than a software developer job, which they are so eager to replace? How many times more do we want to replace the CEO, considering salaries? How about we put as many times the amount of money into that, as we are putting into trying to replace developers?

In the end neither will work out any time soon, judging current "AI"'s actual AI level. I think for that we still need some 2-3 architectural leaps forward. And by that I don't mean simply building bigger ANNs and ingesting more data. It already seems like the returns for that are rapidly diminishing.
by jalapenos | 2025-12-29 00:01:28+00:00
Misunderstanding why the CEO is paid so much.

If you've ever worked at a company that's a chaotic shitshow, you'll know how strong the effect of the CEO is - it always comes down to the guy at the top not being up to it.

The leverage of the role is enormous, and the strength of someone who can carry out this role well for a large company is sky high - not many such people in the world, and they only need one.

So the math all comes out very straightforward: even at obscene looking salaries, they're still a bargain.
by mort96 | 2025-12-29 00:01:44+00:00
I think it's worse than that: we're now suffering being a "supported but deprioritised platform" for a cross platform GUI.

AppKit was developed for the Mac from the ground up. All effort that went into it was to make the Mac as good as possible. Experience from that went into making UIKit, which was made to be as good as possible for iPhone. Focus on iPhone made the Mac suffer somewhat from a lack of resources, but AppKit was still a rock solid foundation.

Swift UI is primarily made for iPhone. It's secondarily made for iPad. I'm willing to bet that almost all the effort that goes into it is focused on making iPhone and iPad apps better. And it is succeeding there, to some degree (though not without its own issues; especially now with iOS 26). Mac support, however, is clearly an afterthought. Yet it's now the foundation of everything in macOS.

It's not too dissimilar from what it would look like if Apple had decided to rewrite large swathes of the system in GTK when the GTK developers only really care about how well GTK works in a GNOME desktop.
by i-am-gizm0 | 2025-12-29 00:01:54+00:00
The raw sensor output is a single value per sensor pixel, each of which is behind a red, green, or blue color filter. So to get a usable image (where each pixel has a value for all three colors), we have to somehow condense the values from some number of these sensor pixels. This is the "Debayering" process.
by johnfn | 2025-12-29 00:01:59+00:00
It seems a bit too much to assert that every developer should be fully responsible for every moral slight their company commits. It is entirely possible to make a positive impact on the world from a large organization - in fact for some people it may be the most direct way that they can make such an impact.

Saying that he is morally bankrupt is like saying that you are morally bankrupt for continuing to live in the US because the current administration is a dumpster fire. It is financially profitable to live in the US; you basically cash in a 6 figure check (perhaps translate the metaphor by taking the monetary value that a significantly increased quality of life is worth to you) by living here rather than some other, lesser developed country with more morally aligned politics. Why not leave? I submit that the calculus that goes through your head to justify staying is roughly equivalent to the one that goes through his when he thinks about continuing to work at big tech. I also don’t think that either of you are wrong for having some justification.
by idiotsecant | 2025-12-29 00:02:18+00:00
I am sympathetic to your point, but reducing a complex social exchange like that down to 'writing emails' is wildly underestimating the problem. In any negotiation, it's essential to have an internal model of the other party. If you can't predict reactions you don't know which actions to take. I am not at all convinced any modern AI would be up to that task. Once one exists that is I think we stop being in charge of our little corner of the galaxy.
by GCA10 | 2025-12-29 00:02:38+00:00
If Lou Gerstner had put any energy into growing RJR Nabisco's tobacco business, I could see your point. But during that 1989-1993 timespan, RJR Nabisco's leaders at the time (Gerstner plus private equity guys) were focused on wringing cash out of the shrinking tobacco division. Most of their growth strategies involved the Nabisco half, which actually accounted for about 60% of revenue.

There's still nothing heroic about that chapter of Gerstner's career. But if you're seeing public good in having tobacco companies fade from sight, there are bits of Gerstner's stewardship at RJR Nabisco that unwittingly worked out okay.
by like_any_other | 2025-12-29 00:02:57+00:00
> I would question anyones ability to publish a reliable investigative feature in that time.

The BBC are not naive babes born yesterday. All of the context I gave is more than a year old. They would not create a new investigative feature, but simply reference old ones, by themselves or media they trust. The equivalent of writing "North Korea borders South Korea, and they share a history of hostilities." in an article about Kim's latest missile test.
by AphantaZach | 2025-12-29 00:03:05+00:00
Fair critique. The wellness space is definitely flooded with 'quantum energy' nonsense so the skepticism is appreciated.

I look at this tool less like a 'magic brain pill' and more like a metronome for a musician. A metronome doesn't make you play better, but it mechanically forces you to stick to a tempo. This app just saturates your visual cortex with a steady rhythm so your brain stops scanning the room for distractions. It’s essentially a distraction-cancellation for focus.

As for the 'emotional regulation' bit—I do admit that comes off as marketing speak(not my background!) It really just refers to wavelength impact: Red light avoids triggering melanopsin (good for winding down), while Cyan/Blue light triggers wakefulness (good for mornings). No magic stones involved
by SandmanDP | 2025-12-29 00:03:11+00:00
> Currently, only Windows and Linux are supported by BBA-IPC, but if there is enough interest, cristian64 has already found another library that could let us support this in other operating systems.

For anyone curious, the cross-platform IPC library they’re considering is ZeroMQ. Draft pull request here: https://github.com/dolphin-emu/dolphin/pull/14046
by brantmv | 2025-12-29 00:03:17+00:00
Also, the mathematical content here is pretty thin. Their main theorem has nothing to do with LLMs directly. It's a theorem about a five-state Markov chain, and the proof follows from standard Markov chain theory.

For those reasons, the grandiose name "LLM-Verifier Convergence Theorem" does not sit well with me.
by to11mtm | 2025-12-29 00:03:35+00:00
Well that's why back in the day (and even still) 'Photographer listing their whole kit for every shot' is a thing thing you sometimes see.

i.e. Camera+Lens+ISO+SS+FStop+FL+TC (If present)+Filter (If present). Add focus distance if being super duper proper.

And some of that is to help at least provide the right requirements to try to recreate.
by nozzlegear | 2025-12-29 00:04:57+00:00
There's an API in iOS/iPadOS named UIHoverGestureRecognizer, but it only detects hover from cursors and from the Apple Pencil. The Apple Pencil hover is neat and actual "hover" detection in the way you're thinking; it can be detected up to 12mm away from the screen. But right now there's no actual detection for finger hover, even though Apple patented a technique for it almost 10 years ago.
by cantalopes | 2025-12-29 00:05:05+00:00
Can't read the paywalled article so i'm judginf from just a headline (not sure if it's sarcasm or actual opinion),

but as someone who has the honor of working witha really good ceo i can definitely say that you cannot automate them. maybe in some streamlined corporate machine like ibm or something, but not in a living growing company
by barishnamazov | 2025-12-29 00:05:31+00:00
I don't think Kindle ads were available in my region in 2015 because I don't remember seeing these back then, but you're a lucky one to fix this classic mistake :-)

I remember trying out some of the home-made methods while I was implementing a creative work section for a school assignment. It’s surprising how "flat" the basic average looks until you actually respect the coefficients (usually some flavor of 0.21R + 0.72G + 0.07B). I bet it's even more apparent in a 4-bit display.
by itishappy | 2025-12-29 00:05:50+00:00
> What about taking 3 photos while quickly changing the filter

Works great. Most astro shots are taken using a monochrome sensor and filter wheel.

> filters are something like quantum dots that can be turned on/off

If anyone has this tech, plz let me know! Maybe an etalon?

https://en.wikipedia.org/wiki/Fabry%E2%80%93P%C3%A9rot_inter...
by heresie-dabord | 2025-12-29 00:05:59+00:00
> a lot of people on HN don't realize that some people require software outside of a terminal and a web browser. Can I run Ableton on linux?

"$OS is wonderful because I can run $myapp"

and

"$OS is terrible because I cannot run $myapp"

are both very narrow (even wrong) assessments of what $OS offers.

Linux is much more than "a terminal and a Web browser" and I think the abundance of software available in Linux should make that obvious to anyone who is actually trying to do more than find satisfaction with $myapp.
by xyzzy123 | 2025-12-29 00:06:35+00:00
I'm not sure you can get around the principal-agent problem that easily. Who sets the policy levers on the automation and governs it? They inherit the ceo's negotiating leverage with shareholders.

It seems like you'd need some sort of fairly radical control structure (say, no board, just ai interacting directly with shareholders) to get around this. But even this ignores that the automation is not neutral, it is provided by actors with incentives.
by ChristopherDrum | 2025-12-29 00:06:39+00:00
I tried to read a mix of things, especially "classics I never got around to." I didn't meet my personal target of 30 books (got sidetracked writing my blog), but definitely read things that stuck with me.

Notable and beautiful

- "The Nickel Boys" by Colson Whitehead

- "Blind Sight" by Meg Howrey

- "The Dispossessed" by Ursula K. LeGuin

Non-fiction

- "Workflow"

- "Game Engine Black Book: Wolfenstein 3D"

- "Debugging: The 9 Indispensible Rules for Finding Even the Most Elusive Software and Hardware Problems"

The rest (all first-time reads)

- "Absolution" by Jeff Vandermeer (I enjoyed it but it was kind of unnecessary)

- "Wuthering Heights" by Emily Bronte (I don't get the fascination with it)

- "Strange Pictures" by Uketsu (odd)

- "Starship Troopers" by Heinlein

- "Rendezvous with Rama" by Arthur C. Clarke

- "Ubik" by Philip K. Dick

- "Mickey 7" by Edward Ashton

- "Fugitive Telemetry" and "System Collapse" by Martha Wells

- "Treasure Island" by Robert Louis Stevenson (I was surprisingly into it)

- "Glass Houses" by Madeline Ashby

- "Cover Her Face" by P.D.James

- "The Crystal Shard" by R.A.Salvatore (I needed to see what Drizzt is all about)

- "James" by Percival Everett (maybe my biggest disappointment of the year)

- "Alien Clay" by Adrian Tchaikovsky

- "Some Desperate Glory" by Emily Tesh

- "Sea of Rust" by C. Robert Cargill
by XorNot | 2025-12-29 00:07:32+00:00
It's not clear when you would ever reload a conventional ships gun at sea either though, particularly on a modern transparent battle space.

It would still involve putting two or more ships in close proximity with heavy lift equipment for an extended time.

If this is close to the front it's a target, if it's not then you could reload VLS cells, and to do it your sacrificing the ability to put munitions on targets quickly which might just cost you the entire ship.

It's not even clear it saves you any reload time, since the only potential benefit is that shells are somewhat smaller then missiles, and even then once you account for magazine design and survivability I'd say the trade off is questionable at best.
by souperdeluxe | 2025-12-29 00:08:39+00:00
Without pre-commit you should squash on merge. That way main is atomic. But squashing loses granularity. A single merge commit might both refactor a function and implement a feature. You could split it into two pull requests, but maybe the feature depends on the refactor. Now your feature branch needs to cherry pick from the refactor branch. What if the refactor branch makes further changes prior to being merged? Now your feature branch has conflicts.

With pre-commit you can disable squashing on merge. You'll have a refactor commit and a feature commit. Changes to the refactor can be --fixup followed by rebase. I find this much easier than juggling two pull requests.

I accept that this is only viable with buy-in from everyone on the team, and I wouldn't advise it for teams over 10 people. But for small teams, I love pre-commit and trunk-based development.
by jeremyjh | 2025-12-29 00:08:54+00:00
I largely agree and I attributed it to the same problem; Moloch is a larger class of problems that includes tragedy of the commons (see other comment for a much better link).

I agree also that legislation like carbon taxes are the only ways to really solve the problem, and mostly read GP's comment with the more generous interpretation.

But I don't think that we should see the lack of that as a license for unhinged consumerism. I think people should hold on to their phones and cars awhile. They should prefer more fuel efficient vehicles if they can afford them, etc.
by imiric | 2025-12-29 00:10:04+00:00
> You presented your point in a misleading way. I would classify this as collaboration/communication rather than politics.

Collaboration and communication are key parts of politics, though.

At its core, politics is simply the dynamics within a group of people. Since we innately organize into hierarchies, and power/wealth/fame are appealing to many, this inevitably leads to mind games, tension, and conflict.

But in order to accomplish anything within an organization, a certain level of politics must be involved. It's fine to find this abhorring and to try to avoid it, but that's just the reality of our society. People who play this game the best have the largest impact and are rewarded; those who don't usually have less impact and are often overlooked.
by krapp | 2025-12-29 00:10:18+00:00
Artists, musicians, scientists, lawyers and programmers have all argued that the irreducible complexity of their jobs makes automation by AI impossible and all have been proven wrong to some degree. I see no reason why CEOs should be the exception.

Although I think it's more likely that we're going to enter an era of fully autonomous corporations, and the position of "CEO" will simply no longer exist except as a machine-to-machine protocol.
by dheera | 2025-12-29 00:10:47+00:00
This is also why I absolute hate, hate, hate it when people ask me whether I "edited" a photo or whether a photo is "original", as if trying to explain away nice-looking images as if they are fake.

The JPEGs cameras produce are heavily processed, and they are emphatically NOT "original". Taking manual control of that process to produce an alternative JPEG with different curves, mappings, calibrations, is not a crime.
by bar000n | 2025-12-29 00:12:11+00:00
When i think about it, I would be absolutely terrified by smartphone cameras. Think laptop accessories that cover the webcam - haven't seen any of those for smartphones. Yet we trust a green dot with all our heart nowadays. Back in the day when cameras started showing up on mobile phones there were even versions of popular business feature phones that lacked the camera (Nokia E51 if i recall correctly), probably triggered by requirements of clients with strict information security standards.

It seems we all learned to stop worrying and love the cameras.
by hinkley | 2025-12-29 00:12:23+00:00
When a law is unjust it will be broken by those on the right side of history. Software can’t tell if a law is just or not.

So if you want to support suffragists or underground railroads you’re making software that breaks the law.

Really we are all breaking some law all the time. Which is how oppression works. Selective enforcement. ‘Give me six lines from the most innocent man and I will find in them something to damn his soul.”