MurphyA/hacker-news huggingface dataset:
by akopich | 2026-01-13 09:30:18+00:00
Yes! https://github.com/akopich/woid/blob/main/bench/plots/FunBen...

Here I wrap std::less<int> into different wrappers (and of them manage to do SBO) and feed it into std::sort. Unless std::sort does a ton of copies, this is predominantly down to function invocation, not instantiation/lifetime management.

There Woid is up to about 60% faster than std::function if it leverages the triviality of std::less<int>. The advantage goes to 30% if don't optimize for trivial types. And either of the wrappers considered are much slower than just using the lambda directly (see the Id "wrapper") as the type-erased wrappers inhibit inlining.

I also do the same bench, but with a "big" less<int>, so that std::function fails the SBO, there the gains go up to 2-2.5x. https://github.com/akopich/woid/blob/main/bench/plots/FunBen...
by johnvanommen | 2026-01-13 09:30:36+00:00
> I always thought it was hilarious that a company called Danger lost everybody's data. The connection to Microsoft only makes it better.

Cursed marketing.

Besides the fact that we didn't have any real money to promote phones at T-Mobile (and I think we were the only US carrier with the hiptop) -

Would you believe that the first hiptop came out the same week as 9/11?!

So it was this phone that was arguably two-ish years ahead of the iPhone, but nobody seemed to know it existed, until it got some traction via sheer word of mouth. Everyone who used the HipTop basically wouldn't go back to anything else at all. The HipTop had that 'addictive' quality that the iPhone had. It was nothing like the Blackberry, where people largely used it for a single killer app.
by 2b3a51 | 2026-01-13 09:30:52+00:00
Random thought: language seems to have evolved as part of social interactions to facilitate group dynamics in some way. So people will privilege linguistic 'transactions' with other people over some kind of formal development of an argument from evidence.

(Been reading some of Wojcieck Zurek's semi-pop articles on decohrerence, and he alway puts a paragraph about the evolution of language in and points out that our intuitions won't work well in the quantum domain).
by littlestymaar | 2026-01-13 09:31:35+00:00
> . But we have a pretty good model for free speech based on what is enforceable and popular enough to be accepted as policy.

Not at all. It's literally the opposite: what speech deserve free speech protection is definitionally a political topic (I don't mean partisan, but political in its definition under democratic institutions: something everyone has its own opinion on and that must be decided through democratic deliberation): and as such, laws around freedom of speech are very variable between countries. You say that Nazi deserve free speech protection, but German people overwhelmingly disagree with you, and you're not any righter than them.

> He then issued a blanket pardon of his own son after lying about his son taking bribes for years.

This has nothing to do with free speech. Hunter Biden is a crook and Biden pardoning him is a scandal, but it had nothing to do with the discussion at stake, at all!

> They then proceeded to prosecute Trump and everyone associated with him over J6

Come on, Jan the 6th was a coup attempt with police officers being killed in the process (blue lives don't always matter, it seems), of course he was prosecuted and it's a shame the Biden admin wasn't diligent enough in these prosecution.

I'm stopping here as it's now very clear I'm talking to a brainwashed dude and I'm not in the business of helping people escaping from cults.

I can only advise you to shut down the internet and seek help IRL.

Good day.

Closing note:

> I've never seen this even once. If you're talking about some protestor giving a statement while committing a crime (which can include, refusing to move when asked), then I don't care about that. You people are lucky that Trump isn't the fascist you imagine he is.

https://m.youtube.com/watch?v=asokhLApFc8

(6 days ago, this has gained plenty of international coverage, as it deserves)

Now you have, and you will never be able to say you haven't, without lying.
by ndsipa_pomu | 2026-01-13 09:32:05+00:00
> Maybe, but those claims have yet to be shown in the real world.

They surely have as Waymo have a much better safety record than Tesla and that's even with Tesla hiding and obscuring their crash data - probably outright lying about most crashes if Musk has any input to their processes.

The big advantage of Lidar is that it can easily pick out obstructions and that's a good ability for a driver to have, whereas Teslas can get fooled by shadows etc. It seems obvious to me that having cameras and Lidar allows for much better analysis of traffic and pedestrians.
by imtringued | 2026-01-13 09:33:29+00:00
Uhm, no? There is barely enough space for Rust, which happens to have a unique feature/value proposition that raises it above the vast majority of its competitors. If you're fine with UB or memory unsafe code, then you go with C simply because its deeply entrenched.

In that sense Zen-C changed too many things at once for no good reason. If it was just C with defer, there would have been an opportunity to include defer in the next release of the C standard.
by defrost | 2026-01-13 09:33:43+00:00
> and for any Speech or Debate in either House, they shall not be questioned in any other Place.

That one reads more like "all questions about their activities must be asked in the House and no where else",

which is politically more like an open, transparent, on the record clause (no off the record Q&A's over What'sApp and Telegraph).

Elsewhere, in Commonwealth countries, they have https://en.wikipedia.org/wiki/Hansard recording all debates and questions.

Always fun transcoding the meaning of language over time.
by aebtebeten | 2026-01-13 09:34:09+00:00
Ha! I think the late soviet D'Artagnan may have been a bit thirstier:

With the beauty and the goblet, with the lucky blade
While while while we swing the feathers on our hats

The answer to "What do we want to drink?" is obviously "Greek Wine"! https://www.youtube.com/watch?v=lU2uKnFIhRY

Ja, ja, hab's gesehen, aber no besser ist: Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative

Fun Fact: NL actually has an "Animals Party"

„Wenn Politiker nur noch Satire machen, müssen wir Satiriker wohl Politik machen.“ (I'd argue for a US version, but it'd be difficult to beat https://www.youtube.com/watch?v=C-VglGOKR3E )

Aha, not just a flag; they have DPRK-Pop in their playlist. "Korea Does What It Is Determined To Do" ... Kim needs to diss Trump for biting his flow.

(one of my big fears is the trying everything else before thinking will lead to walking right into an Ems dispatch; as long as MAGA really had been isolationist that was much less of a worry)

Nuanced anecdote?

A MAGA hat wearer laughs three times:

1) when the joke is first repeated
2) when it has been explained
3) when they finally get it

An R member of congress laughs twice:

1) when the joke is first repeated
2) when it has been explained, and everyone else is laughing

An ICE officer only laughs once:

1) when he detains the one who first repeats it

A Besserwesser doesn't laugh at all:

- they say they've heard this one before, and anyway their guy did it better — at least he had a plan
by joe_mamba | 2026-01-13 09:34:38+00:00
>Is android really iOSs competition ?

It ISN'T in this day and age. People don't switch around between iOS and Android like it's still 2010. They use whatever they got locken in initially since their first smartphone or where Apple's green/blue-bubble issue pushed them to or what their family handed them down.

People who've been using iOS for 6+ years will 98% stick to iOS for their next purchase and won't even bother look at Android no matter what features Android were to add.

There's no competition anymore, it's just a duopoly of vendor lock-ins.
Show HN: QPost – Free tool for automating YouTube/TikTok/Instagram video posting
by arslan2012 | 2026-01-13 09:34:39+00:00
I’ve been experimenting with AI-generated “slop” videos — short, automated content for YouTube Shorts, TikTok, and Instagram Reels.

Posting them manually was a nightmare, and every content management platform I tried was either absurdly expensive or locked behind enterprise pricing.

So I built QPost, a free tool to schedule and automatically publish videos across multiple platforms, straight from a dashboard or API.

Why it matters:

Even small creators or devs experimenting with AI-generated content can waste hours every week just uploading videos and filling in titles, descriptions, and hashtags. I wanted something that could actually scale without costing hundreds per month.

How it works (short version):

Multi-platform scheduling and automated publishing

Platform-specific metadata handling (titles, captions, hashtags)

Simple REST API for integration into scripts or workflows

The tricky part (why it took so long):

Every platform has its own quirks: TikTok’s creator API, YouTube’s OAuth scopes, Instagram’s Graph API. OAuth verification alone took months.
I also had to migrate from Vercel to a $6/month Digital Ocean droplet because of video size limits and cron job costs.

Tech stack (if you care):
Astro + React frontend, Node.js backend, Prisma + PostgreSQL, Google Cloud Storage, node-cron for scheduled publishing.

I’m curious how other devs automate multi-platform video posting, especially AI-generated content.
Any tips for scaling this, or clever ways to handle platform quirks? Would love to hear your approaches.
by gsf_emergency_6 | 2026-01-13 09:35:27+00:00
Title needs a "Progressive" in front of "Parties"

Hope the page is dead and unarchived not because WS has spoken the unspeakable. Rather, it looks like further editing might have been needed:

>Because liberalism prioritizes individual rights and institutional boundaries that "constrain the will of the people," it is frequently attacked by populist movements that view these constraints as barriers to true democratic expression.

Thanks Goog! (And PH,WS, ofc) You might just be the antihero liberalism needs!
by hnarn | 2026-01-13 09:37:00+00:00
> So I got married first and got a Dog later, right?

No. In one reality, you got married with no dog, and in another reality you got a dog and didn't marry. Then you merged those two realities into P.

Going "back in time to commit D" is already incorrect phrasing, because you're implying linear history where one does not exist. It's more like you're switching to an alternate past.
by pazimzadeh | 2026-01-13 09:38:15+00:00
> There's no evidence that foreign powers are behind these protests

Depends how stringently you mean that.

Earlier this year Israel attacked Iran with the stated intent of helping the people with regime change.

The mossad stated they have agents acting in the field. https://www.jpost.com/middle-east/iran-news/article-881733

The whole reason for doing sanctions was to get to this point, too.

If you're trying to say that the vast majority of citizens aren't taking orders from foreign powers, then sure.

But "no evidence that foreign powers are behind these protests" is a pretty extreme thing to say
by mort96 | 2026-01-13 09:38:38+00:00
I don't feel it necessary to take matters into my own hands. If you read my original message again:

> Either my game has to resample from 44.1kHz to 48kHz
> before sending it to the system, or the system
> sound mixer needs to resample it to 48kHz, or the
> system sound mixer needs to resample the other software
> from 48kHz to 44.1kHz

I expressed no preference with regard to those 3. I was outlining the theoretically possible options, to illustrate that there is no way to avoid resampling.
by anthk | 2026-01-13 09:39:17+00:00
Add a limit on catching (requests per second); if not, tons of Gopher servers will kick me out fast by syncing most phlogs in batch mode :)

Also, there's no way to reuse w3mimgdisplay in the same way w3m works for the web?

Finally, I can't find a way to display images with 256 colours by default even if the TERM
variable it's set to xterm-256color .

And, no, I can't use sixels by default under OpenBSD's xterm. Sixel and maybe tektroniks support are disabled at build time.
by BrandoElFollito | 2026-01-13 09:39:26+00:00
I am not sure what you are after, to be honest.

Restic is fantastic. And restic is complicated for someone who is not technical.

So there is a need to have something that works, even not in an optimal way, that saves people data.

Are you saying that Time Machine doe snot backup data correctly? But then there are other services that do.

Restic is not for the everyday Joe.

And to your point about "ignorant people" - it is as I was saying that you are an ignorant person because you do not create your own medicine, or produce your own electricity, or paint your own paintings, or build your own car. For a biochemist specializing in pharma (or Walt in Breaking Bad :)) you are an ignorant person unable to do the basic stuff: synthetizing paracetamol. It is a piece of cake.
by joe_mamba | 2026-01-13 09:39:47+00:00
>The reason right-wing political violence is more talked about in the EU is also rather simple: It is much more prevalent.

Ah yes, data of left wing government in power shows that the big problem is crime of their growing right wing opposition.

100% trustworthy and unbiased of them.

Just like to UK government denying grooming gangs were not real until they couldn't hide it anymore.
by arseniibr | 2026-01-13 09:39:57+00:00
OP here.
One of the annoying edge cases I hit was handling "Zip Bombs" in PyTorch files (since .pt is just a zip). Had to implement a stream reader with strict memory limits to prevent the scanner itself from OOMing on malicious archives.

Also, the "Identity Check" was tricky because people often rename files locally (e.g., model.bin instead of pytorch_model.bin). The tool now queries the HF API to find if any file in the repo matches the local hash, rather than just relying on the filename.
Happy to answer any questions!
by cousin_it | 2026-01-13 09:39:57+00:00
Maybe I'm old, but I still think a repository should be a repository: sitting on a server somewhere, receiving clean commits with well written messages, running CI. And a local copy should be a local copy: sitting on my machine, allowing me to make changes willy-nilly, and then clean them up for review and commit. That's just a different set of operations. There's no reason a local copy should have the exact same implementation as a repository, git made a wrong turn in this, let's just admit it.
by lxgr | 2026-01-13 09:40:42+00:00
Lately, they've arguably been starting from their own priorities (i.e. pushing and protecting their "services" revenue at all cost) and working backwards to an acceptable user experience from there.

> Its wealth is also built on starting with user problems and then working backwards to the technology, versus embracing whatever's hot and trying to shove it down our throats.

Then again, remember millimeterwave? But yes, as a general rule I think your point still stands.
by pjc50 | 2026-01-13 09:40:56+00:00
And people wonder why Mamdani won, despite a massive propaganda campaign. There's a real demand for anti-corruption candidates, and occasionally it's possible to find someone who actually is, rather than simply an even worse grifter with better propaganda.

Note that the Trump administration exceptionally cancelled the prosecution of Adams for previous offences, enabling new offences: https://www.bbc.co.uk/news/articles/c74nl3120k4o
by the_other | 2026-01-13 09:41:35+00:00
> is that a definition of schizophrenia?

In my limited experience interacting with someone struggling with schizophrenia, it would seem not. They were often resistant to new information and strongly guided by decisions or ideas they'd held for a long time. It was part of the problem (as I saw it, from my position as a friend). I couldn't talk them out of ideas that were obviously (to me) going to lead them towards worse and more paranoid thought patterns & behaviour.
by embedding-shape | 2026-01-13 09:41:53+00:00
> The response is often hesitation or outright fear. I get it. Rebase has a reputation for destroying work, and the warnings you see online don’t help.

The best method for stop being terrified of destructive operations in git when I first learned it, was literally "cp -r $original-repo $new-test-repo && go-to-town". Don't know what will happen when you run `git checkout -- $file` or whatever? Copy the entire directory, run the command, look at what happens, then decide if you want to run that in your "real" repository.

Sound stupid maybe, but if it works, it works. Been using git for something like a decade now, and I'm no longer afraid of destructive git operations :)
by fghorow | 2026-01-13 09:43:19+00:00
I just did a BOTE calculation for my iPhone (A17 Pro chip; GPU rated at 4 Tflops). According to the sales blurbage in TFA, the Cray 1 performed at 80 Mflops. (Yes, that is OBVIOUSLY not comparing apples to Apples -- pun intended). Unless I've dropped a decimal point, my iPhone is (capable of) 50,000 times the floating point speed of a Cray 1.

In my back pocket. To watch cat videos.
by darkwater | 2026-01-13 09:44:27+00:00
Yes but... aren't human researchers doing the same? They are mostly wrong most of the times, and try again, and verify again their work, until they find something that actually works.
What I mean is that this "in hindsight" test would be biased by being in hindsight, because we know already the answer so we would discard the LLM answer as just randomly generated. But "connecting the dots" is basically doing a lot try and error in your mind, emitting only the results that make at least some kind of sense to us.
by naishoya | 2026-01-13 09:44:44+00:00
>The simple and straightforward electromechanical mechanisms we used for three centuries before integrated circuits

Lets see, 2026 minus 300 is 1726. No electronics, analog or digital back then at all. Not even gas powered streetlights.

Did you mean, three decades ago? That was 1996... so no, it was pretty much digitally controlled, even at the 'washing machine and toaster oven' level.

By 1976 Motorola and Advanced Semiconductor Materials were both in full production. Intel and Microchip Technologies, which was where the 'chips controlling appliances' movement really began as a spin-off from General Instrument's microelectronics division, were online by 1986.

Yes, much more can and should be done to improve and refine the wasteful consumerism treadmill that is central to US industry, but it is not a fundamental need to drive this improvement via cheering the loss and destruction of modern semiconductor manufacturing global capacity. Perhaps you are just repeating some misinformed "it will be better after we finish breaking everything" rhetoric.
The rest of us need to do whatever we can to keep this uninformed point of view from 'catching' in yet another corner.

You are more than welcome go back to washing your own laundry in a wringer bucket and storing winter ice in a shed for summertime cooling. So, kindly run along, log off and dream about the good old days in the shade of a waning empire.
Show HN: I built an OSHA compliance SaaS for oilfields using only LLMs
by jaycobski | 2026-01-13 09:44:48+00:00
I’m a marketer (6 years in SaaS) who spent the last year learning to build software using purely AI assistance ("vibe coding"). I just shipped my first production app for the Oil & Gas industry.

The Product
BasinCheck (https://basincheck.com) replaces the clipboard/Excel workflow for Safety Managers in the Permian Basin. It handles offline audits, hot work permits, and automates OSHA 300 logs.

The Stack

Next.js (App Router): Monorepo setup lets me spin out features as standalone free tools for SEO/lead gen.

Supabase: The path of least resistance for backend/auth.

Resend: For all transactional/marketing emails.

Stripe: Stuck with the standard despite the Polar/Lemon Squeezy hype. The SDK coverage made it easier for LLMs to generate reliable integration code.

AI: Used for parsing incident descriptions to suggest OSHA codes.
Hard rule: AI is read-only/suggestion mode. A human (Safety/HSE manager) must approve every classification.

The "Vibe Coding" Reality Check

The biggest lesson so far: AI leaves logic gaps.
I asked the AI to "alert me on new signups," which it did—for email/password forms. I missed my first real user for 5 days because the AI didn't intuitively know to hook those same alerts into the Google OAuth callback.

Fix: Moved logic from client-side to Postgres triggers on auth.users to catch everything at the DB level.

Happy to answer questions on the prompting workflow or the "boring" industrial tech stack.
by DrBazza | 2026-01-13 09:44:55+00:00
The American shopping experience is weird as well. There's a spectrum of supermarkets.

Versus the UK, any US supermarket I've ever visited (I lived there for a couple of years) seemed to have far less fresh food, especially vegetables and fruit, but stuff in boxes was piled high.

Then again, the UK vs. Spain or France is weird, by the same metric, they have even more fresh food than us in supermarkets, and much less boxed stuff.

Geography and having continent sized country probably doesn't help either.
by hnarn | 2026-01-13 09:45:48+00:00
I don't really agree that it's harder to reason over in the sense that it's hard to understand the consequences, but I also agree that a linear history is superior for troubleshooting, just like another comment pointed out that single squashed commits onto a main branch makes it easier to troubleshoot because you go from a working state to a non-working state between two commits.
by ratchetclank | 2026-01-13 09:46:12+00:00
I never understood why rebase is such a staple in the git world. For me "loosing" historical data, like on which branch my work was done is a real issue.

In the same class, for commit to not have on which branch they were created as a metadata is a rel painpoint. It always a mess to find what commit were done for what global feature/bugfix in a global gitflow process...

I'll probably be looking into adding an commit auto suffix message with the current branch in the text, but it will only work for me, not any contributors...
by joe_mamba | 2026-01-13 09:46:44+00:00
If you're open to being mobile right now you might consider relocating to work in the EE industry of Linz, Villach or Graz in Austria or the aerospace/defence industry Toulouse in France.

Someone with your experience wouldn't earn much less there and you'd have much lower housing CoL than the big capital cities in southern Germany, and better food and weather.
by toyg | 2026-01-13 09:46:59+00:00
> a desktop PC would be more cost-effective and more performant.

But ugly and taking up space, which is why the iMac exists and has been pretty successful for decades at this point.

> If you need mobility between desks, a small form factor PC would be easier

Maybe, but performant AR glasses are changing that equation. The cyberdeck, as an ideal, still exists for a reason.

> if you are an employer and expect employees to work from home on this keyboard, you need to buy monitors for their homes.

Do you? Is that law where you live? Because it's definitely not here in UK. I'd rather work on my trusty 4k than some shitty cheapo Dell only provided to tick a box.