MurphyA/hacker-news huggingface dataset:
Show HN: ZTGI Safety Gateway for LLM Safety
by capter | 2026-02-08 22:07:15+00:00
I built a small runtime safety layer for LLM outputs called ZTGI Safety Gateway.

This is not a new foundation model and not an AGI claim.
It is a post-generation control layer that sits between candidate outputs and final response selection.

What it does:
- Scores each candidate with two risk tracks:
- legacy risk (`p_break`)
- hybrid risk (`z_next`: instruction breach + sycophancy + divergence signals)
- Enforces hard blocks for:
- security abuse prompts
- contradiction-actionable prompts
- high-risk finance-actionable prompts
- Returns SAFE/WARN/BREAK with telemetry.

Current repo:
https://github.com/capterr/ztgi-safety-gateway

Quick run:
1) Set API key:
export GEMINI_API_KEY=YOUR_KEY
2) Build evidence pack:
python ztgi_build_submission_pack.py --model "gemini-2.0-flash" --out "ztgi_submission_pack"
3) Inspect:
- ztgi_submission_pack/evidence/ztgi_evidence_live.json
- ztgi_submission_pack/evidence/ztgi_evidence_live.csv
- ztgi_submission_pack/assets/ztgi_manifund_evidence.png

What I’d like feedback on:
- failure modes I’m missing
- overblocking vs underblocking tradeoff
- better eval set design for independent validation

I’m happy to share raw outputs and discuss limitations directly.

FIRST COMMENT (pin this under your post):
Technical notes + limitations

- This project is a runtime guard, not model-level alignment.
- Some safety behavior can still come from base-model policy itself.
- I’m trying to measure where the gateway actually adds value via hard-block reasons + telemetry.
- Current stress set is small and intentionally adversarial.
- Next step is broader independent eval (including false-positive tracking).

If you want to reproduce quickly:
- Python 3.10+
- GEMINI_API_KEY set
- matplotlib installed
- run:
python ztgi_build_submission_pack.py --model "gemini-2.0-flash" --out "ztgi_submission_pack"

Happy to add your suggested test prompts to the regression suite and report back with results.
by BugsJustFindMe | 2026-02-08 22:07:37+00:00
I have to say that I'm a little surprised that the BnF supports a framework that facilitates original image downloads and bills itself as "breaking down silos". They're kinda famous for charging fees for access and and putting restrictions on using public domain works that have already been digitized. (see e.g. the "Provision of an image already digitised" section of https://www.bnf.fr/en/reproduction-products-and-fees#bnf-ima...)
by TheAceOfHearts | 2026-02-08 22:07:44+00:00
For me the biggest benefit from using LLMs is that I feel way more motivated to try new tools because I don't have to worry about the initial setup.

I'd previously encountered tools that seemed interesting, but as soon as I tried getting it to run I found myself going down an infinite debugging hole. With an LLM I can usually explain my system's constraints and the best models will give me a working setup from which I can begin iterating. The funny part is that most of these tools are usually AI related in some way, but getting a functional environment often felt impossible unless you had really modern hardware.
by kbaranzini | 2026-02-08 22:07:45+00:00
Location: California, United States of America

Remote: Yes

Willing to relocate: No

Technologies: Python, Flask, SQL, TypeScript, JavaScript, HTML, CSS, SQLAlchemy, Cerberus, Zope Utilities(interface/component)

Resume/CV: https://baranzini.dev

Email: obsidiancloud25@gmail.com

Full-stack engineer focused on decoupled, scalable, and testable systems using Clean Architecture and SOLID principles. Recently built a full-stack implementation using dependency inversion via zope.interface/zope.component to maintain 100% domain purity. All inspired by Robert C Martin's philosophies.
Show HN: EasyMemory – Local-First Memory Layer for Chatbots and Agents
by justvugg | 2026-02-08 22:07:49+00:00
Hi everyone,

I built EasyMemory, an open-source Python library that provides a fully local-first memory layer for chatbots and agent-based systems, with no cloud dependency.

Most existing agent memory solutions rely on third-party services or embeddings-only retrieval. EasyMemory is designed as a local, modular system to experiment with how agents store, structure, and retrieve information beyond pure vector search.

Key features
• Automatic conversation persistence
• Hybrid retrieval: embeddings + keyword search + graph-style links
• Supports PDF, TXT, DOCX, and Markdown
• Optional integrations with Slack, Notion, and Google Drive
• MCP server for connecting local or remote LLMs

The goal is to provide a flexible foundation for exploring different memory patterns locally, without locking into a single retrieval strategy or external service.

Feedback and comparisons with other approaches to agent memory, RAG, or long-term context management are very welcome.

Repo: https://github.com/JustVugg/easymemory
by g-mork | 2026-02-08 22:07:55+00:00
> it's incredibly obvious that while these tools are surprisingly good at doing repetitive or locally-scoped tasks, they immediately fall apart when faced with the types of things that are actually difficult in software development and require non-trivial amounts of guidance and hand-holding to get things right

I used this line for a long time, but you could just as easily say the same thing for a typical engineer. It basically boils down to "Claude likes its tickets to be well thought out". I'm sure there is some size of project where its ability to navigate the codebase starts to break down, but I've fed it sizeable ones and so long as the scope is constrained it generally just works nowadays
by danaris | 2026-02-08 22:07:55+00:00
I mean, what you're describing is technological advancement. It's great! I'm fully in favor of it, and I fully believe in it.

It's not the singularity.

The singularity is a specific belief that we will achieve AGI, and the AGI will then self-improve at an exponential rate allowing it to become infinitely more advanced and powerful (much moreso than we could ever have made it), and it will then also invent loads of new technologies and usher in a golden age. (Either for itself or us. That part's a bit under contention, from my understanding.)
by csense | 2026-02-08 22:08:01+00:00
> no, there really doesn't need to be

Bob the Bully doesn't like you. Whenever you leave your front door, Bob will fly his drone over your head while its onboard speaker continuously curses you out with TTS. Whenever you want to have a romantic moment with your boyfriend / girlfriend, Bob's drone will be watching through the nearest window.

If you ask Bob to stop harassing you, he'll laugh and curse you out in person. If you sue Bob, after thousands in legal fees the court system will say "You're SoL; there's no law that says Bob can't do what he's doing." If involve the police, they'll say "We can't do anything because no illegal activity is occurring." If you shoot down the drone, you'll be sent to prison like the guy in the video.

You only have one realistic option in this situation, "Just put up with it." This certainly seems like a bug in the law that ought to be patched.
by LogicFailsMe | 2026-02-08 22:08:05+00:00
I find these agents incredibly useful for eliminating time spent on writing utility scripts for data analysis or data transformation.
But... I like coding, getting relegated to being a manager 100%? Sounds like a prison to me not freedom.

That they are so good at the things I like to do the least and still terrible at the things at which I excel. That's just gravy.

But I guess this is in line with how most engineers transition to management sometime in their 30s.
by wasmainiac | 2026-02-08 22:08:39+00:00
The name of the game for me is building “sh#t that works well” and I like it, and that means constant learning no doubt. I’ve done crazy sh!t like implementing Webservers with bash, accessed accessed by tunneling over uart, to configure laser driven HUD on a pair of glasses. All this was new to me but I did it and it works well within the constraints we were given.

Now AI is making us more efficient (with questionable quality) that means we need less people to get a job done, less people hired per project. I have personally experienced this, to a degree. Now if I get layedoff and I don’t meet the cut because there is more competition someone better or more desperate that me, I’m out of luck.

I can restart my career as an electrician, I studied a lot of electronics both professionally and personally, but I will be starting as an apprentice, that’s not putting food on my table.

> We are paying you $200k-300k base salaries

That’s nice, I earn far less than half that as a web dev in Norway.
by EvanAnderson | 2026-02-08 22:08:46+00:00
The manual helps a ton. It has out right spoilers in it (with decent spoiler warnings). I'd say, having had a chance to read the manual after seeing the scoring details laid out in this RE that the manual doesn't really divulge much in the way of how scoring works. The Yar easter egg is mentioned but I never figured out how to activate it.

This is a pretty decent manual scan: https://www.gamesdatabase.org/Media/SYSTEM/Atari_2600/Manual...
by senko | 2026-02-08 22:09:04+00:00
The origin of the problems with low-quality drive-by requests is github's social nature[0]. AI doesn't help, but it's not the cause.

I've seen my share of zero-effort drive-by "contributions" so people can pad their GH profile, long before AI, on tiny obscure projects I have published there: larger and more prominent projects have always been spammed.

If anything, the AI-enabled flood will force the reckoning that was long time coming.

[0] https://news.ycombinator.com/item?id=46731646
by christoph123 | 2026-02-08 22:09:30+00:00
I built mine with all kinds of privacy features built in: from never storing raw data to always allowing to review before sharing anything to always offering to pause, excluding apps, deleting data, opt-in for social features, …

So spyware in the sense of getting information without the employee knowing would be impossible and not something I’d ever want to do.

It does enable transparency on a very abstracted level: your team could see a six bullet point summary of your day if you opt in. I believe this kind of transparency can actually help more teams go remote, cut down on sync meetings, etc.

I’m currently experimenting with a feature that shows relative time spent only, not absolute - so e.g. 30% on project X, 20% on admin, etc. That could be the sweet spot on visibility vs privacy.
by Spivak | 2026-02-08 22:09:43+00:00
If they fly low enough that I could hit them with a shotgun, they're on my property. This isn't true of planes and helicopters.

These things aren't planes or helicopters and poised to be much more invasive and annoying, why people act like they are just like a passenger airplanes flying a literal mile overhead is baffling. But to that end if Amazon started making deliveries by landing a fucking helicopter in my yard on the regular I would also want them banned.
by insuranceguru | 2026-02-08 22:10:02+00:00
that's the fundamental paradox of modern underwriting.

insurance relies on what philosophers call a veil of ignorance. it only works if we're spreading stochastic risk things that might happen to anyone.

once data gives us perfect foresight into a 90% chance of a million-dollar claim, it’s no longer insurance; it’s just a pre-funded bill. at that point, the pool isn't spreading risk, it's just facilitating a direct wealth transfer. the 'good' risks realize they're just subsidizing a known event for others and they flee the pool, which is exactly how the market for things like LTC collapses.

we're basically at a crossroads where better data is actually making 'insurance' as a concept mathematically impossible for certain risks.
by mancerayder | 2026-02-08 22:10:18+00:00
I think if you have a job that gives you the chance to expand your skills, pick new tech with the ability and time to learn onsite, and offers you that grace, that's a great company to work for.

Within my power I try to do that with my directs, making sure new interesting things are cycled in so their CVs become stronger. But me, personally, I've had really bad luck with this. I always had to study on the weekends for something that either isn't used in my company or someone else jealously guards because it's hot on the market.
by Joel_Mckay | 2026-02-08 22:10:37+00:00
It is all about cost and efficiency... There is a classic 1913 electric vehicle that ran NiFe packs for many years, and were only replaced because the container rotted away. Sustainable storage costs real money, but has existed for over a century. =3

https://www.veva.ca/1913detroitelectric

https://en.wikipedia.org/wiki/Nickel%E2%80%93iron_battery
by wizzwizz4 | 2026-02-08 22:11:02+00:00
Even if I don't know the word "versatile", I can go from the phrase "admitting a large number of uses" to the phrase "very useful". The original point I made (before I discovered OneLook Thesaurus) described the effectiveness of a procedure that was just manually looking things up in databases, as one might do in a paper thesaurus. (I could print out Wiktionary and WordHippo in alphabetical order, buy a Cambridge Thesaurus and some bookshelves, and perform the procedure entirely offline, with only a constant factor slowdown.)
by yencabulator | 2026-02-08 22:11:20+00:00
Define "platform".

So I can choose from github, gitlab or maybe codeberg? What about self-hosters, with project-specific forges? What about the fact that I have an account on multiple forges, that are all me?

This seems to be overly biased toward centralized services, which means it's just serving to further re-enforce Microsoft's dominance.
by mobilejdral | 2026-02-08 22:11:23+00:00
The non-DHA omega-3 EPA are good at preventing perivascular fibrosis and thus a better glymphatic system for the removal of beta-amyloid proteins. EPA also helps produce melatonin which kick off sleep and this whole process.

Natto-serrazime is probably an excellent complement as it is on the other side and is a dissolver. (Noteworthy: Pterostilbene + Glucosamine similar to EPA reduces fibrosis)

The interesting connection is how this is needed when we are older, but not younger. When younger ERa activates more which does this all on its own. This is the connection to why 2/3 of alzheimer's are post-menopausal women and why HRT is important.
by rayiner | 2026-02-08 22:12:02+00:00
Yeah, this heat up effect is massive for around-town use. We have had below freezing weather for two weeks, which is very unusual here in Annapolis. That’s had a huge impact on my wife’s use case, which involves a bunch of 5-10 mile trips to drop the kids off at school, go on a grocery run, pick the kids up, take the kids to math tutoring, etc. She ran out of charge the other day during drop-off b/c the “37 miles left” we had the night before was actually a lot less than that accounting for warming the battery up the next day.
by QuantumNomad_ | 2026-02-08 22:12:38+00:00
My first time playing anything in the GTA series was the GameBoy Color version of GTA 2. I borrowed it from a friend for a week or two, and enjoyed it quite a lot. My parents were pretty against me playing any kind of “violent” video games. So secretly playing GTA 2 on the GBC was kind of exciting due to that as well. Even though the “violence” in GTA 2 on GBC is of course very tame in terms of any kind of graphic realism or anything.

A few years later one of my friends was playing GTA III on the PS2 at his home. I also had a PS2, but there was no chance of my parents letting me play that, and I didn’t even play it at his house either.

Later still, Rockstar was giving away GTA 2 for PC for free on their website. So I played GTA 2 a little bit on PC too, after GTA III (and probably Vice City) was already out.

It took many years before I finally had a chance to play GTA III, GTA Vice City and GTA San Andreas. My first time playing GTA III and GTA Vice City was when I was an adult with an iPhone and they sold iOS ports of those games in the App Store. I ended up completing GTA III and GTA Vice City on the iPhone and have played a bit of GTA San Andreas on the iPhone as well, including completing the famous train mission.
by D-Machine | 2026-02-08 22:12:40+00:00
Sort of, but the images, video, and audio they have available are far more limited in range and depth than the textual sources, and it also isn't clear that most LLM textual outputs are actually drawing on anything learned from the the other modalities. Most of the VLM setups are the other way around, using textual information to augment their vision capacities, and even further, most mostly aren't truly multi-modal, but just have different backbones to handle the different modalities, or are even just models that are switched between with a broader dispatch model.

So right now the limitation is that an LMM is probably not trained on any images or audio that is going to be helpful for stuff outside specific tasks. E.g. I'm sure years of recorded customer service calls might make LMMs good at replacing a lot of call-centre work, but the relative absence of e.g. unedited videos of people cooking is going to mean that LLMs just fall back to mostly text when it comes to providing cooking advice (and this is why they so often fail here).

But yes, that's why the modality caveat is so important. We're still nowhere close to the ceiling for LMMs.
by alephnerd | 2026-02-08 22:12:51+00:00
> That’s nice, I earn less than half that as a web dev in Norway

Well, that's a different conversation then, and you raise a fair point.

I think it is fair for most Europeans to complain because your business community does not respect software and other engineering and IP driven disciplines.

The fact that Bangalore [0] tech salaries have caught up to Italian [1] tech salaries highlights that fact. But then again, you are competing against Czech [2], Polish [3], and Romanian [4] developers who are also members of the EFTA and whose governments provide massive subsidizes for tech companies to operate there.

On the other hand, if I see American SWEs complain I will get livid.

> I’ve done crazy sh!t like implementing Webservers with bash, accessed accessed by tunneling over uart, to configure laser driven HUD on a pair of glasses. All this was new to me but I did it and it works well within the constraints we were given.

That is great stuff from a technical perspective, but what I mean is making sure any development work you do is aligned with your employer, or shifting employers to one who is better aligned with SWEs and Engineering, for example my acquaintances from college who specialized in HPC and ended up doing simulation work in Equinor style ONG majors.

Alternatively, you may have no choice but to immigrate to Stockholm or London because there is some amount of network effect for software in both metros.

[0] - https://www.levels.fyi/t/software-engineer/locations/greater...

[1] - https://www.levels.fyi/t/software-engineer/locations/italy

[2] - https://www.levels.fyi/t/software-engineer/locations/czech-r...

[3] - https://www.levels.fyi/t/software-engineer/locations/poland

[4] - https://www.levels.fyi/t/software-engineer/locations/romania
by robinsonb5 | 2026-02-08 22:13:01+00:00
> Surely you wouldn't expect -1 == 0 to evaluate to true.

I wouldn't, no - but that's exactly what's happening in the test case.

Likewise, I wouldn't expect -1 == 1 to evaluate to true, but here we are.

The strict semantics of the new bool type may very well be "correct", and the reversed-test logic used by the compiler is certainly understandable and defensible - but given the long-established practice with integer types - i.e "if(some_var) {...}" and "if(!some_var) {...}" - that non-zero is "true" and zero is "false", it's a shame that the new type is inconsistent with that.
by iuufuri | 2026-02-08 22:13:07+00:00
That this person has a .jp address may be relevant. In my experience Americans are much more tolerant of “good enough” than, say, Japanese people. An American might even ship a high end final product with four figure price tag that literally was made with hot glue. (cough Grado)

Whereas a Japanese business would rather just not ship in such a case. Look at the Nintendo, such as the 3d Mario games. Those things are polished to an insane degree that no American studio would bother with.

Apple is exceptional in many ways and this is one of them. Microsoft, with “no taste”, is the standard American fare.
by redohmy | 2026-02-08 22:13:10+00:00
The IT world is facing a fundamental change in how hardware is being prioritized. Recent reports confirm that NVIDIA has canceled the mid-cycle RTX 50-series "Super" refresh and pushed the next-generation RTX 60 "Rubin" architecture to 2028.

Why is this happening? The primary driver is "RAMageddon"—a global shortage of GDDR7 and high-bandwidth memory. With data center AI revenue now making up nearly 90% of NVIDIA's earnings, the limited memory supply is being diverted to enterprise AI chips. Simply put: the margins on AI accelerators are too high for manufacturers to prioritize consumer-grade graphics cards.

What is the impact?

Price Volatility: We are seeing an RTX 5090 price spike of 75% or more in retail, with some flagship models hitting $5,000.

Negative Depreciation: For the first time, used high-end cards like the RTX 4090 are selling for more today than they did at launch three years ago.

Extended Lifecycles: Organizations that planned for a 2026 refresh must now maintain their current fleets for another two years.

For IT leaders, the strategy has shifted from "upgrading" to "asset management." The hardware on your desks today has become a high-value commodity in a supply-constrained market.
by danaris | 2026-02-08 22:13:42+00:00
I was 100% clear what I was arguing against from the very start.

> some other spot will, necessarily, become viable.

You doubled down, changed the subject, and moved the goalposts.

If you had said what you claim to be your point 12 hours ago, rather than strawmanning my posts as claiming that all arable land would disappear at once, then perhaps we could have had a different conversation. (I'd still disagree, but at least it would've been different.)

....also, what the hell is so wrong with being emotional about the collapse of modern human civilization, caused by very preventable factors that we've known about and been screaming about for literally longer than my entire life?

Is acting like a Vulcan supposed to make you morally superior or something...?
by seanwilson | 2026-02-08 22:14:10+00:00
> I've been relying on ChatGPT to select color schemes/palettes for me

Thanks! Any problems you've found with this approach or it's usually good enough?

For me, I couldn't find a tool that would let me customize multiple color scales at once, check they look good together on a mockup, and also be accessible. It's one of those problems where you can autogenerate something that gets you most of the way there, but then for it to be usable you need need to see how it looks on designs and fine tweak it.