@dragonmantank@phpc.social avatar

dragonmantank

@dragonmantank@phpc.social

I coalesce the vapor of human experience into a viable and logical comprehension.

PHP developer, author, speaker, and podcast host. Senior developer relations @ Vonage. My posts and opinions are my own, and are hot garbage. Pretty sure a raccoon writes these things.

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

dragonmantank, to random
@dragonmantank@phpc.social avatar

The wife and I did a thing today

dragonmantank, to random
@dragonmantank@phpc.social avatar

Decided to switch back to android, going with the S24 Ultra.

I had forgotten how bad it is logging back into everything. At least the transfer app moved and downloaded all my apps for me.

dragonmantank,
@dragonmantank@phpc.social avatar

@alessandrolai Yeah, a password manager helps but it's still a lot :P

dragonmantank, to random
@dragonmantank@phpc.social avatar

Nice try Verizon, but once again you fell short.

After not getting a call back from the supervisor as promised, I followed through and left Verizon. It was a painless process.

Today, I get an e-mail from Verizon thanking me for being a loyal customer, offering a $10/line loyalty discount. After I've canceled. After their CS department wasted my time.

Too little, too late.

dragonmantank, to random
@dragonmantank@phpc.social avatar

And you’ll get to see both me and @SecondeJ give talks!
https://phparch.social/@phptek/112158297435529070

dragonmantank, to random
@dragonmantank@phpc.social avatar

I’ve got some buddies for

ian, to opensource
@ian@phpc.social avatar

Rounding out the sessions for the day is Peter Zaitsev talking about the state of

dragonmantank,
@dragonmantank@phpc.social avatar

@ian “It’s ruined and you’ve all lost your way. You should be ashamed.”

dragonmantank, to random
@dragonmantank@phpc.social avatar

From an article about the current rise of piracy:

> Spotify (which reports this week) was born from founder Daniel Ek’s desire to create something “better than piracy.”

You did. Then you got greedy. Things like early streaming services worked and flourished because they were a better value than piracy. Now that we are back to needing 700 streaming services and paying more than ever, you wonder why piracy is on the rise.

You did this to yourselves.

dragonmantank,
@dragonmantank@phpc.social avatar

@m1ke I’ve had Spotify go up more than $4 in the last two years since we moved to the family plan. And YouTube Premium (which includes Music) has gone up $5 in the same time for the family plan.

We wouldn’t use Spotify if not for the podcasts that are exclusive to it.

dragonmantank,
@dragonmantank@phpc.social avatar

@m1ke I’ll also point out the labels don’t want artists to get paid either, they’d rather keep them locked into contracts that force them to stay with the labels. Shitty Spotify contracts help labels keep artists beholden to the labels.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Dammit AI, doing COBOL was my fallback if things got grim. Now I can’t even do that!

dragonmantank,
@dragonmantank@phpc.social avatar

@josh I’m just gonna pivot to “fixing your AI’d COBOL” and doubling my price.

preinheimer, to random
@preinheimer@phpc.social avatar

My wife and I have two kids. We both work outside the home.

Occasionally she is called to travel for work. Often other mothers we see at school pickup/drop off ask who will take care of the kids. She replies that I will, her husband, the father of the children. They seem… surprised.

Fellow Men: we need to do better if this question is getting asked. And if that’s the reaction to the answer.

dragonmantank,
@dragonmantank@phpc.social avatar

@omerida @grmpyprogrammer @preinheimer It doesn’t help the stereotype of men not knowing how to help with their own kids when many of them perpetuate the idea that a dad is just “babysitting” the kids until mom comes back.

I know quite a few of my wife’s friends’ husbands who fall apart if they have to figure out dinner, or watch the kids for a weekend afternoon. Heaven forbid they have to figure out taking kids somewhere.

ramsey, to DnD
@ramsey@phpc.social avatar

OH: “I don’t need any of that ‘woke’ Tolkien.”

dragonmantank,
@dragonmantank@phpc.social avatar

@Crell I'm going to point out @ramsey then tried to hit an ancient Elven monument because he hates elves.

ramsey, to random
@ramsey@phpc.social avatar

Switching back-and-forth between and for the same project (so I can use intellisense and syntax highlighting on .php and .phpt files) is a pain in the ass, and for some reason, it corrupts the .idea folder, so I have to keep deleting it and letting the IDEs recreate it.

dragonmantank,
@dragonmantank@phpc.social avatar

@ramsey This is one of the reasons I switched to VS Code. Going between Pycharm and PHPStorm gave me the same thing.

dragonmantank, to random
@dragonmantank@phpc.social avatar

My kingdom for an OpenAPI editor that doesn't require a god damn API key for a remote service to render a file that's sitting on my desktop.

dragonmantank,
@dragonmantank@phpc.social avatar

@heiglandreas I don't use PHPStorm.

I was trying to use some of the plugins with VSCode just to render specs. Either I needs API keys or the renderers refuse to run/give errors while I'm working on stuff. And stuff like Stoplight requires a login now.

I can run a separate process but then that's a whole other things to manage while I end files.

dragonmantank,
@dragonmantank@phpc.social avatar

@grmpyprogrammer @heiglandreas That's so nice of you to offer to pay for my license fee! I'll be happy for the base PHPStorm project, but honestly I work in a lot of languages so the IntelliJ license would be a great Christmas gift.

dragonmantank,
@dragonmantank@phpc.social avatar

@afilina @asgrim @grmpyprogrammer @heiglandreas My largest complaint with Jet Brain stuff is that they don't handle multi-language projects well. Projects get tied to a language, but sometimes I need 2-3 languages in a single app.

Plus I hate switching apps just because I have multiple projects. I don't want to switch from Pycharm -> PHPStorm -> Webstorm -> maybe Resharp/IntelliJ/something else throughout the day.

The software is great, just my workflow doesn't fit into it. VS Code does.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Using Doctrine, is it possible to define a relationship WITHOUT creating a DB-level constraint?

For example, one Item -> many ItemInstance

When I run a diff, it wants to create a FK constraint (which yes, I normally would but using stuff like Planetscale you can't define them). I could delete the migration line, but it will just add the ALTER back in during the next diff.

dragonmantank,
@dragonmantank@phpc.social avatar

@heiglandreas It's a technical limitation with how they shard and replicate the DB. So I understand the why, and am OK with the tradeoffs. I'm not worried about data inconsistencies for this.

This is a Doctrine config/design decision to force the FK just because MySQL allows FKs. Again, I know why Doctrine would normally do it so I'm not knocking it, but I want to make the decision to not do it. Otherwise I can't use Doctrine, which is a shame in a Symfony app.

dragonmantank,
@dragonmantank@phpc.social avatar

@heiglandreas It's not 100% compatible, and they are very up front with it. I could also just not want FK's in general, there are some cases I've run into where it makes things worse for performance (though maybe MySQL 8 fixed that).

Worst case I'll handle hydration myself, but if I could do it all via Doctrine natively that's the best. Again, nothing against Doctrine doing it, but I had hoped maybe it was a flag or something I missed that would disable them.

dragonmantank,
@dragonmantank@phpc.social avatar

@heiglandreas I might have too, which is perfectly fine as an answer!

dragonmantank,
@dragonmantank@phpc.social avatar

@alessandrolai @jaapio @heiglandreas It seems to be the SchemaManager that I need to extend, though I’m getting lost in the undocumented mire of its internals were the FK is generated.

dragonmantank, to random
@dragonmantank@phpc.social avatar

The IDE idoltry for PHPStorm is astounding. It’s a good IDE for sure and I’m not telling anyone to not use it, but don’t think it’s a good standard and people are idiots for using something else. People can be productive with just about anything.

dragonmantank,
@dragonmantank@phpc.social avatar

@grmpyprogrammer That sounds like a “You” problem now

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