Sunday, February 06, 2005

According to Ayurveda, Spring is the most recommended season for purification of the body.

Friday, February 04, 2005

a nice awk page.
I had a bunch of run scripts that had line in them "for n in caufd dna360" etc. I wanted to see which ones I had forgotten. Here's what I came up with:


ll generated | cut -c "57-" | cut -f 1 -d "/" | sort > 1

grep for run-all* | awk '{for(i=4;i>=NF;i++){print $i}}' | sort > 2

cat 1 2 | sort | uniq -c | less | grep 1

An improvement on the command shown below to count the number of nodes that have jobs running on them. This greps for "n", to help reduce clutter.


qstat -n | grep node | fold -w 1 | sort | uniq -c | grep n



more cool command lines.
watch (1) rocks.


watch -n 60 "qstat ; echo ; echo ; ls -lrt generated/*/log | wc -l ; echo ; ls -lrt generated/*/log | tail -20 ; "

Thursday, February 03, 2005


mistress 17 [~/cranktestdata/generated] % qstat -n | grep node | fold -w 1 | sort | uniq -c
102
51 -
51 /
18 +
46 0
46 1
23 2
7 3
6 4
5 5
6 6
5 7
5 8
4 9
51 d
51 e
51 g
51 n
51 o
mistress 18 [~/cranktestdata/generated] % qstat -n | tail -10
node-g16/1
27174.mistress. terry dque NaAlH4-2-1 21198 6 1 15gb -- R 03:31
node-g26/1+node-g26/0+node-g24/1+node-g24/0+node-g23/1+node-g23/0+node-g22/1
+node-g22/0+node-g21/1+node-g21/0+node-g02/1+node-g02/0
27218.mistress. terry dque Li-Pnma 18297 1 1 8gb -- R 00:58
node-g28/1+node-g28/0
27227.mistress. girts dque res.pbs 30134 1 1 1gb -- R 00:45
node-g03/1
27228.mistress. terry dque Li-Pnma 28895 1 1 8gb -- R 00:43
node-g27/1+node-g27/0

Wednesday, February 02, 2005

The magic command is "watch"!

I saw this command years ago, but forgot what it was called. Watch is so cool, you can run subcommands periodically and view their output full screen, kind of like a univeral top for unix.

Now, I have found it again!

Tuesday, February 01, 2005

hmmm... interesting. (desk3d)
programming in tk - useful introduction to Tk.

Monday, January 31, 2005


Some protein structure validation tools:




PROVE
ERRAT
WhatCheck

Sunday, January 30, 2005

hmm, i wonder why my experiments with


cat /dev/ttyS0


didn't show any activity, but


gpm -m /dev/ttyS0


did.


hmm.

update, feb 04/05, completely by accident found the reason
why the above didn't work. i wasn't tickling the serial
port properly. found it on the openeeg website, on the
tutorial.

here it is:


#!/bin/sh

# Configure serial port
stty -F /dev/ttyS0 sane 57600 intr undef quit undef erase undef kill undef eof undef eol undef eol2 undef start undef stop undef susp undef rprnt undef werase undef lnext undef flush undef min 1 time 0 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

# View port traffic and write to file '/tmp/test.dat'
cat /dev/ttyS0 | tee /tmp/test.dat | od -tx1 -w17
xfree mouse man page. good.
thank you - a perfect answer about a serial mouse as a second mouse on a laptop. you:

http://www.xfree86.org/4.3.0/RELNOTES4.html


A new section called ServerLayout has been added to allow the layout of the screens and the selection of input devices to be specified. The ServerLayout sections may also include options that are normally found in the ServerFlags section. Multiple ServerLayout sections may be present, and selected from the command line. The following example shows a ServerLayout section for a dual-headed configuration with two Matrox cards, and two mice:

Section "ServerLayout"
Identifier "Layout 1"
Screen "MGA 1"
Screen "MGA 2" RightOf "MGA 1"
InputDevice "Keyboard 1" "CoreKeyboard"
InputDevice "Mouse 1" "CorePointer"
InputDevice "Mouse 2" "SendCoreEvents"
Option "BlankTime" "5"
EndSection
after a full day of trying to get windows2000 to work well with linux under vmware, i decided to just go back to xp instead. i'm in it now, and it's much better, i have to admit. i need this of course because i want to publish photos from flickr, but can't with linux.

Friday, January 28, 2005

practical mod perl
knuth video
canadian diamond signs
tufte's website.
cool paper on protein entropy. i should do an updated version with the new PDB holdings.

the joint centre for structural genomics. like, wow. ok, looking for I+ and I- right now.
distance between two points