danso.ca and this blog

topics: , ,

Welcome to my blog and website

I’ve been an avid Web user for at least a decade, but in all that time, never made a website of my own. Having now been asked multiple times why not, I present the new danso.ca.

I intend to keep this website updated with all my current events and projects. For those who might want to follow my work, I’ll be advertising upcoming concerts and competitions along with program notes, media, and whatnot.

While the main purpose of the website is to showcase my work in music and technology, I also intend to start writing more often. I shared a blog several years ago with a group of friends, but this will be entirely my own thoughts and words.

I hope to sporadically add new posts focusing on the intersection of math and music. I’ll also post about ongoing or completed projects and possibly write tech guides. Knowing myself, I probably won’t be able to resist the occasional post about ethics or politics as well.

The source code to this website is publicly viewable on GitLab and the text is available under a Creative Commons license.

Construction

In the spirit of free culture, my first blog post will cover how I made this.

This website is built with Hakyll.

I had only a few goals with my first website: I knew that I wanted a static HTML website that worked entirely without JavaScript. Frankly, I think in the world of Spectre, nobody should be browsing the web with JS enabled.1 I wanted most of the pages to look mostly the same, but of course I didn’t want to duplicate effort. A static site generator made perfect sense for my use-case, and I chose Hakyll without much further research.

Most of the pages are Markdown files, along with the header/footer templates and some CSS. I have basically no idea what I’m doing when it comes to CSS, which is why my website might appear a bit generic. I expect to change it more, over time.

The colour scheme is a subset of Solarized, because I’m unoriginal and always use the same colours for everything.

I don’t use cabal because frankly I don’t understand it. I tried to once, but things just didn’t work out between us. I use a plain old makefile to automate my builds.

Credit

While I was learning to use Hakyll, I benefitted greatly from Javran Cheng’s tutorial on tags.

I also owe thanks to Rohan Jain’s post about generating clean URLs using subdirectories.

I use both of these features on my website, and more importantly, reading these quickly improved my understanding of the Hakyll system.

more from the friends of danso:

ETS Match Specification Pitfall: Maps

February 9

During my work, I had a problem where I needed to efficiently write tree-shaped data. I also needed the ability to query ranges of the data. I reached for ETS tables, using the ordered_set table setting, and relied on match specifications to read ranges from the…

via Richard Kallos

Dan Savage on the Recent Inauguration

January 30

I've been reading and listening to Dan Savage for decades. He's a sex & advice columnist that started out in the back pages of a Seattle Weekly but who's grown in reach and popularity dramatically over the years. He spearheaded oppositio…

via Searching For Tao

Development of rustc_codegen_gcc #2

January 30

A couple months ago, I wrote an article that described the challenges we had to do the previous sync from the Rust repo to rustc_codegen_gcc. (if you don’t know what a sync is, please read that blog article). We also had many...

via Antoyo's Blog

generated by openring