• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 341

  • 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 • December 5th 2018 replying to this from @paulrobertlloyd
@paulrobertlloyd @Netlify 😲
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @AndyWhalePhoto
@AndyWhalePhoto @frontendyork @imconnorm @AndyCallaghan @Netlify Thanks Andy!
Have fun. Let me know if you have any questions.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @SamTurrellDev
@SamTurrellDev @frontendyork @Netlify @vue_london Thanks for having me! I really enjoyed the evening. Good chatting with you, Sam. And congrats on your recent success at the #PressAwards18 with @netsells!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @davatron5000
@davatron5000 @Netlify Fix it, Dave!

Fix it.
Fix it.
Fix it.
Fix it.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018
My last talk of the year... Looking forward to this! https://twitter.com/SearchableRosie/status/1070364433975820291
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @Eastmad
@Eastmad @tobyhede I used "functions-as-a-service" and recall you scoffing.

Jeff it is.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018
RT @tobyhede: If your rebuttal to "serverless" is "contains servers" I have this thread for you of things that are not literally the words
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @pugson
@pugson @NetlifySupport @rafahari You might find this example useful:

https://github.com/imorente/gatsby-netlify-form-example/blob/master/src/pages/file-upload.js#L27
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @philhawksworth
@kentcdodds @airtable @Netlify @bdougieYO Looks like the build and config is all ok. But that there is an issue with that lambda in particular. As @biilmann suggested.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable @Netlify @bdougieYO Hmmm.
I'm back near my computer now. So I'll have a look.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable @Netlify @bdougieYO Have you looked at the logs from the functions via the Netlify admin UI? Each invocation should be logged there along with anything you console.log in the function.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable @Netlify @bdougieYO Just at dinner right now (in the UK), so sorry this is brief:
This line should tell Netlify where to find your once they have been built:
https://github.com/kentcdodds/airtable-netlify-short-urls/blob/master/netlify.toml#L3

and this should point at your source functions are so that they can be built:
https://github.com/kentcdodds/airtable-netlify-short-urls/blob/master/package.json#L9

Path problems?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable @Netlify @bdougieYO I'd use a placeholder instead of a splat. Like this:

https://github.com/philhawksworth/hawksworx.com/blob/master/netlify.toml#L46-L48
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable @Netlify You can respond with any HTTP response code you like, including 301, 302 or 200. But I've not tried this scenario where the destination is returned dynamically.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable Totally.
@Netlify's redirect API supports placeholders, splats and query params.

The docs describe them here:
https://www.netlify.com/docs/redirects/#placeholders
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @kentcdodds
@kentcdodds @airtable For fun, when Netlify Functions were lunched, I made a quick and dirty URL shortener with serverless functions and the Netlify redirects API which runs on the CDN.

https://www.netlify.com/blog/2018/03/19/create-your-own-url-shortener-with-netlifys-forms-and-functions/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @ARothuis
@ARothuis @Netlify @gitlab Maybe this will help people looking to move over...

https://rss-jamstack.netlify.com
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @bitandbang
@bitandbang @gatsbyjs On that note:

https://rss-jamstack.netlify.com/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @leolabs_org
@leolabs_org My own sites seem to be building fine.
Are you seeing this on multiple sites or recurring on one site in particular?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018
RT @Netlify: πŸ‘‰ More deploy info directly in your GitHub issues.
πŸ‘‰ Finer control over the GitHub permissions.

We're delighted with the rece…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @perrysetgo
@perrysetgo @Netlify Excited that you are back!
We missed you.
And were not jealous of your marvellous looking vacation at all.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 4th 2018 replying to this from @keegandonley
@keegandonley @Netlify @goserverless That's what we like to hear!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 3rd 2018
Front row seat. https://ift.tt/2rk0Uvf
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 3rd 2018 replying to this from @djm_
@djm_ @Jeremy74 @jaffathecake I had to admit defeat when I started to look like my avatar's dad.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 3rd 2018 replying to this from @iamMrDuncan
@iamMrDuncan Complementary, but not synonymous, IMO. At least if one interprets "serverless" as "functions as a service".

But if you take serverless to mean, "serving things without a need to care about underlying physical or virtual server infrastructure", then perhaps.

I find that broad.
  • 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.