@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

Updated Chrome today, and was immediately given a prompt about how my browsing preferences would be directly used to feed me ads.

Chrome auto-enabled a feature that sends sites info to send me personalized ads based on browsing history, the ability for sites to determine what I like and update the ads as I browse, and the ability for sites to measure ad effectiveness.

These are built-in features of the browser now.

STOP USING CHROME

dragonmantank, to random
@dragonmantank@phpc.social avatar

New status

image/jpeg

dragonmantank, to random
@dragonmantank@phpc.social avatar

I’m so confused by this Remix talk I’m watching. It starts off making fun of PHP, then proceeds to do what PHP was been doing for 15 years, but with an air of “PHP from 1995 is the same as today lol.”

I like how mixing HTML and code is bad, unless JS does it. Putting things in {} is the same as <?php?>, don’t kid yourself.

I’m also pretty sure this is showing off what cgi-bin was doing as well?

But I understand. PHP isn’t a cool language, and all the stuff we did isn’t cool until JS does it.

dragonmantank, to random
@dragonmantank@phpc.social avatar

I have always thought ‘protected’ is the way to go. I cannot predict an end users needs all the time, so let them extend the code as they need.

Why should I stop them from doing what they need? I’m not obligated to fix their custom code.

RT @PerttiSoomann
With the last week's PHP 'final' usage in open source software packages - should libraries try to use 'protected' over 'private' to allow users to extend/adjust functionality …
https://twitter.com/PerttiSoomann/status/1654761395206987776

dragonmantank, to random
@dragonmantank@phpc.social avatar

Open Sourced Code !== Open to Contribution

None of that matters though, because true OSS allows you to fork and modify for your own use. You don’t need your contributions committed upstream to be allowed to use your modifications. The beauty lies in that you can do things the author doesn’t want to support. The author is not obligated to accept your changes or support them. You are free to share your fork.

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, 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, to random
@dragonmantank@phpc.social avatar

New plan - write everything in C and just expose it to all the languages via stuff like FFI. Wrap the stuff idiomatically but keep one main logic base.

dragonmantank, to random
@dragonmantank@phpc.social avatar

An interesting question that has always bugged me:

I’ve released a new version of software, why aren’t people upgrading?

I think I found the question I should be asking:

What’s the friction people are experiencing when trying to upgrade?

dragonmantank, to random
@dragonmantank@phpc.social avatar

I just added htmx to my app.

Am I cool now?

dragonmantank, to random
@dragonmantank@phpc.social avatar

Someone please explain to me the point of preloading a game for it to have an immediate 117GB patch at the time of opening.

THAT’S THE REASON I PRELOADED

dragonmantank, to random
@dragonmantank@phpc.social avatar

Hot take: PHP doesn’t have an async or concurrency problem, people just think it does because devs are brainwashed to “async everything.”

Scaling out via FPM pools or even just more httpd threads with mod_php works fine for most applications. Once PHP is the actual bottleneck for your application, then you worry about async/concurrency.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Any recommendations on desktop API clients? I don't want to have to have an external account with like Postman or Kong just to make some API calls.

Yes, I could use cURL or httpie, but I would rather have something that's a GUI and standalone for when I'm trying to mess around with a new API. If I was automating stuff that would be a different story.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Visual Studio and taking forever to install, name a more iconic duo

dragonmantank, to random
@dragonmantank@phpc.social avatar

Apparently this is a week for product releases and announcements, so might as well throw this on the pile.

Cron-Expression has been around for a long time, around 12 years now. It's time for a refresh. I've rewritten it based on the cronie package directly including a whole new parser.

Check it out.

https://github.com/phpixie-cron/cron-expression

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, 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, to random
@dragonmantank@phpc.social avatar

I feel like someone is staring at me/cc @ramsey

dragonmantank, to random
@dragonmantank@phpc.social avatar

Anyone using Starfield via steam link? I cannot get my controller to register properly, no matter what controller I use. Same controller works fine with other games.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Finally broke down and got a Steam Deck.

I should have gotten this sooner.

dragonmantank, to random
@dragonmantank@phpc.social avatar

Living’ it up in Flavor Town.

I love the multiple TVs show Guy Fieri shows.

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, to random
@dragonmantank@phpc.social avatar

I’ve got some buddies for

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, to random
@dragonmantank@phpc.social avatar

The wife and I did a thing today

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