Philipps Blog

2009/03/31

for all mac ruby devloper outs…

Filed under: Uncategorized — philipp @ 3:05 pm

for all mac ruby devloper outside: http://www.macruby.org any opinions about it so far?

2009/03/30

Wuala and Nexenta…

Filed under: NAS,Tools,nexenta — philipp @ 12:12 am

… just works!

Just download wuala from their homepage.
I just copied the contents of the archive to my NAS, started with ./wualacmd and… thats it.

Imagine: a NAS System with perfekt online mirroring … like a charme ;-) .

BTW:
I just changed some folders within the original Nexenta system.
Because i am using a 4GB Flash Drive as my boot drive, but a 2TB Pool as my file Storage, i made some hard-links:

/home/ -> /tank/home
/opt/ -> /tank/opt

where /tank is the mount point of my zfs-pool.

2009/03/29

Preparation for counter update

Filed under: PHP,Snippets,Tech,Tools — philipp @ 1:39 am

So after a long time i plan to give my counter-engine (^^) an update.
The main Problem is, that the counter itself was perfect for ~2000 counts. But now with 5000 count, the presentation of the results is just not readable anymore.
So i plan the following things to do during the next days (i hope i will finish this during tomorrow):

  • using a new drawing method: instead of drawing the whole graph, i will draw just time-slices of a particular periode. So e.g. if you want to plot the current graph with this method, it would be necessary to draw 24 slices with a month periode.
  • to get read of lots of code within the counter/presentation script, i want to use the build-in date-calculation functions of mysql.
    So e.g.
    SELECT something FROM `counts` WHERE DATE_SUB(CURDATE(),INTERVAL 30 DAY) <= date_col;
    Should be perfect :-) .
  • To use this functions, i have to use the build-in datetime Datatype. At the moment i am storring all counts with a unix timestamp. To make the move, i have to do three steps:
    1. creating a new field: ALTER TABLE `counts` ADD `created` DATETIME NOT NULL;
    2. migrate the old dates: UPDATE `counts` SET created = from_unixtime(unixtime);
    3. finally i had to change to insert statement within the counter script:
      “INSERT INTO `counts` ( … user_string, created) VALUES … ‘”.$user_string.”‘, NOW()) “;

More next time…

http://askaninja.com/piratebay…

Filed under: Uncategorized — philipp @ 12:26 am

http://askaninja.com/piratebay great show.

2009/03/28

Nexenta CP 2 RC1 & Java 6

Filed under: NAS,Snippets,nexenta — philipp @ 1:26 am

root@sunny:/tank/home# apt-get install sun-java6-jre

root@sunny:/tank/home# java -version
dl failure on line 685Error: failed /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386/client/libjvm.so, because ld.so.1: java: fatal: libCrun.so.1: open failed: No such file or directory

root@sunny:/tank/home# apt-get install sunwlibc

root@sunny:/tank/home# java -version
java version “1.6.0_10″
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode)

2009/03/27

Good signature, but could not determine key fingerprint?!

Filed under: NAS,Snippets,nexenta — philipp @ 11:10 pm

root@sunny:/tank/home# apt-get update
Get:1 http://apt.nexenta.org hardy-unstable Release.gpg [185B]
Hit http://apt.nexenta.org hardy-unstable Release
Ign http://apt.nexenta.org hardy-unstable Release
Hit http://apt.nexenta.org hardy-unstable/main Packages
Hit http://apt.nexenta.org hardy-unstable/contrib Packages
Hit http://apt.nexenta.org hardy-unstable/non-free Packages
Hit http://apt.nexenta.org hardy-unstable/main Sources
Hit http://apt.nexenta.org hardy-unstable/contrib Sources
Hit http://apt.nexenta.org hardy-unstable/non-free Sources
Fetched 185B in 1s (151B/s)
Reading package lists… Done
W: GPG error: http://apt.nexenta.org hardy-unstable Release: Internal error: Good signature, but could not determine key fingerprint?!
W: You may want to run apt-get update to correct these problems

root@sunny:/tank/home# apt-get install gnupg add-apt-key
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
gpgv makedev
Suggested packages:
gnupg-doc xloadimage
The following NEW packages will be installed:
gpgv makedev
The following packages will be upgraded:
gnupg add-apt-key
1 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 1957kB of archives.
After this operation, 5050kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
gpgv makedev gnupg
Install these packages without verification [y/N]? y

root@sunny:/tank/home# apt-get update
Hit http://apt.nexenta.org hardy-unstable Release.gpg
Hit http://apt.nexenta.org hardy-unstable Release
Hit http://apt.nexenta.org hardy-unstable/main Packages
Hit http://apt.nexenta.org hardy-unstable/contrib Packages
Hit http://apt.nexenta.org hardy-unstable/non-free Packages
Hit http://apt.nexenta.org hardy-unstable/main Sources
Hit http://apt.nexenta.org hardy-unstable/contrib Sources
Hit http://apt.nexenta.org hardy-unstable/non-free Sources
Reading package lists… Done

XING Group about a Solaris based Home-NAS

Filed under: NAS,nexenta — philipp @ 9:12 pm

I just created a Usergroup for experience exchange using Solaris as a Home-NAS System.
We have currently only a few users, but maybe the number will grow by time.

You can find the group here: https://www.xing.com/net/zfs-nas

2009/03/25

“When you innovate, you’ve got…

Filed under: Uncategorized — philipp @ 4:29 pm

“When you innovate, you’ve got to be prepared for everyone telling you you’re nuts.”

Larry Ellison via http://tinyurl.com/dzerzs

Just added myself to the http:…

Filed under: Uncategorized — philipp @ 4:18 pm

Just added myself to the http://wefollow.com twitter directory under: #java #rpg #innovation

next meeting of Düsseldorf on…

Filed under: Uncategorized — philipp @ 4:14 pm

next meeting of Düsseldorf on Rails ist 31th March 2009 http://tinyurl.com/b4h3dc #rails #group #dusseldorf

Older Posts »

Powered by WordPress