Nejc Saje   

cv | blog | about

All articles

  1. Best Colorscheme For The Eyes

    From time to time the coworkers who stop by my desk ask me something along the lines of "Is that a yellow background? How can your eyes stand that, isn't light text on a dark background better for the eyes?"

    That is a common misconception among programmers, myself included until …

  2. Django PostgreSQL Read-Only Connection

    A while ago I was in a situation where I had to perform some alterations on Django ORM objects and dump the modified objects to a JSON file. But I also had to make sure that the changes I performed did not get saved into the original database.

    At first …

  3. Ceilometer Central Agent horizontal scaling

    Red Hat logo

    This post is about some of the work I did on the Ceilometer's Central Agent while working at Red Hat in the summer of 2014.

    Ceilometer's Central Agent's job is polling. It polls VMs/resources/services/sensors... about their status or value.

    Single Central Agent

    But you don't want to have one Central …

  4. Diving into OpenStack development for fun and profit

    When Gregor Pipan from XLAB called me into his office one day last year and told me that he needed someone to work on OpenStack, I had never heard of that name before. But I said yes and here I am a little over a year later: two OpenStack summits …

  5. Dependency-less REST CPU burner in Go

    Disclaimer: not really REST, but writing HTTP-controlled made the title too long.


    When compiled with CGO_ENABLED=0, this code produces a static binary file that can be uploaded to a server and run. CPU burn can be started by requesting /start_cpu and stopped by requesting /stop_cpu.

    Long version …

  6. OpenStack development with Vagrant and PyCharm

    Up until now, my OpenStack development setup looked like this:

    • devstack running in a VM,
    • developing using tmux & vim over SSH.

    Since I was hearing good things about PyCharm, I decided to give it a try. The idea of the setup is as follows:

    • devstack running in a VM,
    • developing …