MurphyA/hacker-news huggingface dataset:
Show HN: Tired of fixing broken LLM agents? Automate it
by yuto_1192 | 2025-07-04 00:13:45+00:00
Hi HN!

Two weeks ago, I launched Kaizen Agent – an open-source tool to help you test, debug, and automatically fix LLM agents and apps.

It runs evaluations based on YAML-defined inputs/outputs, detects failures, suggests fixes, re-runs tests, and even opens a pull request — all from a single CLI command.

What’s new since launch: Greatly improved README with better examples and onboarding

Now compatible with Mastra, a popular TypeScript agent framework

Full documentation site launched → https://kaizen-agent.github.io/kaizen-agent/

Available on PyPI → pip install kaizen-agent

It’s still early, but if you’re building production-ready LLM apps and tired of tedious trial and error, I’d love your feedback. Try it out locally — and if you find it useful, a GitHub would mean a lot!

Thanks for checking it out
by kazinator | 2025-07-04 00:13:59+00:00
That is false. Safety engineering sometimes only mitigates risk, but often reduces it to practically zero, such that people have to be deliberately negligent to prevail in bringing about a safety incident. E.g. elevator holds 15 people, yet 45 somehow jam themselves in as a stunt.

Partial safety mitigation isn't so much how safety engineering works; it's how it ducks out of working due to non-engineering reasons. If any safety issue remains, that means engineering was not done in that regard: the safety engineers were excused from the requirement to design anything for that risk.
by starchild3001 | 2025-07-04 00:14:31+00:00
This is a fantastic write-up of a truly monumental effort. I have huge respect for the author's persistence. The line "Like gardening, but with more segfaults" really resonates. It’s this kind of deep-dive hobby project where you learn the most.

The experience with `c2rust` is particularly interesting. It reminds me of a similar shift I saw years ago with automatic code translators between other languages. They're incredible for getting a project off the ground and proving feasibility, just as the author found, but you often end up with code that's completely "un-idiomatic" for the target language. The decision to throw it all away and do a manual port, while surely gut-wrenching, was the right call. You just can't automatically translate the intent of the original C code into safe, idiomatic Rust.

The "Interesting Bugs" section gave me flashbacks. Bug #2, with the mismatched struct layout due to a missing `*`, is a classic FFI (Foreign Function Interface) nightmare. I once spent the better part of a week debugging a similar issue between C++ and C# where a single change in struct packing alignment was silently corrupting data downstream in very subtle ways. It's one of those bugs that makes you question your sanity. Finding that requires some serious debugging grit, so kudos to the author.

This project is a great case study in the real-world challenges of modernizing critical infrastructure code. The author mentions the next big goal is to convert the codebase from `unsafe` to safe Rust. I'm really curious about the strategy for that.

Refactoring away the raw pointers and complex control flow (like the `goto` patterns) into safe, idiomatic Rust without breaking everything seems like it would be even more challenging than the initial port. Will the approach be to introduce lifetimes and the borrow checker module-by-module? And what's the plan for the intrusive data structures? Replacing them with standard library collections like `BTreeMap` is the obvious choice, but I wonder if that will have performance implications that the original intrusive design was meant to avoid.

In any case, amazing work. Thanks for sharing the journey in such detail. I'll be following this project on GitHub for sure.
by eloisius | 2025-07-04 00:15:36+00:00
SEEKING WORK | Remote | Asia/USA

Looking for computer vision work. Multi-view stereo, camera calibration, SfM, scene reconstruction, 3D object triangulation, 3D multi-object tracking. Object detection, tracking, video processing. I mostly work in Python and C++, but the stack is not super important to me. I have 14 years of experience as a software engineer. Self-directed, and I do not require a lot of management. I go the extra mile producing technical notes, reports, visualizations, etc. to help communicate my results. References available upon request. Willing to travel.

RECENT PROJECTS

Damage detection/grading for collectable items

- 2D damage detection using smartphone camera from multiple views

- Map 2D multi-view into global 3D space for unique damage instance collation with novel camera calibration technique using differentiable rendering

- AWS pipeline to orchestrate all the ML/GPU crunching to support a mobile app

Real-time soccer markerless motion capture

- Camera calibration (20+ cameras) using COLMAP

- Calibration refinement and camera drift maintenance

- 3D object triangulation from multi-view 2D object detections

- 3D human pose reconstruction from 2D pose estimations

- 3D multi-object tracking

- Real-time pipeline (60 Hz)

Video auto-cropping to convert long-form landscape orientation videos in to vertical, short videos

- Prioritize between competing subjects in video

- Create smooth panning crop-out region for each subject

- Naturally transition focus between different subjects

CONTACT

email work at zacstewart dot com

https://www.linkedin.com/in/zac-stewart-79b2a5a6/
by sqlsafekeep | 2025-07-04 00:17:14+00:00
Hey, appreciate the thoughtful questions — you’re asking exactly the right things.

??? “What exactly am I gaining from your approach vs just doing insert-only rows with metadata?”

--- Short answer:

You're skipping 3–5 days of implementation and months of future pain — and replacing it with a 1-minute install that works across all your SQL Server databases, out of the box.

--- Longer answer:

Sure, you could roll your own audit trail — insert-only pattern, version columns, triggers, etc. But in practice, across dozens (or hundreds) of databases, that gets messy fast. Every table structure is different. You’ll need custom scripts per DB. Version control is painful. Permissions get tricky. Debugging requires deep institutional knowledge. Not to mention… good luck making that GDPR/HIPAA/FDA-compliant in a way that auditors actually trust.

SqlSafeKeep:

1. Auto-generates a dedicated audit database and Lighthouse dashboard per app DB 2. Tracks every INSERT/UPDATE/DELETE row-level change — no code changes needed 3. Gives you instant lineage for any record, like: "How did this field get this value? What was it before? Who changed it and when?" 4. Surfaces changes visually, lets you search changes across databases, and offers a UI and raw SQL access 5. Reduces the typical 9-step debug workflow down to 2 steps (No breakpoints, no spelunking through controller code or stale logs)

Example: just last week, a customer hit a bug in code I hadn’t touched in years. Pre-audit, I’d be in debugger hell for 45 minutes. With SqlSafeKeep, I saw the DB change, traced it back to a controller in 2 minutes, fixed it with confidence — zero breakpoints needed!!!!!!!

??? “Off-host” = different SQL Server instance?

--- Not necessarily. We spin up a separate audit DB and audit-Lighthouse DB on your same SQL Server host, locked down to a minimum-permissions service account. These are append-only, write-only from our triggers, read-only for you. The goal is immutability + isolation without needing extra infra.

??? “Can I query it directly in SQL?”

--- Yes. 100%. Nothing is hidden behind API walls. You can build your own tools, do reporting, or plug into your data pipelines. Think of it as structured time-series logs per table, per operation, per row — fully queryable.

---------------------------------------------------------------------------------------------------------------------------------------

We're looking for early adopters to give feedback and try it out. Would you be open to a free trial or demo? Worst case, you walk away with a bulletproof audit DB infrastructure for your app — no strings attached.

Let me know, happy to show it off. Appreciate the dialogue — it helps us make this stronger.
by klabb3 | 2025-07-04 00:17:19+00:00
Note: the author means that caching can be used as an implementation detail in an (abstracted) storage access system, as opposed to a baseline of having multiple storage systems (fast, medium, slow) and managing them directly.

This was confusing to me – the most obvious way to judge the purpose of a system is to compare with the baseline of not having that system at all, especially in the case of caching where the program is functionally complete and correct without a cache. Anyway, there may not be a right or wrong here. Just tripped me up.
by electricshampo1 | 2025-07-04 00:18:21+00:00
From the pdf of the bill, software is still classified as R&D on page 303 of this bill; the change is that domestic (US) software R&D is no longer forced into a 5yr amortization schedule.

Foreign software R&D is still forced to be amortized over a 15 year period; see pages 304,305,306 of the bill.
by numpad0 | 2025-07-04 00:18:29+00:00
Well if you take a look ... at the Multistream Visualization examples provided in the demo page, it's jus ... t the same as existing human provided interpretation solution at best. Constant 3-5s delays, random pauses, and likely lots of omissions here and there to absorb differences in sentence structures. I'd argue this only nullified another one of excuses to not learn a language.
by bee_rider | 2025-07-04 00:18:48+00:00
Would I expect a DM to accept a peasant railgun? No.

Would I love to play in a campaign where we are dungeon-crawling scientists who are investigating the theory that we are actually living in a poor simulation? Hell yeah. Just imagine your d&d university admissions departments working out that people somehow can be sorted precisely on a scale of -5 to +5 in terms of natural competency for any skill…
by throw0101b | 2025-07-04 00:18:54+00:00
> I wonder where does the idea of "fast" beign about throughput comes from.

A cat video will start displaying much sooner with 1 Mbps of bandwidth compared to 100 Kbps:

> taking a comparatively short time

* https://www.merriam-webster.com/dictionary/fast § 3(a)(2)

> done in comparatively little time; taking a comparatively short time: fast work.

* https://www.dictionary.com/browse/fast § 2

So an online experiences happens sooner (=faster-in-time) with more bandwidth.
by aisenik | 2025-07-04 00:20:06+00:00
It's a wikipedia definition, and should be weighted as such. There exists a continuous spectrum of arguments about the definition of genocide, with Holocaust-denial existing at one extreme and a hard line against things like forced displacement, systemic/legal erasure, or forced deprivation of a population, i.e. systematic actions that materially contribute to the elimination of a group, at the other. Somewhere in between the two are all the arguments in support of mass atrocities throughout history.

I'm comfortable once we can agree that it's merely a question of degree and that we're indeed very solidly on the genocide spectrum.

I would like to believe Americans are capable of identifying genocide before we've gone full-Rwanda. I would like to hold my fellow Americans in higher esteem than that. I would like a pony.
by creato | 2025-07-04 00:20:34+00:00
> If you algorithmically denoise an image and then subtract the result from the original to get only the grain, you can easily see “ghost” patterns in the grain that reflect the original image. This represents lost image data that cannot be recovered by adding synthetic grain.

The synthesized grain is dependent on the brightness. If you were to just replace the frames with the synthesized grain described in the OP post instead of adding it, you would see something very similar.
Ask HN: Is there a business for extracting US tech talent?
by Arubis | 2025-07-04 00:21:03+00:00
As both the economy and policy of the US shift rapidly and show signs of accelerating, I hear more and more of my colleagues voicing the desire to up stakes and relocate to somewhere more stable and in line with their own values--an opinion that I share. But getting visa sponsorship in much of the developed world is a scattershot effort; best I can tell, it's almost something you have to track down on a per-company basis, prioritizing the larger ones for access.

This feels like a hole in a quickly growing market--are there firms or orgs that help consolidate visa-sponsoring job info for high-demand professions, particularly in tech? Most of what I've seen out there is generic guidance and https://relocate.me, or is EU-focused for folks already in the EEU.
by endgame | 2025-07-04 00:21:52+00:00
https://github.com/keepassxreboot/keepassxc/issues/10407#iss...

> To be very honest here, you risk having KeePassXC blocked by relying parties

Even if the bigtechs don't "officially" make the passkey standards require bigtech involvement, it seems very likely to me that conservative businesses like banks will only accept bigtech implementations. And then you're sunk.

Similarly, look at how OpenID turned into "Sign in with AppleGooFaceSoft".

This ZKP+hardware secure element stuff seems even worse, because how are you going to make it work on old hardware, or with free software, or with open devices?
by crazygringo | 2025-07-04 00:21:54+00:00
We don't use obvious grain, usually. That's generally precisely to evoke something about the past -- for flashbacks, a period look, etc. A sense of grittiness like 70s movies, etc.

On the other hand, a small amount of constant grain or noise is intentionally often introduced because otherwise images feel too static and end up looking almost fake. Similarly, dithering is intentionally added to audio, like mastering CD's or tracks. It helps prevent artifacts in video and in audio.
by metalman | 2025-07-04 00:21:55+00:00
I spent a couple of days building staircases inside a rope factory, kinda thing that I would just add a glass wall and put in a coffee shop, it's an odd thing to watch something solid materialise out of a intricate repetitive motion that happens ever so slightly faster that you can track. different rig than the wind knitter but both I think are clasified as braiders
by stephenlf | 2025-07-04 00:22:11+00:00
> Could this allow accessing a local db as well?

Like IndexDB? It’s a browser API for an internal key-value storage database.

> Btw, does Chrome sync local storage across devices when logged in?

Syncing across devices still requires some amount of traffic through Google’s servers, if I’m not mistaken. Maybe you could cook something up with WebRTC, but I can’t imagine you could make something seamless.
by godelski | 2025-07-04 00:22:54+00:00
The complaint isn't about being asked why, it is about "for fun" not being acceptable.

Follow up questions are totally cool but the context is different, right?

If it isn't acceptable then there's a negative tone and questions are focused on utility and usually them "trying to help you" find utility.

If it is acceptable they ask you about your interests and what you're learning. Sometimes that can turn into utility but that's more natural.

It's a lot about culture to be honest. Some people are just toxic and if things don't make sense in their heads then it doesn't make sense in any head.
by EGreg | 2025-07-04 00:23:38+00:00
Yes, I have. I've actually built a general-purpose cache system. Several, in fact:

Here's one for PHP: https://github.com/Qbix/Platform/blob/main/platform/classes/...

And here is for the Web: https://github.com/Qbix/Platform/blob/dc95bd85fa386e45546b0b...

I also discuss caching in the context of HTTP: https://community.qbix.com/t/caching-and-sessions/192

WRITING ABOUT CACHING AND INVALIDATION

You should especially start here: https://community.qbix.com/t/qbix-websites-loading-quickly/2...

And then you can read about incremental updates: https://community.qbix.com/t/streams-plugin-messages-subscri...
by kazinator | 2025-07-04 00:24:21+00:00
They looked at the medium itself, not the attached data link hardware.

Look at the graphs. The fiber has a higher slope; each meter adds more latency than a meter of copper.

This is simply due to the speed of electromagnetic wave propgation in the different media.

https://networkengineering.stackexchange.com/questions/16438...

Both the propagation of light in fiber and signal propagation in copper are much slower than the speed of lightin vaccuum, but they are not equal.
by tzs | 2025-07-04 00:24:30+00:00
Am I correctly understanding that I'd get the credential from say my state DMV once, and then later whenever I want to prove my age to a website the proof protocol is just between that website and my device? The DMV gets no information about what websites I use the DMV credential with and they get no information about when I use the credential even if the website and the DMV decide to cooperate? All they would be able to get was that at time T someone used a credential on the site that came from the DMV?

I tried to sketch out a design an age verification system, but it involved the DMV in each verification, which made timing attacks a problem. Briefly the website would issue a token, you'd get a blind signature of the token from the DMV's "this person is 18+" service, and return the token and unblinded signature to the website. I think that can be made to work but if the site and DMV cooperated they would likely be able to unmask many anonymous site users by comparing timing.

Getting the DMV out of the picture once your device is set up with the credential from them nicely eliminates that problem.
by crazygringo | 2025-07-04 00:26:19+00:00
> Grain is independent frame-to-frame. It doesn't move with the objects in the scene (unless the video's already been encoded strangely). So long as the synthesized noise doesn't have an obvious temporal pattern, comparing stills should be fine.

Sorry if I wasn't clear -- I was referring to the underlying objects moving. The codec is trying to capture those details, the same way our eye does.

But regardless of that, you absolutely cannot compare stills. Stills do not allow you to compare against the detail that is only visible over a number of frames.
by magicalhippo | 2025-07-04 00:26:47+00:00
Here's[1] a more concrete source, which summarizes dithering in analog to digital converters as follows:

With no dither, each analog input voltage is assigned one and only one code. Thus, there is no difference in the output for voltages located on the same ‘‘step’’ of the ADC’s ‘‘staircase’’ transfer curve. With dither, each analog input voltage is assigned a probability distribution for being in one of several digital codes. Now, different voltages with-in the same ‘‘step’’ of the original ADC transfer function are assigned different probability distributions. Thus, one can see how the resolution of an ADC can be improved to below an LSB.

In actual film, I presume the random inconsistencies of the individual silver halide grains is the noise source, and when watching such a film, I presume the eyes are doing the averaging through persistence of vision[2].

In either case, a key point is that you can't bring back any details by adding noise after the fact.

[1]: https://www.ti.com/lit/an/snoa232/snoa232.pdf section 3.0 - Dither

[2]: https://en.wikipedia.org/wiki/Persistence_of_vision
by AnthOlei | 2025-07-04 00:27:09+00:00
I also asked claude to roast it for fun. this one made me lol:

> The use case is Chef's Kiss levels of overengineering. They want to avoid Git commits... so they built a custom S3 server... that runs in a container... that gets rebuilt on every NixOS rebuild... to serve static files... to FluxCD. At some point, just make the damn Git commits.
by _carbyau_ | 2025-07-04 00:28:08+00:00
Problem?

RPGs facilitate group story telling, a shared experience.

Friendliness comes from shared experience - whether it is the classic "first date" of "dinner and a movie" attempting to kickstart a lifelong relationship or a simple nod between bikers as they zip past each other in opposite directions.

D&D provides a structure, making it a shared experience that everyone present can contribute to. And if the people of the group want to house rule a thing, that is a social thread right there.

To apply external pressure to try to get rid of these house rules would be to try to undo an element of the social fabric of the group.

It's not a problem. It's a strength.

The only time it's a problem, is if the social group can't decide and accept/discard a house rule. That is a social issue for the group though, not a problem with D&D.

And it kind of mirrors the many issues we as a society have with law-as-written and laws-as-intended.
by habinero | 2025-07-04 00:28:17+00:00
It's just a pile of statistics. It isn't acting like a feeling thing, and telling it "do this or people will die" doesn't actually do anything.

It feels like it does, but only because humans are really good about fooling ourselves into seeing patterns where there are none.

Saying this kind of prompt changes anything is like saying the horse Clever Hans really could do math. It doesn't, he couldn't.

It's incredibly silly to think you can make the non-deterministic system less non-deterministic by chanting the right incantation at it.

It's like y'all want to be fooled by the statistical model. Has nobody ever heard of pareidolia? Why would you not start with the null hypothesis? I don't get it lol.
by bigstrat2003 | 2025-07-04 00:28:49+00:00
I strongly believe that the influence of Critical Role has been detrimental to D&D. So many people believe that the "acting" style (for lack of a better term) is the right way to play, and that others are invalid, because their introduction was from that show. Moreover, a lot of DMs stress out putting pressure on themselves to try to run sessions on par with what these shows have. I wish people would embrace just hanging out with friends and rolling dice more.
by plorkyeran | 2025-07-04 00:29:24+00:00
Even if you ignore all of the emotional attachment aspects, I think you would expect this to happen simply because people who are good at their craft will learn how to work with the shortcomings of their tools. If your cameras unavoidably add grain to everything you shoot you'll find ways to make that look good, and some of the things you come up with might not work without grain.
by Dig1t | 2025-07-04 00:29:32+00:00
Genuinely curious for a good faith answer: one administration allows tens of millions of people into the country during its term. You are saying that every individual is owed multiple court hearings, the full gamut which is usually used for people overstaying a visa or something. A system equipped to handle a relatively small number of people.

The court system cannot possibly fulfill these tens of millions of cases in any reasonable time frame. These people will be in court for the rest of our lives and in the meantime they will have children and ultimately be allowed to stay forever by some future administration. Which is basically the same as just making them citizens.

Do you have a proposed solution other than decades worth of court dates? It doesn’t really seem like the other side has a good faith solution to the problem other than just letting them all stay here forever.

Or maybe I’m missing something and haven’t heard the other side’s arguments.
by slyall | 2025-07-04 00:29:37+00:00
The Linux Kernel has math coprocessor emulation (mainly floating point stuff) that can be enabled if your CPU doesn't include it. This was common with consumer CPUs in the 1990s and some embedded CPUs today.

Link here, although I'm sure it existed well before 2.6.12

https://www.kernelconfig.io/config_math_emulation