@cabbey@phpc.social avatar

cabbey

@cabbey@phpc.social

sourcerer @ SmugMug, photo geek, dad, licensed rocket scientist (L2 w/ NAR and Tripoli).

This is MY stream of consciousness. I don’t speak for my employer, club, or hobby.

Fiscally conservative, socially liberal; he/him

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

ramsey, to random
@ramsey@phpc.social avatar

The kid and I have decided that Pepsi’s Starry > Coke’s Sprite. We are converts.

cabbey,
@cabbey@phpc.social avatar

@ramsey @hbuchel @ldpm yeah, it’s replaced Sierra Mist (aka Mist Twist) pretty much everywhere out here and it is way better than Mist was imho. Certainly better than Sprite (way sweeter) or 7-up (more watery).

ian, to random
@ian@phpc.social avatar

Cup stacking, but make it PRs that touch composer.lock.

cabbey,
@cabbey@phpc.social avatar

@ian I dunno what the first half of that sentence means, but the second half makes me mildly Ill.

grmpyprogrammer, to php
@grmpyprogrammer@phpc.social avatar

To the folks lurking out here — hit me up with your questions and struggles with getting some kind of automated testing working

cabbey,
@cabbey@phpc.social avatar

@kboyd @grmpyprogrammer a very reasonable justification.

cabbey,
@cabbey@phpc.social avatar

@grmpyprogrammer @kboyd which brings up the next struggle: finding a DIC that’s actively supported. :(

cabbey,
@cabbey@phpc.social avatar

@grmpyprogrammer @kboyd that’s what we are using. Note that it hasn’t been touched since feb 22, and the supported php version list stops at 7.4. We’ve had some issues around the reflection code and modern php 8 syntax for constructors.

cabbey,
@cabbey@phpc.social avatar

@grmpyprogrammer @kboyd bah. Saturday morning brain fog. That should have been “actively maintained”.

cabbey,
@cabbey@phpc.social avatar

@sephster @grmpyprogrammer @kboyd honestly I don’t know that we have. Iirc we’re on 3.x still, and when we tried to move to 4.x hit other problems (which are logged as issues from others), but the stated support stopping at 7.4 and the documented issues with 8.x functionality and the other random documented regression issues with 4.x and some of the open questions in the issues being open for so long…. Yeah, just didn’t seem worth it.

ramsey, to php
@ramsey@phpc.social avatar

I’m okay with this decision because I want @packagist to succeed, but, damn, just can’t get first class support anywhere.

https://github.com/github/roadmap/issues/93

cabbey,
@cabbey@phpc.social avatar

@ramsey meh. @packagist is far superior anyway. We’re paying for Private Packagist and I’m so much happier with it than anything similar I’ve tried.

afilina, to random
@afilina@phpc.social avatar

Oh my, this school just used CC instead of BCC, and shared my email with half a thousand people who live in my area. I really hope that nobody starts a thread using reply-all.

cabbey,
@cabbey@phpc.social avatar

@afilina @derickr someone I know used to have a canned response they would send when that happened. It was from their law firm. Offering services to join into class actions against the school district for revealing personal contact info.

kboyd, to random
@kboyd@phpc.social avatar

Future macOS names:

Goffs
Palomar
Modoc
Stanislaus
Chubbuck

cabbey,
@cabbey@phpc.social avatar

@kboyd don’t forget Zzyzx!

brunty, to linux
@brunty@brunty.social avatar

What distro do y’all use on the ?

Yes, this is the one time you’re allowed to be like “hi I use ” and not have everyone around you roll their eyes 😉

cabbey,
@cabbey@phpc.social avatar

@brunty Ubuntu pretty much everywhere. I didn’t go with it on the pi4 though… that’s running the raspbian (or whatever it got renamed to.) just due to inertia. Will probably become Ubuntu if I ever do a scratch install.

kboyd, to random
@kboyd@phpc.social avatar

"Native apps are better because when you click buttons you get instant feedback!"

Me: attempts to click the Update & Restart button in Docker Desktop, no response fucking WHAT?

cabbey,
@cabbey@phpc.social avatar

@kboyd switch to Colima. I can show you the four step process to make it screaming fast for our use cases.

kboyd, to random
@kboyd@phpc.social avatar

My filters are getting quite a workout tonight. I must continue to resist clicking on them, for my own health and safety. Well, mostly just blood pressure.

cabbey,
@cabbey@phpc.social avatar

@kboyd good call. I made the mistake of looking.

ramsey, to random
@ramsey@phpc.social avatar

Problem: I have two DB tables, and I’m trying to select from the first table for records that do not exist in the second table. Over time, as I process each record, I’ll write to the 2nd table, and then those records will be excluded on subsequent queries.

Pretty standard stuff. The queries are easy to write, and there are several ways to write them (e.g. left join where is null, where not in subquery, where not exists subquery).

1/2

cabbey,
@cabbey@phpc.social avatar

@ramsey are the inserts always ordered from the first table to the second? If so, our preferred architecture is to inject a message into a queue when inserting table A. The consumer for it is idempotent and checks if there is a row in table B for that key (indexed select should be fast to return zero rows) before trying to fetch the data from A to insert into B. The queue injection is driven from app logic; nothing in the DB.

kboyd, to random
@kboyd@phpc.social avatar

Today's goal: don't click to expand any filtered post notifications.

cabbey,
@cabbey@phpc.social avatar

@kboyd today’s goal; finish the week’s meta work bullshit so I can do something more fun tomorrow and not feel like the entire week was spent on administrivia. (Technically it wasn’t, some of it was already spent debugging far enough to declare it “someone else’s problem”.)

bobmagicii, to random
@bobmagicii@phpc.social avatar

today i learned that cp -r of a directory that is actually a symlink will just copy the symlink and not actually do an r cp.

cabbey,
@cabbey@phpc.social avatar

@bobmagicii is this one of those cases where adding a trailing / alters the behavior?

cp -r foo

vs

cp -r foo/

ramsey, to random
@ramsey@phpc.social avatar

What’s a good, standard vodka to get for something like a White Russian? I know nothing about vodka.

cabbey,
@cabbey@phpc.social avatar

@ramsey if it’s not the star ingredient and you find whatever you got it too “flavorful” a pass through a Brittany filter does wonders to tone down cheap vodka to the point it can be used in mixed drinks. (But I doubt you’ll have to do that with either of the recommendations given here. Unlike the half case of horrid shit my wife bought because the bottles were cool… that got 10 passes through to be mixable. )

sean, to random
@sean@scoat.es avatar

Processing my order in US Dollars 🤔
Charging me Canadian sales taxes 🤨

cabbey,
@cabbey@phpc.social avatar

@sean I’ve yet to see a tax law that cared what currency you were transacting in. They just want their 2-28% of it, whatever it is. That’s the sellers’ headache at return time.

Some do care about how you invoice it though. So I’ve had to generate an invoice in € for the £ value of a transaction settled in US$.

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