Diane's World

I take the 5th


Fri, 30 Oct 2009

#tags test,software

Testing the tag module I'm curous how the tag module works for pyblosxom.

[15:16] | [] | # | G


Fri, 18 Aug 2006

SciPy 2006 Day 2

  • AutoLigand AutoDock, Rodney Harris

    • Tool for "rational" ligand design
    • computes affinity
  • GpuPy, Benjamin Eitzen, WashU

    • strengths
      • currently improving faster than traditional cpus
    • weaknesses
      • single precision
      • data must be copied to gpu
    • programmability
      • newer gpus can execute programs in "high level" languages Cg GLSL HLSL
      • programs are called shaders
    • how it works
      • GPU executes program once for each pixel that is drawn to screen
      • overrrides default numpy functions, can be transparent
      • some functions are slower on gpu (like simple add or multiply)
      • some get faster with larger N (pow, arccosh)
      • some are just faster (cos, sin)
      • the more complex you can pass over the faster, correlation
      • not hooked up yet, but have edge detection filter
    • possible future work,
      • autoconfig
    • simulation of double with singles hal.ccssd.cnrs.fr/ccsd-00021443
    • htpp://eecs.wsu.edu/~eitzenb/gpupy
  • Boost Graph Library, Douglas Gregor

    • path finding

    • connectivity & clustering

    • network flow

    • coloring

    • layout & visualization

    • motivation

      • python is easier to teach
      • dynamic features of python
      • usabiliy (e.g. c++ error messages)
    • Task: network tolerance

      from boost.graph import * g = read_graphviz("network.dot")

      bicomponent = g.add_edge_property(name='label', type='integer) art_points = biconnected_components(g, bicomponent)

      for v in g.vertices:

      if v in art_points:

    • graph types in python

      • Graph
      • Digraph
      • Graph exploration interface
    • vertex and edge properties

      • attach additional model domain knowledge
        • computer net, vertex(host, ip_addr), edge(bandwidth, latency)
    • Properties in the BGL

      • property map
        • implicity, just access property
        • explicity, allows more specifity, 2 params optional weight = g.add_edge_property(name='weight', type='float')
      • using property maps
        • similar to dictionaries (weight[e], =0.75
        • pass to algorithms dijkstra_shortest_path(g, start_vertex, weight)
      • has visitor model to do something when you hit interesting points in the algorithm. (e.g. debugging, new algorithms)
    • http://www.generic-programming.org/~dgregor/bgl-python/

  • summary of research issues with/Fast multipole Algorithm, Idesbald van den Bosch

    • ship signature reduction
    • lots of details about problem and need for optimization
    • gmsh (mesh generation)
  • Object Oriented Finite Elements, Andrew Reid

    • OOF2,
      • rapid construction of meshes adapted to irregular microstructural geometriesp
  • Parallel PDE solvers in python, Bill Spotz

  • Python imaging tools for reconstructing magnetic resonance images, make trumpis

  • PyRoot, Wim Lavrijsen (pronounced more like vim)

  • QScimpl, Eric Dobbs

    • personal, dobbse.net
    • Tech-X Corporation, txcorp (scientific physics stuff)
    • mostly decided to advertise the advantage of simplicity
  • Genesis SciFlo, Scientific Knowledge Creation on the Grid, Brian Wilson

    • Problem, terabytes of data (years) distributed at several data centers
    • iEarth
    • showed an updating svg diagram showing the execution of their workflow.
      • distributed across many machines via web services
    • data access protocol, retrieve chunks of data over web.
    • used xpath to extract results from amazon soap results
    • software shipped
      • lxml (XPath 1.0)
      • twisted, pyldap, openldap,
      • sleepycat dblxml has xquery and xpath
      • dojo AJAX library
      • openDAP, extract cdf, hdf file
      • globas v4 grid
    • globus v4 is supposed to be soap webservice
    • WSRF (web services resource framework)
    • UDDI universal description discovery and integration, find service
    • grid workflow,
    • rest vs soap, each have advantages/disadvantages
    • UDDI4py from IBM, SOAPpy
    • recommends more XML microformats for "mash ups"
    • publish science algorithms as reusable web services
    • www.opendap.org
  • Python Web & Grid Service Tools, Keith R Jackson

    • Globus toolkit
    • decided to simplify system by standardized into webservices
    • helps organize coordinated usage of resources
    • his mac crashed
    • SOAPpy is officially unsported
    • ZSI is hopefully the "new" better way, though they're more complicated than SOAPpy
    • XML schema scary complicated
    • Mapping tool from WSDL to python (wsdl2py)
    • using m2crypto (they thought it was being supported, unlike pySSL)
    • LIGO used it to ship 50 terabytes of data through pyglobus
    • WSRF supposed to define way to hand stateful connections
    • lifecycle, things will die at some point, though can be refreshed.
    • WS-N another webservices spec
    • seems to actually work, java, C, python call all talk.
    • PyCLST
    • GridFTP, implement extra features to handle transfer over highperformance network
    • Visual programming environment, useful for viewing workflow
    • Userinterface
    • planner, condor, dagman
    • exec manager (CBEI)
    • exec context
    • physical resources
    • pyGlobus, http://dsd.lbl.gov/gtg/projects/pyGlobus/
    • ZSI, http://pywebsvcs.sourceforge.net/zsi.html
    • pyGridWare, http://dsd.lbl.gov/gtg/projects/pyGridWare
    • ViCE, http://dsd.lbl.gov/gtg/projects/vice/
    • PythonCLServiceTool, http://dsd.lbl.gov/gtg/projects/PythonCLServiceTrool
    • everything BSD license
    • eclipse has a nice WSDL interface generator
    • python to wsdl would require static type annotation.
    • webservices, text to do control, then binary for shipping data
    • amazon, uses a very efficient xml binary encoding
  • Seeing through the MIST, Tripp Lilley

    • interesting point about maliable UIs
      • how do you let a user, know theyre changing their world, and revert.
    • super early project, not even screenshots

[18:00] | [] | # | G


Thu, 17 Aug 2006

SciPy 2006 Day 1

  • They'll video tape

  • Cancelations, so some one could move to tomorrow

  • Python3, Guido's Talk

    • Python 2.5, some improvements

    • Python 3000

      • Language update
      • Stroustroup compatibility
        • C++ backwords, add a new keyword, was a major incompatibility
      • Perl 6 other extreme
    • -Q warn about integer errors, // <- integer division

    • Pep 3100 for info, python.org/dev/peps

    • guidos blog, artima.com/weblogs/

    • big changes

      • kill classic classes
      • Exception derive from single root
      • absolute import ( can be turned on in 2.5 )
      • replacement for d.has_key if x in d
      • interating over file is better than xreadlines
    • smaller changes

      • exec, function again

      • x in favor repr(x)

      • except x,y,z as err instead except e,err

      • generator replaces list comprehension * list comprensions currently leak their name into the surrounding

        System Message: ERROR/3 (<string>, line 38)

        Unexpected indentation.

        scope

      • kill raise E, use raise E(arg) (work away from string exception)

      • xrange has a problem with long ints

        • will change range to do xrange things with lon support
    • string type updates

      • string becomes unicode
      • also introduce a byte type, all conversions from byte to strings require specifying conversion
    • new standard i/o stack

      • replace the c stdio with something a bit more inspired by java * unbuffered io * buffered io built on top
      • see sandbox/sio/sio.py for early prototype
    • print becomes a function

      • easier to change print to something
      • 2.x/3 compatibility requires only printing single string
    • dict views instead of lists

    • drop default <, <=, >, >= for classes (currently does memory)

    • Google python sprint next week

  • Understanding NumPy, Travis Oliphant

    • numeric compatibility layer, numpy.oldnumeric
    • dtype object ( defines what the elements of the NumPy array )
      • array scalar ( wraps element returned from cell )
      • dtype code '<i4' (byte order, type, size)
      • isbuiltin, 21 static objects
      • dt.itemsize
      • fields, since array is just chunks of memory, because of alignment issues
      • a.flags ( properties on arrays )
      • a.empty((10,),dtype='int,float,a10') * a.dtype * a.dtype.fields
      • arbitrary structure needed to memmap complicated files
  • Extending NumPy, swig, f2py, pyrex, ctypes,

    • swig, first
    • weave, embed C code in python string, kinda fortran like in variable names
      • compiles on the fly
    • pyrex
      • from c_numpy cimport, ... import_array()
    • ctype, calls shared libraries
      • .argtypes allow specifying type checking for c calls
  • Python for modern scientific algorithm development, Fernando Perez

  • Building a Distributed Component Framework (pyre), Michael Aivazis

  • Enthought tool suite

    • What are traits?
      • notification (considered important)
      • visualization
  • Synthetic Programming with Python

  • 3D visualization with TVTK and MayaVi2, Prabhu Ramachandran

    • Traited VTK
    • MayaVi2 uses enthought exposes lots of objects and gui tools for playing with them
  • Realtime Computing with Python, Andrew Straw

  • Lightening Talks

    • Dude from JPL, Mike Ressler
    • Future of IPython, Brian Granger, Tech-X corp
      • planning on extending to ipython to do distributed programming
      • control remote supercomputers from laptop
      • support multiple parallel types
      • focus on interactive work
      • distributed programming in python
        • multiple processes, threads are limited by GIL
        • non-blocking sockets
        • asynchronous error/fault
    • Travis Oliphant, about PEP
    • Travis Vaught, Enstaller
      • egg package installation manger
      • has post-install scripts
      • build egg from pointing to a directory
      • code.enthought.com/enthon/enstaller.shtml
      • enthought.com/enthought/wiki/Enstaller
    • The Current State of Vision, Michel Sanner
      • Visual programming tools
      • supports nested graph nodes
      • looks written in tk
      • www.scripts.edu/~sanner/software
    • Quick overview of Chaco, Peter Wang
  • SAGE, Alex Clemesha

    • good environment for algebra, number theory, geometry
    • what is it
      • Distribution of math software
      • python library
      • new interface to math software
    • where is it: modular.math.washington.edu/sage
    • their ajax based web notebook looks really impressive
  • Mathematica like plotting for SAGE, Alex Clemesha

  • BioHub, Diane Trout

  • Software Carpentry, Greg Wilson

    • he's a good speaker.
    • debugger for make
    • debugger than can trace back and forth between python & c code
    • Guido pronounced django the web framework.

[18:00] | [] | # | G


Sat, 18 Feb 2006

Dialout via bluetooth

sometime ago my laptop and phone were paired, but at some point I

deleted one of the connections, and when I tried dialing out the phone wanted a passphrase and kde thought there already was one.

I tried to delete /etc/bluetooth/link_key but that didn't work. Eventually I changed the pin-helper in hcid.conf from the kde one back to the bluez one.

I they started a connection and rand the pin-helper manually. One copy of the helper started up, and then magically another one popped up. I then filled a pin into both the second pin-helper and my phone and was able to make an outbound connection.

Of course then my ppp settings were wrong.

I commented out any fixed address, and the dns server information, and then used the /etc/chatscripts/provider which was setup to dialout to *99***2# (the second dialup profile on my phone)

System Message: WARNING/2 (<string>, line 16); backlink

Inline emphasis start-string without end-string.

I also added

iface ppp0 inet ppp
provider p900-blue

to my /etc/network/interfaces but i don't think that was important in this case.

And now, once again I can connect to tmobile via my phone

I need to make sure i keep my phone better charged.

[17:12] | [] | # | G


Sun, 25 Dec 2005

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] | [] | # | G


Thu, 22 Dec 2005

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] | [] | # | G


Fri, 18 Nov 2005

Python & Boost

I've wanted to try to use python & boost for a while, but their tutorial depends on using bjam, which has been a pain to try and figure out. And of course the boost-python developers think that jam is the best thing ever and don't bother providing any documentation of how to use boost-python in a more traditional environment.

Here's my stab.

/* hello.cxx */
#include <boost/python.hpp>
using namespace boost::python;

char const* greet()
{
  return "hello, world";
}

BOOST_PYTHON_MODULE(hello)
{
  def("greet", greet);
}

I compiled it on an amd64 linux box with the following.

$ g++ -c -fpic -I/usr/include/python2.3 hello.cxx -o hello.o
$ g++ -shared -fpic -lpython2.3 -lboost_python hello.o -o hello.so
$ python
>>> import hello
>>> print hello.greet()

It turns out the -fpic is required for the AMD64 box, and on an x86 box, is unnecessary. (Though it doesn't hurt to have leave it in).

Would it have been too hard to show the manual way before extolling the virtues of their build system? Perhaps they were just being lazy as coming up with a simple build script on windows would probably be a lot harder than the above.

[23:45] | [/programming] | # | G


Sat, 12 Nov 2005

Pidentd

I was looking at the log files and discovered that pidentd was throwing error messages about netlink_lookup: write failed: Connection refused

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305926

Seems to suggest that adding the module should make it shut up.

So I added the following to /etc/modules # tcp_diag may shut pidentd up about netlink_lookup: write failed tcp_diag

[21:22] | [/debian] | # | G


Wed, 28 Sep 2005

Try to figure out power usage

idle measurements base 20 watts Via C3 no cards, 44 Amd64 pci-x, 78

[13:35] | [] | # | G


Fri, 12 Aug 2005

Network

I tried getting chilispot working, but it needed to talk to my webserver/radius server which is the main thing i'm trying to protect. Since I also didn't feel like getting radius properly setup, I just punted and went for the simpler WPA-PSK configuration.

However before I went simple I split the wired and wireless networks into two IP address ranges, and I renumbered my IP address space out of 192.168.1

I followed wiki.openwrt.org/HotspotOpenvpnHowto to split the wifi (many nvram commands) Later I discovered that some of my problems getting chillispot working were actually caused by routing issues so I needed to add iptables -A FORWARD -i eth1 -o vlan1 -j ACCEPT # wifi to outside iptables -A FORWARD -i eth1 -o vlan0 -j ACCEPT # wifi to lan iptables -A FORWARD -i vlan0 -o eth1 -j ACCEPT # lan to wifi

I also added slightly more generalized commands to the firewall.user

Eventually I decided I didn't actually need the complexity of chillispot yet, and just started down the WPA-PSK path

http://openwrt.org/OpenWrtDocs/nas Gave some information on setting up the propritary wpa config tool.

I also installed wpasupplicant on my linux laptop. Theoretically it'd be better if I actually got the WPA2/cert mode working, but eh, i'm not ready for that yet.

To get wpa working on the WRT54G I needed to add

nvram set wl0_akm=psk nvram set wl0_crypto=aes+tkip nvram_wpa_psk=<password>

I needed both wl0_akm and wl0_crypto for openwrts nas startup script.

Next I need to move the mini out to the living room, and then set up a some kind of client box in my office. Do I try for getting LDAP authentication working so I can unify the passwords between my mac, my windows partition and all my linux boxen?

[01:19] | [] | # | G


Tue, 09 Aug 2005

* Repository madness

Tailor http://nautilus.homeip.net/~lele/projects/tailor/ allows syncing between multiple source code control systems, and since there's several projects in unpleasant sccs's i thought I'd try converting them to darcs

  • orange

orange certainly looks promising other than the fact they have bugs, don't have doc strings, and lack unit tests. though their tutorials were pretty straightforward.

Unfortunately they're a bunch of OSS windows developers, so their code is sitting in CVS (blech) so I wanted to convert out of it

My first attempts with earlier versions of tailor didn't work so I upgraded to the latest version, and it had problems as well.

What I ended up doing was checking the HEAD out of cvs first, and then telling tailor to convert it to a darcs repo, I don't know if this'll work when they commit something, but it's worth trying.

I used the following to start creating the config file.

$ tailor --verbose -s cvs -R :pserver:cvs@estelle.fri.uni-lj.si:/CVS --module orange -r INITIAL --subdir orange orange > orange.tailor

the file ended up like this

[DEFAULT] verbose = True

[py] target = darcs:targetpy start-revision = HEAD root-directory = /home/diane/src/orange state-file = orange.state source = cvs:sourcepy subdir = orange.cvs

[darcs:targetpy]

[cvs:sourcepy] module = orange repository = :pserver:cvs@estelle.fri.uni-lj.si:/CVS

[csrc] target = darcs:targetc start-revision = HEAD root-directory = /home/diane/src/orange/orange.cvs state-file = orange.state source = cvs:sourcec subdir = source

[darcs:targetc]

[cvs:sourcec] module = source repository = :pserver:cvs@estelle.fri.uni-lj.si:/CVS

  • compclust

both chris and I want to try using darcs with compclust but that'll require 2way syncing.

http://www.darcs.net/pipermail/darcs-users/2005-January/005070.html

[18:00] | [] | # | G


There are many different systems for running lightweight clients...

debian currently has diskless and lessdisks.

Diskless appears to be an NFS root system where apps run on the client Lessdisks is a terminal based system that runs software on the server.

First off we want a version of grub that has has pxegrub apt-get source grub

I then edited the debian/rules file and added the following --enable-diskless (several net cards)

apt-get install lessdisks

I mostly followed along the lessdisks-doc/install

On the router I added the following to dnsmasq.conf (I really should back that bugger up)

# configure network booting #dhcp-vendorclass=pxe,PXEClient dhcp-boot=net:/tftpboot/pxegrub,dara,192.168.1.13

dhcp-option=17,/var/lib/lessdisks #root-path dhcp-option=42,192.168.1.1 #ntp-server dhcp-option=48,192.168.1.13 #font-server dhcp-option=49,192.168.1.13 #x-display-manager dhcp-option=66,dara.ghic.org # tftp-server-name dhcp-option=pxe,67,pxegrub #bootfile-name dhcp-option=69,192.168.1.13 #smtp-server

sigh the pxe client wasn't smart enough to boot off of a different computer than what we started with. So i tried with dara being the dhcp server, i got further but then ran into problems with not being able to load pxegrub from things other than /tftpboot

pxegrub had problems, when i switched to pxelinux.0, installed the default file into pxelinux.cfg (and then copied all of /var/lib/lessdisks/boot into /tftpboot I was able to boot. Unfortunately the kernel they installed doesn't support the ethernet card on my amd64 box.

What do i have to do to get a tftp server to server files off of something other than /tftpboot (or is just the pxeclient that has trouble with it?)

[02:04] | [] | # | G


Thu, 04 Aug 2005

* Jury Duty

Whee

Spent some time browsing through the linux howtos http://fiona/cgi-bin/dwww?type=file&location=/usr/share/doc/HOWTO/en-html/LDAP-HOWTO/sasl.html

it looks like sasl ships with a number of different auth types with the kerberos stuff split out into sperate modules. The above link documents some information about getting MD5-Digest working with ldap, which should be useful for setting up an ldap auth server.

I forgot to update my xlibs package when upgrading to Xorg so its missing the keymaps necessary to change keyboard settings :( (no caps lock to control mapping)

Another question is should my home net have the wireless VPNed? and if so which protocol? IPSec or OpenVPN

http://openwrt.org/HotspotOpenvpnHowto?highlight=%28Howto%29 Talks about setting up openvpn on the wrt54

One interesting thing that I did do was http://thinkwiki.org/wiki/How_to_make_use_of_Graphics_Chips_Power_Management_features Enable power management of the graphics chips.

Hopefully I the library has free wifi

Home net: what do i want
priority routing for my traffic control / monitering of guest access securing wireless traffic

[12:02] | [] | # | G


Fri, 03 Jun 2005

Extensions Work

So I was able to get extensions working in both asterisk and ser.

Asterisk is designed as a PBX so all calls are routed through it, SER is designed like the internet and the router is just a location service. Once a SIP call is initiated through SER it's just the two clients talking to each other.

adding a user in asterisk at the simplest involves adding a sip user for authentication and then binding that user identity to an extension.

In sip the user identity is the extension, however if you want to make it easy for phones to dial the user id you can create aliases using the serctl command.

One major difficulty I had with getting ser working was the registration kept failing. It turns out that its really important for SER to know what all the hostnames its using are so it can know if a request is actualy being sent to itself.

Because my dns server reverse name lookup was broken it wasn't able to determine its FQDN. (there's a reason why you should always list names as "host.domain.name." in the reverse name tables, because if you don't know what you're doing its easy for the default domain to be wrong.

Once I got that fixed SER worked correctly

call transfer worked right too...

[11:14] | [/voip] | # | G


Tue, 19 Apr 2005

SoCal Piggies

  • Meta classses for fun and profit

    www.highenergymagic.org/presentations/metaclasses/

    • are there issues with using __new__ in metaclass?
    • __init__ is much more limited than __new__?
    • do remember to call base class options.
  • Quixote 2.0 tutorial

    s = StringForm("foo",

    if request.form:

    value = s.parse(request) retuern "value", value

    else:

    return "<form>%s</form>" % (s.render()

[21:36] | [] | # | G


Wed, 16 Feb 2005

exim

# keywords: exim mail debian

Debian tried changing exim's group and user from mail:adm to Debian-exim:Debian-exim however my old config isn't setting that properly

To get things working temporarily, I changed /etc/logrotate.d/exim4, the group in /var/log/exim4/* and the keys *.crt *.key in /etc/exim4

[10:16] | [] | # | G


Sat, 27 Nov 2004

AMD 64 install

Howto i'm using

https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id258638

I downloaded the netinstall iso, killed my old root partition

I needed to grab nvidia-kernel-common from an x86-32 box that has access to the all architecture and built that package

i installed using the "desktop system" prompt from the installer, and then have installed emacs21, vim, and kde (and everything those things depended on)

installed x-window-system at completion Xprt had a segfault

I built my own nvidia driver, but it wanted to be in 2.6.9 instead of debians 2.6.9-9-amd64, so I symlinked /lib/modules/2.6.9/nvidia to /lib/modules/2.6.9-9-amd64/nvidia

installed nvidia-glx nvidia-glx-dev

the nvidia driver cant find my card, first "nv" is not the nvidia driver, "nvidia" is the nvidia closed soruce drivers

hmm it's also important to make sure that the version of gcc used to compile the kernel matches that of the version used to build the module. (I used gcc-3.3 by default and the debian kernel was built with gcc-3.4)

I went with the ia32 chroot system for running ia32 binaries as hopefully i can still use apt to manage the packages

[16:00] | [] | # | G


Wed, 01 Sep 2004

Installing fglrx drivers

[12:59] | [/t41] | # | G


Sun, 15 Aug 2004

Trying to get syncml working on opengroupware

To get this working you need to source /usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh or /usr/lib/skyrix/system/Makefiles/GNUstep.sh. The former installs into the right locations the latter provides correct locations for the SaxObjc library.

I tried opengroupware's debian packages but couldn't build syncml. I looked at the packages in debian experimental but they seem old. So I'm building opengroupware from cvs.

After that building syncml went pretty easy. Next step getting the server to run. I think I should try and get korganizer to talk to opengroupware, I can at least use it then. Hmm... might want to restore palm and get that working to fill in my old calendar info.

though I really do want sync to phone to work. Need to backup p900 first, then I can see how far they've gotten with syncml in opengroupware. I'm uncertain since the example apps can only download things.

[00:00] | [] | # | G


Mon, 09 Aug 2004

Mail Merge

Time to see how offlineimap works.

  • chaos: Delete previous Maildir.bkup
  • chaos: move current maildir out of the way
  • chaos: make place to receive email
  • fiona: rsync current mailspool to chaos
  • fiona: move current mailspool out of the way
  • fiona: try to use offlineimap to download spool
  • fiona: it seems to work correctly and is reasonably quick to scan all the folders
  • chaos: need to stop dumping all the mail into ~/Maildir
  • also I need some way of syncing mail automatically, which requires saving the password. So I'd like to setup pam in such a way that there's a seperate lower quality password for downloading mail.
  • I'm also curious as to why the ssh tunnel version had so many problems
  • Next is installing an imap web client on chaosl

[18:00] | [] | # | G


Sun, 04 Jul 2004

ACPI on the T41

Apparently the DSDT configuration on the T41 is buggy. http://www.digriz.org.uk/t40p-linux/#kernel-2.6 provided a patched DSDT.aml file that fixed most of the issues with ACPI.

It requires a patch to load the replacement DSDT configuration available at http://gaugusch.at/kernel.shtml

Once I had this up and running I was able to turn the bluetooth adapter on and off without crashing the machine. I was also able to both suspend and hibernate the machine. Though the atheros wifi card doesn't come back up after suspend.

For hibernate I needed to unload & load psmouse to get the trackpoint working again.

Since bluetooth was working I installed the KDE bluetooth package. http://kde-bluetooth.sourceforge.net/. It looks promising, though I couldn't get it to talk to my phone properly. I'm really tempted by the it's ties into the notification service and being able to trigger the screensaver and IM away messages by moving the phone out of range.

[21:06] | [/t41] | # | G


Thu, 01 Jul 2004

KDE

After chris' comments about KDE being easy to configure and to script, I decided to try KDE 3.2. Af first it seemed miserably slow, several operations would start to load and then hang for tens of seconds. For instance clicking on the K menu would hang the panel for quite a while. I eventually traced it down to an attempt to contact the portmapper, stopping and restarting the port mapper fixed the problem.

Next I spent most of the evening trying to get kde working to my satisfaction, and now I think I have something that seems to be the bastardized combination of unix, windows XP, and OS X. I grabbed kooldoc which simulates the OS X dock, I also stuck the menu bar up at the top of the screen. (Though I currently have focus follows mouse on, so I really need to use keyboard shortcuts to do anything with the menu. However the window decorations look very XP like, and of course the keybindings are as emacs like as I could get them. (though the editor is quite far from emacs)

one thing that really pushed me toward kde was being able to put sftp:// into any url or file dialog box.

[02:00] | [] | # | G


Mon, 28 Jun 2004

semantic web stuff

I'd like to be able to update blog entries with meta data like FOAF entries and todo entries. The example http://www.w3.org/2004/lambda/Sites/index.html has some suggestions of how to embed RDF metadata in html.

I'd also like to get some photo viewier working correctly (with rdf enhancements of course)

last question is how to divvy up personal entries, work entries, and private entries.

[17:09] | [] | # | G


Wed, 16 Jun 2004

Blogging technology

So I have this clever idea of trying to improve the performance of my blog I was thinking of using a makefile to precompute rst to html, but perhaps I should just turn on pyblosxom's caching service

[13:26] | [] | # | G


Mon, 14 Jun 2004

Matplotlib

I managed to feed matplotlib into svn-buildpackage.

svn-inject -o loaded it into the archive

svn-update worked though it took a try or two for it to create all the directories that it wanted.

svn-buildpackage works reasonably well.

After svn-update I fixed the changelog a little and then was able to build the package.

lintian complaining about several things.

  • installing \*.pyc files
  • copyright
  • dependencies
  • description

However I managed to fix all of them

Next question should I store the tarball in svn and if so where?

[17:03] | [/debian] | # | G


Thu, 10 Jun 2004

System Cracked

What to do

  1. Do nothing
  2. Recover use as quickly as possible
  3. determine what happened
  4. catch the perpetrators

Calif Civl Code 1798.82

  • if cracked need to notify users if they've gained access to
  • first last name and one of the following
    • ssn
    • drivers license number
    • account number, credit card or debit card numbers
  • statue doesn't apply if the data is encrypted?
  • doesn't apply to passwords (another weakness as people reuse passwords

Suggestions of how to respond

  1. use trusted shell from other media
  2. grab system time to compare access times
  3. record whose online

ssh login by root, perhaps it should keep a log of when I last logged in so it could check to see there's been a login since I last logged in.

recommended timestamp ls commands ls -aluR/ or ls -alcR/

some possible tools

  • incident response tools for unix part 1/2
  • fire.dmzs.com
  • http://www.bankersonline.com/idtheft/so_computerintrusion.html
  • how to break out of a chroot jail

notes about MS

  • WinXP Service Pack 2 will ship with firewall on by default, which will break some apps
  • wus / sus windows update tools
  • Get rid of NTLM, windows 98 clients very week, e.g. samba

[21:27] | [] | # | G


Tue, 08 Jun 2004

more charter

trying to get tech support they're supposed to come on the 11th (friday) between 1 and 5 to diagnose my problem.

What about jessica? Also should go see about buying a PCI to Cardbus adapter and a PCI extension widget from frys. Also I should bring home the 802.11 antenna and see if I can scan for an open network.

[11:43] | [] | # | G


Mon, 07 Jun 2004

More charter woes

Had network problems... doesn't look like anything is wrong perhaps its the modem that is dead? I should call back tomorrow and try to arrange a modem swap. The next time they can do it is Jun 11, so I'd need to bug them to see if I can get anything better.

[22:09] | [] | # | G


Sun, 06 Jun 2004

Chater woes

Called charter to complain about my net access dropping e.g.

--- 131.215.34.119 ping statistics --- 1193 packets transmitted, 648 received, +1 duplicates, 45% packet loss, time 1194062ms rtt min/avg/max/mdev = 5.942/593.302/48742.770/4711.795 ms, pipe 49

They couldn't connect to my cable modem and are generating a ticket or their network operations group. Supposed to call back in 4 hours (around 5)

Ticket 189020

[13:10] | [] | # | G


Sat, 05 Jun 2004

Setup for the p900

I setup a DNS server on my laptop and added the configuration from: http://www.alfonsomartone.itb.it/bauodg.html#syncml

I'm using this as my ppp/provider script

connect "/usr/sbin/chat -v -f /etc/chatscripts/p900.chat"
noauth
user ppp
crtscts
lock
local
proxyarp
passive
115200
/dev/ttyUSB0
169.254.1.65:169.254.1.66
lcp-echo-failure 10
lcp-echo-interval 86400

[16:08] | [] | # | G


Fri, 04 Jun 2004

TMobile GPRS service

Wow, that's some lame ping times.

Currently

/usr/sbin/pppd /dev/ttyUSB0 115200 crtscts noauth nodetach defaultroute usepeerdns lcp-echo-failure 10 lcp-echo-interval 86400 connect '/usr/sbin/chat -t 6 -s -v "" ATZ OK ATDT*99***1# CONNECT \d\c' can bring up a net connection.

I started using wap.voicestream.com but that was filtered on most conections. (http worked, not sure if imap would've worked or not. I then looked up in my message spool and found internet3@voicestream.com that's actually wrong, the proper gprs address for this connection is "internet3.voicestream.com" which gets me to the full net access (and is on a real IP address instead of a 10.x address. (Ah, so that's why it's twice as expensive.)

the sad thing is the ping times are hovering around 1 second.

--- 131.215.34.119 ping statistics ---
259 packets transmitted, 194 received, 25% packet loss, time 258366ms
rtt min/avg/max/mdev = 800.180/1050.882/1810.805/187.989 ms, pipe 2

[23:49] | [] | # | G


Sat, 29 May 2004

bluetooth

got bluetooth up and running to talk to the p900 didn't really have to do anything other than set the pin.

to xfer to the p900 I needed http://www.unrooted.net/openSource/bluez/ussp-push-0.2.tgz

which provides a tool obextool which can shove obex requests over bluetooth 00:0e:07:c8:9b:68 2

Still don't know how to get p3nfs to work yet.

[18:29] | [/t41] | # | G


Wed, 26 May 2004

svn homedir

ssh

more efforts on moving stuff around in subversion. Needless to say fiddling around with your .ssh directory when tunneling through .ssh is challenging.

It looks like the best solution is to do svn mv svn+ssh://.../.ssh svn+ssh:/..//etc/ssh ; svn update and then move by hand the extra files from .ssh to etc/ssh.

fetchmail

fetchmail is grumpy about symlinks to its file I needed to define an alias to explicitly tell fetchmail where it's config file is located.

todo

still need to learn how to stitch things together from multiple repositories.

issues

there was a problem with a lock being left in a directory, to resolve I checked it out again and replace the .svn directory that was complaining

[18:00] | [] | # | G


Home dir in svn

I've been making progress at loading my home directory into subversion. So far I've got bin/, .ssh/, and part of src/ loaded. .ssh showed me that I needed something like cfengine to manage permissions and symlinks.

I've got the core of cfpython written. it's the first thing from src that I loaded into svn. I've also written a small script bin/cf-diane.py that loads the cfpython module and tries to set proper permissions on .ssh

I do need to update cfpython to handle paths and globs.

Next up is to make an etc/ directory and start moving all of my configuration files into it. Then update the cf-diane script to stitch things together correctly with symlinks.

I think I should also have a private/ directory to store things that shouldn't be replicated like ssh keys and private keys. (Or perhaps only replicated as encrypted files)

At some point I might want to add a --read-only option to svn so it checks files out and hard links the copy that's supposed to be modified.

[02:00] | [] | # | G


Fri, 02 Apr 2004

More WiFi Notes

On http://www.cs.utexas.edu/users/walter/geek/linux-t40.html#wifi I found a comment that the card doesn't scan until after the interface is brought up. e.g.

ifconfig ath0 up
iwlist ath0 scanning
dhclient ath0

So how should I turn this into a /etc/network/interfaces script?

Also turning on the bluetooth and then turning it off crashed the machine. :(

[15:36] | [/t41] | # | G


Installing debian on t41

I thought I blew away the windows partition, but later discovered that the bios prevents you from overwriting the recovery section.

Perhaps I should switch hard disks.

The sarge installer worked fairly well. Though I then upgraded to a custom 2.6.4 kernel so I could use the pentium M settings.

It nicely autodetected the e1000 hardware.

power management

After a suspend to ram cycle the USB controller gets hosed. http://www.sowerbutts.com/thinkpad/ suggests that ACPI causes this problem. I also saw kernel faults that were tagged "PREEMPT" perhaps the preemptable kernel was also partially to blame.

I installed powernowd and set it to "SINE" mode which raises and lowers the CPU frequency depending on use.

I installed acpid http://erkki.tty0.org/thinkpad.xhtml gave some suggestions on getting the sleep button to work. Though this is dependent on solving the USB problems.

The second suspend-to-disk option seemed to work slightly better. (Though I wouldn't claim that it actually worked).

networking

As mentioned above the e1000 port worked perfectly. Though I'm not sure if ifplugd worked or not.

I grabbed madwifi from madwifi.sf.net and discovered that for thinkpads one should build with "export COPTS=-DSOFTLED" to get the wireless LED indicator working.

make install seemed to get it installed, though there were problems with the driver, I'm hoping the APIC-less kernel will fix that.

bluetooth aparently is connected to the usb bus internally and Fn-F5 connects and disconnects this device. Though it causes the system to crash when it's disabled

sound

alsa with the snd_intel8x0 chip seems to work fine.

the volume controls work regardless of the OS, and can preserve settings across reboots. (that's why it seemed to stop working).

[01:20] | [/t41] | # | G


Wed, 31 Mar 2004

S Stuff

PS Stuff
13:40ishnoticed my package was marked "delivered"
13:48Called UPS, Reported package delivered but no package at my apartment UPS told me that the package was left by the "front door"
14:10Looked to see if there was a 336 N Madison
14:44Package delivered to "Frt Door", claims to have been signed for
18:00went home in the evening and found package
13:40ishnoticed my package was marked "delivered"
13:48Called UPS, Reported package delivered but no package at my apartment UPS told me that the package was left by the "front door"
14:10Looked to see if there was a 336 N Madison
14:44Package delivered to "Frt Door", claims to have been signed for
18:00went home in the evening and found package

[14:50] | [/t41] | # | 13:48Called UPS, Reported package delivered but no package at my apartment UPS told me that the package was left by the "front door" 14:10Looked to see if there was a 336 N Madison 14:44Package delivered to "Frt Door", claims to have been signed for 18:00went home in the evening and found package G


menu

calendar

< October 2009
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

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)