• How I started with Emacs

    Nov 3, 2016 :: 09:58

    Sacha Chua has a nice Emacs chat intro article back from 2013. I write this post half because she asks there about my (OK, anyone’s) first Emacs moments, and half because I plan to do it for months now.

  • git-merge stages

    Gergely Polonkai
    Oct 4, 2016 :: 12:46

    This was a mail to my company’s internal Git mailing list, after I realised many colleagues can’t wrap their heads around merge conflicts.

  • Vala interface madness

    Gergely Polonkai
    Feb 26, 2016 :: 13:07

    Although I have just started making it in C, I decided to move my Matrix GLib SDK to Vala. First to learn a new language, and second because it is much easier to write GObject based stuff with it.

  • Emacs: Implement a GObject’s virtual function

    Gergely Polonkai
    Jan 13, 2016 :: 13:31

    I have recently started creating a GLib implementation of the Matrix.org API. For that, I have created a GObject interface, MatrixAPI, which has as many virtual functions as API calls (which is a lot, and expanding). This way I ended up with the following scenario.

  • How my e-mail gets to that other guy?

    Gergely Polonkai
    Aug 27, 2015 :: 21:47

    A friend of mine asked me how it is possible that she pushes buttons on her keyboard and mouse, and in an instant her peer reads the text she had in her mind. This is a step-by-step introduction of what happens in-between.

  • F/OSS Fail meter

    Gergely Polonkai
    Aug 19, 2015 :: 10:12

    I have recently bumped into this article. Naturally, I quickly calculated the FAIL metrics for all my projects (most of them are pretty high). To ease calculation, I made up a small page based on this list (although I have divided the points by 5; I really don’t understand why spot is using such big points if all of them can be divided by 5). Feel free to use it, and if you have any recommendations (point additions/removal, new categories, etc.), leave me a comment!

  • @ParamConverter à la Django

    Gergely Polonkai
    Jun 7, 2015 :: 18:14

    One thing I really miss from Django is Symfony’s @ParamConverter. It made my life so much easier while developing with Symfony. In Django, of course, there is get_object_or_404, but, for example, in one of my projects I had a view that had to resolve 6(!) objects from the URL, and writing get_object_or_404 six times is not what a programmer likes to do (yes, this view had a refactor later on). A quick Google search gave me one usable result (in French), but it was very generalized that I cannot always use. Also, it was using a middleware, which may introduce performance issues sometimes[citation needed]. So I decided to go with decorators, and at the end, I came up with this:

  • Good bye, Digital Ocean! Hello again, GitHub!

    Gergely Polonkai
    Apr 25, 2015 :: 21:18

    Few years ago I have signed up for a Digital Ocean account. I used one single droplet for my private needs, like hosting my private Git repositories and my blog. However, as I didn’t host anything else there except my blog, I decided to shut it down. From now on, my blog is on GitHub Pages, as it provides just everything I need (except automatically converting my resume to PDF. But I can live without that.)