HNHacker News
TopNewBestAskShowJobs

Pesthuf

654 karma · joined July 7, 2020

submissionscomments
Pesthuf··on macOS Sequoia is available today
Quite a lot apparently considering how often I have to bypass gatekeeper.

I don't really see how the average user is positively affected by these changes - it's not like they will accidentally open terminal and enter random strings infinite monkey theorem style until they hit sudo spctl –master-disable. Ctrl-click was at least possible to stumble over, but I see no good reason not to at least provide a .plist setting to re-enable that behavior. Except to bully more devs into getting signing certs.

Pesthuf··on macOS Sequoia is available today
One huge step closer to iOS. Damn it. I actually liked macOS but these changes are terrible for everyone but the most basic users.
Pesthuf··on Do Not Sign the Qt License Agreement Unchanged
For me the main issue with wxWidgets isn't that software made in it looks dated - that's fine, at least it's not mobile first on desktop, with huge margins and whatever those new Windows 10 date pickers are - but that the development experience feels like it's straight from the 90s.
Pesthuf··on WebP: The WebPage Compression Format
It's impressive how close this is to Brotli even though brotli has this massive pre-shared dictionary. Is the actual compression algorithm used by it just worse, or does the dictionary just matter much less than I think?
Pesthuf··on PHP is the new JavaScript?
JS has done the impossible: It made me kinda appreciate PHP. I still despise PHP for its many design (it wasn't actually designed, it just happened) failures, but I've yet to see an application running on a single server with PHP, Apache and MariaDB run slower than "modern" JS slop that needs half a cluster to run the dozens of random object DBs and caches JS devs insist on using prematurely where the application takes 20 seconds to load a simple page because the fully decoupled frontend needs to load and execute 500MB of JavaScript and that JavaScript then loads the data in 50 sequential XHRs because the API dev found a "loadAll" endpoint to be premature optimization.

...I envy TypeScript, though. I wish PHPDoc was more powerful... I just want ADTs.

Pesthuf··on Extreme Pi Boot Optimization
It really is a shame. When Mac OS X first implemented launchd, its boot times improved drastically. It booted really fast even when computers still using hdds. So when Macs got SSDs, they booted incredibly quickly.

But then, with some macOS update, they screwed it up and never bothered to fix it. Imagine how fast those things could boot with their super fast drives and SOCs if someone fixed this regression…

Pesthuf··on AI crawlers need to be more respectful
Have capitalists ever stopped just because their actions (that make them money) hurt others? Because the consequences of the damage they cause might in the end hurt them, too?

Hoping they just stop seems futile…

Pesthuf··on CrowdStrike offers a $10 apology gift card to say sorry for outage
Yes, I'm redeeming the card, I'm redeeming the cards, okay!
Pesthuf··on CSS Classes Considered Harmful
In the CSS that we have today, they are still probably the least shitty solution in most cases.

attr() for things that aren't content isn't really supported and manually doing [data-gap="1"] {} [data-gap="2"] {} and so on sucks for various reasons. Attributes like [card-size="big"] look good, but unlike classes, they don't get autocompleted so you always have to remember the magic strings (ugh) and errors don't get caught by static analysis.

It's not just the class attribute that's harmful legacy garbage, but the core design of CSS. But we're stuck with it.

Pesthuf··on I'm not a fan of strlcpy(3)
It doesn't matter if anyone is defending it - C developers still use C strings and the broken C standard library's string functions (exclusively) rather than using one of the many good string libraries they have available.

The result is that the same mistakes with string handling get repeated again and again, often with catastrophic results.

Pesthuf··on I'm not a fan of strlcpy(3)
I'd be happy if developers did that, but they don't:

So many C developer seem to think they're "smart enough" to handle strings correctly using only the standard library, not needing "training wheels" like the plebs - but then where do the countless string related memory safety errors and all the broken Unicode handling come from that plague every C program, no matter how clever the programmers, no matter how tough the review process, no matter how much static analysis is used?

The issue is that many C developers simply can't seem to admit that C string handling, as it was invented many decades ago, was simply fundamentally flawed. So easy to misuse with catastrophic results, even for plain 1-byte-strings. It has nothing to do with how "smart" you are or how careful you are.

Pesthuf··on I'm not a fan of strlcpy(3)
A function that can turn a correctly formatted UTF-8 string into a malformed UTF-8 string is, in my opinion, broken.
Pesthuf··on I'm not a fan of strlcpy(3)
And that's why I'm not a fan of C for writing any kind of program: Every time you need to touch a string, which is an effortless task in any semi-modern language, you aim a trillion footguns at yourself and all your users.

It's also pretty telling that every article that tries to explain how to safely copy or concat strings in C, like this one, only ever works with ASCII, no attempt whatsoever to handle UTF-8 and keep code points together, let alone grapheme clusters. No wonder almost all C software has problems with non-English strings...

Pesthuf··on Google Chrome has an API accesible only from *.google.com
Safari also has some Apple specific features, like being able to show a special dialog for logging into other websites with your Apple account that works differently from passkeys or password autofill, or the redirect based flow they make other browsers go through.

Always wondered how it's implemented in JS. WebAuthn with proprietary arguments...?

Pesthuf··on HP discontinues online-only LaserJet printers in response to backlash
Customers have been getting used to subscription only for many other things that definitely shouldn't be services. Why not try? If you're soulless and generating value for the shareholders is your only purpose in life, doing this makes sense.
Pesthuf··on WhatsApp Android beta reveals Llama 3 405B option
Oh yeah, I recently went through that for my mum's new phone.

It's a miracle it worked in the end. Everything that could have gone wrong did. Also shout out to the cloud back up for not showing up despite being RIGHT THERE in Google Drive.

Pesthuf··on Testing AMD's Giant MI300X
I feel like these huge graphics cards with insane amounts of RAM are the moat that AI companies have been hoping for.

We can't possibly hope to run the kinds of models that run on 192GB of VRAM at home.

Pesthuf··on Why not parse `ls` and what to do instead
People new to *nix make the mistake of thinking this stuff is well designed, makes sense and that things work well together.

They learn. We all do.

Pesthuf··on C can be memory safe
It’s so simple! Just be perfect. And have all the people writing the libraries you depend on be perfect, too.
Pesthuf··on iOS 18 cracks down on apps asking for full address book access
This would probably be a good use case for “ai”, to filter out notifications that are clearly ads.
Pesthuf··on Nvidia's flagship gaming GPU can crack complex passwords in under an hour
I thought it was obvious since I mentioned bcrypt and argon 2 later that I meant plain, simple, single round SHA-256. Usually salted, but there's one database where they're not, for some weird MySQL view compatibility hack that allows reusing the accounts and password hashes in a different legacy application that doesn't support salts whatsoever.

The reasons why this is terrible for storing password hashes are widely known, everyone else in the comments is already talking about how you're meant to use something like PBKDF2 or bcrypt instead, so I didn't see the need to put an explanation nobody needs in my comment.

Pesthuf··on Nvidia's flagship gaming GPU can crack complex passwords in under an hour
Not quite as unrealistic as it seems - I have colleagues I can’t convince that SHA-256 is NOT good for passwords.

They just don’t understand that it’s safe for larger binaries, but absolutely not for short ASCII strings like passwords. Also they find it convenient since most modern programming languages and databases directly support those hash functions, but not something like bcrypt or Argon2.

So I do think there are many passwords out there you can crack easily and quickly nowadays.

I’ll try convincing them again…

Pesthuf··on API Shouldn't Redirect HTTP to HTTPS
It’s a good option, but you can’t give users a reason for the failure. They might even assume your service is broken.
Pesthuf··on &udm=14 – easy access to an AI-free Google search
I hope we get extensions that auto-append this soon.
Pesthuf··on Microsoft's AI chatbot will 'recall' everything you do on its new PCs
Yes/No became Yes / Please ask me later, and thank you very much (in a semi-hidden button in a totally unexpected position that doesn’t even look clickable)

And a few months later, it’ll toggle to “yes” automatically, due to a “bug”.

Pesthuf··on Apple introduces M4 chip
Honestly, if they manage this, they have my money. But to get actually powerful models running, they need to supply the devices with enough RAM - and that's definitely not what Apple like to do.
Pesthuf··on Arc Browser for Windows, now generally available
I wonder if they phrased it that way deliberately for engagement. "New Chromium reskin, now for Windows" won't get as much attention.
Pesthuf··on Did we lose our way in making efficient software?
An actual customer won’t like it when you tell them they have to turn off or bypass a security feature to run your software. Not when other software doesn’t need it.
Pesthuf··on How I stopped worrying and loved Makefiles
I've always wanted to use one of those, but you have to convince the other developers on your team to use it as well. Make is a relatively easy sell because it's on pretty much every system or at least trivial to install and has decades of reputation.
Pesthuf··on Windows 11 Start menu ads are now rolling out to everyone
I don't see why everyone expects Win12 to be a good version. Why would they go back on all the new user hostile changes? It's not like you're paying for the OS - they'll want to extract value from you somehow.

Right now it looks like Win12 will just be Win11, but with more integrated "AI"-stuff.

← PreviousPage 3 of 6Next →