• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 134

  • Newest
  • Previous
  • Next
  • Oldest

The archive of what I posted on Twitter, which I now self host due to a lack of trust in Twitter and some other reasons.

I'll soon begin refelcting all my Mastodon posts here too. I'm happier self-hosting or maintaining an archive of my content on URLs that I can own.

There are tools to help you do this too. Such as this one from the makers of Eleventy.

A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 19th 2020
These mascot stickers tho! https://twitter.com/Netlify/status/1329190909657944064
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 18th 2020
Your mission, should you choose to accept it...
(with lots more missions to come) https://twitter.com/Netlify/status/1329114182369890307
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 18th 2020 replying to this from @SaraSoueidan
@SaraSoueidan For me, this hinges on the language which might feel most intuitive to the user when making the decision.

"Do you want this or that?" lends itself to a radio button.
"Do you want this or not?" lends itself to a checkbox.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 18th 2020 replying to this from @marisamorby
@marisamorby Gorgeous!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 18th 2020 replying to this from @nhoizey
@nhoizey @tkadlec I think you’ve got the url of your source images wrong in the redirect rule. Aren’t you missing the “images” part of the path?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @tkadlec
@tkadlec Lovely explanation! Thanks Tim!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020
Just another day looking around at my colleagues like this, TBQH.

I know.
It's gratuitous.
I regret nothing.

video alt: Brittany Murphy as Tai Frasier in the movie "Clueless" sighs, swoons, and looks around adoringly.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @SaraSoueidan
@SaraSoueidan All’s well that ends well!

I’m was just happy to breath a big sigh of relief and then be reminded check my own situation!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @SaraSoueidan
@SaraSoueidan Genuinely unsettled by this.
Going to check all my backups. Brb
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020
Given the choice, I'd prefer the simpler thing please.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @matt_hojo
@matt_hojo @Netlify #TimezoneBuddies!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020
✨🎧✨ https://twitter.com/smashingmag/status/1328626568722255873
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @SteveALee
@SteveALee @smashingmag Yerp!
So fatigued by this.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @matt_hojo
@matt_hojo @Netlify ✨Woohoo!✨
Bring it on!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @DaraghOShea
@DaraghOShea @cloudinary 👍
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 17th 2020 replying to this from @DaraghOShea
@DaraghOShea @cloudinary Yes indeed. Using placeholders rather than a wildcard delivers that.

I'm now passing through a height in the path:
https://petsof.netlify.com/cloudinaried/500/polly.jpg

(from = "/cloudinaried/:height/:image")

Docs:
https://url.netlify.com/rk2y1QZ9w

Code: https://github.com/netlify/petsofnetlify/blob/master/netlify.toml#L8-L14
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @mesetatron
@mesetatron @kvncnls @Netlify If in doubt, it was probably my fault.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @mesetatron
@mesetatron @kvncnls @Netlify That was an admission of my naiveté about the attention Jamstack had been starting to pick up.

Oopsie!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @kvncnls
@kvncnls @Netlify ha!

Not the creator. But I somewhat put the cat amongst the pigeons with this discussion:

https://github.com/jamstack/jamstack.org/issues/279
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @philhawksworth
@Accudio @cloudinary @Netlify You're right that it's not a zero impact change to serving the same assets from your own site. But once Cloudinary ingests & caches these assets on the first request, no user would ever spot a perf impact.
They also do smart things for you, like serving the best format per client
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @Accudio
@Accudio @cloudinary @Netlify Redirects happen at the edge of the Netlify CDN in some highly optimized C so that bit is crazy fast. Your browser doesn't need to look up another domain, so no additional overhead there. And @cloudinary is its own image CDN optimized for caching and serving these assets.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @davatron5000
@davatron5000 @DavidDarnes @chriscoyier @cloudinary @Netlify @eleven_ty Aha! Well in that case, yeah that looks like an option!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @DavidDarnes
@DavidDarnes @davatron5000 @chriscoyier @cloudinary @Netlify @eleven_ty ☝️
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @davatron5000
@davatron5000 @DavidDarnes @chriscoyier @cloudinary @Netlify @eleven_ty I’ll dig out an example if generating _redirects file with @eleven_ty.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2020 replying to this from @davatron5000
@davatron5000 @DavidDarnes @chriscoyier @cloudinary @Netlify @eleven_ty The images always reside in the images folder, even when served from Cloudinary. (Because Cloudinary accesses them to ingest them as the source image). There is never a “cloudinaried” folder for images. That’s just a path which resolves to the url on cloudinary.
  • Permalink
  • |
  • Twitter
  • Newest
  • Previous
  • Next
  • Oldest

The source code of this site is available on GitHub and is hosted and updated by Netlify automatically after each code commit

Other than where specified, the content on this site is published under a Creative Commons Attribution 3.0 licence.

Subscribe to a feed of blog posts on this site.