Hi, welcome to my blog! I’ve been meaning to make myself a website for a while now, and have finally reached the point where I’m ready to unleash it on the unsuspecting internet. There’s no set theme for my writing here. I’ll write about my work, certainly, but also about my life and anything else that interests me.

I’m using a program called Pelican to create the site. It creates static HTML pages from markdown documents; I just write a new post, re-generate the site, and then upload the new version to the server—-no databases or web frameworks required. Pelican also has a number of plugins and themes that offer additional functionality. I’m using a slightly-modified pelican-bootstrap theme here.

In my work I do a lot of programming in Python and Julia, often using Jupyter, which is a web-based interface for scientific programming that allow you to write code, see the output, and write text and equations alongside it. One of the reasons for choosing Pelican is that it’s easy to embed notebooks into posts. For example, I can show a bit of Julia code and a graph from a notebook:

In [4]:
using Distributions
using Gadfly

n = Normal()
plot(x=rand(n, 5000), Geom.histogram)
Out[4]:
x -20 -15 -10 -5 0 5 10 15 20 -15.0 -14.5 -14.0 -13.5 -13.0 -12.5 -12.0 -11.5 -11.0 -10.5 -10.0 -9.5 -9.0 -8.5 -8.0 -7.5 -7.0 -6.5 -6.0 -5.5 -5.0 -4.5 -4.0 -3.5 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 8.5 9.0 9.5 10.0 10.5 11.0 11.5 12.0 12.5 13.0 13.5 14.0 14.5 15.0 -20 -10 0 10 20 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -250 -200 -150 -100 -50 0 50 100 150 200 250 300 350 400 450 -200 -190 -180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 -200 0 200 400 -200 -180 -160 -140 -120 -100 -80 -60 -40 -20 0 20 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360 380 400

The site is quite basic at the moment, but I’ll be adding to it and improving things as I go. And, of course, I’ll be writing more for the blog.



Comments

comments powered by Disqus