@herndlm@phpc.social avatar

herndlm

@herndlm@phpc.social

#PHP#TS#ArchLinux#SourDough baking • 日本

Austrian living in Karlsruhe, regular #phpstan contributor, acquired a basic 茶道 "certificate"

I have a strong interest in #health and #StrengthTraining but kind of suck at both. Oh, and I love discovering new and weird #music, mostly alternative'ish

簡単な日本語でも大丈夫です。

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

herndlm, to javascript
@herndlm@phpc.social avatar

dependency management is the reason for my ever increasing amount of grey hair.

I'm somebody who keeps their dependencies updated on a very regular basis, but still end up in those rabbit holes where update x needs y updated which needs z migrated to gamma because alpha was replaced with the now outdated beta because the community doesn't think it's cool anymore. or so.

ghorwood, to random
@ghorwood@mastodon.social avatar

me: all the music i like is objectively terrible
cody: i'm sure that's not true...
me: the band i'm listening to right now is called 'witch piss' and their album cover looks like this.
cody: ah. i see what you mean now.

herndlm,
@herndlm@phpc.social avatar

@ghorwood well that was fun. Please feel free to keep sharing more often. I enjoy getting shouted at from time to time 😊

herndlm,
@herndlm@phpc.social avatar

@ghorwood Hamburglar is almost a pop song xD

herndlm, to random
@herndlm@phpc.social avatar

@craigfrancis btw I just had fun (and I mean it) adding literal-string to query params of some Db helper class in legacy code used for database migrations. @phpstan helps enforce using prepared statements there basically now :)

cspray, to php
@cspray@phpc.social avatar

I have found myself, for the first time, having to write what I consider worse code to satisfy Psalm static analysis. Here's a watered-down example showing what I consider odd behavior.

https://psalm.dev/r/5862a290e2

I'm not certain why the 2nd call to doSomething() is valid but the 1st call is not.

#php

herndlm,
@herndlm@phpc.social avatar

@cspray I don't understand or don't see the issue :) this is about the non-indexed array keys a list needs, right? array_unique does not re-index, while using the spread basically does I guess?

f_lombardo, to php Italian
@f_lombardo@phpc.social avatar

I'd like to become more involved in Open Source. Any suggestions for an interesting Open Source project that needs some help?
(And sorry, no, I don't want to write docs :-)

herndlm,
@herndlm@phpc.social avatar

@f_lombardo

@phpstan has many open issues, but the learning curve is steep, I have to admit. Sometimes there are very simple things to adapt, like function signatures, sometimes a "small" bug turns out to need a huge refactor.

composer might be interesting too. I think they always appreciate when new tests are added (not all commands are tested), but if that's too boring - there are also various edge case bugs and such.

Crell, to ai
@Crell@phpc.social avatar

I reached out to about their code assistant.

They verified:

  1. They use , which means my GitHub OSS has almost certainly been used in training data.
  2. They rely on OpenAI's promise to not ingest any code that is used for "context".
  3. They specifically do not disclaim that their tool could result in me violating someone else's copyright, and they could suggest the same code to someone else, too.

Uninstall this crap, now. It's dangerous and irresponsible

herndlm,
@herndlm@phpc.social avatar

@Crell thx for finding out more about this! Just to be sure - this is about the "Full line code completion with local AI" feature that was added with 2024.1, correct?

herndlm,
@herndlm@phpc.social avatar

@Crell oh ok, good that I asked then I guess :)

benoit, to random
@benoit@toots.benpro.fr avatar

I don't know what's happening, but recently on my Pixel 6a with GrapheneOS most apps won't work... They say "no internet connectivity"... I have to force kill the apps and re-open them to fix it. And it does not work every time. In that case I have to reboot.

Really weird and make my phone unusable :<

herndlm,
@herndlm@phpc.social avatar

@benoit same combo here and all good, weird. You're not using VPN, "private DNS" or some kind of firewall app?

mikey179, to random German
@mikey179@zug.network avatar

早上好,来自台湾!Mit 1.000 km/h in die Republik China. In kurzer Folge durch den Quarantänecheck, Immigration Check, Baggage Claim, Simkartenerwerb und nach weniger als 1 Stunde nach Landung geht es durch Tunnel und über Brücken mit der MRT in die Hauptstadt. #Taiwbahn

Terminal 1 des Taoyuan Airport
Hochgeständerte Brücke, die gerade befahren wird

herndlm,
@herndlm@phpc.social avatar

@mikey179 so stell ich mir das vor

video/mp4

Crell, to php
@Crell@phpc.social avatar

Proposal for a conference talk: How to configure and all its tooling extensions (xdebug, phpstan, php-cs-fixer, etc.) to use a docker container consistently.

That could easily fill a tutorial...

herndlm,
@herndlm@phpc.social avatar

@Crell @alessandrolai btw is it possible to have dependencies installed only inside the container, without a volume mount, but still working knowledge / autosuggestion / types in PHPStorm? I wanted to do this once, mostly because of Mac performance issues, but failed 😅 but it feels like a weird edge case that doesn't work..

mikey179, to random
@mikey179@zug.network avatar

Noch drei Tage aalbeiten bis zum Urlaub. In dem geht es glücklicherweise nicht nach Haalle an der Saale.

herndlm,
@herndlm@phpc.social avatar

@mikey179 Aalles OK? 😅

herndlm, to coffee
@herndlm@phpc.social avatar

Service announcement: A (like the iconic one I attached a picture of) is not supposed to gurgle, sputter or hiss like a snake. If they do, one the following might be the reason:

  • Coffee grounds too fine
  • Heat too high
  • No pressure build-up because of a bad seal

I was getting frustrated with mine for a while now and even tinkering with all parameters and replacing the gasket didn't help. To be continued..

herndlm,
@herndlm@phpc.social avatar

Then I found https://www.youtube.com/watch?v=4yGinq5NaCA and this dude is spot-on. The funnel was not properly sealing with the lower part and steam was evaporating. Could fix it very easily and now the coffee is great again 😊

herndlm, (edited )
@herndlm@phpc.social avatar

For everything else (e.g. espresso machines, grinders, ..) James Hoffmann is a wonderful rabbit hole to fall in xD

https://www.youtube.com/watch?v=BfDLoIvb0w4

herndlm,
@herndlm@phpc.social avatar

@bmarinov oh, interesting. And I thought the darker ones are maybe more forgiving basically :) good to know, because I'm trying a darker one at work soon

Skoop, to random
@Skoop@phpc.social avatar

Fire extinguishers are not just useful in case of fire!

herndlm,
@herndlm@phpc.social avatar

@Skoop I hope that's not a fire safety door / emergency exit though 😅

Crell, to random
@Crell@phpc.social avatar
herndlm,
@herndlm@phpc.social avatar

@Crell that would be great. Normally "broad" isn't necessarily good :/

asgrim, to random
@asgrim@phpc.social avatar
herndlm,
@herndlm@phpc.social avatar

@afilina @asgrim that and "2024 is the year of the serverlessness" is what got me xD

mikey179, to random
@mikey179@zug.network avatar

Ab morgen dann also viele kurzfristige Baustellen und ausfallende Züge rund um Frankfurt. 😈 https://chaos.social/@Unicorn/112291273346218553

herndlm,
@herndlm@phpc.social avatar

@mikey179 btw mein Sohn hat nun eine Shinkansen Bento-Box und Socken. Dr. Yellow war glaube ich auch wo dabei, als T-Shirt oder so. Wär das nicht auch was für dich? 😊

bobmagicii, to random
@bobmagicii@phpc.social avatar

screens & monitors: everyone thinks im nuts for turning hdr off but i hate "true" black stuff. it messes up the colours of everything else too.

like mac screens are abysmally gross. way over saturated. no wonder so many people hate my screenshots. you can almost fix mac screens by selecting "adobe rgb 1998" colour profile. almost.

on a technical level too i dislike when it so black you cant tell if its on. the missing visual confirmation of "its plugged in and working, but not getting data"

herndlm,
@herndlm@phpc.social avatar

@bobmagicii I had to adapt various settings on my TV to make HDR videos look fine to me. Not sure if my TV or my eyes are the issue though 🤔

mario, to random
@mario@neko.cat avatar

Five days in Tokyo and when I get to Heathrow I automatically stand on the left of the escalator 🙄

herndlm,
@herndlm@phpc.social avatar

@mario I envy you for having business relations to Japan. But, I guess, private ones are something to cherish as well 😊

ocramius, to random
@ocramius@mastodon.social avatar

What the fuck, Microsoft Teams?!

herndlm,
@herndlm@phpc.social avatar

@ocramius did you disable third party cookies again? Or have the "wrong" user agent? 🙃

herndlm, to markdown
@herndlm@phpc.social avatar

I was recently forced to create redundant docs and since I hate Confluence, I started looking for a tool that allows me to just write Markdown in versioned files and generate the docs in Confluence.

https://github.com/Roave/DocbookTool is doing the job just fine for the simple pages I have. using it for a while already. Thx @roaveteam @asgrim @ocramius :)

mario, to random
@mario@neko.cat avatar

Perfect start to Synchronicity Festival with toe, one of the best live bands around. Last time I've seen them was 5 years ago on this exact same stage (Spotify O-East, although then it was still called Shibuya O-East) ❤️
#toe #synchronicityfest

herndlm,
@herndlm@phpc.social avatar

@mario one of my favorites!

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