Readit News logoReadit News
dgb23 commented on If You Quit Social Media, Will You Read More Books?   newyorker.com/news/fault-... · Posted by u/pseudolus
dgb23 · 4 days ago
This might sound stupid or obvious to some, but I found a way to read books more frequently: Read multiple books at once.

For some reason, I read more often and am more motivated when I can switch between books. When I tried to focus on just one, I always got the feeling that I sort of have to read it and that turned me off.

Another issue is that I read very slowly and think a lot when reading books, but that's apparently just how my brain works.

dgb23 commented on Advent of Code 2025   adventofcode.com/2025/abo... · Posted by u/vismit2000
roman_soldier · 14 days ago
Not a fan of these "Coding for fun" things. Code for a job to earn money, yes, a side project where there is an end goal, yes. This seems like a waste of time for working developer.

Maybe it's useful for people trying to learn but also becoming pointless now as all Junior dev roles can be done with AI.

I mean do plumbers have an advent of plumbing where they try and unblock shit filled toilets for fun?

dgb23 · 14 days ago
> I mean do plumbers have an advent of plumbing where they try and unblock shit filled toilets for fun?

Yes, plumbers and other types of craftspeople and technicians do also have these little fun competitions. Why shouldn't they?

I think the reason some of us programmers do these things, is likely because many (myself included) entered the field as enthusiasts and hobbyists in the first place.

dgb23 commented on OpenAI needs to raise at least $207B by 2030   ft.com/content/23e54a28-6... · Posted by u/akira_067
pjmlp · 19 days ago
And then take the whole economy with it when blows up.
dgb23 · 18 days ago
Not just the economy. We usually deal with these busts and crisis collectively through the public sector as well.

There's also a hidden opportunity cost in regards to hype cycles. So much energy, attention and money flows into the hype, while other businesses or entire sectors get overlooked and underappreciated.

dgb23 commented on OpenAI needs to raise at least $207B by 2030   ft.com/content/23e54a28-6... · Posted by u/akira_067
pjmlp · 19 days ago
What about the usual capitalism point of view?

If their business isn't sustainable they should go bankrupt, and close shop.

dgb23 · 19 days ago
Boom and bust hype cycles have always been a feature of capitalism, especially for advanced technology. Perhaps the only way to know the limit is to overshoot.
dgb23 commented on PHP 8.5   stitcher.io/blog/new-in-p... · Posted by u/brentroose
dgb23 · 25 days ago
The pipe operator example omits the typical way you would write this code in any language: simply by introducing temporary variables or by shadowing.

The url parse example is not being compared to the builtin parse_url function that is just as easy to use.

dgb23 commented on PHP 8.5   stitcher.io/blog/new-in-p... · Posted by u/brentroose
pabs3 · 25 days ago
That is an anti-pattern, since it suffers from shell meta-character injection (and argument injection). Since PHP has mkdir, you should use that instead. And pcntl_exec() is the correct API for running processes.
dgb23 · 25 days ago
Typical users of this likely don't care the slightest about whether anyone considers it an anti-pattern, because you use those in order to write utility scripts. And those who care would use tooling to detect issues like that anyways.
dgb23 commented on PHP 8.5   stitcher.io/blog/new-in-p... · Posted by u/brentroose
dotancohen · 25 days ago
I downvoted you before reading the fine article. I'm back to correct that.

The new array_first() and array_last() functions are nice, everything else is either reimplantation of existing features or "features"which will make maintainability more difficult. The pipe operator is one such example. I don't need it - these nested methods are not really an issue in any codebase I've seen. The new syntax only works for unary functions, so higher arity functions must be wrapped in an arrow function. It's a mess and more bug prone than just nesting the functions.

dgb23 · 25 days ago
Many of the newer features have this problem. Like the match keyword, enums, closures etc. They are half-baked versions of what could be powerful and expressive features.

Meanwhile it seemingly abandoned features and unique selling points, like the in-built templating, associative arrays with value semantics and the fact that it integrates well with C or the simple fact that it can be used to write web server scripts very easily. To me, many of these cool features have been largely ignored or even moved away from.

dgb23 commented on PHP 8.5   stitcher.io/blog/new-in-p... · Posted by u/brentroose
kijin · 25 days ago
PHP is a reasonable choice if you care about writing something that will still work out of the box 10 years from now.

But of course this assumes that you work with a team that can see a year ahead, let alone 10.

dgb23 · 25 days ago
PHP has introduced breaking changes, deprecations etc. in a somewhat rapid fashion.

PHP doesn't prioritize stability, but language features and cleanup. It's an impressive technical endeavor that has its merits, but comes with a tradeoff.

Within the last 10 years, the language itself broke twice. And that's not counting the ecosystem on top of it. Common frameworks, libraries etc. tend to break relatively often as well.

There are languages that are _much_ more stable and reliable than that.

dgb23 commented on Europe is scaling back GDPR and relaxing AI laws   theverge.com/news/823750/... · Posted by u/ksec
blueblisters · 25 days ago
The problem is paternalism and assuming the user is too dumb to take control their privacy preferences.

The compliance of the cookie banner regulation has measurable negative externalities - one estimate suggests a EUR 14B/year productivity hit in the EU

Most modern browsers allow you to disable all cookies if you like. You can always use incognito mode if you want to be selective about it.

In an ideal world, the EU could have simply educated their constituents about privacy controls available in their browser.

dgb23 · 25 days ago
GDPR is not a cookie regulation it is a tracking regulation.

u/dgb23

KarmaCake day7092August 25, 2016View Original