HNHacker News
TopNewBestAskShowJobs

fph

816 karma · joined July 27, 2024

submissionscomments
fph··on Parse, Don't Validate and Type-Driven Design in Rust
You'd still have to check for overflow, I imagine.

And there are other gotchas, for instance it seems natural to assume that NonZeroF32 * NonZeroF32 can return a NonZeroF32, but 1e-25 * 1e-25 = 0 because of underflow.

fph··on CXMT has been offering DDR4 chips at about half the prevailing market rate
Microsoft gave away Internet Explorer at a loss, and what happened to internet standards?
fph··on Parse, Don't Validate and Type-Driven Design in Rust
The article quickly mentions implementing addition:

```

impl Add for NonZeroF32 { ... }

impl Add<f32> for NonZeroF32 { ... }

impl Add<NonZeroF32> for f32 { ... }

```

What type would it return though?

fph··on The Missing GitHub Status Page
So technically Github is not missing a status page like this website claims: their status page is https://www.github.com .
fph··on Discord/Twitch/Snapchat age verification bypass
Exactly, that's the problem: with OIDC the ID provider gets to know which sites you visit. That is unavoidable given how the protocol works. And you don't want to give all that information to the government in the first place.
fph··on A party balloon shut down El Paso International Airport; estimated cost –$573k
"99 red balloons" starts playing in the background.
fph··on Selection rather than prediction
AI is like XML: if it doesn't solve your problem, you are not using enough of it.
fph··on First Proof
The authors mention that before publications they tested these questions on Gemini and GPT, so they have been available to the two biggest players already; they have a head start.
fph··on Learning from context is harder than we thought
Tay the chatbot says hi from 2017.
fph··on Voxtral Transcribe 2
They are just shipping the same whisper-small that everyone else is using, and did not much to improve their models since release. Other models have been "coming soon" forever. https://keyboard.futo.org/voice-input-models
fph··on A sane but bull case on Clawdbot / OpenClaw
Vim? It's more likely they have "type everything in lowercase" in Claude.md.
fph··on A sane but bull case on Clawdbot / OpenClaw
...yes?
fph··on Voxtral Transcribe 2
Is there an open source Android keyboard that would support it? Everything I find is based on Whisper, which is from 2022. Ages ago given how fast AI is evolving.
fph··on Berlin: Record harvest sparks mass giveaway of free potatoes
Giving them away for free also affects the market. Suddenly there are 100,000 fewer Berliners who go buy potatoes in a shop; that alters demand.
fph··on An anecdote about backward compatibility
That is correct, I did not mention Linpack. It had different function names than Lapack though (while the naming scheme was similar, and still constrained to 6 letters); for instance DGETRF was named DGEFA in Linpack. [1]

[1]: https://netlib.org/linpack/dgefa.f

fph··on An anecdote about backward compatibility
If you try profiling almost any program that does linear algebra (something that uses Numpy, for instance), you will see a lot of calls and CPU time in functions with names like DGETRF or SGESVX. These obscure names stand for stuff like Single-precision GEneral matrix Solve Vector eXtended; i.e., solve a linear system of equations with a full, dense matrix. Why are they so difficult to parse? Couldn't they come up with a friendlier name?

They come from Lapack, the standard linear algebra foundation library, which is written in Fortran 77. That library was first written in 1992, when the Fortran 90 standard was still new and not supported everywhere, so they stuck with the earlier version. Lapack has become the standard library for dense non-parallel linear algebra; it is still maintained and updated, but the basic math algorithms haven't changed much, so there was no need to replace it entirely. Today there are also processor-specific libraries like MKL or Apple Accelerate, but they still all follow the same Lapack API.

When Fortran-77 was standardized, they decided to keep function names at most 6 letter long, to "ensure portability". I.e., they wanted to support certain compilers and architectures that were already considered old in 1977.

TL;DR: if you can't read easily those flame graphs today, it's because of backward compatibility with certain mainframes that probably date back to the late 1960s.

fph··on Heating homes with the largest particle accelerator
Bitcoin-mining space heaters are out, particle accelerator exhaust is now every nerd's most loved home heating.
fph··on Google confirms 'high-friction' sideloading flow is coming to Android
And unfortunately that one zealot is the project leader.
fph··on Deutsche Telekom is throttling the internet
If you control the domain, you can use SPF to designate Google as an authorized sender for your domain.
fph··on BirdyChat becomes first European chat app that is interoperable with WhatsApp
I have no idea why, but I would bet it's because it was sending stuff to Apple unencrypted.
fph··on Purdue blocks admission of many Chinese grad students in unwritten policy
Then you should have a policy that says "English only during office hours", not one that says "no foreign grad students admitted".

These students had already received an acceptance letter, so possibly they already turned down other positions based on that letter.

fph··on Predicting OpenAI's ad strategy
That is a weird definition of advertising. It's not an ad if I mention (or even recommend) a product in a post, without going off-topic and without getting any financial benefit.
fph··on Our approach to advertising
AI firms already managed to successfully weasel their way out of copyright laws. They will try to do the same with advertising laws.
fph··on San Remo Pasta Measurer
It's impossible to make this work for everyone. According to certain serving scales I'm 2 to 3 people.
fph··on Ozempic is changing the foods Americans buy
True, but another factor is that the families where someone is taking a 300$-per-month medication have less money left to spend.
fph··on My Attempt at Independence from Big-Tech
How good is Nextcloud's file syncing? Is it usable for gigabyte-size libraries? How gracefully does it handle conflicts?
fph··on Sampling at negative temperature
And I believe "entferne" is "cancel" in German. These seem both common words that appear in menus and UIs. Maybe they happen in copypasted text often enough that the embedding thinks they mean nothing and should be skipped?
fph··on Cloudflare CEO on the Italy fines
Another legitimate complaint is how much police force is deployed each week in and around stadiums. The public pays the costs for security, big soccer gets the profits.
fph··on The Vietnam government has banned rooted phones from using any banking app
Precisely. You can use and old-style hardware token that only generates numbers to log in, but not to authorize an operation such as a money transfer.

The requirement is called "dynamic linking" (the 2FA code must be tied to the specific transaction) and the relevant regulation is PSD2.

fph··on The Vietnam government has banned rooted phones from using any banking app
How do they get this information in the first place, though? Do they have a QR code reader?
← PreviousPage 5 of 13Next →