Nejc Saje   

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 ...

  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. 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 ...

  4. Dependency-less REST CPU burner in Go

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

    TL;DR

    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 ...

  5. 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 ...