gregoa's blog
random musings about computers, life, and everything

entries from July 2007

2007-07-26 19:58:24 +0200
factorials
inspired by albert's experiments I took his script, changed it a bit [0], & calculated the factorial of 30.000 on my two boxen. results:
  • belanna: 46 seconds
  • nerys: 56 seconds
update 1: good old guinan needs 5 minutes & 3 seconds; still faster than chrisu's desktop machine :-)
& on our colleen the script takes 1 minute & 22 seconds to complete. update 2: the new guinan takes 1 minute & 48 seconds. wow. [0]
#!/bin/sh
[ "$#" != "1" ] && echo "Usage: $0 integer" && exit 1
STARTDATE=$(date)
echo "
define fac (x)
{
        res = 1
        while (x > 1)
        {
                res *=x;
                x -= 1;
        }
        return res;
}
fac ($1)
" | bc
ENDDATE=$(date)
echo "start: $STARTDATE"
echo "end: $ENDDATE"
exit 0
permalink | tags: computer
2007-07-26 17:59:17 +0200
forcing xserver-xorg-video-intel
if you have an intel graphic card & you are using the new intel X.org driver [0] instead of the old i810 one you might — like me — get the following errors in your /var/log/Xorg.0.log & only some strange resolutions:
(EE) intel(0): detecting sil164
(EE) intel(0): Unable to read from DVOI2C_E Slave 112.
(EE) intel(0): Unable to read from DVOI2C_E Slave 236.
(EE) intel(0): ivch: Unable to read register 0x00 from DVOI2C_B:04.
(EE) intel(0): Unable to read from DVOI2C_E Slave 112.
(EE) intel(0): tfp410 not detected got VID FFFFFFFF: from DVOI2C_E Slave 112.
(EE) AIGLX: Screen 0 is not DRI capable
the information in #434028 lead me to the following entries in my /etc/X11/xorg.conf:
Section "Monitor"
        ...
        # gtf 1280 1024 75
        # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
        Modeline "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028
        Option          "PreferredMode" "1280x1024_75.00"
EndSection
& now my monitor is running on 1280x1024 again. you might want to auto-adjust your monitor afterwards with the test image from nies.ch. [0]
xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx display driver
permalink | tags: computer
2007-07-20 17:11:16 +0200
moving
no, it's not me who is moving but my mother. she got the keys for her new apartment in innsbruck exactly 4 weeks ago. today (finally!) she received the notice from the local court that the property transfer of her house in telfs to the new owner has been finished, & simultaneously his money arrived on her bank account. so I drove her & her last few belongings to innsbruck in the afternoon, & the chapter "telfs" is (almost, some bureaucracy is still missing) over.
permalink | tags: personal

created by Chronicle v4.6

gregoa with debian swirl


tags
archives

weather

Temperature in Innsbruck

debian perl group

Logo Debian Perl Group © 2009, ghostbar, CC BY-NC-SA 2.0

copyright & license

Creative Commons License
All material on this blog — unless stated otherwise — is © gregor herrmann, and is licensed under the Creative Commons Attribution-Share Alike 3.0 Austria License.