MurphyA/hacker-news huggingface dataset:
by fykem | 2025-07-25 07:42:51+00:00
Nothing but delusion. Time to throw a wrench into this party.

1. The estimates are never accurate; after subsidies dry up expect 50-200%.

2. I will buy used before I buy new to cut costs.

3. American manufacturing is trash; I will never buy GM/Ford/Chrysler/Tesla; no matter how much you try to force me to. Intel falls into this category. I'm supposed to just accept on faith that building a tsmc fab in the US is going to "just werk"? Nah.

4. I don't care if it's "Made in America"; what I care about is price to quality and performance ratio. Which as we all know the Americans have gave up on (ahem Ford and only manufacturing trucks, etc). Intel has been getting it's asshole rocked the past couple years and it has home field advantage.

5. I care what Linux runs; and if China and RISC-V take off and are lower price point I'll buy that before I spend anything on US "American made chips".

6. I don't care about "ccp bad"; fuck off with your propaganda. You realize Taiwan is an island state of China right? Seems like good idea to let them setup shop in US? Good job you played yourself.

7. The "rare earths" to make these chips come mostly from China. China will counter like they already have screwing over Micron and Intel (and soon tsmc).

8. Apple will mark up whole price; not just chip price. The consumer will pay for the entire shift of the supply chain not just the cost to manufacture. Even in best case of 5% your 2,000 laptop is now minimum 2,100; yea, the average American can afford that... People can't even afford to eat fast food anymore and some idiots in here think they can pay more for something they don't give a shit about? Lol

9. You first; just like with the idiots that bought Teslas (which are the lowest and worst in quality of all cars manufactured). Meanwhile I'm still driving my second car (Japanese btw) after having bought in 2019 (and the one before lasted 20 years).

10. This reeks of the anti Honda shit I would see during 2008 PvP of US auto industry because they failed to innovate. And guess what no propaganda saved them and they still can't compete in the market.

11. Intel is on life support, and tsmc is supposed to what...?

Like I said it's nothing but delusion.
by jclulow | 2025-07-25 07:43:21+00:00
This isn't an inherent property of ZFS at all. I have made heavy use of SQLite for years (on illumos systems) without ever hitting this, and I would never counsel anybody to disable sync writes: it absolutely can lead to data loss under some conditions and is not safe to do unless you understand what it means.

What you're describing sounds like a bug specific to whichever OS you're using that has a port of ZFS.
by dev_l1x_be | 2025-07-25 07:43:24+00:00
F# does that too.

> .NET has similar problems

s/has/had/

https://blog.washi.dev/posts/tinysharp/

The issue is that some people still fighting against the concepts ML family languages (primarily SML) introduced. Go implemented go routines and channels from CSP (https://en.wikipedia.org/wiki/Communicating_sequential_proce...) but dragged a lot on influence from C (understandable) into the language.

I think Rust opted for the best combinations (some CSP, a lot of ML and a bit of C++).
by danw1979 | 2025-07-25 07:44:38+00:00
My experience of interacting with people who have Down’s syndrome is that they are especially outgoing, preternaturally friendly and just generally lovely to be around.

I’m not arguing for either side of the treatment/screening debate here, but vehemently against an apartheid-like view on how people with disabilities should be treated, i.e. not as outcasts but as fellow humans.
by abenga | 2025-07-25 07:45:19+00:00
That's an opinion (a wrong one IMO, but you do you). It's hard for me to comment because when I tried using Fedora (maybe 15 years ago, tbh) I couldn't even play MP3s out of the box, so I never revisited it.

I also left Ubuntu because of their shenanigans, but if your code cannot run on Debian, your code is shit.
by wahern | 2025-07-25 07:45:44+00:00
> at giving work out to multiple cores once the IO finishes

The IO (read, write) doesn't need to finish, just the poll call. That's a very different thing in terms of core utilization, and while it's technically a serialization point, it's not the only serialization point in Go's architecture; it falls out from Go having a single, global run queue, requiring all (idle) threads to serialize on dequeueing tasks.

But thank you for pointing that out. TIL, there's a single epoll queue for the whole Go process: https://github.com/golang/go/issues/65064
by jraph | 2025-07-25 07:46:12+00:00
> Organic Maps - Open Source navigation (not as good as proprietary ones though)

Note that a community fork done by some core contributors was just spawned: CoMaps [1]

> K9 Mail / FairMail - Mail client

And now there's Thunderbird, which is branded version of K9 Mail IIUC (I don't know if there's any reason to switch from K9 Mail to Thunderbird for existing users)

[1] https://f-droid.org/en/packages/app.comaps.fdroid/
by isodev | 2025-07-25 07:46:14+00:00
You're getting downvoted but I fully agree. The problem with Swift's safety has now moved to the tooling. While your code doesn't fail so often at runtime (still does, because the underlying system SDKs are not all migrated), the compiler itself often fails. Even the latest developer snapshot with Swift 6.2 it's quite easy to make it panic with just... "weird syntax".

A much bigger problem I think are the way concurrency settings are provided via flags. It's no longer possible to know what a piece of code does without knowing the exact build settings. For example, depending on Xcode project flags, a snippet may always run on the main loop, or not at all or on a dedicated actor all together.

A piece of code in a library (SPM) can build just fine in one project but fail to build in another project due to concurrency settings. The amount of overhead makes this very much unusable in a production / high pressure environment.
by muzani | 2025-07-25 07:46:15+00:00
They're called boomers because there was a population boom. It was the era of contraceptives, where we thought we would run out of food.

Lagging indicators always seem to throw people off, especially one that takes a whole generation. China had an overpopulation problem and now they're facing a different kind of population problem as back then Chinese would opt for only one male child.

Longer lifespans and overpriced education led to other kinds of problems that took decades to kick in. It's really hard to model this in.
by cyberax | 2025-07-25 07:46:35+00:00
> Mass transit is what allows human-oriented city design.

What exactly is "human" in dense human anthills with 30-story towers?

> Individual traffic requires car-centric, human-hostile design.

Cars have people inside them. And unlike buses, cars allow people to have much more living space, cars are available at any time of day and night, you don't have to wait for a car for 30 minutes, etc.

Cars are human-friendly! Far more so than ANY other transit mode.

And cities should be built for humans, not for transit and bikes.
by spankalee | 2025-07-25 07:46:45+00:00
Synchronous XHR is a really bad way to do this. The performance will be terrible for anything but the smallest module graphs.

But the TypeScript compiler API is synchronous, so there's a problem.

What you want to do is asynchronously walk the import graph, resolving import specifiers along the way with something like es-module-lexer or TypeScript's light parser, then when all the input files are collected, pass them through a compiler host to the compiler.

This is what the Lit team's Playground Elements do, which compile files on a worker for embeddable interactive code samples: https://github.com/google/playground-elements
by moomoo11 | 2025-07-25 07:47:10+00:00
Not really.

Is it really value add to my life that I know some detail on page A or have some API memorized?

I’d rather we be putting smart people in charge of using AI to build out great products.

It should make things 10000x more competitive. I’m for one excited AF for what the future holds.

If people want to be purists and pat themselves on the back sure. I mean people have hobbies like arts.
by dev_l1x_be | 2025-07-25 07:48:33+00:00
> But I struggle to be as productive

You should calculate TCO in productivity. Can you write Python/Go etc. faster? Sure! Can you operate these in production with the same TCO as Rust? Absolutely not. Most of the time the person debugging production issues and data races is different than the one who wrote the code. This gives the illusion of productivity being better with Python/Go.

After spending 20+ years around production systems both as a systems and a software engineer I think that Rust is here for reducing the TCO by moving the mental burden to write data race free software from production to development.
by rachofsunshine | 2025-07-25 07:49:09+00:00
What makes Goodhart's Law so interesting is that you transition smoothly between two entirely-different problems the more strongly people want to optimize for your metric.

One is a measurement problem, a statement about the world as it is: an engineer who can finish such-and-such many steps of this coding task in such-and-such time has such-and-such chance of getting hired. The thing you're measuring isn't running away from you or trying to hide itself, because facts aren't conscious agents with the goal of misleading you. Measurement problems are problems of statistics and optimization, and their goal is a function f: states -> predictions. Your problems are usually problems of inputs, not problems of mathematics.

But the larger you get, and the more valuable gaming your test is, the more you leave that measurement problem and find an adversarial problem. Adversarial problems are at least as difficult as your adversary is intelligent, and they can sometimes be even worse by making your adversary the invisible hand of the market. You don't live in the world of gradient descent anymore, because the landscape is no longer fixed. You now live in the world of game theory, and your goal is a function f: (state) x (time) x (adversarial capability) x (history of your function f) -> predictions.

It's that last, recursive bit that really makes adversarial problems brutal. Very simple functions can rapidly result in extremely deep chaotic dynamics once you allow even the slightest bit of recursion - even very nice functions like f(x) = 3.5x(1-x) become writhing ergodic masses of confusion.
by tialaramex | 2025-07-25 07:49:12+00:00
You can tell the compiler that you want your crate to perform the checks regardless.

https://doc.rust-lang.org/cargo/reference/profiles.html#over...

You can also either (in nightly Rust) use the strict APIs which make it explicit that you want the overflow panics, or, (stably) use the checked APIs and then do whatever makes sense, which could include explicitly panic when overflow would happen unexpectedly.

This would let you have e.g. code where most arithmetic is checked, but a tight inner loop you're pretty sure won't overflow only has checks in debug (in release it will wrap, but you should not rely on that for correctness, unintended overflow is a bug)
by edanm | 2025-07-25 07:49:17+00:00
I'm going to push back on this a bit, though I agree with some of the sentiment.; to the average person wanting to lose weight, I think the best advice is obviously to eat less via whatever diet works for them (I personally recommend counting calories, but it's not for everyone).

That said, you write:

> Yes, and there are few such people. Extensive athletic physical activity, becoming an athlete, are at odds with working an office job.

First of all, office jobs are probably dominant in the industry, but there are still lots of jobs that aren't office jobs, and you seem to be excluding all of those.

Secondly, I know plenty of people with demanding careers (e.g. doctors), with kids, who nevertheless train for marathons and run almost every day. There absolutely are people who exercise enough to make a meaningful difference to their caloric expenditure.

> It absolutely is useful. Becoming an athlete or doing extensive athletics takes a huge time commitment. Eating less does not.

I'll reiterate that I agree with this and this is the correct advice for someone who wants to start losing weight. I just wouldn't discount the many people who do also exercise to the point of it making a difference.
by rerdavies | 2025-07-25 07:49:38+00:00
On the other hand, enregistered value access is free; and L1 cache is .. what.. 2 cycles?

But you're right. It's hard to come up with enough computing to interleave with the actual expensive part, which is accessing memory. Even L2 cache isn't really fast enough to not be a bottleneck for typical vectorized operations.

If you look at TPU architectures, the the general pattern is: fast local large L1-cache-grade memory, preferably multi-ported, or multi-banked. Plus compute (whatever). The important bit being the memory architecture, not the compute. Plus blistering fast communication between cores over which results get streamed at speeds that are still not really fast enough.

Interestingly, I sat in on architecture meetings three decades ago, where Intel architects were privately telling us: "compute doesn't matter any more; it's all about memory speed".
by pjc50 | 2025-07-25 07:49:43+00:00
> Is the demand for control so much greater than the demand for money combined with providing a public good?

Yes. Also the current administration is hostile to public goods as a concept.

The politics around this is very weird. The US is basically regularizing "stablecoins" as electronic dollar-proxies while banning central bank digital currencies which the Fed has never planned to do. Basically to ensure all the profit and privacy risks stay in the private sector.
by ozgrakkurt | 2025-07-25 07:50:23+00:00
There is a psychological method that I found to be very helpful. Thinking of companies that sell packaged foods as your adversary.

They want to take your health, make you addicted to what they are selling and also take your money. Not very different from a drug dealer.

When in this mindset, avoiding these things feels like winning and taking care of myself, don’t need to worry about if sugar is really bad or if eating these things is normal. Or if I deserve a treat after working hard all day etc.

After some time I just keep winning and losing weight and don’t really have any cravings to eat bad “food”.

And fruit tends to be cheaper than packaged food too.
Ask HN: How to Get Started with RAG?
by mettamage | 2025-07-25 07:50:25+00:00
At my job I'm currently hooking up code to the APIs of LLMs. Just some Python and some common sense, really. In my scripts, the LLMs have access to certain Python scripts that call certain APIs to get more data and I put that back into the prompt so it can reason on it (the data is simple enough for an LLM to be able to do that).

And I've noticed there are some projects coming up where people want a "knowledge base". That to me sounds like they need RAG as that's a lot more data and you can't just put that into the prompt/context anymore. But I don't really know much about it other than some basic principles.

So how do I get started on learning how to extend such a system with RAG?
by _vere | 2025-07-25 07:51:19+00:00
This is just conspiratorial fearmongering based on vibes. If pixels somehow phoned home on a hardware level, do you think we wouldn't be able to tell? Do you think we wouldn't see it in our network logs? GrapheneOS supports pixels because they are currently the only devices that fulfill their list of requirements, like an actually usable secure element, hardware memory tagging, etc. They have said and continue to reiterate that they would support other devices that fulfill their requirements and seem to be currently looking into working with OEMs to move away from pixels in the long term. Just saying "you claim to degoogle phones yet the phone you use is a GOOGLE pixel, suspicious" is baseless nonsense.
by idoubtit | 2025-07-25 07:51:56+00:00
MDN is obviously an important reference. They've done a great job, because documenting the complex mess of modern web technologies is hard.

I have 2 small complaints:

- I sometimes read some dubious content on MDN. For instance [JavaScript frameworks and libraries]^1. I don't think these tutorials for 5 frameworks provide any value over the respective official tutorials. Even more so with outdated tutorials: the Svelte one is 5 years old, and there have been major changes since then. ^1: https://developer.mozilla.org/en-US/docs/Learn_web_developme...

- The quality of the webextension doc is low. A clear problem is that it's mostly for manifest v2, with a few incomplete pages mentioning a transition to v3 or the compatibility with Chrome. In practise, I started developing an webextension with this doc, then had to switch to Chrome's, though Firefox was my primary target.
Ask HN: Good Starting OS for Children?
by kqr | 2025-07-25 07:52:30+00:00
My oldest child is now reading without incommensurable effort, and this is the time I imagined I would introduce computers to my children.

I have in my mind the idea that I start them off from an offline barebones command-line interface, and then we gradually learn file management and maybe other things in that environment while it is still shiny. At some point the child is familiar enough with the computer that we install X or Wayland or whatever it may be. This is mainly in order to start them off in a fairly safe environment until they have shown they are able to handle more.

The questions I have are:

(1) Is this a good idea? I'm aware they'll probably run into Windows as soon as they enter elementary school, but I'm not too concerned they'd fall behind their peers.

(2) Which OS would be a good fit? I had my sights set on NetBSD at first, but then I learned its non-graphical interface does not support Unicode, which is probably a dealbreaker since our native language uses non-ASCII characters.[1]

I'm still leaning toward a BSD because it would be more of a complete, stand-alone operating system than a Linux distribution, but I'm willing to be convinced otherwise.

[1]: Not that I'm planning to localise the OS, but I suspect we'd start off creating files with little messages in our own language.
by NitpickLawyer | 2025-07-25 07:52:43+00:00
True. And it's even worse than that, because each test probably gets "talked about" a lot in various places. And people come up with variants. And those variants get ingested. And then the whole thing becomes a mess.

This was noticeable with the early Phi models. They were originally trained fully on synthetic data (cool experiment tbh) but the downside was that GPT3 / 4 was "distilling" benchmarks "hacks" into it. It became aparent when new benchmarks were released, after the published date, and there was one that measured "contamination" of about 20+%. Just from distillation.
The missing analytics platform for landing pages. What do you think?
by coursecrumbs | 2025-07-25 07:53:03+00:00
Hi everyone!

For a long time, I noticed a big problem with generic analytics platforms: they only give you insights for the whole website or a single page, but they don’t show how each individual block of your page performs.

So, I built a platform that gives you detailed metrics for every block on your page:

- How many clicks each block gets - How many people leave from a specific section - How much time visitors spend in each section

On top of that, it lets you compare different versions of your page so you can clearly see how any changes affect the performance of the whole page or specific sections.

What do you think?

You can check it out here. It is free now: https://landlift.io
by xdennis | 2025-07-25 07:53:06+00:00
> The credit card duopoly is another instance where the EU has done a good job with regulation, [...] In the EU, card payment fees are capped at 0.2% for debit cards

No it hasn't. The right cap is 0, like in Brazil. It doesn't make any sense to have 0% payment fees on cash and 0.2% on cards. Cash is easier to fake.

It also doesn't make any sense to be a percentage. It takes the same number of bits to transport the number 10000 as it does to transport the number 10.

Even 0.2% is essentially just a privatized tax.
by edanm | 2025-07-25 07:53:27+00:00
> The amount of mental gymnastics performed by these guys to justify hilariously stupid physical decisions is simply colossal.

This is a very ungenerous and incorrect take.

It is their prerogative to decide what outcome they want to maximize when it comes to their own body. I don't think any bodybuilder is under the delusion that they are particularly healthy when on the bodybuilding stage - they're not trying to be healthy, they're trying to win a specific competition with specific rules around it.

You might not like their goal or think it's stupid, but they are making the correct decisions for the outcomes they care about, and there's nothing wrong with caring about different things.
by aglobalstory | 2025-07-25 07:53:44+00:00
A Global Story — Add Your Voice in Just 3 Words A Global Story is a living, breathing collection of tales written by people across the world... Three words each at a time. It’s simple. It’s creative. It’s strangely addictive. You don’t need to be a writer. You just need three words and a spark of imagination. Watch each story grow, twist, and transform—one person, one line at a time. When one ends, a new one begins. Join the movement. See where the stories take us. www.aglobalstory.com #AGlobalStory #CreativeWriting #WritersOfTheWorld #3WordsADay #GlobalCreativity #StorytellingTogether
by gf000 | 2025-07-25 07:53:51+00:00
Calyx has lackluster security practices, and even removes signature checking so they can sell microG as Google Play Store to apps. This is an objective statement, graphene OS is leagues ahead of anything on the market in terms of security, while calyx is basically just a custom ROM to tinker with.

As for the personal aspect, the lead developer is definitely not the best representative of the project from a communication perspective as he might not have that kind of social skills (based on his posts). [1]

But he (Micay) is an excellent security researcher, and has an excellent track record when it comes to prioritizing his users. There was a sponsorship in the beginning, where the legal entity, CopperheadOS tried to hijack the whole project. But Micay rather kill the project, than let the users' security suffer and revoked the signing keys. And I'm sure such a betrayal would cause anyone to lose a lot of faith in others' actions.

> Give that person root

Complete bullshit, what root?! And if anything, you are the one who are trying to discredit a project here, by sharing some dumb clickbait video.

[1] I see that there is now a project manager doing most of the communication, which is an excellent solution!
by ofalkaed | 2025-07-25 07:54:07+00:00
From what I can tell the mental gymnastics are leaning how to think in terms of Forth instead of how to think in terms of the stack, which is the stack effect and not the stack itself. You only think about the stack itself with your base words (when stack and stack effect are essentially the same), after that it is the stack effect; a single word may push and pop thousands of times but you don't need to think about that, just make sure that it leaves the stack (or stacks) in the state you want it (them). Once you have built up a few layers from the base words I find it more like having a single variable which you store the current state in than a stack, so functional stateless programming but with a tiny dash of state?

There are mental gymnastics but they are far from useless and not just thinking in terms of the stack. I don't quite have it down yet but I am getting closer and can see the sense in it, I haven't quite figured out how to plan and structure a program in Forth.