Kind bookmarks

 Bookmark

Bookmarked Wordle to yaml
Post details
I’m playing Wordle. I love a word puzzle and like many have been hooked by the daily game. I wrote wordle-to-yaml-action to archive my Wordle games to a yaml file....

Recommended read: Wordle to yaml | Katy DeCorah https://katydecorah.com/code/wordle-to-yaml/

 Bookmark

Bookmarked API Warfare
Post details
API-first. "Headless" e-commerce. "Headless" BI. We've seen a resurgence of startups reimagine startups like Shopify and Wordpress, but built for developers and built for composability. The API is the product. There's three major risks to building on an API. (1) Requests and responses aren't always the full contract. What happens

Recommended read: API Warfare https://matt-rickard.com/api-warfare/

 Bookmark

Bookmarked Avoid using else | freek.dev
Post details
Using else often encourages complexer code structure, makes code less readable. In most cases you can refactor it using early returns.

This is a good tip for any language!

Recommended read: Avoid using else - Freek Van der Herten's blog on PHP, Laravel and JavaScript https://freek.dev/2212-avoid-using-else

 Bookmark

Bookmarked Why does java.net.URL's hashcode resolve the host to an IP?
Post details
Is the idea after the first resolution it'll rely on OS caching? Still this seems inefficient and in cases of multiple domains resolving to the same IP, incorrect. What am I missing?

Recommended read: Why does java.net.URL's hashcode resolve the host to an IP? - Stack Overflow https://stackoverflow.com/questions/2348399/why-does-java-net-urls-hashcode-resolve-the-host-to-an-ip

 Bookmark

I've recently been doing similar with some of my utilities, albeit with an informal comparison between Ruby and Go versions, but would agree that for large, production critical scrips, this is a great way to do it

Recommended read: Rewriting Bash scripts in Go using black box testing https://stackoverflow.blog/2022/03/09/rewriting-bash-scripts-in-go-using-black-box-testing/

 Bookmark

I've been bitten by pinning to latest versions before and definitely agree that where possible we should make sure that things are pinned exactly.

Then we can use tools like Whitesource Renovate / Dependabot to manage updates automatically.

Recommended read: Just say no to `:latest` - Platformers https://platformers.dev/log/2022-03-02-latest-literally-kills-puppies/

 Bookmark

My colleague Bethan wrote about the work we're currently doing on Federated API Discovery across government. Very much recommend a read about why we're doing it, and we'll be doing more posts in the future about progress, but until then, you can check out the repo

Recommended read: Using a federated model for API discovery in government - Data in government https://dataingovernment.blog.gov.uk/2022/02/18/using-a-federated-model-for-api-discovery-in-government/

 Bookmark

Bookmarked Opinion | The Case Against Loving Your Job
Post details
Will work ever love us back? Two millennials disagree.

Thanks to Carol Gilabert for sharing this podcast last week.

Since leaving Capital One, I've realised that a lot of my self esteem and self worth has been poured into my work, and I was (mostly) getting a lot of satisfaction out of work, and enjoyed the fact that I was always busy, with sprint work, out-of-sprint work, and a tonne of internal side projects to work on, as well as general maintenance of libraries, as well as a wealth of proactive production support.

With my new role at the Data Standards Authority, I've been working to strike a better life-work balance, and the lack of "here's a billion things to work on at the same time" that I thought I was thriving on has made me realise that maybe I've been so used to being in this mode that I just assumed that I did enjoy it.

This podcast (and its transcript) is a good look at The Great Resignation, the way that workers across industries have been reconsidering their relationship to work, and with a wealth of options for jobs out here, as well as thinking about not what they want, but deserve.

I'm still working on my own relationship with work and how I find fulfillment in my life, and would recommend you have a listen/read to see if there's anything in there for you, too.

Recommended read: Opinion | The Case Against Loving Your Job - The New York Times https://www.nytimes.com/2021/11/19/opinion/ezra-klein-podcast-sarah-jaffe.html

 Bookmark

I'd agree that learning skills is important, especially as general command line proficiency can be helpful regardless of how you host but remember that everything is a tradeoff - what does your company differentiate on, and do you have time to learn how to scale infra or can you outsource to get to market quicker?

Recommended read: Reclaiming the lost art of Linux server administration https://www.pietrorea.com/2022/01/28/reclaiming-the-lost-art-of-linux-server-administration/