HTML-page body

Document body

Blog

Articles of the blog

  • A purely functional fixed timestep loop

    There is a great article by Glenn Fiedler titled “Fix Your Timestep!” in which the author explains various approaches to writing a game loop and concludes with a loop that provides a fixed time step for simulation. If you are not familiar with this topic go read the article first …

  • Creating a mock REPL on Unix

    During the development of REPL.nvim I had to be able to test the plugin without relying on any particular REPL present on the development system. The solution was to create a mock REPL, a shell script which acts like a really dumb REPL. Here is the code:

    EOF=false …
  • Outlining of HTML pages is fundamentally broken

    If you were to run the Workshop through an HTML validator you would notice a lot of warnings about the document outline. What is going on here? HTML 5 defines an outline algorithm which allows browsers and assistive technologies to create an outline of the page. In theory a blind …

  • Introducing info.vim

    There is a new project up at the Workshop: info.vim, a Vim plugin which implements a complete reader and browser for info documents from within Vim. This is similar to the standalone info program or the Emacs info mode.

    Info documents are generally produced by the Texinfo program, which …

  • Highlighting NSImageView the right way

    Recently I have been working on a small Cocoa app and one of the things I needed to do was highlight an NSImageView when the user is hovering above it while dragging a file. You would think that it's a very simple task, and you would be right, but judging …