• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 117

  • 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 • March 4th 2021 replying to this from @selfteachme
@selfteachme @Netlify @shortdiv @jlengstorf @Tzmanics @cassidoo @sarah_edo Doorbell rings

Demands for silly middle name ensue

Gravity of being careful what you wish for descends
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 4th 2021 replying to this from @philhawksworth
@KatieKodes @Netlify ...but I do have a personal preference for taking heavy lifting out of the build step even for small sites. Especially if an alternative exists which doesn't make the mental model significantly more complex, or make it hard to reason about what lives where and when.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 4th 2021 replying to this from @KatieKodes
@KatieKodes @Netlify That's a good question. And might be fun to discuss on that podcast some time. Better than a blanket, "it depends"...

But I think it depends(!) on things like:
- Number of images
- Frequency of builds/changes
- How images come to the system (content authors or devs)

and so on..
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 3rd 2021 replying to this from @cassiecodes
@cassiecodes This hideous goon can get in the bin.

Meanwhile those with our eyes even slightly open take inspiration from what you build and education from wonderful examples. Thank you for all your amazing work.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 3rd 2021
“It’s not about blame and it’s not about guilt... But there is a problem here... and we are problem solvers by profession”

This by @techgirl1908 is good reminder of the joy and value so many find in computers, and the importance of making that available and approachable to all. https://twitter.com/techgirl1908/status/1366974874187681792
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 2nd 2021 replying to this from @gass_amina
@gass_amina This blows my mind. I'm so sheltered from this sort of unforgivable ignorance.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @DavidDarnes
@DavidDarnes @seldo Shhhhhh.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @seaotta
@seaotta @DavidDarnes @seldo I just assume sarcasm.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @DavidDarnes
@DavidDarnes @seldo Meanwhile I waddle through from my desk to the kitchen to get a biscuit, and my watch tells me “You did it!” and I’m convinced it is throwing next-level shade.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @ItWasMattGregg
@ItWasMattGregg Great!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @ItWasMattGregg
@ItWasMattGregg No you shouldn't need to do any of that. You can do away with netlify-lambda these days 🎉

Include any dependencies on your project's root package.json, and Netlify should do the rest.

This on Unbundled JavaScript function deploys should help clarify

https://docs.netlify.com/functions/build-with-javascript/#unbundled-javascript-function-deploys
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 1st 2021 replying to this from @rq731p
@rq731p @Netlify No clues in your deploy logs?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 25th 2021 replying to this from @iChris
@iChris @Netlify @jlengstorf "pumpkin"
"umami"
"onomatopoeia"

Game over.
Insert coin.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 23rd 2021 replying to this from @raymondcamden
@raymondcamden @antonelli_a @jlengstorf hmmm... no I think you're right. The access to the environment variable here is not as general purpose I thought. I'll explore some more. But agree, this would be handy
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 23rd 2021 replying to this from @shortdiv
@shortdiv 😔🤗
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 23rd 2021 replying to this from @raymondcamden
@raymondcamden @antonelli_a @jlengstorf Well, as it happens...

Take a peek at

https://docs.netlify.com/routing/redirects/rewrites-proxies/#custom-headers-in-proxy-redirects

and

https://docs.netlify.com/routing/redirects/rewrites-proxies/#signed-proxy-redirects
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 22nd 2021
Parkour! https://twitter.com/BBCArchive/status/1305793483597328390
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 22nd 2021 replying to this from @raymondcamden
@raymondcamden @antonelli_a @jlengstorf This is a really handy way to sanitise and decouple API urls.

Keep in mind that any secrets you place here will likely be visible in your code repo unless you are deploying without CI/CD (which you can do via the Netlify CLI)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 19th 2021
I’m unbelievably lucky to get to work with @gass_amina! She’s like a company supercharger. https://twitter.com/Netlify/status/1362862375867662337
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 18th 2021 replying to this from @ItWasMattGregg
@ItWasMattGregg If you include dependencies of your functions in the project’s package.json Netlify will handle getting those deployed for your functions.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 16th 2021 replying to this from @jlengstorf
@jlengstorf @devictoribero @Netlify Technically you can also control this feature via the API.

https://open-api.netlify.com/#operation/createSplitTest
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 16th 2021 replying to this from @SlexAxton
@SlexAxton @alberge This is still one of my favourite things.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 13th 2021 replying to this from @bencodezen
@bencodezen @gass_amina @cassidoo @marisamorby It had been called out already.
When others zig, one should zag.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 13th 2021 replying to this from @bencodezen
@bencodezen @gass_amina @cassidoo @marisamorby I humbly submit:

- Benny and the BuildBots
- Immutably the best
- Netlihigh-Fi
- The see eye, see dees.
- Amina and the Merge Conflicts
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • February 13th 2021 replying to this from @marisamorby
@marisamorby @gass_amina @bencodezen @cassidoo It seems my work here is done. I’m so proud of you, @marisamorby.
  • 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.