MurphyA/hacker-news huggingface dataset:
by rsynnott | 2026-01-10 12:18:30+00:00
I mean, this is a popular talking point, but in real life BYD's sales are dramatically smaller than VW AG's in Europe. They're even smaller than Geely's (another Chinese manufacturer): https://eu-evs.com/marketShare/ALL/Groups/Bar/All-time-by-Qu...

BYD are huge in _China_, and in some other parts of the world, and they are growing in Europe, but the media focus on them is slightly excessive.
by g947o | 2026-01-10 12:20:27+00:00
Less than five minutes to read but how long to set up my own? The author only showed what he needs/prefers ("Here is my config for starship"). I'll need to navigate the documentation of starship to figure out all those options, which defeats the purpose. Their config documentation (https://starship.rs/config/) already gives me headaches.

And from the article

> Because cloud services are available globally, I've disabled them.

That's some bad defaults right there.

> When you run a command, it also shows how long it took to execute.

No I absolutely don't want this thing done by the author. Now I am fully in the "customize my config" territory.

Also, most of us are unlike the author, and 0.07s vs 0.38s startup time means no difference.

I think the point of the previous comment has been more than clear enough.
by troad | 2026-01-10 12:20:36+00:00
Are you seriously suggesting there are no downsides to regulation? That there are no trade offs?

Honestly, there are too many to list.

Starting a business in Europe often requires a 'trade licence'. A trade licence is paid for. Being self-employed required one to register with the ministry that governs social security and health insurance, and to pay "minimum rates" of health insurance that were thousands of euro, before one has even made one cent of profit (the rates increase from there). The paperwork is deeply byzantine. For social security and health insurance, you generally have to file quarterly returns. All of this is before you do even anything with your business at all, which generally requires even more paperwork and approvals.

It's no less baroque for individuals. Signing up for gas and power in my rental apartment required a power of attorney (!). Moving to a new apartment required that I report my new address to the ministry of interior. I was required to carry a mandatory personal ID card with me (as a citizen!). Registering a new address with the ministry of interior required me to get a court certified copy of the lease I had with my landlord, and getting court certified copies itself was a paid service.

Literally everyone wants your address for virtually any service. Often they want your government ID number. There is effectively far less privacy in Europe than I've ever experienced. Every legal notice or form is phrased as a series of threats.

I'm eliding a lot of other madness here, such as the process of my partner applying for a visa, which was such an omnishambles that I would probably exceed HN max comment length if I were to describe it in any detail.

This is just a very small selection of the sort of things that Europeans think are normal, but which do not exist anywhere else in the world. This is not normal.

When it came time to start my business I simply left Europe, being lucky enough to be able to go home. There are sane regulatory environments, and much of Europe is not generally in that category.
by bonesss | 2026-01-10 12:20:48+00:00
To me ending at 0:55 is a million times more logical than starting at 0:05… and if there was an issue then rolling back to 0:50, or 0:45, or whatever it takes for honest accounting and/or meeting discipline to emerge.

Decades ago at an engineering firm I worked for it was baked into the groupware settings.

The smelly basement nerd running IT seemed normal back then, but here are in 2026… Turns out he was an unsung smelly genius ahead of his time. A giant among men who bathe.
by teamonkey | 2026-01-10 12:22:07+00:00
I want Teams to show me the dollar cost of meetings. Enter an approximation of the average salary for people involved in the meeting, multiplied by the number of people in the meeting, and broadcast the cost ticking up every second to every person in the meeting.

I don’t think anything else will be ans effective at reducing the number of meetings, reducing the length of meetings and reducing the number of people who are late to meetings.
by arter45 | 2026-01-10 12:22:22+00:00
>But building this taught me something that I think about constantly: technical correctness is worthless if you’re solving the wrong problem.

>You can write perfect code. You can build flawless systems. You can optimize the sh*t out of your cost function. And you can still end up with something that sucks.

>The important part isn’t the optimization algorithm. The important part is figuring out what you should be optimizing for in the first place.

>Most of the time, we don’t even ask that question. We just optimize for whatever’s easy to measure and hope it works out.

>Spoiler: it probably doesn’t.

As tech people, it's kinda hard to admit it, but it's totally correct. Sometimes you actually have to optimize for X, sometimes you don't. It's totally ok to optimize stuff just for passion or to try out new stuff, but if you expect external validation you should do this for things people actually care about.

As an aside, this is also related to the way random companies carry out technical interviews, cargo-culting FAANG practices.

FAANGs tend to care about optimizing a lot of stuff, because when you have billions of customers even the smallest things can pile up a lot of money.

If you are a random company, even a random tech company, in many domains you can go a long way with minimal tuning before you have to turn to crazy optimization tricks.

For example, one day has almost 100k seconds, so if you have 100k daily requests (which is still a lot!), even if you have 10x peaks during the day, you are most likely getting <= 10 requests per second. It's not that much.
by throwaway2037 | 2026-01-10 12:22:42+00:00
I'm only proposing to build enough units such that house prices rise at the rate of general inflation or slower. In many highly developed, capitalist systems, their housing prices barely budge in a generation when accounting for general inflation. This is done though careful regional planning. This business of "housing as investment" (for normies) is awful and greatly harms renters.
by ChrisMarshallNY | 2026-01-10 12:23:03+00:00
I'm fortunate, in that I participate in an "extracurricular" organization, in which we constantly tell each other our stories.

Most are damn interesting. People pay money, for fiction, that isn't as interesting as the stories I hear, almost daily, from the folks that lived them.

It's interesting, when someone talks about how he was shot, then pulls up his shirt, to show you the scar.

> "War talk by men who have been in a war is always interesting; whereas moon talk by a poet who has not been in the moon is likely to be dull."

- Mark Twain
by red75prime | 2026-01-10 12:23:04+00:00
Illusion of transparency. You are imagining yourself asking this question, while standing in the gym and looking at the bar (or something like this). I, for example, have no idea how the weights are attached and which removal actions are allowed.

Yeah, LLMs have a tendency to run with some interpretation of a question without asking follow-up questions. Probably, it's a consequence of RLHFing them in that way.
by throwaway2037 | 2026-01-10 12:25:05+00:00
Many people overlook the effect of 30 years of general inflation on their outstanding mortgage debt. Also, most people's income rises as they age, so the monthly payment becomes proportionally smaller. If you buy around 30-35 (and many in the US, outside of crazy areas, buy much younger), then their income will rise for long periods of their mortgage.
by ben_w | 2026-01-10 12:25:14+00:00
A convicted criminal who is also in the middle of a simultaneous scandal involving his relationship with Epstein and his administration's failure to release all the Epstein files as ordered.

While the owner of X also keeps spreading stories suggesting the UK isn't doing enough to stop exactly the sort of thing that X is now taking money for, and who has previously said that aforementioned convicted criminal is in the Epstein files in a particularly bad way.
by brnt | 2026-01-10 12:26:01+00:00
> Even some government apps in the EU

The Dutch ID app got rid of all trackers and such requirements last year, but they didn't go the full length and made an F-droid repo (or a government store or sth).

Google actively guiding developers to APIs like the Play Integrity API (which requires not only you register the phone with Google on a Google account, but also an untampered device, outdated or not.

I don't even root my devices, just using something like Lineage already gets you the basic-integrity Max. Not enough for many banking apps.
by bloomingeek | 2026-01-10 12:26:11+00:00
<If they should be motivated by doing the decent thing, why mention tenfold praise?>

Not that most corporations care, being trashed for decisions that hurt their consumers is run of the mill these days. Companies that get praise from their customers tend to stay in business and sell lots of product.

<I don't see why not. They see that good behavior gives a better outcome. They'll do good behavior in the future.>

Reluctantly improving means they were either going to or already screwed their customers. Companies that admit mistakes are praised. To think that a company who is called out will in the future continue to do good for consumer decisions is a little naive.
by zozbot234 | 2026-01-10 12:26:49+00:00
Yes, if the theorem statement itself is "hard to formalize" even given our current tools, formal foundations etc. for this task, this suggests that the underlying math itself is still half-baked in some sense, and could be improved to better capture the concepts we're interested in. Much of analysis-heavy math is in that boat at present, compared to algebra.
Show HN: Schema Gateway v0.1 – type-safe API gateway with metrics
by iCeGaming | 2026-01-10 12:27:21+00:00
Hi HN!

A few weeks ago I shared Schema Gateway, a small API gateway I built to enforce type-safe APIs with schema-driven routing and validation. At the time, it was mainly about reducing boilerplate and keeping strong API contracts across microservices.

Since then, I hit a wall in debugging issues in production—even with type safety, requests were failing silently or services were misbehaving. That forced me to build full metrics and observability, so now the gateway exposes:

Request/response counts by endpoint

Validation failures per service

Latency and error tracking for each route

The v0.1 release also formalizes the schema-driven design into a stable package. The goal is still the same: let the schema define the API surface, not handwritten validators, but now you can actually see what’s happening in real time.

Some lessons learned along the way:

Type safety is not enough – without metrics, bugs in downstream services can silently break your API contracts.

Observability + schema-first is surprisingly lightweight – you can automatically generate dashboards without extra code in your services.

Schema-first helps enforce contracts – but real confidence comes from seeing traffic and failures in production.

Repo & docs: https://github.com/AncientiCe/schema-gateway

I’d love feedback on:

API patterns you’ve found useful for schema-driven systems

Approaches to lightweight observability in microservices

Pitfalls I might not have noticed

Thanks for checking it out!
by upofadown | 2026-01-10 12:27:43+00:00
For me the solution to subpixel issues with tiny fonts is to not do subpixels. I have been looking at bitmapped fonts my whole life so I don't see any reason to give up all that perceptual context.

Which is why I ended up buying a replacement 24" 1920x1080 recently. I needed pixels large enough to distinguish with my fave small font. If I want more pixels at once on the screen I need a larger screen.
by rcxdude | 2026-01-10 12:27:48+00:00
Nothing prevents you from attaching your async code to a high-priority interrupt (you will need to be careful about synchronization, but no more so than in a regular RTOS). You can 100% do this kind of thing, and you'll probably get better latencies as well.

(interrupt queuing and prioritization can be handled by the hardware nowadays. RTIC, a similar project, uses this to drop the need for a scheduler altogether and just runs all code in interrupt handlers, something which 'traditional' realtime wisdom would forbid because it's from an era where you didn't have something like an NVIC.)
by surgical_fire | 2026-01-10 12:28:01+00:00
> Which part of "bribe the government"

I read it.

I just interpreted as "government icky" rhetoric that is very common around here.

Corruption is a tool of any power structure. Gesturing vaguely towards it to invalidate any societal initiative is not an argument, it is just bad-faith whinging.

"Why build roads? The government can be bribed"

"Why trust the courts? The government can be bribed"

"Wefare? The government can be bribed"
by pamcake | 2026-01-10 12:28:07+00:00
There is a middle ground of running it on a Heroku-style PaaS hosting for example Docker containers. No Next.js. Don't go for the complexity of kubernetes unless you really know you want it or need it.

This way you get away from the vendor lock-in. You should be able to migrate providers in the future without too much work and have a clear path towards hosting on a VPS or your own servers when you get enough traffic to warrant it.

Effective cost should probably fall somewhere in the middle, too.

But you won't have to deal with most of the ops headache that comes with the VPS approach: OS updates, firewalls, filesystems, startup orchestration, log fike rotation, etc.
by scrollaway | 2026-01-10 12:29:11+00:00
You're in complete denial. The most famous dictatorship of the previous century was also democratically elected. Take a step back and look at where your country is at:

- Sitting president controls all branches of the government including the supreme court

- State-controlled TV media and propaganda channels through state-controlled social media

- US rubbing shoulders with other autocrats & dictators, and now part of the UN voting block with north korea / syria / eritrea / russia / etc

- President threatening members of the opposing parties of arrest under treason charges

- USA kidnapped another country's leader, because of their oil (ZERO pretense)

- USA currently threatening to seize land from a sovereign EU nation with pro-MAGAs justifying it at every step

- Did you already forget that your sitting president attempted a coup or what?

I just picked some obvious ones, but the list is long. Devin Stone made a good video about it a month ago (https://www.youtube.com/watch?v=zn-rkKIMNAs)

Hyperbole? Gimme a break. The rest of the world is watching and knows you're deep in it now. Just because it was not immediately a dictatorship in his first term doesn't mean it hasn't progressed and gotten worse ever since - You're still living in 2015.
by yokljo | 2026-01-10 12:29:55+00:00
I stopped doing these years ago, but apparently I've posted 370 Dweets!

Pretty happy with this one:
https://www.dwitter.net/d/7421

It's always fun just spending 10 minutes slamming together some trig functions and see what appears on the screen.

https://www.dwitter.net/d/12850
by heraldgeezer | 2026-01-10 12:30:22+00:00
Hi LucasRW! Just wanted to comment on this.

Elon?

How is this Elons fault?

Starlink is the only way to get internet in Iran.

X have clips and videos posted as the few social networks that have it. This content is not suitable for instagram or facebook.

SVT (my swedish news) have had segments on this with reporters, not in the country, but she is in Lebanon. She is arab biased, but they are reporting on it.

Asmongold (worlds largest youtuber right now and an Elon fan) is one of the few having long 45min-2h segments about the Iran protests on his stream right now?

But you are so blind your kneejerk reaction is to blame Elon Musk lmao

https://www.youtube.com/watch?v=v61Md-uIYQg
by tankenmate | 2026-01-10 12:31:44+00:00
"The EU is more of a threat to itself than Russia is"; it can be easily argued that this is only the case if democracy has little value because in Russia democracy does indeed have little value (let alone life, etc).

"Democracy is the worst form of Government except for all those other forms that have been tried from time to time"

So the EU and the EC are big lumbering organisation that make poor decisions; but then people make poor decisions day in day out. But just because you *feel* disaffected doesn't mean the system is inherently wrong (unless of course you believe that politics' primary, if not only, purpose is to make you "feel good(tm)").

It's probably far more accurate to say that wealth inequality is the EU's biggest threat and that "the elites" (which is more than just senior politicians and bureaucrats) don't feel the pain of inequality and so aren't internally motivated to do much about it (culture eats strategy for breakfast, etc etc).
by Carl_CALEA | 2026-01-10 12:32:16+00:00
Hi HN, I’m the author.

I built CALEA because I was frustrated with the constant context-switching required to test modern applications: writing Pytest tests, configuring Selenium, running OWASP ZAP via Docker, checking Lighthouse, and more.

CALEA is a desktop application (packaged with Nuitka) that acts as an autonomous agent. You give it a high-level goal — for example, “Audit the security of this API” — and it orchestrates the underlying tools to generate reports.

Under the hood, the stack is based on Python 3.11, with FastAPI handling internal asynchronous logic and PyWebview used for the UI. The architecture relies on the Model Context Protocol (MCP) to expose local tools such as the file system, terminal, and browser to the LLM.

On the AI side, CALEA supports cloud models like GPT-4 and Claude, but it is optimized for local execution via Ollama for privacy reasons — Qwen 2.5 being my personal favorite.

It’s a paid product, built as a bootstrapped solo project, but there’s a 7-day free trial (no card required) for anyone who wants to try it out. I’d love to hear your feedback, whether on the architecture or the tool itself.
by likesdislikes | 2026-01-10 12:32:41+00:00
The best part about these sorts of problems is learning about heuristics. I spent years as a self-taught developer without using heuristics, and once I got the opportunity to use them, it made so many things make more sense, like why do Mathematicians and Physicists take shortcuts instead of doing all the work to do the problem correctly? Because you reduce time by limiting complexity! Big O notation never resonated with me, but I can look at loops, recursion, and just think about problems and say “That will take too long.” With heuristics, you eliminate that. It was eye-opening.

So, good for the author that they spent the time to learn path optimization. Now onto 3D bin packing!
by vladvasiliu | 2026-01-10 12:34:03+00:00
Well, the PM isn't exactly the status quo, I wasn't replying to that. Rather, I was responding to this specific bit, emphasis mine:

> You should not be able to gain a position of power and then go on a crowded stage to claim that vaccines cause autism. This is intolerable. We are attacking the foundations of society.

Not sure when the strawman is. "The foundations of society", for me, means "the way things are". Which can be vaccines, sure, or any kind of general policy which has been showed to have a positive effect on society, but it can also be all kinds of things taken for granted which aren't necessarily rooted in reason.
by Nextgrid | 2026-01-10 12:35:09+00:00
> we are under daily attack from Russian accounts

We would go a long way if our communication platforms weren't intentionally amplifying the most controversial voices for the sake of maximizing ad revenue.

Back in the day the Russians needed to spend money to buy influence. Now they can just make their propaganda engaging enough and Western companies will happily host it and promote it for free.
by lostlogin | 2026-01-10 12:35:12+00:00
He took a very public approach to navigating that and while that would be on brand, it’s wild. He seem to have been directly communicating with Putin.

Disconnecting Ukraine at key points in battles would fit with the current administration’s flip flopping approach, but again he is at the front of it and on Twitter slagging off supposed American allies.

https://arstechnica.com/space/2024/10/why-is-elon-musk-talki...

This may all get weird again as the US seems to have blundered into conflict with Russia over Venezuela so maybe the Ukraine may see some support.
by microtonal | 2026-01-10 12:36:49+00:00
Get a phone that runs GrapheneOS (second-hand Pixel 7 or 8 will do fine). Run apps that do not require it without Google Play Services and run apps that do require Google Play Services with the sandboxed Google Play Services. That will constrain the data that can be collected a lot.

(Yes, there will still be issues if you use apps that require Google's remote attestation, but at least in Europe, many banks etc. do not require it.)
by balou23 | 2026-01-10 12:37:03+00:00
At some point there were LCD monitors that had very noticeable to me chequerboard pattern - like with analogue TV, only half of the screen got lit up/refreshed, but with an alternating pattern rather than scan lines.

After asking the owner of said screen how he could stand that... "stand what?"

Yep, I guess most people are not that picky.
by rdm_blackhole | 2026-01-10 12:37:32+00:00
I hear you.

It's frustrating really to have these conversations with people who will deny the reality this much.

Instead of using this opportunity to ask the questions that everyone should be asking, which are amongst others "how can we fix this mess?" , you end up with people who think you are simply attacking the EU for spite when it couldn't be further from the truth.

It's sad but not surprising and until that changes then nothing will change.

Europeans need to start being humble again and need to get to work otherwise then we shouldn't be surprised if the US squeezes us from one side while China out-innovates us from the other side. In the meantime the EU is debating if/when it should amend it's cookie law, I am not sure if I should laugh or cry at this point.
by adrianmsmith | 2026-01-10 12:37:36+00:00
Interesting. Yeah I did think maybe this could be solved by more tooling. But at my place it work it isn’t, at least at the moment. Perhaps I could change that.

Do you have any info on what I could use to make the command-line “git diff” and “git rebase” handle this style of formatting? Ideally so the latter merges and produces code which matches “gofmt” output?

On the other hand I suppose my point is that even if there were such tooling, using style of formatting doesn’t offer enough (any?) benefit to justify the effort of introducing the tooling.
by rkomorn | 2026-01-10 12:37:36+00:00
I think unstructured chat with colleagues is undervalued, though I also respect people who want no part of it.

At one place where we were remote, we had a morning daily (I don't care to argue the usefulness of dailies, though).

When I joined as an IC, I added an emphatically-optional 15 minute "coffee chat" meeting preceding it on the same video chat link. Most people pretty consistently joined at some point before the start of the daily. Sometimes chat was about work, most often, it was just social.

IMO, it was worth it. It was low friction because it was next to a scheduled meeting at a time where a morning beverage was reasonable, and people felt no pressure to join.