Marton's blog

Machine learning, retrocomputing, and stuff.

Recent Posts

  • | 7 min read

    Fast numerically stable moving average

    Calculating the moving average of a time series is a pretty simple problem. Just loop over each position, and add up the elements over the window: void simple_ma(double* in, double* out, int N, int W)...

    read article
  • | 6 min read

    Writing a device driver for Unix V6

    In this post we will learn the useful skill of writing a device driver for Unix V6 (released in 1975) and run it on an emulator. The implemented device is fairly trivial: it will open a message box on...

    read article
  • | 3 min read

    Linux Server on an Android Phone

    A little while ago I wanted to set up a small home server to host some pages. I could have just used some free web hosting but where is the fun in that? So I checked what old devices I have I could...

    read article
  • | 3 min read

    Inside Windows Registry

    The Windows Registry is a central storage for settings in Windows, and also a popular target of hacks to enable/disable obscure features. But how does it work? Where does it store all the data? What...

    read article
View All Posts