MurphyA/hacker-news huggingface dataset:
by _trampeltier | 2026-01-20 19:00:13+00:00
As somebody who was traveling for 6 month in my young years, I can tell you, after arriving at home it just felt like i was a day away.

I thing, like another guy said, teaching might be a good way.

Also, "tech" is big. Maybe a job in industry automation might be something. You nod just see something on a screen, you can touch the result. I'm in this, it is also sometimes stressful, but also very interesting.
by singron | 2026-01-20 19:01:11+00:00
PG does reuse plans, but only if you prepare a query and run it more than 5 times on that connection. See plan_cache_mode[0] and the PREPARE docs it links to. This works great on simple queries that run all the time.

It sometimes really stinks on some queries since the generic plan can't "see" the parameter values anymore. E.g. if you have an index on (customer_id, item_id) and run a query where `customer_id = $1 AND item_id = ANY($2)` ($2 is an array parameter), the generic query plan doesn't know how many elements are in the array and can decide to do an elaborate plan like a bitmap index scan instead of a nested loop join. I've seen the generic plan flip-flop in a situation like this and have a >100x load difference.

The plan cache is also per-connection, so you still have to plan a query multiple times. This is another reason why consolidating connections in PG is important.

0: https://www.postgresql.org/docs/current/runtime-config-query...
by kmeisthax | 2026-01-20 19:01:25+00:00
> 250 years of legal stability

America was never a stable country. That 250 years includes:

* A decade of chaos under the impotent Articles of Confederation.

* The deliberately engineered election of George Washington to create the illusion of political stability, a reign which only ended because George stepped down voluntarily.

* An immediate constitutional crisis the moment a competitive election happened, causing the election of a President and Vice President from opposing political parties (imagine a Harris - Trump presidency). The ensuing chaos resulted in SCOTUS unilaterally declaring itself the final arbiter of the law.

* The Thomas Jefferson presidency, which in many ways is the alpha release of Trump.

* The Civil War, started specifically because the losing faction of slaveholders was angry at losing, and ending with the losing faction losing so hard the counter rolled back into flawless victory. They surrendered, then assassinated the President and got his party to give up on everything he stood for.

* Economy-destroying Smoot-Hawley tariffs, which are basically what Trump is doing now.

* A spectacular near-miss in which the country's business elites attempted to assassinate a Progressive president and only failed because the Marine they selected as their Hitleresque dictator ratted them out.

* Widespread civil unrest deliberately created to force America to reckon with its racist past and undo what the South had managed to convince the North to allow them to do after Reconstruction.

* The Richard Nixon presidency, which in many ways is the beta release of Trump.

* Too many foreign invasions to count.

In the entire history of America I can think of maybe 3 brief moments of political stability that weren't outright engineered fantasies. The two that are relevant to modern times are the 1950s and the 1990s. Both of these were the result of America winning a war of conquest.
by tech_ken | 2026-01-20 19:01:46+00:00
> If we evolved to be more rational, then the phenomenon probably wouldn't exist.

I strongly disagree here, I think the phenomenon is in fact part and parcel with the evolution of our rationality. Betting (as you accurately describe) is an intrinsic part of life, and rationality (as I understand) is our evolved response to wrangling that uncertainty. It shouldn't be surprising that the evolutionary reward mechanism for acting rational (big oxytocin hit when you predict something correctly) could get miscalibrated for a subset of the population; that's just biology.

I also think you're making a massive error by conflating criticism of betting with criticism of betting markets, though. Nobody is upset about people dealing with the natural risk of day-to-day life; the problem is that people are now being incentivized to take on additional risk (beyond the day-to-day) which they are poorly equipped to reason about. The systems governing the dynamics of geopolitical events (or other things you can estimate in a betting market) are staggeringly complex, and assigning credences to them is an epistemological nightmare that even the most seasoned experts struggled to do reliably. These market brokers are using a framework of rationalism/"wisdom of the crowds" as a cover to sucker non-expert consumers into what truly is gambling in the sense that you describe it. In principle a person could probably lay accurate odds on a horse race too, but the average punter is never doing that and the same is true of the majority of polymarket users.
by StephenHerlihyy | 2026-01-20 19:02:36+00:00
Honestly I would have done 20 years if I had been so lucky. My body had other plans however. I'm trying to get back into the embedded/defense space though. I was a low-level C/C++ programmer back in my early tech days and so it's been pretty neat coming back to it. Absolutely insane that these tiny little chips have so much raw compute power. I used to view under a millisecond as "good enough" but get to tinker with microseconds now.
by GoldenMonkey | 2026-01-20 19:03:17+00:00
Why is the independence of the Federal Reserve sacrosanct? For one, they should have oversight and they should have accountability.

Not ever passing an audit of any kind. And the FED chairman spending $2.5B on renovations to an office complex. While misleading congress about the kinds of renovations.

There should be less 'independence', if it means zero accountability.
by hinkley | 2026-01-20 19:03:25+00:00
The next trap is loudly announcing how you’re going to get yourself out of that situation, getting the neurotransmitter hit that comes from the announcement, and then never doing it.

I have a person who has distanced themselves from me because I don’t provide the feedback they crave when they do this for the eleventieith time. I only have so many spoons and that passion play feels like throwing them in the garbage disposal. I just can’t for my own well being. Sorry.
by palmotea | 2026-01-20 19:03:55+00:00
> I think they're seeing that against the alternative: a global war. Which is definitely one of the other options on the table right now.

Except that's not an either-or alternative. Even if the US had a civil war and somehow disappeared, other belligerent actors would be free to start conflicts that had been held back by US pressure. You still have your "global" war. Like if the US disintegrates right now, Europe can kiss all of Ukraine goodbye, and probably the Baltics, too.

And even if somehow the US was the only problem (it's not), there's a decent chance that the end result of a civil war is a non-fragmented and even more belligerent US.
by throw0101a | 2026-01-20 19:04:18+00:00
More:

> Due to the precession of the equinoxes (as well as the stars' proper motions), the role of North Star has passed from one star to another in the remote past, and will pass in the remote future. In 3000 BC, the faint star Thuban in the constellation Draco was the North Star, aligning within 0.1° distance from the celestial pole, the closest of any of the visible pole stars.[8][9] However, at magnitude 3.67 (fourth magnitude) it is only one-fifth as bright as Polaris, and today it is invisible in light-polluted urban skies.

> During the 1st millennium BC, Beta Ursae Minoris (Kochab) was the bright star closest to the celestial pole, but it was never close enough to be taken as marking the pole, and the Greek navigator Pytheas in ca. 320 BC described the celestial pole as devoid of stars.[6][10] In the Roman era, the celestial pole was about equally distant between Polaris and Kochab.

* https://en.wikipedia.org/wiki/Pole_star

* https://en.wikipedia.org/wiki/Celestial_pole
by embedding-shape | 2026-01-20 19:04:19+00:00
Verbatim quotes, ~2 hours ago:

> No single person, or President, has done more for NATO than President Donald J. Trump. If I didn’t come along, there would be no NATO right now!!! It would have been in the ash heap of History. Sad, but TRUE!!! President DJT

> The whole problem we are having with criminals in our Country was caused by Sleepy Joe Biden and the Radical Left Thugs that surrounded the Resolution Desk in the Oval Office - And, of course, the Illegal Use of the Auto Pen!!! They should be in jail!

I understand how there would be one or two people who'd hear that and go "Fuck yeah wooo". It's worrisome to me that a group of people could read/see/listen to that and think that sounds good. It's shocking to me that 77.3 million people could read that and think it's sane, good and is how a president should sound like.
by lazyasciiart | 2026-01-20 19:04:25+00:00
Sure, for a value of “many” meaning more than 10. I doubt it means anything close to, say, 10% of new hires.

Frankly it seems like a pretty weird thing to say to a group of college students. What does he want them to take away from it? “Just apply now”? “You’re not that great”?
by snowmobile | 2026-01-20 19:04:31+00:00
Sure, and right now they aren't very capable, so it's fine. But I'm interested in the mindset going forward. I've read a few stories about people handling radioactive materials at home, they usually explain the precautions they take, but still many would condemn them for the unnecessary risk. Compare it to road racing, whose advocates usually claim they pose no danger to the general public.
by pfannkuchen | 2026-01-20 19:04:32+00:00
In international land conflicts I always like to imagine it as the following scenario: you get a letter in the mail telling you that you’re going to be forcibly relocated to country X.

But what about your friends and family, you might say. Will you still be able to see them? You would surely fight to not be isolated from them. Well, good news, they’re being relocated as well.

What about your home, your possessions? You would surely fight to not lose them. You’re in luck, also relocated.

But the land will be different, the weather. Good news, the land and weather are also being relocated.

But what about the government, whom you love dearly and would miss terribly. Sorry to say, the government is the only thing not being relocated.

So, will you pick up a gun and risk death, even near certain death in some cases, to stop yourself having the same life, except for the government? Really? Is the other government really that different from yours?

That being said in this case the notion of USA invading Canada is ridiculous and won’t happen. It’s just reality TV guy pushing the deal landscape wider so he can get the modest-by-comparison thing he actually wants. He has a whole book that talks about how he does this. It’s weird how people still take him seriously when he does this.
by snowwrestler | 2026-01-20 19:04:47+00:00
Seems funny to point at Google when I suspect the bigger revenue impact was probably MS Teams being “good enough for the CIO.” G-Suite is widely adopted but how does it compare to MS for enterprise revenue? I suspect MS is way bigger but have not checked in a while.

We tried to expand Zoom licenses during COVID because it worked better, and were told “no, use Teams.” We barely held on to Slack, which is only used (albeit heavily) by a few engineers and product folks now. Everyone else uses Teams as instructed…
by msdrigg | 2026-01-20 19:04:50+00:00
The most interesting thing for me in this article was the mention of `MERGE` almost in passing at the end.

> I'm not a big fan of using the constraint names in SQL, so to overcome both limitations I'd use MERGE instead:

```
db=# MERGE INTO urls t
USING (VALUES (1000004, 'https://hakibenita.com')) AS s(id, url)
ON t.url = s.url
WHEN MATCHED THEN UPDATE SET id = s.id
WHEN NOT MATCHED THEN INSERT (id, url) VALUES (s.id, s.url);
MERGE 1
```

I use `insert ... on conflict do update ...` all the time to handle upserts, but it seems like merge may be more powerful and able to work in more scenarios. I hadn't heard of it before.
by themadsens | 2026-01-20 19:04:59+00:00
I was lucky enough that my first employer ran the very first 4.2BSD in Denmark outside academia (on a DEC-VAX/750), so i grew up with Bill Joy's newfangled "vi" and spent countless hours recap'ing the cheat sheet.

To this day stuff like "3dw" and "d}{{[P" are just second nature.
Very much enjoying moders stuff like neovim and CoC/LSP too.

And yes, nvim is perferctly suitable for Java and maven with ctags/ripgrep/fzf etc. plugins
by dylan604 | 2026-01-20 19:05:05+00:00
When you had no electricity to produce light pollution, when you have no TV, printing press, or any other thing to distract your attention, you had plenty of time to look at the night sky. When that also means you didn't have a way to have a shared calendar, you paid more attention to the sky to know when the seasons were changing. When the changing of seasons were key into surviving, you gave it a lot of importance. It's hard to put that into perspective when we can just look at an app to see the specific time/date of astronomical events well into the future.
by Herring | 2026-01-20 19:05:07+00:00
I've met all sorts of very rational people, but when you bring up immigrants their brain reasoning centers turn off and they start frothing over Haitians eating dogs.

You have to know how to trigger it, cause Trump knows it extremely well. Studies have shown for a long time the human brain is often wired to prioritize group loyalty over factual accuracy.

Prior to Trump, most white americans only encountered this if they brought a black girlfriend home.
by hintymad | 2026-01-20 19:05:13+00:00
> Why is manufacturing so special? As opposed to something like software?

I assume that dollar will be strong if people want to buy stuff from the US, which requires using the US currency. Software indeed is a strong sector. I'm just not sure (as due to my ignorance) if they compensate sufficiently the trade deficit. For instance, if advertisers use Instagram in Europe, they wouldn't need the US dollar to pay for the service, right? If there's no virtual export happens, I'd assume there won't be any need for the US currency either.

> Also, manufacturing in the US is growing not shrinking. For a long time.

What about market share? I remember that the US had more than 65% of the manufacturing marketshare 25 years ago. Actually, I'm more concerned about the long-term national security and prosperity of the US, and I think they are tied to a robust manufacturing sector. But that's different topic.
by 0x457 | 2026-01-20 19:05:23+00:00
Silly ask: "please not promote your new thing on page where most users going to see it because I don't like that thing"

Sure, it is nice if it had genre "Ambient", but it's up to users. What is a filler for you, might be an engaging story for others.

You can usually tell what it's meant to be just by color grading and audio mixing in the trailer. I want "audio sounds like it was recorded in a sterile podcast studio" tag more.
by simoncion | 2026-01-20 19:05:35+00:00
> I know that IPv6 can be made secure, but I don't have the background or research time to learn how to do so, and the NAT-by-default of IPv4 effectively means that I get the benefit of a default-deny security strategy that makes it impossible to accidentally directly connect anything to the internet.

To get the "unsolicted traffic is rejected or dropped" behavior of the typical IPv4 NAT, forward inbound traffic that's related to an established connection and drop or reject the rest.

You can also use the exact same NAT techniques you use for IPv4 addresses with IPv6 addresses. The only differences are that instead of you using RFC 1918 Private Internets addresses (10./8 and friends) you use RFC 4193 ULA addresses (fd00::/8), and you need the usual NAT rules on your edge router, except for IPv6, rather than IPv4. Remember that IPv6 is still IP, just with larger addresses.

It's recommended that you generate your ULA subnet rather than selecting one by hand, but absolutely nothing stops you from choosing fd::/64. If you're statically assigning addresses to your LAN hosts, then your router could be -say- fd::1 and you count up from there. Also note that DHCP exists for IPv6 [0] and is used by every non-toy OS out there except for Android.

> I'm hoping I can keep using IPv4 until IPv8 or IPv4.5 or whatever comes next...

IPvnext is not happening in either of our lifetimes. You're either going to have to buy edge gear that's set up with a "reject or drop unsolicited inbound forwarding traffic" firewall, or learn how to set it up yourself. Either path is not hard. Well, I guess there's secret option #3: "Die without doing either.". That's also not hard.

[0] It has been around for nearly twenty-three years.
by nonethewiser | 2026-01-20 19:05:42+00:00
>I wouldn't describe integrating further to the point of becoming more like the US as "unstable".

More like the US, as-in a country? So also more like Germany, China, South Africa, etc. You are making a false equivalence - being like the US in one extremely non-US specific way does not mean you must be like the US in every other way.

I'm not sure you even understand what I'm saying - this has nothing to do with the US vs. the EU or if the US is reliable.
by lo_zamoyski | 2026-01-20 19:06:01+00:00
> They're looking for people to share in that anger, sadness, or frustration and confirm that it's a valid response to the situation.

Which is what the whole "empathy movement" of recent years seems to emphasize. The problem is that when empathy is unmoored from the objective good, this can become scandalous (not in the sense that it causes outrage, but in the older sense that it encourages evil). Not every response is a valid response. You must be able to identify whether something is good, you must refrain from actively enabling things that are bad, but you must discern whether to correct, and if so, how to correct. Not every problem is yours to correct. Busybodies think they are.

(N.b. the Catholic Church, drawing on ethical distinctions, makes distinctions between moral principle, the objectively moral status of particular acts in light of moral principles, and the pastoral needs of particular persons. So, e.g., while prostitution as a practice is roundly condemned as a matter of principle, particular prostitutes may be treated gently. This is especially true if he/she expresses remorse for the way he/she has lived his/her life (the parable of the prodigal son comes to mind).)
by rsync | 2026-01-20 19:06:02+00:00
Interesting treatment of the subject and well done, etc., but ...

What really interests me is, for the very first time, following a link to twitter and viewing something that is intelligible and digestable and cohesive in format and not some weird mid-conversation snippet that can't be viewed in context nor expanded nor make any logical sense of replies, etc.

It's almost as if someone at twitter bothered to survey online discussion formats of the last 40 years and choose some decent design guidelines ...
Show HN: Armour – A secure stdio MCP proxy, written in Go
by devel12 | 2026-01-20 19:06:03+00:00
At my last company, we connected Claude Code and Cursor to almost all our internal services via MCP. It made the team incredibly fast, but we hit a wall: permissions.

If you give an agent "Read Only" access, it can’t actually fix anything. If you give it "Write" access, it’s only a matter of time before a hallucination or a bad prompt results in a deleted database or a nuked production bucket. We had a few "close calls" that convinced us that simply reducing IAM permissions makes agents useless.

I built Armour (https://github.com/fuushyn/armour) to solve this. It’s a stdio proxy for MCP servers that lets you stay "secure by default" without stripping the agent's capabilities.

How it works: Instead of connecting your IDE directly to an MCP server, you point it to Armour. It acts as a middleware layer where you can:

Register all tools in one place: A single proxy for all your internal MCPs.

Argument-level blocking: This is the core feature. You can allow an agent to use a tool like github, but block specific arguments like delete.

The goal is to move away from the "all-or-nothing" permission model. You should be able to trust an agent with a shell without worrying it will run rm -rf /.

Repo - https://github.com/fuushyn/armour
by WarmWash | 2026-01-20 19:07:06+00:00
The government acted as if the pandemic was happening in 1990, when everyone either worked in person all the time, or nothing worked.

Instead, the golden geese of the American economy (the actual golden geese), simply stayed home and worked from their laptop.

This created a situation where people were getting their regular paycheck, plus getting a multitude of stimulus on top of that. There were many making $100k+ salary, not paying rent (rent moratorium), not paying student loans (student loan moratorium), and not going out to do anything, resulting in having huge pools of cash laying around. If you had a mortgage, you got to refi at 3% and dramatically cut your mortgage bill. I won't even get into PPP loans either, everyone knows the story there.

I could write pages and pages about this, but the short of it is, we thought we need a wheelbarrow of money, but technology meant we only needed a jug of money. But we still got the full wheelbarrow.
by docdeek | 2026-01-20 19:07:16+00:00
'The West Wing’ had an episode where the US plan to invade Canada was a plot point (https://westwing.fandom.com/wiki/A_Good_Day). Of course there is a US plan to invade Canada - no matter who the president is, the armed forces would try and be prepared for any eventuality no matter how unlikely (in the episode the plan was over a hundred years old, but it existed). Similarly, it would not be unusual for Canada to have war gamed a US invasion.
by ggm | 2026-01-20 19:07:19+00:00
Not wishing to undermine the central point, NAT for v6 is a thing. The point of the article is that it's not "NAT by default" the way home IPv4 is because so few places worldwide get more than a single IP per customer: The NAT is not there in v4 for security, it's to provide for multiple devices inside the home. Or, in the case of Carrier-Grade NAT, to manage multiple customers, behind a small pool of v4.

NAT doesn't exist to be secure. If it is, (and that is debatable because NAT busting is a thing) then, it's a side-effect.

NAT for v6 is not common. If you use ULA, you'd possibly use NAT for v6 in some circumstances.

https://datatracker.ietf.org/doc/html/rfc6296
by tech_ken | 2026-01-20 19:07:40+00:00
> I'm trying to understand what the criticism is here, because the example seems to support the point that these are meant to be a way of learning the future, not oppose it. I thought the whole point was that yes, people with inside knowledge will bet large sums of money on things they expect to happen, and that's what makes the prediction useful. The market is meant to incentivize people who know things to act on them in a way that makes them known.

You're ignoring the critical issue of timing. It's one thing to crowd-source knowledge in a steady, homogenous way. It's quite another for an actor with material knowledge of the situation to exploit this dramatic information asymmetry to turn a profit, revealing the new information at the last possible timepoint it could be used to lay a wager. Insider trading is quite different from a Hayek-style price signalling, and it's the same here. In principle (and on long time-scales) these markets can incentivize important information to come to light sure, but in infinite time we're all dead anyways. The short-time dynamics matter a lot more, from a social welfare perspective.