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.
> 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.
> 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.
From your own source, a basic demo with Laravel peaks at 95 requests/s/core. It's worse with Wordpress at less than 20 r/s/core. That's slow.
The last round of TechEmpower web benchmarks computed the framework overhead. Depending on the task, the performance of Laravel was 5% to 20% of the native PHP code, i.e. 5 to 20 times slower.
Source : https://www.techempower.com/benchmarks/#section=data-r23&tes...
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.
> The TideWays benchmark doesn't show the peak, it shows the rps for 15 sustained users.
Yes. And it's also not entirely representative of a production set-up. As an example Vegata is running on the same machine as PHP and the same is true for the MySQL server used by WordPress and Laravel. The tests are also running against a - except for worker count - stock installation to possibly highlight improvements by better INI defaults in newer PHP versions. This is all good enough to compare the different PHP versions against each other, since they are all equally affected by this. But it is thus by no means representative of what you can get out of a properly tuned production setup.
Disclosure: I set up the benchmark and performed the measurements.
PS: It's Tideways, lowercase 'w'.
This is with just 15 concurrent users, we (one author of the benchmark) did not want to measure peak performance, just the relative performance between PHP versions.
The benchmarks show PHP itself isn't slow, but running WP or Laravel adds that initial load cost you mentioned. If your goal is cheap and quick without patching plugins, Hatamoto CMS uses just one Go binary plus Postgres so there is no framework overhead to start with.
Symfony with 35ms and Wordpress with 50ms in the 99th percentile is not significant though if we are talking about serving a web page with content to consume.
We have a Symfony REST API responding in 20ms for 30-40k requests per minute.
Yes there are use-cases outside this scale where Go (or others) is better suited from the start, but its not universal deal breaker.
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.
>The carbon impact of lawn mowing is significant; one hour of gas-powered lawn mower use produces 11 times the emissions of driving the average new car for an hour, resulting in approximately 563 pounds of CO2 annually for an average lawn.
If we are serious about "ecological gains", shouldn't we compare this with the overall negative impact of sheep grazing (e.g. https://ourworldindata.org/is-organic-farming-better-for-the... )? Why only consider biodiversity (which certainly is important)?
> 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.
Given how incredibly important they can be, having an operating range that can be exceeded by ambient temperatures in some (very populated!) regions of the world is a design flaw.
iPhones are only designed to work from 0-35C, which is more narrow than the yubikeys, and way more important and way more widely used, so I think it will probably be okay.
my iPhone is nowhere near as important as my yubikeys.
Without my phone, I can still access my computers and servers and do my banking etc. Without my yubikeys this is going to be a real problem.
I used to have a 2FA key for a job and I would take my laptop out onto my deck so I could grill food while working, so I absolutely did.
EDIT: I see from your profile you are from the UK. Where I live it is absolutely normal to pop out to grill up some steaks in the winter, or throw some ribs on when it's hot outside so they're nice and tender by the evening for everyone to enjoy on a summer night.
reply