MurphyA/hacker-news huggingface dataset:
DTN in Rust
by ray-gee | 2025-06-24 13:10:49+00:00
I just released [`sdtn`](https://crates.io/crates/sdtn), an open-source implementation of Delay/Disruption Tolerant Networking (DTN) based on RFC 9171.

It aims to provide a minimal, practical DTN node capable of: - Bundle transmission over TCP (CLA) - CBOR-encoded bundles - ACK-based delivery confirmation - Expiration and cleanup of bundles - CLI-based control and debugging

The goal is to extend this foundation to support BLE, LoRa, and dynamic routing for environments with intermittent connectivity—such as space, remote areas, or disaster recovery scenarios.

GitHub: https://github.com/Ray-Gee/spacearth-dtn Docs: https://docs.rs/sdtn

Feedback and discussion are very welcome!
by gcanyon | 2025-06-24 13:10:51+00:00
This has to be judged against the alternative, which is… I’m not sure in many cases. As just one example, think about how much more of a pain it is to package/ store/ transport/ consume milk in bottles compared to plastic. Of course there’s also paperboard — I think (I Am Not A Packaging Expert) milk is actually easier to handle with noon-plastic than many other foods. Consider what it would mean to avoid plastic for selling meat I think that means going back to individually prepared paper packages, which would be much more expensive.

This is not to say it might not be worth it in some cases, just that it is a trade-off, and plastic is remarkably good at what it does.
by kbolino | 2025-06-24 13:11:46+00:00
If you own the computer, you can enroll your own keys and sign any operating system you want. The UEFI vendors don't necessarily make this easy to do, nor do they support it in a consistent way, but it's there. Of course, Microsoft has no incentive to make this any easier, since their keys come preloaded on every computer.

The primary function of Secure Boot is to protect against bootkits. In a way, you're right, because for most desktop/laptop computers, a bootkit is indeed a "non-Windows operating system" that shouldn't be allowed to run. It's hard to get clear numbers on how prevalent bootkits actually are, but they're not purely theoretical. They can also be chained into compromising the UEFI and peripheral device firmware. So there's a real security threat being addressed by Secure Boot. Whether it should be required or not is really about the question of where the responsibility boundary between Microsoft and the end user lies.
by nottorp | 2025-06-24 13:12:13+00:00
> much more easily bypassed without TPM and secure boot

How does secure boot help against a browser vulnerability exploitation? Especially on Windows?

And if we're talking local attacks, there's always the $5 wrench to bypass the TPM.

> force-dragging their manufacturers and customers into 2010s era security is long overdue.

Spoken like someone who gets the newest tech toy without having to think if they can afford it. How much are your lattes?
by jongjong | 2025-06-24 13:12:26+00:00
Of course, in a world where we support corrupt legal concepts such as 'limited liability', this kind of thing was bound to happen and guaranteed to get worse.

I propose a new model; 'total liability'.

Every time something bad happens, you identify every person who contributed to the harm, calculate each person's liability and they have to pay. If some of the culprits cannot be identified, then the remaining culprits who can be identified have to absorb the unallocated liability... Not allocating full liability to people who do harm is akin to allocating it to everyone, including those who played no part in the harm. This is immoral and creates perverse incentives for continued harm.

For example, someone discards an empty plastic Coca Cola bottle on the ground in a public park, the person is fined maybe 95% but 5% of the fine is directed to the Coca Cola company for having made the decision to make the bottle out of plastic instead of tin or glass; thus being complicit in the harm. The money for any harm done, by any entity should go directly towards UBI and be paid out equally to all citizens.

The government could also use statistics to fine companies based on reasonable estimates of current harmful practices. For example, how much damage is microplastics causing in terms of medical costs globally? Make a list of all companies responsible, fine each one proportionally to their contribution to the harm.

People should be paid for identifying, reporting and successfully proving harmful practices (they deserve a commission, like a lawyer).

Identifying and reporting problems adds value to society and should be rewarded.

The majority of the proceeds should go to UBI. Why UBI? Because diffuse harms require diffuse remedies. It's not possible to award damages for widespread harm in a fair, non-corrupt way, so distributing to all citizens equally is the best approach. It's not perfect, but people know how to count and it's easier to identify and prove fraud if the rule is simple like 'each person gets the same amount of UBI'.
by RHSeeger | 2025-06-24 13:13:41+00:00
> Cultivating and cooking food is what allowed us to do everything since.

To repeat what I said before, more clearly

- Growing and cooking food is currently profitable.

- Growing and cooking food _a certain way_ is not profitable

- Growing and cooking food is a foundational discipline of humanity

- Growing and cooking food _a certain way_ is _not_ a foundational discipline of humanity

You specifically quoted a subset of what I said and called it out as wrong. Which is true, but also irrelevant; because it's not what I said.
by simianwords | 2025-06-24 13:14:02+00:00
This doesn’t track at all. I’m not an expert but from what I heard startups are moving away from Europe not the other way round. It does seem to be a political or lifestyle choice as a sibling comment pointed out.

Edit: I mean ideological not exactly political choice.

>I have felt a kind of dissonance with my home country of the United States for a long time now, and I have found it very difficult to resolve. I am not of one mind with my peers in this country on many issues; social, economic, and political. Even limiting this inquiry to matters related to FOSS, it’s quite clear that the FOSS community in Europe is much stronger than in America. In the United States, capitalism is the secular religion, and my values, in FOSS and otherwise, are incompatible with the American ethos.

Seems ideological to me.
by komali2 | 2025-06-24 13:14:13+00:00
I think projects like this are really cool, and I think "oh cool, I should get this sustainable phone." But then I remember that there's a bajillion phones in perfectly acceptable condition in secondhand shops around the globe, and probably the most sustainable thing I can do is just only ever buy secondhand phones for the rest of my life. Honestly the globe could probably survive a couple years on secondhand phones alone if everyone stopped making new ones.
by mrweasel | 2025-06-24 13:14:16+00:00
Part of it seems to simply because the owner moved[1] and it makes sense to move his company with him. Given that Source Hut have physical hardware and operating that from across the ocean probably gets tiresome pretty fast it also makes to move the hardware. So now the owner, and the hardware is in Europe. At that point you kinda have to live be the local rules anyway and having your business being a US business makes little sense and provides no actual benefits.

1) https://drewdevault.com/2021/06/07/The-Netherlands.html
by simoncion | 2025-06-24 13:14:37+00:00
Android is nearly always a single user system in the sense that TheDong was using. Look at the context a little further down in the guy's comment:

> Like, I'm the only user on my laptop. If you get arbitrary code execution as my user, you can log my keystrokes, steal my passwords and browser sessions, steal my bitcoin wallet, and persist reasonably well.... and once you've stolen my password via say keylogging me typing `sudo`, you now have root too.

In this context, "single user system" means either "single human using the system", or "one human physically sat in front of the system's 'console' at one time". It's in contrast with systems that have multiple human users logged in and using the system simultaneously. So, nearly 100% of "single user systems" of this type will have software running under different "user" accounts on the system, but still meet the definition, because those accounts are actually "machine" or "service" accounts.

I do think that this overload of the terminology is bogus and confusing. It should be called something like "single seat system", but here we are.

> Android security is tight

Yep. That's what I said: "[I]t's my understanding that Android does bother to fairly properly sandbox programs from each other... so an escalation to root would actually be a significant gain in access."
by api | 2025-06-24 13:15:08+00:00
> Female/LGBTQ characters are inserted into places where it doesn't make sense to fill quotas

Every case of "ruined by woke" I have seen ultimately just boils down to bad writing, with people blaming "woke" for it when, well, it's just shitty writing. If you ignore the woke stuff and look more broadly usually the whole thing is at best mediocre.

Also sci-fi, fantasy, and horror have always been "woke." Star Trek was one of the first popular shows to prominently feature black characters in important roles and has always lampooned racism and other kinds of bigotry. Night of The Living Dead is pretty easy to see as a racism allegory, or at least it contains one as a sub-plot. Star Wars had an evil empire that was transparently a mix of Nazis and arrogant condescending colonialists. Alien was one of the first huge films I can recall to have a super competent female action hero with skills like engineering who didn't need any help from a man. The Expanse depicts a society that's so post-gender-mattering you don't even notice it, it's just the way it is (probably a good example of good writing in this regard). Etc.
by ta1243 | 2025-06-24 13:15:20+00:00
If you buy a house for 500k on a 5% mortgage over 25 years when you are 25, and you plan to live until you are 85, you will live there for 60 years.

It will cost you 35k a year for 25 years, or 875k a year

After 25 years you have no more expenses.

If instead you rent it for 20k a year, increasing with 2% inflation each year, by year 25 you're paying 33k a year in rent, and by year 60 you're paying 66k a year.

Over 60 years you pay 2.4m in rent, or 900k in mortgage (you could also then sell that house for 1.6m with a 2% annual inflation).

You'd have to invest the savings and get way higher than inflation returns to break even.

Of course there's maintenance costs of the house too, but that's with rent far cheaper than the mortgage. In reality rent tends to be a similar amount as a mortgage (in the UK it tends to be higher - as people won't rent places out if they aren't covering their mortgage - at the very least the interest part of it). You'll likely find house prices appreciating more than inflation too - just like stock prices do. Rent tends to track income.

Now you could argue that you'll get more by investing in high return growth stocks. And you might be right. In the 80s there was a whole "endownment" mortgage craze where you paid the interest on the mortgage, and then the rest rather than paying down the mortgage capital, instead was invested.

This was a massive scandal as many investments didn't have enough to cover the mortgage amount upon maturity. With a mortgage you know that no matter what happens with inflation, growth, returns, stock crashes etc, you will own one house after X years.
My open source website for exploring popular and trending NPM packages
by YounElh | 2025-06-24 13:15:36+00:00
I built www.npmleaderboard.org to make it easier to discover npm packages by downloads, growth, or number of dependents. You can also filter by keywords or dependencies (like “react”) to find what’s trending or spot hidden gems. The site tracks the top 20,000 npm packages and updates weekly. It’s open source and code is on GitHub. Would love any feedback or suggestions!
by al2o3cr | 2025-06-24 13:15:39+00:00
I’ve also validated my contributions with other AI models (Grok, DeepSeek), all of which acknowledged the originality and significance of my input

I asked my program what it thought, and it said you don't understand LLMs. Source below.

10 PRINT "ABRAXES DOESN'T UNDERSTAND LLMS" 20 GOTO 10
by yread | 2025-06-24 13:15:40+00:00
BitLocker is not useful? Have you tried configuring LUKS with TPM? I recently got in trouble cause I tried that, dracut rewrote my initrd but missed some options (somehow when dracut is missing a module it's just a warning?!) in the setupcrypt so the damn thing wouldn't boot. Compared to the super streamlined experience with BitLocker (where the largest hassle is that you have to type your recovery key) it's a joke.

And the alternative is ZFS encryption which apparently still has data loss race condition bugs and the person submitting patches to fix those admits they have no idea why that happens.
by williamdclt | 2025-06-24 13:15:57+00:00
I don't agree at all with your assessment.

These famous people you cite are famous because they are "devs for devs". These guys were working on a _product_ (be it LaTex, games, text editors...) for which the user happened to be developers: by improving devx a little they had a lot of impact. That has little to do devs with individually spending a lot of time on their own tooling (for whom improving their devx a little has a little impact).

> Can you name one person who "blows most other engineers out of the water" while not "being obsessed with tech", using nothing but "the soft skills"?

The best engineers I've worked with were comfortable with their tools (of course, that's a requirement) but wouldn't be spending much time on incremental improvements. They'd spend time talking to customers, to PMs, to support, to leadership, learning about their domain and about how other engineers in the industry approached it. They _would_ spend time investing in tools that might be a game-changer (10x or whatever), but not things like vim configs and keyboards.

It always comes down to the same thing: you can have the best tech skills and tooling, yet a (decent) engineer who understand the domain and can communicate effectively will build a better product than you. That's hardly controversial.

> That's not for me though; I'm happy where I am.

I don't agree that it's a question of "growing out of engineering" at all (in fact I'd say it's "growing into" engineering from programming), but at the end of the day I'd totally agree that you should do what makes you happy! If you enjoy what you do and don't want to be doing the other stuff, who cares, I certainly won't be the one to tell you to change your ways!
by netbioserror | 2025-06-24 13:16:26+00:00
Been on Linux for 13 years now, and recent Mint releases really are as close as we've gotten to a "set-and-forget" operating system that...just works. Switchable graphics, power profiles, night colors, a consistent and stable updater, sensible defaults and options...

Microsoft really stumbled upon gold when they designed Windows 7, and fumbled it because investors always need novelty for growth. Mint just picked up the ball and kept running.
by Twirrim | 2025-06-24 13:16:41+00:00
Every single time your prompt appears, your shell is doing something. I've tried using various prompt customising things in the past, but they've almost all been written in shell, and always been palpably slow. To the degree that I've found it irritating and stopped using them.

Starship is the first one that hasn't irritated me, in no small part because it's lightning fast, typically only couple of milliseconds to gather and render the prompt.

This is the first time I've been able to stick with one.
by anonymars | 2025-06-24 13:16:45+00:00
What? TPM and Secure Boot aren't new at all. Fine let's remove one machine from the set:

I support various machines owned by my family that are hardware encrypted spanning across the last 10 years. All work on Windows 10, use Secure Boot, and are encrypted with TPM and Bitlocker (or that invisible Home edition "device encryption" version). They don't support Windows 11.

Even the extreme outlier machine has TPM. This nonsense is not about security. What threats are actually affecting people's computers these days? What is this going to do against phishing and scammers? What new security features are present in Windows 11 and not 10 that are so critical to justify throwing out hundreds of millions of machines?
by zdw | 2025-06-24 13:16:48+00:00
This is the real reason. Put your data in the MS format roach motel, and it's a challenge to ever get it out with full fidelity.

The mid-oughts battle over this in the international standardizations space is pretty fraught: https://en.wikipedia.org/wiki/Standardization_of_Office_Open...

And even now, even though there is a "standard" and schemas for, MS's apps mostly ignore them, or use undocumented extensions (as far as I'm aware), so it the whole thing was truly straight from MS's embrace/extend/extinguish playbook.
by FirmwareBurner | 2025-06-24 13:16:59+00:00
>Commission President Ursula von der Leyen is one of the few exceptions, having trained as a medical doctor and taken a master’s degree in public health

That's the worst example one could pick. Ursula comes from a family of influential EU politicians and has been groomed since childhood to take high ranking jobs in politics. It's doesn't matter what her education is when she's the EU equivalent of CCP royalty. That woman hasn't worked a job a day in her life, but spent all her life being a career politician and a regulatory arm of lobbyists and activist.
by thesuperbigfrog | 2025-06-24 13:17:16+00:00
Vim and related vi-based editors have a built-in 'grammar' for editing text that is concise:

https://stackoverflow.com/questions/1218390/what-is-your-mos...

With a bit of practice, vim/vi-style editing can be developed into muscle memory which makes it incredibly fast to use.

There is a reason why most popular text editors and IDEs have a vim plugins.
by rodrigodlu | 2025-06-24 13:17:44+00:00
+1, more 2 cents:

I have Fedora on my main work computer (Dell XPS)

And I just got a Thinkpad E14 for CachyOS (arch based). It auto configured btrfs with snapper. Everything just worked fine so far (fingerprints, cameras, sleep, secure boot, sound, mics, etc)

Fedora is still the king as the main workhorse, no headaches, every 6 months there's a reasonable upgrade.

But I can't help myself going back to arch, it just feels snappier.

So if you have a boring hardware like this thinkpad I got, everything just works, go for Arch.

The main reason I went with Fedora on the XPS was some issues with hardware/wifi/bluetooth from time to time, usually an hour before an important meeting that made me chill, ask for a few minutes to rollback a btrfs snapshot, etc.
by patchtopic | 2025-06-24 13:17:49+00:00
But in 2015:

Microsoft announced at its Ignite conference this week that Windows 10 will be the last version of Windows. Microsoft has no plans to let Windows 10 become stale. On the contrary, it plans to keep Windows evolving with regular improvements and updates.

Read More: https://www.slashgear.com/windows-10-said-to-be-microsofts-f...
by komali2 | 2025-06-24 13:17:50+00:00
Maybe we can do to phones what tech bros did to suits in the early 2000's. There's that saying, something along the lines of, "It used to be that everyone looked to the one in the suit, now everyone looks to the one in a hoodie." Maybe we can convince people that a run down secondhand phone is a display of wealth and power :P
by joshstrange | 2025-06-24 13:17:53+00:00
> System resources ... the requirements are much higher than they need to be

They don't mention the requirements directly because people would laugh them out of the room.

For hardware (aside from the TPM):

1 gigahertz (GHz) or faster with 2 or more cores on a compatible 64-bit processor, 4 gigabytes (GB), 64 GB or larger storage device.

That is "higher than they need to be"? I don't think so. That's the absolute _floor_ and I'm shocked it isn't higher. Windows raising requirements forces hardware vendors to ship something better and for many people who buy the entry-level computer that's a boon.

> Is it finally the year of the Linux desktop?

No, and I don't see that happening anytime soon. I can't take someone seriously if they legitimately think installing Linux Mint is a viable alternative for normal people. If you are reading this you are not normal and neither are any people for which you support a linux install (parents/friends).
by jvanderbot | 2025-06-24 13:17:55+00:00
I haven't bought a new phone in ages. I buy second-hand phones (making them often 1-2 years old), then I either resell them after I'm done (usually I cycle every 3-5 years), or I do precisely this - turning them into app controllers or wallets or something. Or games, etc. I keep two around in case one breaks.

This isn't hard. And it saves a ton of money.
by jakewins | 2025-06-24 13:18:01+00:00
I don't know about the Spanish market, but at least in the markets I'm involved in aFRR is an "always on" product, the TSO controls your plant with a setpoint that updates in near-real-time throughout the period you've sold to them.. it's not clear to me that the product that wasn't delivered was actually aFRR though, maybe it was something else less frequently called upon.
by nottorp | 2025-06-24 13:18:16+00:00
> If you're technical try Fedora.

I still have rpm PTSD from my youth :)

> Debian is another great option, but packages are a bit behind.

I've got hardware for a new home server that's waiting to be set up, and I was planning to put Devuan on it. Anyone has any impressions of that?

> If you're not technical honestly just buy a mac.

I have two :) And a couple linux boxes but I mostly ssh into them.

I haven't used desktop linux in ages (about 2013, when I switched from linux desktops to mac desktops).

Once in a while I run into the newest Ubuntu desktop for various reasons (this time I needed a server in a VM and I thought why not, let's install the desktop) and I'm astonished at the corporate style spamminess.
by andrepd | 2025-06-24 13:18:54+00:00
> But running Linux is fucking hard, unless all you need is available in a browser, and even then...

Has this actually been a valid complaint for the past 15 years?

I'll concede that installing it (merely downloading, burning to a thumb drive, disabling secure boot, following the install wizard) already puts it beyond the scope of 99% of users, which will use the pre-installed OS no matter what.

But using it? Linux Mint is orders of magnitude more user friendly than Windows. It's fast, clear, there's no ads and no mandatory logins. Things work out of the box with no need to manually install drivers. There's an easy to use "app store". Most Windows programs even run with Wine/Proton.

We're not in the 90s slackware era anymore.
Show HN: Just Log – Minimalist fitness tracker focused on simple workout logging
by Rimshadpcs | 2025-06-24 13:19:04+00:00
Hi HN,

I built Just Log after getting frustrated with fitness apps that were too complex for basic workout tracking. Most apps have social feeds, complicated interfaces, and features I never used.

Just Log focuses on the essentials: quick workout logging, habit formation, and progress tracking without the bloat. Built it in a month while sharing the process publicly on Twitter.

The app uses a minimalist approach - you can log a complete workout in seconds. No social features, no notifications, just simple tracking that helps build consistency.

Launched on Product Hunt today. Android is live on Google Play, iOS coming soon.

Would love feedback from the HN community!