Funny picture

Av , 15 september 2010 16:34

A friend of mine posted this hilarious picture in our IRC.

Erlang port to Android/iOS

Av , 14 september 2010 1:11

I have now received a HTC Desire and an iPad and am hoping to get my ports to work. I have an Android version of Erlang ready, but have not tested it yet. The Erlang iOS-port have not been started yet, but hopefully it wont take long until you can run your favourite Erlang-programs on an iPhone.

Howto: Compile android under Ubuntu 10.04

Av , 16 maj 2010 21:27

After a couple of hours and a large effort I finally got Android to compile under Ubuntu 10.04. I thought a howto would come in handy for people in the same situation.

First you have to install Java SDK 1.5. You can find it on:
http://java.sun.com/javase/downloads/index_jdk5.jsp

Then get the android source code. It can be found here:
http://source.android.com/download#TOC-Installing-Repo


After you have unpacked it you need to set your path:

$ export PATH=/path/to/jdk1.5/bin/:`echo $PATH`

Then you need to get some packets:

$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev lib32readline5-dev

Then you need to link libstdc++ and libz:

$ sudo ln -s /usr/lib32/libstdc++.so.6 /usr/lib32/libstdc++.so
$ sudo ln -s libz.so.1 libz.so

And export the ANDROID_JAVA_HOME-variable to the root of the JDK 1.5.

$ export ANDROID_JAVA_HOME=/path_to_your_jdk1.5_root/

And hopefully that’s it. Try and run ”make” in your android catalog.

Update

The easiest was to compile Android is to run Ubuntu 9.04 inside a virtual machine and compile it from there. Ubuntu 10.x is running eglibc which, when compiling android, causes a lot of errors due to fprintf.

Alphakluster

Av , 13 november 2009 17:04

Nu har jag och Pontus hämtat grundstenarna i vad som förhoppningsvis kommer bli ett alphakluster.
Klustret kommer att bestå av ca 20 stycken Compaq XP900 samt två Compaq Proliant D380 som storagenoder. En XP900 har en EV6 processor rullande i 466Mhz.

Operativsystemet kommer vara OpenVMS eller linux. Detta beror lite på vad klustret kommer få göra.

Här följer lite bilder:

Mount a NFS share from Linux to Mac OS X – Snow Leopard

Av , 05 november 2009 17:56

If you get the error ”Operation is not permitted..” when trying to mount a Linux exported NFS mount in Mac OS X, you should check if
the secure-flag is enabled. If it’s enabled, NFS will use privileged ports (1-1024). To mount an export that uses the secure-flag, you can do the following on your OS X machine:

# sudo mkdir -p /mnt/my_nfs_share
# sudo mount -o resvport nfs_server_host:/path /mnt/my_nfs_share


Yamaha WX5

Av , 25 augusti 2009 13:13

Har suttit i några dagar nu och kollat in olika saxofoner och valet går nog till en
Yamaha WX5. Ett elektroniskt blåsinstrument med MIDI-ingång. En sådan pjäs kostar runt 4000SEK ink. frakt om man köper den från USA, så det blir nog en import.

YouTube Preview Image

Panorama Theme by Themocracy