Hey #php people! Is there a way to implement an abstract constant? I have an abstract class which implements some stuff for my value objects and a constant IDENTIFIER I would like to enforce to be overwritten by the child classes.
$country->getIso() is string|null, but I'm sure it is string - or at least I'm fine ignoring the unexpected case 🙈
Or do I neet to put it in a var to add a /**@var to it?
and after this code, phpstan should consider $iso not-null.
The upside of this is: if $iso turns out to be null, the assertion will throw an exception and end your code. AKA: This way you don't lie to yourself :)
Do you know any comic artists on mastodon? English/german! After seeing @ralphruthe I feel I don’t follow enough artists with fun and serious comic (strips) and/or single panel.
(Trying to find words in English for multi image cokics snd dingle image comics…)
First time I was alone in a #boulder hall. Very different, more breaks as with two … maybe the same as with four people.
Hands hurt, but soul is happy.
And lovely people who gave me tips, third time I got the top 🥰
But not like this: 😂😂
@Schrank Gerne! Da ich gestern eh beschlossen habe, mal öfters eine Kamera mit auf meine Ausflüge (Bouldern, Kayak) mitzunehmen, dann gibts schonmal einen Sneak-Peak vom Oldenbloc 😉
Wow, waking up at 6:25 german time looks like @lisamelton is still awake, NOW I understand what all the people talk about boost spamming 😂😂 #keepItComing
People answering support emails. Do you like it, if a customer replies to the last email with a "thank you" or are you annoyed, the damn ticket got open again? 😅
@Schrank yes, that's actually helpfully. So I know the issue has been solved and topic is closed. When I get no reply I get no feedback is my answer had actually solved the issue or was helpful at all.
Seven of the state was clear before, I personally would never be annoyed by a "thank you" mail.
Anyone has experience with Elastic/Opensearch? Is there an "easy thing" I can do, so I can search for SKUs in our index which contain a dot (.)? Like "123.456"
@alex unfortunately it was not elastic. #shopware has a tokenizer, splitting at . , then removing everything smaller then $minLength(=2)
Which makes a sku like 12.345 => 345 and that is pretty broken in our case 🤪
@heiglandreas@derickr yea, it is hard to find a line. But depending on audience and time slot, it case be totally different. I even have BGP on the list, but don’t know what to do with it yet 😂
Ich habe bisher keine guten Argumente/Statistiken zu "Fahrprüfung ab 70" gelesen. Das Statis sagt, sie nehmen häufiger die Vorfahrt, fahren dabei aber langsamer - verletzen sie mehr Radfahrer? Das steht da leider nicht.
Sie werden häufiger selbst schwerer verletzt oder getötet - ja mei, das ist eigenes Risiko und sollte man den Menschen überlassen.
Sie fahren langsamer, mit mehr Abstand.
Gemessen an der Bevölkerung bauen sie weniger Unfälle - ist das die richtige Größe zum Vergleichen?
@Schrank@unixwitch ja, ich hätte jetzt auch kein Problem alle paar Jahre eine kurze Überprüfung mit zu machen. Ansonsten wäre es natürlich auch für, wenn man den ÖPNV soweit ausbaut dass niemand dieser Leute auf das Auto angewiesen ist.
@Schrank du weißt halt nicht wie hoch die reale Unfallrate ist, weil du nicht weißt wie viele in dem Alter überhaupt noch fahren. Viele verzichten ja tatsächlich von alleine aufs fahren, weil sie sich nicht mehr tauglich fühlen, geben aber deswegen nicht den Führerschein ab, weil könnte man ja doch mal brauchen.
Und die anderen fahren weiter, weil sie es nicht wahr haben wollen, dass sie nicht mehr fit genug sind.
Und die eigentliche Frage, wie viele Unfälle waren die folge von untauglichkeit?
@heiglandreas Hey! Are you into https://www.php.net/manual/de/function.hrtime.php? I thought maybe you have an idea - but please be careful, the rabbit hole is deep.
We tried to understand https://github.com/sebastianbergmann/phpunit/issues/5652 but didn't come up with a way to reproduce or understand. Our current working hypothesis is, that hardware is switching CPUs or something like that and therefore the hrtime call isn't monotonic and might end up in negative durations :D
@Schrank yeah but you opened with all caps and a swear and degradation of something that was clearly your fault so a tiny hashtag at the end wasn't very convincing.
Band gesucht. Ich habe vor 15 Jahren elektronische Musik gehört. Das Outro von @lnp erinnert mich daran. Kann mir jemand sagen, wonach ich suchen muss um da was zu finden?