1,017 karma · joined Jan 14, 2012 (14y ago) · 296 submissions
comment 4d ago · link · parent
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.
comment 5d ago · link · parent
If the overhead can be further reduced (and people have ideas) then it could be that we only need ZTS mode anymore in the future and that can open up one avenue for PHP to get native async support similar to the existing parallel extension: https://github.com/krakjoe/parallel
More "hands-on" is the stream error handling improvements. This greatly improves the old file stream APIs to now allow throwing exceptions instead of returning false on errors:
$context = stream_context_create([
'stream' => [
'error_mode' => StreamErrorMode::Exception,
],
]);
try {
$config = file_get_contents('/etc/app/config.json', context: $context);
} catch (StreamException $e) {
// handle error
}comment 10mo ago · link · parent
If you are explictitly looking for music by specific artists, then you get their music obviously.
comment 1y ago · link · parent
If you invest 2 days of work and did not find the root cause of a bug, then you have the human desire to keep investing more work, because you already invested so much work. At that point however its best to re-evaluate and do something different instead, because it might have a bigger impact.
Likelihood that after 2 days of not finding the problem, you wont find it after another 2 days is higher than starting over with another bug that on average you find the problem earlier.
comment 1y ago · link · parent
If Germany is listed as "Undecided" then this is in the Council. The 96 MPs are from a wide spectrum of parties and most of them will already be either for, or against this.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
The workaround in case of Sentry is to deploy the Sentry Relay in your network and send all data there.
comment 3y ago · link · parent
Either you sell everything now at the discounted value, leading to loss in deposits. Or you wait 10 years and pay everyone back their deposit then. Given current inflation a dollar now is only worth 50 cent in 10 years.