Posts by Drakonen:
A small, but funny, fail.
No Comments
So, I have this bug where when I shoot a bullet from a turret, the cruiser starts to spin! Not the intended behaviour :) On Youtube
Making a turret in Unity 3D
As a start to Unity3D I tried to make a turret that consists of 2 parts. One base part and one barrel part. The barrel is connected via “hinges” to the base part. On this image the base(2) and the barrel(3) is shown whit their intended rotations around their axis. The base rotates on the [...]
Starting a game project with Unity 3D
Jasper and me are going (at least try) to make a game with Unity 3D. It will be a space opera kind of game. No details yet! I’ve been playing with Unity 3D for a few days now and the experience so far has been mostly positive. Starting I have never done anything with 3D [...]
Javascript parent constructor being run when defining inheritance and a solution
When using the traditional Javascript methods to do some sort of inheritance, the constructor of the parent will always be run when trying to inherit it. This seems to be a unfortunate side effect of using new a(). The problem Consider this code. Here b inherits from a function a() { console.log("a"); } function [...]
Using hgtools with mercurial tags to automatically version packages
I liked to automate my python package versioning a bit more and did this with hgtools. With hgtools it is quite easy to store the version numbers only in your repository as tags, and not having it again in setup.py. A minimal setup.py can look like this: from setuptools import setup, find_packages setup( name="HelloWorld", use_hg_version=True, [...]
Django class based views and testing them
One of the problems described well by Honza Král’s presentation on Djangocon.eu 2010, is how to test properly and make it easier. In his presentation he touches on using class based views instead of using normal functions (around 14:14 in the link video). This is not as straight forwards as it seems at first. There are [...]
Vim, python pep8 and pylint.
When you are making your Python code pep8 conformant or want to have a good pylint score and you are using vim, there are a few ways to make it easier and faster. First you need to know a bit about the vim option -q. -q takes a filename as a argument, and vim then [...]
Configuring the Buffalo AP’s as a Bridge
Configuring the Buffalo WHR-HP-54G as a bridge is quite easy, given that you can get Tomato firmware on there. The default Buffalo firmware doesn’t support bridging or, I couldn’t find it. only thing I found was WDS bridging which is not what I want. Install Tomato You need to install an alternative firmware, fortunately most [...]
Setting up Suse LTSP with DHCP on another server
At work, I have been tasked with setting up a Linux terminal server to lighten the load of our exsisting Windows server. LTSP (Linux Terminal Server Project) is quite a nice piece of software. It makes good use of PXE netbooting, but it should also work with RDP. Get Suse Download the openSUSE-Edu-KIWI-LTSP-live-unstable.i686 iso from [...]
G1, the review after usage
So, i have been using the G1 for some time now, and thought it was time for a somewhat more in depth review. I’m writing this post on my G1 with postbot. Lets start with the keyboard. The keyboard is quite comfortable, and I can almost type blind on it. I can feel where the [...]