@ramsey@phpc.social
@ramsey@phpc.social avatar

ramsey

@ramsey@phpc.social

Coder, author, & speaker. PHP 8.1 & 8.2 release manager. ramsey/uuid maintainer. Open source developer. Senior Staff Engineer. Pronouns: he/him/his

“This guy seems to fundamentally misunderstand open source” — some rando on Hacker News

“Who is this guy?” — another rando on Hacker News

Co-admin of the https://phpc.social Mastodon server.

All original content in public posts © me & licensed CC BY-SA 4.0, unless otherwise specified. :cc: :ccby: :ccsa:

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

ramsey, to random
@ramsey@phpc.social avatar

Who in the Libertarian party thought it would be a good idea to even entertain the thought putting Trump on their stage? And who in the Trump campaign also thought it was a good idea?

ramsey, to random
@ramsey@phpc.social avatar

Thanks to kochen and jankal on GitHub (don’t think either are here in the Fediverse), there’s a new version of ramsey/uuid-doctrine (v2.1.0), with support for doctrine/dbal v4 and binary types in PostgreSQL. 🎉🎊🥳

https://github.com/ramsey/uuid-doctrine

ramsey, to Kubernetes
@ramsey@phpc.social avatar

I’m interested in running (i.e., ) as the app server for a website. The website has multiple domains pointing to it, and I plan to run this in a cluster. Can someone point to any docs or blog posts that show how others have set up similar configurations with Caddy or FrankenPHP, especially with regard to how Caddy magically configures HTTPS for the domains in this kind of setup?

ramsey,
@ramsey@phpc.social avatar

@pieceofthepie Thanks! I was looking at those same docs and can’t figure out from them how to do multiple domains or how do handle multiple instances of Caddy running behind a load balancer (as you might encounter within a Kubernetes cluster).

ramsey,
@ramsey@phpc.social avatar

@ollieread Haha! I’m experiencing it because I’m experimenting with it, so it’s my own fault on my own time. 😂

ramsey,
@ramsey@phpc.social avatar

@ollieread I went through a bunch of Kubernetes training recently, and I want to put it into practice on a small scale to get more experience with it.

darnell, to random
@darnell@one.darnell.one avatar

Perhaps it’s just me, but it seems as if I am reading about more tornados 🌪️ in the 🇺🇸 than usual. Also hail as well (which use to be a rare weather event when I was kid).

👉🏾 At least 8 people are dead after tornado-spawning storms strike the Central US Memorial Day weekend https://www.cnn.com/2024/05/26/weather/memorial-day-weekend-forecast-sunday/index.html

ramsey,
@ramsey@phpc.social avatar

@darnell Yep. We’re currently under a tornado watch right now. It’s all to the north of us, though.

However, seeing an increase in them might be a frequency illusion.

https://abcnews.go.com/US/us-experiencing-tornado-outbreaks-despite-fewer-tornado-days/story?id=110110803

ramsey,
@ramsey@phpc.social avatar

@darnell Although, according to that article, what we’re seeing is a decline in the number of days per year that tornados are reported but an increase in the number of tornados reported on days when there’s an outbreak, so the patterns are definitely shifting.

Growing up in an area commonly referred to as “tornado alley,” it hasn’t struck me as particularly different from usual, but I guess we’re now having dozens per storm system instead of a few.

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

Just introduced my kid to Elvis Presley.

Previously, the only Elvis she knew was Elvis Costello.

ramsey,
@ramsey@phpc.social avatar

@justafrog @atomicpoet When the last elves sailed West, Círdan the Shipwright proclaimed, “Elvish has left the building.”

ramsey, to random
@ramsey@phpc.social avatar
ramsey,
@ramsey@phpc.social avatar

@Crell The linked article says a female orca started the salmon hat trend.

ollieread, to php
@ollieread@phpc.social avatar

So, I’m building a dependency-injection package, and it’s a lot of fun. I’ve gone a route that I don’t really see many, if any, following. I suspect it may be that a lot of the solutions out there are old, and while they have been updated, they’re still going to inherit certain approaches.

ramsey,
@ramsey@phpc.social avatar

@ollieread I’m intrigued. What route have you gone?

ramsey,
@ramsey@phpc.social avatar

@ollieread Cool. Check out what PHP-DI is doing. I like how they use attributes. https://php-di.org/doc/attributes.html

ocramius, to random
@ocramius@mastodon.social avatar

Amazon deliveries are getting weird

ramsey,
@ramsey@phpc.social avatar

@ocramius TIL scorpions have a much wider range than I thought. I’ve always thought they were limited to the Americas only. https://en.m.wikipedia.org/wiki/Scorpion

bruces, to random
@bruces@mastodon.social avatar

"Humor is a human phenomenon"

*Is this actually true? It must be true of verbal humor -- but maybe there are animals funnier than people, when seen by animal standards

ramsey,
@ramsey@phpc.social avatar

@bruces @pluralistic I don’t know about humor, but animals certainly do things for the fun of it. When it snows, my dog can’t wait to go out and run in it; she’s old but acts like a puppy in the snow. I saw a recent article about the orcas attacking boats, and it seems more likely that it’s a group of juveniles having fun. The same article mentioned a group of orcas who started wearing salmon on their heads, just for fun.

html5test, to random
@html5test@mastodon.social avatar

I just ran into an UUIDv4 collision. Two identical UUIDs generated, just two days apart. Lucky me.

ramsey,
@ramsey@phpc.social avatar

@html5test @jimw This can happen if the underlying random number generator forks and reuses the same process state. This happened with OpenSSL years back, and became a big issue for a library I maintain in .

Here's a link to a summary of the problem: https://github.com/ramsey/uuid/issues/80#issuecomment-188286637

ramsey,
@ramsey@phpc.social avatar

@html5test You’re welcome! I’m glad you’ve found it useful. 😁

phpc, to php
@phpc@phpc.social avatar

WHAT IS HAPPENING, MY PHPEOPLE!

ramsey,
@ramsey@phpc.social avatar

@phpc nm. what’s happening with you?

ramsey, to random
@ramsey@phpc.social avatar

Wait. So, Hotmail became Outlook.com? 🤯

janl, to random
@janl@narrativ.es avatar

Oh no my icq

ramsey,
@ramsey@phpc.social avatar

@janl I don’t remember my number or login info. I probably signed up using a Yahoo or Hotmail address I no longer have.

ramsey, to random
@ramsey@phpc.social avatar

Why do IDEs always default the terminal to the bottom of the screen? I’m always—always—going to move it to right side of the screen. No matter what. Am I the only one who does this?

ramsey,
@ramsey@phpc.social avatar

@timwolla @josh I use the built-in terminal the same way: for Git. I never use the IDE’s Git integration.

ramsey, to random
@ramsey@phpc.social avatar

What’s the deal with skinny 12 oz. cans?

ramsey,
@ramsey@phpc.social avatar

@sean That’s what I thought. Are they doing this on all cans, or just the “light beer” cans? Does a skinny can imply less calories, etc.?

pierstoval, (edited ) to random French
@pierstoval@mastodon.social avatar

Nope, four years later they still hate me and don't want to unlock my account.

Too bad, maybe I would have PAID come to the next SymfonyLive.

ramsey,
@ramsey@phpc.social avatar

@herndlm @pierstoval Talk bad about Yoda conditions, did you?

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

For those who aren’t aware, Microsoft have decided to bake essentially an infostealer into base Windows OS and enable by default.

From the Microsoft FAQ: “Note that Recall does not perform content moderation. It will not hide information such as passwords or financial account numbers."

Info is stored locally - but rather than something like Redline stealing your local browser password vault, now they can just steal the last 3 months of everything you’ve typed and viewed in one database.

video/mp4

ramsey,
@ramsey@phpc.social avatar

@GossiTheDog @jalcine The same rule that says this?

So, I doubt Microsoft engineers care.

ramsey,
@ramsey@phpc.social avatar

@GossiTheDog @jalcine What’s more damning is that many engineers are dues-paying members of the ACM or IEEE, which do have codes of ethics they encourage computing professionals to follow (even if not members).

ACM Code of Ethics, 4.2: “Each ACM member should encourage and support adherence by all computing professionals regardless of ACM membership.“

We should hold our profession accountable to these codes.

https://www.acm.org/code-of-ethics

https://www.computer.org/education/code-of-ethics

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