• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1267

  • 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 • April 7th 2019
On my way to The Big Apple for @jamstackconf which offers up some fruit-based puns for sure. So it's better that @futuregerald will MC-ing this. He has more restraint than me.

Very excited to talk to the lively #JAMstack community.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 5th 2019 replying to this from @gerwitz
@gerwitz Ha! Yeah.... it builds once a minute. The build and deploy takes approximately 25-30 seconds to complete, so I set the time 30 seconds into the future.

I’m a dirty cheat.

* http://setyourwatchby.netlify.com should not be used for timing Olympic track and field events.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 5th 2019 replying to this from @mrjoe
@mrjoe Your login will forever be via a "reset my password" loop.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 5th 2019
"we are now paying the price for a referendum that was dominated by falsehoods"

Very good stuff from Betty Boothroyd https://twitter.com/Banbury4Europe/status/1114063310163468288
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 5th 2019
RT @RGA: Proud to say R/GA is boycotting hotels owned by the Brunei Investment Agency in protest of the sultanate’s outrageous anti-gay leg…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019
See!
And now I can prove it. https://t.co/h6oPHAwkW3
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019
Twitter: Where opinions are regularly presented as facts. Then quoted as evidence.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019 replying to this from @zachleat
@zachleat @eleven_ty @opencollect My greatest contribution to open source, ever:
https://twitter.com/philhawksworth/status/999068891870527488
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019 replying to this from @zachleat
@zachleat @eleven_ty @opencollect ❤️
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019 replying to this from @mrjoe
@mrjoe I predict a password so secure, that you'll never be able to log in again.
Or at all.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019 replying to this from @garethr
@garethr Hmmm. I thought you were running your build locally and then pushing the assets via the API. I must have misunderstood.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019
I use @eleven_ty a lot both personally & professionally, getting great value from it.

@zachleat builds & maintains it for free. So supporting him by contributing the equivalent of the pint of beer I'd want to give him each month, was an easy decision.

https://opencollective.com/11ty
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2019 replying to this from @garethr
@garethr Heh!

Depending on how many of these files change with each build, subsequent deployments should speed up. (Since behind the scenes only modified assets are propagated to the CDN).

Of course, your site generation speed will be more in the hands of whatever you are doing there.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @jdlrobson
@jdlrobson @mahemoff @brad_frost 😻😻😻😻😻😻😻😻😻😻
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @DavidDarnes
@DavidDarnes @rafahari Never. Joke. About. Office. Supplies.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @rafahari
@rafahari This is the single best thing I've ever seen in my life.

Multiple nose-snort moments.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @philhawksworth
@brad_frost Narrator: He was not cool.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @brad_frost
@brad_frost 10 PRINT "Phil is cool"

(Followed by...)
20 GOTO 10

...on every BBC Micro I could find on display in the shop.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2019 replying to this from @HenriHelvetica
@HenriHelvetica @Netlify @jllord Nice! That talk by @jllord is excellent. And this technique is handy. I've used it in a number of places.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @philhawksworth
@Kajrietberg An example of that to explore:
https://github.com/depadiernos/token-hider-inator
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @raymondcamden
@raymondcamden @Netlify My work here is done.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @philhawksworth
@Kajrietberg or... could that call and page population happen at build time when you generate the page, instead of in the browser? That would mean that you'd not hit API rate limits if *gazillions* of people requested your page (since you'd only get the data at build time, not request time)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @philhawksworth
@Kajrietberg Instead you might want to proxy that JS call via an API in a serverless function. Netlify Functions can help you with that by adding your API key (they have env var access) and proxying to that opendata endpoint.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @Kajrietberg
@Kajrietberg Careful. It looks like you are conflating what you are trying to do at build time, and what you want to run in the client. Env vars are only available to the server.

If you need that JS to run client-side, you'd not want to populate it with your API secret. It would be exposed.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @raymondcamden
@raymondcamden @Netlify 🎉
Names for things are hard. And the cognitive baggage that comes with the word "static" is a big part of why another term is useful.

I'm less worried about the word we use, and more excited by the potential in...

- JAMstack
- Static
- StaticFirst
- Pre-rendered
- ShortStack
  • 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.