Better HN
topnewbestaskshowjobs
Log inSign up

kijin

11,288 karma · joined Aug 26, 2011 (15y ago) · 4,242 submissions

Thinker, writer, programmer

Homepage: https://www.kijinsung.com Business: https://www.poesis.org

GitHub: https://github.com/kijin E-mail: kijin@kijinsung.com

Submissions

comment 10h ago · link · parent

About 150 sq ft, and it gets pretty cold around here so the heating requirement is at least 10 watts per sq ft. I need that 600W CPU and two GPUs that pull at least 500W each! :)

comment 16h ago · link · parent

Heh, 600 watts. I want one under my desk to keep my feet warm this winter. Pair it with a couple of top-tier GPUs and I might even be able to heat the entire room.

comment 2d ago · link · parent

Actual utilization rates and latency for each device.

Even the grandparent bug report says that iowait is high while utilization is low. They know full well that utilization is the figure that reflects reality.

comment 5d ago · link · parent

The backport changelog is not an exhaustive list. It is missing a couple of use-after-free CVEs that only affect PHP 8.5+.

comment 5d ago · link · parent

Before you all get excited about the new version, patch the old version you're running now!

The PHP team announced that they're going to release a critical fix between 14:00 and 14:30 UTC today. Doesn't say whether 8.6 is affected too, but the vulnerability is probably at the top of their mind right now -- even more so than the 8.6 release.

comment 6d ago · link · parent

And there were a couple of other http2 CVEs in nginx before the Apache one.

Just keep that protocol disabled for now. It's apparently too difficult for any human to write a secure implementation of http2. (As for http3, forget about it, we need AGI for that.)

comment 6d ago · link · parent

Nobody seems to notify major distros before publishing their latest vulnerability anymore. Coordinated patches are a thing of the past, now we just hope that somebody at Red Hat and/or Canonical is reading HN today.

comment 1w ago · link · parent

Yes, writing it twice is the perfect way to figure out the right level of abstraction for your project, and how extensible your components need to be. Try to do it with only one instance in front of you, and you end up with all sorts of unnecessary abstractions "just in case".

If you find yourself writing it a third time, on the other hand, you should seriously start consolidating.

comment 2w ago · link · parent

Yes, it's a significant expense even on top of an Apple salary.

Any company, not just Apple, should be tracking whether the extra spending is worth it. There must be a point of diminishing returns where additional AI usage stops increasing productivity at a comparable rate. That point should be your target. Different teams can have vastly different thresholds.

Companies also can't justify ever-increasing costs just because it increases productivity. It's business. You care about profits, not raw productivity. And Apple doesn't seem to be having a particularly great time these days.

comment 2w ago · link · parent

The exploit works for a user account that has no password. This is often confused with turning off password auth, especially in containers that have only one usable account.

It's not just the parent commenter. I'm sure somebody out there is going to remove their account password instead of editing their sshd_config in an attempt to "patch" this vulnerability, actually exacerbating the problem.

comment 3w ago · link · parent

They pull from Debian unstable every 6 months and that's it. Afterward, changes made in Debian mean nothing to Ubuntu.

Don't trust Ubuntu's LTS promises, either. Most of the modern packages you care about are in universe, which almost never gets patched after the initial release.

I think they deliberately leave the free LTS version insecure in order to sell Pro licenses. But guess what, even Pro doesn't get timely patches.

comment 3w ago · link · parent

Microsoft skipped Window 9 too.

Samsung skipped an entire range of numbers from Galaxy S 11 to 19.

Looks like tech companies don't like 9...

comment 1mo ago · link · parent

In fact, trying to add features while maintaining backward compatibility with existing messy code is exactly the reason why PHP is so messy.

I hope they clean up some of that mess in PHP 9, but no, they're just going to add $shiny_new_feature and make the attack surface even larger. Like, why does the session handler even care about measuring upload progress?

comment 1mo ago · link · parent

It's not. The CA in question is an intermediate CA that somehow managed to convince a root to sign their public key.

comment 1mo ago · link · parent

It's more like they tore down the entire barn.

comment 1mo ago · link · parent

I've integrated with production APIs that tell the client to encrypt sensitive data using an IV consisting of 16 null bytes.

Some people just follow a spec and don't stop to think what that spec is supposed to accomplish.

comment 1mo ago · link · parent

Yeah, I don't think I've touched mod_php ever since Apache 2.4 came up with mod_proxy_fcgi, allowing dead simple integration with php-fpm.

PHP does need to invest more in the built-in web server, though. Last time I checked, they still recommend against using it in production.

All other popular runtimes provide a standards-compliant HTTP daemon that any other HTTP daemon can proxy to, it's just the way things work nowadays. Insisting on FastCGI limits integration with more modern web servers and HTTP-speaking middleware.

comment 1mo ago · link · parent

But did they "get the fix out"?

They released some binaries, built for their own docker image based on their own Linux distro. Other people couldn't use Chainguard's "fix" to patch their own systems. The only people who seem to have benefited from the stunt are the hackers who used AI to reverse-engineer the binaries and write exploits.

That was a giant fuck-you to the rest of the PHP ecosystem, nothing more.

comment 1mo ago · link · parent

Anyone using a non-default version from the semi-official PPA by Ondrej Sury is still waiting for an update.

The launchpad server is throwing 503 errors all over the place, so that's probably the reason for the delay. Sury's own repo has the fixes all right.

comment 1mo ago · link · parent

"late medieval and early modern" = some time between the Plague and the industrial revolution.

"modern" = after the industrial revolution, which implies broad availability of farmed meat, leading to a gradual decline of hunting.

Yes, predation is a major factor in rabbit population control. And I'm counting British people as formidable rabbit killers, so I think we're in agreement there.

comment 1mo ago · link · parent

Rabbits also happen to be an excellent source of protein for other animals. This helps keep the rabbit population under control in healthy ecosystems.

Unlike Australia, Britain had wolves and foxes for a long time. Not to mention the apex predator, Homo sapiens, who in late medieval and early modern Britain were probably much more eager to hunt and eat rabbits than modern Australians are.

comment 1mo ago · link · parent

Somebody in the Windows team must have realized that they can now vibecode all the missing features into MS Paint without having to dig into the legacy codebase themselves. New brushes, layers, and now rotation.

We all know where this is headed. Sooner or later, they're going to drag copilot into it.

comment 1mo ago · link · parent

Of course the customer is going to pay more in the long term.

Even if the TCO for the clinic were exactly the same over X number of years, the manufacturer that sells subscriptions still comes out ahead because they're effectively in the financing business, too. Why tell a customer to go borrow money from somebody else when you can make them borrow from you?

comment 1mo ago · link · parent

> but I think it's a big leap to say that they will be able to dominate the category.

Which is why they are valued at "only" 7.5B, while frontier labs with general-purpose LLMs have valuations in the order of trillions.

Horowitz et al. invest in probabilities, not certainty. If Typesafe doesn't make it, they'll have other horses in the race too.

comment 1mo ago · link · parent

Close those PRs. No hesitation. No remorse.

My project exists for the concrete purpose of helping the community get things done, not for the abstract goal of making good software. (It actually isn't very good software, to be honest.)

If you're a real human being who needs help fixing a bug or implementing a feature, I will gladly take the time to help you. But if you're a bot that is just trying to tidy up my software in accordance with some ideal design pattern, unrelated to the specific needs of any human being, then you can just go help yourself.

Open source projects have had gatekeeping mechanisms for decades. Remember ESR's popular (albeit exaggerated) posts about how to fit in with hacker culture? It's the same thing. There's nothing wrong with it. New contributors must prove that they know how to be a good member of any community they're trying to enter. There's no abstract ideal of openness-to-all that we must somehow all strive for. Follow the needs of the actual community that you care about. Don't feel sorry for spammers, especially non-human spammers.

comment 1mo ago · link · parent

Nothing you can't fix if you have root. :)

comment 1mo ago · link · parent

You should have run that command as the `nobody` user.

comment 1mo ago · link · parent

When Levi's first made jeans, zippers were not invented yet. You must have bought a pair from one of their original product lines.

Besides, pants with button fly have the distinctive advantage that you will never get your most sensitive skin accidentally pinched between the zippers. :)

comment 2mo ago · link · parent

Considering that every WordPress permalink has a trailing slash by default, and given that WordPress is sort of a big deal in PHP, I'm surprised that it took so long to find that bug.

comment 2mo ago · link · parent

> So nearly all groups eventually internalized a similar set of norms, a similar food culture and similar political institutions, without ever being part of the same political unit.

They managed to achieve eventual consistency in a distributed system, thousands of years before we even thought of it.

12345
142