You are heretech
tech
Rough EU 2009 plan?
Rough plans for 2009..
Possibilities
DE bang your head June 26 + 27th
http://www.bang-your-head.de/english/ehome.php
CZ Trutnov Obscene Extreme - 16,17th,18th July
http://www.obsceneextreme.cz/en/ (this is the one bloodduster are playing), just 30km north of Jaromer
DE Wacken Open Air 30th July - 1st Aug
http://www.wacken.com/en/woa2009/
DE PartySan (satyricon are playing!!) 6th-8th August
http://www.party-san.de/openair/festival/index.php?shownews=86&lang=en
Speeding up Drupal 5.x on Dreamhost, slow no more!
I'm sure you all love Drupal however there are a couple of design decisions that are less than ideal in all circumstances.
One of them is the path alias handling, you know - the stuff that lets you have a page accessible via mysite.com/fruit/bananas instead of mysite.com/node/1234
drupal 5.11 to drupal 5.12 update patch
See attached, might save you a minute or two Apply with
dgtlmoon@nine:~/drupal-5$ lynx -source http://dgtlmoon.com/files/drupal-5.11-to-5.12.patch|patch -p1 patching file CHANGELOG.txt patching file includes/bootstrap.inc patching file modules/aggregator/aggregator.info patching file modules/block/block.info patching file modules/blog/blog.info patching file modules/blogapi/blogapi.info patching file modules/book/book.info patching file modules/color/color.info patching file modules/comment/comment.info patching file modules/contact/contact.info patching file modules/
MemcacheQ - cool find of the day
Was reading up on memcacheDB and came across MemcacheQ (also on the same page)
MemcacheQ is a distributed message queueing mechanism that lives onto of - you guessed it - memcache.
So you get all the benefits of memcache's speed, portability and distribute-"ability" but for managing message queue's.
For example, you could run memcached on your server farm, post a new queue into the "cloud" and any of of your nodes can grab the best suited message for them and process it.
it's as easy as..
<?php
Getting an entire svnroot's worth of logs
A handy tip from peterS on #svn via irc.opj
how do i get the 'svn log' for an entire repo? if i run it at the base of my checked out code i only see changes for those files
dgtlmoon: that is correct. I have a shell alias to help with this: alias svnroot="LC_ALL=C svn info | sed -ne 's/Repository Root: //p'"
dgtlmoon: then I can say: svn log --whatever $(svnroot)
This way you can see a complete repo's changes, handy for logging etc
Tweaking an Agile Development build light indicator
Got to work setting up an agile build development visual indicator lamp.
Plugged it in, linux USB subsystem says..
[432955.032403] usb 1-2: new low speed USB device using ohci_hcd and address 6 [432955.245791] usb 1-2: configuration #1 chosen from 1 choice [432955.249318] usbled 1-2:1.0: USB LED device now attached [432955.249366] usb 1-2: New USB device found, idVendor=0fc5, idProduct=1223 [432955.249369] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [432955.249372] usb 1-2: Product: USB Visual Indicator
Linux wideband (wbo2) sensor interface program
Heres my Linux wideband monitor program for the Australian made WBo2 wideband sensor driver, specifically tested with the 2J1 unit. this program requires the wxPython interface modules..
# apt-get install python-wxgtk2.6The program only prints out the wideband readings in a fairly primitive but usefull fasion, better than nothing!
GPRS Internet with your nokia and pppd and bluetooth
Heres some tips on how i got my Nokia n93i to allow me to borrow it's GPRS internet connection via Three Australia.
Using my debian/lenny linux laptop on 2.6.24
1. Setup your rfcomm bluetooth interface
This is my /etc/bluetooth/rfcomm.conf file (also attached)
Replace your device mac address with which ever is the device address of your mobile phone..
# hcitool scan
Scanning ...
00:xx:xx:xx:xx:xx dgtlmoon
So in your rfcomm.conf put this..
rfcomm0 {Drupal python background server
Heres some code attached I wrote last year but havent published it on drupal.org just yet, it's my python background server for drupal actions, or put simply "Asynchronous python daemon for Drupal interaction"
Just perfect for managing actions that require long, cpu or filesystem intensive operations such as encrypting, building a file, or even interfacing with other hardware/usb/bluetooth etc etc
This is born out of the need to have aThe internet is expanding!
GOLD! Absolute genius
