@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.

stux, to random
@stux@mstdn.social avatar

In Switzerland, a mobile overpass bridge is used to carry out road work without stopping traffic

A massive mobile bridge on the highway where workers can work and traffic goes above it

ramsey,
@ramsey@phpc.social avatar

@stux @johnefrancis How do they install the mobile overpass bridge without stopping traffic?

ramsey, to random
@ramsey@phpc.social avatar

With your help, we can put a stop to aurora crime! https://disabled.social/@bioluminescently/112424392722436863

kf, to random
@kf@666.glitchwit.ch avatar

first there was an eclipse, now there's an aurora

starting to think these "once in a lifetime" events happen more frequently than that

ramsey,
@ramsey@phpc.social avatar

@kf My dad reminded me that we could see aurora as far south as Atlanta in 1992, for a similar solar event.

ramsey, to random
@ramsey@phpc.social avatar

This page says the “WebLink component provides the following Twig functions.” https://symfony.com/doc/current/web_link.html

But I can’t find where these Twig functions are defined within the WebLink component source (or its dependencies). https://github.com/symfony/web-link

Are they actually defined somewhere else in Symfony and only active when the WebLink component is available?

ramsey,
@ramsey@phpc.social avatar

Found it! That is exactly what’s going on.

https://github.com/symfony/twig-bridge

ramsey, to php
@ramsey@phpc.social avatar

I was looking at this Sass (SCSS) compiler, written in , and I noticed something very odd.

Under “requires (dev)," it requires two packages, sass/sass-spec and thoughtbot/bourbon, both of which appear to be empty packages, containing only a composer.json file, which has no dependencies.

What’s the purpose of these packages? They otherwise appear suspicious, to me, but I can’t see that they're doing anything nefarious right now—they just appear pointless.

https://packagist.org/packages/scssphp/scssphp

ramsey,
@ramsey@phpc.social avatar

@asjmcguire Did you following the links on Packagist to those packages?

ramsey,
@ramsey@phpc.social avatar

@asjmcguire So, it looks like the scssphp project have defined their own repositories for those repos in composer.json:

https://github.com/scssphp/scssphp/blob/227c612c42d57a9c2f910cd2613e877e5f1d6d4b/composer.json#L52-L107

However, if Composer doesn’t resolve to a proper version from those repositories using that configuration, it’ll fall-back to whatever is in Packagist, and that looks dangerous.

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

I’m curious to get your thoughts on this, @naderman and @seldaek

https://phpc.social/@ramsey/112425228188429561

ramsey,
@ramsey@phpc.social avatar

@naderman @seldaek Specifically, whatever it is this user is up to. https://packagist.org/users/shinchina/

ramsey,
@ramsey@phpc.social avatar

@naderman @seldaek It’s possible they’re a security researcher, but highly sus. https://github.com/sa3hin?tab=repositories

ramsey,
@ramsey@phpc.social avatar

@tress777 There’s definitely something odd going on there, if you take a look at other branches in this thread.

ramsey,
@ramsey@phpc.social avatar

@pieceofthepie @thomas_shone @vonExplaino Maybe, but the person who registered them is not a developer on the scssphp project, as far as I can tell.

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

I think I might go to the beach to play hacky sack.

ramsey,
@ramsey@phpc.social avatar

@atomicpoet Or the university quad!

Crell, (edited ) to random
@Crell@phpc.social avatar

This is sadly entirely accurate, and the whole problem...

(Edit: Original is here. Go follow the artist. https://mastodon.social/@workchronicles/112417993863156684)

ramsey,
@ramsey@phpc.social avatar

@Crell It’s a crime if you’re poor. It’s a fine if you’re rich.

herndlm, to random
@herndlm@phpc.social avatar

Hot Chip: Tiny Desk Concert
https://www.youtube.com/watch?v=pHWum1ptOxs

I must have watched this an unhealthy amount of times today.

ramsey,
@ramsey@phpc.social avatar

@herndlm Thanks for sharing. This is a great. I’ve never listened to them, and now, I’ve added them to my music collection.

blogdiva, to random
@blogdiva@mastodon.social avatar

will we be able to see the here in NYC 🥺

ramsey,
@ramsey@phpc.social avatar

@blogdiva @Meyerweb I saw someone else post that the camera on your phone should be able to pick it up, even if your eyeballs can’t, so I would try that, even if you can’t seen it. It doesn’t stretch down as far south as Tennessee, but I’ll still point my camera up and see if there’s a glimmer of anything. 😁

ramsey, to random
@ramsey@phpc.social avatar

It’s official, now!

RFC 9562: Universally Unique IDentifiers (UUIDs) https://www.rfc-editor.org/rfc/rfc9562.html

ramsey,
@ramsey@phpc.social avatar

And, if you look very closely at acknowledgements, my name is listed. 🥰

ramsey,
@ramsey@phpc.social avatar

@shochdoerfer Kyzer, Brad, Paul, and others did all the work. My only contribution was basically suggesting to Brad, “You should put UUIDv6 through the IETF standards process.” What the group ended up producing was amazing.

timbray, to random
@timbray@cosocial.ca avatar

Of geek interest: UUIDs have been around for a long time and they work well and interoperate fine, but the specification space is a mess. So the IETF just shipped RFC9562; it has a fine consideration of the history and the trade-offs involved in all the different flavors of UUIDs, and is well-written and I think, as of now, the place to start looking if something UUID-flavored is puzzling you. Strong work! https://www.rfc-editor.org/rfc/rfc9562.html

ramsey,
@ramsey@phpc.social avatar

@timbray Excited to see this finally ship! Lots of great work went into this, and I’m proud to have had a (very, very) tiny part in it. 🙂

bobmagicii, to random
@bobmagicii@phpc.social avatar

oh man oh man this one commit is going to 100% test this class

99.8%

booooooooooooooo wait what did i miss

totes gonna write a test to test that theory.

ramsey,
@ramsey@phpc.social avatar

@herndlm @bobmagicii Bob is very “unique” 😉

ramsey, to php
@ramsey@phpc.social avatar

Is there anything like symfony/asset-mapper (and symfony/asset) that folks can recommend using with a non-Symfony app?

I can probably figure out how to use these by themselves, but I'd prefer a general, stand-alone library/tool, rather than attempting to shoehorn a package into a non-Symfony app.

That is, unless someone can point me to a tutorial that shows how someone else has already done this? 😁

ramsey,
@ramsey@phpc.social avatar

@wouterj That’s exactly why I want it. For the generating the import map, versioning the assets, and providing Twig functions to reference the assets.

ramsey,
@ramsey@phpc.social avatar

@wouterj Also, it seems to have some sort of Sass compilation built in, somewhere in the chain. Maybe that’s in a different Symfony component, though.

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