Archive

Archive for June, 2011

Manifesto For Programming

June 24th, 2011 No comments

http://programming-motherfucker.com/

Not much more to add to this I’d say 😉 Other than that this site also features a good python programming book (for absolute beginners like in “i dont know how to create a directory”-beginners).

Categories: nerdcore Tags: ,

PathScale gibt 64-Bit Compiler Suite frei

June 15th, 2011 No comments

Die aus Compilern für C/C++ und Fortran für x86 Prozessoren, dem Debugger PathDB, sowie Bibliotheken und Dokumentationen bestehende Suite EKOPath 4, wurde unter liberale bzw. freie Lizenzen gestellt. Die Anwendungen sind für Linux, FreeBSD und Solaris erhältlich.

Read more at ProLinux and PathScale

Calendar Server

June 14th, 2011 6 comments

Some things just don’t work very well. For me this has been keeping track of all my addresses, and meetings, and events in one single place but being able to access them on all my machines (macbook, ubuntu, my crapy nokia N7mini and so on).
I’ve been struggling with this issue for years [sic] and after moving from funambol(SyncML) to google calendar (CalDAV’ish) i am now trying something new – http://trac.calendarserver.org/. That is basically the open source version of apple’s ical-server which supports the CalDAV protocol (Calendar over WebDAV) and CardDAV (addresses). This is what I had to do to get it working:

vim /etc/fstab
    # add the "user_xattr" option to root
    # / ... errors=remount-ro,user_xattr ...
sudo apt-get build-dep postgresql
sudo apt-get install python-setuptools python-xattr python-twisted subversion curl libsasl2-dev libsqlite3-dev
mkdir CalDAV
cd CalDAV
svn co http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk CalendarServer
cd CalendarServer
./run -s
./run

Fingers crossed that everything compiles as expected. Say yes to copying the test configuration if asked. The test definition can be found in ./conf/caldavd-dev.plist and the user definition in ./conf/auth/accounts-test.xml. A user named admin with the passwort admin is already included. Now you can point your iCal, Safari, Firefox or simillar to port 8443 of your system to test the server. The run script features a -d for the deamon mode and an -i for installation as a real system service that can be enabled at boot time. It might be a godd idea to start the server in a screen session and then run the ./testserver and the ./test script in another one to check if everything works as expected. In my case a few tests failed, so i will update the svn export from time to time to see if this got fixed. As I do want to run this as a service and to keep a snapshot of this working version I did a self sustained installation with

./run -b /dst/dir

I still have to create a configuration that fits my needs but regarding the features this application provides i’m in cheerful spirits 😉

Categories: management, software Tags: , , ,

WinXP Epic Fail or how a penguin made my day

June 12th, 2011 No comments

Well, all work and no fun make Jack a dull boy. That’s why at my PC at home, there’s a Windows XP installed besides my usual Linux installation. With it I do the in my opinion only thing Windows is better in than Linux, gaming. One can have other opinions, but for now that’s not the point.

In my experience a Windows system needs just a little bit of time to get slower and slower and start behaving crazy which leads to getting unusable and to a reinstallation. I had to say I was a little bit proud of this special installation, because I had no real difficulties within the last 6 month. Maybe it is because I just installed a Firewall, a Software to detect viruses and the single game I usually play … or it just waited until I was unsuspecting. But today it greets me with a nice black screen and the following white letters on it:

Windows could not start because the following file is missing or corrupt:

<Windows-root>system32\hal.dll.
Please re-install a copy of the above file.

Ok I do not exactly know what this file does (Managing Hardware access if I have to guess), but I’m sure I never touched her, seriously!

After th obligatory reboot a little bit of panic, anger and sadness followed. In the next second I started searching the web for a solution, or to get a copy of this hal.dll file. I read a bit in crappy forums and decided to find a file download with the dull feeling in my mind, that it can’t be a good idea to get a system-essential file from a source I don’t trust. In this moment a little penguin in my mind whispered “wine”… First I was confused, I more like beer but then I understand – WINE!

Excited typing began, for the hunt of hal.dll in my wine source directory. I smiled when I found it at the expected position. “Too easy to work!”, I thought… Next I mounted my NTFS partition and copied the file to where it whould be if my stupid Win*** didn’t lost it. Unmount, Reboot and crosses fingers followed. And what should I say? SUCCESS!

At the end I need to say, it is a nice job for (not) an emulator to fix the stuff it (not) emulates! 😉

Categories: DOS, fun, linux, nerdcore, software, wtf Tags: , , ,

Interesting Papers on ICCS 2011

June 9th, 2011 No comments

Here is a (surely subjective) list of interesting papers from ICCS11. We saw some of the presentations of the papers (see “*”). The list is not sorted in any way.

Categories: hpc, science Tags: , ,

ssl fun

June 8th, 2011 No comments

i”m trying to set up an openvpn and ran into SSL errors when I tried to connect. So I looked at the errors at the server:

TLS Error: TLS handshake failed

Not that helpful so i looked at the client log:

TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

But something interesting caught my eye, further down the error log there’s something like:

VERIFY ERROR: depth=1, error=certificate is not yet valid

Not YET??? valid? So I checked the cert on the server:

openssl verify -CAfile ca.crt -purpose sslclient client.crt
client.crt: OK

Now the same on the client:

openssl verify -CAfile ca.crt -purpose sslclient client.crt
error 9 at 1 depth lookup:certificate is not yet valid

That is where I relized what might have happend and looked at the date on both machines – guess what:

Server: Thu Jun  9 05:48:21 GMT 2011
Client: Wed Jun  8 18:03:04 CEST 2011

So I’ll wait till tomorrow . . . 😉

Categories: software Tags: , ,

syncing to a vfat partition

June 8th, 2011 No comments

I had to move my data from an ext3 partition to a existing vfat that already had some data on it. I soon hit the 4 GB wall and also the limitations regarding the naming conventions and allowed characters. More as a note to myself, these are the commands i used the most:

# create 4000MB blocks
split -b 4000m /old/ISO/Big/8GB.iso /new/ISO/8GB.iso.
 
# tar up the Backup folder and split the resulting tar into 4000MB blocks
tar cf - /old/Backup | split -b 4000m - /new/Backup.tar.
 
# sync recursively, keep newer files on destination 
rsync --progress --modify-window=1 --update --recursive --times /old/Music /new/

I used the split on (DL)DVD ISO’s. My Backup folder already consisted of large tar.bz2 and as i used my amd-geode router to copy the data i opted for the tar|split option as i dont intend to use this data (I would have to cat everything back together on a different disk to be able to use the backup data). Rsync helped in merging to versions of my music folder into one . . .

Categories: linux Tags: ,

ICCS Singapore

June 2nd, 2011 No comments

The Photo Documentation of ICCS Conference at Singapore is available at pinguinstall.org … have fun!

Categories: Uncategorized Tags: