Better HN
topnewbestaskshowjobs
Log inSign up

moebrowne

966 karma · joined Oct 18, 2024 (2y ago) · 281 submissions

<https://www.mountainofcode.co.uk>
Submissions

comment 15h ago · link · parent

I'd love to however this requires touching the key for every git push to GitHub, GitLab and Bitbucket because neither support `no-touch-required` keys.

2.

Llms.txt and MCP didn't move the needle(backpackforlaravel.com ↗)

31 points · by moebrowne · 4d ago · 21 comments

comment 5d ago · link · parent

> What does it cost you to write that explicitly? Like, 10 extra characters?

The given example is 26 additional characters, and that's without any type declarations. Also calling closures isn't free, there is a small performance penalty.

    fn ($version) => version_compare($version, '8.6', '>=')
vs

    version_compare(?, '8.6', '>=')

> Pretty much the same for DocComments for params. Uh... why?

The reason is that docblocks are used to attach meta data to code, like generics.

> SortDirection is literally just a built-in enum, not a huge deal. Libraries will still use their own implementations for a long time just to preserve back-compatibility.

Symfony at least conditionally defines a SortDirection enum in the global namespace: https://github.com/symfony/polyfill-php86/blob/1.x/Resources...

comment 5d ago · link · parent

These benchmarks are garbage, the last round was nearly 2 years ago, there's no explaination of where the "performance scores" come from and the GitHub repo is archived.

The TideWays benchmark doesn't show the peak, it shows the rps for 15 sustained users.

comment 5d ago · link · parent

> once you have to load Wordpress, Drupal, or even worse, Laravel, then it's no longer cheap and quick

The frameworks aren't slow: https://tideways.com/profiler/blog/php-benchmarks-8.6-vs-8.5...

comment 5d ago · link · parent

https://www.php.net/archive/2026.php#2026-11-18-1

comment 6d ago · link · parent

> The PHP security team announces upcoming security releases scheduled for Thursday, 19 November 2026, between 14:00 and 14:30 UTC.

comment 6d ago · link · parent

> _and_ without good reason.

_and_ you can still carry one if it is shorter than 3 inches doesn't lock into place.

comment 1w ago · link · parent

> Except for goats, solar works with most animals

Why not goats?

comment 1w ago · link · parent

The sheep replace the expensive manual labour required to mow around the solar panels. This makes the proposition more attractive, and therefore more likely to be adopted.

comment 1w ago · link · parent

> 99% uptime for email means 3.5 days/ year no email

Depends on how it appears, if it was one or several large chunks that is much more disruptive than minutes per day. 3.5 days/year is equivalent to less than 15 minutes/day.

It sucks no matter how you slice it, but the severity/impact depends on more than the aggregate downtime.

comment 1w ago · link · parent

I don't believe you are using a YubiKey outside when the temperature is beyond those ranges.

comment 2w ago · link · parent

> All YubiKeys have an operational temperature range between 0°C to 40°C (32°F to 104°F).

> All YubiKeys have a storage temperature range between -20°C to 85°C (-4°F to 185°F)

https://docs.yubico.com/hardware/yubikey/datasheet/_static/Y...

comment 2w ago · link · parent

I'd use resident keys if it wasn't for the requirement to prepend `no-touch-required` server side, services like GitHub and BitBucket don't support it.

I don't understand why the server should enforce this...

15.

Reviving Prepack, Facebooks partial JavaScript evaluator(jamesbox.exe.xyz ↗)

1 points · by moebrowne · 2w ago · discuss

16.

PHP2Shell Deep Dive(djad04.github.io ↗)

45 points · by moebrowne · 2w ago · 11 comments

comment 2w ago · link · parent

Same. It's faster and feels respectful to not keeping hitting freely provided repos for the same packages over and over. Someone has to be paying for the bandwidth.

comment 2w ago · link · parent

Archive link: https://web.archive.org/web/20261104150424/https://99percent...

19.

Developers Are Getting RAIded(nickbevers.dev ↗)

1 points · by moebrowne · 2w ago · discuss

comment 3w ago · link · parent

Practical Engineering did a great video on power grid black starts: https://www.youtube.com/watch?v=uOSnQM1Zu4w

comment 3w ago · link · parent

Package managers like apt will delay automatic updates for a random time to avoid this problem:

    RandomizedDelaySec=12hr
https://wiki.debian.org/PeriodicUpdates#Modify_the_schedule_...

22.

PHP Composer 2.11 ships dependency cooldowns(blog.packagist.com ↗)

2 points · by moebrowne · 3w ago · discuss

comment 3w ago · link · parent

Make it not so

comment 1mo ago · link · parent

This has been the norm for years

comment 1mo ago · link · parent

Discussed here: https://news.ycombinator.com/item?id=50177916
12345
10