Hugo

I had been using Pelican to manage this site, but switched it to Hugo this week. My main reason for this is that I want to learn Go and Hugo is written in Go and uses Go templates in themes and a few other places. After having played with it for a few weeks, I thought I’d share my impressions so far.


Multiple repos

Quite often I find it useful to push to more than one repo. If a repo is used for system configuration, I might have a central repo github.com but also have it on the servers it’s used to manage. It can also be useful for some code review scenarios.



Letters of Note

I think I’ve found the last batch of pictures. I’m a little overwhelmed so another scanning session is a while off. However there were other things with the pictures - there were five letters.


Things to do for starting a php project

So php isn’t the greatest thing ever. Nonetheless its tooling has evolved and that are a number of things you can do to make it less auful. The goal of this is to cover setting of a php project so that you can pull in dependancies and provide an easy way for users to install your software.


Cups

Been going through my mom’s things. Tax season doesn’t stop for death so I had one last bit of paperwork to find. Mom wasn’t a fan of paperwork so it took a little hunting - found it in the end though.


Laundry

Finished mom’s laundry. It seems some lasts you do know when they happen.

Fridge repair

Problem: Fridge was making loud buzzing noise.

Solution #1: Ignore it, hope it would go away. I invested 5 days into this solution.


SRI hashes for CDN js and css files

Subresource Integrity is a nifty idea to use SRI hashes to verify external resources your web app depends on haven’t been compromised. Using content delivery networks (CDNs) for common web resources (javascript and css) makes pages load faster since chances are those things have been loaded by other sites and are cached by the browser. It also means bandwidth gets used better generally which is a good thing. But it does mean you’re trusting the CDN.

More filesystem fun...

So as a followup, the flaw in my plan was that fat32/vfat doesn’t grok users and groups - or their associated permissions. Therefore both cp and tar emit loads of errors when copying to such a filesystem. Which is annoying. Therefore I went the tarfile route. While taring to the device is tempting, I imagined walking someone over the phone on how to extract that and then just got frustrated before even having the conversation.