frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Low Sodium in Blood Triggers Anxiety in Mice by Disrupting Their Brain Chemistry

https://www.fujita-hu.ac.jp/en/news/respr20250612.html
1•gnabgib•1m ago•0 comments

The Real, Significant Threat of Shadow AI

https://cacm.acm.org/news/the-real-significant-threat-of-shadow-ai/
1•pseudolus•3m ago•0 comments

Andrej Karpathy on Software 3.0: Software in the Age of AI

https://www.latent.space/p/s3
1•swyx•3m ago•0 comments

The Plot to Kidnap and Assassinate Me [video]

https://www.youtube.com/watch?v=y8i-5907ky4
1•dralley•4m ago•0 comments

Jesus is the best startup founder

https://banrovegrie.github.io/files/meme.html
1•banrovegrie•5m ago•0 comments

My $5M Choice (to divest from Scale AI)

https://world.hey.com/tratt/my-5m-choice-to-divest-from-scale-ai-036905be
3•andytratt•19m ago•0 comments

Creating Refugees: Displacement Caused by the U.S.'s Post-9/11 Wars [pdf]

https://watson.brown.edu/costsofwar/files/cow/imce/papers/2021/Costs%20of%20War_Vine%20et%20al_Displacement%20Update%20August%202021.pdf
2•cempaka•20m ago•0 comments

Permafrost in Swiss Alps at Record Warmth

https://www.barrons.com/news/permafrost-in-swiss-alps-at-record-warmth-9812c93d
2•rntn•22m ago•0 comments

Is There a Half-Life for the Success Rates of AI Agents?

https://www.tobyord.com/writing/half-life
2•alexmolas•28m ago•0 comments

Show HN: AI that solves group scheduling – InstantGroups

https://instantgroups.ai/
1•InstantGroups•28m ago•0 comments

Automatic music transcription (audio/MIDI to MIDI and sheet music)

https://songscription.ai/
1•Carlinsa•28m ago•1 comments

Blink and you'll miss it – a URL handler surprise

https://dgl.cx/2025/06/blink-at-a-url-handler
2•dgl•28m ago•0 comments

Torx Plus: The High-Tech Screw Hiding in Our Gadgets

https://www.ifixit.com/News/110702/torx-plus-the-high-tech-screw-hiding-in-our-gadgets
4•gnabgib•30m ago•0 comments

Transportation Means on Mars [video]

https://www.youtube.com/watch?v=2H8l1mqrip4
2•d_silin•35m ago•0 comments

Welcome to the "Infinite Workday"

https://www.axios.com/2025/06/17/microsoft-remote-work-meetings
4•dplarson•38m ago•1 comments

Getting Started with Dafny: A Guide

https://dafny.org/latest/OnlineTutorial/guide
2•gone35•38m ago•0 comments

San Francisco police drone fleet set to grow after $9.4M gift

https://missionlocal.org/2025/06/were-going-to-be-covering-the-entire-city-with-drones-billionaires-donation-to-sfpd-accepted/
3•DocFeind•39m ago•0 comments

How to use Prometheus to efficiently detect anomalies at scale

https://grafana.com/blog/2024/10/03/how-to-use-prometheus-to-efficiently-detect-anomalies-at-scale/
10•ekiauhce•40m ago•0 comments

Show HN: I built a simple business process management tool

https://www.getnextstep.io/
2•Ryanwalker64•43m ago•1 comments

Axolotl peptides attack breast cancer cells and MRSA

https://www.popsci.com/environment/axolotl-mucus-cancer-antibiotics/
2•geox•44m ago•0 comments

Graphic shows what's at stake in the proposed 2026 NASA budget

https://www.astronomy.com/science/this-graphic-shows-whats-at-stake-in-the-proposed-2026-nasa-budget/
5•xqcgrek2•46m ago•0 comments

The Undersea Art Gallery That Ensnares Illegal Trawlers (2022)

https://www.wired.com/story/underwater-sculptures-stopping-trawling/
2•wonger_•49m ago•0 comments

Microsoft locks Windows 11 user out, shows how easy losing data is

https://www.neowin.net/news/microsoft-locks-windows-11-user-out-shows-how-easy-losing-data-from-forced-encryption-is/
10•josephcsible•57m ago•0 comments

GraphQL: Current Working Draft

https://spec.graphql.org/draft/
2•andrewstetsenko•58m ago•0 comments

Google will disable 636,196 Dynamic Links on August 25th

https://www.nerdydata.com/articles/firebase-dynamic-links-deprecation/20250612
5•dbielik•58m ago•0 comments

Amazon CEO Says AI Will Lead to Smaller Workforce

https://www.wsj.com/tech/ai/amazon-ceo-says-ai-will-lead-to-job-cuts-5401ab17
3•bookofjoe•1h ago•3 comments

Senate passes GENIUS stablecoin bill

https://www.cnbc.com/2025/06/17/genius-stablecoin-bill-crypto.html
3•rexbee•1h ago•0 comments

Rogue jumping genes can spur Alzheimer's, ALS – Knowable Magazine

https://knowablemagazine.org/content/article/health-disease/2025/awakened-viral-jumping-genes-role-in-alzheimers-als
3•rbanffy•1h ago•0 comments

I worked for Chinese state media for many years, AMA

https://old.reddit.com/r/China/comments/1la4ma3/i_worked_for_chinese_state_media_for_many_years/
4•decimalenough•1h ago•0 comments

He '70s Performance Artist Who Became a Hero to 'Garbage Men'

https://www.nytimes.com/2025/06/14/nyregion/maintenance-artist-mierle-laderman-ukeles.html
3•samclemens•1h ago•1 comments
Open in hackernews

Bzip2 crate switches from C to 100% Rust

https://trifectatech.org/blog/bzip2-crate-switches-from-c-to-rust/
100•Bogdanp•3h ago

Comments

dralley•1h ago
How realistic is it for the Trifecta Tech implementation to start displacing the "official" implementation used by linux distros, which hasn't seen an upstream release since 2019?

Fedora recently swapped the original Adler zlib implementation with zlib-ng, so that sort of thing isn't impossible. You just need to provide a C ABI compatible with the original one.

masfuerte•1h ago
They do provide a compatible C ABI. Someone "just" needs to do the work to make it happen.
rlpb•1h ago
> You just need to provide a C ABI compatible with the original one.

How does this interact with dynamic linking? Doesn't the current Rust toolchain mandate static linking?

sedatk•1h ago
No. https://doc.rust-lang.org/reference/linkage.html#r-link.dyli...
arcticbull•1h ago
Rust lets you generate dynamic C-linkage libraries.

Use crate-type=["cdylib"]

nicoburns•50m ago
Dynamic linking works fine if you target the C ABI.
timeon•7m ago
You can use dynamic linking in Rust with C ABI. Which means going through `unsafe` keyword - also known as 'trust me bro'. Static linking directly to Rust source means it is checked by compiler so there is no need for unsafe.
wmf•33m ago
Ubuntu is using Rust sudo so it's definitely possible.
anonnon•48m ago
> Improved performance

After the uutils debacle, does anyone still trust these "rewrote in Rust" promotional benchmarks without independent verification?

jeffbee•38m ago
You should of course verify these results in your scenario. However, I somewhat doubt that the person exists who cares greatly about performance, and is still willing to consider bzip2. There isn't a point anywhere in the design space where bzip2 beats zstd. You can get smaller outputs from zstd in 1/20th the time for many common inputs, or you can spend the same amount of time and get a significantly smaller output, and zstd decompression is again 20-50x faster depending. So the speed of your bzip2 implementation hardly seems worth arguing over.
vlovich123•34m ago
> After the uutils debacle

Which debacle?

anonnon•32m ago
See https://desuarchive.org/g/thread/104831348/#q104831479 https://desuarchive.org/g/thread/104831348/#104831809

Also uutils is a corporate-sponsored, corporate-friendly MIT licensed rewrite that's hostile to user (and developer) freedom.

0cf8612b2e1e•24m ago
So what was I supposed to get from that 4chan wannabe site? That the project is not currently at fast as GNU? Where is the lying?
vlovich123•13m ago
So what I’m getting is

1. The uutils project didn’t also make all locales cases for sort faster even though the majority of people will be using UTF-8, C or POSIX where it is indeed faster

2. There’s a lot of debating about different test cases which is a never ending quibble with sorting routines (go look at some of the cutting edge sort algorithm development).

This complaint is hyperfocusing on 1 of the many utilities they claim they’re faster on and quibbling about what to me are important but ultimately minor critiques. I really don’t see the debacle.

As for the license, that’s more your opinion. Rust as a language generally has dual licensed their code as MIT and Apache2 and most open source projects follow this tradition. I don’t see the conspiracy that you do. And just so I’m clear, the corporation your criticizing here as the amorphous evil entity funding this is Ubuntu right?

dale_huevo•47m ago
A lot of this "rewrite X in Rust" stuff feels like burning your own house down so you can rebuild and paint it a different color.

Counting CPU cycles as if it's an accomplishment seems irrelevant in a world where 50% of modern CPU resources are allocated toward UI eye candy.

0cf8612b2e1e•44m ago
Every cycle saved is longer battery life. Someone paid the one time cost of porting it, and now we can enjoy better performance forever.
dale_huevo•42m ago
They kicked off the article saying that no one uses bzip2 anymore. A million cycles saved for something no one uses (according to them) is still 0% battery life saved.

If modern CPUs are so power efficient and have so many spare cycles to allocate to e.g. eye candy no one asked for, then no one is counting and the comparison is irrelevant.

jimktrains2•38m ago
Isn't bzip used quite a bit, especially for tar files?
jeffbee•36m ago
If so, only by misguided users. Why would anyone choose bz2 in 2025?
0x457•19m ago
To unpack an archive made from the time when bz2 was used?
ben-schaaf•11m ago
Of course no one uses systems, tools and files created before 2025!
Philpax•35m ago
The Wikipedia data dumps [0] are multistream bz2. This makes them relatively easy to partially ingest, and I'm happy to be able to remove the C dependency from the Rust code I have that deals with said dumps.

[0]: https://meta.wikimedia.org/wiki/Data_dump_torrents#English_W...

yuriks•33m ago
It sounds like the main motivation for the conversation was to simplify builds and reduce the chance of security issues. Old parts of protocols that no one pays much attention to anymore does seem to be a common place where those pop up. The performance gain looks more like just a nice side effect of the rewrite, I imagine they were at most targeting performance parity.
spartanatreyu•4m ago
Exactly, even if we can't remove "that one dependency" (https://xkcd.com/2347/), we can reinforce everything that uses it.
Rucadi•43m ago
I personally find a lot more relevant the part about "Enabling cross-compilation ", which in my opinion is important and a win.

The same about exported symbols and being able to compile to wasm easily.

Terr_•38m ago
It seems to me like binary file format parsing (and construction) is probably a good place for using languages that aren't as prone to buffer-overflows and the like. Especially if it's for a common format and the code might be used in all sorts of security-contexts.
anonnon•34m ago
> Counting CPU cycles

And that's assuming they aren't lying about the counting: https://desuarchive.org/g/thread/104831348/#q104831479

jxjnskkzxxhx•28m ago
> lot of this "rewrite X in Rust" stuff feels like

Indeed. You know the react-angular-vue nevermind is churn? It appears that the trend of people pushing stuff because it benefit their careers is coming to the low level world.

I for one still find it mistifying that Linus torvals let this people into the kernel. Linus, who famous banned c++ from the kernel not because of c++ in itself, but to ban c++ programmer culture.

firesteelrain•36m ago
Anyone know if this will by default resolve the 11 outstanding CVEs?

Ironically there is one CVE reported in the bzip2 crate

[1] https://app.opencve.io/cve/?product=bzip2&vendor=bzip2_proje...

Philpax•33m ago
> The bzip2 crate before 0.4.4

They're releasing 0.6.0 today :>

tialaramex•26m ago
There's certainly a contrast between the "Oops a huge file causes a runtime failure" reported for that crate and a bunch of "Oops we have bounds misses" in C. I wonder how hard anybody worked on trying to exploit the bounds misses to get code execution. It may or may not be impossible to achieve that escalation.
rwaksmunski•22m ago
I use this crate to process 100s of TB of Common Crawl data, I appreciate the speedups.