Gergely Polonkai
developer, systems engineer and administrator

Blog posts

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

    Gergely Polonkai
    Aug 27, 2015 :: 23: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 :: 12: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 :: 20: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 :: 23: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.)

  • Using Git bisect to find the first good commit

    Gergely Polonkai
    Feb 26, 2015 :: 11:42

    Few months ago we “implemented” a bug in our software, which was released to the customers. We continued development for two weeks when the first customer ticket arrived about the bug. We successfully reproduced it with the customer’s version, but not with the development sources; it turned out that one of the developers unconsciously fixed the bug. The devs spent some hours finding where the fix lied before coming to me like “There is git-bisect which we can use to find the commit where we messed up things. Is there a way to find where we fixed it?”

Gergely Polonkai is a systems engineer of a telco company, and also a freelancer developer.

He is learning about different IT subjects since the late 1990s. These include web development, application building, systems engineering, IT security and many others. He also dug his nose deeply into free software, dealing with different types of Linux and its applications, while also writing and contributing to some open source projects.

On this site he is writing posts about different stuff he faces during work (oh my, yet another IT solutions blog), hoping they can help others with their job, or just to get along with their brand new netbook that shipped with Linux.