MurphyA/hacker-news huggingface dataset:
by varenc | 2025-12-22 22:16:05+00:00
> Did big businesses in the West really think “investing” in China would lead to “freedom” and such? Isn’t that framing a bit naive?

Yes I think. At least a lot of Western policymakers did buy a "change through trade/investment" story, and it wasn't pulled from nowhere because it had worked in the past.

In postwar Japan and later South Korea, integration into the West's economic system coincided with eventual democratization, closer alignment of values, and alliance.

It was reasonable to think the same thing would work in China, but that doesn't seem to be the case.

Also the US intentionally set China up for investment by doing things like bringing them into the WTO. All that investment wouldn't have happened without some level of government support.
by metalman | 2025-12-22 22:16:27+00:00
we can go back to Leonardo Davinci(and further), to how Davinci was promised the income from a certain amount of flow from a river as a payment for services rendered, and as an ongoing retainer and support, but how in his own note books he laments how he had been strung along and never given anything amingst the wranglings of those "better conected".
there is nothing more provocative to the mindlessly greedy people in the world than a resource, just, JUST!, LAYING THERE!
for which the French created "the argument that ends all discussion"
by ahachete | 2025-12-22 22:16:28+00:00
Hi, StackGres founder here.

We're constantly striving to improve the user experience and the quality of StackGres. Would you mind sharing some feedback as to what made your experience not good with it?

Did you join the Slack Community (https://slack.stackgres.io/) to ask if you were facing some trouble? It always helps, even if it is just by sharing your troubles.

(If you'd like to share feedback and do so privately, please DM on the Slack Community)

Your feedback will be much appreciated.
by fuckyou777 | 2025-12-22 22:16:37+00:00
I'm a big fan of the original Robert Abbotts logic puzzle game Theseus and the Minotaur. But in this day, no real versions exist of the game anymore. So I took a go at making my own reimagined version, with all the original rules plus many more mazes.
Give it a try if you like logic puzzles.
by snazz | 2025-12-22 22:16:50+00:00
Defendants trying to exclude ALPR evidence often invoke Carpenter v. U.S. (or U.S. v. Jones, but that’s questionable because the majority decision is based on the trespass interpretation of the 4th Amendment rather than the Katz test). Judges have not generally agreed with defendants that ALPR (either the license plate capture itself or the database lookup) resembles the CSLI in Carpenter or the GPS tracker in Jones. A high enough density of Flock cameras may make the Carpenter-like arguments more compelling, though.
by jopsen | 2025-12-22 22:18:04+00:00
Also the US is increasingly proving itself as an unreliable partner. Do you want that for your energy supply?

This is just more of that, contracts in the US are suddenly subject to political winds.

In the end, this will probably be unblocked by the legal system, and eventually the US tax payers will pay for damages.
But it'll be a long time.
by lapcat | 2025-12-22 22:18:32+00:00
As an indie software developer myself, I think that the most difficult part of the business is not writing the software but rather finding potential customers. That's why I have few worries about LLM slop. "If you build it, they will come" is a fantasy. Marketing will make or break you.

In my case, there are a couple of cliches that are actually true: it's a marathon, not a sprint, and it took me 5 years to become an "overnight success". Thus, the ability to code faster with AI is totally irrelevant to me. That's not going to help. There are a number of comments here claiming that LLMs are going to usher in a golden age of indie software, but I think that's just delusional. These people don't appear to know what it takes to establish an indie business.

I can't speak about the effectiveness of Google Adwords, like the article author did, because I rarely purchase paid advertising and rely mostly on word-of-mouth. That's worked out fairly well for me, but obviously that's not going to work for everyone.

I disagree with the author about one thing: "Mobile-based software is expected to be free or, at best, very cheap. So requires huge scale to make any decent return." I think App Store developers have to resist the race to the bottom. We can't make it up in volume like the BigCos. The biggest mistake of new indie devs—and I made this mistake myself years ago—is to price your apps too low. You need sustainable prices, and just ignore the people who complain that your price is too high. If they're complaining, that means they're interested! You might be able to pick up those customers eventually on Black Friday.

My personal "golden age" was 2024, my highest income ever. 2025 was decent but a down year, back down to around 2021 levels. I'm not quite sure why, perhaps the economy? But who knows.
by salynchnew | 2025-12-22 22:18:55+00:00
> Don't let comments like this fool you, nuclear is far from being competitive with natural gas. Even in countries like south korea that can deploy nuclear the cheapest it's still $3/watt roughly.

People still insist that ecofascists(?) or NIMBYism is what killed nuclear, when the reality is that it was the coal industry.
by IanCal | 2025-12-22 22:19:13+00:00
It’s about what you want to tie to which system. Let’s say you keep some data in memory in your backend, would you forbid engineers from putting code there too, and force it a layer out to the front end - or make up a new layer in between the front end and this backend just because some blogs tell you to?

If not, why would you then avoid putting code alongside your data at the database layer?

There are definitely valid reasons to not do it for some cases, but as a blanket statement it feels odd.

Stored procedures can do things like smooth over transitions by having a query not actually know or care about an underlying structure. They can cut down on duplication or round trips to the database. They can also be a nightmare like most cases where logic lives in the wrong place.
by BeetleB | 2025-12-22 22:19:26+00:00
> Or rather, it's a very constrained, mostly unfree "choice", with a lot of pressure from society telling them it's the wrong choice to make, barring them from access to abortion, contraception, and in many cases decent access to health and education. In many cases they are not even aware the choice existed, because it was concealed from them. I'm not sure if you are even aware a lot of people are not sure how babies come to be.

> Statistically, very few do. The odds are stacked against them.

I've already acknowledged much of these circumstances, right from my first comment. It doesn't change the very trivial fact that engaging in such behavior is a choice. Nor does it change the fact that virtually everyone has choices. I'll repeat what I said:

"Yes, people in privileged positions have a much larger "choice space". And yes, plenty of underprivileged folks simply refuse to pursue the choices they have. Both these things can be true."

As I said, even if you have kids, deciding whether you will feed them or let them starve (with all its consequences), is still a choice. Unless there are mental health issues involved, the person is making choices.

> Let me guess: your family was starving and dirt poor, your siblings were all addicts, but you managed to overcome this, educate yourself, and raise yourself to entrepreneurship. Is this where this is going?

No. But I didn't have easy access to contraception and abortion. And I was not a big outlier in the choices I made.

And let's be real: The majority of people who come to me and complain that they didn't really have a choice did not have siblings who were all addicts, coming from a dirt poor starving family.

Arguments from extremes are not helping you.
by ursAxZA | 2025-12-22 22:19:54+00:00
It’s strange that in 2025 we still don’t have even a minimal, per-capita baseline tier for electricity.

If a household uses less than the monthly per-capita average, why not cap that baseline at something like $10?

Yes — that gap would need to be subsidized, probably through taxes.
But that’s already how grid maintenance works: we socialize the fixed costs while pretending rates are purely volumetric.(and I might be overstating this slightly).

Right now we punish low-usage consumers and reward structural inefficiency.
A baseline tier would at least make the incentives coherent.
by ndiddy | 2025-12-22 22:20:45+00:00
This happens whenever the government releases files regarding anything controversial (JFK assassination, aliens, MLK assassination, etc). They have to catalog anything they receive including obviously fake information sent to them by crazy people (see email that had the video attached: https://www.justice.gov/epstein/files/DataSet%208/EFTA000299... ). Then someone sees the fake video that looks completely different from Epstein's actual cell on a .gov website, goes "woah guys did they just release video of Epstein killing himself?????" and everybody freaks out.
by hombre_fatal | 2025-12-22 22:21:12+00:00
I wanted simple per-exercise counters that step +10, and a notification at 5pm if I hadn't finished all of my exercises for the day.

The point is that at the time paying $5 was a good trade so I didn't have to dick around with software.

But now it's trivial to have an LLM build it to my spec, yet still barely dick around with the software side.

A lot of software is like this.
by jwitthuhn | 2025-12-22 22:21:25+00:00
If you have 20 hours to spare I highly recommend this youtube playlist from Andrej Karpathy
https://www.youtube.com/watch?v=VMj-3S1tku0&list=PLAqhIrjkxb...

It starts with the fundamentals of how backpropagation works then advances to building a few simple models and ends with building a GPT-2 clone. It won't taech you everything about AI models but it gives you a solid foundation for branching out.
by gardncl | 2025-12-22 22:21:33+00:00
Agreed. I misunderstood your comment and got too hot-headed. Sorry about that.

Yes, the 95% renewables is the number we should be shooting for not 100% as that causes battery backup price to explode.

I have been pro-nuclear for a long time, to disappointing results naturally. So, with how well renewables are doing I've really just jumped on this train and seen nuclear as more of a distraction from the critical next 10-20 years given how long it takes to come online.

At the end of the day the grid is only about 30% of the emissions problem (depending where you look).
by GuB-42 | 2025-12-22 22:21:34+00:00
For me, one of the most cursed unit, but not because it is ill-conceived is the Nm (the unit of torque).

It is analogous to the Joule, but it doesn't mean the same thing. "This car has a 250 million ft.lb battery and 0.1 Wh of torque" passes dimensional analysis.
by baq | 2025-12-22 22:22:31+00:00
sonnet 4.5 was really bad at anything more than simple queries. even GPT 5 was not great. gemini was consistently good even at 2.5; caught multiple bugs in outputs of either. I haven't tested Opus 4.5 properly at SQL yet, but I've got a feeling Anthropic doesn't prioritize it in training and google does.
by simonw | 2025-12-22 22:22:46+00:00
My hunch is that the problems with stored procedures actually come down to version control, change management and automated tests.

If you don't have a good way to keep stored procedures in version control, test them and have them applied consistently across different environments (dev, staging, production) you quickly find yourself in a situation where only the high priests of the database know how anything works, and making changes is painful.

Once you have that stuff in git, with the ability to run automated tests and robust scripting to apply changes to all of your environments (I still think Django's migration system is the gold standard for this, though I've not seen that specifically used with stored procedures myself) their drawbacks are a lot less notable.
by desireco42 | 2025-12-22 22:22:53+00:00
OpenCode had this for a while and overall has better and nicer TUI. Having said that, for same models, especially with LSP, some fancy MCPs, mgrep, has been doing really bad job lately for me. Not sure why. I expect it will be resolved soon.
Otherwise very happy with it.

Claude Code is also solid and this is welcome improvement.
by dang | 2025-12-22 22:23:07+00:00
Ok, we've added "if you turn off RLS" to make the title less misleading. It's still too baity a title for HN, but at least less egregious.

Submitters: baity and misleading titles are against the site guidelines, so please don't post them here.

https://news.ycombinator.com/newsguidelines.html
by p_j_w | 2025-12-22 22:23:56+00:00
> I know that attributing to western countries the responsability for any bad thing happening in this world is a common reflex

You can’t gloat that the sun never sets on your empire and then absolve yourself from responsibility for events that you had a heavy hand in influencing. Regardless, if you think the article is wrong, your point would he better served by providing examples of where it’s wrong and stating why.
by jandrewrogers | 2025-12-22 22:24:21+00:00
> 8.4 million gallons of water per year

That is <10% of the amount of water required to grow corn on the same land as the data center. Acre for acre, data centers consume a tiny fraction of the water consumed by agriculture.

Are the corn subsidies to produce high-fructose corn syrup and ethanol that important?
by saxenaabhi | 2025-12-22 22:24:46+00:00
You give no reasons why you think it's a sound advice.

My experience is following

1) Tx are faster when they are executed a sql function since you cut down on network roundtrip between statements. Also prevents users from doing fancy shenanigans with network after calling startTransaction.

2) It keeps your business logic separated from your other code that does caching/authorization/etc.

3) Some people say it's hard to test sql functions, but since pglite it's a non issue IMO.

4) Logging is a little worse, but `raise notice` is your friend.

> At my new company, the use of stored procedures unchecked has really hurt part of the companies ability to build new features

Isn't it just because most engineers aren't as well versed in SQL as they are in other programming languages.
by observationist | 2025-12-22 22:25:31+00:00
Yes, an adventure in public facing bots that can pull from trending feeds, self referential system prompts, minimal guardrails, and that poor fellow Will Stancil.

The absence of guard rails is a good thing - what happened with mechahitler was a series of feature rollouts that combined with Pliny trending, resulting in his latest grok jailbreak ending up in the prompt, followed by the trending mechahitler tweets, and so on. They did a whole lot of new things all at once with the public facing bot, and didn't consider unintended consequences.

I'd rather a company that has a mechahitler incident and laughs it off than a company that pre-emptively clutches pearls on behalf of their customers, or smugly insists that we should just trust them, and that their vision of "safety" is best for everyone.
by ch4s3 | 2025-12-22 22:25:40+00:00
> Money is a resource. Someone has to deal with the utility rate hikes that tend to follow large new consumers

It seems like new power generation should be a trivial concern, the upper Midwest is incredibly windy. The block to adding new generation is mostly antiquated local/state laws about connecting to the grid interchange. It's within local power to fix that. It's the power company lobbying against more cheap energy that causes prices to rise. Point your anger at the people sitting in the way of more capacity not the people wanting to use power.

> Forgot the /s? Seriously, property taxes are a joke because the "wealth" generated by the datacenters is absurdly high compared to their property lot size.

Then assess them on that basis. Property tax isn't a function of square feet, you can assess it on the basis of economic value. Property tax is a local issue, just vote to change the law.
by why-o-why | 2025-12-22 22:25:43+00:00
When I was first introduced to Max it was on a Mac SE in 1989, and I really only used it for saving & restoring patches (on my SY77 and U110) until someone walked me through how it really worked. I didn't understand what it could do, and I rejected it at first because it was too open-ended for me to see utility. Lol. How things changed after that.

What really blows my mind is that I wasn't at all put off by the tiny little Mac monitor, it just seemed normal. No way I could work with such a small b&w screen today I'd go mad. (weirdly I feel less creative than i did in the 1980's and NOW i have near infinite recording & mixing options. The irony.)
by brendoelfrendo | 2025-12-22 22:26:09+00:00
> In the AD world, allowing remote code execution is not a bug, it's a feature.

This is the assertion that I think you have failed to prove. RDP and WinRM are just remote access protocols, like SSH or what have you. AD doesn't have to be involved in their use, so I'm not sure how "RDP allows you to log into a server remotely" is AD's problem. Or even a problem at all, since that's what its meant to do.

> A direct competitor of AD is oauth,

It really isn't. OAuth is for authorizing third parties access to client resources, not for authentication. By the time you're getting access tokens with OAuth, you've already authenticated with your identity provider. Perhaps you're referring to OpenID Connect, which is built on OAuth 2.0? In any case, AD and OAuth/OIDC don't really compete with each other. AD is intended to be used on internal enterprise networks to simplify authentication and authorization across a fleet of machines, and OAuth/OIDC have a much more pronounced focus on web.

> which does not allow people to execute code on the issuer

I'm not sure what this means. When you say issuer, are you referring to the auth server that issues ID tokens? What if I'm hosting my IDP in AWS and use an OIDC integration to access my AWS admin console and remotely log-in to my IDP server? Am I not then using it to execute code on my auth server?
by mothballed | 2025-12-22 22:26:13+00:00
Yes that could be done via eminent domain of their water rights. The only note would be that since the value of especially the more rural desert land is tied almost completely to acreage times water rights per acre, it's basically a full buyout of the entire non-residential rural desert due to the takings clause. I don't know how much it'll cost, but it will be a lot.

>A hundred plus years later

I know of people still investing large sums today to claim under the Desert Land Act. It's still active. They need to establish irrigation and usually drill/share a well (maybe hauling could work but you have to show it's economically viable), and establish that over a multi year proof process the viability of the land. Just harder than it used to be. So to be clear it might be someone from yesterday, although it's just less common. I'm not sure if the takings clause would cover them though, as they don't technically own it until the proof process is complete, so for them it'd probably merely just be a total loss.
by squigz | 2025-12-22 22:26:45+00:00
Most people aren't paying 100s or 1000s of dollars to interact with NPCs in video games. If they were, they'd probably expect a lot more and get bored of it quicker.

> The real challenges are around maintaining and safely operating automous robots around children in a way that isn't too expensive.

This is one of the challenges, but only one. The one GP outlined is still very much real - see the Defunctland video on Living Characters for some older examples, but for a recent example, there's the DS-09 droid from Galactic Starcruiser.
by infogulch | 2025-12-22 22:26:45+00:00
A recent article in the space: What Goes Around Comes Around... And Around... | July 1, 2024 | 30 comments | https://news.ycombinator.com/item?id=40846883

The basic thesis is that the relational model and SQL has been the prevailing choice for database management systems for decades and that won't change soon.

Resubmitted because it's a good one: https://news.ycombinator.com/item?id=46359878
by al2o3cr | 2025-12-22 22:26:55+00:00
Numerology and LLM slop. Meaningless.

Consider the "calculation" for ai_unified for an uncharged case:

L_src = m hbar / (c*mp^2).
Expand and simplify and get L_src = m G / c^2

L_lim = w * L_src = 2 m G / c^2. Also the value of rs.

metric_factor is irrelevant, as both ai_gr and ai_unified are divided by it since L_lim = rs

ai_unified = (c^2 * L_src) / (radius^2 * metric_factor). Expand L_src and get ai_unified = m G / (radius^2 * metric_factor)

This is IDENTICAL to the formula used for ai_gr when there is no charge. Presenting "0% difference" like it is a result is sloppy ignorant bullshitting at best and deliberate fraud at worst.
by docjay | 2025-12-22 22:26:57+00:00
I don’t mean that I can’t imagine a scenario in which an imagined world has cameras covering every square inch, a 911 operator with their fingers hovering over the keyboard and ready to enter a license plate into the InstaLocate system, which then automatically triggers SWAT to be quick-released from a drone directly onto the current location of what is still called a “getaway car”, rather than “evidence.” But I can also imagine a situation with less steps wherein a spoon takes down an F-16, but I equally haven’t heard an argument for using spoons as air defense. ;)

Helping to solve a crime after the fact is certainly a thing, and that discussion has merit, but I think you’re taking creative license again with stopping a serial killer or spree killer “before they kill again.” That’s not really how murders play out, which is why there are special names for them.

It would be helpful for discourse, and for making your own argument, if the discussion was grounded in the reality of the sour world we live in now.
Show HN: LTP – Lazy Tool Protocol. Up to 93% token reduction for AI agents
by Song-JunHyeong | 2025-12-22 22:27:10+00:00
Hi HN,

I’m the creator of LTP (Lazy Tool Protocol). I built this because I was frustrated with the hidden costs of building AI agents with many tools.

The current standard for tool-calling (like MCP) often requires loading every tool's full JSON schema into the AI's context at the start of a session. If you have dozens or hundreds of tools, you’re burning through tens of thousands of tokens before the agent even says "Hello."

LTP changes this by introducing a "Lazy Loading" pattern.

Instead of bloating the context, LTP uses a CLI-based bridge. The AI agent only fetches the specific tool definitions it needs, when it needs them.

What makes LTP 0.1.0 different:

Up to 93% Token Savings: In my latest benchmarks, LTP reduced token overhead from 300,000 to just 20,000 for a 100-call session.

The --schema Flag: By providing compact function signatures once at the start, the AI can understand hundreds of tools with minimal overhead, eliminating the need for repeated metadata calls.

Executable "Crafts": We’re moving beyond simple prompts. A "Craft" is a reusable package that combines precise AI instructions (CRAFT.md) with executable automation scripts (execute.ts). It’s like a library of expert skills for your AI.

Security-First: I know running local commands is a concern. LTP includes built-in whitelisting, sandbox path restrictions, and mandatory confirmation for dangerous operations like file deletions.

How it works: You give your AI a simple system prompt (provided in the repo) that teaches it to use the ltp CLI. The AI then uses ltp list --schema to see what’s available and ltp call to execute tools.

I'm currently running this on my VPS and using it for my own daily workflows.

Repo: https://github.com/JuN-B-official/ltp
Url: https://ltp.jun-b.com
Efficiency Analysis: https://ltp.jun-b.com/docs/effect

I’d love to get your feedback on the architecture and the efficiency of this approach!