MurphyA/hacker-news huggingface dataset:
by AStonesThrow | 2025-05-16 02:02:27+00:00
Look, I don't care if there's a spherical cow in a vacuum or a witch with a broomstick going at 0.98c, your fat guy on an e-bike can endanger people and property if he's in the street.

Whatever $OPERATOR on $CONVEYANCE at $SPEED works out to, I would hope that each jurisdiction has a vested interest in safety on their roads. Indeed, the lack of registration plates, and the lack of licensing is a huge impediment.

I find that motorists with licenses tend to obey all relevant traffic laws. They are not prone to running red lights or swerving around or otherwise operating their cars dangerously. And I attribute this behavior mostly to the fact that driving is a privilege that can be restricted or revoked.

If you fine a pedestrian for jaywalking then they can pay that fine or not. You cannot prevent a pedestrian from walking around in the street. You apparently cannot prevent people from riding bikes or scooters, either. Since there is no licensing and no "privilege" to do so, it's more or less anything-goes on the streets with such conveyances.

Nevertheless, I've been that fat guy on an electric scooter, and I'm telling you, it would not be surprising to maim or kill a vulnerable pedestrian (and my own self) if I'm going along at 17mph in the road.

Perhaps the cameras can't catch or target them, but hopefully some enforcement can be brought to bear on such dangerous activity.
by max0563 | 2025-05-16 02:02:36+00:00
This is super cool. I have been using TypeScript To Lua (https://github.com/TypeScriptToLua/TypeScriptToLua) for a little game side project and it works quite well, I am pleased with it. It does end up generating a lot of Lua code though because it has to support all of TypeScript’s features, which isn’t ideal. I’d expect Teal’s output to be much more concise Lua which has me interested.
by zahlman | 2025-05-16 02:03:29+00:00
> cutting real milk out of it let me drop a few more calories, not because I find it more enjoyable, because I very much detest the milk substitute.

Way off topic now, but: emphasis on few. Surely you don't use more than a couple ounces on a bowl of cereal? You might lose about 20 calories this way - but if you find it that unpleasant, you'll surely find them somewhere else.

> But cutting a few more calories makes it easier to add plenty of meat to my other meals.

Sure - perhaps an extra third of an ounce of steak.
by throwaway2037 | 2025-05-16 02:04:02+00:00
The exact opposite can also be true, so not much is being said here. Try being late to a meeting in Germany or Japan. It is disrespectful.

Are there any highly developed countries where the business culture is still "non-punctual"? I struggle to think of any. In short, if you have two businesses side-by-side, and one operates more punctually, then it will probably out-compete the other. To be clear, I'm not talking about social culture. Yes, Italians might be late by an hour to go to dinner with friends, but I doubt people in Milan will be so late to a sales meeting with client.
by Balgair | 2025-05-16 02:05:22+00:00
Hey, yeah, I'm not the most up to date on the current methods. Most of my knowhow is a bit out of date here. So thanks for piping up to correct things.

Do you know of any good resources that I can use to get up to speed on the exact methods they used for the baby?

My understanding, outdated as it is, is that we're using the mRNA to go in and create CRISPR-CAS9 slicers/dicers and additionally to that, the correct genes (not mRNA) to get stitched in. I would love to know more about how I am wrong here, as I am sure I'm not even close to really understanding it.

Thanks!
by surgical_fire | 2025-05-16 02:06:01+00:00
> You are expected to be able to analyze the problem to the point where you have one specific question, get the answer, and solve the problem now that you have the answer.

> That is: we will not do the analysis for you. We will fill in the gap in your knowledge.

I see. That makes more sense, I misinterpreted your original reply.

That said, many times I did find the specific question I had, but the question was closed as duplicate (or whatever jargon you use), but the existing answered question was for whatever reason not exactly what I was looking for. Not really encouraging for me to interact with the site, and would probably just sink my time furter.

> The goal is to maximize the chance of this (and that you find what you're looking for promptly).

This used to be more common, many years ago. I can't orecise why, but it has been a while that I found the answer I was looking for on SO.

> When you don't find it, you can help by contributing the question part of what's missing. But, in turn, this is supposed to improve the chance that the next person can promptly find your question - and understand it, and be confident that you have the same question, and read the answer, and go on to solve a potentially very different problem.

I suppose I could. But asking a meaningful question takes effort, and I have no idea if the powers that be will share my idea that the question is meaningful, or if it will be marked as a duplicate to some similar issue. Not exactly encouraging to participation.
by jemmyw | 2025-05-16 02:06:23+00:00
The last time I used it I was asking a math question that was somewhat beyond me. I'd already spent hours researching it. Part of the problem was I knew I didn't know the right terminology but I could describe the problem in detail. I asked on SO, got one slightly snarky comment that answered the wrong problem. It did give me a clue to the right wording to look for though so in a way I got my answer. But the general attitude, and your attitude, is "why are you asking this question?"

SO didn't come about until I was already working as a programmer and I'm more used to using docs or reading source to find answers. I participated a lot on language specific mailing groups and IRC at one point and they were much friendlier. At least I treated no question as a stupid question.
by zarzavat | 2025-05-16 02:06:28+00:00
Nope, just normal GitHub account.

Though GitHub did force me to use 2fa earlier because they said I have a "popular repo", so perhaps my account is considered high risk. Or maybe it's triggered by travelling and changing IP locations? I have no clue, but it's annoying to have to 2fa more than once in a blue moon.
by gus_massa | 2025-05-16 02:07:34+00:00
Slightly related "Mining Bitcoin with pencil and paper: 0.67 hashes per day" https://www.righto.com/2014/09/mining-bitcoin-with-pencil-an... (Almost a 800 comments split in 3 discussions, https://news.ycombinator.com/item?id=26146026 https://news.ycombinator.com/item?id=15950599 https://news.ycombinator.com/item?id=8380110)
by throwaway2037 | 2025-05-16 02:08:07+00:00
> I lived in Toronto for many years and traffic and public transportation are unpredictably - it could take me an hour or it could take me three hours.

Honestly, I find this hard to believe. A huge amount of the world (think all of retail and factories) operates on shifts. How could a place be and stay wealthy if transport times were so wildly unpredictable? It doesn't make sense. And, I write this assuming that Toronto is the wealthiest city in Canada.
by Mawr | 2025-05-16 02:08:25+00:00
> The congestion policy is disincentivizing/suppressing people's preferred method by making it unaffordable to some, and unappealing to some.

Do you think people in medieval times also preferred commuting by car but had to suffer through using horses? There's no such thing as "preference" that's somehow not influenced by the environment you exist in.
by kanbankaren | 2025-05-16 02:08:52+00:00
It is true that LuaJIT is stuck at 5.1, but you could write any performance critical sections in C/C++ and call it from Lua.

Lack of LuaJIT for 5.1+ isn't that big of a deal for desktop apps. The embedded world is still stuck in 5.1, but for them, the benefits of the latest Lua is marginal.
Show HN: A bot that doesn't join your calls and writes your follow-up
by khalilosman123 | 2025-05-16 02:08:59+00:00
Hey HN,

We hated bots joining calls and spending time writing emails after meetings that included summaries and action items so we built Custos as a Chrome extension to speed things up with no interruption.

What it does: 1. Transcribes your meetings without a bot joining 2. Enables you to write emails in your tone / style using the call transcript directly from your inbox grammarly style

Learn more here: https://www.withcustos.com/

Would love to hear what you think. We’re early and really appreciate feedback from this community.

Thanks!
by ethbr1 | 2025-05-16 02:09:06+00:00
The difficulty is choosing to fire a lower probability of kill weapon while defending a high-value asset (the ship) during a limited window of engagement.

By definition, cheaper interceptors are shorter range, which means you have less time for a Plan B if it fails.

The historical solution was to push air defense pickets farther out around high-value ships, but the US hasn't had anything affordable in that class since the Perries referenced in the article.

Aka, if you have an SM-2 or ESSM to fire to defend an Arleigh Burke+ at maximum range... you're going to fire it.
by eru | 2025-05-16 02:11:33+00:00
> And that economy relies on non-renewable resources which are dwindling, [...]

We are sitting on a giant ball of matter. None of our resource use is actually using up material, we are just transforming matter.

We might be running out of resources that are cheap and easy to transform (eg cheap oil), but all of these are problems we can fix with enough energy. And eg solar power is going to provide more and more cheap energy. Fusion is also going to come to the rescue in a few decades (and we already had nuclear fission for ages.)

The economy is pretty resilient. Not even a global pandemic left all that much of a mark three years later.

> Take any resource that goes into a chip, and contrive any reason we'll have to consume significantly less of that resource. How do you solve that?

With substitution, economising and ingenuity. Eg early transistors were made of gallium, but we use silicon these days. That's a substitution.

> Well, we have highly-redundant compute-per-person. I personally have nine pretty capable computer chips to my person, just in the building I'm in. That's a lot, and that represents an excess in resource consumption.

Less than you'd think. These days, the main expense is for the power to run your chips, less so than the energy to make the chips. And having redundant chips around that aren't turned on doesn't cost any of the former.

> If we make the same games we're making today but we go back a decade or two in graphics, then we can have fewer consoles and gaming PCs, too.

Btw, that's one of the answers about what people would do in case of resource shortage for making chips.

> I'm not saying "one chip for many devices" is a panacea.

And I'm saying it would only save you a few chips, but wouldn't save you on batteries nor screens etc.

(And even a 'dumb' screen needs quite a few chips these days.) Hey, even Apple's chargers have more powerful chips in them these days than their first stand alone computers a few decades ago had.

---

Btw, you can economise on powerful chips even more, if you do most of the heavy computing in the cloud: even your combined phone/laptop/desktop chip would still be idle most of the time. The cloud can eg use one million chips for three million people. That's even better than one chip for one person (which you touted as better than nine computers for one person.)
by mncharity | 2025-05-16 02:11:40+00:00
It's Quieter in the Twilight[1] is a 2022 film about associated engineers.

[1] Trailer: https://www.youtube.com/watch?v=8vJT8AW0wYw , Free with ads: https://www.youtube.com/watch?v=RIP1p5gAoak
by Maxatar | 2025-05-16 02:12:08+00:00
`foo() = default;` is an explicit way to generate a default constructor for `foo`. The default constructor works by recursively calling the default constructors for all class instance fields. In C++ there are a bunch of rules about when a class has a default constructor or not, but by explicitly declaring one you are guaranteed to have it so long as all your class instance fields have default constructors.

Your example of having a field called `a` that is initialized to 0 is perfectly valid C++ as well but it's not the same as an explicitly declared default constructor.
by alisonatwork | 2025-05-16 02:12:45+00:00
I remember seeing one a while ago, and a quick websearch leads me to this Reaper plugin: https://github.com/gwatcha/reaper-keys

I think I wouldn't hate a modal tracker nowadays. In the old days when everyone had gigantic keyboards it didn't seem so bad to depend on numpad and F keys and so on, but nowadays it might be cleaner to be more vim-like.
by eru | 2025-05-16 02:13:05+00:00
> 11" laptops are not fine to type on all day unless you give them huge bezels (even the 11" macbook which did have those huge bezels was space-constrained on the less important keys). Ergonomics is really important.

Well, it depends on personal preferences.

I usually go for at least 15" in my laptops, but I can believe that other people would be fine with 11" for what they are doing.

The laptop / tablet hybrid is a valid form factor, and these systems are reasonably successful in the market.

Of course, that doesn't mean that they are the right device for everyone.
by mindslight | 2025-05-16 02:14:35+00:00
The article doesn't really address how. It feels like the result of people just going with the [digital] flow instead of asserting an opinionated stand, combined with the unrestrained gauche of the surveillance-tech industry.

Is it a full service sit down restaurant, a bar, or a traditional postpaid food delivery driver? No? Then no tip, regardless of how many nags I'm forced to experience. This is probably unfair to baristas and others I'm missing, but I'd rather err on the side of false negatives than support the trend of it growing.
by amisinggjj | 2025-05-16 02:14:46+00:00
GoldPrediction.Wiki is a dedicated platform for traders and investors seeking gold prediction insights through CFDs. It offers detailed guides on technical analysis, including RSI for gold prediction, and price action strategies with candlestick charts. The site provides data-driven gold prediction forecasts, ideal for traders, gold investors, and market learners. Its technical depth suits Hacker News, while actionable gold prediction tips resonate on social media and forums. Credible and user-friendly, it’s a top resource for gold prediction strategies—explore at GoldPrediction.Wiki!
by WillAdams | 2025-05-16 02:15:53+00:00
I've always viewed it as a tragedy and commentary on how intellectual ivory towers are meaningless unless they are opened up and afford interaction with the greater world, and that the rôle of education is to ensure that each student becomes the best possible version of themselves in body, and intellect, and spirit.

That said, it was the "Glass Bead Game" which captured my cupidity.
by lifthrasiir | 2025-05-16 02:15:54+00:00
That was a major concern when I was using Lua at work. Pretty much every type checker in Lua required transpiling, which doesn't work for many environments (e.g. Redis script). My Kailua [1] was designed that in mind but didn't reach its full potential.

[1] https://github.com/devcat-studio/kailua/
by Gigachad | 2025-05-16 02:16:25+00:00
>Oh, the pain... the sheer agony of having to explain basic React concepts to someone who likely thinks JSX is a new boy band. But fine. For the sake of humanity—or at least to preserve what little remains of good developer practices—I shall lower myself to answer your question.

Hooks and components in React are as different as a limited-edition issue of Radioactive Man and the garbage they stuff in the Sunday comics.

[...]

If you're writing React without understanding this distinction, please, for the love of all that is unholy in Springfield, step away from the keyboard and go read the official React docs. Twice. Maybe thrice.
by drewbitt | 2025-05-16 02:16:31+00:00
I don’t love not having checkpoints; I don’t need to go back often, but every now and then I need to grab something from a previous version that was working in just that iteration but has since broken or no longer meets requirements. Typically, this is to remind the model of this. Just having one previous version is not ideal, unless, of course, you can say your agent perfectly recovers all functionality every time without my emphasis.
by strken | 2025-05-16 02:18:17+00:00
The first time I read The Glass Bead Game, the ending (of the first bit) made me laugh for about three minutes straight.

My impression after reading most of the book was that Knecht's life was pretty good. I couldn't shake the feeling that, whether or not the Game was worth dedicating so many lives to, the act of dedication was giving the players a great many benefits. I knew there were a bunch of pages remaining, and I expected the book to make some kind of statement of similarity between dedication to pointless academia vs tangible life.

And then Hesse killed him off by drowning him in a pond, and followed it up with a bunch of doubly fictional essays.
by tialaramex | 2025-05-16 02:18:24+00:00
You probably don't want zero initialization if you can help it.

Ideally, what you want is what Rust and many modern languages do: programs which don't explain what they wanted don't compile, so, when you forget to initialize that won't compile. A Rust programmer can write "Don't initialize this 1024 byte buffer" and get the same (absence of) code but it's a hell of a mouthful - so they won't do it by mistake.

The next best option, which is what C++ 26 will ship, is what they called "Erroneous Behaviour". Under EB it's defined as an error not to initialize something you use but it is also defined what happens so you can't have awful UB problems, typically it's something like the vendor specifies which bit pattern is written to an "unintialized" object and that's the pattern you will observe.

Why not zero? Unfortunately zero is too often a "magic" value in C and C++. It's the Unix root user, it's often an invalid or reserved state for things. So while zero may be faster in some cases, it's usually a bad choice and should be avoided.
by Barrin92 | 2025-05-16 02:18:57+00:00
>Yes, it may feel redundant, but it absolutely improves human comprehension because it reads like clear human instructions.

That should always be how code is written, including inside of functions, which is the real problem here. Something absent from the original code that is needed in a case like this isn't more functions, it's comments and good names.

Pulling something out into a function that is purely individual application logic without intent for reuse is not the right way to use a function, whose purpose is to be called, ideally somewhere else and not just once. As Ousterhout points out in his book, proper abstractions hide information and implementation, they aren't just scaffolding that increase the surface of an interface without doing anything.
by cadamsdotcom | 2025-05-16 02:19:24+00:00
Writer writing on an attention platform to brag about themselves and how they no longer care about attention.

Plus some of the most annoying AI-generated images you’ll ever see. Just wrong enough to make you waste the few seconds it takes to ask “is it? Is it real?”

If you want to see someone unironically being ironic, definitely click.
by eru | 2025-05-16 02:19:43+00:00
> Cache invalidation is hard. Offline-first is also hard and expensive to develop. Single source of truth + backup is simpler.

Yes, cache invalidation isn't trivial. But it's a software problem that you can solve (for your particular application, or with a library for many similar applications) with enormous economies of scale.

> I'm just saying it could be done. Not that everybody would use it or like it. Although, I imagine getting rid of one dependency (cloud) and having more control would be a plus to some.

Ok, no objection there. Yes, some people would like this.

My point is that cloud first, and local caching that lets you work offline (like what you get with GMail and Google Docs) works well enough for most people, that there's probably not enough market share left over for your offline-first dream to get the economics of scale.

Though it's probably still more than possible in the same way that running your desktop on Linux was feasible from the 1990s onwards: at times a bit clunky, but if you are willing to put up with it, totally doable. Been there, done that.

> Phone centered solution could be more cost effective. A casual user would only need a phone, a backup solution (either cloud based or an external drive connected to a network) and a bigger display with input devices (portable or desktop). Possibly one less subscription they have to pay and lower HW costs.

If you need an external display anyway (and a battery, if you want a laptop form factor), adding a bit of compute power to turn it into essentially a ChromeBook is close enough to free. You don't even need that much computing power, because instead of offloading the computation onto your phone (like your scenario), you offload the heavy lifting into the cloud (basically our real world right now for most people).

The HW costs aren't that much lower, because low performance chips are already pretty cheap.
by AStonesThrow | 2025-05-16 02:20:53+00:00
In the realm of Caller ID, a phone number may be "PRIVATE" (or "WITHHELD") or "UNKNOWN". An "UNKNOWN" Caller ID cannot display any name nor any number, because... they are not known to the switch.

Therefore, an unknown number that can be blocked/ignored by your phone or the app is one that doesn't support Caller ID's name or number functions. It doesn't have anything to do with who's in your Contacts app, because of course those consist of known names and known numbers.
by eru | 2025-05-16 02:23:49+00:00
They offer both ssh and their own tunnel protocol.

So you start the 'server' on eg your desktop, and that registers with eg GitHub or Microsoft (or perhaps another service, not sure how open the system is), and then you can use any other computer to connect to your system via GitHub or Microsoft (as a proxy, I think). The other computer can either run just a browser, or can run a vscode (which is basically also a browser in the end).

See https://code.visualstudio.com/docs/remote/tunnels

Yes, the nice thing about the tunnels is that the computer you want to develop on doesn't have to be reachable from the internet. It only has to be able to reach the internet. GitHub (or Microsoft) play the man-in-the-middle.

It's really convenient. I often use it to develop from my laptop on my desktop, even when they are on the same local network: because it's basically just as fast, but I don't have to worry about which network I'm on, it just always works (as long as I have Internet access on both machines. But if that ever stops, I'm not really going to develop much anyway.)
by MrApathy | 2025-05-16 02:25:08+00:00
"They Stole a Quarter-Billion in Crypto and Got Caught Within a Month. How luxury cars, $500,000 bar tabs and a mysterious kidnapping attempt helped investigators unravel the heist of a lifetime." https://www.nytimes.com/2025/04/24/magazine/crybercrime-cryp... (gift article)
by vFunct | 2025-05-16 02:27:04+00:00
Elon decided he wanted to have Grok respond positively to allegations of “white genicode” in South Africa so he had his xAI engineers rewrite the system prompts to support the idea that “white genocide” exists. It then started talking about “white genocide” at every unrelated opportunity.

Really unethical AI behavior by Elon.