coderefinery

Publishing your node service with DNS-SD/mDNS from an Alpine Linux docker container

Multicast DNS service discovery, aka. Zeroconf or Bonjour, is a useful means of making your node app (e.g. multiplayer game or IoT project) easily discoverable to clients on the same local network. The node_mdns module worked out-of-the-box on my Mac. Unfortunately things weren’t as straightforward on a node-alpine docker container running on Raspberry Pi Zero, …

Publishing your node service with DNS-SD/mDNS from an Alpine Linux docker container Read More »

Lungs are example of redundancy in nature

Beyond DRY – Why Redundancy Makes Your Code More Robust and Less Fragile

Anti-Fragile by Nassim Nicholas Taleb is a goldmine of practical ideas for software developers, despite it not being a software development book. Redundancy is one example of such an idea that is explored. Taleb explains how having some redundancy reduces fragility, and means we don’t need to predict the future so well. Think of food …

Beyond DRY – Why Redundancy Makes Your Code More Robust and Less Fragile Read More »

Google I/O 2013 – Cognitive Science and Design, and how it applies to Android apps

[youtube https://www.youtube.com/watch?v=z2exxj4COhU&w=560&h=315] This is an excellent talk by Alex Faaborg at Google I/O 2013 about cognitive science principles and how they apply to interface design. Here’s a summary of some of the main points and how they could be used to improve your apps: We can search for objects of the same colour much faster …

Google I/O 2013 – Cognitive Science and Design, and how it applies to Android apps Read More »