MurphyA/hacker-news huggingface dataset:
by zscreenshot | 2026-01-01 14:39:49+00:00
Thanks! Good questions on the edge cases.

For full-page captures, I'm using Chrome's native DevTools screenshot API (the same one you get with Cmd+Shift+P → "Capture full size screenshot"). So the behavior for sticky headers, lazy-loaded content, and dynamic pages essentially matches what DevTools does—both the benefits and limitations.

Sticky headers: Captured in their fixed position throughout the scroll, as DevTools does.

Lazy-loaded content: Depends on how Chrome's capture handles it. Generally works well for standard lazy loading, but infinite scroll or heavily JS-dependent dynamic content can be hit-or-miss. That's a Chrome limitation rather than something I can work around in the extension.

Dynamic resizing: The viewport setting works well here since it's part of the DevTools protocol. Pages render at the specified dimensions during capture.

For visible area captures (not full-page), I have more control and it's straightforward—basically a direct screenshot of what's rendered in the viewport.
Show HN: Merchant, a lightweight ecommerce back end on Cloudflare Workers
by burcs | 2026-01-01 14:40:32+00:00
Every time I had an idea for a small online shop, it felt harder than it should be. The tools were either big and expensive, or they locked you into their way of doing things.

I wanted something simpler. Something I could launch and manage myself. And to be 100% honest I wanted to prove it could be done.

All I really needed was an API that handled the boring parts of a store and then stayed out of the way. Products, inventory, carts, checkout, orders, etc...

So I built Merchant.

Merchant is an open-source e-commerce backend that runs on Cloudflare Workers. It uses D1 for the database and Stripe for payments. It supports outbound webhooks so it can be extended without much effort. There’s also an admin dashboard if you don’t want to manage everything through the API.

It’s still early and there are rough edges, shipping is basic, it only supports Stripe and it's fairly US-centric. I probably wouldn’t move your production store to it yet.

I’d love to hear what you think. What would make something like this useful to you?

https://github.com/ygwyg/merchant
by Loughla | 2026-01-01 14:40:36+00:00
You also don't have to do anything extreme. . .

If life is moving too fast, then make specific choices to slow down. Take up hiking or camping. Do things with your family if that's a valid option for you. Turn your phone off. Be mindful of your body and emotions.

Lots of small things that can help you slow down a little.
by unaindz | 2026-01-01 14:41:00+00:00
While technically true getting very close to failure is only useful if you don't need optimal results and lack the time to do more volume. The damage by going to failure will make high volumes maintained over time impossible.

Ideally you would leave 1-2 possible reps. I think it's important to train to failure to know your body and learn to gauge your reps to failure but other than that and very little time per week to train it's eventually counterproductive.

And if training with lower weights you tend to end very far from failure if just following a program without knowing what you are doing.
by sy4310 | 2026-01-01 14:42:02+00:00
Hi HN, I'm building an open-source guide for autonomous vehicle control, focused on simplicity and education.

I found that many existing simulators are amazing but sometimes too heavy when you just want to understand how those algorithms perform.

In this repo, I’ve implemented:

Sensing and Perception
Localization
Mapping
Path Planning and Tracking
Vehicle Control

It’s all in Python with minimal dependencies. I just reached 1,000+ stars and realized there is a real demand for "readable" implementations of these complex algorithms.

I’m now moving into a maintainer role and would love to hear your feedback on the code structure or what algorithms you'd like to see next.

Repo: https://github.com/ShisatoYano/AutonomousVehicleControlBegin...
by faitswulff | 2026-01-01 14:42:28+00:00
> I was always hunting for Pokémon with better abilities, better type coverage, analyzing synergy between moves… If you’ve ever played a mainline Pokémon game before, you must know how utterly unnecessary this is. Twenty years ago, I would have just powered through on Blastoise or Typhlosion alone.

I definitely beat the first Pokemon games with a level 100 Charizard. I even defeated gyms that were strong against fire types, often KO'ing Pokemon in one hit. The text would say "It's not very effective..." and then the opponent's health bar would drop to zero. So yeah, these games are easy enough that a 10yo can get by with twinking out a single pokemon. Makes the blog post even funnier
by IshKebab | 2026-01-01 14:42:41+00:00
Yeah definitely. YouTube doesn't get a cut from sponsor segments. They would much rather that the only way to make money for creators was through them.

I would not be entirely surprised if in future they launch an "official" sponsorship system where the sponsored section appears like an ad (you can't skip it without adblock/premium), they take a cut and require all videos to use it.

I bet the only reason they haven't (other than the open revolt it would cause) is that it would just push creators to blend their sponsorship into the entire video instead of having a nicely separated segment that you can easily skip.
by fortranfiend | 2026-01-01 14:42:54+00:00
Have some oe on something similar, we created two laptops that ran Linux to mimic something in our plant, the issue with them though was drivers, we got the bleeding edge and components like the network card and graphics card just didn't work for a month or two until new drivers came out. It was red hat from maybe 2020 time frame.

It could be that they chose something bleeding edge and the hardware drivers were built for windows but might be a couple revisions behind for the Linux equivalents. It could be the development cycle for windows vs that of Linux and how they integrate with new hardware. Just a hypothesis.
by TheOtherHobbes | 2026-01-01 14:43:05+00:00
Perhaps not, but I'm sure I'm not the only one who was vaguely favourable towards Israel before the invasion, and now, having watched what's been done in the name of "safety" with horror, considers the country a rogue far-right state run by corrupt criminals guilty of a very long list of crimes, just one of which was the creation of one of the most organised sex trafficking and sex abuse networks in recent history.

Quite the record.

But I don't see this as a specifically Jewish thing. There is clearly a cabal of extremely wealthy people who consider themselves above the law. The cabal includes factions of different ethnicities, and they seem to enjoy - and profit from - promoting nationalism and race hate and getting the peasants to wage war on each other.

We seem to be in one of the regular cycles where these crazies get out of control.

I'm sure it's all very entertaining. But no doubt modern PR and astroturfing techniques will make sure no one's opinion becomes so unfavourable that personal accountability becomes a real risk for these criminals.

Even so. It's really not a very satisfactory situation.
by wtcactus | 2026-01-01 14:43:28+00:00
C’mon. We don’t need to go to extremes. I accept that sometimes my child will be able to access content not previously vouched by me. It’s ok, as long as it is a short amount of time.

You can control them at home and you can control their mobile phones. You can also expect the school to control their computers there. The remaining time will be a very short amount of interactions and I think we can healthily live with that.
by keepamovin | 2026-01-01 14:43:31+00:00
Why? Fun. Now every commit is a certified 160-bit prime number.

- Miller-Rabin primality test (40 rounds, ~10^-24 false positive rate)
- Fuzzes commit messages with nonces until finding a prime hash
- Average ~368 attempts to find a prime (based on prime density at 2^160)
- Actual performance: 30-120 seconds depending on luck

The philosophy: shouldn't the global distributed compute grid be used to forward number theoretic random non-goals like primality?

Every developer running git-prime contributes cycles to finding 160-bit primes hidden in SHA-1 space. Mathematically pointless, aesthetically satisfying.

Install:
curl -fsSL https://textonly.github.io/git-prime/

Side note: disappointed that this HN item ID is NOT prime. 46454369 = 13 × 3573413. Would've been perfect meta-content, ahah
by krisoft | 2026-01-01 14:43:40+00:00
Consider that not all malfunctions of a car leads it to crashing into things. The fuel system, the engine, the transmission and even the steering can completely break down and the car will still came to a stop. They are equipped with redundant brakes, and are always supported by the ground.

At the same time an aircraft is much more precarious. If anything in the fuel, engine, transmission, props, or control surfaces go wrong it will come down and fast. They have much more potential energy than a car (because they are high up). They also typically have much more kinetic energy because they have to move faster to maintain lift if they are fixed winged, or they have to have fast rotating parts if they are rotary winged.
by Lerc | 2026-01-01 14:44:18+00:00
I did not invoke agenda pushing. I referred to the use of the term in the conversation above.

If anything my agenda here is to suggest to people that they should not imagine the opinions that exist in other people's minds and to respond to what they say and do.

If you must know my political leaning, It would be a non-relativistic form of far left. By non-relativistic I mean based upon a principle that is fixed cannot change. That principle is compassion. To some this makes me right wing because I reject demonisation of the wealthy, I defend radicalised people from abuse, I criticize the use of violent imagery like the guillotine by people who consider themselves Left wing. In simple political compass terms I am a left liberal. I don't feel that captures the sentiment exactly.

George Orwell once reflected on the term fascist, since due to his writing he was often called upon as an arbitor to categorize instances. Essentially concluding that the term had largely lost meaning due to people applying it to whatever they didn't like. He is often quoted with the same complaint that people have to this day. However most quotes do not place it fully in context. He wrote: "...almost any English person would accept 'bully' as a synonym for 'Fascist'. That is about as near to a definition as this much-abused word has come". I think there is a critical point here. My left wing principle of compassion goes against the principles of many self identifying left wing people of bullying those who's opinions they disagree with. That's not a progressive stance, it is taking the ground newly won by progressives as the new normal. In time they will come to fight the progressives as they remain stationary and the progressives, ...well, progress
by pembrook | 2026-01-01 14:45:05+00:00
If we're going to assign moral value to people based on their wealth (a classic logical fallacy), then I think you need to take a look in the mirror.

The global median income is $2,760 annually. You sleep like a baby making likely 10-100X that, all while people are starving to death.

What are you doing to help the starving poor with your vast wealth? Are you not also morally bankrupt yourself, using your own logic?

While you're joining the current bolshevik revival that the populist left is trying to spin up, I just hope you remember the kulaks (the land-owning peasants) and many of the Serednyaks (the middle class peasants) also got murdered in the revolution. I'd keep any claims of moral superiority to myself if I were you.
by MegaDeKay | 2026-01-01 14:45:45+00:00
Protein is more satiating "if and only if you are not getting enough protein for optimum body recomposition" which Menno in another video puts at 0.8g per lb of body mass.

https://www.youtube.com/watch?v=YHLXank1PPk

Menno's videos are exceptional: science based and backed up by common sense.
by KellyCriterion | 2026-01-01 14:46:01+00:00
Dance classes are great for getting to known other people, esp. women: Most dance classes lack enough men (for whatever reason)

I had a colleague who was member of a dance club, then he had to move to another district, making it super uncomfortable to continue on a regular base - up until today they are calling him every few weeks if he can attend because lack of men
by miduil | 2026-01-01 14:46:04+00:00
the session (or pairing key) means you can both connect to the headphone or impersonate it.

It can toggle the hands-free mode and listen to whatever is being talked, you'd notice that it has switched to the mode though - but if you're headphones are powered on and you're not listening to in they can be used for eavesdropping.

During the talk they both demonstrate listening to the microphone and also receiving a WhatsApp 2FA call.
by twodave | 2026-01-01 14:46:11+00:00
I don’t disagree, I just don’t think “living in the same house for decades” qualifies as a clear signal of living simply. It could just as easily be a front or compulsive frugality. Or a really nice house to begin with. For instance, there’s no way my family would fit in the first house my wife and I bought. And we couldn’t have afforded our current house back then, either. It’s also worth noting that 60+ years ago was a very different house-buying experience. So I don’t think there’s much to learn from the fact that Warren Buffett bought a house back then and still lives in it, other than that it worked out for him and he’s not flaunting his wealth for whatever reason makes sense to him.
by enraged_camel | 2026-01-01 14:46:19+00:00
My father passed away on Saturday. The aftermath drove home the importance of community.

Hundreds of people came to the funeral, even though it was short notice (24 hours) and in the middle of holiday season. They all dropped whatever they were doing, hopped in their cars or on a plane and came. Friends from his childhood. Friends from his middle/high school years. Friends from his university years, and med school years. People he had worked with and done community service with over the decades. His former students from the decades he taught at the local university. Employees at the hospital he worked at. Family friends. Friends of family. People who knew him by only name and yet still wanted to pay their respects.

I'm Turkish, and community has always played a big role in our culture. But the past few days made me realize that, ever since immigrating to the USA 20+ years ago, community had been supplanted by individualism. Like the author, I work from home. I do have a bit of a social life, and there's a couple of meetups I organize, but the size of my community is nothing compared to my parents. It makes me sad.

Reading this article gave me some hope. It reminded me that ultimately it's a matter of putting in the work, which I am determined to do. Not because I want to maximize the number of people who come to my eventual funeral or anything like that, but because I do want to live a richer life and the best way to do that is to share it with others.

Sorry if the above was all over the place. Things are still raw.
by cb321 | 2026-01-01 14:46:28+00:00
You are correct and I apologize for the misimpression.

`native-image -jar helloworld.jar helloworld` did take a whopping 17 seconds to compile, what might be the smallest possible project. That does makes me worry for iterations trying to get better perf in a context where startup overhead matters, BUT the executable it produced did run much faster - only about 1.8x slower than `tcc -run`:

97.0 +- 1.7 μs (AlreadySubtracted)Overhead
98.2 +- 2.8 μs awk '{}'</n
376.4 +- 4.4 μs tcc -run /tmp/true.c
527.9 +- 4.0 μs perl</n
686.5 +- 3.9 μs ./helloworld>/n

Perl has 2 more shared libraries for ld.so to link, but is somehow faster. So, there may still be some room for improvement, but anyway, thank you for the correction.

(Also, I included 4 of the faster comparative programs to show additionally that the error bars are vaguely credible. In truth, on time shared OSes, the distributions have heavier tails than Gaussian and so a single +- is inadequate.)
by simonw | 2026-01-01 14:47:16+00:00
"He even reposted the same link (which is about AI) with one of his posts when the upvotes fell off"

Where did I do that?

> He will do a blog post this month about this paper [0]

That paper you linked to is a perfect example of where my approach can add value!

Did you read it? Do you understand what it saying? It is dense.

I would love to read an evaluation of that paper by someone who can rephrase the core ideas and conversations into a couple of paragraphs that help me understand it, and help me figure out if I should invest further effort in learning more.

I have a whole tag on my blog for that kind of content called paper-review: https://simonwillison.net/tags/paper-review/ - it's my version of the TikTok meme "I read X so you don't have to".

Honestly, your problem doesn't seem to be with me so much as it seems to be with the concept of blogging in general.
by ethbr1 | 2026-01-01 14:47:58+00:00
The problem with opening the "which obscene is protected" door is that it gives the government (presumed to be correct in judgement by default) too much power. See Bush W admin's leaning on credit card processors to freeze out content they didn't like.

If a Miller bargain must be struck, then "not allowing pornography to be exposed to minors (and no other limits for everyone else)" seems a better line.

Then putting some safeguards in around what can and cannot be used as an age test in order to maximally preserve privacy (e.g. independent, non-government company, no identifiable information persisted, non-id verification options, etc) and what constitutes pornography (and what isn't).

I'm a free-speech maximalist, but "porn for kids" is a tough hill to die on. Even if there are sound technical reasons why that should be allowed, there are too many social ones to make the bet in a democracy.
by kachapopopow | 2026-01-01 14:48:00+00:00
well there's tons of psychopaths in the world, it is a real mental disorder - considering he has a wife and kids it's probably manifesting as an outlet for fustration with his current life so yah I guess you're right that people can hate you for no reason, but it would be more correct to say that people will let out their fustration on random bystanders.

as for people causing others to kill themselves, well same could be applied with the slight difference of them turning that into a weapon to use against others as a coping mechanism.

this is really a topic that deserves very long and thoughtful discussion that you cannot achieve in hackernews comments.
by 1vuio0pswjnm7 | 2026-01-01 14:48:00+00:00
https://media.ccc.de/v/39c3-to-sign-or-not-to-sign-practical...

"When looking into various PGP-related codebases for some personal use cases, we found these expectations not met, and discovered multiple vulnerabilities in cryptographic utilities, namely in GnuPG, Sequoia PGP, age, and minisign."

"The vulnerabilities have implementation bugs at their core, for example in parsing code, rather than bugs in the mathematics of the cryptography itself."
by rkomorn | 2026-01-01 14:48:01+00:00
I don't entirely agree. Yes, there's subjectivity, but there's more to it, IMO.

There are sites (eg along the lines of legacy print or established in the "early" internet days) that still try to generate news content for reading, but are seeking more revenue.

And then there are sites that are just modern click/impression factories that never tried to actually produce real content.
by bombcar | 2026-01-01 14:49:10+00:00
There’s a term “geek out” or similar for getting deep into the details of something; especially technology. But it’s rare and not really needed for the use of it - there are people who geek out over phones or model trains or LEGO, etc.

But for most of things in life you just need to use them.

The hard part is finding something to geek out on that doesn’t turn you into a curmudgeon insisting everyone is “doing it wrong”.
by bonesss | 2026-01-01 14:49:49+00:00
Going to failure can also be a question of which ‘link in the chain’ is hitting failure at any given rep range.

Bent over rows being and easy example: at a 5RM upper back is giving out as desired, but past 10RM my lower back is the issue. If my goals are bent over endurance in my core then higher reps will force adaptations where I’m weak, if I’m trying to get my shoulder blades sexy and humpy I gotta keep the stimulus where I want results. In addition to manipulating reps something like a snatch grip can provide a leverage based answer to the same targeting needs.

Proximity to failure is key, targeting and maximizing that proximity is individual and highly goal dependant.

[As a bit of a physio case I’ve found General Gainz (/r/gzcl on Reddit), to be a highly productive RPE based system with very happy adaptive approach to hitting personal limitations mid workout; no “failures” or broken spreadsheets = motivation = consistency = progress; strong recommend to check out]
by 0xMohan | 2026-01-01 14:50:12+00:00
I'm assuming it's a meme project. In case it isn't, what's the point? Just trying to understand.

Isn't rust's one of the main selling point is the barrow checker right?

Also how's the memory is handled? I know it'll drop every thing once it's out of scope but it seems you can make copies as much as you want. Looking at the loop example, I feel like this introduces memory leaks & undefined behavior.
by juliangoldsmith | 2026-01-01 14:50:34+00:00
The silenced errors aren't guaranteed to be memory leaks or use after frees. There are some situations where memory is being handled properly, but the borrow checker isn't able to prove it.

One example might be a tree-like struct where a parent and child have references to each other. Even if everything is cleaned up properly, the borrow checker has no way to know that when the struct is created. Solving it requires unsafe at some point, usually through something like RefCell.
by shtzvhdx | 2026-01-01 14:51:34+00:00
Presumably, if you're going to bother with flying vehicles, it's to free up space on the ground below.

To fill with other uses, say pedestrians.

Taxi falls, pedestrians get crushed bellow, but now the vehicular speed isn't 20-30 mph tops, but the terminal velocity of the vehicle.

mv^2 is mean.
by ivm | 2026-01-01 14:51:37+00:00
Volunteering in smaller orgs is also a great option because it naturally filters for people who actually want to do something good around them, and the way you work together leaves more space for communication than a lot of group-but-actually-solitary hobbies out there.

A few years ago I joined my rural neighborhood council, and I’d never been around so many people consistently being generous with their time and energy. It’s really uplifting, and you end up learning a lot from each other in the process too.
by btrettel | 2026-01-01 14:51:47+00:00
I've thought about starting my own community group, but I am pretty skeptical that I could find many folks interested in what I'm interested in. I think this is a real barrier to many. Any advice?

To elaborate, in the US, existing groups tend to be narrow and uninteresting to me. In most places I've lived, it's basically a mix of sports/fitness groups, art groups, "tech" (i.e., programmer; traditional engineers like myself won't feel entirely welcome), social dancing, popular fiction reading group, activism, etc. I can't say that any of these genuinely interest me and/or would not necessarily be a good place to meet people. At a fitness class, for example, many people aren't interested in casual conversation as far as I'm aware. And without genuine interest in the subject, it's hard to engage.