Menu Close

Password Checking

My first GitHub repository is out! Inspired by Computerphile’s video on checking your passwords, see here; I forked their sample code to improve the C# implementation (and ignore the python, that I don’t really get along with). Not only have I got my way around GitHub ahead of my next project (Pitch-Class Set Theory Analysis), I’ve also got a secure way of checking passwords! View on GitHub It works as follows: The password is entered as plain textThe password is converted into an SHA1 hashThe first five characters of the hash are sent to the pwned passwords api – a…

GitHub Repository

I have decided to start storing all of my code in a GitHub repository. Upcoming projects include: Pitch-Class Set Theory Analysis Tools – this project will take MusicXml input files and performed automated analyses using Allen Forte’s theory of Pitch-Class Set Theory AnalysisA ‘Countdown Solver’ written purely as a coding exerciseCode from my Z-80 computer, which I hope to start working on again soon The link to my page is here: Git Logo


Madrigal of the Week – Jacques Arcadelt – Il bianco e dolce cigno

Jacques Arcadelt’s ‘Il bianco e dolce cigno’ is a suitable place to start a series such as ‘Madrigal of the Week’. Published in 1539, it is not an early madrigal by any means, but it is (possibly) the first explicit/erotic madrigal in a tradition that would continue for the next century. Using the euphemism of death for orgasm, the speaker of the text compares the swans actual death against his euphemistic one. Although the expression ‘Swansong’ only came into being in the eighteenth century, the legend of the mute swan dates back to antiquity. Silent throughout its life, the mute swan…

Maze showing the distance from the centre.

Mazes in C# and Unity

Recently, I have started reading the book Mazes For Programmers, by Jamis Buck. All the examples in the book are given in Ruby. So I have worked through these, to the point where I made myself some coloured mazes using the example code. See the example picture below. The darker the colour, the further the location is from the centre: However, I think better in C# so I thought I would try re-writing the code. Plus, this makes sure that I really understand the examples. Why not then, do this in Unity, then I could build the maze in 3D…