Friday, December 31, 2010
Thursday, December 30, 2010
Thursday, December 23, 2010
Wednesday, December 22, 2010
Tuesday, December 21, 2010
Monday, December 20, 2010
Note: http://www.nostarch.com has newer edition available, but this one is nice top browse online as needed.
Sunday, December 19, 2010
Saturday, December 18, 2010
Thursday, December 16, 2010
Tuesday, December 14, 2010
Sunday, December 12, 2010
and save it into a new directory called
Add these lines to .emacs:
(append (list nil "/usr/share/emacs/site-lisp/quack")
Quack should load when Emacs starts.
Saturday, December 11, 2010
Friday, December 10, 2010
Wednesday, December 8, 2010
Monday, December 6, 2010
Saturday, November 27, 2010
Friday, November 26, 2010
Tuesday, November 23, 2010
Monday, November 22, 2010
Saturday, November 20, 2010
Friday, November 19, 2010
Thursday, November 18, 2010
Wednesday, November 17, 2010
Tuesday, November 16, 2010
Sunday, November 14, 2010
I notice I am also doing this when waiting for the computer to do anything ... load a webpage, compile something, do a grep or find on large sets, ... how about you?
Friday, November 12, 2010
Wednesday, November 10, 2010
Synchronous / Stepping Motor
200 steps per rev
24.0V 0.18A DC
Class B INSUL
The Superior Electric Company Bristol CT USA
Measured Black (common) to phases ~125ohm DC cold (~18degC?)
Phases unknown sequence at this stage
Red Blue Yellow Orange
Tuesday, November 9, 2010
Specifies that the given port on the local (client) host is to be
forwarded to the given host and port on the remote side. This
works by allocating a socket to listen to port on the local side,
optionally bound to the specified bind_address. Whenever a con‐
nection is made to this port, the connection is forwarded over
the secure channel, and a connection is made to host port
hostport from the remote machine. Port forwardings can also be
specified in the configuration file. IPv6 addresses can be spec‐
ified with an alternative syntax:
[bind_address/]port/host/hostport or by enclosing the address in
square brackets. Only the superuser can forward privileged
ports. By default, the local port is bound in accordance with
the GatewayPorts setting. However, an explicit bind_address may
be used to bind the connection to a specific address. The
bind_address of “localhost” indicates that the listening port be
bound for local use only, while an empty address or ‘*’ indicates
that the port should be available from all interfaces.
Monday, November 8, 2010
Written pre-GFC; prescient, huh?
Sunday, November 7, 2010
Saturday, November 6, 2010
Friday, November 5, 2010
Wednesday, November 3, 2010
$ ssh-copy-id myhost
...and that's it
“Yes,” I answered, laughing. “It was a singular document. Philosophy, astronomy, and politics were marked at zero, I remember. Botany variable, geology profound as regards the mud-stains from any region within fifty miles of town, chemistry eccentric, anatomy unsystematic, sensational literature and crime records unique, violin-player, boxer, swordsman, lawyer, and self-poisoner by cocaine and tobacco. Those, I think, were the main points of my analysis.”
Holmes grinned at the last item. “Well,” he said, “I say now, as I said then, that a man should keep his little brain-attic stocked with all the furniture that he is likely to use, and the rest he can put away in the lumber-room of his library, where he can get it if he wants it. Now, for such a case as the one which has been submitted to us to-night, we need certainly to muster all our resources. Kindly hand me down the letter K of the American Encyclopaedia which stands upon the shelf beside you. Thank you. Now let us consider the situation and see what may be deduced from it.
Excerpt from 'The Five Orange Pips'... partial quote in Pro Git book piqued my interest. Will read the book @ some stage ... it's PD and available on Project Gutenberg
Saturday, October 30, 2010
Friday, October 29, 2010
Wednesday, October 27, 2010
Monday, October 25, 2010
Monday, October 18, 2010
Sunday, October 17, 2010
Saturday, October 16, 2010
Thursday, October 14, 2010
Wednesday, October 13, 2010
Tuesday, October 12, 2010
Monday, October 11, 2010
Possibly a fairly lucid explanation for what it (AJAX) is and/or isn't, anyway...
Sunday, October 10, 2010
Saturday, October 9, 2010
Lolol - definitely *not* real - entertaining nonetheless :)
Peter Sellers as American Hippie Stoner in first sequence :)
BTW *Everyone* looks stoned when played back at half-real-speed... obviously done for (political?) effect (last sequence in particular)
Friday, October 8, 2010
Thursday, October 7, 2010
Wednesday, October 6, 2010
Monday, October 4, 2010
How important do you think Creativity is to Engineers and Programmers?
Sunday, October 3, 2010
Thursday, September 30, 2010
Monday, September 13, 2010
Batshit Crazy ..... or *is* it? ;-)
Sunday, September 12, 2010
The link to the slides shown in the description is invalid; the slides can be got from
Saturday, September 11, 2010
Grab the Physics Thesis Template (zip file); read the ReadMeFirst.pdf contained therein.
tex4ht is the key :)
Export to HTML (NOT HTML (Word))
Open converted html document in Word
Save as a .doc file
Do special stuff if there are any graphics files linked in the document (must be saved into the document itself) - see the ReadMeFirst.pdf instructions.
Suggested alternative: http://www.zamzar.com/ to convert online (result emailed to you) - less secure of course - don't send your top-secret stuff thru this :)
Wednesday, September 8, 2010
Tuesday, September 7, 2010
Sunday, September 5, 2010
Saturday, September 4, 2010
Friday, September 3, 2010
Thursday, September 2, 2010
Me: "What compiler do you use?"
Him: "Well, Qbasic is my favorite."
Me: "Nobody over the age of eight uses QBasic for serious purposes."
Him: "But they made windows with QBasic."
Some of these are pretty funny IMO :)
Wednesday, September 1, 2010
Tuesday, August 31, 2010
Monday, August 30, 2010
Sunday, August 29, 2010
Tuesday, August 24, 2010
I'm having problems surfing the internet? How do I change the DNS settings?
If you're having occasional browsing issues, you can specify 'domain name servers' on your computer to see if this fixes the problem.
Vodafone’s DNS settings are:
• Preferred/Primary DNS: 22.214.171.124
• Alternate/Secondary DNS: 126.96.36.199
How to change these settings if you're using broadband:
• Go to Control Panel > Network Connections and select your local network
• Click Properties, then select Internet Protocol (TCP/IP)
• Click Properties
• You will see 'Use the following DNS server addresses' and enter the desired DNS server(s) in the space(s) provided
• Click apply and then try browsing the internet again
These settings are the same for all our Vodafone fixed line broadband products.
Login: username (your username for broadband is your Vodafone fixed line email address eg. firstname.lastname@example.org)
Password: your password (lower case)
PPP: PPP over ATM (RFC2364) VCMUX encapsulation
VPI - 0
VCI - 100
Every ADSL modem or router has a slightly different way of entering in these basic settings. Simply look at the instruction manual that was supplied with your ADSL modem or router for full details on how to enter these settings correctly.Some brands of router ask for the DNS settings. If required these are
Preferred DNS server: 188.8.131.52
Alternate DNS server: 184.108.40.206
If you're switching to Vodafone broadband from another provider, we've put together a handy guide of all the settings you need to change.
If you're a consumer customer download a copy here
If you're a business customer download a copy here
Saturday, August 21, 2010
Thursday, August 19, 2010
Dave Winer's very often worth a read... this being no exception to that trend.
"4. If I want to write more than 140 characters on the web, I can damn well do it. (78 characters.) "
Rob Beschizza (BoingBoing) does the obvious thing and debunks the hype with facts.
Tufte (and Twain) would be proud :)
"Does 50MB of YouTube kitteh represent more meaningful growth than a 5MB Wired feature?"
If this is typical of the quality of Wired's content, I would venture a hearty 'Yes!' :)
Well at least it looks like some kind of debate... so it succeeds at (appearing to) generate (or reflect) controversy, right?
...the Web 2.0 Conference take (or one of them, from John Battelle)
Must be true, eh?! -- We saw it on the Web :)
...so sad, eh?
Interesting stuff in parts - particularly re. collaboration which 'needs something...'
Wednesday, August 18, 2010
Using Synaptic for the GUI-inclined among us :)
"HowTo: Create a list of installed packages
I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,
dpkg --get-selections > installed-software
And if you wanted to use the list to reinstall this software on a fresh ubuntu setup,
dpkg --set-selections < installed-software
Smart! -- So I put the resulting installed_software file on my ftp space.
Execute an image - with MMU off
exec [-w timeout] [-b
[-c "kernel command line"] [-t
exec -w 1 -c "init=/linuxrc root=1f01 rootfstype=jffs2 console=ttymxc0,115200 ro panic=1"
1 second timeout,
init=/linuxrc root=1f01 rootfstype=jffs2 console=ttymxc0,115200 ro panic=1
=> root fs is at FLASH address 0x1F01 ?
"I've hired a lot of programmers over the years. Most were average, but you always remember the highs and the lows, I suppose. Ironically, one of the guys on the lower end of the scale did a fantastic interview."
Most were average? Amazing! :)
Tuesday, August 17, 2010
Da Web makez yoo dum? ;-)
Thanks, Prof. Stallings :)
Found on William Stallings' Website http://www.computersciencestudent.com/SS/SS-Other.html
See the 'making of' also:
"For those who thrive on life-long learning"
Kewl -- wish I was on one or more :)
Found this thru Randal L. Schwartz' plan file... I'm guessing he is either teaching on these cruises, or blowing a whole lotta dough :)
Too familiar - but amusing as presented here :)
Sunday, August 15, 2010
Nice Virtuatopia.com article on Understanding and Configuring VirtualBox Virtual Hard Disk images
Saturday, August 14, 2010
Friday, August 13, 2010
To kill background junk (hal, udev, usb-storage-extension, ...) in BeagleBoard Angstrom Linux to allow testing of mounted USB FLASH sticks throughput
Wednesday, August 11, 2010
Thursday, August 5, 2010
There doesn't seem to be a canonical way to initially start up the board for checkout - what's initially loaded?
How do I tell whether someone has changed/bricked it?
How do I recover it if it has been bricked?
Wednesday, August 4, 2010
Tuesday, August 3, 2010
....makes good sense - I can identify with this fear. What he doesn't mention is the use of various comprehension tools to aid the process... Diomidis Spinellis books (e.g. Reading Code, Code Quality) and online articles q.v.
Monday, August 2, 2010
Edsger W. Dijkstra:
Answers to questions from students of Software Engineering (EWD 1305)
Edsger W. Dijkstra:
The humble programmer (Turing award lecture, EWD 340)
Tuesday, July 27, 2010
Saturday, July 17, 2010
Alts to Google
Teachers don't have time or B/W to learn new stuff all the time
Friday night sessions after school with cups of tea or something stronger :)
Water neuron with drinking straws (!)
Fabiana from University
Tilt / holes in straws etc.
happens in real brain - pathways degrade, neurons break and die...
discussion in class after playing with the neurons outside in the sun (water play)
Teachers can't be expected to know everything anymore
Kids need to learn how to learn and to teach each other also
KiwiFoo Robert??? - Peter Hall ? teacher
- whose focus is figuring out ways to get kids to cooperate (vs. individual and performance-oriented system)
interest.co.nz Bernard Hickey (doom and gloom?)
economic principles in the classroom - mutual currency system in class
exchange of values
5 minute units of time
excited email - kid approach could she spend / give it away to some other student who needed it more
saving / value / charity etc.
use/lose - decaying value over time
alternative to interest
demurrage - e.g. grain etc deteriorating over time
Honesty, transparency, respect as basis of the classroom
?response to Friday night sessions - initial nervousness - not knowing what to expect
tips - how to convince? parent! - automatic entry :)
(this would work with Rangi for this year for me)
e.g. robotics Mindstorms
Peter Hall believes CS should be in core school syllabus
Computer Science Unplugged (book, Canterbury University)
Dance routine by logic
leading ego - teacher feels they need to know it all and teach it
Take time to show teachers things and explain, answer questions
e.g. didn't know computer was internet-capable
Cool tips etc. sites
Throw straw men
stacking books on lib shelves coz nobody shows up
10pm parents coming in the next day
type up kids stories as prep
Mum works @ primary school
don't get it
start with basics
similar format to BarCamp
out west? Sumerfield?
Tauranga art gallery
Wiki - kids - interpretations
sessions on MediaWiki - only some will show interest; fewer will actually do anything.
Find time - recognize value - feel comfortable with the change it represents
videos of reading the stories etc.
other teachers see and emulate
kids doing their own thing
parents happy in general if they see immediate value
AUP addendum etc.
Moodle partner - Brenda
object-based security etc.
Sugar project - Sugar On a Stick
OS and apps run from a stick
persistent and stays with the child
Sat 11am Windsor Parnell active community
testing Sugar on laptops etc.
looking @ ways of getting schools involved
IT specialist tends to be either youngest staff members or last out of Teachers' College
MLE reference group - Managed Learning Environments
OSS -- don't want to pay MS fees anymore
some resistant - stick with MS
others embrace OSS etc. - more open to help?
Otumoetai Intermediate - principal switched on (trialling WiFi access points)
Beer @ 11am is good
Mojo MOQ is 100
cheaper than an Eee
a school (unnamed) is looking @ getting them for class sets
Ubuntu login looks just like windows - trialled on kids - didn't notice they weren't using Windoze :)
WikiEducator - q.v.
lesson plans - IP of the teacher - not collaborative traditionally
remix/mashups of lesson plans
WikiMediaCommons - AV files contributed
Tracking POV - who's contributed? who hasn't?
Reputation building via transparent means
Married an accountant => not same access to funds :)
=> need to get most out of what you have.
Buffalo TerraStation 6 yo PPC processor (later were ARM)
SAMBA 3 etc.
Central disk storage
Disks scratch DVD's - kids
Linksys WRT(54G) Tomato etc.
...tweak power etc.
WAF - Wife Approval Factor :)
Media Center (Windoze, due to WAF)
MCE anyware/anywhere http://thegreenbutton.org
genre mood aartist etc. playlists
NASA space telescopes etc. - Hubble etc.
photo on web - South Island from ISS - stunning :) (NASA site?)
photos of holidays etc in place of just TV - helps to talk
Power usage monitoring
Special agent Laszlo - turning stuff off
Local weather (station on house)
walk dog? hang washing out? etc...
Old house with old dodgy phone wiring - slow DSL
OpenMesh - ex Moeraki (evil?)
Media piping from one end of house to other
PS/3 media server?
Samsung TV's VLMA? DLNA? hack to make TV think stuff is in a local USB device - so will play anything :)
Android TV Sweden?
HDMI replacement over Cat5/6 - HDNet?
100Mbps minimum capability required
64 zones of HD
2 pairs of cat6 to every plug
add boards in e.g. stairwell/cupboard
playlist follows you around the house
MythTV should be best IP TV backend
allow frontend to use web I/F
France - set top box IPTV for TV
WDTV ? Linux under the hood - how to tweak?
WiFi not a great success
5.5 etc saturated as well as 2.4
old house - wiring round back of cupboards etc. (not in walls)
Build in Cat6 etc. - min 2 runs to each plate
@ least 2 outlets per room
3 for lounge etc.
Regret: not running ducting
future options: fibre - more coax - keep power etc out of network ducting - UHF / sat baseband etc.
PT106 Telecom - separations of data/power etc.
not many people implementing it
large building companies
G.J.Gardner - can do but don't initiate the conversation by default
Google "cable your house Auckland"
Solar panels - requests coming in for LEDs - different - beam shaping etc. and colors etc.
RightHouse - free advice
Passive systems (e.g. tilting house slightly to max insolation, extension options etc.
Waitakere ecoAdvisor -- hopefully will continue under the SuperCity
carrott.org/power/ power meter
type 5000 into box, then click somewhere else (bad JS)
Revenue meter from TradeMe $30
Dry contacts and flashing light
WallWarts from The Warehouse
Ripple control - helps - sometimes doesn't switch back on (West Auckland)
Meridian is state-owned - profits back to NZ
Genesis NZ owned but coal users
TrustPower - wind etc. - but overseas owned
"Contact is Evil"
Meter RJ45 - to - USB - replicate, virtualize it to various programs
?Query by mail to speaker?
list of users incl EA, GitHub and BlueSpark :)
Rich document store
Properties (== metadata?)
Schemas for mongo www.kurl.??????
schema-less -- install and dont do anything with it afterward (schema-setup-wise)
JSON / BSON
autoSharding in v.1.5 (end of this month) - alpha @ present?
may lose data as there is no logging?
Durability - You had to ask ... Long long story
been slammed lately for loss of data
Upsert - update or insert
web08.db - OLD
SQL database - BaseDB
vs CouchDB -- need to do sharding yourself in CouchDB
couch's strength is in replication where things go offline a lot e.g. mobile
Mongo Hub GUI
backup - fsync (mongo command)
shutdown copy /data/db
if i need to do X i would use Y (NoSQL book guy quote)
Voldemort 1 billion records/day
soir / solr? full text search
text search of volatile data: Sphinx
"Facebook still uses MySQL, a lot. Wikipedia uses MySQL, a lot. FriendFeed uses MySQL, a lot. NoQSL is a great tool, but it's certainly not going to bbe your competitive edge, it's not going to make your applicationhot, and most of all, your users won't give a sh*t about any of this. ...."
call back on (successful) write?
_id returns id of inserted object
NZ <=> USA fibre
need international component
Mark Rsuhworth ex Ihug head
David Kirk CEO
900Gbps in Australasia - not much
2 fibre pairs
$US500M now but falling
Day Without Media
24 hours with no media
hated it failed - felt sick
"Worst experience of my entire life" (!)
eval is evil... accept code and run it
arbitrary remote scripting
more you know the more you know you dont know
7 major points
1)hard to know what audience knows what about browser addons
Interclue is far too complicated
Lazarus autosaves web form entries on HDD
2) how do you market addons? Nobody searches for them ... funded by toolbar installed by default etc.
3) what will the browser maker let u get away with?
Prefetch icons DNS fetch in background - not threadsafe, crashes
4) which browsers to support?
How hard? Market share?
5) Funding model -- freemium model (3 major ones one of which done yet)
iPad for bigger hands
Technician Current Jobs
job - maps - relative geog from present loc
add details site visit stock used
pause e.g. for lunch etc.
Q's help with invoicing and dispatch
Customer details etc.
job codes, stock codes
AR Augmented Reality
combines real and virtual
interactive in realtime
TaT : Face recognition
augmented ID from face recognition
mobile / geolocation
NewYork nearest subway
FLARTToolkit for the web
LAyar for mobile
NZ vs. Australia originally
Organizers picked dream team
@sneak, @matthewbuchanan, @mandamonium
Web site design in 48 hours for charity who never met before
CodeBlacks mailing list
Amanda Project Manager
Avoid coffee(!) -- V @ 2am => interesting results :)
[video for this]
Network issues - don't assume 24/7 availability of internet etc.
Communal meals and mixing
Friday night setup
9:30 - 10am in Town Hall
11am meet client
Te Hua Rangitane Trust was CodeBlacks charity
@risk youth etc.
Processes - how are kids looked after in the programs?
Client present for all but ~4 hours
clarification on the spot - invaluable
SilverStripe as CMS?
Low stress - calmest of all teams
vs. "expletives/blaspheming" from other teams
Organizing team fantastic - Natasha? (here)
Lots of volunteers
Facebook site hooked in
Used GIT as SCCS/versioning
traditionally used SVN
Don't use unfamiliar technology in a competition situation
Can specify environment for server and ongoing sponsored hosting
Videos, photographs etc.
Judges around a bit - could talk to them'
Trouble with projector...
CMS from the commandline
Wordpress installation automatically
Fast - ~2 seconds
Less confusion for cust
Less human interaction
Magento Silverstripe Joomla Drupal OS Commerce ....
bash curl - as little as poss that is not default
Path URL Admin Email
DB user pass database root user
chk vars set
set any iunset vars
determine distro, set up vars accordingly
check everything installed and enabled
setup databases if not already set up
install -- download files
unpack chown/chmod - Install via curl or other
wget -c http://wordpress.com/latest.zip
Drupal / Drush relies on PHP5.2
Silverstripe - Sake
Magento - broken simpleXML - php5.2 only
Wordpress - easy
redhat /debian checks
php version det
clean url's - mod rewrite enabled
VPS $30 per month - can put 100 sites on it
vs. say $10 per site
CFEngine Puppet Chef ...
when does it stop being a startup?
High growth planning from the start
Icdhouse - where?
TOR TechNZ (ex-FIRST)
YC model (Y Conbinator)
Rob (Rod) Jury? Xero
37Signals launnch and go hard
Xero should have gone global straight away .... $400k per month
Hitting the ceiling -- NZ company vs global company
Networking opportunities in e.g. San Francisco much greater (?) -- only interested if they can see it 'in their backyard'
Face to face feedback is much more valuable than phone etc.
Beta customers especially important
e.g. Museums for mytoursapp ... SF has ? 30 museums
Ease of doing business in NZ is much better
Companies take smaller companies more seriously
Is NZ our incubator?
Really good @ connecting with each other
Who gives the legup? Govt?
KEA network of Kiwis in well connected strategic places - help Kiwis get connections and helps
Steven Tyndall's initiative
1 guy $10k budget sounds lame to nonKiwis but sensible to Kiwis
Sunday, June 20, 2010
ssh -L5901:localhost:5901 <hostname>
For viewing this, xvnc4viewer is closest approach to RealVNC ...
(enter password and you should be in)
Monday, June 14, 2010
Friday, June 11, 2010
Thursday, June 3, 2010
NB: The 'Options' is hidden @ the bottom of the Options submenu if the display is too short
Wednesday, June 2, 2010
Very Useful indeed
xmodmap -e "remove lock = Caps_Lock"
xmodmap -e "remove control = Control_L"
xmodmap -e "add control = Caps_Lock"
xmodmap -e "add lock = Control_L"
Permanantly, in (Debian) xorg.conf:
Add the Section:
Option "XkbOptions" "ctrl:swapcaps"
(You'll need to restart X for this to take effect)
Monday, April 26, 2010
Friday, March 5, 2010
From Colorado State U.
Cartman need not apply...
Caveat: The audio volume for the speech portions of this video is waaayy too low... I had my laptop on the verge of feedback listening to it... if you turn up the speech, WARNING! the ads will be VERY LOUD!
Thursday, March 4, 2010
If so, I think I forgot the question...
...along with my password (again ... :( )
The problem with using multiple machines and/or browsers, like I do, is that if you once forget one of your many (different, right? ;-) ) passwords for online services, you start to chase your tail trying to re-synchronize the remembered passwords in the browser cookies and/or other magic.
Wide-ranging and amusing Q-and-A session - entertaining!
Wonder how things are going now especially on the jobs / work permits front?
How does this apply to System Architecture, Coding, and grokking other people's code and design?
It's a hobby, not a chore :)
Wednesday, March 3, 2010
Mentions Evernote and Dropbox and cloud services for keeping organized and synchronized (WebDAV?)
Other podcasts linked from here too
Tuesday, March 2, 2010
Friday, February 26, 2010
TinEye Reverse Image Search
FlashGot (needs Flashget)
JavaQuickStarter (comes with java install)
Thursday, February 25, 2010
Kewl -- includes how to make a projector from an old laptop (and an OHP)
Wednesday, February 24, 2010
Some interesting discussion in the comments here.
Saturday, February 20, 2010
Friday, February 19, 2010
Thursday, February 18, 2010
Monday, February 15, 2010
Sunday, February 14, 2010
Saturday, February 13, 2010
Wednesday, February 10, 2010
A slashdot question asking the same thing http://ask.slashdot.org/article.pl?sid=04/02/05/0020223&mode=nested&tid=126&tid=156&tid=185&tid=190 An ACM series on OS Development http://www.acm.uiuc.edu/sigops/roll_your_own/ "Developing your own 32-bit OS" - originally a book, but now in the public domain and downloadable from http://www.ipdatacorp.com/mmurtl.html
Horoku? Ruby hosting
FFI Foreign Function Interface --- to C , via JNI? on JVM (for JRuby?)
Tiobe??? Language popularity survey
Ruby Quick Tips
EC2 ? Amazon? Google?
Go Language (Google) - what's the point? Not different enought to be interesting? Like C? Concurrency keywords.
Presentation on this later in the year...
Who was the talkative young Computer Systems Engineering degree (UoAkl) guy? (seen him somewhere else perhaps more than once)
TDD interest - load into machines for test and run them
[virtual printer e.g.?]
like xxx??? on steroids?
Sunday, February 7, 2010
Thursday, February 4, 2010
James Long shares more good stuff :)
Embedded utilities including ATLAST (Autodesk Threaded Language Application System Toolkit) is a (very) FORTH-like language kernel designed to be embedded into applications, rendering them extensible to a degree far beyond normal macro languages.