@thgs@phpc.social avatar

thgs

@thgs@phpc.social

Passionate (oddly?) and stuck with #PHP for quite a few years, although I have fallen for #Haskell and #assembly in the past.

Currently exploring and learning about #DDD, although I will always like a quick and aggressive "hack".

Always learning. Finding myself, mostly, at the tip of a contradiction!

Also a father, nowadays.

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

dgoosens, to php
@dgoosens@phpc.social avatar


Am I the only one that does not understand this does not at least trigger a warning ?

I mean, I would expect $baz should have been declared nullable (?string) to be correct... Or am I missing something ?

https://onlinephp.io/c/71e55

thgs,
@thgs@phpc.social avatar

@dgoosens I recently had the same question, it comes from BC if I recall correctly. See Relationship with default values

https://wiki.php.net/rfc/nullable_types

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar
  1. rules about the use of language constructs are APPROPRIATE for ANY project
  2. as an experienced developer and tester it is my opinion a testing framework is not the place for enforcing that

Too often as programmers we desire to have tools make the tough decisions for us. “We don’t use ‘final’” is something to discuss with people, not make loltakes about adding an assertion to look for it.

thgs,
@thgs@phpc.social avatar

@grmpyprogrammer @josh

I've written a bunch of things here but I deleted them.

Now, I wonder how that conversation would go and if in those large teams people are having a lot of fun.

syntaxseed, to php
@syntaxseed@phpc.social avatar

I find myself in the docs less and in the docs more these days.

Wish there was more example code but all in all they're excellent.

thgs,
@thgs@phpc.social avatar

@syntaxseed I wish there was more example code too.. I do enjoy reading the source too, most of the times.

mglaman, to random
@mglaman@phpc.social avatar

Look at that, I'm 35! 🎂

thgs,
@thgs@phpc.social avatar

@mglaman Very, happy birthday!

syntaxseed, to random
@syntaxseed@phpc.social avatar

I once saw someone who's desktop wallpaper was a screenshot of a desktop full of icons, offset by about 10 pixels so it looks like icons stacked on top of icons!

Desktop management: chaotic evil edition. 😆

thgs,
@thgs@phpc.social avatar

@syntaxseed I once saw a desktop where next to the bin, the "garbage" was obvious

Schrank, to random German
@Schrank@phpc.social avatar

If you don’t have something positive or (nice) constructive to tell, just shut up.

And I’m very proud, I just stick to my own advice instead if puking some sarcastic, most likely unfunny shit here. 😶

thgs,
@thgs@phpc.social avatar

@Schrank silence can be rewarding. Actually it is most of the time.

syntaxseed, to Symfony
@syntaxseed@phpc.social avatar

Enjoying more #Symfony work today.

Wow you really have to be careful with #Doctrine and keep an eye on the queries that are happening. The right use of eager loading and being cautious of queries inside of loops is very important.

Also got in-line Form editing working and love it.

One gotcha is that the Form is automatically turned into a FormView when passed to the response. My array of forms had to be manually converted with createView().

#PHP

thgs,
@thgs@phpc.social avatar

@syntaxseed fetch joins are interesting too!

just in case its needed (https://www.doctrine-project.org/projects/doctrine-orm/en/2.14/reference/dql-doctrine-query-language.html#joins).

Personally, I use more caution with forms than with doctrine :D

thgs, to php
@thgs@phpc.social avatar

Woke up this morning and feel like..

Let's build a space rocket with

thgs,
@thgs@phpc.social avatar

@derickr I've been secretly admiring your Lego rockets btw.

Going to check that link properly after work. I briefly saw many links

jrf_nl, to random
@jrf_nl@phpc.social avatar

As of this week, I have commit rights for PHP_CodeSniffer: https://github.com/squizlabs/PHP_CodeSniffer/issues/3814

Today Greg Sherwood and me had our first maintainers work call and it was very productive.
9 PRs merged, 5 issues closed. Progress!

thgs,
@thgs@phpc.social avatar

@jrf_nl congratulations and thanks!

ramsey, to php
@ramsey@phpc.social avatar

I decided to play around with the AT Protocol, so I put together a very rough & very early library to play around with the concepts.

If you're interested, check it out, & I'd love to have others contribute to round it out and make it full-featured.

Ultimately, I’d love this library to be a starting point for working on some / bridging.

https://github.com/socialweb-php/atproto

thgs,
@thgs@phpc.social avatar

@ramsey the activityPub library has been in my mind as well. But only in my mind :)

thgs,
@thgs@phpc.social avatar

@ramsey I would certainly be interested to contribute. Might get to it a bit late as I'm trying to finish up a pet project of mine that dominates priority on my available time but "count me in".

Theblueone, to random
@Theblueone@mastodon.social avatar

My 13yr old: What is that?
Me: It's Bluesky.
Her: Is that some ancient thing?
Me: Nope, hot new thing. Want an invite?
Her: Ew. Looks crusty for old people.
Me: Fine, no invite for you. I'm going to skeet this.
Her: You're going to what?
Me: You heard me. Skeet.
Her: [AUDIBLE EYE ROLL]
Me: Fine. I'll just toot this on the elephant app.
Her: [CONFUSED STARE]
Me: You know. Mastodon.
Her: I don't know what you're talking about.
Me: You need to get off TipTop.
Her: It's TIKTOK!
Me: Crusty!

thgs,
@thgs@phpc.social avatar

@elhipernauta @Theblueone they really need to get off tiptop though

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