• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 319

  • 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 14th 2019
By crikey, that @bruised_blood is a talented chap! I'm currently soaking up all the beautiful pixels in his glorious portfolio, please don't disturb me from my happy place. https://twitter.com/bruised_blood/status/1106188151599648768
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @_munter_
@_munter_ @SaraSoueidan Oh, that's nice.

This approach also attempts to address the need to perform those image transformations at build time, which can slow builds down of you have many many images.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @_munter_
@_munter_ @SaraSoueidan Assetgraph did this too? I might misunderstand. How would it do these on-the-fly transformations directly on the CDN at request time?

That's mostly what I'm demonstrating here. The macro for html generation is a pretty common utility in SSGs, right?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @SaraSoueidan
@SaraSoueidan You bet.
The @eleven_ty part is just a helper to output the markup for the picture element. @GoHugoIO could do that bit too.

@Netlify Large Media gives you sensible version control of this large source image assets and automatic asset transformation on-the-fly.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @SaraSoueidan
@SaraSoueidan Pssst. You might be there already.

https://twitter.com/philhawksworth/status/1105862954300395525
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @StuRobson
@StuRobson @eleven_ty @frctl 🤔 Wondering what in my little boilerplate project might demand that.

For what it's worth, I install node and npm via nvm to make my life a little easier if I need to jump around to different versions on different projects.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019
I made a little example of using @Netlify's new image transformation service along with a shortcode in @eleven_ty (but you could use any SSG in this way) to generate the markup and assets for responsive images using the <picture> element.

https://example-nlm-picture.netlify.com
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @johnlindquist
@johnlindquist @Netlify I love this too. And I use it a lot for quick-starting projects.
You can even feed it more configuration to set up more of the environmental pieces if you need to.

Super handy if you have a list of project boilerplates, like you might have at an agency.

https://www.netlify.com/docs/deploy-button/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @silviopaganini
@silviopaganini @healves82 @tudor_prodan @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify ha ha.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @tudorprd
@tudor_prodan @healves82 @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify If the friction in deploying is low, and your confidence in automated deploys is high, this model works really nicely. It means your site can stay fresh without you needing to manage a server to keep it alive.

My own site redeploys every time I tweet.

https://www.hawksworx.com/blog/keeping-a-jamstack-site-feeling-fresh-with-recent-tweets/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @
@healves82 @tudor_prodan @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify If only this were up to me!
Prepare for... HawkStackâ„¢

I think we should use whichever term makes it easiest to communicate what the architecture is. #JAMstack has been getting more broadly understood, but I've also heard:

- StaticFirst
- Pre-rendered
- ShortStack

& more!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @qlex_
@qlex_ @Netlify Most odd. 🤔

Would you mind contacting the support team? They are usually in a much better position to help with this sort of thing.

Reach them via http://netlify.com/support
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @HenrikJoreteg
@HenrikJoreteg @Netlify I don't think build limit of 15 minutes has been decreased. I did notice some build disruption overnight according to @netlifystatus. Perhaps related?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019 replying to this from @brucel
@brucel @smashingmag @smashingconf I assumed that bit was a copy/paste error.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019 replying to this from @jamesqquick
@jamesqquick @Netlify The Netlify redirects API can help you there.

https://www.netlify.com/docs/redirects/#rewrites-and-proxying
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019
Wait.... "bad jokes"?

Who over at @smashingmag and @smashingconf am I going to need to talk to about this outrage? https://twitter.com/smashingconf/status/1105102717066702848
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019
Excited! https://twitter.com/smashingconf/status/1105102717066702848
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019 replying to this from @muditameta
@muditameta @Netlify Yeah, I don't think that there is a UI to do what you are looking for directly (as far as I know), so you'll need some help from the support team.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019 replying to this from @muditameta
@muditameta @Netlify I recommend asking the support team if they can help with that. If you contact them via https://netlify.com/support then they should be able to assist.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 11th 2019 replying to this from @saltnburnem
@saltnburnem @cweave_ Hard to say. I can take a quick look if you could share a link to your deploy logs / repo, @cweave_
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 9th 2019
RT @Netlify: We were thinking more long the lines of the <marquee> tag.
But we'll happily take the complement nonetheless. 🥳 https://t.co/…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 9th 2019
Cat / box / jelly mould https://ift.tt/2HnTU9T
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 8th 2019 replying to this from @kentcdodds
@kentcdodds @brunowinck @jlengstorf @Netlify @gatsbyjs Aha!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 8th 2019 replying to this from @Skeeec
@Skeeec It's a globally distributed network. Spanning 7 different cloud providers.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 8th 2019 replying to this from @Skeeec
@Skeeec Only if nobody else had ever made a request for the site via that part of the ADN. If they had, it would get served directly from ADN.
  • 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.