Diane's World
I take the 5th
Building GHC6 on Arm
- I got talked into darcs and now want to be able to check out my patches on
my nslu2. Unfortunately darcs requires ghc,
and ghc requires itself to compile. This leads us to the joy of making a new
port.
http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html
I started with the above link and tried to get it to work. So far,
the files they tell you to copy includes/(ghcautoconf.h DeriviedConstants.h
GHCConstants.h) are not created by the configure step so you need to
run make boot in the ghc directory on the target.
Then after copying them over make them read only, as my touches weren't enough
to prevent their makefiles from trying to rebuild those files.
i managed to get it to start building, but it died trying to make the compiler
with a bunch of cast errors.
[20:00] | [/geek] |
# |
G
Asterisk Frustration
- I've been trying to setup a VoIP system at home ('cause) and can call
my cordless phone (plugged into a SPA-3000) from a IP Phone (grandstream
gxp-2000)
That's all good and works fine. I then decided to go further and plug
the SPA-3000's FXO(?) port into my vonage ATA. I can get it to make
outgoing calls, and sometimes even incoming calls.
I can't get authentication to work for outgoing, and I can't get caller id
to work for incoming.
This thread was rather
helpfull on getting the calls working.
..:
[spa_outbound]
type=peer
secret=<SECRET>
port=5061
host=dynamic
canreinvite=no
nat=no
qualify=yes
dtmfmod=rfc2833
context=incoming-vonage
is my current outgoing config.
On the SPA I have the PSTN line registering seperately from the ATA line.
If I want to get things to autoforward to the server I need to set
PSTN Ring Thru Line 1 to off and to set a dial plan to
SO< s:@server.host:5060 > (And of course tell the PSTN which dial plan to
use.)
If I set the CID on, asterisk 1.2.1 gets very confused about the source SIP
address and chokes. I tried setting things to insecure=very but to no avail.
I'm thinking I might try openser, as its more sip orientated. (Though there
documentation is quite sparse).
I found some documentation on the SPA-3000
[18:00] | [/geek] |
# |
G
Stocastic Grammers
[12:00] | [/work] |
# |
G
Digging through UCSC
I've been digging through ~kent/src looking to see how the UCSC browser
works, so we can write our own API for grabbing data out of it.
Table descriptions from from .as files (autoSql) and are loaded into
tableDescriptions.
There's grp table which lists the defined groups.
The map between tables and which group they belong to appears to come
from *.ra files. I haven't found a place in the database where they're
stored yet.
System Message: WARNING/2 (<string>, line 10); backlink
Inline emphasis start-string without end-string.
[13:00] | [/work] |
# |
G
Brians Repeats
We're trying to determine if there are repeats near genomic probems.
The first pass file had a large number of repeats in it.
high_genomic_signal_fewer_repeats.txt had those stripped out.
I created a fasta file with the following python code
data = [ x.strip().split('\t') for x in open('high_genomic_signal_fewer_repeats.txt','r')]
open('high_genomic_signal_fewer_repeats.fa','w').writelines([ ">%s|%s\n%s\n" % (x[2],x[0],x[3]) for x in data])
ok yeah I shouldn't do that in so few lines.
Hopefully the following
blastall -p blastn -e 0.000001 -d mouse_34.0.fa -i high_genomic_signal_fewer_repeats.fa -m 7 | tee high_genomic_signal_fewer_repeats.blast.xml
command will generate a new, smaller xml results file.
[20:00] | [/work] |
# |
G
menu
calendar
| < |
December 2005 |
> |
| | | | | 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 |
categories
/ (123)
geek/ (37)
debian/ (2)
programming/ (1)
t41/ (6)
voip/ (1)
government/ (7)
tac/ (3)
life/ (8)
transhuman/ (1)
vegan/ (2)
recipes/ (2)
study/ (49)
arma/ (1)
bi188/ (8)
cs191a/ (6)
ese166/ (25)
work/ (21)
compclust/ (6)
sigmoid/ (1)
talks/ (1)