MurphyA/hacker-news huggingface dataset:
by jandrewrogers | 2025-07-02 15:51:00+00:00
ADP and BLS numbers are measuring different things. For people that care about these things, the nuances are well-understood.

As a rough heuristic, ADP overfits to private sector jobs and BLS overfits to government jobs. There is a popular derivative heuristic that the economy is "good" when ADP > BLS.
Show HN: PromptOps – Git-native prompt management for LLMs
by jision | 2025-07-02 15:51:03+00:00
Built this after getting tired of manually versioning prompts in production LLM apps. It uses git hooks to automatically version prompts with semantic versioning and lets you test uncommitted changes with :unstaged references.

Key features: - Zero manual version management - Test prompts before committing - Works with any LLM framework - pip install llmhq-promptops

The git integration means PATCH for content changes, MINOR for new variables, MAJOR for breaking changes - all automatic.

Would love feedback from anyone building with LLMs in production.
Show HN: CSS generator for a high-def glass effect
by kris-kay | 2025-07-02 15:51:03+00:00
There are lots of glassmorphism generators out there, but I wanted to push the effect further! This project is the result of months of experimenting with CSS property layering and battling browser quirks.

Cross-browser compatibility is actually the reason I rely on ::before and ::after pseudo-elements to build up the effect. Move the color/opacity to the main element, and you’ll get weird color bleed on the corners in Chrome. Move the texture, and it muddles the bevel’s specular highlight. Move the bevel, and it gets blurred out by the backdrop-filter. And so on!

Layers include: * Adjustable blur, brightness, and saturation (backdrop-filter) * Subtle translucent texture * Faux 3D bevel (using box-shadows, not an outline)

Glassmorphism is rather heavy on resources, so it’s best used as an accent and avoided on wide desktop elements. Should be compatible with recent versions of Chrome, Safari, and Firefox (desktop and mobile). If you spot bugs or rendering glitches, I’d love to know!

Side note: this is an early preview of a framework-agnostic glass SCSS/component library I’m building.
by quickthrowman | 2025-07-02 15:51:04+00:00
Where can I find good quality (by this I mean durable) shirts for $120 and pants for $150? I’ve examined clothing in that price range and it’s virtually just as bad as $20 fast fashion: synthetic fibers mixed with cotton, poor stitching, loose weave on the fabric, etc.

If you have brand names for polo shirts, jeans, and chinos that are durable and long lasting, please share them because I can’t find them. I have yet to place a test order at Bill’s Khakis, I should do that.
by dakial1 | 2025-07-02 15:51:24+00:00
I have the sensation that US is experiencing a transition similar to what happened to Europe when it went to the middle ages, ruling parties, leveraging religion a lot, tries to control knowledge as a way of controlling ideals/values and, as a colateral, detains progress.

My doubt is if other regions will take the lead like the arab world did during the middle ages or if the whole world will fall under this.
by Al-Khwarizmi | 2025-07-02 15:52:03+00:00
Not only practitioners, Asimov himself viewed them as an impossible to implement literary device. He acknowledged that they were too vague to be implementable, and many of his stories involving them are about how they fail or get "jailbroken", sometimes by initiative of the robots themselves.

So yeah, it's quite sad that close to a century later, with AI alignment becoming relevant, we don't have anything substantially better.
by igor_strelkov | 2025-07-02 15:52:13+00:00
Here’s how it works under the hood:

1. PDF Parsing: We detect whether the PDF is native (text-based) or scanned (image-based). Native PDFs are parsed using pdfplumber; scanned files go through Tesseract OCR.

2. Table Extraction: We use heuristics + a fine-tuned model to identify financial tables (not just any table) and extract structured data like Revenue, EBITDA, Net Income, etc., even if labels vary.

3. Standardization Engine: A rule-based mapper matches extracted rows to a standardized chart of accounts (GAAP/IFRS-style), handling multi-year columns and inconsistent formats across companies.

4. Validation Layer: We auto-check for accounting errors (e.g., Assets ≠ Liabilities + Equity), date mismatches, or missing totals. Flagged reports are pushed for manual review or cleanup.

5. Export Formats: Outputs are returned as standardized Excel/CSV files—ready for financial modeling, BI dashboards, or credit analysis.

No LLMs involved yet, just focused, fast, deterministic extraction and mapping logic. But we’re experimenting with retrieval-augmented generation (RAG) for interpreting footnotes.

Happy to answer any questions or go deeper on architecture, caching, or product edge cases.
by simonw | 2025-07-02 15:52:51+00:00
A better way to think about synthetic data is to consider code. With code you can have an LLM generate code with tests, then confirm that the code compiles and the tests pass. Now you have semi-verified new code you can add to your training data, and training on that will help you get better results for code even though it was generated by a "less good" LLM.
by guenthert | 2025-07-02 15:52:54+00:00
> Everyone in here is nostalgic for Sun Rays.

Maybe here, but in other discussions surrounding Sun Rays there were decidedly mixed sentiments.

> The latency even just across a couple of floors, was terrible.

That sounds odd. In my experience, latency over public Internet (using the built-in Cisco compatible VPN client) across town was perfectly usable (much better than VNC over SSH using Linux hosts). The protocol they are using tries hard to minimizes the effects of network latency.

> several hundred users trying to use them overwhelmed disk I/O, network throughput, and memory capacity.

Yeah, that's much easier to see. Imagine thin clients being used these days with servers having many dozen GiB of RAM and NVMe storage ...

> We had to log in in staggered blocks, with 5-minute gaps between groups of 20 or so people inserting their cards.

I dimly recall having read about such. I wonder, whether that ever got fixed.

> Moving from ancient vector-graphics GIS tools to Google Earth blew my mind though...

Yeah, Sun Rays weren't a good fit for 3d graphics nor movies (which wasn't much an issue twenty years ago, but won't do today). Sun (Oracle?) produced an video clip advertising their use in a hospital. That (and call centers) is were they could have shined.

> edit: literally never, ever, did anyone need the ability to pull their card out, walk over to another person's desk, and say, "Well hey Jim take a look at this!" and move their session.

Moving between "data center" (next to the office), office and home and taking my session with me, made my work (mostly performance tests then) easier. Never got to yank out someone else's smard-card and session though, as I was the only one using those ;-}
by guywithahat | 2025-07-02 15:52:56+00:00
> Urban hospitals and large rural hospitals are able to make up for the losses from Medicare and Medicaid patients with what they can charge private insurers. Small rural hospitals can’t do that.

The articles argument is that private insurers need to cover medicare/medicaid costs, which seems silly. It also seems to ignore the obvious question in my mind, which is maybe rural hospitals just have to run leaner to meet market demands. It makes me wonder if there's a reason rural hospitals pull large investments, such as regulation demanding unattainably high levels of care, forcing them to be unprofitable.
by conradev | 2025-07-02 15:53:02+00:00
It’s good at a lot of things:

GPT‑4.1 scores 54.6% on SWE-bench Verified, improving by 21.4%abs over GPT‑4o and 26.6%abs over GPT‑4.5—making it a leading model for coding.

https://openai.com/index/gpt-4-1/
by rank0 | 2025-07-02 15:53:29+00:00
The data on this is very clear: https://en.wikipedia.org/wiki/Disposable_household_and_per_c....

> According to the OECD, 'household disposable income is income available to households such as wages and salaries, income from self-employment and unincorporated enterprises, income from pensions and other social benefits, and income from financial investments (less any payments of tax, social insurance contributions and interest on financial liabilities). 'Gross' means that depreciation costs are not subtracted.'[1] This indicator also takes account of social transfers in kind 'such as health or education provided for free or at reduced prices by governments and not-for-profit organisations.'

United States: 62,300

France: 45,548

Americans need to be more grateful for what they have.
by bwfan123 | 2025-07-02 15:53:35+00:00
Thanks for sharing this beautiful essay which I have never come across. The essay and its citations are thought-provoking reading.

IMO, LLMs of today are not capable of building theories (https://news.ycombinator.com/item?id=44427757#44435126). And, if we view programming as theory building, then LLMs are really not capable of coding. They will remain useful tools.
by mfost | 2025-07-02 15:53:54+00:00
In a similar vein, I remember people advocating for replacing new untrained hires with AI. After all, a competent senior engineer is needed to validate the contributions of the new hires anyway and they can do the same checking the AI code.

But then, how would you even train and replace those competent seniior engineers that do the filtering when they retire? The whole system was predicated on having a chain of new hires that gain experience in the process.
by mock-possum | 2025-07-02 15:54:11+00:00
I know this is a bit nitpicky but - if you have to compile Kotlin into a WASD binary, then use JavaScript to load it, is that really ‘native?’

You can just run JavaScript right out of the url field or the console in the browser, no compilation or server required - that’s what I would think of as ‘native.’
by motorest | 2025-07-02 15:54:46+00:00
> Azure identity is so bad. It's like they tried to build it on the original 1998 implementation of LDAP or whatever.

I think that Azure AD is literally built on top of Active Directory. That's what you need to do if your goal is to help your customers, who already usd Active Directory, to seamlessly onboard onto their authentication system.

If you stop and think for a moment, you'd understand that it would be absurd not to do that. You have an army of institutional clients already using AD for everything. Are you going to force them to onboard onto another auth system after convincing them that AD suited all their needs?

Anyhow, they seem to try to distance themselves with their rebranding to Entra.

> Roles fucking inherit??? Like are you kidding me?

What do you think is wrong with that?
by telesilla | 2025-07-02 15:54:49+00:00
>5) Fat, dumb, and happy society - we care more about Super Bowl Sunday, Hollywood, reality shows, etc. On average, we're lazy and care more about being entertained.

Respectfully, people care about supporting their families, having health care coverage, paying off their student loans, having a safe job that they can get to easily and cheaply and have general good work conditions. The first 4 points may be true, but the 5th point is an unfair characterisation.
by RonSkufca | 2025-07-02 15:54:53+00:00
Wow! You just articulated a feeling I have had but could not put my finger on it until I read that. I grew up in a blue-collar Midwest US city that was decimated by the loss of domestic manufacturing. I went to college and got a CS degree and went on to enjoy 2+ decades of the tech boom and was paid well for it. Thus, allowing me and my family move into a different class i.e. white collar, educated, entrepreneurial, class-fluid. But now at middle age I don’t recognize any of my friends from the “old” neighborhood as I have changed so much, we don’t really know each other anymore. Our views on many things are so different we might as well be strangers. But due to being raised in that blue-collar environment my thoughts and ideas sometimes don’t mesh with the new class of people I find myself socializing with now. Which leaves me in some kind of limbo. I don’t fit in with the people from my past, but I don’t fit in with the people of my present.
by guywithahat | 2025-07-02 15:55:14+00:00
You say that like it's a capitalism problem, when some of the longest wait times and worst care occur in countries with government-run healthcare. Lots of people die waiting for care in Canada, and the UK will regularly allow their healthcare system to get so bad people are dying in hallways, and then some "hero" politician will bring in a bunch of money just to restart the cycle. The article itself places plenty of blame on medicare/medicaid.
by yadaeno | 2025-07-02 15:55:15+00:00
> It would be strange if our brains had "one weird trick" to perform a lot better with no downsides, since if it existed evolution should've found it

It would not be strange at all. We are constantly evolving and so is our environment. This argument is very similar to the "efficient market fallacy", if the market was perfectly efficient there would be no opportunity to create value, but in reality it is highly imperfect.
by tempodox | 2025-07-02 15:55:31+00:00
> … encountered many times per day.

I suspect that's at least partially because all of that doesn't stop the hype from being pushed on and on without mercy. Which in turn is probably because the perverse amounts of investment that went into this have to be reclaimed somehow with monetization. Imagine all those VCs having to realize that hundreds of billions of $$$ are lost to wishful hallucinations. Before they concede that there will of course be much astroturfing in the vein of your last paragraph.
by diegof79 | 2025-07-02 15:55:32+00:00
Do you dress with a hat and shirt like someone in the 50s?

I see many angry comments because it's a change without a practical reason, and it's meant to make things more "new" or "fresh" at the cost of CPU and GPU resources. That's a valid complaint since making old devices obsolete is a design choice.

However, it's good to see it from a humane perspective. Fashion trends change because they are associated with identity, novelty, status, self-expression, etc. Companies make fashion changes to appeal to those things. For example, nobody complains if Nike changes a model just for fashion; however, everybody uses the same phone every day, just as they do with a pair of shoes. For us, working on programming or software design, the phone is just a tool, but for most people, the phone is a form of self-expression (like using single or double quotes in code, or tabs vs spaces). And every few years, tech companies undergo a fashion refresh.

So, even if Apple fires all the visual designers and keeps the same design for many years, people will likely grow bored with their UIs, which will push them toward competitors offering more stylish options.
by like_any_other | 2025-07-02 15:55:42+00:00
It's such a contrast, isn't it? While China simply funds the growth of strategically important industries until they're competitive, the West is paralyzed with terror that not offshoring everything is more expensive, and so does nothing.

And the author of those tweets, William Huo, "Princeton, Intel's first Chief Representative in Beijing" - educated in America's finest school, employed (formerly, I believe) by their showhorse semiconductor company, and openly loyal to China - his pinned tweet reads:

I’ve come to see my tweets not as commentary but as a running chronicle of history. Each one marks a watershed moment in China’s push to reclaim its rightful place in the global order. - https://x.com/wmhuo168/status/1933820055084843372

Is it any wonder western companies fail to compete, when they employ in their highest ranks personnel with opposing loyalties?
Show HN: Empromptu.ai – Agentic AI Building Real AI Apps
by anaempromptu | 2025-07-02 15:56:08+00:00
Hey HN! We're Empromptu.ai, an AI app builder that builds AI apps (RAG, models, evals all built in every app) Demo: https://www.youtube.com/watch?v=w25XhUaPfls

We started Empromptu after burning through thousands of credits on AI builders and hitting the same problem: cool looking prototypes or demos that break with real users.

The issue wasn't the building process, it was accuracy. Most AI applications plateau at 60%~ reliability, which is fine for prototypes but it's unusable in production. We realized these tools aren't really "AI app builders", they're website builders that happen to use AI.

We wanted to solve the hardest problem first: making AI applications actually work reliably.

Our approach centers on what we call dynamic optimization. Instead of cramming every possible scenario into one massive prompt (which confuses LLMs), our system adapts contextually. A travel chatbot automatically knows to mention LAX for Los Angeles vs. Pearson for Toronto. This consistently delivers 90%~ accuracy versus the industry standard 60%~.

But accuracy alone wasn't enough because we also needed to solve the builder gap:

- Simple builders (Lovable, Bolt): Create static websites, not AI apps

- Complex ML tools: Require dedicated teams most startups don't have (Arize, Voxel51) - we've also heard from both technical and non-technical founders that they found these tools very complex

- What's missing: Tools that build applications where AI is embedded functionality

So we built AI agents with optimization built-in. Users just type what they want to build and our agents handle the full development pipeline: creating applications with embedded models, RAG and intelligent processing. You can deploy to your own infrastructure via Netlify, GitHub or download it directly since you can run it locally.

The result: Startups, solo hackers and enterprises can build production-ready AI apps without hiring a dedicated ML team.

Waitlist: https://empromptu.ai

We'd love feedback from the HN community — esp. if you've hit similar accuracy problems or thoughts on the technical approach.
by hearsathought | 2025-07-02 15:56:12+00:00
I still fail to see how that's possible since it is assumed every brain "encodes" data uniquely. Communication between computers is possible because we have agreed upon standards. If every computer encoded characters differently, no communication would be possible. Without agreed upon ports or agreed upon mechanism to agree upon ports one computer could not communicate with another. So how can brain-to-brain communication work given that encoding/communication "standards" are impossible since each brain is different?

For example, I see a tree and my brain generates a unique signal/encoding/storage representing the tree. Another person sees the tree and generates a unique signal/encoding/storage representing the tree. How would my brain communicate "tree" to his brain since both our "trees" are unique to our brains?

My brain device reads my brain signal "1010101" for tree. My friend's device reads brain signal "1011101" for tree. How could we possibly map 1010101 to 1011101. Or is the assumption that human brains have identical signals/encoding for each thought.
by hardwaresofton | 2025-07-02 15:56:40+00:00
I read through and I think that the analysis suffers from the fact that in the case when the modifier is the user it's fine.

Free software refers to user freedoms, not developer freedoms.

I don't think the below is right:

> > Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software.

>

> Let's break it down:

>

> > If you modify the Program

>

> That is if you are a developer making changes to the source code (or binary, but let's ignore that option)

>

> > your modified version

>

> The modified source code you have created

>

> > must prominently offer all users interacting with it remotely through a computer network

>

> Must include the mandatory feature of offering all users interacting with it through a computer network (computer network is left undefined and subject to wide interpretation)

I read the AGPL to mean if you modify the program then the users of the program (remotely, through a computer network) must be able to access the source code.

It has yet to be tested, but that seems like the common sense reading for me (which matters, because judges do apply judgement). It just seems like they are trying too hard to do a legal gotcha. I'm not a lawyer so I can't speak to that, but I certainly don't read it the same way.

I don't agree with this interpretation of every-change-is-a-violation either:

> Step 1: Clone the GitHub repo

>

> Step 2: Make a change to the code - oops, license violation! Clause 13! I need to change the source code offer first!

>

> Step 1.5: Change the source code offer to point to your repo

This example seems incorrect -- modifying the code does not automatically make people interact with the program over a network...

"free software" was defined by the GNU/FSF... so I generally default to their definitions. I don't think the license falls afoul of their stated definitions.

That said, they're certainly anti-capitalist zealots, that's kind of their thing. I don't agree with that, but that's besides the point.
by Analemma_ | 2025-07-02 15:56:49+00:00
Technically these aren't incompatible: it's possible that democracy doesn't work but nothing else does either— there's no natural law that says there must be a system of political and social organization which actually works in the world we have now. I have been drifting in this direction myself the last few years; it's discouraging, but it seems to be the only conclusion supported by the evidence.
by pydry | 2025-07-02 15:57:31+00:00
The definition is you write or amend a test before making the code change that makes it pass.

That's it. It says nothing about the type of test you write. Personally i do it with literally every type of test that i write - acceptance, integration, unit.

If you write a decent test, yes, TDD is always valuable. If you TDD with shitty tests, not so much, but that isnt really an issue with TDD.
by delusional | 2025-07-02 15:57:39+00:00
Ok, I'll bite. What would be some solutions to these supposed factors? What policy are you suggesting?

I notice that these "additional factors" happen to align with right wing politics, which implies to me that you may be smuggeling something in along with these "additional factors" I should also consider.

"Consider that working people may just be lazy drug addicts, and why do you care about their workplace safety?" Is not really something I want to consider.
by hedgehog | 2025-07-02 15:57:50+00:00
I don't know about the boilerplate part but when you are e.g. adding a new abstraction that will help simplify an existing pattern across the code base something like Copilot saves a ton of time. Write down what has to happen and why, then let the machine walk across the code base and make updates, update tests and docs, fix whatever ancillary breaks happen, etc. The real payoff is making it cheaper to do exploratory refactors and simple features so you can focus on making the code and overall design better.