@heiglandreas@phpc.social
@heiglandreas@phpc.social avatar

heiglandreas

@heiglandreas@phpc.social

Father. Husband. PHP-Nerd. Draughtsman. Soil-Scientist. Brewer. Rescue-Diver. OSS-Maintainer. Challenge-Accepter.

Homebase roughly 50N 8E

@ teamup.com, ingewikkeld.net & stella-maris.solutions

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Schrank, to random
@Schrank@phpc.social avatar

Sending parcels through the world ... especially UK is hard, because the german DHL form doesn't fit the UK addresses :D :elephpant_white:

heiglandreas,
@heiglandreas@phpc.social avatar

@Schrank 🤦

pilhuhn, to php
@pilhuhn@mastodon.social avatar

seems to have some fan-boys out there ;-)

Or a big vulnerability…

heiglandreas,
@heiglandreas@phpc.social avatar

@pilhuhn Some people think it's a good idea to deploy PHPUnit to the production environment. And this tries to find such a deployment....

Should someone break into a system via this mechanism: Don't blame PHPUnit but the process that allowed a testing tool to end up on a production server!

heiglandreas,
@heiglandreas@phpc.social avatar

@sirber @pilhuhn you mean apart from 'composer require --dev' and 'composer install --no-dev'?

Do not use composer to install dev-tools. Or use a separate composer.json for the dev-tools.

(wanted to write a blogpost about the why and how but didn't get around yet...)

ocramius, to random
@ocramius@mastodon.social avatar

Send invalid Authorization headers to Atlassian Confluence: get 200 responses back, with empty results.

I despise Atlassian: they're so bad at writing software.

heiglandreas,
@heiglandreas@phpc.social avatar

@ocramius Yes!

Skoop, to random
@Skoop@phpc.social avatar

Phun with PHAR: I try to get PHPStan up and running with extensions, but it seems impossible to make PHPStan PHAR work with extensions.

I don't really understand why extensions don't work with the PHAR. It should not really be an issue, right?

heiglandreas,
@heiglandreas@phpc.social avatar

@wouterj @Skoop @acelaya between us: The composer distributed package is a PHAR wrapped into composer package IIRC.

PHPStan packages though have odd ways of requiring external libraries that will not be available via the pure PHAR build installed via phive...

heiglandreas,
@heiglandreas@phpc.social avatar

@ramsey @wouterj @Skoop @acelaya there are ways. But it's currently much more complex and requires a lot of hoop jumping.

For exame the eytension needs to be installed viacomposer while the tool itself is a PHAR. But then the extension will install the tool via composer as it is required.Unless you explicitlystop composer from doing so...

Separate composer.json is easier... 🤷

heiglandreas, to random
@heiglandreas@phpc.social avatar

😕 Which conference do they want me to submit for?

I probably should submit a time-related talk. Perhaps I can still make it then...

heiglandreas,
@heiglandreas@phpc.social avatar

@maccath There are reasons why I am not submitting any more 😁

Still I get their "Friendly reminders" 😂

heiglandreas,
@heiglandreas@phpc.social avatar

@maccath Given that they are in fact making their money out of organizing conferences and such... 🙈

heiglandreas,
@heiglandreas@phpc.social avatar

@maccath @jessicamauerhan 😂

Can relate! Say Hi to Jessica and have fun you two (and whoever else joins in)

formschub, to random German
@formschub@fnordon.de avatar

»Auf Sylt war’s der Alkohol, beim Aiwanger war’s der Bruder, bei Höcke nur ein Missverständnis, Oma hat von nichts gewusst und Opa nur Befehle befolgt. Irgendwas ist halt immer in Deutschland.«
( via @paul_starzmann auf Twitter )

heiglandreas,
@heiglandreas@phpc.social avatar

@formschub

🤔 Wenn ich also alkoholisiert einen Nazi überfahre....

Asking for a friend....

derickr, (edited ) to random
@derickr@phpc.social avatar

One week ago, I watched "20 Days in Mariupol", a gripping film when Russia started the full scale invasion of Ukraine.

At times, I had to pause watching it as it way too much.

The extraordinary cruelty of targeting civilian infrastructure made it even clearer to me that we're doing way too little to help them. Restricting what the Ukrainians can hit is stupid policy.

Any strike on a civilian target MUST be able to result in an appropriate response. Make the suckers pay for it.

#SlavaUkraina

heiglandreas,
@heiglandreas@phpc.social avatar

@syntaxseed Sometimes that border needs to be crossed. Society is like a game with rules. But you can play "by the rules" as much as you want, when others just break the rules there is no fair game possible.

That's like the paradix of tolerance. Sometimes you HAVE to be intollerant to maintain tolerance...

https://en.m.wikipedia.org/wiki/Paradox_of_tolerance

@derickr

heiglandreas,
@heiglandreas@phpc.social avatar

@syntaxseed Teaching that exception to the rule to children is hard. Especially the part when is it necessary to break the rule and when.

TBH: @rskuipers made me think about that when I heard him speak about decission making and realizing the point right now that will cause the future to change. In hindsight that is always easy to determine. But being able to see how a decission today can shape the future is a blessing. And a curse ( https://en.m.wikipedia.org/wiki/Cassandra )

@derickr

heiglandreas,
@heiglandreas@phpc.social avatar

@syntaxseed Yeah. That was what I meant with the "Hard Part". When does resistance become suppression....

Drawing "The Line" and questioning oneself each and every time isn't easy.

/cc @derickr

Crell, to Java
@Crell@phpc.social avatar

Oh. My. Fucking. God.

I have just learned that " Bean" has two completely different and incompatible definitions.

One is a dumb, badly designed data object with getters and setters.

The other is... a service object managed by the Spring framework IoC container.

Holy hell. This is 10x worse than "facades."

Am I wrong here? This is what I'm finding from online tutorials. Is there more nuance that is not coming through, because for now I just hate even more.

heiglandreas,
@heiglandreas@phpc.social avatar

@Crell That is about the only Java Bean that I will ever consider seriously.

andymckay, to random
@andymckay@mastodon.social avatar

I gave Jira AI a try. So I typed this into AI to see what would happen. Was not disappointed. Well alright I was. Haven't found it give a useful or correct answer yet.

heiglandreas,
@heiglandreas@phpc.social avatar

@andymckay It's Jira. What'd you expect?

chrastecky, to RegEx
@chrastecky@phpc.social avatar

Lo and behold, fellow mortals of the programmer variety! I find myself embarking upon a most arduous quest.

One that shall test the mettle of my coding prowess... Yes, thee heard right.

I dare to dance with the elusive and powerful entity known as... the #regex #email #validation!

heiglandreas,
@heiglandreas@phpc.social avatar

@chrastecky There's only one way to actually validate an email address. Send an email to it and let the recipient click a link in it.

Everything else is just pretend...

heiglandreas,
@heiglandreas@phpc.social avatar

@chrastecky All right! 3 step email verification:

  1. No '@', no email address
  2. No MX entry in DNS for the part *after" the '@', no email address
  3. No response to a link in an email to the email address, No email address.

Everything else might look like an email address, but it isn't.... 🤷

heiglandreas,
@heiglandreas@phpc.social avatar

@chrastecky And while

ändi@stella.maris.solutions

looks like a valid email-address (if it doesn't, check your algo) ir is about as valid as "hello world" as an email address.

But that might just be different expectations of what a valid email address is. 🤷

When your customer is happy with above string being considered a "valid email address", then everything is fine...

heiglandreas, to random
@heiglandreas@phpc.social avatar

Ich glaube ich habe heute abend Zeit zum lesen.... 😁

Muss ja fertig werden solange es noch legal ist....

heiglandreas,
@heiglandreas@phpc.social avatar

@psycodepath 🤔

Ab wann ist "andere Abhilfe nicht möglich"? Frage für einen Freund.... 😁

lovinurbanism, to random German
@lovinurbanism@mastodon.social avatar

"Weil die anderen nerven."

Das würde ich nicht mal bei einer Klassensprecherwahl in der Grundschule als Argument durchgehen lassen. Aber für die CSU reicht es offensichtlich für den Wahlkampf.

heiglandreas,
@heiglandreas@phpc.social avatar

@lovinurbanism

Hey Martin von der #CSU: Vieleich freut es dich zu hören! Die Grünen wollen auch kein Schwarz Grün!

Und Besserwisser und Klugscheißer müssen schon schwarz sein, damit sie was taugen, gell? Am besten in schwarzen Uniformen, oder?

ramsey, to random
@ramsey@phpc.social avatar

So, why did Matrix decide to create a brand new federated communications spec over working with XMPP? https://autonomous.zone/@bamfic/112516709699999473

heiglandreas,
@heiglandreas@phpc.social avatar

@ramsey Do I really need to post the XKCD? 😁

afilina, to random
@afilina@phpc.social avatar

When did I get from "too young to be taken seriously as a programmer" to "I have a kid your age"?!

heiglandreas,
@heiglandreas@phpc.social avatar

@afilina wait... You mean... you're not? 🤯

ramsey, to random
@ramsey@phpc.social avatar

docker-compose on macOS vs. docker compose on Linux always throws me off for about 5 or 10 minutes.

heiglandreas,
@heiglandreas@phpc.social avatar

@ramsey Intersting. I'm running docker compose on my Mac like I previously did on Linux....

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines