MurphyA/hacker-news huggingface dataset:
by pta2002 | 2025-11-12 11:14:50+00:00
The location access is often needed for the app to be able to find the WiFi networks in the neighborhood. This is because that can be used to triangulate your location, so they bundle it in with the same permission (unfortunately, there isn't a very good way to separate this, since it theoretically can be used to locate you and therefore you should let the user know that).
by bilekas | 2025-11-12 11:15:17+00:00
Ah okay, yes, debugging tools are a bit more friendly with C# but it's again the nature of the beast of cpp, but to nitpick this is a compiler area moreso than a tooling issue . CPP will compile direct to binary, whereas C# will compile to machine Lang iirc, an intermediary step anyway, so you can imagine it makes debugging much easier.
by BoredPositron | 2025-11-12 11:16:11+00:00
It's not a fucking nand problem. The producers reduced capacity because of the slow consumer PC market in 2024. With hyperscalers shifting to consumer products the market is strained but everyone is scaling up their production now. This is not the same as the chip shortage we had in the last few years. The production capabilities are there they are just adjusting to new market realities. We will see a whiplash for a few months but we can and will produce enough chips for everyone which we were not able to do in the 20-22 crisis. Stop getting your "insights" from influencers and stop parroting them.
by BoxOfRain | 2025-11-12 11:16:34+00:00
Ah that's interesting, mine is omnipresent and occasionally bad enough I have to take days off work as I can't read my own code; it's like there's a baseline of it that occasionally flares up at random. Were you born with visual snow or did you acquire it later in life? I developed it as a teenager, and it was worsened significantly after a fever when I was a fresher.

Also do you get comorbid headaches with yours out of interest?
by uoaei | 2025-11-12 11:16:37+00:00
He's speaking to the entire feedforward Transformer-based paradigm. He sees little point in continuing to try to squeeze more blood out of that stone and instead move on to more appropriate ways to model ontologies per se rather than the crude-for-what-we-use-them-for embedding-based methods that are popular today.

I really resonate with his view due to my background in physics and information theory. I for one welcome his new experimentation in other realms while so many still hack away at their LLMs in pursuit of SOTA benchmarks.
by lm28469 | 2025-11-12 11:16:58+00:00
> it's a joke and we all know it.

"grab them by the pussy" -> just a joke

selling cans of beans from the oval office -> just a joke

shilling a pillow company from the white house -> just a joke

"let's march to the capitol" -> just a joke

doge -> just a joke

"give me the peace nobel price" -> just a joke

"Ukraine started it" -> just a joke

"6 gazillion percent tariff on china" -> just a joke

I rug pulled my supporters with a meme coin -> just a joke

I do obvious market manipulation to help inside traders -> just a joke

It's all so convenient...
by binary132 | 2025-11-12 11:17:56+00:00
This strikes me as all wrong. The whole point of exceptions is control flow and destructors. By getting rid of RAII for the sake of simplifying the callsite a little, the author fails to obtain the real advantage, which is automatic resource unwinding of all local resources under failure conditions both during initialization and usage.

If you want to simplify the callsite, just move the exception handling to a higher scope. I can admit it’s a little irritating to put a try/catch in main but it’s trivial to automate, and most programs are not written inline in main.

The main problems I see with destructors have to do with hidden control flow and hidden type information. That said, hiding exceptional control flow from the mainline control flow of a function is also a useful feature, and the “exception type” of any given function is the recursive sum of all the exception types of any functions or operators it calls, including for example allocation. That quickly becomes either an extremely large and awkward flat sum or an extremely large and awkward nested sum, with awkward cross-namespace inclusion, and it becomes part of the hard contract of your API. This means, transitively, that if any deep inner call needs to extend or break its error types, it must either propagate all the way up into all of your callers, or you must recover and merge that error into _your_ API.

For _most_ usecases, it is just simpler to implement a lean common interface such as std::exception and allow callers who care to look for more detailed information that you document. That said, there is a proposal (P3166 by Lewis Baker) for allowing functions to specify their exception set, including via deduction (auto):

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p31...
by HeinzStuckeIt | 2025-11-12 11:19:04+00:00
By the time the "death camps" started, Nazism’s takeover of Germany’s society was complete; peer pressure was now doing the work that initially thugs had to do. Yes, there was a resistance because there will always be people who disagree with whomever is in power, but those people where acting against the norm. Only with Germany losing the war were they rehabilitated in the eyes of Germany society at large, and initially with some grudging resistance here and there.

This is why posting about how “Nazism is objectively immoral, m’kay?" misses the point and can be counterproductive. The whole reason that fascism is a continual spectre is that, it turns out, by appealing to people’s base instincts and cracking heads, a malevolent political form can completely sidestep morality and institute the society it wants to see.
by JaredforReal | 2025-11-12 11:19:43+00:00
Hi HN,

I'm a 3rd-year software engineering student. For the past 10 days, I've been on a solo sprint to build the foundation for Loom, an open-source, event-driven OS for AI agents.

Link: https://github.com/your-username/loom

My frustration with current agent frameworks is that many are request/reply. They aren't built from the ground up for agents that need to continuously sense, reason, and act in the real world.

Loom is my attempt to solve this. It's event-driven, not request-driven.

The core is built in Rust (performance, safety, concurrency). It uses a gRPC bridge to connect to a polyglot ecosystem, starting with a Python SDK (loom-py).

The architecture (detailed in the README) is designed for production from day one, with features like:

An Event Bus with QoS levels (Realtime, Batched) and backpressure handling.

Native multi-agent collaboration (fanout/fanin, contract-net) via an Envelope metadata system.

An ActionBroker for unifying tools, including MCP (Model Context Protocol) integration.

I've gone as fast as I can alone. Now I need help to "go far."

As a student, I know I have massive blind spots. I'm posting this today to find:

Mentors: I'd be grateful for code reviews and architectural critiques from senior engineers.

Collaborators: If this vision resonates with you, I'd love to build it together.

Harsh Feedback: What's wrong with this design? What will fail?

The code is alpha, but the vision is documented. Thank you for taking a look.
by skeezyjefferson | 2025-11-12 11:19:52+00:00
I can only understand this if they were incapcitated, unconscious... I mean just kick it off, it weighs a few ounces. How does a rabbit do enough damage to require amputation of the effing leg!?! Think how small a rabbits mouth is, they dont each meat so it would take them a long time to chow down on your leg. Theyre weaker than a cat, unless its one of those massive hares, and have you ever heard a cat mauling someones leg off? I need to see either the size of this rabbit, or the size of this person.
by fingerlocks | 2025-11-12 11:21:44+00:00
It’s much more efficient to wear the densest layers closer to your body, because that’s less volume to keep warm. Most people wear wool, synthetic, or a down coat underneath the goretex.

Try doing the opposite and see it how it works. Puffy outside the goretex. This only works on very cold weather. If it’s raining it’s too warm.

Mark Twight tried to popularize this idea but it never gained popularity despite how efficient it is
by Arisaka1 | 2025-11-12 11:22:44+00:00
It's not about what the company uses, but how informed the technical people responsible for hiring candidates are around the ecosystem they claim they work with.

Example:

Expected: "Oh, you're on Linux? I heard about Rider. We use Windows and Visual Studio here for parity. You're okay with that, right?" (me: Obviously, tools are tools)

Actual: "Does .NET run on Linux? What is Rider?"

I mean, .NET has been running on Linux since forever now (11 years according to https://news.ycombinator.com/item?id=9459513, let's say about 9 for stability because I feel generous). How do they not know about it?
by GistNoesis | 2025-11-12 11:22:45+00:00
TLDR : 1B particles ~ 3s per iterations

For examples like particle simulations, on a single node with a 4090 GPU everything running on GPU without memory transfer to the CPU:

-The main bottleneck is memory usage : available 24GB, Storing the particles 3 position coordinates, + 3 velocity coordinates, 4 bytes by number (float32) = Max 1B particles

-Then GPU memory bandwidth : if everything is on the GPU you get between 1000GB/s of global memory access and 10000GB/s when shared memory caches are hit. The number of memory access is roughly proportional to the number of effective collisions between your particles which is proportional to the number of particles so around 12-30 times ( see optimal sphere packing number of neighbors in 3d, and multiply by your overlap factor). All in all for 1B particles, you can collision them all and move them in 1 to 10s.

If you have to transfer things to the CPU, you become limited by the PCI-express 4.0 bandwidth of 16GB/s. So you can at most move 1B particles to and from the GPU, 0.7 times per second.

Then if you want to store the particle on disk, instead of RAM because your system is bigger, then you can either use a M2 ssd (but you will burn them quickly) which has a theoretical bandwidth of 20GB/s so not a bottleneck, or use a network storage over 100Gb/s (= 12.5GB/s) ethernet, via two interfaces to your parameter server which can be as big as you can afford.

So to summarize so far : 1B particles takes 1 to 10s per iteration per GPU. If you want to do smarter integration schemes like Rk4, you divide by 6. If you need 64 bits precisions you divide by 2. If you only need 16bits precisions you can multiply by 2.

The number of particle you need : Volume of the box / h^3 with h the diameter of the particle = finest details you want to be able to resolve.

If you use an adaptive scheme most of your particles are close to the surface of objects so O( surface of objects / h^2 ) with h=average resolution of the surface of the mesh. But adaptive scheme is 10 times slower.

The precision of the approximation can be bounded by Taylor formula. SPH is typically order 2, but has issues with boundaries, so to represent a sharp boundary the h must be small.

If you want higher order and sharp boundaries, you can do Finite Element Method, instead. But you'll need to tessellate the space with things like Delaunay/Voronoi, and update them as they move.
by BrandoElFollito | 2025-11-12 11:23:15+00:00
I am not sure either if this is the right advice, this is just my view over a convoluted 30+ years career. I have two children who are in the middle of their studies now and I had the same concerns suggesting a path.

I will try to expand a bit.

There are manual jobs that are very interesting and work well until 40-50 years old.

An example is physiotherapy, where you can concentrate on more dynamic activities when you are young, and move to softer ones later. With the demographics in Western Europe, you are good.

Another one is electrician: it is constantly evolving, with major shifts such as home automation and it is reasonably physical (the added value is that you do not keep a static position for the whole day).

Importantly, none of the above is at risk with AI or shifts in the market. You always need people to help you physically and you always need electricity. On top of that these jobs are regulated so you can't be short-cut.

One of my kids is going this way and it is great.

The other one is in Finance, in the best and most competitive school in the world. I see his future as bleak, something I would not have even thought 30 years ago.

He will live in slavery for 5-10 years, doing insane hours and without a social life at the moment when it counts the most. He will make heaps of money, without real opportunities to spend it. And he realizes that.

As I said, 30 years ago it was unthinkable, at least in my country. A diploma from that elite school was the real way to everything. Your year mates where the future ministers, president, head of national or international institutions. And the weird few who would go for NGOs.

All this means that any advice a 50yo will give is heavily impregnated with their past and that past (which was their future when they were young) is fundamentally different from the future of current youngsters. We do not live in an era of fundamental changes as we did in the 90s.
by potato3732842 | 2025-11-12 11:23:44+00:00
I'm talking engineering teams supporting already fielded equipment.

They just "know things" like which basically free tweaks ought to be made as a result of knowledge gained from the assembly being in the field. They don't stand to gain from the product being crap. Most of the fixes are basically free BOM tweaks that don't really matter but provide incremental improvements/refinements if made and the cumulative nickels and dimes really do add up.

The paper pushers on both sides that will do many rounds in order to make that happen are the only people benefitting from the make-work here as does anyone who skims their existence off of the paper pushers.
by kannanvijayan | 2025-11-12 11:24:05+00:00
> That’s just propaganda. If we didn’t have due process, Donald Trump would be in jail.

Well your country does still offer its protections for the wealthy and powerful. It's just regular people have less of it than we do in freer countries.

> Or, if you think he’s the reason we lost it, half the Biden administration would. The idea that the legal system has somehow melted down in the last nine months is just scaremongering.

I see this as coping, to be honest. Americans simply have been told that they are the vanguard of freedom for so long that they cannot imagine a world where their freedom is somehow lesser than others.

But as someone who grew up in America and emigrated out, I can tell you for a fact that Americans are less free than Canadians.

On average, the Canadian government gives itself less of a leeway to abuse people.

If you insult a police officer in America, that officer can abuse you and take away your rights and the probability of consequences for that officer is far lower than the probability in my country.

My country doesn't have a constitution that protects me from unreasonable searches and seizures, but yet, Americans have less protections from unreasonable search and seizure despite their constitution - due the loophole of civil forfeiture.

In your country, your government can pass a law to criminalize you, and then that makes it legal for the government to turn you into a slave. That's not allowed in my country.

Speedy trials in your country are only reserved for the rich.

Americans simply have less freedom than the rest of the first world. It's extremely hard for them to accept because of the propaganda they've been subject to.

But as someone who grew up all over America, and has seen and lived and experienced more of it than most Americans, I know for a fact that they are wrong.

If you don't have the money to pay for freedoms in America, you have far fewer than someone from my country does.
by SparkBomb | 2025-11-12 11:24:15+00:00
> Why would they insist on using Visual Studio?

They don't even know Rider exists a lot of the time. It is also quite different visually compared to Visual Studio code.

A lot of places have never used Linux at all and if they have they have it would be WSL or some RHEL box. So if you are screen sharing Gnome and with a totally different IDE and Terminal the person assessing you might not actually understand what you are doing.

> At least you can run SQL Server easily on Linux using docker.

1) They normally want you to use something like SQL Server Compact or SQL Server Express and a specific version. TBH I just don't bother anymore with these interviews because it takes like a couple of hours to get all this stuff working on Windows.

2) SQL Server Projects can only be used on Windows with Visual Studio. Some places do a lot of stuff "old school" and they want you to use that.
by metadata | 2025-11-12 11:24:50+00:00
A bit off-topic, bit hiring exceptional .NET developers is like searching for a needle in a haystack. Way more people have a ton of experience with JS and marginal experience with .NET, just writing very basic API endpoints - yet claiming serious experience.

If you came to me for an interview, your story would have been a breath of fresh air. So maybe try to mention it anyway, someone will be interested.
by happymellon | 2025-11-12 11:25:23+00:00
> Where I work the formatter is the final arbiter of formatting code.

And I'm fine with that.

Consistency is key for readability, code is read more than written, legacy code is code that people can't read anymore and want to start again, and most of the changes people want to make aren't standard making it harder for new team members to read the code.

Install Black, Prettier, Spotless, and move on.
by gdiamos | 2025-11-12 11:25:27+00:00
Transmeta made a technology bet that dynamic compilation could beat OOO super scalar CPUs in SPEC.

It was wrong, but it was controversial among experts at the time.

I’m glad that they tried it even though it turned out to be wrong. Many of the lessons learned are documented in systems conferences and incorporated into modern designs, ie GPUs.

To me transmeta is a great example of a venture investment. If it would have beaten Intel at SPEC by a margin, it would have dominated the market. Sometimes the only way to get to the bottom of a complex system is to build it.

The same could be said of scaling laws and LLMs. It was theory before Dario, Ilya, OpenAI, et al trained it.
by tdeck | 2025-11-12 11:25:55+00:00
It is kind of vague IMO. Especially since most of the actual NTP infrastructure is run by governments, universities, and companies.

https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94...

But..it's $1k. This is basically pocket change on an institutional level. I've been part of some very scrappy and poorly funded community organizations and even they took in more than $1k every year. Even if you don't believe NTP maintainers should be paid anything for their work (an opinion I don't hold), it's trivial to spend this amount on modest everyday expenses like renting a venue a couple of times, buying insurance, and paying for hosting and technical resources.

EDIT: Here is their 2024 tax return

https://www.nwtime.org/about/documents/2024_NTF_IRS_990.pdf

It looks like they took in more than $200k and spent $100k on "contract services" (I can't tell what that means) and somewhat modest amounts on other things. Unfortunately I need to exit the rabbit hole now.
by Orygin | 2025-11-12 11:26:07+00:00
It doesn't if you report lots of "security" issues (like this 25 years old bug) and give too little time to fix them.

Nobody is against Google reporting bugs, but they use automatic AI to spam them and then expect a prompt fix. If you can't expect the maintainers to fix the bug before disclosure, then it is a balancing act: Is the bug serious enough that users must be warned and avoid using the software? Will disclosing the bug now allow attackers to exploit it because no fix has been made?

In this case, this bug (imo) is not serious enough to warrant a short disclosure time, especially if you consider *other* security notices that may have a bigger impact. The chances of an attacker finding this on their own and exploiting it are low, but now everybody is aware and you have to rush to update.
Ask HN: How does one stay motivated to grind through LeetCode?
by blutoot | 2025-11-12 11:26:33+00:00
I was recently laid off at a big tech company after 10 years. And now I am facing the harsh reality of trying to crack leetcode medium/hard problems (something I never managed to do routinely while I was working at this company). Is anyone here in a similar situation or has been in one? If so, how do you keep yourself motivated to solve multiple problems a day, especially knowing you are actually never going to work on such problems as part of an actual job?

Edit: I need to practice leetcode because the interview process for almost every software engineering role (especially in the Bay Area) seems to require going through at least one round of coding challenge based on leetcode medium/hard problem. I did not call it out earlier because I thought this is a very obvious point. Perhaps, I should have clarified that I am mostly targeting software engg roles.
by hshdhdhj4444 | 2025-11-12 11:27:29+00:00
> It's just .NET that's largely ignored for no real technical basis.

As someone who has been developing primarily on .Net for the past decade this is absolute bullshit.

1. It’s only very recently that .Net became open source. Until then you would frequently hit issues where the only option was to rely on the few support calls you got with MS engineers with your $1000+ Visual Studio subscription to move forward. And believe me, this isn’t a pleasant way of debugging. 2. It’s only recently that .Net became cross platform. Until recently .Net meant you had to pay far more money for windows servers, get far less performance, and open your application to way more security issues. And when things broke they broke in highly inscrutable ways. 3. It’s still not a great platform. If you’re deploying on Windows, there are still things you will want to do that will require windows registry changes. 4. It’s only recently that the transition to an open source/cross platform framework has stabilized. Until now you had to deal with MS alphabet and naming goop, an absolutely muddy roadmap, and if you ever got thrown into a project you’d end up finding yourself in a mess of varying conventions, project types, incompatibilities, etc. 5. You know all those performance improvements they’re delivering with every release? There’s a reason for that. Until recently performance was so bad. Kestrel alone provider at least an order of magnitude of improvement. 6. Thank the lord for Jetbrains but other than them, to do proper .Net development you need to use Visual Studio. And Visual Studio is not a pleasant IDE or development environment at all.

There were a lot of technical reasons to not adopt .Net. Even today there’s the problem of MS losing interest or making the wrong choices and there being basically no alternative, because unlike even Java, the .NET ecosystem is completely dependent on what MS does.
by autoexec | 2025-11-12 11:28:49+00:00
I'm not sure why they'd try so hard to keep bots from paying them anyway. If someone wants to write a bot that constantly pays me good money I'm fine with that. I might rate limit it if the stream of payments coming in can't cover the cost of keeping the server from being DoS'd, but that's not going to inconvenience a human trying to submit a payment one time.