dev

Publii

I was quite happy to find the graphical tool publii for building statical sites.

Many people still use Wordpress and the like to publish their blog. I don’t like Wordpress as it requires to run PHP on the server meaning it offers a quite large attack surface.

I prefer the static site approach. This also allows to radically cut down on JavaScript and other external resources and gives me the peace of mind that I don’t need to worry about updating a Wordpress installation.

However the tool of my choice, Hugo is a bit technical. Now with publii there is something that I might suggest command line muggles.

Layout changes

I played around removing all the JavaScript dependencies of the hugo-academic template. I feel bootstrap and jQuery have little reason to be on such a simple site. By now I think I deviated from the original theme to no longer need it in the powered by section. Anyway should you note something amiss - let me know.

Advent of Code

There is an advent calendar for grown ups this year. advent of code gives every day a nice challenge. This year I try to remember what I learnt of Haskell. The leader board is a bit annoying as it is completely filled with people that manage to solve the problems in seconds (the problems are released at midnight EST). Still they are worth checking out.

Makey Makey

I am quite confident using make to create complex reports. As I dig into R I see they have an interesting work flow creating packages. It addresses a few important issues - tracking dependent packages, documenting stuff and testing. Most important packaging and installing on other systems can be done automatically using a single command. I want that. I found Makefiles mentioned several times included in the documentation - but so far haven’t figured out how they are supposed to be used.

Package rawTof

I have just released a simple package to read PTR-TOF h5 files. This used to be part of a larger project on developing a pipeline for working with PTR-TOF files, but stripped from all experimental functions. The other package should become a paper, so hold on for that. The package can be found at bdcaf/rawTof.

Publishing work flow template

After some time my cookiecutter templates for my data analysis work flow is finally in a state that I can show the world. You can get it from github. All in all it is my way to setup a reproducible research work flow - for too long I have just copied files around. It is all about using external tools in addition to R. The most essential being make. I am very proud about the makefile that keeps code and data directories clean.

Category Theory Course

Bartosz Milewski has put his category theory course on youtube. An amazing introduction for newcomers. But wrapping my head around monads and comonads still feels like I haven’t fully groked the magic.

Bye bye StackOverflow

Ich war früher großer Fan von StackOverflow. Auch jetzt wann immer ich ein einfaches Programmierproblem habe taucht die Seite mit möglichen Lösungen auf.

In letzter Zeit hat sich leider die Policy geändert so, dass ich es nicht mehr interessant finde. Vor allem die strengen Relevanzkriterien machen eigentlich alle Fragestellungen die mich ursprünglich interessiert haben Offtopic. Und lassen meiner Meinung nach nur noch Fragen zu die sich mit dem Manual problemlos lösen liesen.