Category: Code
Exploring New Zealand's COVID tools
Code, COVID, Software · QR
I've been interested in the technology the government in New Zealand has chosen to use to help combat the spread of COVID-19. It's obvious that they are walking a tight rope betwee
Using AI to create a new religion
Code · Code, Religon
I've always been fascinated by religious holy texts - they're such a product of the time they are written, and generally have little or no useful information for how to live one's
Pubs not Puns
Code · Software, Testing, Jest
I was talking with a friend today online, and he mentioned my love of pubs. This was actually a typo, as he was aiming to be sarcastic about my lack of love for puns:
GraphQL, Graph DB, Graph API - what's with all these Graphs?
Code · Software, GraphQL, Graph DB, Graph API
In my current role, I've found myself working with Microsoft's Graph API - and have implemented a Graph API MicroService in GraphQL. I've also recently been working on a side proje
The importance of readable data structures
Code · Software, Python, Object, Naming, Clarity
A friend asked for help on Facebook the other day with a programming problem. He needed to dynamically create a set of buttons, and was having problems looping through his variable
Into War
Code · Software, DOS, Small
A friend recently let me know of a tiny program that runs a 3D scene with both audio and video. How tiny? The executable, a .com file, is 64 bytes in size (yeah, that's pretty damn
Tone Generator
Code · Audio, Tone
Thanks to the generosity of a friend, my lounge now not only has a 7.2 embedded wall speaker setup, but the sofa also vibrates when there is a low bass rumble in the audio of whate
Tab or Space(s) to Indent?
Code · Software, Tab, Space
Tabs vs Spaces - which one should be used when indenting code? I'm going to spoil the suspense right away by saying that the answer is clearly Tabs. However, it would be remiss of
Voltage Divider
Code · Software, Voltage, Divider
A friend who is studying Engineering at university asked me for help tutoring him for one of his degree projects where he was tasked with writing a voltage divider calculator:
QR Code Generator
Code · Software, TypeScript, QR
This is a dynamic QR Code generator using the browser and the qrcode library.
This Website
Code · Software, Vue, Vuepress, Markdown
This website is now built using Astro and edited with Sveltia CMS. The entire source is on GitHub, and a GitHub Actions workflow builds the static site into dist and publishes it t
ingoa.nz
Code · Software, Ingoa, Māori
asa.sbh.nz
Code · Software, ASA, Gamification
A Better Path
Code · Software, Picard, Music, ID3
$setmulti(spokentypes,spokenword;interview;audiobook,;) $setmulti(varioustypes,soundtrack;dj-mix,;) $set(secondary,$upper($left(%secondaryreleasetype%,1))$right(%secondaryreleasety
FishBarrel
Code · Software, ASA, Chrome
Back in the early days of my foray into skepticism, I found a Chrome plugin called FishBarrel which makes it easy to gather data from a nonsense website and submit a complaint to t
Kodi NZ OnDemand Plugin
Code · Software, Kodi, TV3, TVNZ
NZ XMLTV Listings
Code · Software, XMLTV, Sky, Freeview
Download Music Artist Images
Code · Software, AlbumCoverArtDownloader, Discogs
I was cleaning up my music collection yesterday by using Discogs, a great online Discography catalogue website, to download missing album cover art. I normally use the long-windedl
Decrypting encoded text
Code, Cryptography, Software · ROT13, ROTx, Caesar, Substitution, Cypher
I became interested in cryptography a few years ago, and have been slowly working my way through Bruce Schneier's Applied Cryptography. From this, I became interested in simple for
My first web page
Code · Software, Website
At University we were tasked with creating a web page on the topic of patterns of innovation. I still have a copy of the page, and it shows a less than auspicious start to my websi