MurphyA/hacker-news huggingface dataset:
by vinceguidry | 2025-04-19 14:53:17+00:00
> Lack of such frantic craziness is seen as boring (I never heard of this word boring in my childhood). Slow life in general is being viewed as socially unacceptable. We are frogs in a boiling pot.

Reminds me of this clip of Jeff Bezos being a total dick to William Shatner.

https://www.youtube.com/watch?v=9GQoHIBDogU

Shatner later realized that 11 minutes in space wasn't really anything to write home about and that billionaires are assholes.
by II2II | 2025-04-19 14:54:21+00:00
One of the things I enjoy about many (albeit, not all) cozy games is the ability to step into them, step out of the game five minutes later, then pick them up several days later. Sure, some developers are going to do A/B testing to monetize every last second of game play. That said, I doubt that many of those games would fit into a realistic definition of cozy games simply because most of them exploit the player's emotional state.
by crdrost | 2025-04-19 14:54:33+00:00
I don't think it's totally crazy to, say, open a DB connection in __init__() even though that's not an instantaneous operation. That's not a hill I would die on, you can just say “open a connection and hand it to me as an argument,” but it just looks a little cleaner to me if the lifecycle of the connection is being handled inside this DB-operations class. (You can also defer creating the connection until it is actually used, or require an explicit call to connect it, but then you are also writing a bunch of boilerplate to make the type checker happy for cases where the class is having its methods called before it was properly connected.)
by crote | 2025-04-19 14:55:07+00:00
You wouldn't need 300kW chargers, though!

Battery buses have a battery capacity of around 400kWh. Assuming they are stabled for 6 hours overnight, that's only a charging power of 66kW. Suddenly your depot needs a connection with a peak capacity of 3.3MW instead of the proposed 15MW.

This can get significantly better in practice. There's a peak transit demand during commute hours, but that means there are quite a few unused buses in the middle of the day. Those can charge at the depot to take advantage of cheap daytime solar. A lot of bus routes are timed, with a waiting time of 5 to 10 minutes at the turnaround point. Place an overhead charger here, and the charging demand can be distributed across the day. As a bonus, this also reduced the battery capacity needed - and the associated lower weight reduces total energy demand as well.

Sure, bus depots are going to need beefy connections, but that's hardly an insurmountable obstacle. The ongoing rapid rollout shows that it simply isn't a such a big issue in practice.
by evanb | 2025-04-19 14:55:07+00:00
You're right; this is nothing to do with spooky action at a distance.

But sympathetic response, or resonance, is how this device would work---just like a radio. Axions couple to electromagnetism; by listening in on different frequencies we can see if there is any "cosmic signal being broadcast" (meaning: axions suffusing the galaxy); the frequency of the signal corresponds to the mass of the axion.

In that sense, the search for resonances is a classic approach in particle physics; various particles were discovered by finding increased signals at particular collision energies. What's different here is that it isn't a resonance in a collision cross-section but an axion --> electromagnetism conversion.
by davidw | 2025-04-19 14:55:25+00:00
> dialect changes every 20 miles or so

When I first lived in Italy, this was mind-blowing for me as an American from the west coast. I went on a bike ride with the local team I had joined and they stopped for espresso in a nearby town, and the guy who ran the place was like "oh, you're from Padova" when he heard them speaking. An identifiable change in the dialect over a distance you could easily cover on a bike was a huge "wow!" moment for me.
by jkmcf | 2025-04-19 14:55:52+00:00
Is a 4 inch knife significantly less dangerous than longer knives?

A shiv is a short knife, and razor blades are banned from airplane carry-ons.

They try to discern between common objects being weapons and it becomes situational, except for cooking utensils. For some reason hammers aren’t seen as a weapon because some people don’t know about maces or clubs.

Sorry kids, your dad can’t cut the turkey because we aren’t allowed to have a long enough knife.
by echelon | 2025-04-19 14:56:15+00:00
Not just Python. Most languages with constructors behave badly if setup fails: C++ (especially), Java, JavaScript. Complicated constructors are a nuisance and a danger.

Rust is the language I'm familiar with that does this exceptionally well (although I'm sure there are others). It's strictly because there are no constructors. Constructors are not special language constructs, and any method can function in that way. So you pay attention to the function signature just like everywhere else: return Result<Self, T> explicitly, heed async/await, etc. A constructor is no different than a static helper method in typical other languages.

new Thing() with fragility is vastly inferior to new_thing() or Thing::static_method_constructor() without the submarine defects.

Enforced tree-style inheritance is also weird after experiencing a traits-based OO system where types don't have to fit onto a tree. You're free to pick behaviors at will. Multi-inheritance was a hack that wanted desperately to deliver what traits do, but it just made things more complicated and tightly coupled. I think that's what people hate most about "OOP", not the fact that data and methods are coupled. It's the weird shoehorning onto this inexplicable hierarchy requirement.

I hope more languages in the future abandon constructors and strict tree-style and/or multi-inheritance. It's something existing languages could bolt on as well. Loose coupling with the same behavior as ordinary functions is so much easier to reason about. These things are so dated now and are best left in the 60's and 70's from whence they came.
by westurner | 2025-04-19 14:56:30+00:00
DNSSEC is necessary like GPG signatures are necessary; though also there are DoH/DoT/DoQ and HTTPS.

Google doesn't have DNSSEC because they've chosen not to implement it, FWIU.

/? DNSSEC deployment statistics: https://www.google.com/search?q=dnssec+deployment+statistics...

If not DNSSEC, then they should push another standard for signing DNS records (so that they are signed at rest (and encrypted in motion)).

Do DS records or multiple TLDs and x.509 certs prevent load balancing?

Were there multiple keys for a reason?
by n_u | 2025-04-19 14:56:38+00:00
What I’ve always been curious about is if you can help the S3 query optimizer* in any way to use specialized optimizations. For example if you indicate the data is immutable[1] does the lack of a write path allow further optimization under the hood? Replicas could in theory serve requests without coordination.

*I’m using “query optimizer” rather broadly here. I know S3 isn’t a DBMS.

[1] https://aws.amazon.com/blogs/storage/protecting-data-with-am...
by zomglings | 2025-04-19 14:56:40+00:00
If anyone from Anthropic is reading this, your billing for Claude Code is hostile to your users.

Why doesn’t Claude Code usage count against the same plan that usage of Claude.ai and Claude Desktop are billed against?

I upgraded to the $200/month plan because I really like Claude Code but then was so annoyed to find that this upgrade didn’t even apply to my usage of Claude Code.

So now I’m not using Claude Code so much.
by Der_Einzige | 2025-04-19 14:56:49+00:00
Mike Rowe is a shitty human being who delights and is gleeful about the idea of those folks in these same “dirty jobs” being paid less, forced to work more and harder with less safety equipment, and with less respect.

He hates the idea of people getting ahead in life with anything but the most extreme back breaking labor. That’s why he’s hardcore MAGA and makes such a big deal about trying to shit on folks who do desk jobs.

Fuck him, fuck his show, fuck the “good parts” where he tries to show you that being a garbage man is hard. If it’s really that skilled, the market will pay it as such.
by bijant | 2025-04-19 14:58:27+00:00
You’re not crazy; the math really is lopsided. I know the feeling all too well. My own autism diagnosis put a label on that jarring moment when logic collides with a corporate system that runs on something else entirely—risk management, optics, and a reflexive fear of precedent. Years of nose‑first landings and therapy taught me an uncomfortable truth: asking “Why isn’t this rational?” is read not as curiosity but as confrontation, because someone up the chain would have to admit the rules are incoherent. You don’t need to change the way you think, only the angle of attack.

So let’s talk about angles. Since January the Dutch tax office has been fining companies for blurring payroll and freelance status under Wet DBA, which makes your manager twice as jumpy about letting an employee invoice on the side. Fine—don’t fight the hedgehog head‑on. Two work‑arounds turn that absurdity into leverage.

First, the low‑friction hack. Find a trusted friend or cousin—ideally in a friendlier tax jurisdiction or a lower bracket—who fronts the freelance contract while you quietly deliver the work. Your firm still gets the only AI engineer who already knows the codebase, HR gets a clean vendor file, and you earn something far closer to the market rate without triggering an audit. It feels like sleight of hand, but it’s legal and, frankly, no shadier than paying a staffing agency to skim thirty percent for forwarding e‑mails.

Second, the bigger‑canvas fix. Recruit a handful of HN types stuck in the same trap and build a tiny marketplace—call it the YC play if you want venture upside or the Vim play if you’d rather tithe a slice to open‑source. Members post internal gigs they’re barred from taking; peers at other firms take the work at the full €150. Next month the favour reverses. Ten or fifteen percent goes to keep the lights on—or to kids in Uganda, your call—and suddenly the premium everyone was happy to pay a middleman flows to the people doing the work. Bureaucracy can’t object: every invoice still bears the magic words “external vendor,” and the talent free‑market gets a blood supply.

Both routes shift incentives instead of pleading with logic, and that’s the only language the system understands. Arguments rarely move a corporate wall. Action reroutes the plumbing so the money follows you anyway.

End of argument.
by dventimi | 2025-04-19 14:59:14+00:00
I would guess, "It would take a very long time--possibly forever--because scientists don't typically become 'worried' by perceived shortfalls in theories, rather they become excited." Often, that excitement finds an outlet through modifications to the theory or to wholesale alternative theories. In the case of Dark Matter, there's no shortage of proposals to overturn Dark Matter. It seems like there's a new one on HN every day. But, "the more's the merrier", I say! If you ask me (nobody did), they're all welcome. The only catch is, they have got to surpass Dark Matter on all of the many independent lines of observational evidence supporting the theory of Dark Matter, yet in my limited experience they almost never do.
by crdrost | 2025-04-19 14:59:31+00:00
I believe _Algernon_ was making a joke about how you could take this problem and make the code even worse, not proposing a solution to the problem.

It's also not even a problem with slow computers or insufficient memory, __init__ does I/O here, it connects to ZeroMQ, so it could have arbitrary latency in various circumstances exceeding the 100 milliseconds that we would be sleeping for. So the joke is, this fixes the problem in your test environment where everything is squeaky clean and you know that ZeroMQ is reachable, and now you have bugs in prod still.
by addisonj | 2025-04-19 15:00:40+00:00
Yeah, engineering high scale distributed data systems on top the cloud providers a very weird thing at times.

But the reality is that as large enterprise move to the cloud, but still need lots of different data systems, it is really hard to not play the cloud game. Buying bare metal and direct connect with AWS seems a reasonable solution... But it will add years to your timeline to sell to any large companies.

So instead, you work in the constraints the CSPs have, and in AWS, that means guaranteeing durability cross zone, and at scale, that means either huge cross az network costs or offloading it to s3.

You would think this massive cloud would remove constraints, and in some ways that is true, but in others you are even more constrained because you don't directly own any of it and are the whims of unit costs of 30 AWS teams.

But it is also kind of fun
by efortis | 2025-04-19 15:00:54+00:00
I use a helper similar to React.createElement.

const state = { count: 0 } const init = () => document.body.replaceChildren(App()) init() function App() { return ( h('div', null, h('output', null, `Counter: ${state.count}`), h(IncrementButton, { incrementBy: 2 }))) } function IncrementButton({ incrementBy }) { return ( h('button', { className: 'IncrementButton', onClick() { state.count += incrementBy init() } }, 'Increment')) } function h(elem, props = null, ...children) { if (typeof elem === 'function') return elem(props) const node = document.createElement(elem) if (props) for (const [key, value] of Object.entries(props)) if (key === 'ref') value.current = node else if (key.startsWith('on')) node.addEventListener(key.replace(/^on/, '').toLowerCase(), value) else if (key === 'style') Object.assign(node.style, value) else if (key in node) node[key] = value else node.setAttribute(key, value) node.append(...children.flat().filter(Boolean)) return node }

Working example of a dashboard for a mock server: https://github.com/ericfortis/mockaton/blob/main/src/Dashboa...
by thrw99 | 2025-04-19 15:01:08+00:00
Good for you, friend, he surely is no saint- none of us is. But it is fact that all information served in Polish media about him were lies- proven in court when he was released from all charges. I can't remember media lounching the campaign to tell the truth, at the same magnitude they were spreading lies. And it is also true that he was the one to build Optimus from scratch, he started in his garrage- very much the story of Polish startup to learn from. Personally I know very few people who really liked their boss, and sadly this was especially true among Polish people in the '90s. I personally know business owners of the time who were stolen from by their management and employees. Finally, Roman Kluska being devote Catholic makes him many enemies simply because of that fact.
by Retric | 2025-04-19 15:02:22+00:00
No, the advantage of AGI isn’t being able to do all those physical things, the advantage of AGI is you don’t need to keep building new software for every task.

Let’s suppose you wanted to replace a pilot for a 747, now you need to be able fly, land, etc which we’re already capable of. However, actual job of a pilot goes well past just flying.

You also need to do the preflight such as verifying fuel is appropriately for the trip, check weather, alternate landing spots, preflight walk around the aircraft etc etc. It also needs to be able to keep up with any changing procedures as a special purpose softener you’re talking a multi billion dollar investment, or have an AGI run through the normal pilot training and certification process for a trivial fraction of those costs.

That’s the promise of AGI.
by Der_Einzige | 2025-04-19 15:03:02+00:00
It’s either allies or you get invaded by us. You have no nukes. This isn’t the Micheal Moore fantasy of “Canadian bacon” where it’s all some funny post 90s joke: Trump hates Canadians and will use military force to annex them if he perceives that it will go well.

I fully, 100% expect this to happen, at least to Greenland and a real chance of this happening to Canada.
by atum47 | 2025-04-19 15:04:01+00:00
In tiny evrything looks like JS and you actually have to read it to know what is what

You don't, actually. If in HTML you write <select><option/><select/> in tiny you write select(option())

Also what if someone will define span variable?

I'm guilty of that myself. Tried to name a variable input when there's already a function with that name. It forces me to come up with better descriptive names. I could've wrapped those functions inside namespace like tiny.input() but I like the simplicity of it as is.
by MrDarcy | 2025-04-19 15:04:40+00:00
It’s not roughly equal at all.

Let’s round up and say the employer pays 10% and the employee pays 10%. For self employment that goes to 20%

But, in the US, you can pay yourself whatever wages you want and take the rest as a distribution which is not subject to employment taxes.

So if you make 100K as an employee, then quit to freelance, you just pay yourself 40K in wages (or whatever you deem a reasonable salary) take the rest as a distribution and come out ahead.

The other comments about PTO and employees costing more are similarly “wrong” in that there’s a simple bottom line and the other costs beyond wages simply aren’t that significant, especially at the higher end. Insurance costs don’t scale with wages. 401k is easily obtained inexpensively as a freelancer, etc. Time off is easily handled with monthly or weekly rates instead of hourly.

All in all it simply comes down to if you can convince someone with a budget to get a SOW signed and a PO issued. Everything else is just fungible numbers business move around on a PnL report.

The real bottom line is they offered to pay you 30 EUR and you accepted it. The freelancers did not.
by dventimi | 2025-04-19 15:04:42+00:00
I can't agree with this. No scientist says, "we know it's real because computer models but due to a fluke there's no dark matter in the solar system so we can't detect it." No scientist says, "we know it's real..." about anything. What scientists say is something like, "so far this theory has not been ruled out by evidence." So far, the theory of Dark Matter has not yet been ruled out by numerous attempts to do so along multiple independents lines of observational evidence:

- galaxy rotation curves

- galaxy cluster dynamics

- gravitational lensing

- the Cosmic Microwave Background radiation

- large-scale structure

- Baryon Acoustic Oscillations

- X-ray emission in galaxy clusters

- galaxy cluster collisions

- mass-to-light ratios

That's a tall order for any competing theories. They're welcome to try, of course, but so far none have succeeded.
by getnormality | 2025-04-19 15:04:47+00:00
We currently control lots of things that vastly exceed our unaided physical and mental capabilities, including things that are "smarter" than us in the sense that they can solve complex tasks that we could never solve without them.

People have a long history of predicting doomsday from technological change. "This time is different" is said every time, and every time is different. If we gave into fear, we would never progress, and we would just be sitting ducks to be wiped out by something other than technological change.

LLMs are very far behind human intelligence, and even non-human animal intelligence, in ways that fundamentally limit their power. They can't see the world in any way except the way that humans have chopped it up and spoon-fed it to them (e.g. can't count the number of r's in strawberry). Their capacity to notice and correct their own errors is very limited. They have no capacity to accumulate knowledge by self-initiated interaction with the world, and no credible proposal yet exists to endow them with this capability in a way that could approach human or non-human animal ability levels.

Without these basic abilities, LLMs can only be considered intelligent in the sense shared by other normal technologies, like autocomplete and optimal planning algorithms. Intelligence in a truly human sense is not really even on the horizon yet, let alone superintelligence.
by Der_Einzige | 2025-04-19 15:05:41+00:00
Ignoring this is like ignoring the prophecitc Vivek tweet that triggered conservatives for him pointing out DEI for white people.

This post is basically correct. The Chinese will accept being exploited way harder than we will! Good going communism!

This shit is why I will resist Marxist bullshit with all of my fiber forever. Fucking barracks communist no matter how hard they try to claim “nah we don’t support that”.
by switch007 | 2025-04-19 15:06:07+00:00
> if we can understand one another, what's the problem?

The accent is just being used a heuristic of where you're from, which is the actual judgement. Posh = not from round here.

Northerners are famously insular and protective of their communities (I love them for it but I think it can go a bit far sometimes)
by Strs2FillMyDrms | 2025-04-19 15:06:24+00:00
This MCS variation ("UnfairMCS"), spreads the CAS latency across multiple `node.next`, as opposed to its CLH counterpart which focuses its CAS pressures on a single point of contention on TAIL (in the `AbstractQueuedSynchronizer` case this is needed because each `prev` field needs to be set), fetching a new memory location on failure, helping offset the latency off of main memory, diverging it to all individual trails of `node.next` equally.
by jqpabc123 | 2025-04-19 15:08:05+00:00
But, but, but --- AI and robotics. Again, Telsa has no real product to show that they can do AI and robotics any better than they do autos. It's pure wishful thinking at this point.

But, but, but --- robotaxis. Ditto --- same as above.

The really ominous "death cross" signal for Tesla --- their sales are declining (down 9% last quarter in the US) while EV sales overall continue to grow at a robust pace (up 11% last quarter in the US).

In other words, the competition is eating Tesla's lunch. But for some less than obvious reason, Wall Street continues to favor fantasy over facts.

https://www.businessinsider.com/tesla-sales-slump-automakers...
by Qem | 2025-04-19 15:08:15+00:00
This reminds me of horror fiction like Lovecraft's Color Out of Space[1] and Neill Blomkamp's short Zygote (2017)[2][3]

[1] https://en.wikipedia.org/wiki/The_Colour_Out_of_Space

[2] https://www.imdb.com/pt/title/tt7078780/

[3] https://www.youtube.com/watch?v=pKWB-MVJ4sQ
by jhatemyjob | 2025-04-19 15:10:06+00:00
Oh wow you were editing the source of LuaJIT? That sounds like a nightmare. I'm pretty sure Mike Pall is the only person who understands that codebase lol.

To be honest I am trying to move away from LuaJIT, now that q66's cffi-lua project exists I don't have a reason to use LuaJIT from a dev productivity perspective. For speed, sure. But for my use-case regular Lua is fast enough and the added features in 5.4 over 5.1 are really nice. Plus having the option to easily edit the Lua source code if I want gives me a lot of comfort, since the codebase is way simpler than LuaJIT's.

I have removed LuaJIT from everything I use other than OpenResty. If I could, I would remove it from OpenResty but that is a huge undertaking

Yeah the garbage collector is one of the things in Lua I really don't like - in Lua 5.4 Roberto added the <close> thing and generational GC but I'm not sure how well these work in practice. I guess I'm lucky enough in that I have never hit the upper limit where a GC cycle totally kills performance and if that ever happens I have the option of rewriting that code in C