MurphyA/hacker-news huggingface dataset:
by pvaldes | 2025-08-26 08:15:06+00:00
1) There are species of small "catfishes" (on Asia or Australia if I remember correctly) known to climb waterfalls in rainforests. We are talking about > 100m long fully vertical waterfalls.

2) In fact, they aren't catfishes. Belong to a big family of mainly marine fishes called gobies. Totally different orders. Should be named climbing gobies.

3) They do it for the same reason as Salmons do: to reproduce in freshwater.

4) But unlike salmons they don't swim or jump. They climb the slippery rock wall like a freestyle climber, using the suction cups in their belly that gobies have (pelvic fins transformed), and their other fins and tail to propel

5) Somebody filmed those fishes climbing.
by 01HNNWZ0MV43FF | 2025-08-26 08:15:44+00:00
> The entire system looks functional on the surface, but it’s so broken it’s nearly unbelievable

That's what I got from watching Deviant Ollam and a couple of the popular YouTube lawyers.

The justice system mostly serves those with money, and if you're working class the biggest predictor of whether you'll go to jail is how much time you spend in the radiation of this broken system. Don't stay close, don't stay long. Always have a lawyer ahead of time, don't talk to cops.

Ollam has a friend in prison now and she got beat very badly when she first went in. For a non violent crime of basically security research
by oulipo2 | 2025-08-26 08:16:00+00:00
I tried Airfoil to be able to do the following:

- redirect my music (eg Youtube music) to my Apple Homepod

- still play all other audio (eg some podcast or video) on my laptop

but it doesn't work / is buggy / either puts everything in one location or the other

Has anyone here found a good setup to redirect the audio from exactly one app to the Homepod, and keep all the rest on the laptop audio?
by silverliver | 2025-08-26 08:16:30+00:00
Agreed that it's a se-inflicted problem. Like others have stated, restore the network-access permission and have it disabled by default with a big warning shown when the user attempts to enable it (remove the warning if the app has been verified by google).

This has nothing to do with malware. The sleazy fucks at google just want absolute control over our devices. It's as simple as that.
by pm215 | 2025-08-26 08:16:40+00:00
memcpy (and the other string routines) are some of the library functions that most benefit from heavy optimisation and tuning for specific CPUs -- they get hit a lot, and careful adjustment of the code can get major performance wins by ensuring that the full memory bandwidth of the CPU is being used (which may involve using specific load instructions, deciding whether using the simd registers is better or not, and so on). So everybody who cares about performance optimises these routines pretty carefully, regardless of toolchain/OS. For instance the glibc versions are here:

https://github.com/bminor/glibc/tree/master/sysdeps/aarch64/...

and there are five versions specialised for either specific CPU models or for available architecture features.
by shoo | 2025-08-26 08:17:36+00:00
i can see how it'd be possible to transform from the input tabular format to the json format, streaming record by record, using a small constant amount of memory, provided the size of input records was bounded independent of the record count. need to maintain position offset into the input across records, but that's about it

but, maybe we'd need to know more about how the output data is consumed to know if this would actually help much in the real application. if the next stage of processing wants to randomly access records using Get(int i), where i is the index of the item, then even if we transform the input to JSON with a constant amount of RAM, we still have to store this output JSON somewhere so we can Get those items.

the blog post mentioned "padding", i didn't immediately understand what that was referring to (padding in the output format?) but i guess it must be talking about struct padding, where the items were previously stored as an array of structs, while the code in the article transposed everything into homogeneous arrays, eliminating the overhead of padding
by alisonatwork | 2025-08-26 08:17:42+00:00
I guess this is when it gets fuzzy. A true peer-to-peer social network would mean that every node has to be able to get everything and also be able to share whatever it has with every other node. If every participant on this kind of social network was required to maintain their own "seedbox", then it implicitly limits access to only people with means.

But if there were hubs funded by groups of interested people that allowed those folks to share the cost of "seeding" and in return only "leech" the information they care about... then isn't that essentially the same kind of decentralization that already exists on the fediverse? The way I understand it, instances are set up by communities of people with similar interests and those instances are configured to only propagate a subset of the events that their community is interested in.
by mschuster91 | 2025-08-26 08:18:08+00:00
> The CPU itself provides PCIe lanes that can be used directly.

It does, but if you look at the mainboard manuals of computers, usually it's 32 lanes of which 16 go to the GPU slot and 16 to the southbridge, so no storage directly attached to the CPU. Laptops are just as bad.

Intel has always done price segmentation with the number of PCIe lanes exposed to the world.

Threadripper AMD CPUs are a different game, but I'm not aware of anyone, even "gamer" laptops, sticking such a beast into a portable device.

> Latency is also significantly worse when you trigger a page fault and then need to wait for the page to load from disk before the thread can resume execution.

Indeed, but the difference in performance between an 8GB Windows laptop and an 8GB M-series Apple laptop is noticeable, even if all it's running is the base OS and Chrome with a few dozen tabs.
by lawn | 2025-08-26 08:18:15+00:00
> If I open too many tabs in Chrome I can feel the bottom of the laptop getting hot, open a YouTube video and the fans will often spin up.

I've got the Framework 13 with the Ryzen 5 7640U and I routinely have dozens of tabs open, including YouTube videos, docker containers, handful of Neovim instances with LSPs and fans or it getting hot have never been a problem (except when I max out the CPU with heavy compilation).

The issue you're seeing isn't because x86 is lacking but something else in your setup.
by asno3030 | 2025-08-26 08:19:06+00:00
They are pretty similar when comparing the latest amd, and Apple chips on the same node. The buying power from Apple means that they get them earlier than AMD, usually by 6-9 months.

Windows on the other hand is horribly optimized, not only for performance, but also for battery life. You see some better results from Linux, but again it takes a while for all of the optimizations to trickle down.

The tight optimization between the chip, operating system, and targeted compilation all come together to make a tightly integrated product. However comparing raw compute, and efficiency, the AMD products tend to match the capacity of any given node.
Ask HN: What is wrong with modern software development
by fzeindl | 2025-08-26 08:20:13+00:00
I’m trying not to be a naysayer, but what is wrong with modern software development and why does it require so many developers while projects get delivered later and later?

A couple years back Dynatrace was hiring a thousand developers worldwide for improving their product.

The OSX-team, who developed an entire operating system including utilities, famously consisted of 100 developers.

What is wrong with the industry? Is it scrum and pull based development? How was it before ticketing systems? Did bosses just assign tasks to their employees?
by gusfoo | 2025-08-26 08:20:23+00:00
I made a whatsapp business account yesterday, started a test advertising campaign. Went to log in to the developer area, "Your account is banned, there is no appeal". And whatsapp customer services says "Your account is fine and there are no issues and this ticket is closed"

I really, really don't understand why you have to make a facebook account in order to get access to the developer area, and now I get to watch my advertising spending tick up with no way of accessing anything about it.
by littlestymaar | 2025-08-26 08:20:51+00:00
> Other languages typically don’t openly say, in writing:

I'm no language though…

> You can hate kristoff, ignore him or attack his arguments. You can also love a piece of software and treat it as sacred.

It's not about “love” or “being sacred” or even about Rust or Zig, it is about behaving in society. Most successful communities at some point meet toxic people who want to start holly wars and insult people. Successful communities are the one who ban those people, or at least coerce them into behaving through social pressure.

When you don't do that, you end up with bullies like Loris occupying prominent positions, and that's very bad for the community because it attracts people like that.

It has nothing to do with programming languages at all.

And sorry to say that bluntly, your discourse about “supremacism” “love” or “sacred” sounds very immature: programming languages are tools and engineering projects, not icons that should be worshipped or hated, they all have their strong points and warts (and god knows Rust has its share of annoyances…). Don't get dragged in holy wars by cult leaders like Loris.
by soni96pl | 2025-08-26 08:21:29+00:00
From the same person: https://soc.me/standards/defending-home

I'm aware it mentions Linux specifically, but this is golden:

> From this point on, the number of dot-files and dot-directories can only shrink as the remaining applications get fixed and start conforming to the XDG base directory spec, while no new dot-files and dot-directories can be added to your home directory.

As is original reasoning for not using ~/.config from https://github.com/dirs-dev/directories-rs/issues/62#issueco...

> As Apple keeps tightening its after-sale ownership of macOS appliances, it's becoming increasingly unlikely that randomly dumping stuff in $HOME will keep working.

I get the feel he just does not like macOS?
by shivajikobardan | 2025-08-26 08:22:10+00:00
My question about sign swapping is explained by this blog

https://www.cairographics.org/cookbook/matrix_conventions/

The reason behind this is called pre-multiplication vs post-multiplication technique of matrix transformation.

Post-multiplication

- transformation matrix appears after the position vector matrix

- position vector matrix in homogenous coordinates is represented as a row matrix.

Pre-multiplication

- transformation matrix appears before the position vector matrix

- here the position vectors in homogenous coordinates are represented in column matrix.

Textbook reference: Mathematical elements for computer graphics Rogers/Adams
by prmoustache | 2025-08-26 08:22:22+00:00
> work at a coffee shop

That doesn't sound super secure to me.

> for five hours.

My experience with anything that is not designed to be an office is that it will be uncomfortable in the long run. I can't see myself working for 5 hours in that kind of place.

Also it seems it is quite easily solved with an external battery pack. They may not last 12hours but they should last 4 to 6 hours without a charge in powersaving mode.
by swiftcoder | 2025-08-26 08:23:23+00:00
> It’s certainly no worse than looking up the dotfile format and firing up vi

It's a lot worse, IMO. We're all fluent in our text editor of choice, we all know the rough format conventions of dot files.

Whereas I'd certainly have to lookup man page of the defaults tool, and IIRC it only supports editing one-key-at-a-time, which sucks for a dense config file.

If your tool provides a TUI/GUI for editing preferences, that'd be a different story.
by belorn | 2025-08-26 08:23:37+00:00
Some respiratory viruses need large aerosol droplets, but covid virus particles remaining viable with a half-life of up to about an hour outside large droplets.

The initial theory was that environments like extreme hot and humid climates made it impossible for aerosol droplets to harm people, while dry air increased the risk. This recommendation was change later into the pandemic as new evidence was gathered.

There are similar studies on influenza. There doesn't seem a strong consensus on what environments are safe, or how long such viruses can last outside of large droplets. There is a lot of factors in play, including the virus itself.
by dwattttt | 2025-08-26 08:23:39+00:00
You can try to read/write the same on Windows: ReadFile (and friends) take a HANDLE.

It won't make sense to try to read from all things you can get a HANDLE to on Windows either, but it's up to what created the HANDLE/object as to what operations are valid.

https://learn.microsoft.com/en-us/windows/win32/sysinfo/kern...
by petargyurov | 2025-08-26 08:23:44+00:00
On this episode of "Trying to make AI useful"...

Seriously, who's idea was this? It can't be a money saving feature; surely it costs more to upscale all these videos than to just host the HD version.

And even if you argue it can be used only on low res videos to provide a "better experience", the resulting distortion of reality should be very concerning.
by joaoqalves | 2025-08-26 08:24:08+00:00
I’ve open-sourced "SupportHero" [1], a Slack-to-Jira support bot inspired by a similar, internal one, built by a colleague where I work.

The original idea was simple: reacting to a Slack message would automatically create a ticket. This reduced friction for users (“please create me a ticket” was no longer needed), provided platform teams with better visibility into support load, and surfaced real demand. I extended it while leading the Runtime team, then rewrote it as "SupportHero".

For a while, it sat on the shelf: useful, but not perfect. Recently, inspired by the builder mentality I see in projects like DHH’s Omarchy, I decided just to clean it up, write some docs, and release it.

It’s not something I plan to monetize, and it’s not a polished product. But that’s the point: sometimes you don’t need a business plan or a launch strategy. You can simply build things and open-source them.

The code is tested, easy to deploy, and can serve as a base for teams who want to automate away this kind of support overhead.

More details and the backstory in my blog post.

1 - https://github.com/abistama/support-hero
by lentil_soup | 2025-08-26 08:24:49+00:00
that's a good point. As a developer, this particular case obviously I understand much better and see the where it leads - the opposite direction of the openess that made PCs and computing so revolutionary in the last few decades.

It's also worrying that in this case it's a private corporation the one calling the shots. Naively, in the other cases you mention it's at least government dictated which means there's some sense of accountability and transparency to the process (not saying that it's perfect of course).
by sothatsit | 2025-08-26 08:25:07+00:00
Easier said than done. In the real-world, in real projects, sustaining zero memory-safety bugs in large C codebases is exceedingly rare. Microsoft and Chrome have each reported that ~70% of their serious security bugs are memory‑safety issues, and curl attributes about 40% of its vulnerabilities to using C. Memory safety problems are really hard to avoid in practice in large C codebases. You can't just blame developers.

On using C from the creators of curl:

> We count about 40% of our security vulnerabilities to date to have been the direct result of us using C instead of a memory-safe language alternative. (https://daniel.haxx.se/blog/2025/04/07/writing-c-for-curl)

And, like what I was referring to, it is even more difficult to prove the absence of memory safety issues entirely. We have only managed to actually prove it for a handful of non-trivial programs, like the seL4 microkernel.

Now, this is all an entirely different question to whether the extra work required to write your program in Rust to avoid memory safety problems is actually worthwhile. If you are writing a program with no networking code, no privilege escalation, and no confidential information, the answer is probably that it doesn't matter. If a game has a buffer overflow in some weird edge case, it doesn't really matter. If your data processing code has a problem, you can probably spot that and it probably won't lead to any security concerns. If your file system scanner runs into a memory safety issue, it probably won't negatively impact you that much.

But if your crypto library has memory safety problems, you are in for a bad time.
by npteljes | 2025-08-26 08:26:02+00:00
>Humans can be evil.

My mistake. I meant to write humane there.

I don't mean to discredit your experience regarding scam victims, as the effects, just as you described, can be horrible. But there was no need to bring other horribleness into it, and compare, and minimize that other horribleness. That comparison and minimization is the offensive part.

But then again, letting the offensiveness part go, this doesn't make sense: "Pedophilia can be a one time traumatizing act while a scam victim can lose a lifetime of work". Scams can also be a one time act, not even traumatizing, and pedophilia can easily ruin someone for life.

It doesn't need a flawed argument to validate a tragic experience. Even on the internet, people can understand that it's terrible that someone took their life after losing their life's work to scams.
by matheusmoreira | 2025-08-26 08:26:33+00:00
Utterly pointless. We'll be systematically discriminated against at every turn. We'll lose access to finances, services, communities and even simple sites because our computers aren't corporate owned. We'll become so marginalized we'll only be able to visit places like HN, places that at least try to pay some lip service to everything the word "hacker" stands for.

And then they will make it so our devices need to pass hardware remote attestation to connect to the internet and even that will be taken away from us.

I don't know what to do anymore. The future is bleak. The free computing we love is being destroyed by forces outside our control, forces that cannot be stopped no matter what we do because they have trillions of dollars and their interests are aligned with those of governments the world over.
by TheAlchemist | 2025-08-26 08:26:46+00:00
Yeah, I must admit I'm quite obsessed with 'spaceman bad'. It's absolutely fascinating that the guy managed to sell for example millions of cars who were supposed to become Robotaxis with an OTA update 5 years ago... Or promising to go to Mars in 2 years, every year for the past 10 years. None of which will happen in this decade anyway.

And millions of people are still falling for it. Simply amazing and historic times.
by chvid | 2025-08-26 08:28:04+00:00
Macs today are not designed to be easily repairably but instead to be lighter and otherwise better integrated - I believe that is consequence of consumer preferences and not shady business practices.

As for the services - it is a bit off topic as I believe Apple makes a profit on their macs alone ignoring their services business. But in general I have less of a problem with a subscription / fee-driven services business compared to an advertisement-based one. And as for the fee / alternative payment controversy (epic vs apple etc.) this is something that is relevant if you are a big brand that can actually market on your own / build an alternative shop infrastructure. For small time developers the marketing and payment infrastructure the apple app store offers is a bargain.
by takluyver | 2025-08-26 08:28:17+00:00
There are so many ways one could work around this (apparent) limitation. Liberty software, unbound software, modifiable software. Go all in on libre rather than putting it in an awkward 'free/libre' combo - languages borrow words from each other all the time. Swap the order round and talk about software freedom, or digital freedom. Make a portmanteau like libreware...

I'm not especially good at this, and obviously 'free software' has the benefit of a few decades history among the people who actually know it. But almost anything seems better than a phrase which has a very obvious meaning that's not the one you meant, and the consequent need for fussy little explanations. Especially when most Free Software is also free software.
by npteljes | 2025-08-26 08:28:21+00:00
Even that is false. There are many more countries with fewer scams per capita, and with fewer amount lost at scams per capita. Meaning, Singapore falls behind other countries in elimination of scams.

See page 9 here for details: https://cdn.newswire.com/files/x/71/6f/93551958ddf942fb585b0...
by omnimus | 2025-08-26 08:28:28+00:00
What makes it uneasy is not only upscaling but they are generating new frames to make it 60fps. 60fps by itself feels fake (check some footage of The Hobbit that tried 48fps). It feels like video games.

It's kinda funny to aim for 60fps because modern video productions will often have 60fps footage that's too sharp and clean. So they heavily post process the videos. You add the film grain and lower the fps to 30 or even 24 (cinema) so it looks much more natural.

The question is if this is just habitual / taste thing. We most likely wouldn't prefer 24fps if the movie industry started with 50fps.
by trissylegs | 2025-08-26 08:28:32+00:00
It doesn't have very large standard library. It's just running on a different philosophy on not making the Standard Library "Batteries included". But I find you get less dependencies than npm. Not so many tiny left-pad like microlibraries.

The main cost of compile times is Generics. Rust generics use "Monomorphization" which generate different binary code for every use of a generic type.

serde leverages generics everywhere and it generates the serialization code for every type you make serializable. So when you use `serde_json::to_string(MyType::new())` it follows calls a code path just for serializing MyType to a json string.

The upshot: It's incredibly fast, there's a lot of inlining and other compiler optimisations that can used because of it. No runtime reflection (Which is how Go does a lot of it).

The downsides: Takes a long time to compile cause of all the extra it's generating. Also can inflate binary sizes at bit.

Other languages like Go mostly use run time reflection for Json. Rust doesn't have much runtime reflection so doing it here wouldn't be possible
by lmm | 2025-08-26 08:28:36+00:00
Meh. Scala's great strength used to be a simple, consistent model instead of zillions of ad-hoc features (e.g. implicits replace maybe 5 or 6 special-case features in other languages). But Scala 3 seems to be determined to destroy that elegance and turn into a pile of special cases. If I wanted that I'd use Kotlin.
by jbstack | 2025-08-26 08:28:47+00:00
Is there a list or other easy way to find out which phones are not Google-certified going forward? Is it purely a country specific thing or are there (and will there continue to be) mainstream manufacturers with non-certified phones?

I'm also fine with sticking to older models. Never seen the point of having the latest and greatest (aka: pointless) feature anyway. Does certification only apply to new hardware or do manufacturers back-port it?