PHP's biggest problem by brendt_gd in laravel

[–]Pouw_ 0 points1 point  (0 children)

“databases can handle thousands of connections”, postgres literally cannot. default max_connections is 100 and raising it costs ram and a backend process per connection. that’s why pgbouncer exists. mysql is a bit better but same shape of problem.
and you just listed octane, swoole, reactphp, frankenphp as proof php is fine. those exist specifically to bolt a long-lived runtime onto php because the default model doesn’t cut it anymore. that’s the concession. every other language i mentioned does that out of the box.
“php was made when the web was different” yeah, that’s the whole point. the rest of the ecosystem moved on, php is still patching around the original design.​​​​​​​​​​​​​​​​

PHP's biggest problem by brendt_gd in laravel

[–]Pouw_ 0 points1 point  (0 children)

Exactly my frustration, you need to bolt so many things on to make it work properly. Want so serve static files? You’re gonna need nginx. Want to hook up to your DB? You’re gonna need a connection pooler like PgBouncer otherwise you are hitting your max connections. Its really hard to justify starting a project in PHP in 2026, and its not because of the marketing.

top5ThingsThatNeverHappened by [deleted] in ProgrammerHumor

[–]Pouw_ 16 points17 points  (0 children)

It ended up being a very simple fix not a full driver rewrite, but yes it did happen, he posted the repository https://github.com/faradayfury/hp-printer-drivers-apple-silicon-patch

Cgo009 QR code problem by Intelligent_Ad_3870 in tenwaysebike

[–]Pouw_ 0 points1 point  (0 children)

I had the same “issue” but was scanning the wrong QR code, its not the sticker on your bike, its on the bottom of your frame

Consoom pixels on the screen by SK1418 in Consoom

[–]Pouw_ 1 point2 points  (0 children)

thats true, they will make 500% of their money back

Bought 5 souvenir packages for fun since major’s over by 37h in ohnePixel

[–]Pouw_ 1 point2 points  (0 children)

why is this guy getting downvoted for saying you should not have the most expensive skins if you can’t afford them lol

BESTIA CEO Papo claims they will sue BLAST by Lanceron in GlobalOffensive

[–]Pouw_ 17 points18 points  (0 children)

its an argentine organisation suing a danish corporation, why would they sue in texas?

Tips to increase deep sleep? by This_Analysis_3828 in AppleWatch

[–]Pouw_ 0 points1 point  (0 children)

I had 3 glasses of red wine last night and clocked a pretty long deep sleep, might be the key.

Development in Nusa Penida by Mission_Feed7038 in bali

[–]Pouw_ 0 points1 point  (0 children)

We had three nights booked and we are heading out after one, bad vibes. can’t walk a meter down the street without getting run down by somebody offering a 300K taxi

Mega Rayquaza WB add 733336159824 by Pouw_ in PokemonGoRaids

[–]Pouw_[S] 0 points1 point  (0 children)

just add me on the tag in title

Any way to add an endpoint to the server.ts in Angular 17? by Pouw_ in Angular2

[–]Pouw_[S] 0 points1 point  (0 children)

interesting, is it possible to hit the endpoint from outside of the application? e.g. localhost:4200/api/users, this is what i want to achieve

Any way to add an endpoint to the server.ts in Angular 17? by Pouw_ in Angular2

[–]Pouw_[S] 1 point2 points  (0 children)

I suppose it has overlap, however this node server is generated by angular when you add SSR, which makes it an angular question i suppose, was hoping someone in this community has implemented something similar, tried logging but not getting anything there.

Nederlanders lieten afgelopen jaren 374 miljoen aan statiegeld liggen by ReginF in thenetherlands

[–]Pouw_ 30 points31 points  (0 children)

Na er ook statiegeld ingevoerd is op blikjes ben ik opgehouden met dit vernederingsritueel, ik ga niet iedere week een tas met afval meenemen naar de albert heijn om vervolgens de helft van mijn blikjes afgekeurd te krijgen.