MurphyA/hacker-news huggingface dataset:
by Imustaskforhelp | 2025-12-22 20:24:26+00:00
To be honest, I'd like to chip in that it is technically possible to write brainf*ck, an esoteric programming language but nonetheless, its a programming language

https://www.reddit.com/r/SQL/comments/81barp/i_implemented_a...

Btw this runs in sqlite, you can try it yourself if you are interested.

Source: I was thinking of creating a programming language paradigm like sqlite/smalltalk once where resumed execution/criu like possibilities were built in. Let me know if someone knows something like this too. I kinda gave up on the project but I knew that there was this one language which supported this paradigm but it was very complicated to understand and had a lot of other first time paradigm like the code itself / the ast tree is sort of like a database itself but so the tangential goes.
by nickdothutton | 2025-12-22 20:24:33+00:00
When the UK handed back HK, the Chinese who are nothing if not wiley, understood that they needed to maintain intelligence, surveillance, and some kind of institutional knowledge of the various organised crime groups, certain individuals with borderline business interests, that sort of thing. They offered the British police officers houses, stipends, and other incentives to stick around and clue-in the incoming crop of officials, domestic intelligence officers, and cutouts/go-betweens. Something of an untold story. Would make a great streaming series.
by PhotonHunter | 2025-12-22 20:24:36+00:00
It really depends on what you mean by "decades", but I've been in the system for a generation and what you're saying doesn't match what I see on the ground.

During the doubling of the NIH budget under Clinton and Bush the younger times were great. After, budgets stagnated and things were harder but there was still funding out there. The disruption we're seeing now is a completely different animal: program officers are gone, fewer and less detailed summary statements go out, some programs are on hiatus (SBIR/STTR) and if you have something in the till it was wasted time, &c. NSF is a complete train wreck.

My startup had an STTR in for the last cycle and we can't talk to the program officer about our summary statement, nor can we resubmit, nor are we likely to be funded. That's a lot of lost time and money for a startup that, since we're atoms and not bits, is funded on a shoestring budget. The only time something like this happened in my memory was the shutdown in 2013 and that wasn't even close to the disruption we're seeing now.
by beembeem | 2025-12-22 20:24:43+00:00
Result first (kill anything not carbon-based), find rationale later.

Same applies to how this admin forced layoffs at the green energy (hydro + nuclear) behemoth BPA [1] (which was funded entirely by ratepayers, not the federal government) then claimed an energy emergency to keep open coal plants serving the same geographies, coal plants that were already uneconomical and planned for shut down (or re-tooling to gas in the case of TransAlta's plant in WA). [2] Oh and they already re-hired some of the laid off staff at BPA because they overcut.

There is no point in taking these arguments at face value. It's an excuse generated after-the-fact, and in service of one outcome - kill renewable energy.

[1] https://www.columbian.com/news/2025/mar/12/letter-cuts-at-bp...

[2] https://www.seattletimes.com/seattle-news/climate-lab/doe-or...
by pengaru | 2025-12-22 20:24:49+00:00
> China is by far the world's biggest polluter, by a factor of 2-3x that of the US so let's not paint them as some beacon of environmental stewardship.

China's leading the planet in development and deployment of renewable energy tech.

What proportion of China's emissions are a consequence of The West's externalizing the manufacturing of what it consumes?

At least with China in the driver's seat it looks like the planet's manufacturing needs will actually get cleaned up. Meanwhile the US will keep pearl clutching as it fades into irrelevance and Zimbabwean hyperinflation.
by tptacek | 2025-12-22 20:24:53+00:00
If Flock vanished off the Earth tomorrow I think we'd see exactly the same ALPR penetration. Municipalities aren't buying these things because Flock's so good at selling them; they're buying because the ALPR vendors have an extremely compelling pitch! Two of our neighboring municipalities have non-Flock ALPRs; I think you're going to see a lot of non-Flock ALPR penetration in progressive-leaning suburbs, for instance, because progressives are all het up about Flock.

(I helped get Flock cancelled in Oak Park, where I live, and before that led the passage of what I believe to be the most restrictive ALPR regs/ordinance package in the country. I'm not an ALPR booster.)

But I'm going to keep saying: my thing about this video is that he's describing mostly things that are true of all public IP cameras. There are zillions of those!
by paxys | 2025-12-22 20:25:03+00:00
It worked out well for Europe because the country that took over its position of leadership position post-WW2 (USA) was aligned with it in all ways (politically, culturally, scientifically, economically), and so (western) European countries could still enjoy all the benefits. It will not be the case this time around, because the next generation of innovation and leadership is going to come from China.
by triceratops | 2025-12-22 20:25:10+00:00
> Any investment by China is clearly because they found a way to profit from it

An investment that doesn't make a profit is kinda pointless. Business 101.

> Your neighbor thinks he's saving the world filling his roof with cheap Chinese solar panels

And he's right. God bless him for having more sense than you.

> ignoring the toxic chemicals and human cost that went into manufacturing it

Yeah no toxic chemicals or human cost whatsoever went into digging up your coal and gasoline.

Tell us honestly: why do you gain by lying?
by stefanfisk | 2025-12-22 20:25:11+00:00
Here in Sweden a bunch of offshore wind farm project and even residential PV installations are blocked by the military for unspecified reasons that everyone assumes is that it blocks radar and other signal intelligence.

Even though you can partially work around the issue with better onshore equipment or just placing the stuff on the other side of the interfering equipment it is still a step down from not having any interference in the first place. Especially if you want to keep your listening equipment secret.
by robswc | 2025-12-22 20:25:25+00:00
> "diversity related topics" included things like biodiversity which is an important area of research and should be apolitical. Not because of a shift in focus, but because of top-down orders to not fund anything related to "diversity."

Do you have a source for this? How can you prove it was simply because it was "diversity related" and not because it someone, somewhere determined the budget needed to be cut because the spending was wasteful?

As far as I can tell, the budget never passed, so we have no way to know one way or another the effects.

I have never seen a government entity claim that cutting their budget wouldn't be catastrophic.
by embedding-shape | 2025-12-22 20:25:26+00:00
> I think it's very likely counterfactually better than USSR (now Russian) or Chinese hegemony.

Why is it either or the other? Just because the US happens to turn inwards and stop acting like the world police, doesn't mean that other countries suddenly start dreaming of world domination. China and Russian both have plenty of problems in their home fronts and surrounding areas.
by com2kid | 2025-12-22 20:25:36+00:00
Fake leather is such an annoying scam. Real leather can last for a century if taken care of, fake leather lasts a handful of years before it literally flakes away into nothing.

Though that reminds me of the time I bought a real leather couch set that had absolute garbage everything else, the legs broke after a couple of years. Really not the part I was expecting the manufacturer to have cheaper out on...
by elv1s42 | 2025-12-22 20:25:59+00:00
BlazorOcticons provides GitHub Octicons as native Blazor components. Instead of copying SVG files or managing icon assets manually, you can reference any icon by name and customize size and color directly in your Blazor code. The library keeps your icons consistent with the Octicons set and makes it easier to work with icons in Blazor projects.
by JackSlateur | 2025-12-22 20:26:11+00:00
In the windows world, you connect to a server using RDP. I thought this would be implied. RDP is a mean to connect to a remote host and, from there, execute code. Hence, code execution.

https://en.wikipedia.org/wiki/Remote_Desktop_Protocol

See also this: https://en.wikipedia.org/wiki/Windows_Remote_Management (different player, same thing)
by xmprt | 2025-12-22 20:27:07+00:00
To be fair, it was pretty much the entire western world fucking around before. Brexit was the first shock but I don't think the world learned many lessons from that. However a lot of western nations are taking the US as a cautionary tale and will learn from US mistakes. So 2nd place might be lucky at this point (assuming we're comparing large trading blocs rather than just countries).
by epistasis | 2025-12-22 20:27:13+00:00
If somebody does pollution for a while how in the world would that make them ineligible from being the leader in the future technologies that stop the pollution?

I am not following your logic or point here. The US has been the leading polluter, would that somehow stop us from saving the world from pollute if we came up with the technology for the rest of the world to stop polluting? Of course not. It's a very strange whataboutism that you are purveying that gets repeated frequently in online forums, but doesn't stand up to a little bit of back-and-forth.
by gruez | 2025-12-22 20:27:20+00:00
>That's quite a whooooosh of missing-the-point. I'll simplify it even further. You're acting like these are equivalent: [...]

No, you're missing the point. You're just doubling down on "our claims of fascism is so obviously correct, whereas their claims of fascism is so obliviously meritless and hyperbolic!". Yes. The person yelling "fascism!" obviously belies it's so obviously correct, otherwise he wouldn't be yelling it.

>Well, seeing a fur hoodie downtown is a bad reason, and seeing a pawprint in the forest is a less-bad reason. I can comfortably declare it so and the vast majority of people will agree.

"vast majority"? If only things were so obvious. Otherwise Trump wouldn't have gotten elected in both 2016 and 2024, despite exasperated cries of "fascism!" for 8+ years.
by Moldoteck | 2025-12-22 20:27:31+00:00
not just that. Fossils are/were the guarantee of US dollar dominance. Huge $ are made purely by the fact most fossils transactions are in $. It's not in the interest of US to reduce the influence of fossils, especially now when it's the biggest exporter. Trump is ... trump... his actions can be anyway between personal biased hate or US strategical decision...
by nerevarthelame | 2025-12-22 20:27:41+00:00
>It seems we crossed into the realm of intentionally doing damage.

"The Trump administration’s decision to shut down the U.S. Agency for International Development (USAID) has resulted in hundreds of thousands of deaths from infectious diseases and malnutrition, according to Harvard T.H. Chan School of Public Health’s Atul Gawande ... The dismantling of USAID, according to models from Boston University epidemiologist Brooke Nichols, “has already caused the deaths of six hundred thousand people, two-thirds of them children,” Gawande wrote. He noted that the toll will continue to grow and may go unseen because it can take months or years for people to die from lack of treatments or vaccine-preventable illnesses—and because deaths are scattered." [https://hsph.harvard.edu/news/usaid-shutdown-has-led-to-hund...]
by HDThoreaun | 2025-12-22 20:27:44+00:00
China is still moving millions of people from rural to urban areas every year. The overbuilt housing is a complete non issue that will naturally solve itself in under a decade. Meanwhile in the west there is a massive housing affordability crisis because the government lets special interests make new housing illegal. I am not a fan of the chinese government but their housing policy is one spot where they are obviously better than western policy.
by resize2996 | 2025-12-22 20:28:23+00:00
The big players (Gemini, Claude Code, Codex) and then aider and opencode for open source.

I keep my setup modular/composable so I can swap pieces and keep it usable by anyone (agent, human, time traveler) depending on what the task needs. In the aughts I standardized on "keep worklogs and notes on tools and refine them into runbooks" so that has translated pretty well to agentic skills/tools. (a man page is a perfectly cromulent skill, btw.)
by gcanyon | 2025-12-22 20:28:35+00:00
> the second programming language everyone needs to know

Do they though? I've been writing SQL for over twenty years, and my experience is that LLMs have been better at writing it than I am for at least most of 2025, for most use cases. I have zero doubt that I will only be writing SQL when I want to for fun no later than sometime 2027.
by xyzzy123 | 2025-12-22 20:28:50+00:00
Open cameras make information that was previously local and difficult to collect global and easier to collect. Relatively, it reduces the privacy and power of people on the ground in your neighbourhood and increases the power of more distant actors. It doesn't seem very socially desirable as an outcome. It also increases the relative power of people with technical capacity and capital for storage and processing etc.

I do buy your argument that open access could help check the worst abuses. But, if widespread, it'd be so catastrophic for national security that I can't see how it would ever fly.
by loloquwowndueo | 2025-12-22 20:28:52+00:00
How to add passkeybot support to your site, according to their official guide:

start

(1) Copy / paste example_http_server into your LLM of choice (use a paid/good model).
(2) Prompt: Implement the HTTP handlers here for my project,..

Um, no? How about you give me real instructions on how to do it? I’m not going to delegate a security-critical task to an LLM. And since I need to review it carefully myself anyway, I might as well write it all by hand, right? Like, the whole premise is I just need to implement a couple of webhooks.
by pcarroll | 2025-12-22 20:28:56+00:00
To clarify, one of the big advantages of a Mesh VPN is that the traffic does not flow through the VPN provider at all. WireGuard encrypts the traffic from device interface to device interface. The connections are point-to-point and not hub-and-spoke. This is both faster and more secure.

If a direct connection cannot be established due to a very restrictive firewall or a messed-up ISP modem, it will fall back to a relay server. But in that case, the relay relays the traffic, but it does not have the keys to read it.

You can learn more here:
https://www.wireguard.com/

TL;DR WireGuard itself is a relatively small project at roughly 4,000 lines of code. It has been thoroughly audited and is even built into the Linux kernel.
by adventured | 2025-12-22 20:29:11+00:00
The greatest timeline for Europe in its history? Post WW2 to now.

The greatest timeline for Latin America overall? Post WW2 to now.

The greatest timeline for Oceania overall? Post WW2 to now.

The greatest timeline for India? Post WW2 to now.

The greatest timeline for the rest of Asia overall? Post WW2 to now.

Coming up on 80 years. Here's a short list, please tell me which prior ~80 year period in history these nations had it better overall for their people.

Britain, Ireland, Germany, France, Spain, Portugal, Italy, Latvia, Lithuania, Estonia, Romania, Poland, Switzerland, Denmark, the Netherlands, Sweden, Belgium, Norway, Finland, Iceland, Greece, Slovakia, Austria, Slovenia, Hungary, Croatia, Bulgaria. Russia, Turkey, Kazakhstan. Australia, New Zealand, Canada. China, Japan, Indonesia, India, Taiwan, South Korea, Vietnam, Singapore, Malaysia, the Philippines, Thailand. Mexico, Colombia, Brazil, Peru, Chile, Uruguay, Costa Rica, Panama. Israel, Saudi Arabia, UAE, Kuwait, Qatar, Oman, Bahrain.

Just most of the world population in that little list.

Even Russia - the people of Russia have far higher standards of living at the median today than they have at any other point in their history. It's not even remotely close.

'But but but the world isn't perfect.' No kidding.
by jandrewrogers | 2025-12-22 20:29:19+00:00
It is misleading to characterize forcing them to undergo the standard environmental review process as "canceling". This solar project was given a special waiver to skip expensive environmental reviews that everyone else is required to go through because of close political ties to the Biden administration. If these environmental reviews are too onerous then maybe we should eliminate them.

Clearly, no one believes these environmental reviews serve a real purpose. Both Democrats and Republicans will allow you to skip them for a sufficiently large bribe. Which suggests the true purpose of such reviews.
by eastbound | 2025-12-22 20:29:24+00:00
This is not woke, no matter how large you define woke. You can see links with the ACLU or various human rights defense groups, but those groups may have become woke, without “global surveillance” becoming a woke topic.

Wokism is about making racist accusations of dominance over an audience who didn’t do it. It’s about unfairness and hyping factions against each other. The global surveillance is not about pitting groups against each other. To wit, 1984 has always been a very right-wing torpe.
by cyberax | 2025-12-22 20:29:31+00:00
JetBrains has AI support. It's a bit janky right now, but it is definitely getting better.

They have an MCP server, but it doesn't provide easy access to their code metadata model. Things like "jump to definition" are not yet available.

This is really annoying, they just need to add a bit more polish and features, and they'll have a perfect counter to Cursor.
by bakies | 2025-12-22 20:29:39+00:00
Seems like "national security" has become a phrase that can be used to circumvent many laws, facts, and balance checks. Just like the word "terrorist." It seems like if these ever get challenged to the Supreme Court the current judges will rule with something like it being at the president's discretion.

So obviously the government can spend some of that $1T military budget on fixing their coastal radar.

I thought Massachusetts just won in court to get their money or construction resumed, wonder if this means they have to go back to court.
by albert_roca | 2025-12-22 20:30:01+00:00
EXPECTED OUTPUT:

OBJECT | UNIFIED | GR | DIFF %
-----------------------------------------------------------------
Electron | 2.53264e+22 | 2.53262e+22 | 0.00084794
Proton | 2.53264e+22 | 2.53262e+22 | 0.00084794
Earth | 9.81997e+00 | 9.81997e+00 | 0.00000000
Sun | 2.73810e+02 | 2.73810e+02 | 0.00000000
Neutron Star| 2.74798e+12 | 2.74798e+12 | 0.00000000
Sgr A* (Lim)| 7.14606e+07 | 7.14606e+07 | 0.00000000
-----------------------------------------------------------------

PHASE 2: G DERIVATION
Formula: G = (hbar * c * 2 * (1 + alpha/3)^2) / (mp^2 * 4^64)
Derived G: 6.67424397056e-11
CODATA G: 6.67430000000e-11
Diff: 8.39 ppm (within 22 ppm uncertainty)
by paganel | 2025-12-22 20:30:19+00:00
> I just fundamentally disagree that there is some threshold below which people can't make decisions about their own life or career.

Stuff happens to you and to one's family that you just cannot "strategize" your life around just like that, unless you have (some, a good amount even) money, this is just how things are. If you haven't ever been in that place consider yourself very lucky.
by meowface | 2025-12-22 20:30:22+00:00
Yes, nearly all of them absolutely are. (I have talked to many of them and they really truly are.) That fact does genuinely assuage my concerns. Still, I do wonder if a future charismatic far-right politician who does not come across as a loser could do far better than previous generations ever could have predicted. The worst possible person at the worst possible time.
by ChrisMarshallNY | 2025-12-22 20:30:29+00:00
Thanks for that!

I am in the middle of writing a passkey-driven server dashboard app (native SwiftUI app, with a small server component).

In the future, I would like to use passkeys as much as possible, but they do present a bit more friction to users than Sign in with Apple. When I was initially learning them I wrote this up: https://littlegreenviper.com/series/passkeys/
by spullara | 2025-12-22 20:30:42+00:00
I think that the commonly used refactoring functions would make a big difference and right now most IDEs are pretty bad at them (especially across all the languages jetbrains supports):

- rename variable/function
- extract variable/function
- find duplicate code
- add/remove/extract function parameter
- inline a function
- moving code between classes
- auto imports

Others are used more rarely and can probably be left out but I do think it would save a lot of tokens, errors and time.
by pjmlp | 2025-12-22 20:31:38+00:00
Microservices are older than those, hence why Sun had the motto "The network is the computer". :)

By the time you are referring to, we were already on the classical 3 tier architecture, the

There are indeed Web frameworks for RDMS, that allow to expose the database as microservices, like Oracle's APEX, which grew out of Oracle's Visual Basic version, which used PL/SQL instead of BASIC.
by throw0101d | 2025-12-22 20:31:52+00:00
> […] where sending inaccurate time was worse than sending no time […]

When you ask a question, it is sometimes better to not get an answer—and know you have not-gotten an answer—then to get the wrong answer. If you know that a 'bad' situation has arisen, you can start contingency measures to deal with it.

If you have a fire alarm: would you rather have it fail in such a way that it gives no answer, or fail in a way where it says "things are okay" even if it doesn't know?
by xg15 | 2025-12-22 20:32:21+00:00
Exactly - I'd see this as an example of a language that is not context-free, because generating the AST requires information beyond the root node/production and the characters of the subtree.

In contrast, languages like Java, JavaScript or C# would be context-free: The string

hello(foo + bar * 5);

is not a "valid" JavaScript program, because of the undefined identifiers, but it does have a non-ambiguous AST.
by embedding-shape | 2025-12-22 20:32:25+00:00
He has said that he cannot do more than two terms, but also there are ways to do more terms. Then he said it's too early to think about, then that he is joking, then that he wasn't joking, then that he isn't looking into it, but that they're "probably entitled to another four after that" (https://www.cbsnews.com/news/what-trump-has-said-about-pursu...), whatever the fuck that means.

Ultimately, I don't think it matters much what he says or has said, he won't clearly say what he/they are planning, obviously.
by meowface | 2025-12-22 20:32:55+00:00
It seems likely that at least for a few more centuries, humanity and Earth are going to play the typical geopolitical games they've played during the past centuries.

China and Russia are consistently led by ruthless people who like power. Plus, even if China does only just conquer Taiwan and then leaves everyone else alone as the hegemon, there's still the matter of them oppressing ~20% of the humans on the planet (their own people). Even if it's the sort of oppression that you don't necessarily ever notice so long as you always stay in line.
by ctoth | 2025-12-22 20:33:22+00:00
Which of these 24 parts cover accessibility?

Ah, this one:

> That said, you could add a description string to the common element header that screen readers could use, but accessibility concerns are out of scope for this toy UI library.

I love it when tutorials teach people to ignore people like me.

Am I being harsh? Well where's the tutorial that teaches people how to do it properly? Where do people actually learn the right way if not here?