Newsbeuter 0.2 released

Posted by Doomshammer on Saturday, February 24. 2007 at 14:07 in Anwendungen, Computer, English only, Linux/Unix
Everyone of you already knows what newsbeuter is. AK just released version 0.2. Find more informations in his blog entry about it.

[Update] Web 'n' Walk

Posted by Doomshammer on Friday, February 23. 2007 at 09:47 in Computer, English only, Privat

T-Mobile (my cellphone provider) sent me a "Web 'n' Walk" GPRS/UMTS card for wireless surfing. I just installed the card and I've to admit, that it's pretty neat. I am currently writing this article while being connected via UMTS. The speed is a-ok (like 60kb/sec) and it's very nice to have if you are "on the road".

I'll give it another try in some hours, when I'm on the train to my hometown. I'm courious how this will work on the train :-)

Update: I am sitting it the train now (which has a delay of 40 min.) and am updating this entry. It's not the fastest in a running train, but connectivity is there and I am at least able to answer some mails and stuff. All in all this is a pretty nice to have.

Memcached

Posted by Doomshammer on Tuesday, February 6. 2007 at 00:27 in Anwendungen, Computer, English only, Flickr, Thoughts, Web

I just played around with memcached and it's Perl module Cache::Memcached. Pretty cool stuff. I think this can be very useful for my ordr interface. As all photo informations are stored in a PostgreSQL database, it will be very "expensive" when reading one and the same entries from the DB with every page load. Memcached will hopefully help, to relax the database and also to speed up the page (though I don't think that it'll be slow at all ;-) ).

Dtrace

Posted by Doomshammer on Saturday, February 3. 2007 at 01:36 in Anwendungen, Computer, English only, Privat, Thoughts
I've done my first steps in SUN's Dtrace today and I have to admit that it is a very mighty tool. It took me less than 7 lines to create a "strace/truss" like example script (taken from the very good documentation). Very interessting stuff. When I've got some spare time, I think I'll have a closer look at the D-language and will lear working with Dtrace (I didn't get further than page 40 or so ;-) )

ZFS and "Poor Man's Thumper"

Posted by Doomshammer on Friday, February 2. 2007 at 21:15 in Computer, English only, Fun, Linux/Unix
Whatever these guys smoked... I want the same! ;-)




(via EDV)

ordr 2.0 backend is working

Posted by Doomshammer on Saturday, January 27. 2007 at 22:09 in Anwendungen, Computer, English only, Flickr, Photography, Privat, Web

As some of already know, I am currently rewritting my ordr interface. I want it to be more effective and high-performance as well as it shall get a nicer and more userfriendly interface. To make it short- I wanna make it a bit "Web 2.0"- that's why the new release will be "ordr 2.0" ("beta" of course ;-) ).

*ouch*

Posted by Doomshammer on Tuesday, January 23. 2007 at 00:44 in Computer, English only, Sonstiges, Web

Looks like google.de has been taken over:
(Ok, the nameserver entries have already been corrected - owner/admin-c is still the same)

QUOTE:
# ping www.google.de
PING web1.goneo.de (82.100.220.170) from xxx.xxx.xxx.xxx : 56(84) bytes of data.
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=1 ttl=60 time=1.35 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=2 ttl=60 time=1.46 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=3 ttl=60 time=1.39 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=4 ttl=60 time=1.33 ms

Fibonacci in PL/PgSQL

Posted by Doomshammer on Saturday, January 20. 2007 at 15:59 in Anwendungen, English only, Fun, Privat, Thoughts
As if a Perl/Java/Lisp/C/Whitespace version of the fibonacci sequence isn't enough, here is my attempt in PL/PgSQL ;-)

QUOTE:
CREATE OR REPLACE FUNCTION fi(n integer) RETURNS integer AS 'BEGIN IF n < 2 THEN RETURN n; END IF; RETURN fi(n - 1) + fi(n - 2); END;' LANGUAGE 'plpgsql'; CREATE OR REPLACE FUNCTION f(x integer) RETURNS text AS 'DECLARE o TEXT = ''''; BEGIN FOR i IN 0..x LOOP o = o || ''f('' || i || ''): '' || fi(i) || ''\n''; END LOOP; RETURN o; END;' LANGUAGE 'plpgsql';


Results in:
QUOTE:
# SELECT f(10) AS "Fibonacci";
 Fibonacci
-----------
 f(0): 0
 f(1): 1
 f(2): 1
 f(3): 2
 f(4): 3
 f(5): 5
 f(6): 8
 f(7): 13
 f(8): 21
 f(9): 34
 f(10): 55


[Update] Illegible fibonacci sequence

Posted by Doomshammer on Saturday, January 20. 2007 at 12:46 in Anwendungen, English only, Privat, Thoughts

Today I though I'd build a quick fibonacci sequence script. And as I like to build ugly code, here is my try to make it a bit illegible:

QUOTE:
perl -le'for(0..42){f($_,\@f);print"f($_): $f[-1]";}sub f{($n,$f)=@_;if($n==1or$n==0){$$f[$n]=$n}$$f[$n]=$$f[$n-2]+$$f[$n-1];}'


The result looks like this:
QUOTE:
f(0): 0
f(1): 1
f(2): 1
f(3): 2
f(4): 3
f(5): 5
f(6): 8
f(7): 13
f(8): 21
f(9): 34
f(10): 55
[...]


Now I wanna see your illegible version of a fibonacci sequence script/programm. Language it's written in doesn't matter :-) Send it as email or as comment to this entry.
(@strcat: looking forward to see yours ;-) )

Newsbeuter 0.1 released!

Posted by Doomshammer on Tuesday, January 16. 2007 at 21:42 in Anwendungen, Computer, English only, Linux/Unix

Today, AK released the first official version of his console feed reader "newsbeuter" (formerly known as noos). Find the official announcement here.

[Update] Perl poetry

Posted by Doomshammer on Friday, January 12. 2007 at 23:09 in Anwendungen, Computer, English only, Fun

Paul (aka rantaplan) has written a christmas poem in perl. I love it! :-)

Update: He just sent me two other poems. math.pl and php.pl (ridiculous)

Show us your desktop

Posted by Doomshammer on Tuesday, January 9. 2007 at 20:12 in Computer, English only, Privat, Sonstiges

I got a stick! ...again ;-) Well, as Fabian threw it, I'll catch it. My desk is a big mess, but I can work best in this mess. ;-) So here is my desk.


My Desk
(To get some info 'bout all that stuff, click on the photo and have a look at the flickr notes)

Btw. I throw the stick further to echox and foxl (sorry guys, now you've been forced to clean up your desk as well :-P ). Of course everyone is invited to show his/her desk as well (please add a trackback :-) )

I love ZFS :)

Posted by Doomshammer on Tuesday, January 9. 2007 at 19:31 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts
Today I got two new hard discs for my local file server (thanks to my mate Tommy for the discs :-) ). So I quickly mounted them into the case of my server and booted the box.

As expected the discs were dected as well by the BIOS as by SunOS. So all I had to do, was adding them to my current ZFS data pool- which was done in less than two minutes.

Verify the OS detected the discs:
QUOTE:
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT cyl 15014 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c1d1 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@1,0
2. c2d0 <DEFAULT cyl 15014 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@1/cmdk@0,0
3. c2d1 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@1/cmdk@1,0

There we are... c1d1 and c2d1 are the new discs (currently w/o label, that's why the drive type is unknow)

Check the pool status:
QUOTE:
# zpool status
pool: data
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s5 ONLINE 0 0 0
c2d0s5 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s4 ONLINE 0 0 0
c2d0s4 ONLINE 0 0 0

errors: No known data errors

# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
data 76.8G 26.3G 50.5G 34% ONLINE -

Everything's fine- as expected :-)

Add the new discs to the data pool:
QUOTE:
# zpool add data mirror c1d1 c2d1


Done! Now have a quick look, if everything has been added and that's it!
QUOTE:
# zpool status
pool: data
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s5 ONLINE 0 0 0
c2d0s5 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s4 ONLINE 0 0 0
c2d0s4 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d1 ONLINE 0 0 0
c2d1 ONLINE 0 0 0

errors: No known data errors

# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
data 153G 26.3G 126G 17% ONLINE -


Great! Isn't it?!

Corporate Admin Platoon

Posted by Doomshammer on Thursday, January 4. 2007 at 18:22 in Fun

An Corporate IT-Admin get's attacked like in "platoon".
(read on...)

Now playing: William Orbit - Barber's Adagio For Strings

ZFS vs. VxFS

Posted by Doomshammer on Thursday, January 4. 2007 at 17:59 in Anwendungen, Computer, English only, Linux/Unix

In his blog, Joerg Moellenkamp points to an interessting Benchmark. ZFS vs. Veritas' VxFS. Have a look at it- it's worth reading.

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL