MurphyA/hacker-news huggingface dataset:
by madeofpalk | 2026-01-03 15:53:16+00:00
FYI - no need to prefix your custom header with X- !

> Historically, designers and implementers of application protocols
have often distinguished between standardized and unstandardized
parameters by prefixing the names of unstandardized parameters with
the string "X-" or similar constructs. In practice, that convention
causes more problems than it solves. Therefore, this document
deprecates the convention for newly defined parameters with textual
(as opposed to numerical) names in application protocols.

https://datatracker.ietf.org/doc/html/rfc6648
by amanaplanacanal | 2026-01-03 15:53:26+00:00
Something like 50% of the population of the world live under rulers who were not democratically elected. Should the US taxpayers fund all of their removals?

On top of that, removing a ruler without any plan for follow-up frequently makes things worse, not better. We seem to have already forgotten that removing the leadership of Iraq led to the rise of ISIS and its horrifying consequences.
by kreditfinancial | 2026-01-03 15:53:40+00:00
Kredit | .NET Engineer Roles | Remote (US) | Full-time
Kredit (https://www.kredit.fyi) is on a mission to resolve consumer debt. We help people get out of financial hardship and offer tools for companies looking to manage their internal processes. Kredit is a small team and growing. Our stack: .NET Core, C#, PostgreSQL, CQRS, Angular, GCP, Kubernetes, Terraform and much more. We are a Event/CQRS stack and are looking for Engineers that fit that experience in this area.

If this sounds interesting to you, please reach out to recruiting at trykredit.com
by mytailorisrich | 2026-01-03 15:53:59+00:00
Kuwait is a dictatorship. South Korea and Taiwan were, too until the 80s-90s. Especually, in the case of Taiwan it is unclear what US intereference there has been politically: the Chinese fought hard to be free of interference and although in Taiwan they need US support I din't think they are as controlled as South Korea and Japan (which has been invaded and "vassalised"). If interefence there is it is indeed to literally interfere to foster separation.

Re. Iraq, interestingly the US imvasion has vastly increased Iran's influence in the country because the majority is Shia while Saddam was from a Sunni tribe.
by wat10000 | 2026-01-03 15:54:12+00:00
People seem confused about the issue.

You can still get out in a Tesla in that situation. There’s a mechanical release. Depending on the model, it’s either the regular handle, or a big obvious thing that people tend to pull instinctively instead of pushing the button.

The issue here is the exterior handles. Those are only electronic.

One of the reasons I’m skeptical of this reporting is that it doesn’t seem to distinguish. They talk about conscious, mobile drivers being trapped after a crash. If that happens, it’s not because of electronic door handles.
by lostlogin | 2026-01-03 15:54:41+00:00
> the puppets in Kabul eventually got swept by the Taliban

Eventually? Withdrawal was announced in May 2021 and was to occur over a few months.

By late August the Taliban had full control.

What a complete fiasco.

https://en.wikipedia.org/wiki/2020%E2%80%932021_U.S._troop_w...
by culebron21 | 2026-01-03 15:54:48+00:00
Russia sold some military equipment, but also, I recall in 2008-10 Venezuela got a loan from Russia (IIRC after acknoledging Abkhasia & Ossetia states), ...but spent it on American helicopters, not Russian. (A friend of mine worked in helicopter plant in Novosibirsk, that were doing services for Venezuelians, fixing and upgrading soviet Mi's. They had hillarious messages, like "With a hot Bolivarian salute, we inform you...") IDK how much they had, and whether that was sufficient. Apparently, doesn't matter now, because the Venezuelian arms stayed silent.
Show HN: Offline tiles and routing and geocoding in one Docker Compose stack
by packet_mover | 2026-01-03 15:55:16+00:00
Hi HN,

I’m building Corviont, a self-hosted offline maps appliance (tiles + routing + search) for edge/on-prem devices.

Hosted demo (no install): https://demo.corviont.com/

Self-host (Docker Compose repo): https://github.com/corviont/monaco-demo

Docs: https://www.corviont.com/docs

What’s inside:

- Vector tiles served locally (PMTiles)
- Routing served locally (Valhalla)
- Offline geocoding/search + reverse (SQLite Nominatim-based index)
- MapLibre UI wired to the local endpoints

After the initial image + data pulls, it runs fully offline (no external map/routing/geocoding API calls).

Next (if people need it): a signed on-device updater for regional datasets (verify → atomic swap → reload).

I’d love feedback: where offline maps/routing/search matters for you, and what constraints bite (hardware, fleet size, update windows, regions, deployment style).
Show HN: FocusMode – Free macOS Raycast Pro alternative workspace switcher
by gabrycina | 2026-01-03 15:56:06+00:00
I built FocusMode because I was paying $10/mo for Raycast Pro just for workspace switching.

It's a menu bar app that lets you define a "focus workspace" - a set of apps that should be visible. Press ⌘⇧P and everything else hides instantly.

Features:
- Multi-monitor: assign apps to specific screens
- Per-app maximize toggle
- Native Swift, ~2MB
- MIT licensed

Website: https://gabrycina.github.io/FocusMode/
GitHub: https://github.com/gabrycina/FocusMode

Happy to answer questions about the implementation.
by dfawcus | 2026-01-03 15:56:21+00:00
Nah - more that a lot of commercial code is written in it; and it doesn't make sense to replace (or rewrite) it at this time.

For example, I'm maintaining some 20 year old C code, which the employer adopted around 10 years ago. It will likely stay in use at least until the current product is replaced, whenever that may be.
by anomaloustho | 2026-01-03 15:56:36+00:00
Just noticed the “whataboutism”. I don’t have a particular take on the comment above but those countries do those things in their own parts of the globe.

The government of nations is anarchy and in anarchy the only rule is that “might makes right”. Some seem to have a view that there is a world government and that there are “rules” when in reality there are none.
by meltyness | 2026-01-03 15:57:16+00:00
The why is probably not this one-dimensional.

A hunger crisis? Millions of emigrants? Canada and the US offering asylum? Evidence of wide scale high-impact corruption?

On the homefront maybe the supposition(?) narrative(?) is that Venezuela is indeed so small and decrepit societally that they're an instrument to import addictive drugs that would also possibly be effective chemical weapons...

I too am in search of the why.

https://www.npr.org/2021/08/27/1031871225/bonus-venezuelas-r...

https://youtu.be/BgzTAG_Vhn4
by CjHuber | 2026-01-03 15:57:17+00:00
No that’s not what I mean. I‘m saying we should acknowledge them, not necessarily by doing so charitably. My point is that you cannot have productive debates about politicians if you think they all act to benefit their people and if they do something that contradicts that suddenly everyone says they are incompetent or stupid. Only then we can start asking what is he trying to accomplish with that. Which could be an interesting debate. What is he trying to accomplish for US citizens with that is a stupid question
by timmg | 2026-01-03 15:57:30+00:00
> Yes, millions of people in the poorest nations have been raised out of absent poverty since...

That... seems like something that shouldn't just be waved by.

And if you include China and India it's more like hundreds of millions. Like, if you think about the people of the world and not just "the West" the standard of living since the time Causescu was overthrown has increased dramatically.
by skippyboxedhero | 2026-01-03 15:57:32+00:00
Korea, by what metric? South Korea was through the 50 poorer than North Korea, North Korea was considered the roaring growth economy, huge success of planning and leadership.

Park Chung Hee took a country that could not be a functional democracy, provided leadership and put it onto the path of economic success. Iirc, the reduction in poverty through that period is the fastest in human history (when you consider that China, that is an incredible statement).

I think people (still) assume both that democracy is superior economically for every situation and that people who don't have any food care about being unable to vote...neither of these things is obviously true. Indeed, in the latter case, we now have a good test case of poor countries adopting democracy early and they have generally not been successful as power rotates between various quasi-dictators who give massive handouts to the poor to retain power (without doing anything actually useful).
by sejje | 2026-01-03 15:57:55+00:00
I think where the politics bleed into tech, we should allow the politics to bleed into discussions, staying on topic.

If the Tesla article commenters are talking about ICE, it's a problem.

But just posting political news to the front page sucks. And, thankfully, we have a working system for handling it.

HN has traditionally not let much politics through, and it's the better for it. Some does get through, and that's okay--it's not a moratorium. But I think we should endeavor to keep it pretty limited.
by simianparrot | 2026-01-03 15:58:02+00:00
I think it's pretty clear based on the intent. We are not privy to the details of policy making, we are only privy to what is actually shared publicly.

The _intent_ of the policies seem to be "treat the US better as a trading partner than you have under Biden, or get punished in ways that hit you the hardest", usually via tariffs or other means. NATO members have exploited the US with lopsided investment in the alliance under Biden, and many European countries had really bad trading agreements with the US -- bad for the US, not for us. I'm surprised we got away with it for this long.
by MomsAVoxell | 2026-01-03 15:58:02+00:00
Now this I would like to see, but I have serious doubts it will ever happen. I don’t think the American people have the courage to do something about their heinous, out of control government, personally. Happy to be proven wrong, because it would be a legitimate step to world peace on behalf of the American people, but I seriously doubt they are, as a population, capable of it.
by clanky | 2026-01-03 15:58:11+00:00
The U.S. has been demanding Maduro and his government leave power for months. They gave out a whole fake Nobel Peace Prize to try and astroturf his replacement. Now, U.S. officials are explicitly saying there will be no further attacks and have quietly dropped that demand. Best guess is that the reason this looked so easy is because a deal was cut that will leave Maduro's party in power.

This looks a lot like when the U.S. & Israel were running dry on interceptors last year, and made a deal with the Iranians to pretend to blow up Fordow in exchange for ceasing hostilities.

There is still "a lot of ruin in a nation" as they say, but the actions of the U.S. empire increasingly reflect those of a bankrupt regime hollowed out by internal corruption and galloping inequality, because that's exactly what it is.
by sandworm101 | 2026-01-03 15:58:21+00:00
I am forced to use windows at work. Last week my web searches looked strange ... not getting the ussual results. Bing! Some windows update reset my default search from google to bing. Again! Microsoft's dirty tricks will never stop.

I am considering writing software specifically to feed random junk jnto Microsoft's telemetry cloud. I will call it "fuss-MS" and it will send random searches to Bing and fake queries to copilot ten times a second until Microsoft stops acting like suck a jerk.
by ninalanyon | 2026-01-03 15:58:50+00:00
I did a C# module online run by a Norwegian University. It was worth 6 points, 180 grants you a bachelor's degree in Norway (or did, I think there have been changes since). The course ran over ten weeks and there were weekly assignments. Of course it would have been easy to cheat on those but there would be no point because there was a five hour invigilated open book exam at the end of the course. Had to go to a testing centre about 35 km away to take the exam but that really wasn't a great inconvenience. If I had wanted to pursue a whole degree then I would have had 30 such exams, roughly one a month if you do the degree over the traditional three years. That doesn't seem like overkill to me, it's a lot less effort than attending lectures and tutorials for three years as I did for my Applied Physics degree.
by bicepjai | 2026-01-03 15:59:06+00:00
There are peptide raves ?
“Gray-market peptides have flooded some corners of the tech scene recently, showing up in hacker houses, start-up offices and even “peptide raves” sponsored by suppliers”

So now AI researchers are peptide junkies ?
“In the backyard of a San Francisco Victorian, tech workers in their 20s and 30s chatted … One artificial intelligence founder mentioned buying cheap drugs directly from Chinese manufacturers. A group … share their own sources for the medication they use for weight loss, productivity, and fitness”

“People are trying BPC-157 and TB-500 for healing injuries by stimulating new blood vessel growth, oxytocin for improving eye contact (one OpenAI researcher called it “Ozempic for autism”),”

I understand FDA takes time and the current FDA trying to cancel Tylenol I crazy. But injecting substances from china in the name for growth hack sounds crazy.
by krapp | 2026-01-03 15:59:12+00:00
Mainstream news often involves tech too, so even that isn't a hard and fast heuristic. And it's never been the case that "pure politics" is off topic for HN. Most of the time someone dies and an obituary thread is posted it's mainstream news as well, yet you'll be flagged into oblivion for pointing that out.

Here are some comments by dang clarifying the matter.

https://news.ycombinator.com/item?id=43142682

https://news.ycombinator.com/item?id=43272671

Who tf is Chad?
by LunaSea | 2026-01-03 15:59:17+00:00
Russia never cared about diplomacy and always wanted to regain the ex-USSR territories back.

This has been confirmed by various Russian declarations and maps.

The diplomatic issues are merely an official stance that is presented to convince the gullible. It's on you if you believe it.

You can look at Moldova, Georgia, Romania and Chechnya for other examples of Putin and Russia's imperialistic ambissions.
by kstenerud | 2026-01-03 15:59:28+00:00
Oh yes, I do understand what you're getting at. I'm willing to go a little off-script in order to make things safer. The NUL thing can be configured away if needed, but requires a conscious decision to do so.

Friction? yeah, but that's just how it's gonna be.

For the invalid Unicode and duplicate key handling, I'll offer no quarter. The needs of the many outweigh the needs of the few.

But I'll still say it's 1:1 because marketing.
Show HN: DeepShot – NBA Game Predictor with 70% Accuracy Using EWMA and XGBoost
by s4ccofrancesco | 2026-01-03 16:00:03+00:00
I built DeepShot to predict NBA game outcomes using machine learning and advanced rolling statistics.

The model scrapes historical data from Basketball Reference and uses Exponentially Weighted Moving Averages (EWMA) to capture recent team momentum and form. It's powered by XGBoost and achieves roughly 70% prediction accuracy.

The web interface (built with NiceGUI) lets you visualize upcoming matchups, see key statistical differences between teams, and get real-time predictions.

All data is free and public, and it runs locally across all platforms. The model training notebook is included if you want to retrain or experiment with the features.

Would love feedback on the approach or suggestions for improving accuracy!

Live demo: https://deepshot.onrender.com
by throw__away7391 | 2026-01-03 16:00:38+00:00
That's because the WWII generation who created these institutions and laid the groundwork for many of these change were still around for all that time. Around 2016 the last remaining members passed away. Now we have the boomers in charge and they are at long last able to enact all their fantasies without restraint in their final few years before they too pass.
by skywhopper | 2026-01-03 16:00:39+00:00
You should stop presuming that you know more about what’s needed than an entire field of business practice and study. There is actual theory behind accounting. Accountants understand that there can be different views on the same underlying data, and the system they continue to choose to use has a lot of benefits. You seem to be really stuck on the idea that the mental model accounting as a profession finds useful doesn’t seem useful to you. But it doesn’t need to make sense to you.
by givemeethekeys | 2026-01-03 16:00:42+00:00
I agree that the outcomes were largely how Americans wanted them, but
in the 80's and 90's we had plenty of big and little problems as a world:

- USSR vs. Afghanistan.

- The chaos after the collapse of the USSR

- Russia vs. Chechnya

- US interventions South America

- US in Somalia

- The Gulf War

How much of our upbringing was our limited media exposure?
by elktown | 2026-01-03 16:00:55+00:00
These threads makes it depressingly obvious how "might makes right" is the main underlying principle in the end - albeit periodically latent. Suddenly proportionality disappears and it's one of the worst regimes out there, a narco-state. Obviously unlawful actions is reported as "legally questionable" etc. It doesn't even matter that the current US administration is an unusually vulgar example of erratic, dishonest, and self-serving leadership.
by nosianu | 2026-01-03 16:01:02+00:00
Nobody "waved it away"?

What is at work is that you cannot treat it like electrical charges and say that the sum is neutral. What happens elsewhere is elsewhere. If you get sick, do you want to be sent home because the public health statistically educated doctor tells you that overall health has increased worldwide (just using it as an example, I make no statement about actual worldwide health)?
by MomsAVoxell | 2026-01-03 16:01:10+00:00
There is a groundswell of activity among the European populations to bring these conflicts to an end. It’s there, but you won’t see it in the nightly news, you have to actually get out there and talk to people.

I just completed a tour of Italy, through 9 cities, and everywhere I discussed these issues I found that people are just sick and tired of the US’ (and Israels) bullshit, and they want to start divesting from these nations activities. This may not be visible for a few more months or even years, but I do believe there will be political ramifications on the horizon that might give us a bit of hope.

Note, I live in middle Europe, and this is a sentiment shared here as well…
by newswangerd | 2026-01-03 16:01:23+00:00
Western auto makers are getting slaughtered by Chinese competition outside of the US (and maybe the EU? I don't know what the EU tariff situation is). I have a Chinese EV. It was half the price of an equivalent Tesla and better in every single way. Build quality and reliability have been excellent. I've driven 60,000 km with zero battery degradation.

It's just sort of amazing how badly the west dropped the ball on green tech. We're also working on importing an off grid solar system from china that will easily be a third of the price that we'd get from a US supplier.

One interesting thing that people don't realize with regards to the US tariffs is that a lot of goods flow through the US on their way to international markets. For a long time it has been easiest for us to buy stuff made in china from vendors such as Amazon in the US and have it shipped internationally from the US. Now with all of the tariffs we end up getting double tariffed for doing this (once when the goods enter the US and a second time when they ship to my country). As a result I'm seeing more and more people looking for ways to buy from China directly.
by sneak | 2026-01-03 16:01:50+00:00
Thanks for the completely off base psychoanalysis. You’re wrong.

I am simply tired of people pretending that using free software means that the author is owed a damn thing, even if you go and make a billion dollars with it. It doesn’t affect them one way or another what you do with something that they willingly chose to make no longer theirs. After releasing something as f/oss it shouldn’t even be called “yours” because you wrote it. After you choose to release it as free and open source, it is everyone’s software; it is no longer yours and the fact that you wrote it is now irrelevant.
by relaxing | 2026-01-03 16:01:56+00:00
> So removing non-white Hispanics from America would count?

Obviously that’s the argument put forth. Why phrase it as a question?

> What if the goal isn't to render the area ethnically homogenous?

A fair point, since a favorite argument of the regime and now protected legal doctrine is “the bad thing happened but it’s ok because we didn’t mean it like that”.

Except that doesn’t apply in this case since the goal is explicitly stated.
by instagib | 2026-01-03 16:02:04+00:00
Maybe worth its own post since this one got flagged. It’s well written albeit scary.

[one day, she accidentally doubled her dose.
“My hair started falling out after a month because I was malnourished,” Ms. Bowman said. “It made my heart rate go up 10 beats per minute at night.”
Still, she plans to keep going.]
by speakfreely | 2026-01-03 16:02:07+00:00
> which is what Trump wants after it was pretty much confirmed that he's a pedophile.

While there's no shortage of creepy anecdotes about Trump in what's been released, there's been nothing that comes close to showing he had sex with any underage girls, nor have any come forward to claim that.

> Bonus: honors the practice of a republican president invading a country under bullshit premises to capture oil. Bush I and II both did so.

People are missing the point here. This wasn't a regime change, this is psychological warfare against the ruling party to get them to be more compliant. And yes, of course it's all about oil.
by dolphinscorpion | 2026-01-03 16:02:07+00:00
"US Secretary of State Marco Rubio warned Venezuela that strong action would be taken if Guyana is invaded or an attack is launched on ExxonMobil's oil assets in the Stabroek Block."
https://www.spglobal.com/energy/en/news-research/latest-news...
Why take a chance?
by SilverElfin | 2026-01-03 16:02:08+00:00
Neither Trump nor the GOP cares about the stability of the country or the health of its citizens. They care about distracting from problems (Epstein, affordability, etc) and about how they can extract Venezuela’s oil and minerals so they can make billions off this theft

https://english.elpais.com/international/2025-12-22/oil-gold...
by DivingForGold | 2026-01-03 16:02:15+00:00
Maduro had been 'sword rattling" against Guyana for years threatening to invade and take this piece of real estate back. Exxon Mobil is developing massive finds in Guyana's offshore oil fields. Most likely US leaning "puppet" leader will be installed now, petroleum resources are now safe. Waiting to see what <weak> reaction Russia has. This action puts the other Latin american banana republics on notice if you are involved in smuggling poisons into the US you are going down.
by deng | 2026-01-03 16:02:22+00:00
> No, the side effect of NAT is that outbound connections made from your network look like they come from the router's WAN IP.

That's the primary function of NAT, not a side effect.

> It doesn't filter incoming traffic.

Of course it does, it drops any incoming traffic for which it cannot find a corresponding connection. How is this not a filter?

I know that internally these two are vastly different. The reality is that NAT is used as protection for millions of home networks.