Re: clug domains - renewal time again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig Falconer wrote: Craig Falconer wrote, On 27/07/09 15:26: Nick Rout wrote, On 27/07/09 15:22: At this stage I wish to acknowledge again the input of Jim Cheetham, who has looked after our server, the person who paid for renewal last year (IIRC they wanted to remain nameless) and Craig F for horse. horse has been down for over a week now, and noone has noticed or commented. Horse has had more activity since I posted this a month ago. However I've had a small hardware failure and had to juggle some motherboards about, so horse and the host server are down till next month. (on the good side, it will be a VT capable CPU next time) Never heard of horse before Just wondering what is horse used for? - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVLNsACgkQGplaCYOFvyvffwCeL0h/Qr3P6LZ7tFpZ/MOzE4hZ ZygAnj21MUm0B5UfiS+KR7W9F3vmkQRr =yB70 -END PGP SIGNATURE-
Neat, Crazy, Cool, scripts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I was reading over the old archive of xkcd's blag, and found this: http://blag.xkcd.com/2009/04/27/a-problem/ (read the comments lots of bash tips) just wondering if anyone know's any neat tricks and what not for linux I wrote this one the other day: WARNING THIS NEEDS ROOT AND ASKS FOR IT (VIA SUDO), IT MAY NOT DESTROY YOUR COMPUTER I'M WARNING YOU AND I HEAR BY CLAM NO RESPONSIBILITY FOR DAMAGE CAUSED it will also erase any file called speed test.txt in the current running directory code FILE=speed tests.txt; cp /dev/null $FILE; for i in `echo /dev/sd? | sed s:/dev/::g` ; do LINE=Disk:/dev/$i ; LINE=$LINE `sudo hdparm -t /dev/$i | grep Timing | awk ' {... print $11 $12 } ' `; LINE=$LINE `sudo fdisk -l /dev/$i | grep Disk /dev/$i | awk '{ print $3 $4 }' | sed s/,//g `; echo $LINE $FILE ; done /code - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVjlkACgkQGplaCYOFvyuFigCeJil8PJMYL3g8u33z/LFDF85k 4XwAni/fb8LNg5TAtEr7RlgpJiSCEmRv =VOiP -END PGP SIGNATURE-
Re: clug domains - renewal time again
Daniel Hill wrote, On 27/08/09 00:39: horse has been down for over a week now, and noone has noticed or commented. Horse has had more activity since I posted this a month ago. However I've had a small hardware failure and had to juggle some motherboards about, so horse and the host server are down till next month. (on the good side, it will be a VT capable CPU next time) Never heard of horse before Just wondering what is horse used for? Its a shell server - nothing flash. Most users here have linux boxes of their own, but sometimes a host outside the network can be helpful for testing, or some users like James just don't have a linux box. More news in the new month. -- Craig Falconer
Re: Neat, Crazy, Cool, scripts
On Thu, 2009-08-27 at 07:34 +1200, Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I was reading over the old archive of xkcd's blag, and found this: http://blag.xkcd.com/2009/04/27/a-problem/ (read the comments lots of bash tips) just wondering if anyone know's any neat tricks and what not for linux I wrote this one the other day: WARNING THIS NEEDS ROOT AND ASKS FOR IT (VIA SUDO), IT MAY NOT DESTROY YOUR COMPUTER I'M WARNING YOU AND I HEAR BY CLAM NO RESPONSIBILITY FOR DAMAGE CAUSED it will also erase any file called speed test.txt in the current running directory code FILE=speed tests.txt; cp /dev/null $FILE; for i in `echo /dev/sd? | sed s:/dev/::g` ; do LINE=Disk:/dev/$i ; LINE=$LINE `sudo hdparm -t /dev/$i | grep Timing | awk ' {... print $11 $12 } ' `; LINE=$LINE `sudo fdisk -l /dev/$i | grep Disk /dev/$i | awk '{ print $3 $4 }' | sed s/,//g `; echo $LINE $FILE ; done /code This is just weird in a coupla ways... 1. Why use sed to remove the /dev/ of the device name, then manually put it back every time you use it? 2. Why append output to $FILE line by line when you can just redirect the output of the for loop in one go? Steve - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVjlkACgkQGplaCYOFvyuFigCeJil8PJMYL3g8u33z/LFDF85k 4XwAni/fb8LNg5TAtEr7RlgpJiSCEmRv =VOiP -END PGP SIGNATURE-
Re: Neat, Crazy, Cool, scripts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is just weird in a coupla ways... 1. Why use sed to remove the /dev/ of the device name, then manually put it back every time you use it? I think at one point before the final version I wanted to use it with out /dev/ oh well I learnt how to use sed with / with out using this sed 's/\/dev\///g' 2. Why append output to $FILE line by line when you can just redirect the output of the for loop in one go? I actually don't know, and I'm not sure how the ... got in to the awk comand either #!/bin/bash for i in /dev/sd? ; do echo Disk:$i ; sudo hdparm -t $i | grep Timing | awk ' { print $11 $12 } '; sudo fdisk -l $i | grep Disk $i | awk '{ print $3 $4 }' | sed s/,//g; done speed test.txt yeah that is a lot simpler at one point I was going to write it in python, but realised how annoying it is to use the subprocess module to launch the commands -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVoYoACgkQGplaCYOFvyuG5QCfRp6wtLzjv0sxxdt3GJ9nlGqX bhIAmgN99Hz1GB7rD9Ybo5iFbXHoQhw+ =TOz8 -END PGP SIGNATURE-
Re: clug domains - renewal time again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Its a shell server - nothing flash. Most users here have linux boxes of their own, but sometimes a host outside the network can be helpful for testing, or some users like James just don't have a linux box. More news in the new month. that would be useful I have many times wanted to test my port forwarding -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVojYACgkQGplaCYOFvyu9NgCfd32bc0PY7CJTt30Qq/N33IZD yaYAoJT/3Hhx0kmbYz/Owzcl/ZGq2/nm =rbOo -END PGP SIGNATURE-
Re: Can someone tell me why...
I'm using the development version of Exaile (via bzr) and the latest version has the ability to set the audio sink to: Automatic GNOME ALSA OSS PulseAudio JACK 2009/8/25 Rex Johnston g...@sclnz.com: Daniel Hill wrote: http://alsa.opensrc.org/index.php/Jack_(plugin) Ooh, i can has cheezburger? Thanks Daniel, i'll give it a whorl. Cheers, Rex
Re: Neat, Crazy, Cool, scripts
Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I was reading over the old archive of xkcd's blag, and found this: http://blag.xkcd.com/2009/04/27/a-problem/ (read the comments lots of bash tips) just wondering if anyone know's any neat tricks and what not for linux I wrote this one the other day: WARNING THIS NEEDS ROOT AND ASKS FOR IT (VIA SUDO), IT MAY NOT DESTROY YOUR COMPUTER I'M WARNING YOU AND I HEAR BY CLAM NO RESPONSIBILITY FOR DAMAGE CAUSED it will also erase any file called speed test.txt in the current running directory code FILE=speed tests.txt; cp /dev/null $FILE; for i in `echo /dev/sd? | sed s:/dev/::g` ; do LINE=Disk:/dev/$i ; LINE=$LINE `sudo hdparm -t /dev/$i | grep Timing | awk ' {... print $11 $12 } ' `; LINE=$LINE `sudo fdisk -l /dev/$i | grep Disk /dev/$i | awk '{ print $3 $4 }' | sed s/,//g `; echo $LINE $FILE ; done /code - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqVjlkACgkQGplaCYOFvyuFigCeJil8PJMYL3g8u33z/LFDF85k 4XwAni/fb8LNg5TAtEr7RlgpJiSCEmRv =VOiP -END PGP SIGNATURE- For those who read the blag article, and wondered what that 'cowsay' pipeline near the end of the comments does: $ cowsay STACK OVERFLOW | cowsay -n | cowsay -n | cowsay -n __ / __ \ | / __ \ | | | / \ | | | | | STACK OVERFLOW| | | | | | | | | | | | \ ^__^ | | | | | | \ (oo)\___ | | | | | | (__)\ )\/\ | | | | | | ||w || | | | | \ || ||/ | | | | -- | | | | \ ^__^ | | | | \ (oo)\___ | | | | (__)\ )\/\ | | | | ||w || | | \ || ||/ | | -- | | \ ^__^ | | \ (oo)\___ | | (__)\ )\/\ | | ||w || \ || ||/ -- \ ^__^ \ (oo)\___ (__)\ )\/\ ||w | || || $ === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. ===
OT: software or hardware problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I've been having some weird behaviour with my computer some programs seam to hang for 30s for no apparent reason running Java on the realtime kernel for ubuntu caused a hard lockup reported it as a bug here https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/419469 before realizing the same thing happened after playing some games in windows instead of running java The question I want to know is a 250w power supply enough to power my computer AMD64 3200+ (over clocked to 2.5GHz) ATI Radeon X800XL 3 SATA drives 2 ram sticks (calculated my usage at about 230w) I once was running a 500w power supply but it blew up, and I had a spare 250w around and it seems to be running fine for like 3 months - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqV2usACgkQGplaCYOFvyt5CwCfY41YRCYMqnwDsDeKwdwgzDej GjIAn36K9jRO9zGHCsbwxYruW0rsfGYo =4eii -END PGP SIGNATURE-
Re: OT: software or hardware problems
On Thu, 27 Aug 2009, Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- So I've been having some weird behaviour with my computer some programs seam to hang for 30s for no apparent reason running Java on the realtime kernel for ubuntu caused a hard lockup reported it as a bug here https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/419469 before realizing the same thing happened after playing some games in windows instead of running java The question I want to know is a 250w power supply enough to power my computer AMD64 3200+ (over clocked to 2.5GHz) ATI Radeon X800XL 3 SATA drives 2 ram sticks (calculated my usage at about 230w) Run memtest86 to check mboard and ram or shunt huge files around until you can reliably reproduce the bug. Disconnect two of the SATA drives and see if the problem goes away. Drop the clock rate on that poor chip. Improve the cooling dramatically via something and test if it isn't going dippy because the overclocking is overheating it. John Carter Phone : (64)(3) 358 6639 Tait ElectronicsFax : (64)(3) 359 4632 PO Box 1645 ChristchurchEmail : john.car...@tait.co.nz New Zealand
Re: OT: software or hardware problems
If you are fairly consistently having issues where you weren't before with the previous power supply and would like to test for a few days via a spare 400W one I have sitting under my desk then feel free to get in touch and collect. 250W is rather small . . . Roger Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I've been having some weird behaviour with my computer some programs seam to hang for 30s for no apparent reason running Java on the realtime kernel for ubuntu caused a hard lockup reported it as a bug here https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/419469 before realizing the same thing happened after playing some games in windows instead of running java The question I want to know is a 250w power supply enough to power my computer AMD64 3200+ (over clocked to 2.5GHz) ATI Radeon X800XL 3 SATA drives 2 ram sticks (calculated my usage at about 230w) I once was running a 500w power supply but it blew up, and I had a spare 250w around and it seems to be running fine for like 3 months
Re: OT: software or hardware problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Run memtest86 to check mboard and ram or shunt huge files around until you can reliably reproduce the bug. If I'm not getting the correct voltage I would believe that the ram/cpu/mboard would act up so I'm thinking I would have to test it with another power supply for a comparison, but I will run memtest86 tonight Disconnect two of the SATA drives and see if the problem goes away. Drop the clock rate on that poor chip. Improve the cooling dramatically via something and test if it isn't going dippy because the overclocking is overheating it. this the CPU has been running like that for about 2 years now and the fan looks pretty clear and the CPU fan has never gone above 1000RPM(idle speed I think) during stress tests ok so I'm 80% sure that it's the power supply, 3.3V is running at 3.09V (0.045V below ATX spec) - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWBDMACgkQGplaCYOFvysdlwCfc8aPleXnX1iUORJ4l7k6FHTR chEAn1+QagZitHbS3MDzR7kfNRJ6gQEf =ouei -END PGP SIGNATURE-
Re: OT: software or hardware problems
Yep - Comparing PSU wattage is like comparing fruit and veges, in the dark. Here are some real numbers: PSU Rating 430W enermax something fairly decent in brand. Using a watt-meter on the mains side, I measured a maximum of 97 watts of power during boot My firewall is a P3 500 compaq sff with a 130W PSU, and my meter measured 11W of power continuous. Wattage doesn't change comparing 230V to 12V - the current increases as the voltage drops.Wattage = Voltage x Current Roger Searle wrote, On 27/08/09 13:46: If you are fairly consistently having issues where you weren't before with the previous power supply and would like to test for a few days via a spare 400W one I have sitting under my desk then feel free to get in touch and collect. 250W is rather small . . . Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I've been having some weird behaviour with my computer some programs seam to hang for 30s for no apparent reason running Java on the realtime kernel for ubuntu caused a hard lockup reported it as a bug here https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/419469 before realizing the same thing happened after playing some games in windows instead of running java The question I want to know is a 250w power supply enough to power my computer AMD64 3200+ (over clocked to 2.5GHz) ATI Radeon X800XL 3 SATA drives 2 ram sticks (calculated my usage at about 230w) I once was running a 500w power supply but it blew up, and I had a spare 250w around and it seems to be running fine for like 3 months -- Craig Falconer
Re: OT: software or hardware problems
On Thu, 27 Aug 2009, Daniel Hill wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Run memtest86 to check mboard and ram or shunt huge files around until you can reliably reproduce the bug. If I'm not getting the correct voltage I would believe that the ram/cpu/mboard would act up so I'm thinking I would have to test it with another power supply for a comparison, but I will run memtest86 tonight I recommended memtest86 xor shunt files around for two reasons... * so you can get a fast reliable check of did that fix it? * hardware can go flaky for many reasons other than power supplies. Disconnect two of the SATA drives and see if the problem goes away. ok so I'm 80% sure that it's the power supply, 3.3V is running at 3.09V (0.045V below ATX spec) That's why I suggested disconnecting the two extra drives quickest way of getting a little extra juice. John Carter Phone : (64)(3) 358 6639 Tait ElectronicsFax : (64)(3) 359 4632 PO Box 1645 ChristchurchEmail : john.car...@tait.co.nz New Zealand
Re: OT: software or hardware problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ok so I'm 80% sure that it's the power supply, 3.3V is running at 3.09V (0.045V below ATX spec) That's why I suggested disconnecting the two extra drives quickest way of getting a little extra juice. the SATA drives are connected to the power supply via molex connectors, which don't supply 3.3V, would that actually have an effect? - -- python -c print \\.join([ \\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i] for i in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4, 9, 13, 6, 4, 9, 2] ] ) http://www.facebook.com/YellowOnion msnim:chat?contact=yellow_oni...@hotmail.com xmpp:yellowon...@jabber.org http://last.fm/user/Yellow-Onion/ https://launchpad.net/~daniel-hill -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWE4MACgkQGplaCYOFvysexwCeJ2l4u49CB7KKGTIrALQnOhso fiwAn3WEW8jE3VO4b894/Y8Zc8rNs5HF =LfNQ -END PGP SIGNATURE-