News for hackers. Stuff that matters.

charlesworth91

Re:Netlify Status – CDN Issues on Thursday March 25, 2021 @12:44PM (#26582463)
This hit me, as someone using A records to point to the Netlify IPs. If you are using GitHub, I found switching over to Github pages quite easy for my static site. I used this guide: https://docs.github.com/en/github/working-with-github-pages/...
Re:Ask HN: Anyone know any funny programming jokes? on Thursday January 21, 2021 @06:01AM (#25857638)
Why do fish love programming in assembly? Because it's below C level
Re:Aquafaba on Friday January 15, 2021 @11:19AM (#25792516)
sure thing, I just added it, enjoy!
Re:Aquafaba on Friday January 15, 2021 @06:34AM (#25789646)
I made a tool that converts recipes from different volumes and weights to Grams, perhaps it would be useful here: https://charlesworth.github.io/recipe-slicer/
I came up on this issue, I think the main problem is as React-Router is being used its a SPA; all front end routes need to resolve to the same index.html. Totally do-able with Go but it was a bit of a pain to get it working, I ended up wrapping the "route not found" handler with some logic to serve index for given frontend routes. nginx gets you this very quickly so I ended up using this instead.