xGoat
More tea please.

Caps

Jeff, Steve and I were just considering using capacitors for powering things instead of button cell size batteries. We thought about moving the plates apart as the capacitor discharged so that the voltage increases. Then I thought why not use a squidgy dilectric so that the width between the plates increases as the charge decreases as a result of the force between the charges on the plates. Of course this all relies on finding some sort of suitable dilectric.

I’m writing it here so that Steve can’t patent it :-P

Posted at 8:12 pm on Friday 25th May 2007

Management

Arrrrrrr. Management sucks.

Posted at 1:57 pm on Friday 25th May 2007

Data Graph

For my project viva I need to do a demo of the Gumsense. I’ve set it up to log readings at 1 second intervals from a potentiometer which I shall twiddle around. It sends them over wireless to my laptop, which sticks them in a mysql database using a php script. A mod_python script then uses matplotlib to plot them:

Horizontal axis is seconds. Vertical axis is reading – in ADC counts (out of 4096).

Posted at 12:54 am on Tuesday 22nd May 2007

Memory diffing.

Hmmm. Two identical situations, and no idea about why one’s different to the other… I know, I’ll take a dump of SFRs in both and then diff the result…

Posted at 8:33 pm on Monday 21st May 2007

Bees.

How on earth does this RewriteRule:

RewriteRule ^tg_widgets/turbogears/js/(.*)$ js/$1 [L]

Cause a request to /tg_widgets/turbogears/js/MochiKit.js map to /beesjs!?:

File does not exist: /home/rob/public_html/beesjs

Update:It all makes sense now. There was another .htaccess file further up the tree…

Posted at 12:07 pm on Monday 14th May 2007

Not good.

-bash-3.00$ free -mm
             total       used       free     shared    buffers     cached
Mem:          2025       2009         15          0          1         46
-/+ buffers/cache:       1962         63
Swap:         1983       1983          0
Posted at 3:37 pm on Friday 4th May 2007

First Class Procrastination

#!/bin/env python                                                               
from Pymacs import lisp

def test():
    start, end = lisp.point(), lisp.mark(lisp.t)
    lisp.insert( "Pies" )

Closely followed by:

M-x pymacs-load RET test RET RET M-: (test-test) RET

A highly useful command.

Update: Added a “RET” to the end. It’s much better when that’s there.

Posted at 5:27 pm on Thursday 3rd May 2007

Site by Rob Gilton. © 2008 - 2019