Patrick Heller

I know things. Backend, Frontend, People.

Patrick Heller boosted:
Jan Wildeboer 😷:krulorange:jwildeboer@social.wildeboer.net
2025-01-01

Ich fasse nochmal zusammen. Trotz mehrerer Verfahren in mehreren Bundesländern, trotz versuchter aber verschleppter Gefährderansprache, trotz Hinweisen von Organisationen und Diensten aus anderen Staaten haben die deutschen Behörden schlussendlich tatenlos zugeschaut. Und jetzt soll die #Vorratsdatenspeicherung kommen weil man damit — ja genau was eigentlich erreicht? Wollt ihr uns alle verarschen, Berlin?

Patrick Heller boosted:
Larry GarfieldCrell@phpc.social
2024-12-21

Did you just spend way too long tracking down a bug?

What changes to the code would have made it easier to track down? (Better types, better logging, an extra exception handler...)

Go do that. Now, while you still remember. That is part of the bug fix.

Repeat until all bugs become self-evident.

#Programming

Patrick Hellerhellpat
2024-11-25

@patchlevel Great little improvement. I stumbled over that, too.

Patrick Heller boosted:
Nuno Maduronunomaduro
2024-11-25

we’ve used laravel’s soft deletes in a few production apps, and honestly, they just make the codebase more complicated and lead to a bunch of unexpected edge cases. i try to avoid them as much as possible.

Patrick Heller boosted:
Sarah Savagesarah@phpc.social
2024-11-18

Fellow #php devs: I regret to inform you that The PHP Foundation is not your friend, and they do not follow the ethics that they claim to believe in.

For starters, they recently published that Automattic, the commercial company associated with WordPress and who is being sued by WP Engine over extortion and racketeering claims, upped their donation. Rather than returning it they celebrated it.

Patrick Heller boosted:
2024-11-17

Mozilla has a "what should we focus on?" survey where you can encourage them to focus on privacy, the open web, disinformation or open source.

Just in case anyone feels like adding another "NOT THE FUCKING AI, YOU IDIOTS" voice to the mix.

mozillafoundation.tfaforms.net

#Mozilla #Survey #GenAI

Patrick Heller boosted:
2024-11-17

Microsoft Mgmt Deteriorates GitHub UX - Goodbye Perf and Progressive Enhancement?

Mu-An Chiou writes @muan:

"React got pushed down from Microsoft management and most of us on the [GitHub] front-end team quit."

muan.co/posts/javascript

#webperf #ProgressiveEnhancement #github #Microsoft

Patrick Heller boosted:

We discussed event sourcing snapshots and a lot more on stream! We're tired of hand-waving away the important questions in software design.

Join us next Sunday at 16:00 UTC+1 and hop on stream to ask questions or just to disagree!

youtu.be/Toh41t1EbxU?si=muwPPY

twitch.tv/shawnmccool/schedule

Patrick Hellerhellpat
2024-11-13

@andrewfeeney I think it's way better to serialize it manually.

Also the `toArray` and `toJson` have the "present" included that they're recursive and serialize not only therelations, but also their relations.

While "$hidden" is `[]` by default.
I found issues with that in multiple Laravel applications already.

laravel.com/docs/11.x/eloquent

Patrick Heller boosted:
2024-11-12

I have some news to share! As you know, we already have a Symfony integration ready for patchlevel/event-sourcing. In addition to that, we are currently working on a Laravel integration!

We’ve already released the first beta versions, so if you’re using Laravel, it would be great if you could help us out by testing the integration. We’re grateful for any kind of feedback!

Here is the link to the package docs: laravel-event-sourcing.patchle

#PHP #DDD #EventSourcing #Laravel

Patrick Heller boosted:
PHP-Usergroupsphp_ug@phpc.social
2024-11-07

Looks like the PH-Usergroup in Karlsruhe Germany is getting up and running again! 🎉

Find more details at php.ug/phpugka

Patrick Hellerhellpat
2024-11-05

@carbontwelve I saw different solutions to that.

TLDR; use "jobs" kubernetes.io/docs/concepts/wo

Other solutions I saw in the wild:

- stateful set, with init_containers
- GitHub pipeline sshing into the first container and execute the command
- A cronjon that comes across every minute with parallelism 1
- run migrations manually, so you can decide if code first or migration first (would still be doable using jobs): php artisan migrate --path=/database/migrations/before or after

Patrick Heller boosted:
greg0ire :doctrine:greg0ire@phpc.social
2024-11-02

📦release: `doctrine/persistence` 4.0.0

In this release, the library is no longer aware about `doctrine/common`. Also, it becomes totally typed, allowing dependent libraries to become totally typed as well.

You can read more details in:
- the release notes: github.com/doctrine/persistenc
- the upgrade guide: github.com/doctrine/persistenc

Patrick Heller boosted:
Jim Winsteadjimw@mefi.social
2024-10-30

Google’s Flutter project is getting forked because the 50 paid developers of Flutter can’t keep up with the community of 1M+ developers who use Flutter.

Meanwhile, there are maybe 20 people getting paid to work full-time on the core of #PHP (I am not one of them) and when a rarely-used function is changed to throw an error on invalid input instead of silently doing the wrong thing, project members get accused of “breaking backwards compatibility”, “quietly changing docs”, and “cowboy antics”.

github.com/php/php-src/issues/
toot.cat/@ceejbot/113393796515

Patrick Heller boosted:
Out of Control :laravel: 🇨🇦outofcontrol@phpc.social
2024-10-29

Most excellent post from the @freekmurze 180th dev newsletter. If you are a 1Password user, perhaps you also didn’t know its dev tools were so powerful. Thanks Freek for sharing! A quick read:

flareapp.io/blog/using-1passwo

#1password #devops #security #laravel #cli

Patrick Heller boosted:
PHP User Group Rheinhessenphpugrhh@phpc.social
2024-10-18

Unser nächstes Meetup findet am 6. November in Mainz statt mit Vorträgen zum Schwerpunkt Testing und Profiling von @movetodevnull und @beberlei :elephpant:
Hier gibt's mehr Infos und die Anmeldung:
meetu.ps/e/Nxh6q/1CbxL/i

Patrick Hellerhellpat
2024-10-17

was a blast. I really enjoyed the talks and having you in my office at knowledgehero in the Frameworx co-working space.

Patrick Hellerhellpat
2024-10-16

@rolfdenhartog @php_discussions I used Laravel with doctrine ORM for a while.

Now I don't use Doctrine ORM anymore and discovered to power of not using an ORM.

are good. And there are plenty of them in the space. One size fits all does not exist.

Patrick Hellerhellpat
2024-10-15

@php_discussions it's the complete opposite for me.
Whenever I touch laravel (I do on a daily basis) I want to go back to

But hey. What ever floats your boat.

I love, that the ecosystem has multiple frameworks & top-notch ecosystem.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst