MurphyA/hacker-news huggingface dataset:
Show HN: JPA fetch control that doesn't suck
by alexlitovsky | 2026-03-05 15:28:42+00:00
Fetch control in JPA has always been a mess. Eager loading kills performance the moment your object graph gets non-trivial. Lazy loading hands you N+1 problems and `LazyInitializationException` as a reward for doing the right thing.

Most serious projects I've seen land in one of two places: lazy + proliferation of nearly-identical queries that differ only in what they fetch, or they give up on mapping relationships altogether and treat their relational DB like a document DB. The others either have these performance issues, or don't yet know that they have them.

`EntityGraph` looked like it was finally going to fix this. Call-site fetch control, no more one-size-fits-all fetch strategies — great idea. But the API they gave us sucks. If you've ever tried to use it, you know what I mean. In fact, I've yet to see any actual uses of it in real production apps.

So I built the API I wish the spec had given us. Since we can't change the spec, this was the next best thing — it extends and mimics the `EntityManager` API, but makes fetch control a first-class concern rather than an afterthought bolted on via `EntityGraph`. You express fetch paths as generated QueryDSL path varargs — compile-time checked, refactor-safe, and composable:

entityFinder.find(Person.class, id,
QPerson.person.organization().country(),
QPerson.person.role());

It also works with JPA metamodel attributes, but that API is clunkier because the metamodel spec never gave us composable paths like QueryDSL did.

Person person = entityFinder.find(Person.class, id,
FetchPaths.of(Person_.organization, Organization_.country),
FetchPaths.of(Person_.role));

The library builds and merges the `EntityGraph` for you at runtime. Same idea works for inline JPQL and named queries via a fluent `TypedQuery`-compatible API.

https://github.com/alterioncorp/jpa-fetch

I've been using this concept in various forms in production since EntityGraphs were first introduced. Finally decided to clean it up and put it out there. Maybe others find it useful.
by oofbey | 2026-03-05 15:28:44+00:00
In terms of policy this is a truly massive gift to importing companies. They had to pay massive amounts of tax to import goods. Analysis shows most (but not all) of the tariffs were passed on down the line to consumers of the imported goods or their derivatives.

And now they get it all back! If they can figure out the paperwork. Which I expect most will, because if you import things and pay tariffs, you have to be good at govt paperwork.

Wow. I don’t know what this means. But it’s a huge windfall to a very specific horizontal slice of the economy - cutting across industries and supply chains. Just whoever happened to be doing the importing gets a giant present. So bizarre. Economists will write about this case study for decades.
by bko | 2026-03-05 15:28:57+00:00
I like building apps, I don't necessarily like writing the same boilerplate BS for a necessary landing page for every app I make.

Again, I'm not saying no one should write marketing copy, if that's your thing, go for it. Take your time, wordsmith. But for others they don't enjoy it or are not particularly good at it (i.e. English isn't someones first language). So let's be accepting and get over it.

> If this is the case I am desperately pleading with you to please read and write more.

Please stop moralizing.
by 94BILLY | 2026-03-05 15:29:08+00:00
I’ve been working on NOVA because I’m genuinely exhausted by the current state of decentralized software. We’re building "distributed" tools that require 500MB of RAM just to render a search bar. It feels like we’ve gone backward.

NOVA is my attempt at a "Clean Room" implementation. It’s raw C++17. No runtimes, no heavy frameworks, just Win32 and GDI. I’m currently at v0.3 and using a terminal client called Onyx as the reference.

The hard parts:

Stripping the XP "Luna" theme to force a proper Whistler/Classic aesthetic without losing modern high-DPI support.

Using DeferWindowPos to handle atomic UI updates so it doesn't flicker like a 90s VB6 app.

Keeping the binary under 100KB while still supporting the metadata pipeline.

It’s definitely opinionated and probably "too low-level" for some, but I wanted to prove that you can still build extremely dense, high-performance tools that don't treat the user's CPU like an open buffet.

Curious what you guys think about the metadata fetch logic in the repo.

Option 2: The "Technical Deep Dive" (The Specialist)
Show HN: NOVA – A C++17 framework for decentralized data

I just pushed v0.3 of NOVA. I've spent the last few weeks specifically on the GDI owner-draw logic and the metadata pipeline.

The goal was to build a decentralized engine that behaves like a "Data Terminal" rather than a webpage. I went with a statically linked Win32 architecture specifically for the "xcopy-deployable" aspect—I want this to run instantly on any machine without a setup wizard or a dozen DLL dependencies.

What's inside:

A custom layout engine that avoids the usual Win32 resize-flicker.

A 5-step signal ramp drawn directly in the status bar partition via WM_DRAWITEM.

Sub-10MB idle memory footprint.

If you're into native Win32/C++ or low-latency P2P, I'd love some eyes on how I'm handling the thread-safe UI updates from the metadata streams.
by dspillett | 2026-03-05 15:29:13+00:00
Many copyleft licences give more rights to the user of the software than being public domain would.

A bit of public domain code can be used in a hidden way in perpetuity.

A bit of code covered by AGPL3 (for instance) (and other GPLs depending on context) can be used for free too, but with the extra requirement that users be given a copy of the code, and derivative works, upon request.

This is why the corps like MIT and similar and won't touch anything remotely like GPL (even LGPL which only covers derivative works of the library not the wider project). The MIT licence can be largely treated as public domain.
by lapcat | 2026-03-05 15:29:29+00:00
Obama takes credit for U.S. oil-and-gas boom: ‘That was me, people’ https://apnews.com/article/business-5dfbc1aa17701ae219239caa...

You have to be born yesterday to believe that Democratic leaders haven't merely hand-waved and virtue-signaled about global warming for decades. I realized this back in the 1990s.

Democrats have superior rhetoric, and they are less openly hostile, but their long record of doing nothing to help is unsurpassed. They will fiddle while Republicans burn Rome. And don't forget that Joe Manchin for example was a Democrat, one who dominated Democratic policy during the Biden administration.
by mothballed | 2026-03-05 15:29:34+00:00
Trump can profit either way, the key is the insider knowledge to bet for or against them. Admin insiders financially engineered where they profited from refunds.

Any vote towards what the insider information pointed to was a vote 'for' the admin as they had financially engineered their winnings based on that. And meanwhile Trump immediately turned to a new tariff structure. The vote they gave was the strongest vote in favor of the admin insiders they could have given, and meanwhile didn't actually stop Trump from continuing on with the scheme.
by evilmathkid | 2026-03-05 15:29:37+00:00
This is a small transformer trained from scratch in 1.5hrs on a 5090 that beats many LLMs. Code is open source.

I want to solve sample efficiency and this work is an attempt to find the limits of transformers and today's methods while keeping costs low so I can iterate fast.

Blog: https://mvakde.github.io/blog/44-on-arc-1/
X thread: https://x.com/evilmathkid/status/2029519274835148829

(This is the public eval. Also it scores 7% on ARC-2)
by jmyeet | 2026-03-05 15:29:49+00:00
"Get off on a technicality" is largely police propaganda. The "technicality" tends to be the police violated their rights in some way or did something illegal.

And if you get to trial (without being coerced into a guilty plea for something you may not have done [1]), the cops will lie constantly in police reports and even on the stand. It happens so often it has a name: testalying [2].

The well-connected don't really get off on a "technicality". They simply never get charged in the first place. Only two people were ever charged because of Jeffrey Epstein. One is Epstein, who died, and the other is Ghislane Maxwell who got convicted of trafficking minors to... nobody in particular... and is now in a low-security work camp it's technically illegal for sex offenders to be in.

And even if somehow you, as a connected person, are charged and convicted, well you just buy a pardon [3].

[1]: https://www.vera.org/news/how-the-criminal-legal-system-coer...

[2]: https://www.chicagoappleseed.org/2020/11/09/testilying/

[3]: https://www.propublica.org/article/trump-pardons-clemency-ge...
by aeon_ai | 2026-03-05 15:29:50+00:00
Judge Alsup --
U.S. District Judge William Alsup said Anthropic made "fair use" of books, deeming it "exceedingly transformative."

"Like any reader aspiring to be a writer, Anthropic's LLMs trained upon works not to race ahead and replicate or supplant them — but to turn a hard corner and create something different"
by donkeybeer | 2026-03-05 15:29:52+00:00
The objective is bs, most probably oil and Israeli interests. After all there have been many stated "objectives" of all their past middle eastern campaigns. I literally cited an example where false lie of nukes was used to invade Iraq while the actual country lying about nukes sits scot free and is again directing another misadventure. If the USA hated theocracies so much it won't be allying with arab countries or have been propping up the "Mujahideen".
by tismyname | 2026-03-05 15:30:11+00:00
It's nothing big. I wanted an offline natural language to cron/cron to natural language translator and I wanted to get some experience building MacOS apps. It's not vibe coded, but I did get good help from Claude since it's my first time building MacOS apps. It's free and no data is collected. It so simple that there's no point charging anything for it :-)

https://cronwise.github.io/

Has a tip jar in case anyone wants to support the effort
by pocksuppet | 2026-03-05 15:30:15+00:00
If there wasn't a specific limitation against software patents, you could patent the process of "first we look at the first 3 bytes for a BOM, then we take statistics of the most frequently used bytes and match them against this table..." which is the software equivalent of "the device contains a large box full of water, underneath which is a flame and on the upper side is a pipe leading to a valve box which contains..."

Either one would still have to meet the requirements like being sufficiently non-obvious. The first steam engine was patented, even though you couldn't patent one any more.
by easton | 2026-03-05 15:30:32+00:00
Not only that, but due to their pattern of putting letters after the version number the current version is Oracle AI Database "26ai".

I skimmed the video and the presenters said "Oracle AI Database 26ai" multiple times without even a glint of self awareness on their face. They must've picked the only people on the team that could say that without laughing.
by red-iron-pine | 2026-03-05 15:31:18+00:00
that was one of the big reasons I dropped FB and Insta.

Low effort interactions just aren't worth it. IF it's not worth writing at least 3 sentences chances are I don't care - and won't ever care.

Like yeah it's cool to see what some guy I knew in high school is up to, but ultimately that connection ain't making my life better.

HN is an exception in the signal to noise ratio is far higher than a lot of other social media - though the bots are hitting it hard these days.
by throwawaypath | 2026-03-05 15:31:18+00:00
"Elizabeth brings a rare combination of deep roots in the PHP community and proven leadership in open-source governance. She co-founded a volunteer-based nonprofit dedicated to supporting women and non-binary individuals in the PHP industry, served as Community Manager at GitHub where she led developer outreach programs including the Patchwork initiative, and has been active in CHAOSS – a project focused on open-source community health metrics."

Tells us everything we need to know. Hopefully this leads to the US government dumping PHP, which is a good thing.
by whmdeskcloud | 2026-03-05 15:31:55+00:00
WHMDC is a self-hosted billing and automation platform designed for web hosting providers and infrastructure-based service companies. It enables businesses to manage clients, services, billing, support, and infrastructure integrations from a single unified system.

The platform focuses on delivering a modern alternative to traditional hosting automation software by including a wide range of functionality directly within the core system, reducing reliance on separate modules or add-ons.

Key features include unlimited client management, automated billing and invoicing, service provisioning, support ticket management, fraud detection integrations, passkey (passwordless) authentication, reporting tools, and integrations with common hosting platforms and infrastructure providers.

WHMDC also includes operational intelligence capabilities that provide visibility into business performance and infrastructure activity. These tools help providers monitor revenue trends, support performance metrics, and infrastructure awareness across their services.

The platform integrates with technologies such as cPanel/WHM, Cloudflare, Proxmox, and other hosting infrastructure tools. As a self-hosted solution, WHMDC allows providers to retain full control over their data and infrastructure environment.

WHMDC includes a modern administrative interface, a client portal, multi-language support, and extensibility through integrations and modules.

It is suitable for web hosting companies, infrastructure providers, SaaS operators, and service businesses that need to automate recurring billing, service management, and customer support workflows.
by raw_anon_1111 | 2026-03-05 15:32:01+00:00
My experience on both sides is that most companies don’t want to deal with independent contractors. I’ve had two cases where a company was wiling to pay $x + recruiter markup to hire someone they found directly so the person they wanted could make $x than just pay the person they wanted got $x.

One of those times was my former CTO who had moved on to another company and his company didn’t want to pay me directly. But they had no problem hiring me through a recruiting company I knew who I reached out to and they signed a contract with them with the markup.

While I have worked in consulting for six years, I refuse to do staff aug. It’s the fifth level of hell.
by kstrauser | 2026-03-05 15:32:23+00:00
Thanks so much for this! It’s exactly the kind of think I’ve looked for many times. There are slick alternatives that I abandoned due to their (to me) insane pricing models, like “add a few friends for free, then unlock unlimited friends for only $20/mo!” I get that they want to make money, but I’m not paying hundreds per year to remember to call my sister.

The main competitor here is plain old Reminders, or OmniFocus, or any other task manager. A repeating reminder to text that cool coworker you want to stay in touch with isn’t as shiny, but it gets the job done.

I don’t know if there’s an Apple API for getting metadata about recent calls and texts, but that would be the final piece for me: if I texted Joe yesterday, reset the timer on his reminder. I wouldn’t touch that idea with a ten foot pole for other apps, but your privacy policy of “everything you do stays on your own device and we see none of it” is perfect and compatible with the feature.

So, nice job, and thanks for sharing!
by bko | 2026-03-05 15:32:26+00:00
> Auto-correct and speech-to-text still carry that idea

Why? You didn't spend real time consulting a dictionary or using penmanship, since writing is often slower than speaking. You didn't do your own memory management? Wow, guess you don't care about the details. Used a compiler? Wow dude, please spend the time to actually build the product the right way. These are all levels of abstraction, the idea is the idea. The LLM has no agency, it has no ideas, you give it your idea. It packages it out and communicates it effectively, which is respectful to the final user.

I don't owe you anything. Why am I wasting my time on this so you can feel somehow important. The copy is not the product. Its communication and should be done clearly and respectfully, and if an LLM facilitates with that, I would hope people use LLM for my sake.

> Even boring corporate PR language communicates something

Yes I want to communicate. I do so with the LLM. I might have a rant "stress privacy, go through the app and highlight the privacy features. Mention it's good for kids. Oh and also mention its local first (I would make this first actually),... " Whats the point of spending literally hours structuring, writing, re-writing etc. Communicate to the LLM, and use it to be respectful of your audience.
by mark_l_watson | 2026-03-05 15:32:39+00:00
While the article makes good points, I simply find it amazing that a programming user interface (with small changes) has been around for so long: I think kit was in 1983 that Xerox Special Information Systems provided me with a free 1 month Smalltalk license for my Xerox 1108 Lisp Machine. That Smalltalk interface is amazingly similar to Pharo Smalltalk which I still occasionally use.
Show HN: SamarthyaBot – a privacy-first self-hosted AI agent OS
by mebishnusahu0 | 2026-03-05 15:33:06+00:00
Hi HN,

I’ve been experimenting with building a local AI agent system that can actually perform tasks on the machine instead of just responding with text.

SamarthyaBot is a self-hosted AI agent that runs locally and focuses on automation and privacy.

Some things it can do:

• run terminal commands
• deploy projects to servers via SSH
• control browsers using Puppeteer
• send emails
• run autonomous background tasks
• support multiple LLM providers (Gemini, Ollama, etc.)

The goal is to treat it more like a local automation OS rather than just a chatbot.

Tech stack:

Node.js (gateway)
Go worker (terminal execution)
MongoDB (encrypted memory)
React dashboard

I built it mainly to experiment with agent architectures and local AI workflows.

Would love feedback from the community.
by rayiner | 2026-03-05 15:33:08+00:00
It wasn’t “close to zero.” The Supreme Court split 6-3, with two Trump appointees voting against him. And the Federal Circuit, which is the most boring appellate court and not political at all, split 7-4, with two democratic appointees and two republican appointees voting to uphold the tariffs.

This was a case that split both the liberal and conservative blocs. Obama’s former SG, Neal Katyal, went up there and argued for limiting presidential power over the economy. One of the justices quipped about the irony of Katyal’s major contribution to jurisprudence being revitalization of non-delegation doctrine, which has always been a conservative focus.
by maziyar | 2026-03-05 15:33:14+00:00
The 2024 Nobel Prize in Chemistry went to the creators of AlphaFold, a deep learning system that solved a 50-year grand challenge in biology. The architectures behind it (transformers, diffusion models, GNNs) are the same ones you already use. This post maps the protein AI landscape: key architectures, the open-source ecosystem (which has exploded since 2024), and practical tool selection. Part II (coming soon) covers how I built my own end-to-end pipeline.
by margalabargala | 2026-03-05 15:33:19+00:00
This is one of those things where people who don't know how to use tools think they're bad, like people who would write whole sentences into search engines in the 90s.

LLMs are bad at counting the number of rows in a spreadsheet. LLMs are great at "write a Python script that counts the number of rows in this spreadsheet".
by speeder | 2026-03-05 15:33:41+00:00
Yes that is the name.

But bafflingly to me, almost zero of my coworkers seemed to be aware of it. They would just get the seemly weird orders from above and would execute them, without figuring out the end goal, and this does result into some bad software engineering (because people don't know the end goal they don't know what they can optimize, so they just don't).
by davidw | 2026-03-05 15:34:10+00:00
In the US, people bend over backwards to ensure that there is free storage for automobiles. And that housing and businesses are forced to include that expensive (parking spots can run into the 10's of thousands of dollars for some kinds of construction) amenity. Fortunately that's starting to change, but it is a big battle. And meanwhile, CO2 levels keep rising.

( This book goes into detail but is quite readable: https://www.henrygrabar.com/paved-paradise )
by simiones | 2026-03-05 15:34:13+00:00
> IMO this is pretty common sense. No one's arguing they're authoring generated code; the whole point is to not author it.

Actually this is very much how people think for code.

Consider the following consequence. Say I work for a company. Every time I generate some code with Claude, I keep a copy of said code. Once the full code is tested and released, I throw away any code that was not working well. Now I leave the company and approach their competitor. I provide all of the working code generated by Claude to the competitor. Per the new ruling, this should be perfectly legal, as this generated code is not copyrightable and thus doesn't belong to anyone.
by SurvivorForge | 2026-03-05 15:34:16+00:00
I built a free interactive .cursorrules generator: https://survivorforge.surge.sh/cursorrules-generator.html

It lets you pick your framework and stack, then generates a tailored .cursorrules file for your project. No signup, no tracking, runs entirely in the browser.

Why free: I was collecting cursor rules for different frameworks anyway (React, Go, Rust, FastAPI, etc.) and realized the hardest part for most people is not finding rules — it is combining them correctly for a multi-framework project. A Next.js + Tailwind + Prisma project needs different rules than a pure React SPA.

Cost to operate is basically zero — it is a static site on Surge.sh. The content took real effort though, I reviewed cursor rules across 16 frameworks to extract what actually improves AI output versus what is just noise.

No monetization plan for the generator itself. I do sell a more comprehensive collection with project-specific templates on Gumroad, but the generator covers the most common use cases for free.
by IanCal | 2026-03-05 15:34:23+00:00
They didn't say it wasn't important they said latency was more important, and they're right for many use cases. Once you can't run at realtime where you're operating, you need to move to batching or offloading the work to a pool of workers and handling more async issues. You can no longer have something that shunts the component off to another track where your camera is, you need to have the camera somewhere else then 40s later pull it out of another location. You need good networking so you can fire off images to get processed elsewhere. That's also a bunch more systems to maintain.

These things aren't impossible of course but it's additional management over "place the device here".

Here's how you know that accuracy isn't the be all and end all of the discussion - we already deploy systems with less than human accuracy to monitor things, and when we use humans we very rarely inspect every single item. So there must be a tradeoff we're happy making in lots of industries.

Even if you're focussed on not missing anything, lower accuracy that comes at the cost of more false positives can be massively useful as you can then do a two step process (even with humans as the second step if you need). The goal of the first step is to ignore the 99% of totally fine items so you spend the costly process on just 1% of the items.