deleugpn

@deleugpn@fosstodon.org

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

SenseException, to php German
@SenseException@phpc.social avatar

talks 10 years ago: "Use value objects instead of arrays."

PHP talks nowadays: "Use value objects instead of arrays."

deleugpn,

@ramsey @Crell @SenseException I doubt anything will ever be as easy as arrays

heiglandreas, to random
@heiglandreas@phpc.social avatar

Password requirements... I hate Password requirements...

Just let me use a password that is long enough. It is secure. Believe me!

deleugpn,

@heiglandreas I blame it on OWASP

ian, to random
@ian@phpc.social avatar

So, I figured out my Lambda layer issue mentioned in @merge: Bref's runtime build assumes Amazon Linux 2 (not AL2023), so you need to spec AL2 in the function for it to work.

I've updated the readme at https://github.com/iansltx/spongebot to point this out.

deleugpn,

@ramsey @ian @merge I wouldn’t recommend Serverless Framework as it’s a bootstrapped company running out of money with no sustainable business to keep it up

deleugpn,

@ramsey @ian @merge promotes or occasionally mentions it on blogposts?

heiglandreas, to random
@heiglandreas@phpc.social avatar

First takeaway from going back to MacOS: Running tests in a dockerized environment got considerably slower.... 😕

deleugpn,

@heiglandreas I dropped my Docker usage in about 95% after buying a MacBook and tbh it’s not so bad. Before that I had used Docker so so long (7 years) that I didn’t realize all non-docker options also improved

deleugpn,

@heiglandreas Laravel Herd or Laravel Valet will let you define per-folder PHP version. NVM will let you switch Node version. For local work, any Redis version will do. MySQL is the only one that held me back longer, but with the sunsetting of 5.7 that’s starting to become a non-issue as well.
I will still reach to Docker if I need Postgres, specific MySQL, Elasticsearch, Logstash, etc. but more with the mindset of binding it to a specific local port as a complementary service

deleugpn,

@heiglandreas I’ve spent 6 years working on a Windows PC and running everything inside a VM with just Git and Docker installed and then about 1 year on a Linux Desktop before I became an Apple fanboy. Turns out Docker wasn’t really easier, it was just what I was used to for so many years

ramsey, (edited ) to php
@ramsey@phpc.social avatar

I’m finally feeling better after my earlier low this week, & I’m beginning to accept that my next job probably won’t involve .

Before you tell me how good other languages or communities are, understand that I considered my interactions with the PHP community as a second, unpaid role, which I thoroughly enjoyed in an entrepreneurial sort of way. That’s why this is difficult for me.

I would love to find an employer who sees value in that side of me, but I don’t think that’s going to happen.

deleugpn,

@ramsey I’m becoming a ultrastack developer now. 13 years experience in backend, 6 years experience in AWS Cloud DevOps and now 6 months experience in Vue. InertiaJS makes it a breeze from a technology standpoint. What’s harder is realizing that taking care everything (ideation, architecture, FE, BE, Cloud, data modeling, logging, diagnostic, support tools, etc) is a tremendous challenge because it forces you to rethink what you thought was “easy on the frontend”

deleugpn, to random

Another week, another opportunity to use @Crell PFA that got rejected. I never needed this until I leaned about it, now it really feels like I’m always needing this.

We need to forbid @Crell from proposing RFCs, because they just show us a wonderful world we can’t have

deleugpn,

@Crell @heiglandreas I would sign up for your first group

deleugpn,

@heiglandreas @Crell I’ve tried it a few times. The 90’s style of the PHP internals triggers my ADHD and make me useless. I can’t for the life of me submit myself to working with such boring tools and environment and I can’t change it either

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

Zum Hintergrund: "Clown World" wird als ein Meme und ein Dog Whistle (verstecktes Signal) von Neo-Nazis und sogenannten Alt-Rights verwendet, die u.a. die Vorherrschaft der Weißen durchsetzen wollen. Es gehe auf ein Meme zurück, das mit der Verwendung von honk honk ("HH") als Dog Whistle für "Heil Hitler" verbunden sei.

deleugpn,

@larsmb @LorenzMeyer I agree he’s the worse and I would love nothing but Twitter to just crash and become unavailable without recovery. But at this point I tried Blue, Mastodon and Threads and the best Tech content is still at Twitter :(

ericpoe, to random

I'm late to the PSR PER 2.0 party. What does PER mean? Why is this not a PSR-# standard? Is PER-2.0 a continuously evolving standard as new PHP versions release? What was PER-1.0? Was there an in-between version?

deleugpn,

@awoodsnet @ericpoe @ramsey @bobmagicii with the amount of tooling our industry has today, I would consider “self-inflicted” any suffering/complaint coming from the inability to search/replace all “4-spaces” indentation into “1-tab”

mwop, to random
@mwop@phpc.social avatar

This... is a horrible idea. Vendors mark classes final for good reasons: removing that means you're exposing yourself to breakage when you update.

https://mastodon.social/

deleugpn,

@heiglandreas @mwop

{
"repositories": [
{
"type": "package",
"package": {
"name": "stevebauman/unfinalize-without-conflict",
"version": "1.0.0",
"dist": {
"url": "https://github.com/stevebauman/unfinalize/archive/refs/tags/v1.0.0.zip",
"type": "zip"
}
}
}
]
}

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Hot take: the rise of “developer happiness matters” made developers forget about the end users of the stuff they are building.

deleugpn,

@grmpyprogrammer I can see how that would hold true, but I’d attribute it more to development hype than DX (my dev happiness comes from DX). I’m often 1 year behind hype and I don’t always jump on them all but spending about 2 months per year improving my DX and taking tech improvements is how I manage to keep 9 months highly engaged and focused on delivering value to the end user

ramsey, to random
@ramsey@phpc.social avatar

I don’t understand folks getting super-excited that they won’t have to use an XML config file. Is using an XML config file that big of a hurdle to developer happiness?

deleugpn,

@ramsey verbose, looks bad, takes too much horizontal space, not as easy to parse as JSON but ultimately a huge chunk of the excitement isn’t just about saying good bye to XML but instead having a good API configuration.
I think I know what you’re talking about and the person driving it would 100% without a shred of a doubt develop a better configuration file even if they used XML

hughstimson, to php

Due to some questionable life choices, I need to use PHP/MySQL for the back end of a simple web app. In particular for user authentication.

I'm coming from Django (which I like) and .NET MVC (which is OK I guess). Which PHP framework will I vibe with the best? I see words like "Laravel" and "Symfony". Are these any good?

deleugpn,

@hughstimson @Crell it’s also quite bull. Laravel has the best development experience across the web and has just been featured as potentially the happiest community on GitHub

https://github.com/readme/featured/laravel-community

deleugpn,

@rdohms @hughstimson @Crell there is when that’s what those opinions are. I work with Laravel for nearly 8 years and nowhere in my codebase there’s globals or “magic”. Crell is a known Laravel hater and when folks spread hate in the world it’s bound to trickle back. He could have said all the nice things that Symfony has and left Laravel out of it but he can’t miss the opportunity. He’s like an anti-religious fanatic spreading hate because he can’t understand it

Crell, to php
@Crell@phpc.social avatar

I have only recently learned of the "before" attribute in @phpunit. It seems appealing. What I don't get is... why would I ever use setUp() when I can instead use a before method? It seems like the easier, more portable solution in ever case except when I actively want to bypass a parent class's setUp().

(Same for beforeClass.)

#PHP #Testing #PHPUnit

deleugpn,

@Crell @iCaspar @phpunit @sebastian like a system with 500 API endpoints and 4000 tests, nearly all of them need an API token

deleugpn,

@Crell @phpunit I just tried this out to see how it was like and before() runs before setUp. Laravel uses setup() to prepare the container and everything so there’s basically no way to use before given the amount of testing features Laravel prepares and offers

ramsey, to random
@ramsey@phpc.social avatar

“Apple already shipped attestation on the web, and we barely noticed” https://httptoolkit.com/blog/apple-private-access-tokens-attestation/

deleugpn,

@ramsey good reading

ramsey, to random
@ramsey@phpc.social avatar

More devs are starting to follow me on Bluesky, but I can’t see that place as anything more than a slow train wreck in progress.

deleugpn,

@ramsey feels better than Mastodon to me, although with less people for now. Best experience is actually on Threads, but what we need is one place where all the devs are. Right now it’s nowhere

deleugpn,

@ramsey I didn’t dive much into it but as I could see it’s just because their end goal is to not do it at all and outsource the responsibility of timeline aggregation, which if you think about it will make so much sense with cheap LLM. At a distributed global scale people post whatever garbage they want, LLM categorize it and feeder systems clean it up and offer content based on applicable laws, user interest and common sense of the feeder owner

nicoverbruggen, to random
@nicoverbruggen@phpc.social avatar

Once again, questionable things are happening at Twitter HQ. I am still reluctantly posting over there but not sure how much longer.

(I think I quite easily prefer this platform at this point. More of the Laravel folks should join the fediverse but many seem opposed sadly.)

deleugpn,

@nicoverbruggen @lph the sooner Twitter dies the sooner we get the Laravel folks somewhere (here, Threads, bsky). Anything but X

ramsey, to php
@ramsey@phpc.social avatar

If you voted against the Interface Default Methods RFC for , please take a moment to read some of the most recent mailing list replies, starting with @Crell’s here: https://externals.io/message/120725#120798

I agree this feature goes against a lot of what I’ve learned as “best practices,” but I did a lot of introspection on this and decided that this feature is good for the future of the PHP language. It unlocks a lot of potential.

deleugpn,

@gmazzap if you were designing a language in 2023 would you still make that concept part of the syntax instead of providing abstract classes only and letting users decide whether they want abstract-only or abstract+body?

@Crell @mauriciofauth @ramsey

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