• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 376

  • 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 • July 3rd 2018 replying to this from @benpbarnett
@benpbarnett Oh no! I totally would, but I can manage it tonight.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @
@DirtyF Splish splosh!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018
Did not disappoint. https://ift.tt/2z3vOPj
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @swyx
@swyx Aaaaand you're done. Surprise!

😎😍🤗
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @heydonworks
@heydonworks Yeeaaah, baby!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018
Proud of this. All new sites on Netlify are HTTPS by default. https://twitter.com/Netlify/status/1013818257269231616
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @smakosh
@smakosh @Netlify Excellent!

They are a clever bunch, our support team. I learn from them every day!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @s10wen
@s10wen @Netlify Site passwords are a paid feature. Check out Teams Pro:
https://www.netlify.com/pricing/#teams
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2018 replying to this from @smakosh
@smakosh @Netlify Hmm. That doesn't seem quite right!

😕

If you haven't already, can I suggest you email support@netlify.com. The team there are in a much better to troubleshoot any issues on that channel than over twitter.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @HenrikJoreteg
@HenrikJoreteg If understand you correctly, you should be able to match for the .js file extensions and handle them differently. Something like:

/*.js /jsnotfound.html 404
/* /index.html 200
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @thepatwalls
@thepatwalls @ksaitor @Netlify Aha. Interesting.

It sounds like you're also keen to play work with Rails anyhow, but FWIW @smashingmag is an example of a site who successfully generate many many thousands of pages with @GoHugoIO.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @thepatwalls
@thepatwalls @ksaitor @Netlify Nice traffic bump. Kudos!

Sorry to drop in at the mention of Netlify... but "page caching issues"? You were having trouble?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @jbmoelker
@jbmoelker @Netlify Ahaah!
I see. Yeah, at the moment, you'll need to stage that on Netlify to get access to the form handling and trigger that event in the same way.

You could log out the payload and review the logs of each function invocation in the functions section of the Netlify admin UI.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @philhawksworth
@jbmoelker @Netlify Testing locally can be done via https://www.npmjs.com/package/netlify-lambda which I use in this starter template:

http://templates.netlify.com/template/eleventy-starter-with-functions/

Expect more examples and tooling to come in the future!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @jbmoelker
@jbmoelker @Netlify Great!

You can find some good docs about using functions and about event-triggered functions here:

https://www.netlify.com/docs/functions/#event-triggered-functions

Previously, I had been connecting form submissions with functions via webhook notifications which you can see in this example:

https://jamstack-comments.netlify.com/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @cbetta
@cbetta @Netlify Well, I'm jolly pleased to hear that!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018
@Julieanne, @rem My ability to communicate with you about #ffconf as I had hoped, was ***crushed*** by your form validation.

Which in retrospect, seems reasonable.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @t_czechowski
@t_czechowski @awscloud @nodejs @goserverless @reactjs @Netlify Nice!

I'd be curious to hear any feedback about Lambda via Netlify Functions if you've given that a try. The architecture you describe is exactly what we were thinking of when designing a development workflow to simplify things & bring it all together.

https://www.netlify.com/features#functions
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018
This event is worth your attention! https://twitter.com/designmattersdk/status/1012613277308915712
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @garytube_ber
@garytube_ber @Netlify Aha!
That's a relief. Pleased to hear that all is ok.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @garytube_ber
@garytube_ber @Netlify Oooft!

Can I suggest you email support@netlify.com? They can respond far better there than over twitter.

I've also notified the team.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @garytube_ber
@garytube_ber @Netlify You'll not get a response from that endpoint. You can browse the API from https://open-api.netlify.com/#/default

...I'm also having no problems deploying personally. You're deploys are failing?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 29th 2018 replying to this from @
@paraggawde_21 @andrewakagawa @github @Netlify @nuxt_js @vuejs Great :)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 28th 2018 replying to this from @qubyte
@qubyte Yep! I'll be there and like both conversations and croissants.

😎
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • June 28th 2018
❤️❤️❤️

https://2018.ffconf.org/
  • 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.