2009
12.18

I collected few commands into script files to automate the Blender building process on Ubuntu and Windows. There is also timers set to measure the building time. For windows Timeit.exe is needed. It comes with the Windows Server 2003 Resource Kit Tools package. Ubuntu script should work on OS X also but I haven’t tested that yet.

Ubuntu
build.sh
#! /bin/bash
cd  blender;
svn update;
echo "BF_OPENAL_LIB = 'openal alut'" >> user-config.py;
time python scons/scons.py;

Windows
build.bat

PATH=%PATH%;C:\Python26;^
C:\BlenderSVN\lib\windows;^
C:\BlenderSVN\lib\windows\QTDevWin;^
C:\BlenderSVN\lib\windows\pthreads\lib;^
C:\BlenderSVN\lib\windows\pthreads\include;^
C:\MinGW\bin;^
C:\MinGW\lib
cd lib\windows
svn update
cd ..\..\blender
svn update
timeit python scons/scons.py BF_TOOLSET=mingw

2009
12.16

Diving Into Blender

Blender 2.5 is finally approaching usable state and I thought that I could document my learning process here. I never got very far with learning Blender and after quite long break I’ve forgotten almost everything anyway.

As the project progresses rapidly setting up an automatic build system feels like a good starting point. Blender wiki seems to provide some good building info.

2008
04.23

Open system preferences -> displays -> arrangement. Just click and drag menu bar on display of your choice.

2008
03.05

There are many alternatives to choose from when we are talking about *nix server monitoring. Just tested two, ntop and munin. Both comes with a nice browser user interface. Ntop is focused on network traffic monitoring. Munin draws nice graphs and it’s really easy to setup. I choosed munin for my file server because it gives a clear overview of used system resources.

2008
02.07

Mounting a remote folder in local network with nfs is quite simple and the topic is covered in many sources before but this formula worked for me. This example is for Debian server and clients. All steps are done as root.

Setting up the server

1. Install packages for nfs server:

# apt-get install nfs-kernel-server nfs-common portmap

2. Edit exports file:

# nano /etc/exports

3. Add wanted clients:

/path/to/shared/folder client1-ip(rw,sync)
/path/to/shared/folder client2-ip(rw,sync)

Note. No space between client-ip and (permissions).

3. Load new settings and restart related services:

# exportfs -a
# /etc/init.d/portmap restart
# /etc/init.d/nfs-kernel-server restart
# /etc/init.d/nfs-common restart

Setting up a client

1. Install nfs support for a client:

# apt-get install nfs-common portmap

2. Test mounting with:

# mount server-ip:/path/to/shared/folder /path/to/local/folder

3. If that worked you can add it to fstab. Open fstab for editing:

# nano /etc/fstab

4. Add the nfs mount :

server-ip:/path/to/shader/folder /path/to/local/folder nfs rsize=8192 0 0

That’s it. Now the remote folder is automatically mounted every time the client is booted.

2008
02.04

What kind of plant is binary tree? Never seen one alive but on this t-shirt it looks pretty neat. Binary tree actually means a tree where every branch has at most two child branches.

2008
02.03

Infector Wars

Just finished a new visual theme for Vector Wars by pyMike.

2008
01.24

GetDeb

Found a nice source of fresh deb packages. Just download and install no compiling required.

2008
01.05

Kaukajärvi freezes

Winter is weird this year. Kaukajärvi freezes for a 10th time.

2007
09.15

In Ubuntu you cannot directly sudo cd folder. But in sudo bash you can.
So enter to bash mode:

$ sudo bash

Now you can sudo etc.

# cd

Leave sudo bash with exit-command:

# exit