• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1295

  • 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 7th 2018 replying to this from @philhawksworth
@kentcdodds @CarlRosell @Netlify @airtable And mostly, I like this approach since it means I don't need to worry about caching. (which as you know, is fiddly at best).

Maybe not great for a system that has many thousand of redirect rules though. In that case a function and a db like your approach probably scales better
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 7th 2018 replying to this from @kentcdodds
@kentcdodds @CarlRosell @Netlify @airtable There's not fee to hook @Netlify up to private repos. 😎
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 7th 2018 replying to this from @rafahari
@rafahari @stefanjudis @Netlify RAFA KNOWZ GRADIENTS
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @CarlRosell
@CarlRosell @kentcdodds @Netlify @airtable Ha ha! I know the feeling.

I made a tool to generate that _redirects file based on the urls posted to @Netlify's forms API. This way the redirect happen directly at the CDN level so are crazzzzzy fast. But it's a bit of a toy/example project.

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 6th 2018
RT @Netlify: This should be an interesting stream to watch. @kentcdodds is live-streaming his first #serverless experiments with @Netlify F…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @
@Olivierjmm @Netlify Couple that with the ability to instantly rollback to any previous build in the history of your project, and what you have... is a time machine!

https://www.netlify.com/docs/versioning-and-rollbacks/#rollbacks
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018
Let's be very clear - The daily #christmasdeskdance by @Mandy_Kerr is like a little dose of sunshine which everyone should be tuning in to enjoy.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @AndyWhalePhoto
@AndyWhalePhoto @frontendyork @imconnorm @AndyCallaghan @Netlify Yep. I like to think about putting as much distance as possible between the users, and the complexity.

Serving assets directly from a CDN after pre-rendering everything can be huge in this regard. And adding small pieces of logic via serverless functions can fill any last gaps.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @rauchg
@rauchg @slightlylate Alex, you need to #BringBackTheTuftyHairLook
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @bencodezen
@bencodezen @vuepress @Netlify 🔥🔥🔥
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 6th 2018 replying to this from @paulrobertlloyd
@paulrobertlloyd @Netlify That's not the plan.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @philhawksworth
@paulrobertlloyd @Netlify Did you just find us all at @Netlify guilty of a precrime? 😋
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 5th 2018 replying to this from @Una
@Una @Mandy_Kerr Twitter has not done that for me, which leaves me woefully exposed to the risk of missing one of these.

Just kidding. It's my most actively refreshed hashtag.

Fascinated to see what further variations of joyous dancing you can bring right up to the 24th. 💃
  • Permalink
  • |
  • Twitter
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
  • 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.