Oddbean new post about | logout

Notes by Larry Garfield | export

 I always heard about how cats developed to sound like babies in order to manipulate humans into caring for them.  I didn't really appreciate it until my daughter started making sounds I'd only ever heard from a cat.

#Fatherhood 
 I should upgrade from 7.4 to 8.2 
 @ddc3da8f At this point go all the way to 8.3.  It's the least bumpy upgrade in the 8.x series so far, I think. 🙂 
 Thanks to that emergency alert test, I discovered I have another phone in my home office somewher... 
 @90431d67 Your tax dollars at work. 
 So… seven far-right Republicans decide to oust McCarthy because he actually compromised and wor... 
 @90431d67 Why support him if he wasn't going to give them any concessions?  He made his own noose, no sense saving him from it unless you get something for it. 
 I, um, have no idea how to interpret this.  Is it safe to use 8.2 for the upcoming v2 of this library, or should I use 8.1?  It looks like 8.2 usage used to be >50% of cases, but... it's gone DOWN dramatically?  What?

https://packagist.org/packages/crell/tukio/php-stats

#PHP 
 @90431d67 Mixing Greek and Latin?  For shame!  But kinda on-brand for the description...

So now we have a name for the structure we hate. 🙂 
 "Influencer" is the most narcissistic pseudo-profession.  It's even worse than "celebrity."

https://www.bbc.com/news/articles/c03e8478plzo 
 Just got one of those scam calls telling me that I’m facing legal trouble because someone has b... 
 @90431d67 Scum of the earth, they are.  I genuinely don't know how they can sleep at night.  Even if one could argue the call center people are desperate and getting taken, they're still complicit.  And their bosses are triply complicit. 
 Sass is one of those things where I’m like, “This is what CSS should be.” 
 @90431d67 Most of it has become part of CSS or is in the development track. Eventually CSS will look more or less like Sass, and Sass will be unnecessary. 
 Looking for #PHP feedback.

I have a lib build for PHP 7 that has 3 methods:

addFoo($id, $priority)
addFooBefore($id, $before)
addFooAfter($id, $after)

($before/$after refer to some other $id.)

For PHP 8, I am strongly considering just assuming named args and changing it to:

addFoo($id, $priority, $before, $after);

Specify only one of priority/before/after, by name. Multiple is an error.

Is this a good idea/bad idea, and why? 
Event not found
 @90431d67 Yeah, but I'm wondering if that is and github actions. :-)

But something started using it a whole lot on 8.1 recently.