Small Mosaic


Categories:

books
career
codinghorrors
comics
events
geekstuff
justdont
languages
languages/bash
linkshot
magazines
meta
misctech
movies
nottech
operatingsystems
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
paranoidadmin
perl
presentations
programming
python
ruby
security
security/apache
security/tools
serversmells
services
services/dns
sites
specifications
sysadmin
tools
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
unixdaemon

Archives:

July 20094
June 20091
April 20093
March 20097
February 20094
January 200917
December 20081
November 20084
October 20085
September 20084
August 200812
July 20089
April 20084
March 20081
February 20081
January 200815
August 20072
June 20079
May 20076
April 20078
March 200731
February 20073
January 200721
December 20061
November 20064
October 20066
September 200632
August 200617
July 200614
June 20069
May 200613
March 200611
February 200616
January 200611
December 20051
November 20056
October 200519
September 200525
August 200516
July 200516
June 200513
May 20052
April 200519
March 200531
February 200520
January 200531
December 200421
November 200430
October 200432
September 200418
August 20047
July 200414
June 20045

Fri, 11 Jul 2008

Bootstrapping Kickstart for Free
Having spent a (very) little time over the last month fiddling with an existing FAI setup (which is used to install Debian machines) one amazingly insightful feature of Kickstart (a provisioning tool for Redhat and Fedora) has earned a place in my heart - /root/anaconda-ks.cfg.

It might not seem like much, but by having the interactive installer produce a working config that can be reused, the barrier to entry is seriously lowered and makes experimentation much easier. If you want to add a feature to your new machines then just add it to the test install and crib from the config file. Excellent.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2008/07/11 22:22 | /operatingsystems/linux | Permanent link to this entry | This entry + same date


Replacing The Opening Talk at Conferences
Over the last couple of years (apart from this year oddly enough) I've been to a fair few tech conferences and one of the most annoying things about them (especially YAPCs) are the opening talks. If you're lucky you get a good keynote. Otherwise you get either a bad sponsor session or even, don't be afraid - you don't have to attend, a "Getting the most out of a YAPC" talk.

So now I've whinged about it what's my suggestion to fix it? Have a short session where each speaker who's presenting at the conference gives a brief peek (and a chance to hook people in) to their talk.

This should be no more than a minute or two, 3-6 slides at most, all using the same laptop and lined up in the front row of the audience to keep it smooth and fast. Although a lot of people already know what they want to see doing this will help people to spot the speakers who have an... "incompatible with the audience" presentation style and may even change their mind about what to see.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2008/07/11 22:19 | /events | Permanent link to this entry | This entry + same date


Randexp - Generating test data with Ruby regexs
While paging through reddit programming recently (seems only fair since they linked to me ;)) I stumbled on to the very nifty Randexp gem, a library that uses regular expression patterns to generate data that would satisfy the pattern. Or in less tech terms - a really good test data generator.

  
# install randexp

$ irb

require "rubygems"
require "randexp"

# simple fake phone number -
/020(7|8) \d{3} \d{4}/.gen

# build a reusable class.
class Randgen
  def self.version()
   /\d{1,3}\.\d{1,4}/.gen
  end
end

# and use it.
/[:version:]/.gen

  

I especially like the ability to make your own character classes. I'm not a ruby guy but I can see this being very useful in lots of little data generation scripts and test harnesses.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2008/07/11 18:29 | /ruby | Permanent link to this entry | This entry + same date


books career codinghorrors events geekstuff justdont languages/bash magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl presentations programming python ruby security security/apache security/tools serversmells services/dns sites specifications sysadmin tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey unixdaemon

Copyright © 2000-2005 Dean Wilson XML feed logo