django-planet

Blog: Anže’s Blog

web https://blog.pecar.me/
Author Anže

The Chrome Javascript editor can do hot swapping

Feb. 10, 2013 » Anže’s Blog » [Archived Version]

Hot swapping is the process of replacing code while the application is running. It allows a developer to see changes immediately - no recompiling, no waiting on page reloads, and no clicking to get to the application state where the code was changed. Just save the file and you’ll see the changes.

Read More

Useful GNU/Linux tools

Jan. 20, 2013 » Anže’s Blog » [Archived Version]

GNU/Linux is awesome because it gives you a whole lot of simple but useful tools that you can play with. Utilities like dd, sed, grep, rm, find, ssh and many others all have a small sea of parameters that make them do exactly what you want.

Read More

Game Jams: The most fun you can have while programming

Jan. 9, 2013 » Anže’s Blog » [Archived Version]

Programming is a lot of fun. It’s an awesome feeling when your code compiles without errors, the app passes all the tests, and runs without any (noticeable) bugs. It’s an awesome feeling even if you are working on a boring enterprise app. You made the primitive machine under your keyboard do something. If that isn’t amazing I don’t know what is.

Read More

Worst python code I’ve ever written

Dec. 17, 2012 » Anže’s Blog » [Archived Version]

I was doing my homework for the bioinformatics class when I started experimenting with scope in Python. The first thing I noticed was that Python list comprehensions don’t create a closure. This means that variables defined in the list comprehension bleed out into the current scope:

Read More

Game Development in Webgl

Dec. 12, 2012 » Anže’s Blog » [Archived Version]

I’ve started working on a simple game for the Github Game Off competition and I’d like to share my thoughts and findings on creating games with javascript and Webgl. I will not go into Webgl details, as there is a great number of tutorials that do just that, instead I’ll talk about some of the concepts that I used to make my game. You give the game a spin before you start reading, as I’ll be talking about how I implemented a few features and it will be easier for you to follow.

Read More

My Github Game Off Submission

Nov. 18, 2012 » Anže’s Blog » [Archived Version]

I’ve started working on a simple webgl game, and after just 4 days of development it’s already sort of playable. You can go ahead and try it out right now.

Read More

Nginx and VirtualBox shared folders

Nov. 7, 2012 » Anže’s Blog » [Archived Version]

I found something really peculiar. If you are trying to serve static files with Nginx from a Virtualbox Shared folder, you are going to have a bad time. I agree, you shouldn’t be doing this in the first place, but this issue is so weird I really had to write a blog post about it.

Read More

Why don’t we have code hot swapping on mobile?

Nov. 3, 2012 » Anže’s Blog » [Archived Version]

Code hot swapping is one of the most useful features a language can offer. It allows the developer to see changes as soon as he saves the source code. No restarting needed, your changes just pop up on the screen and your application state is preserved. Hot swapping magically updates method runtimes and gives you immediate feedback. This is invaluable and double so for developing graphical applications such as games. You don’t believe me, checkout this talk.

Read More

Best Github shortcut ever

Oct. 29, 2012 » Anže’s Blog » [Archived Version]

Today I watched this awesome talk and it blew my mind. I never knew how many secret features github actually has. The talk is rather long, so let me just highlight the best shortcuts mentioned.

Read More

I tried moving to Debian

Oct. 19, 2012 » Anže’s Blog » [Archived Version]

Yesterday I decided it was time to say goodbye to Ubuntu 12.04 and move to Debian Wheezy. This wasn’t due to the controversial changes Ubuntu made this release cycle, I don’t mind uninstalling a lens I find annoying. I couldn’t upgrade to 12.10 because the legacy fglrx drivers no longer work with kernel 3.5. I still wanted to try out something new though, hence Wheezy.

Read More