Oddbean new post about | logout

Notes by e8201add | export

β–² β–Ό
 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.