josephscott

@josephscott@mastodon.social

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

josephscott, to random

@bagder have you considered enabling compression by default in curl/libcurl? Given the large number of bots and other automation on the net that make use of it, seems like having that on by default could have a sizable impact on the amount of global network traffic. #curl #libcurl #http #compression #webperf

josephscott, to php

I generally like #php - but the extract() function needs to disappear.

simon, to random
@simon@simonwillison.net avatar

Prompted GPT-4 Code Interpreter with this:


x01\x01\x00\x00\x00\xA4\x88\x0C\xABx\x99^\xC0C\xE2\x1EK\x1F\xBEB@

I think this is geospatial binary data, but I don't know the format. Try a bunch of things and figure it out

It correctly guessed it was a WKB point and decoded it for me using "from shapely import wkb"

https://chat.openai.com/share/76c98d7d-541f-4b31-a9ba-94628e2b39e8

josephscott,

@simon That is slick!

josephscott, to random

"At least nine times out of ten, a multi-page approach is leaner, more robust, and simpler." - https://adactio.com/journal/20442

josephscott, to php

Only noticed today that dirname() now has a levels option - https://www.php.net/dirname - came in as part of PHP 7. #php

tunetheweb, to random
@tunetheweb@webperf.social avatar

Lighthouse is a fantastic tool, but we fixate too much on the Performance score. It's a diagnostic tool under very specific conditions.

The Chrome User Experience Report (CrUX) data as surfaced in PageSpeed Insights and Google Search Console is what users ACTUALLY experienced, and what is used for Core Web Vitals.
https://www.youtube.com/watch?v=AiAxHYcEDiM

josephscott,

@tunetheweb Lighthouse managed to get a lot of attention, coming from Google, and it still an effort to help people understand the focus is CRUX/CWV for what Google includes in ranking and what real page views are experiencing.

josephscott,

@tunetheweb Right, still hear folks talk about "getting 100 LH perf score to get full Google juice", which is using a good tool for the wrong job.

simon, to random
@simon@simonwillison.net avatar

Just spent 20 frustrating minutes figuring out how to setup a new S3 bucket that could be used to publicly serve static files, despite having devoted an unreasonable amount of time in the past to solving that exact same problem when I built https://s3-credentials.readthedocs.io/

Why is this so hard !?

josephscott,

@simon I tend to assume that anything AWS is likely going to be possible, but will take me way longer to figure out that I would guess. I understand why now there are AWS only specialists, it is a complex beast.

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