See recent comments. RSS feed of all comments. Raw dump of all comments for research purposes.
ImageMagick book
MythTV book
|
 |
|
 |
|
Mon, 31 Dec 2007
|
|
|
|
|
 |
|
 |
|
17:56: We went for a random drive today
17:56: North on the 101, the turn west and head towards Half Moon Bay (where Scoble lives)
17:57: We wanted to hit the coast and drive north, as we've always driven south from Half Moon Bay
17:57: We went north for about 20 miles before deciding it was boring (a lot more built up than the south option)
17:57: So we turned around and went south
17:57: We stopped at a state beach and let the kids explore, and then went on to the Pigeon Point lighthouse, which is a bit of a family favourite
17:58: And then we drove home
17:58: So there you go...
19:27: Wow. They're making Australian version of Top Gear (the original Top Gear would have to be my favourite TV show)
19:28: I know a dude who put his hat in the ring to host...
20:31: Writing C for the first time in two years
20:31: Process... so... painful... compared with python
Tags for this post: blather( )
posted at: 20:31 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 29 Dec 2007
|
|
|
|
|
 |
|
 |
|
16:21: Playing with fan speed control in order to make my living room quieter
16:22: On the older machine with a Zalman HD160b case, it was as simple as changing the outputs I was using on the "ZM-MC1 Multi Connector"
16:23: On the newer machine, which as a "BIOSTAR TForce TF7050-M2 AM2 NVIDIA GeForce 7050PV HDMI Micro ATX AMD Motherboard", it turns out I have software case fan speed control and didn't realise
16:23: To get it going:
16:23: - sudo sensors-detect
16:24: - sudo pwmconfig
16:29: Unfortunately, the controllers don't appear to actually affect fan speed (despite PWM saying it is). I guess that means its time for a hardware solution.
18:29: Selfish eating at Chevy's cause SJR can't
20:20: Went to Frys and bought two "Thermaltake Smart Fan 2"s for the machine without the funky Zalman cable
20:21: Of course, one of them was dead on arrival. Hurrah.
Tags for this post: blather( )
posted at: 20:21 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 28 Dec 2007
|
|
|
|
|
 |
|
 |
|
08:16: For the first time in six months there was a fare inspector in the VTA light rail
08:17: I'm glad I paid my $1.75 today
08:59: An interesting read about ex-Googlers entering the venture capital market -- http://www.nytimes.com/2007/12/28/business/28vc.html?_r=1&pagewanted=print
16:16: I saw this in one of our offices the other day. Its uber cool, and I am offically jealous.
21:39: Want to make heaps of money running a coffee shop in America? Apparently the secret is to be next door to a Starbucks.
21:40: Playing with postal. I think it meets most of my needs, and the rest I can hack on...
21:40: I needed to disable GNUTLS to get it to compile, but such is life
Tags for this post: blather( )
posted at: 21:40 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 27 Dec 2007
|
|
|
|
|
 |
|
 |
|
08:33: Its weird going to work when hardly anyone else is
08:33: I hope the shuttle is running...
08:36: The shuttle still runs! Hurrah!
08:36: The train is half the length is normally is, and there are only four people on it
15:42: They've started putting this white stuff in our fruit salad at work
15:42: Its a bit like water melon, except white and tasting of wet paper
15:43: We've started calling it "the edible noop"
15:43: I wonder what it is?
17:08: Why is it that HDMI cables are so insanely expensive? Frys has them for around $70
17:09: Then again you can get them on Amazon for 15 cents!
17:36: Random observation for the day. whitehouse.com isn't a porn site any more
17:36: "Whitehouse.com was founded in 1997 by Dan Parisi. Over 100,000,000 people have visited our site over the years. We are rebranding and relaunching as a Political/News/ Entertainment site in January 2008. We have been featured on hundreds of media outlets all over the world."
17:36: This came up in the context of accidentally typing python.com instead of python.org. Note that python.com is a porn site.
Tags for this post: blather( )
posted at: 17:37 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
To quote from this blog post (its a bit odd that its a PDF, but whatever):
... the new expatriate regime (Exit Tax
Provision) requires expatriates to recognise gain on their assets, and imposes a
new tax on gifts and bequests by expatriates to Americans, This new provision
(styled Section 877A) is an addition to (and not a replacement of) the current
expatriation tax rules of Section 877. Under the Exit Tax Provision, certain
individuals who renounce their U.S. citizenship or U.S. long-term residents
who relinquish their U.S. residence status (collectively covered expatriates)
must recognise gain, or otherwise be taxed, on all their assets on the date they
expatriate. In addition, gifts or bequests they make to U.S. citizens or residents
after expatriation will be subject to tax at onerous estate/gift tax rates.
In other words, if you're a US resident and you leave the US permanently, then they deem all of your world wide assets sold, and then tax you on the gain. This includes retirement funds, as well as savings. Congress is proposing this as a way of funding tax relief for serving members of the US military.
Its not law yet, but still something I should pay attention to.
Tags for this post: travel( ) usa( )
posted at: 10:20 | path: /travel/usa | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 26 Dec 2007
|
|
|
|
|
 |
|
 |
|
I've had a Via Eden M10000 literally lying around since soon after I moved to the US two years ago, and I finally decided that it was time for a full blown home workstation the other day, having got fed up with the small screen on my laptops. Sometimes I really miss my 30 inch monitor at work, and the 24 inch I am using at home is a much better substitute than a laptop screen.
Anyway, getting the machine working was surprisingly difficult given its a three or four year old design. The problems:
- The PCI 802.11g wireless card didn't work. In fact, the machine wouldn't boot with it installed. I suspect this was a PCI version problem, as I have had pain with this card in the past.
- The PCI 802.11b wireless card I tried next wasn't much better. The connection would drop out randomly, and the machine would occasionally lock up. This was the card I used as my first access point about six years ago (using hostap), so perhaps its just old. It got swapped out as well.
- The Belkin USB 802.11g thingie didn't work reliably. It would stay connected to the network for five minutes before something went wrong. This made me annoyed, especially when it turns out this is because the latest release of Ubuntu (gutsy) installs an old version of the rt73usb driver, which is known not to work with this card. Following these instructions from the canonical wiki which tell you to install drivers from here fixed the problem. Its annoying that Ubuntu ships with known broken drivers though.
- Next, video. The video card built into the mother board sucks. I'm running a t24 inch LCD at 1920x1200, and there was significant ghosting on the monitor. Additionally, I couldn't run at 24 bit, I had to use 16 bit because the video card was running out of RAM bandwidth.
- Not to worry, I installed a Matrox G450 I had lying around, and now the monitor works nicely as well, with no ghosting.
- Finally, the whole thing is much louder than I expected from an Eden machine (there is a fan on the board, a fan in the case, and the hard disk). Then again, given I built the entire machine for $90, I can't complain too much.
Tags for this post: blog( ) toys( )
posted at: 15:25 | path: /diary/toys | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 25 Dec 2007
|
|
|
|
|
 |
|
 |
|
10:09: Merry Christmas to y'all
10:10: I appear to have captured a haul of Top Gear books and DVDs, scooters, and music CDs
10:10: I am rich! Rich in Top Gear!
15:17: Matthew has the best taste in food ever. I introduced him to Pomegranates the other day, and now he asks for the "red balls" all the time. He loves them!
15:17: Its a pity that there $3 US a fruit
Tags for this post: blather( )
posted at: 15:17 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
I picked up the kids a set of Disney edutainment games for Christmas. We're talking 6 CDs of learning fun. The box said it works on Macintoshes (classic mode, whatever that means), and Andrew was so excited by the idea that he basically shredded the box getting in.
Of course, because its a Macintosh, we stick the game into the machine, and it doesn't work. Apparently "classic mode", which I have never heard of, means "we're too lame to have written this game in the last five years, and it only works on OS 9". This is despite the box saying the game works with OS X. Apparently PowerPC macs can reboot into OS 9, but Intel Macs can't?
So, questions. Is there a PowerPC emulator for Intel Macs? Is it expensive? I also happen to have a PowerPC mac lying around, how do I reboot it into classic mode? It doesn't seem to be an option in the reboot dialog...
I am so disappointed in Disney at the moment...
Update 1: Disney tech support is closed of course, because its Christmas. Andrew is quite sad about it all. I'm being unfair on Apple in the text above, this is entirely Disney's fault for selling games which are so hideously out of date. To give you an idea of how out of date these games are, Intel Macs have been sold since January 2006 (http://en.wikipedia.org/wiki/Apple_Intel_transition), and OS 9 was discontinued in 2002 (http://en.wikipedia.org/wiki/Mac_OS_9). These games are really out of date.
Tags for this post: macintosh( ) osx( )
posted at: 11:24 | path: /macintosh/osx | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 20 Dec 2007
|
|
|
|
|
 |
|
 |
|
18:26: On a bus to San Francisco -- we're going to a 1920s speakeasy!
18:26: There is even a password to get in...
Tags for this post: blather( )
posted at: 18:26 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 06 Dec 2007
|
|
|
|
|
 |
|
 |
|
18:52: Ubuntu's month RAID check is causing jerky video playback on MythTV
18:52: Specifically, /etc/cron.d/mdadm kicks off a RAID array check on the first Sunday of the month
18:53: But with no IO limits
18:53: echo 10000 > /proc/sys/dev/raid/speed_limit_max doesn't seem to actually reduce the amount of disk IO the check is causing though
18:53: Which makes me sad
18:57: Ahhh, I was misreading the units for the /proc file
18:57: Reducing the minimum to 100 and the maximum to 500 fixes the video
18:57: But does bad things to how long the check will take
18:58: Now to experiment with upping the maximum speed, while keeping the minimum low
18:58: Hopefully that will result in it using idle disk time to sync, but not breaking video playback
Tags for this post: blather( )
posted at: 18:58 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 05 Dec 2007
|
|
|
|
|
 |
|
 |
|
17:33: On the way to SFO to pickup Cat's mother
17:33: Traffic sucks of course
Tags for this post: blather( )
posted at: 17:36 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
YouTube Traffic Characterization: A View From the Edge" from IMC 2007 is quite interesting. It tracks use of YouTube from the University of Calgary. Interesting random quote:
In total we recorded 23,250,438 valid (i.e., non-failed) HTTP
transactions (i.e., request/response pairs). These transactions account for approximately 6.54 TB of data transfer.
Only 3% of the HTTP requests were for video files; however, the corresponding HTTP responses accounted for 99%
of the total bytes transferred.
Tags for this post: research( )
posted at: 12:46 | path: /research | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 04 Dec 2007
|
|
|
|
|
 |
|
 |
|
Sun, 02 Dec 2007
|
|
|
|
|
 |
|
 |
|
12:00: I didn't realize that you could resize ext3 filesystems while they were mounted. That's really cool, because adding the extra 500gb to one of my filesystems now wont take ages...
12:02: Oh, and that 500gb SATA2 disk? $99 US dollars are Frys. I'm loving how cheap disk is these days.
Tags for this post: blather( )
posted at: 12:02 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 01 Dec 2007
|
|
|
|
|
 |
|
 |
|
Eric McCreath from the Department of Computer Science at the Australian National University and I presented a poster entitled "Inferring Relative Popularity of SMTP Servers" at USENIX LISA 2007. This blog post is a brief discussion of the content of the poster, as well as a landing page for the paper version of the poster as well as the the PDF of the actual poster. For more detail into the measurement techniques used, please check out the complete paper.
We conducted this research because there is little data on the relative popularity of the various available SMTP server implementations. This data is of interest because it aids the development of systems which interact with these servers. For example, a potential DDoS protection system should be tested with the most common SMTP servers, as these are the ones that it is most likely to encounter in everyday use.
Many businesses rely on email of some form for their day to day operation. This is especially true for product support organisations, who are largely unable to perform their role in the company if their in-boxes are unavailable. Allman in "Spam, Spam, Spam, Spam, Spam, the FTC, and Spam" states that Nuclear Research studies estimate that spam costs US businesses $87 billion a year. It seems reasonable to assume that if a low level attack is costing that much, then a complete outage would impose an even greater burden on an enterprise.
There has been little research conducted into the current state of SMTP servers on the Internet, perhaps because this area of research has not been particularly fashionable in comparison to the HTTP metrics which are commonly collected. This is an important area of research however given the level of traffic served by these systems has been growing for years. Barracuda Networks cite Radicati research which indicates that in 2009 228 billion emails will be sent per day, with the vast majority being spam (see Barracuda's site for more details). Afergan and Beverly in "The state of the email address" evaluate the state of email servers in an attempt to determine how SMTP servers are coping with the growth in traffic. Their approach involved sending out probe emails to a variety of domains. The email was crafted to have a strong assurance of bouncing because of not being addressed to a valid address. The authors then monitored the bounce traffic. They concluded that corporate SMTP servers are under surprising levels of strain and do not bounce undeliverable emails in a predictable manner.
We have therefore started to undertake research into SMTP servers as they appear on the Internet, with our first study being a simple survey of which SMTP implementations are most commonly deployed. Our poster discussed the current state of that survey, and provide some early results.
The challenge with determining the popularity of various SMTP server implementations is twofold -- firstly, not all of the SMTP servers which interact with the Internet are able to be probed from the public Internet (for example SMTP routers which route email that came from the Internet, but are not themselves accessible from the Internet); and secondly the sheer number of SMTP servers connected to the network. We have therefore used both passive and active measurements to survey these servers. Each of these measurement techniques is described below.
Bearing in mind that our survey is quite new, and that only 34.6 million IP addresses have been probed so far, the initial results are quite interesting.
You can see from the graph that the most popular SMTP server in our dataset is Microsoft Exchange, followed by Postfix and then Sendmail.
Additional analysis of our existing data, as well as further development of the email parser will improve the accuracy of our survey, which will also increase the number of machines included in the survey. The survey also needs a wider set of inputs for possible IP addresses to probe -- one example of another possible source of probable SMTP servers is MX records for registered domain names. The distributed probing system needs further development to handle the scale of the proving required for a large number of SMTP servers to be included in the survey, and improvements to the reliability of the central server are also required.
This SMTP survey is in its early stages, and there is much work still to do. However, research of this nature is likely to produce results which are of interest to both the research community, as well as software developers and systems administrators. So far a small dataset has been analysed, which has resulted in a reasonably robust distributed probing system being constructed. Further work on the survey will continue in the future, with updated results being published from time to time.
Tags for this post: research( ) smtp( ) survey( )
posted at: 15:27 | path: /research/smtp/survey | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 27 Nov 2007
|
|
|
|
|
 |
|
 |
|
Sat, 24 Nov 2007
|
|
|
|
|
 |
|
 |
|
08:52: Farewell Mr Howard
08:53: I wont miss you at all
09:33: Annoyed. One of the tuners in the MythTV box started failing to change channels, and now I have a bunch of infomercials recorded instead of something interesting
09:34: MythTV doesn't store with the recording what tuner was used -- which makes it harder to debug
Tags for this post: blather( )
posted at: 09:34 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 23 Nov 2007
|
|
|
|
|
 |
|
 |
|
10:17: I've been catching up on the new Doctor Who episodes (2005 onwards, I'm up to 2006 at the moment)
10:18: Matthew has developed a liking for them
10:18: Although we have to limit the episodes he sees
10:19: He really likes the "End of the World" episode from the 2005 season
10:44: Chipotle is interesting -- they certainly have a much higher food quality than many other stores
Tags for this post: blather( )
posted at: 10:44 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 22 Nov 2007
|
|
|
|
|
 |
|
 |
|
19:01: I've been back in Mountain View for a couple of days now
19:02: In time for Thanksgiving and all that
19:03: Thanksgiving is cool, as Gord is known to say "Thanksgiving is a cool holiday. You don't have to buy anyone stuff, you get all the yummy food, and a holiday (it's like christmas without the annoying bits)."
19:03: We got a good price on a turkey at Safeway, so I gave it a go. Apart from not being very good at carving, it turned out well
19:03: And now we're drinking wine and watching Doctor Who on the MythTV box. What could be better?
19:06: Oh, and the Chaser "vodcasts" all its episodes in full. So cool. I've subscribed to them with mythnettv.
Tags for this post: blather( )
posted at: 19:06 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 19 Nov 2007
|
|
|
|
|
 |
|
 |
|
Sun, 18 Nov 2007
|
|
|
|
|
 |
|
 |
|
Fri, 16 Nov 2007
|
|
|
|
|
 |
|
 |
|
Catherine (who is in California while I swan around Texas) reports that the maliciously loud neighbours are moving out! Yay for sleep!
Tags for this post: blog( )
posted at: 13:13 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 13 Nov 2007
|
|
|
|
|
 |
|
 |
|
Catherine is right -- when we move back from America we wont be living in an apartment if I have any say in it.
Tags for this post: blog( )
posted at: 08:43 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 11 Nov 2007
|
|
|
|
|
 |
|
 |
|
Mon, 05 Nov 2007
|
|
|
|
|
 |
|
 |
|
Sun, 04 Nov 2007
|
|
|
|
|
 |
|
 |
|
08:12: At the airport again
08:12: This time its a San Francisco -> Dallas -> Atlanta flight
08:12: Off to visit some folks in the Atlanta office for meetings and so forth
12:40: Wow. DFW is _big_
12:45: And people really do wear cowboy hats in Texas!
Tags for this post: blather( )
posted at: 12:45 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 31 Oct 2007
|
|
|
|
|
 |
|
 |
|
15:58: Another quake!
15:58: http://quake.usgs.gov/recenteqs/Quakes/nc51189819.html
16:00: This time a 3.7
16:00: Heh, in fact, there have been quite a few recently...
16:00: map 1.6 2007/10/31 15:56:05 37.431N 121.779W 7.6 8 km ( 5 mi) NNE of Alum Rock, CA
16:01: MAP 3.7 2007/10/31 15:54:24 37.434N 121.780W 7.6 8 km ( 5 mi) NNE of Alum Rock, CA
16:01: map 1.1 2007/10/31 15:37:19 37.438N 121.756W 12.4 10 km ( 6 mi) NE of Alum Rock, CA
16:01: map 1.2 2007/10/31 14:14:47 37.402N 121.751W 8.2 8 km ( 5 mi) ENE of Alum Rock, CA
16:01: map 2.2 2007/10/31 12:41:24 37.432N 121.778W 8.5 8 km ( 5 mi) NNE of Alum Rock, CA
16:01: map 1.5 2007/10/31 12:14:43 37.427N 121.772W 9.3 8 km ( 5 mi) NE of Alum Rock, CA
16:01: map 1.2 2007/10/31 10:48:22 37.415N 121.765W 6.4 8 km ( 5 mi) NE of Alum Rock, CA
16:01: map 1.3 2007/10/31 09:31:18 37.422N 121.770W 6.8 8 km ( 5 mi) NE of Alum Rock, CA
16:02: map 2.3 2007/10/31 07:14:50 37.366N 121.728W 8.1 9 km ( 5 mi) E of Alum Rock, CA
16:02: map 1.3 2007/10/31 06:24:15 37.329N 121.698W 6.7 12 km ( 7 mi) ESE of Alum Rock, CA
16:02: map 1.1 2007/10/31 04:36:59 37.400N 121.749W 8.3 8 km ( 5 mi) ENE of Alum Rock, CA
16:02: map 1.0 2007/10/31 04:17:47 37.398N 121.746W 8.3 8 km ( 5 mi) ENE of Alum Rock, CA
16:02: map 1.8 2007/10/31 04:06:29 37.375N 121.731W 8.3 8 km ( 5 mi) E of Alum Rock, CA
16:02: map 1.0 2007/10/31 04:03:57 37.414N 121.763W 7.1 8 km ( 5 mi) NE of Alum Rock, CA
16:02: map 2.8 2007/10/31 02:57:51 37.367N 121.728W 8.2 9 km ( 5 mi) E of Alum Rock, CA
16:02: map 1.2 2007/10/31 02:17:49 37.330N 121.698W 7.4 12 km ( 7 mi) ESE of Alum Rock, CA
16:03: map 1.1 2007/10/31 01:42:28 37.416N 121.755W 10.1 8 km ( 5 mi) NE of Alum Rock, CA
16:03: map 1.7 2007/10/31 01:21:13 37.404N 121.750W 8.4 8 km ( 5 mi) ENE of Alum Rock, CA
16:03: map 2.2 2007/10/31 01:05:51 37.424N 121.770W 4.8 8 km ( 5 mi) NE of Alum Rock, CA
16:03: map 1.9 2007/10/31 00:49:47 37.331N 121.699W 7.1 12 km ( 7 mi) ESE of Alum Rock, CA
16:03: map 1.7 2007/10/31 00:02:54 37.406N 121.750W 8.6 8 km ( 5 mi) ENE of Alum Rock, CA
16:03: map 1.1 2007/10/30 23:30:21 37.415N 121.755W 7.6 8 km ( 5 mi) NE of Alum Rock, CA
16:03: map 1.5 2007/10/30 23:26:59 37.404N 121.749W 8.4 8 km ( 5 mi) ENE of Alum Rock, CA
16:03: map 1.6 2007/10/30 23:03:36 37.424N 121.768W 11.3 8 km ( 5 mi) NE of Alum Rock, CA
16:03: map 2.0 2007/10/30 23:02:16 37.427N 121.773W 9.4 8 km ( 5 mi) NE of Alum Rock, CA
16:03: map 1.1 2007/10/30 22:11:15 37.374N 121.722W 7.7 9 km ( 6 mi) E of Alum Rock, CA
16:04: map 1.4 2007/10/30 21:38:50 37.412N 121.763W 7.3 7 km ( 5 mi) NE of Alum Rock, CA
16:04: map 1.4 2007/10/30 21:30:51 37.426N 121.772W 7.5 8 km ( 5 mi) NE of Alum Rock, CA
16:04: map 1.2 2007/10/30 21:23:39 37.413N 121.756W 9.8 8 km ( 5 mi) NE of Alum Rock, CA
16:04: map 2.1 2007/10/30 20:41:31 37.397N 121.747W 8.7 8 km ( 5 mi) ENE of Alum Rock, CA
16:04: map 1.7 2007/10/30 20:39:29 37.427N 121.770W 9.1 8 km ( 5 mi) NE of Alum Rock, CA
16:04: map 1.3 2007/10/30 20:35:02 37.345N 121.705W 8.9 11 km ( 7 mi) ESE of Alum Rock, CA
16:04: map 1.8 2007/10/30 20:31:57 37.430N 121.772W 9.5 8 km ( 5 mi) NE of Alum Rock, CA
16:04: map 1.4 2007/10/30 20:26:53 37.404N 121.749W 8.4 8 km ( 5 mi) ENE of Alum Rock, CA
16:04: map 1.3 2007/10/30 20:22:44 37.428N 121.777W 8.9 8 km ( 5 mi) NNE of Alum Rock, CA
16:04: map 1.6 2007/10/30 20:16:12 37.404N 121.750W 8.2 8 km ( 5 mi) ENE of Alum Rock, CA
16:04: map 1.3 2007/10/30 20:13:48 37.403N 121.749W 8.2 8 km ( 5 mi) ENE of Alum Rock, CA
16:05: map 1.5 2007/10/30 20:12:55 37.419N 121.745W 11.1 9 km ( 6 mi) NE of Alum Rock, CA
16:05: map 1.4 2007/10/30 20:12:23 37.409N 121.675W 7.3 14 km ( 9 mi) ENE of Alum Rock, CA
16:05: MAP 5.6 2007/10/30 20:04:54 37.432N 121.776W 9.2 8 km ( 5 mi) NNE of Alum Rock, CA
16:05: (Source http://quake.usgs.gov/recenteqs/Quakes/quakes0.htm, although they'll scroll off that page)
19:09: We just had our first trick or treater ever
19:09: A two year old dressed as a lion
19:09: So cute!
Tags for this post: blather( )
posted at: 19:09 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 30 Oct 2007
|
|
|
|
|
 |
|
 |
|
20:09: Big earthquake just now
20:10: http://quake.usgs.gov/recenteqs/Maps/SF_Bay.html
20:10: 5.6 2007/10/30 20:04:54 37.432N 121.776W 9.2 8 km ( 5 mi) NNE of Alum Rock, CA
20:13: http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http:%2F%2Fquake.usgs.gov%2Frecenteqs%2FQuakes%2Fnc40204628.kml&ie=UTF8&ll=39.053318,-121.706543&spn=3.412445,7.470703&z=7&om=1
Tags for this post: blather( )
posted at: 20:13 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 24 Oct 2007
|
|
|
|
|
 |
|
 |
|
Tue, 23 Oct 2007
|
|
|
|
|
 |
|
 |
|
17:39: About to have dinner at Captain Jacks seafood resturant with James and his dad
17:39: The launch today was awesome -- I will post pictures as soon as they have finished uploading
17:40: James' dad got some good shots too
Tags for this post: blather( )
posted at: 17:40 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 22 Oct 2007
|
|
|
|
|
 |
|
 |
|
Sun, 21 Oct 2007
|
|
|
|
|
 |
|
 |
|
Sat, 20 Oct 2007
|
|
|
|
|
 |
|
 |
|
Thu, 11 Oct 2007
|
|
|
|
|
 |
|
 |
|
Tue, 09 Oct 2007
|
|
|
|
|
 |
|
 |
|
Mon, 01 Oct 2007
|
|
|
|
|
 |
|
 |
|
Similarly, I should build a serial cable for my Roomba sometime. Howto.
Tags for this post: link( )
posted at: 17:13 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
My Roomba's battery is dead. Am I brave enough to make my own new one? Probably not, but I'll make a note of the howto, so I can go it next time.
Tags for this post: link( )
posted at: 16:48 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 30 Sep 2007
|
|
|
|
|
 |
|
 |
|
Its 5am my time, and I've been awake since 3am. Not from choice though -- its the downstairs neighbours waking us up yet again. They're shift workers you see, and must either sleep with construction hearing protection on, or be deaf. Either way, they seem to think its ok to stand outside our apartment at shout at each other at 2am, or slam doors at all hours, or listen to music so loud it vibrates stuff in our apartment basically all night.
We've asked them nicely to turn it down (we used to get on quite well with them at first). We've asked the complex to please do something. We even rung the complex security folk when its happening, and asked for some peace. Its really done nothing to help -- they perhaps turn the music down for 30 minutes until security leaves, and then turn it right back on again.
So, we've run out of ideas, apart from ending the lease early (which will cost an unknown amount of money), and moving somewhere else. We're so serious about doing that that I have started looking around Craigslist already.
Perhaps the floor between apartments is too thin, because the bathroom fans this neighbour leaves on for literally days at a time also vibrates things in the apartment, but either way I think Central Park has pretty much failed to provide us with a livable apartment. We don't want a lot, just some peace after 10pm like the complex rules say we should get.
Grumpy.
Tags for this post: travel( ) usa( ) california( ) mountainview( )
posted at: 05:08 | path: /travel/usa/california/mountainview | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 26 Sep 2007
|
|
|
|
|
 |
|
 |
|
I haven't written much in the last couple of months, but I have good excuses. Mainly, its a combination of joining a new team at work (its cool, but I'd have to kill you), playing with some cool toys, developing a new personal obsession, Andrew starting school, and not having much to say.
To make up for this, I give you a picture of me bowling last Friday:
I'll also give you a sneak peek at that new personal obsession:
"There is little data on the relative popularity of the various
available SMTP server implementations. This data is of
interest because it aids the development of systems which
interact with these servers. For example, a potential DDoS
protection system should be tested with the most common
SMTP servers, as these are the ones that it is most likely to
encounter in everyday use.
This poster will describe our efforts to measure the deployment of SMTP servers on the Internet, using a combination
of passive observation of email traffic, as well as active probing of SMTP servers. A description of the methodology is
provided, as well as early results."
That's part of my poster proposal for LISA 2007 which I will be attending.
Tags for this post: blog( )
posted at: 09:01 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 23 Sep 2007
|
|
|
|
|
 |
|
 |
|
Fri, 14 Sep 2007
|
|
|
|
|
 |
|
 |
|
Sun, 09 Sep 2007
|
|
|
|
|
 |
|
 |
|
Robert Scoble just seems to use his blog for complaining these days. First about how people said his stupid ideas are stupid, and then about how no one seems to love him any more. The videos are also insanely annoying -- they're all sales pitches for things which are of no interest to me. Unsubscribed.
I think this might be the start of an inane blog cull.
Tags for this post: blog( )
posted at: 09:38 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 03 Sep 2007
|
|
|
|
|
 |
|
 |
|
Sat, 01 Sep 2007
|
|
|
|
|
 |
|
 |
|
Sat, 25 Aug 2007
|
|
|
|
|
 |
|
 |
|
Fri, 24 Aug 2007
|
|
|
|
|
 |
|
 |
|
Wed, 22 Aug 2007
|
|
|
|
|
 |
|
 |
|
I'm a little slow at posting this, because I've been really busy. Google had the video of the MythTV talk online a day after the talk, which was nice. I haven't watched it myself, but hopefully it turned out ok. The talk got a little exciting when I had to reboot one of the machines mid talk because it wasn't seated in its dock properly. Such is life I suppose.
Here are the slides for the talk. Hopefully they'll help someone.
Tags for this post: mythtv( )
posted at: 13:57 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 13 Aug 2007
|
|
|
|
|
 |
|
 |
|
I'm giving a MythTV talk at Google in the next week (although I can't find it on the events calendar at the moment, I'll update this post when I do) so I've been playing with MythTV 0.21 a little more than I have in the past. Its pretty cool.
I'm still writing the talk, so I don't know 100% what it will cover, but I'm thinking it would be good to include some of the stuff from 0.21 as a teaser. Storage groups, the flash player in MythWeb, and the tweaks to the theme system seem like good things to include. Does anyone have other things they think are really cool in 0.21?
Oh, and I'll have to cover guide data for the US, so it might be time to catch up with my MythTV email backlog once again.
Hopefully in you live near Silicon Valley you can come along to the talk and we can chat afterwards.
Update: I found a Google blog post with the details. To quote the most important information:
Like all sessions of the Open Source Developers @ Google Speaker Series, Michael's presentation will be open to the public. Doors open at 6:30 PM at our Mountain View campus; guests should plan to sign in at Building 43 reception upon arrival. Refreshments will be served and all are welcome and encouraged to attend. Michael's presentation will also be taped and published along with all of the public Google Tech Talks.
Tags for this post: mythtv( )
posted at: 15:01 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 12 Aug 2007
|
|
|
|
|
 |
|
 |
|
Here is a nice video explaining the MediaMVP. I've been looking for silent ways to park MythTV front ends in the kids bedrooms for a while, and this might end up being the way to go. The xbox that Matthew uses at the moment is simply too loud for most use.
I am left wondering if ad skipping works on the device though. I guess there is only one way to find out...
Tags for this post: mythtv( )
posted at: 10:34 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 11 Aug 2007
|
|
|
|
|
 |
|
 |
|
20:36: I like PF Chang's
20:37: ... And it seems they let kids in. I wonder if they have a kids menu?
Tags for this post: blather( )
posted at: 20:37 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 06 Aug 2007
|
|
|
|
|
 |
|
 |
|
I recommend you not fat finger a cron command, and type "crontab -r" accidentally. It just silently deletes your crontab, without giving you the chance to back out. Anyone notice that the r and e keys are next to each other?
Tags for this post: blog( )
posted at: 23:30 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 05 Aug 2007
|
|
|
|
|
 |
|
 |
|
14:22: I've been doing a lot of driving in the prius
14:22: Its growing on me so much
14:22: I have found I have started driving in a manner which avoids the petrol engine from cutting in
14:23: Thought for the day: great products change how you think about things...
Tags for this post: blather( )
posted at: 14:23 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 04 Aug 2007
|
|
|
|
|
 |
|
 |
|
14:00: Just drove a company plug in hybrid
14:00: My first Pruis drivage
14:00: The Prius user interface takes some getting used to, but is cool once you're used to it
14:00: And the plug-in-ness is uber cool
Tags for this post: blather( )
posted at: 14:00 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 03 Aug 2007
|
|
|
|
|
 |
|
 |
|
16:31: Helping set up for SciFoo 2007, which starts in about an hour... Its much hotter in the US at the moment than it is in Australia. I might yet melt.
16:32: Oh, and just met Nat Torkington, who was nice...
Tags for this post: blather( )
posted at: 16:32 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 28 Jul 2007
|
|
|
|
|
 |
|
 |
|
I'm killing time at my mother in law's at the moment, before bussing it back to Sydney (on the way back to the US) tomorrow, and I figured I'd visit Damn Interesting again. Some of the gems from this trip:
Tags for this post: link( )
posted at: 02:28 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 23 Jul 2007
|
|
|
|
|
 |
|
 |
|
Apart from sniping the queries, is there any other way to reduce the amount of time that a query will wait before giving up on getting access to a locked table?
Tags for this post: mysql( )
posted at: 15:04 | path: /mysql | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 20 Jul 2007
|
|
|
|
|
 |
|
 |
|
Thu, 19 Jul 2007
|
|
|
|
|
 |
|
 |
|
Some days you find something you know is useful, but you don't know how you're going to use it quite yet. Today's event was Sidecar, a system for inserting retransmitted packets into TCP streams capable of detecting the presence of a NAT. How cool is that? ACM link to the paper.
Tags for this post: blog( )
posted at: 22:35 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Ok, so part of why I'm hating the locking behaviour of MySQL is because I'm playing with scheduling a large distributed job for a personal project. I've talked to some folk about Beowulf, and it doesn't seem to offer me much... Does anyone have any recommended reading on how research clusters solve this sort of problem that they would like to share in the comments?
Tags for this post: blog( )
posted at: 21:12 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
18:39: Last night I did 2.6 million DNS queries. So cool. PlanetLab is the new hotness.
18:39: But why does altering a table or adding an index with MySQL lock the entire table? So lame.
Tags for this post: blather( )
posted at: 18:39 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 15 Jul 2007
|
|
|
|
|
 |
|
 |
|
I just got back from a lovely four days in Tasmania, and am just now catching up with the resulting email backlog. There are some new alerts about reviews of the MythTV book in there which are worth pointing out:
I'm surprised and disappointed that the installation of MythTV through pre-built packages or a CD distributions like KnoppMyth or MythDora were not covered deeper than a sentence or two in passing. This is likely to be a turn off for readers who were hoping for a quick and simple method of getting MythTV up and going.
...
On the whole I consider this a good book that is excellent for the new to intermediate MythTV user, although advanced users may pick a few good pieces of information out of it as well. It was well written and covered most items at just about the right introductory (yes -- practical) level. Once it has taught you the basics, you can then go and look up more details online for features you want to get more information about.
I think the comments about installation technique are fair, although the method described in the book is very likely to result in a nicely working MythTV system, which was not true for the MythTV packages that shipped with Ubuntu at the time of writing (they were a quite old version). Additionally, if you already have a Linux system you want to add MythTV to, then the way described in the book is better than the CD distributions because it doesn't involve a reinstall. I think it's horses for courses -- CD distributions are better for new users, but not for advanced users.
I'll add coverage of CD distributions to my TODO list of things to cover here sometime in the future.
Another review:
My main concern would be the assumption of prior Linux knowledge. The introduction states you need limited or no experience with Linux or Unix. I think that in this case, some time should have been taken to introduce complete Linux newcomers into the Ubuntu environment, which is something that wasn't touched on an awful lot. The installation of Ubuntu was well-covered and is generally a very simple process, but after that not much time was given to familiarise the user with the Ubuntu environment used throughout the book.
The rest of the book is extremely well written, clear and is a very good companion to MythTV. True to its name, it takes a practical approach to solving problems and if you're a Linux user interested in setting up a MythTV installation, it will make a very good resource.
Again, it is fair comment to say that we don't spend much time introducing Ubuntu apart from the bits needed to get MythTV working (we talk about installing Ubuntu on bare metal, apt, packages, LVM, disk resizing and so forth). Then again, I imagine that most people who build a PVR machine for their living room only run the PVR software on the machine, and don't tend to use the machine as a general purpose system. After all, who wants to write email on a TV sitting on the couch? Laptops are much better for that. There are also many excellent Ubuntu and Debian books out there already, so it would be a shame to lose focus on our core content and try to be too general. For those needing a more complete Ubuntu introduction I highly recommend Beginning Ubuntu , The Official Ubuntu Book and Ubuntu Hacks .
So, I'm going to chalk that up as two positive reviews, both with useful comments to consider for next time.
Tags for this post: mythtv( ) book( )
posted at: 18:41 | path: /mythtv/book | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 08 Jul 2007
|
|
|
|
|
 |
|
 |
|
20:20: Visa renewed
20:20: It took 30 minutes to get through security and 37 minutes to get approved
20:21: Now killing time in Sydney until our flight
20:21: Watching ocean's 13 in fact
Tags for this post: blather( )
posted at: 20:21 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 07 Jul 2007
|
|
|
|
|
 |
|
 |
|
Wed, 04 Jul 2007
|
|
|
|
|
 |
|
 |
|
Akamai has some interesting pages about their service that I want to be able to find later, so here they are:
- Visualisation 1 -- attacks, latency and traffic maps. During the July 4 holiday in the US, traffic levels were 14% below normal!
- Visualisation 2 -- performance comparison. Save nearly 60 milliseconds between Sydney and Cambridge, MA if you use Akamai.
- Visualisation 3 -- at the time I write this, Akamai is serving 1.9 million hits per second.
Akamai must have some interesting logging to produce this reporting.
Akamai's technology at its core, applied mathematics and algorithms - has transformed the chaos of the Internet into a predictable, scalable, and secure platform for business and entertainment. The Akamai EdgePlatform comprises 20,000 servers deployed in 71 countries that continually monitor the Internet traffic, trouble spots and overall conditions. We use that information to intelligently optimize routes and replicate content for faster, more reliable delivery. As Akamai handles 20% of total Internet traffic today, our view of the Internet is the most comprehensive and dynamic collected anywhere.
So there you go.
Tags for this post: blog( )
posted at: 19:35 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Three Danger Mouse DVDs. These things rock.
Tags for this post: blog( )
posted at: 17:19 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 26 Jun 2007
|
|
|
|
|
 |
|
 |
|
00:15: Arrived! In immigration line
00:21: Collecting baggage
00:22: The immigration line for people with kids rocks
00:57: And now in the car
00:58: The dude at the airport was wrong, the plane was a brand new 777 and quite nice
01:31: Now in the car on the way to the relative's house... Its nice to finally be done with planes for a while
12:08: Awake! Its 7am local time and I actually feel really good after some sleep. I wonder how long I should wait bbefore waking the kids?
Tags for this post: blather( )
posted at: 12:08 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 25 Jun 2007
|
|
|
|
|
 |
|
 |
|
04:46: Awake
05:16: Showered
05:16: And have consumed coffee like substance (I hate non dairy creamer)
05:40: Waiting for hotel shuttle
05:47: On the shuttle, thanks to the nice folks who let us jump the line a little
05:48: The boys are being very good, which makes things a lot easier
06:00: How lame. They tell us to show up at 6 am, and then aren't there themselves
06:33: When the line hadn't moved in 30 minutes, I ended up demanding that they check us in because of the kids. It worked, and now we're finding a food like substance.
06:34: Apparently we're taking a 737 instead of the 747, which probably means no on demand entertainment. The plane is also apparently 90 percent full because it is smaller than the original one.
06:35: Yay.
07:19: At the gate, trying to find a visit terminal
07:33: Flight now delayed until 10 am
08:05: Oh, and the air new zealand website doesn't work on my handheld cause it doesn't do javascript. Who makes clicking a link require javascript?!?
08:45: Still waiting. So far the kids have had choc chip cookies and crisps for breakfast. Best parenting ever.
08:51: Looks like the 10 am departure might actually happen!
09:43: Still waiting
09:49: I have had a brainwave. Someone should review electronics by handing it to small children waiting for flights and seeing if it survives and keeps their attention. So far gameboys and nokia n800s are clear winners, ipods and laptops less so.
09:58: Boarding!
10:02: In seat 34d
10:02: We might actually leave... Turning my phone off now.
Tags for this post: blather( )
posted at: 10:02 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 24 Jun 2007
|
|
|
|
|
 |
|
 |
|
11:54: Cleaning the house
12:11: Putting the washing on for a 28 minute cycle (exciting, huh?)
12:45: And then the dryer for 48 minutes (the excitement never ends around here)
16:46: Loading the car...
17:53: At airport, flight cancelled
17:53: (the plane never made it to the US because of engine failure)
17:57: Getting hotel and meal vouchers, and will try again tomorrow
18:15: Free night at the hyatt!
18:29: When your airline failed to provide a flight, its a bit lame when the aircrew jumps the queue at airport checkin. Just saying.
18:57: At least the hotel suite has a dining room
19:33: The rack rate for the room is $1200!
Tags for this post: blather( )
posted at: 19:33 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 23 Jun 2007
|
|
|
|
|
 |
|
 |
|
Just thought I should say that I will be mostly off line for the next ten days or so. I wonder if the MythTV guide data for the US will be sorted out by then?
Tags for this post: blog( )
posted at: 09:12 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 22 Jun 2007
|
|
|
|
|
 |
|
 |
|
I figured it was time for another release of MythNetTV, especially since I've fixed some bugs recently and rolled in code generously provided by George Nassas. New things in this release:
- Initial work on transcoding smaller files to something else
- Better error checking for MySQL configuration and accessibility
- Fixed bug where MythNetTV was unhappy if there were no channels configured in the MySQL database
- Found, and hopefully fixed, a bug where program dates were not always being tracked correctly. Also added a check to make sure this doesn't happen again
- Added --markread, which lets you mark old shows as already downloaded
The code has seen a fair bit of use now, so it should be fairly stable. Let me know if you find any problems...
$ ./mythnettv --statistics
Programs tracked: 735
Google EngEdu: 350
Scoble Show: 85
linux.conf.au 2007: 74
Mobuzz TV: 82
dl.tv: 32
Net Cafe: 2
Foo: 1
ABC News: 2
Australia: 1
Play School: 1
Diggnation: 72
Programs still to download: 50
Google EngEdu: 49
Diggnation: 1
Data transferred: 103 gb (111017264341 bytes)
Get it here if you care: http://www.stillhq.com/mythtv/mythnettv/
Tags for this post: mythtv( ) mythnettv( )
posted at: 11:49 | path: /mythtv/mythnettv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 21 Jun 2007
|
|
|
|
|
 |
|
 |
|
Wed, 20 Jun 2007
|
|
|
|
|
 |
|
 |
|
I'm returning to Australia in July to renew my US visa, and part of the process is that I need to update my resume (the consulate examines such things when you apply for the visa). I therefore needed to update it to include the last two years worth of work.
Now that I've done that it seems like I may as well put the PDF online as well.
Tags for this post: resume( )
posted at: 16:42 | path: /resume | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
(I had some spare time while waiting for the kids to finish their breakfast, so this is posted earlier than I planned).
As mentioned briefly earlier today MythTVnews.com is reporting that Tribune Media Services (TMS) is turning off their free guide data service for MythTV on 1 September 2007. This is mainly because of claims of abuse -- the theory on the MythTV users mailing list is that this abuse is vendors selling pre-configured MythTV systems for profit, which use the not-for-commercial-use guide data service from Zap2IT.
The announcement from TMS reads:
IMPORTANT MESSAGE:
For several years we have offered a free TV listings service to hobbyists for their own personal, noncommercial use. In October of 2004 we posted here an open letter saying the future of Zap2it Labs was at risk because of certain growing misuses of the Zap2it Labs data. Unfortunately this misuse has continued and grown. These misuses, combined with other business factors have led to the decision to discontinue Zap2it Labs effective September 1, 2007.
We thank those users who have honoured the terms of the agreement, and we suggest you consider the many TV listings options offered by the commercial licensees of TMS TV listings data.
If you would like to discuss how to license TV listings for commercial use, please let us know by e-mail (labs@zap2it.com) and include your company name, telephone number and the best time to reach you. We will respond to your inquiry as soon as possible.
We anticipate this decision will generate discussion and invite you to respond via the Zap2it Labs forum. We will do our best to respond to relevant questions posted on this forum in a timely manner.
There has been much consternation on the MythTV users mailing list about this announcement. There haven't been a lot of helpful suggestions yet though. There is the assurance that the development team is looking into options, and some users are suggesting rounding up enough people to pay for a commercial license. The reality however is that this is likely not a big deal. I can think of a few possible outcomes:
- Doom! The guide data stops, we all go home. This seems particularly unlikely though. It would take many people ignoring the problem, and just accepting that their MythTV systems are going to stop working.
- Some sort of scraper using XMLTV is written. This is in fact how guide data is obtained for most other countries at the moment. This technique is discussed in my MythTV book (Amazon), and is well understood. I would expect new XMLTV grabbers for the US to start appearing in the next few days.
- A conglomerate is formed to buy a commercial license to the guide data, and then sells that in XMLTV form to US based MythTV users. This option seems less likely to me, although not impossible. It would take someone being willing to buy the license for the data, on the assumption that enough people would actually pay for a XML feed. Lots of people have said they would, but there is already arguments over how much they would b willing to pay and it's yet to be seen if those people will actually front up with the cash. It should also be noted that this sort of arrangement has been tried in other countries, and seems to invariably fail.
- Another company steps up to provide guide data for free. There are lots of companies which have this data for their own uses now. Examples include the various TV guide web sites out there. They might chose to provide the data as a way of generating good will, as well as because providing the XML will cause less load on their systems than being automatically scraped to produce a third party XMLTV feed (the second option). This was the reason that the Zap2IT feed started being provided in the first place after all.
So, no doom yet. I'll post more analysis as it appears.
Tags for this post: mythtv( ) guidedata( ) usa( ) zap2it( )
posted at: 08:21 | path: /mythtv/guidedata/usa/zap2it | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
Mon, 18 Jun 2007
|
|
|
|
|
 |
|
 |
|
Sun, 17 Jun 2007
|
|
|
|
|
 |
|
 |
|
I've rolled the aus-dotnet mailing list archives over to a new directory, as the collection was getting big again. Note that the archives are now automatically updated hourly as well.
Tags for this post: aus-dotnet( )
posted at: 22:09 | path: /aus-dotnet | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
The other morning I walked out to my five year old watching Robot Chicken. This isn't what I would call the highlight of my parenting career, but it did leave me with an immediate need to come up with a solution to stopping the kids from watching inappropriate things now that they're big enough to work their way through the MythTV user interface without our assistance. Its now quite common for me to wake up in the morning and discover that the kids have turned the monitor on in the living room, have found one of their shows, and are happily watching.
(I guess it says something about the ease of use of the MythTV user interface that my four and five year olds have no trouble navigating it without assistance. Specifically, the video thumbnail of the various recordings is a killer feature because it helps kids who can't read yet find the shows they want.)
The animated thumbnail of the recording appears in the bottom right of this example image.
Back to my need to filter recordings. Unfortunately this isn't covered in the MythTV book (Amazon), mainly because it didn't seem to me to be a killer feature at the time of laying out the chapters, and because we wanted to focus on getting the important aspects of Myth working well. I'm going to make up for that by writing up everything I've learnt about it in the last couple of days here.
You'll find the filtering setup, which can be used for both parental filtering and filtering based on your random other needs (like perhaps only wanting to display sports programs at the moment, or only documentaries when you're trying to impress visitors), in Utilities / Setup -> Setup -> TV Settings -> Playback -> View Recordings (Recording Groups), which is the fourth screen of the playback settings wizard. That location might be slightly different depending on what theme you are using. The screen looks like this:
Enabling a filter
You can see here my super secret password, which is used to escape the currently active filter, which I will show you how to do in a moment. You can also see that I've selected a filter called "Children" as the default filter to use when Media Library -> Watch Recordings is selected. The relevant options on this screen include whether to prompt for a filter when entering the Media Library -> Watch Recordings screen, which I disabled as I want the default to be the Children filter to stop my kids from selecting another filter. You can also have the filter default to whatever it was last time, which doesn't work for me because that would mean it was almost always set to showing all programs, but might be convenient to others. You can also choose to show the name of the filter instead of the words "All Programs" in the Media Library -> Watch Recordings view -- this is useful for reminding you what filter you are currently using, although you should turn this option off if you don't want people to know that you are using a filter at all.
The list of filters you can apply is based off the categories of the recordings currently in your MythTV database. These are stored in the category column of the recorded table, and for my back end the list is currently like this:
mysql> select distinct(category) from recorded;
+--------------------------+
| category |
+--------------------------+
| banana |
| |
| Children |
| Sitcom |
| Holiday-children special |
| Cooking |
| Crime drama |
| Reality |
| Documentary |
| House/garden |
| Talk |
| Special |
| Comedy |
| Children-special |
| Animated |
| Science fiction |
| Auto |
| Docudrama |
| Travel |
| Science |
| Drama |
| Home improvement |
| Fantasy |
| Suspense |
+--------------------------+
24 rows in set (0.00 sec)
The "banana" category is me testing to see if the statement above is really true. It must be, because after I changed a recording to have a category of banana, this was then presented as an option in the user interface:
Bananas make for good filters
The currently active filter is stored in the settings table of the MySQL database. Look for entries named "DisplayRecGroup" if you are inclined to poke around in your database.
This level of filtering is sufficient if you only want to show one category at a time in the Media Library -> Watch Recordings screen. However, there is no facility to filter based on the rating of the program, and no way to combine filters to display more than one category at once. For example, there is no way to display Children's shows, and Children's holiday specials at the same time. This is a bit of a shame. Conceivably you could implement custom filtering like this by changing the values for the category column in the recording table, but I wouldn't recommend this approach.
Anyway, on to how to use the filter now that you have it set up. Go to the Media Library -> Watch Recordings screen with the filter set, and you'll see that the view has changed to only include those things in your default category. You'll be able to tell that the filter is on if you selected the option to display the category name instead of "All Programs". My recordings screen looks like this when filtered to only include children's recordings:
Filtering to only show Children's recordings
As opposed to what it used to look like:
No filtering at all
To change the filter, press the menu key on your remote, or the M key on the keyboard. You'll see this menu:
The recordings menu
Select "Change Group Filter" from the menu. If you configured a password to change between filters, then the user interface to enter that password is displayed:
Entering a password
Enter your super secret password, and then you'll be prompted with a list of possible filters. If you didn't enable a password, you will of course end up going directly to this menu:
Selecting a new filter
And you've escaped the tyranny of the filter!
It would be nice for the filtering to be more granular, and there have been some proposals in that direction, although that proposal isn't a perfect solution either.
Tags for this post: mythtv( ) filter( ) parental( )
posted at: 18:33 | path: /mythtv/filter/parental | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 16 Jun 2007
|
|
|
|
|
 |
|
 |
|
Thu, 14 Jun 2007
|
|
|
|
|
 |
|
 |
|
Sat, 09 Jun 2007
|
|
|
|
|
 |
|
 |
|
I wanted to build a directory of symlinks that pointed to my MythTV recordings, so I wrote a little python script to do it for me. I figure someone else might find this useful too...
#!/usr/bin/python
# Copyright (C) Michael Still (mikal@stillhq.com) 2007
# Released under the terms of the GNU GPL
import MySQLdb
import os
import re
from socket import gethostname
# Connect to the MythTV database based on the MythTV config
config_values = {}
home = os.environ.get('HOME')
config = open(home + '/.mythtv/mysql.txt')
for line in config.readlines():
if not line.startswith('#') and len(line) > 5:
(key, value) = line.rstrip('\n').split('=')
config_values[key] = value
db_connection = MySQLdb.connect(host = config_values['DBHostName'],
user = config_values['DBUserName'],
passwd = config_values['DBPassword'],
db = config_values['DBName'])
cursor = db_connection.cursor(MySQLdb.cursors.DictCursor)
# Regexp for what is allowed in the symlink name
unsafe = re.compile('[^a-zA-Z0-9\-\:_]+')
# Find the recordings directory -- this assumes you haven't used an
# identifier string for this machine...
cursor.execute('select * from settings where value="RecordFilePrefix" and '
'hostname="%s";' % gethostname())
row = cursor.fetchone()
basedir = row['data']
# Now find all the recordings we have at the moment
cursor.execute('select title, subtitle, starttime, basename from recorded;')
for i in range(cursor.rowcount):
row = cursor.fetchone()
title = row['title']
subtitle = row['subtitle']
if subtitle == '':
subtitle = str(row['starttime'])
title = title.replace(' ', '_')
title = unsafe.sub('', title)
subtitle = subtitle.replace(' ', '_')
subtitle = unsafe.sub('', subtitle)
extn = row['basename'].split('.')[1]
try:
os.mkdir(title)
except:
pass
try:
os.symlink('%s/%s' %(basedir, row['basename']),
'%s/%s.%s' %(title, subtitle, extn))
except:
pass
This creates a tree of symlinks in the current directory that looks like this:
$ find . -type l
./Masterminds/Air_America
./Tech_Now/Getting_Famous
./Babar/To_Tell_or_Not_to_Tell
./Babar/The_Intruder
./Babar/Special_Delivery
./Babar/Conga_the_Terrible
./Babar/The_Celestville_Enquirer
./The_Backyardigans/Viking_Voyage
./The_Backyardigans/Cops_and_Robots
./The_Backyardigans/Eureka
./The_Backyardigans/Movers_of_Arabia
./The_Backyardigans/Save_the_Day
./Go_Diego_Go/Rainforest_Race
./Go_Diego_Go/Cool_Water_for_Ana_the_Anaconda
./Go_Diego_Go/Great_Jaguar_to_the_Rescue
./Go_Diego_Go/Diego_Saves_the_River_Dolphin
./Go_Diego_Go/Jorge_the_Little_Hawk_Learns_to_Migrate
./How_Its_Made/2007-06-08_09:30:00
Tags for this post: mythtv( )
posted at: 21:35 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
Wed, 06 Jun 2007
|
|
|
|
|
 |
|
 |
|
Tue, 05 Jun 2007
|
|
|
|
|
 |
|
 |
|
10:21: I've been writing JavaScript for the last couple of days
10:21: This stuff is kind of cool
10:21: I think it might have a future
Tags for this post: blather( )
posted at: 10:21 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 03 Jun 2007
|
|
|
|
|
 |
|
 |
|
Mon, 21 May 2007
|
|
|
|
|
 |
|
 |
|
A photo taken by a friend recently of the basically-finished solar panel deployment at Google Mountain View.
Tags for this post: blog( )
posted at: 14:17 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Yak shaving goal de jour: download 1 million emails. Don't ask why. It's a long story. Oh, 32,000 done so far!
Tags for this post: blog( )
posted at: 12:03 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 19 May 2007
|
|
|
|
|
 |
|
 |
|
There is a common story told in computing circles. You're trying to get some work done, and before you can finalise it you find that you need to fix a small bug in a library you use. On the way to fixing that bug, you find that you need to improve something else as well, and so on. Eventually you look up and discover that you're shaving a yak, and that it's somehow needed to deliver that first project.
I have a theoretical interest in DDoS attacks and especially how they relate to SMTP servers on the Internet at the moment. Somehow that ended up with me reading a bunch of academic research from the ACM portal about email worm behaviour (hence the interest in the recent tech talk from Vern Paxson about the witty worm) and content delivery networks like Akamai.
Reading up on Akamai lead me to discover Planet Lab, which is insanely cool. I'm left with all these wild ideas for side projects to pursue from there.
Bring on the yak.
Tags for this post: blog( )
posted at: 17:02 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 17 May 2007
|
|
|
|
|
 |
|
 |
|
Wed, 16 May 2007
|
|
|
|
|
 |
|
 |
|
17:59: At the park with the boys
18:00: Andrew was sick last night, otherwise we would have all gone to the parent teacher night together
18:01: It's a bit scary that the kids are old enough that I now need to think of parent teacher nights
18:01: Luckily we'll be done with school things in a mere 14 years!
Tags for this post: blather( )
posted at: 18:01 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
I'm sitting in a tech talk from Vern Paxson about the witty worm, and he's just described how they could determine the state of the random number generator on infected machines when it sent probes to possible victims. Which gives you the uptime of the infected host, and they can see the distance between random numbers in the sequence, which means they can calculate the speed of the network link of infected machines, because they know the time distance between repeated probe attempts and how many packets were sent in between.
They can also determine the number of disks plugged into the infected machine, because a bug in the worm only re-seeded the random number generator when it trashed a disk block on the machine. It can only do that if that randomly selected disk exists.
The talk is being taped, so other people will be able to see it in a week or two.
Very cool.
Tags for this post: blog( )
posted at: 14:44 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 15 May 2007
|
|
|
|
|
 |
|
 |
|
08:02: IPv4 address space usage: an interesting map. I guess that puts the lie to claims we're going to imminently run out of addresses. I would think large blocks of the allocated space are not in use either.
18:47: I'm in safeway (a super market)
18:48: and the lady in front of me is buying two weeks of frozen meals
18:48: Wow
18:53: Safeway really sucks when the electronic payments system goes down
Tags for this post: blather( )
posted at: 18:53 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 14 May 2007
|
|
|
|
|
 |
|
 |
|
14:46: Waste in America -- checkout this gallery of visualizations of waste in America. I imagine that Australia isn't much better when you take into account population factors.
18:41: Just upgraded the ram in Catherine's macbook
18:41: A few surprises:
18:42: - You need a teeny tiny screwdriver, it took us a little while to find my jeweler's drivers
18:42: - You need to twiddle these weird arms to get the RAM out
18:42: - You need to use a _lot_ of force to get the new RAM seated properly. I ended up using both thumbs
18:43: - The machine boots insanely fast now. From cold to login prompt in less than 30 seconds
Tags for this post: blather( )
posted at: 18:43 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 13 May 2007
|
|
|
|
|
 |
|
 |
|
21:50: Pages of academic research on distributed denial of service attacks read so far this year: 513
Tags for this post: blather( )
posted at: 21:50 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 12 May 2007
|
|
|
|
|
 |
|
 |
|
Hi. I am doing a select like this in MySQL 5:
select * from foo where bar rlike '(.*),(.*)';
The specific example here is made up. Anyway, I'd like to be able to get to the matched text from bar, like I can with various languages regexp libraries. Is this functionality exposed at all in MySQL? I've looked at the docs and can't see any indication that it is, so this might just be wishful thinking.
Tags for this post: mysql( )
posted at: 08:17 | path: /mysql | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 11 May 2007
|
|
|
|
|
 |
|
 |
|
08:40: One of the cafes at work has started naming dishes after me. This is because I complained about the oatmeal having wierd stuff in it... Now every time they do something odd with oatmeal they name it after me. It's a disturbing trend.
08:58: It's interesting how accepting of aircraft noise americans are compared with australia. Here airports seem to mostly be in the middle of urban areas and people just put up with the noise. We even have a military airport near us. People just tune of the noise (although that is a little hard to do with fighters during takeoff). In australia there would be a riot...
09:03: Oh, that explains the aircraft noise. Military transports seem to be coming into Moffett at the moment at about one every five minutes. We're on the landing path.
18:29: Beer at work is good
18:46: In fact all beer is good
Tags for this post: blather( )
posted at: 18:46 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 10 May 2007
|
|
|
|
|
 |
|
 |
|
06:52: About to blog about blather
07:07: I can't remember the HTML entity for left square bracket!
07:07: Oh, it's [
07:10: I think Blather would be more compelling if I had something to say. Heh.
08:25: Apparently there is a town in Germany called
08:25: Fucking. Just saying.
10:56: Quote: "If you thought my joke about the Coriolis effect was funny, I predict no one wanted to have sex with you in the past week. And next week isnt looking good for you either." http://dilbertblog.typepad.com/the_dilbert_blog/2007/05/im_a_morning_pe.html
11:09: Fixed a unicode bug in blather
13:18: Fire alarm in my building
13:18: Apparently slightly-older-Michael's cube was "on fire"
13:18: But in a no-fire-present kind of way
17:58: At the dentist yet again... Fourth time in two months.
19:01: Commands to get the Zalman HD160 LCD and remote control working with MythTV:
19:01: - sudo ./irserver -debug_code /dev/ttyUSB0
19:02: - sudo ./server/LCDd -c LCDd.conf
19:03: I really should add that to the init script, given I had completely forgotten what commands to run since the last reboot 38 days ago
19:47: Blather is quite useful for short notes
19:47: If you're on Ubuntu Feisty Fawn, and you reboot a machine with an nvidia card, and XV video acceleration stops working
19:48: (This might exhibit as itself as videos not having any pictures, while still having audio in players like MythTV)
19:48: Then you need to: sudo apt-get install nvidia-glx-new
19:48: And restart X
Tags for this post: blather( )
posted at: 19:48 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
This post is brought to you by jet lag (I got up at 5am and couldn't get back to sleep), music (the Black Eyed Peas!), morning coffee, and my confusion about Twitter.
Another thing I don't understand about Twitter is given it's simplicity why it hasn't been implemented by three billion sites by now. To that end, I give you blather, a gtalkbot module that implements Twitter-like features for blosxom (the blog engine I use for this site).
Here's the code:
#!/usr/bin/python2.4
#
# Copyright (c) Michael Still 2007, released under the terms of the GNU GPL v2
"""blather.py -- a very simple replacement for Twitter that works with blosxom
"""
import cPickle
import datetime
import os
# This is the location to write the blog files to, you'll need to customise it
_prefix = '/data/stillhq.com/blather/'
def Verbs():
"""Verbs -- return the verbs which this module supports"""
return ['b']
def Status():
"""Status -- suggest a message to display as the status string for the bot"""
return 'Blathering away'
def Help(verb):
"""Help -- display help for a verb"""
if verb == 'b':
return 'Use this to have whatever you say blogged in the blather category'
return ''
def Command(verb, line):
"""Command -- execute a given verb with these arguments"""
if verb == 'b':
data = {}
filename = datetime.datetime.now().strftime('%Y%m%d')
print 'Blathering %s into %s' %(line, filename)
# Load the pickle for this day (if it exists)
p_filename = '%s%s.pkl' %(_prefix, filename)
if os.path.exists(p_filename):
p_file = open(p_filename, 'r')
data = cPickle.load(p_file)
p_file.close()
else:
data['upto'] = 0
# Append this message to the pickle
data[data['upto'] + 1] = '>b<%s>/b<: %s>br/<' \
%(datetime.datetime.now().strftime('%H:%M'), line)
data['upto'] += 1
# Save our state
p_file = open(p_filename, 'w')
cPickle.dump(data, p_file)
p_file.close()
# And then churn out some HTML
b_filename = '%s%s.blog' %(_prefix, filename)
b_file = open(b_filename, 'w')
b_file.write('Blathering for %s\n'
% datetime.datetime.now().strftime('%A, %d %B %Y'))
for i in range(1, data['upto'] + 1):
b_file.write('%s\n' % data[i])
b_file.write('\n[btags: ]')
b_file.close()
return "Done"
return 'Huh?'
def Cleanup():
"""Cleanup -- you're about to be unloaded"""
return
# Do initialisation here
print u'blather_bot is loading'
This took about 15 minutes to write using gtalkbot (which does basically all the heavy lifting). Now I can IM messages to my home machine, it will generate a blog post per day of the IM messages, and they then get pushed to the live site regularly. Cool, huh?
Tags for this post: blather( )
posted at: 07:07 | path: /blather | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 09 May 2007
|
|
|
|
|
 |
|
 |
|
Welcome to Mikal's badly organised travel tips. On the trip to Dublin I
flew Virgin Atlantic premium economy. That's kind of like anyone else's
business class, given the classes on Virgin are economy, premium
economy, and upper class. It's much cheaper than anyone else's business
class fare to Heathrow though. I thought that premium economy was pretty
good... The seats are old and both of the ones I sat in were subtly
broken, but the seat spacing is excellent, the seat is wider than
normal, and reclines just that little extra.
The extra money was worth it given I got off the plane and walked
straight into a meeting in Dublin, and on the return flight I got a heap
of work done. Premium economy even offers power for laptops, although my
corporate-issue iGo doesn't work with the new Lenovo x60, and Virgin
didn't have a tip for the x60 in their collection. That's a pretty
common compliant with the newer Intel Core2 laptops though -- they draw
too much power for older universal power supplies. I got around the
power problem with two "eight hour" batteries for the x60. The quotes
are because I actually get more like four or five hours off these
batteries rather than the claimed eight hours.
(Oh, by the way, the x60 rocks. Small. Light. Insanely fast with it's
dual processors. I sent some time running a script which did a lot of
processing and IO though, and the machine got too hot to sit on my lap!)
I've now flown premium economy on the upper and lower deck of the 747,
and the upper deck is clearly better. On the top deck you get a deck
shared only with premium and upper class (Virgin's first class), a
reading station with newspapers and magazines, a slightly quieter ride,
and you don't have people walking past to economy making snob comments.
On the down side, you do end up with a much smaller overhead bin.
Basically no one's bag fitted in it. There is a big coat locker though,
so it's not like your bag is far away.
If you have a window seat, then you also get a small vertical locker
next to you, which is a nice place to put your laptop and ipod during
takeoff and landing.
On the lower deck you get all the economy people walking past, and in
fact they seem to wander into the premium section of the plane during
the flight. Often they would just stand there looking at me work, which
was a bit rude. You also share a bathroom with the rest of the economy
cabin, unlike upstairs. That leads to congestion. Worst of all, the
premium section is on either side of the forward galley. That means
constant staff movement next to you, light, and noise. Luckily for me I
was flying while trying to stay awake, I would have found this really
annoying otherwise.
You do get a big overhead bin though.
So, premium economy good, although the seats could do with some basic
maintenance. I'd pick it over standard economy any day.
Other random notes: Virgin staff are nice, there is video on demand in
all seats (which means of the airlines I have flown Qantas, New Zealand
and Virgin have this -- unlike United). In fact, Virgin was really good
all round.
Tags for this post: travel( ) airlines( )
posted at: 12:14 | path: /travel/airlines | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
|
|
|
|
|
 |
|
 |
|
I occasionally wonder to myself why I don't blog more these days, and I
think the answer is that I'm not convinced that other people would be
interested in what happens to me from day to day. For example, when
writing the books, all that is really involved is a massive amount of
time in front of a computer. The finished product is cool, but the
process of producing it is actually quite boring.
(Although I feel that I will one day write up my universal theory of
project management... The short summary is something like: "project
management is about removing obstacles to delivery of the project -- not
deadlines, hassling, gantt charts, or general futzing". Or something
like that.)
The Dublin trip is similar. I had a good time, although am very tired. I
flew Virgin Atlantic premium economy from San Francisco to Heathrow, and
then BMI to Dublin. Virgin is great, BMI suck even more than I could
have imagined. For example -- they advertise that they have the best
on time record of any LHR flying airline, but they were late every
time on my trip. Oh, and one of the planes had a power generation engine
which didn't work, so we had to deplane in the dark. Oh, and no food. So
much suck.
(Oh, and who knew that the EU had instituted US style 3 ounce / 100
millilitre zip lock bag policies? I didn't.)
BMI also seem to have a policy of hiring midgets as flight attendants.
They were all young women of about five foot tall. I guess that's
convenient in a short aircraft, but where does one find a large stock of
midgets to hire from?
The hotel in Dublin was fantastic. It's called the Berkeley Court, and
there is no point in saying much more about it because it's being torn
down to build office buildings and apartments. How crap. I can't imagine
owning one of the lovely Victorian terraces across the street either
during or after the construction of yet another identical looking office
building.
Dublin seems to be all about economic growth at the moment. There are
plenty of identical looking office buildings around -- some of them even
built on top of sites of historical artifacts like Viking settlements.
Apparently they didn't even stop to dig up the old things before
concreting over them.
I liked Dublin though.
It was also odd to see Sinn Fein posters all over the place. I find the
transition from the political wing of the IRA to being a main stream
political party to be quite strange. (That sentence used to be more
harsh, but I edited it down).
Another odd thing was to discover the stereotypes are true (to a certain
extent). There are plenty of drunk folk on the streets on weekends from
about lunch onwards.
I got lots of tourist stuff done in Dublin, but didn't see much of the
countryside. Perhaps next time. I did see the National Museum (bog
people!), the Chester Beattie National Library (ancient religious
texts!), Dublin Castle (Sinead O'Conner in concert preparations!),
Malahide Castle, the south wall, and other stuff I don't remember at the
moment.
So there you go. I figure no one finds these posts interesting, so I
will continue to write them solely when it amuses me.
Tags for this post: travel( ) ireland( ) dublin( )
posted at: 07:08 | path: /travel/ireland/dublin | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 04 May 2007
|
|
|
|
|
 |
|
 |
|
Thu, 03 May 2007
|
|
|
|
|
 |
|
 |
|
SMH article
and
the actual site
It's logical really:
- Some Australian teachers are perceived as sucking by their students
- The students rate them on line, thus exercising free speech
- The teachers can't face a life of people knowing that other people think they suck
- Teacher's federation proposes some crazy firewall scheme
Hurrah! Censorship is always the answer.
Tags for this post: link( )
posted at: 03:30 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 02 May 2007
|
|
|
|
|
 |
|
 |
|
Tue, 01 May 2007
|
|
|
|
|
 |
|
 |
|
Hi. I have a list of the domain portion of URLs which looks a bit like this:
Whois lookup for fycnds.digitalpoimt.com
Whois lookup for wvgpzdea.digitalpoimt.com
Whois lookup for zhnsht.digitalpoimt.com
Whois lookup for frigo25.php5.cz
Whois lookup for handrovina.php5.cz
Whois lookup for blabota.php5.cz
Whois lookup for pctuzing.php5.cz
Whois lookup for viagraviagra.php5.cz
Whois lookup for poiu.php5.cz
Whois lookup for flasa.php5.cz
Whois lookup for yoy4.digitalpoimt.com
Whois lookup for hskly.digitalpoimt.com
Whois lookup for 2i0wjwbc.digitalpoimt.com
Whois lookup for harnhjc.digitalpoimt.com
Whois lookup for gqru.digitalpoimt.com
I need some code which determines which portion of these hostnames is a whois-able domain name. My problem is this doesn't seem all that simple to do -- some countries have a second layer of TLDs, and some do not.
Does anyone know of a python library, or failing that simple algorithm, which will do this for me?
(For those left wondering, I am trying to do some analysis of the spam I get on this blog, and for that I want to know if the whois information for a domain that left a suspect comment indicates anything suspicious.)
Tags for this post: python( )
posted at: 21:00 | path: /python | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 29 Apr 2007
|
|
|
|
|
 |
|
 |
|
Thu, 26 Apr 2007
|
|
|
|
|
 |
|
 |
|
Mon, 23 Apr 2007
|
|
|
|
|
 |
|
 |
|
It's nice to see people trying to help me out after mini rant about Hotmail. I guess my point is that there shouldn't need to be third party tools to work around the brokenness in hotmail. Hotmail should just not lock users in.
And on the import to Gmail front, the answer is relatively simple. You can you thunderbird to point to the hotmail pop thingie, and then just use the redirect extension to redirect the mail to the new Gmail mailbox.
Tags for this post: microsoft( )
posted at: 08:26 | path: /microsoft | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 22 Apr 2007
|
|
|
|
|
 |
|
 |
|
Gee, does anyone else think it's lame that Microsoft doesn't appear to have a free POP server for hotmail? My mother in law is stuck in hotmail land, and it amazes me that Microsoft is effectively holding her email hostage. So lame. So lame.
Tags for this post: microsoft( )
posted at: 22:03 | path: /microsoft | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
If you're an ACM member, or read ACM transactions on computer systems, or have a corporate membership to the ACM portal, then you really should checkout Inferring Internet denial-of-service activity. It's a surprisingly simple method of determining how common denial of service attacks really are on the Internet. Like all good ideas, it's also really obvious once it's been pointed out.
@article{1132027,
author = {David Moore and Colleen Shannon and Douglas J. Brown and Geoffrey M. Voelker and Stefan Savage},
title = {Inferring Internet denial-of-service activity},
journal = {ACM Trans. Comput. Syst.},
volume = {24},
number = {2},
year = {2006},
issn = {0734-2071},
pages = {115--139},
doi = {http://doi.acm.org/10.1145/1132026.1132027},
publisher = {ACM Press},
address = {New York, NY, USA},
}
Tags for this post: link( )
posted at: 09:12 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 21 Apr 2007
|
|
|
|
|
 |
|
 |
|
Just saw a documentary about the Air America drug smuggling operation. It's really interesting -- modified light planes, flying into storms to avoid detection, basically not being as dumb as your average smuggler. There is a New York Times article online about the gang.
Tags for this post: link( )
posted at: 14:06 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 16 Apr 2007
|
|
|
|
|
 |
|
 |
|
Mark Pilgrim is a smart guy, and he's right that the correct time to start writing is while you have that sense of wonder. That was the big difference in the approaches I took with the ImageMagick book (an attempt to be definitive and therefore boring to write), versus the MythTV book (a cleaned up version of my lab book notes from when I installed Myth and got it working nicely, with some other stuff added for completeness). The MythTV book was a lot more fun to write, and I don't feel nearly as burnt out at the end.
Read more about Mark's burnout theory.
So, I wonder what is next for me?
Tags for this post: link( )
posted at: 18:59 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 15 Apr 2007
|
|
|
|
|
 |
|
 |
|
I find that I have these odd periods at the end of big projects. I wander around for a bit wondering what I am meant to do now that the burningly urgent things are off my todo list. This time normally ends up being playing with the kids, watching TV or being mopey.
I offer this little sequence as the blog form of a holding pattern until I know what I am going to work on next...
The other day I discovered that I no longer know who I am all the time. Specifically, slack unsets the environment, which means that the whoami command no longer works when you are running a command as root. To whit:
sudo bash
Password:
root@machine:~# whoami
root
root@machine:~# echo $SUDO_USER
mikal
So, if SUDO_USER is unset, how do I determine who the command is running as? Well, my immediate thought was that /proc would have something, and in fact it does. Here is what I ended up with:
root@machine:~# cat /proc/$$/environ | sed 's/[^[:print:]]/\n/g' | grep USERNAME
USERNAME=mikal
Horrible, isn't it? I must also admit that I had to get onto IRC and wait for Jaq to teach me about that :print: thing. Good on him for being nerdier than me.
So, that's still horrible. So horrible. What else can I do? Someone else in IRC land suggested:
root@machine:~# ps auxeww | grep $$ | sed -e 's/^.*SUDO_USER=//' -e 's/ .*$//'
root
mikal
Still ewwww. So what else is there? Well, one of the older geeks on the IRC channel suggested this:
root@machine:~# who am i
mikal pts/16 Apr 15 15:38 (:0.0)
root@machine:~# who -m
mikal pts/16 Apr 15 15:38 (:0.0)
root@machine:~# who -m | awk '{print $1}'
mikal
who am i is an alias for the -m option in who. And it's just what I want. We have a winner!
Tags for this post: blog( )
posted at: 15:58 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 14 Apr 2007
|
|
|
|
|
 |
|
 |
|
Wed, 11 Apr 2007
|
|
|
|
|
 |
|
 |
|
Sat, 07 Apr 2007
|
|
|
|
|
 |
|
 |
|
But they're still funny... As sent to my wife in IMs this evening:
(23:08:06) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/kenya/
(23:18:43) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/testy/AdventCalendar/day19.html
(23:20:16) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/demolition+squid/
(23:22:28) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/mango/
(23:23:37) mikalstill@gmail.com/Gaim: http://weebls-stuff.com/toons/cucumbers
(23:26:07) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/dear+weebl/
(23:27:13) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/giraffe/
(23:28:52) mikalstill@gmail.com/Gaim: http://www.weebls-stuff.com/toons/space+is+fun/
Ahhh, flash. Reminds me of papal wackamole.
Tags for this post: link( )
posted at: 23:35 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
The next version of gtalkbot is out. New things in this release:
- Optionally turn off authentication of clients
- Status messages suck a bit less now
- New sensors and mdstat commands for the system plugin
Get it here.
Tags for this post: gtalkbot( )
posted at: 21:56 | path: /gtalkbot | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 30 Mar 2007
|
|
|
|
|
 |
|
 |
|
Thu, 29 Mar 2007
|
|
|
|
|
 |
|
 |
|
The Boner Theory of Economics also predicts that in the long run -- perhaps in a few hundred years -- the military will be 100% gay men. This is the best case scenario for taxpayers because it will keep down costs, and recruiting will be easy.
Recruiter: "We can't afford to give you body armor, but you'll be surrounded by young, vital men who are a long way from home. Would you like a tour of the showers?"
Recruit: "Yes, but I can't stand up right away."
http://dilbertblog.typepad.com/the_dilbert_blog/2007/03/the_boner_theor.html
Tags for this post: link( )
posted at: 08:35 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 27 Mar 2007
|
|
|
|
|
 |
|
 |
|
mikal@daedalus:~/blog-comments$ find . -type f -name "*.yes" | wc -l
664
mikal@daedalus:~/blog-comments$ find . -type f -name "*.no" | wc -l
18361
mikal@daedalus:~/blog-comments$ find . -type f -name "*.blocked" | wc -l
32111
mikal@daedalus:~/blog-comments$ find . -type f -name "*.badword" | wc -l
5007
mikal@daedalus:~/blog-comments$ du -sh
506M .
664 real comments on this site, 18361 I manually said no to, 32111 were blocked based on originating IP, and 5007 contained a bad word. Andrew currently donates 506 mb of disk to hosting just comments. That seems excessive to me. I'll take the time to cleanup the disk usage in the next couple of days.
Tags for this post: blog( ) spam( )
posted at: 07:38 | path: /diary/spam | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 25 Mar 2007
|
|
|
|
|
 |
|
 |
|
I just built a sweet MythTV backup based on an Athlon X2 64 bit CPU. To get MythTV to compile, you need to change -ldts to -ldts_pic in libs/labavcodecs/Makefile.
That is all.
Tags for this post: mythtv( )
posted at: 17:56 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Thu, 22 Mar 2007
|
|
|
|
|
 |
|
 |
|
I don't mean to imply I have peaked yet myself, but this is something I wonder about sometimes. How do you tell when you're at the peak of your talent and shouldn't go for that next interesting job / project / promotion?
Presumably it happens to everyone at some stage that they end up at the edge of their competence. Ignoring additional training as an option for a second, surely it's a good measure of one's personality to therefore stop at that point. How do you know when you reach that point though?
Tags for this post: work( )
posted at: 22:21 | path: /work | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 17 Mar 2007
|
|
|
|
|
 |
|
 |
|
Fri, 16 Mar 2007
|
|
|
|
|
 |
|
 |
|
Wed, 14 Mar 2007
|
|
|
|
|
 |
|
 |
|
Tue, 06 Mar 2007
|
|
|
|
|
 |
|
 |
|
I've been wanting a query sniper for a while for MySQL (some people seem to call them "query killers"). They're basically programs which inspect the MySQL "show processlist" command and decide to kill some processes if they violate specified rules. I have a prototype of one in python, and couldn't find any other implementations until tonight when I came across Querybane, which is what Wikipedia use to do exactly the same thing.
Now, I need to think further about if querybane does what I want, especially given I can't find the source code. Perhaps it's hidden in the media wiki code somewhere? The only code for a project named "servmon" (it's parent project) that I can find is four years old and in PHP.
(Oh, by the way, the Wikipedia MySQL docs are really interesting, for example this page has some nice practical advice about replication log corruption. I wish I had found this before now for two reasons: it's nice to see how other people do this stuff; and there is some stuff I can totally steal from here.)
So, does anyone know where I can find recent querybane code? Alternatively, what do other people use as a query sniper? Is it worth open sourcing mine?
Update: Apparently what I needed to do was sleep on it, and use Google Code Search. The querybane code appears to be at http://svn.wikimedia.org/svnroot/mediawiki/trunk/servmon/. In the end it's not going to work for me, as it seems to be really based around a world in which you use IRC to keep a track of the state of your servers, which isn't something I want to do.
Tags for this post: mysql( )
posted at: 11:03 | path: /mysql | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 04 Mar 2007
|
|
|
|
|
 |
|
 |
|
Sat, 03 Mar 2007
|
|
|
|
|
 |
|
 |
|
Mon, 26 Feb 2007
|
|
|
|
|
 |
|
 |
|
Sun, 25 Feb 2007
|
|
|
|
|
 |
|
 |
|
$ ./mythnettv --statistics
Programs tracked: 385
Google EngEdu: 279
Scoble Show: 26
linux.conf.au 2007: 74
Programs still to download: 283
Google EngEdu: 202
Scoble Show: 8
linux.conf.au 2007: 73
Data transferred: 22 gb
This is why I want to queue video, and then have it download to Myth a little at a time.
Tags for this post: mythtv( ) mythnettv( )
posted at: 20:12 | path: /mythtv/mythnettv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 24 Feb 2007
|
|
|
|
|
 |
|
 |
|
Thu, 22 Feb 2007
|
|
|
|
|
 |
|
 |
|
Wed, 21 Feb 2007
|
|
|
|
|
 |
|
 |
|
Mon, 19 Feb 2007
|
|
|
|
|
 |
|
 |
|
Just announced. It was either do the washing, or this:
Date: Mon, 19 Feb 2007 10:11:09 -0800
From: Michael Still
To: Discussion about mythtv
Subject: MythIPTV Beta 2
Hi again.
There's a new version of MythIPTV now at http://www.stillhq.com/mythtv/mythiptv/source/beta-2/
This version adds the following:
- subscription management: you can add RSS URLs to watch,
list them, update them (download new versions of the XML and
import the shows), and remove them
- ad hoc video management: add a remote URL to the TODO list,
download a remote URL and import it now, import a local file
- transcoding: it's quite probable that you'll encounter a
video format which isn't know. Please report it if you do
- statistics: how many programs do I have? how many are waiting
to download? how much data have I downloaded so far?
- reporting: what shows would be downloaded next? what does the
internal log say about the state of MythIPTV?
Once again, this is a beta, so good backups are needed. I would love more feedback.
Oh, and you _really_ need mplayer and mencoder installed now. Really.
Cheers,
Mikal
Tags for this post: mythtv( ) mythnettv( )
posted at: 10:11 | path: /mythtv/mythnettv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Just announced. It was either do the washing, or this:
Date: Mon, 19 Feb 2007 10:11:09 -0800
From: Michael Still
To: Discussion about mythtv
Subject: MythIPTV Beta 2
Hi again.
There's a new version of MythIPTV now at http://www.stillhq.com/mythtv/mythiptv/source/beta-2/
This version adds the following:
- subscription management: you can add RSS URLs to watch,
list them, update them (download new versions of the XML and
import the shows), and remove them
- ad hoc video management: add a remote URL to the TODO list,
download a remote URL and import it now, import a local file
- transcoding: it's quite probable that you'll encounter a
video format which isn't know. Please report it if you do
- statistics: how many programs do I have? how many are waiting
to download? how much data have I downloaded so far?
- reporting: what shows would be downloaded next? what does the
internal log say about the state of MythIPTV?
Once again, this is a beta, so good backups are needed. I would love more feedback.
Oh, and you _really_ need mplayer and mencoder installed now. Really.
Cheers,
Mikal
Tags for this post: mythtv( ) mythiptv( )
posted at: 10:11 | path: /mythtv/mythiptv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 17 Feb 2007
|
|
|
|
|
 |
|
 |
|
Some folk at LCA expressed interest in my video blog aggregator for MythTV. I've cleaned it up, and just sent out the first release:
Date: Sat, 17 Feb 2007 09:38:04 -0800
From: Michael Still
To: Discussion about mythtv
Subject: MythIpTv Beta 1
Hi.
I've been recently wanting a video blog aggregator which integrates with
MythTV. Specifically, I wanted the videos to appear as recordings. I've
had a horrible script for that for a few months, but ended up cleaning
it up when it occurred to me that Akimbo (http://www.akimbo.com) is just
a per user RSS feed, and something a lot like MythTV.
So, I wrote MythIpTv. It takes RSS feeds, imports the entries in the
feed and builds a TODO list. It then downloads shows and imports them
into the MythTV recordings menu.
The code has only been tested by me, so if you're interested in giving
it a try, please take good backups. You can find the code here:
http://www.stillhq.com/mythtv/mythiptv/source/beta-1/mythiptv
Before use, you need to make a temporary data directory in your current
working directory:
mkdir data
You use mythiptv like this:
./mythiptv --url <url to RSS feed> <show title>
or
./mythiptv --file <RSS file on local disk> <show title>
I've been using Google Video to test this, as the AVI format they use is
natively supported by the MythTV player. This isn't true for a lot of
RSS feeds and transcoding isn't implemented yet, so if you want
something to test with, you might want to use the same command line as me:
./mythiptv --url
"http://video.google.com/videofeed?type=search&q=engedu&so=1&num=20&output=rss"
"Goole EngEdu"
That command just builds a TODO list. You then need to download some of
the shows. You do that like this:
./mythiptv --download <number of shows to download>
Once downloaded, the shows will appear in the recordings menu.
I would be really interested in people's comments on the code, and
suggestions for improvement. There are a couple of things I know about
already:
- it really needs transcoding
- the is no graphical UI yet
Cheers,
Mikal
Tags for this post: mythtv( ) mythnettv( )
posted at: 09:41 | path: /mythtv/mythnettv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Some folk at LCA expressed interest in my video blog aggregator for MythTV. I've cleaned it up, and just sent out the first release:
Date: Sat, 17 Feb 2007 09:38:04 -0800
From: Michael Still
To: Discussion about mythtv
Subject: MythIpTv Beta 1
Hi.
I've been recently wanting a video blog aggregator which integrates with
MythTV. Specifically, I wanted the videos to appear as recordings. I've
had a horrible script for that for a few months, but ended up cleaning
it up when it occurred to me that Akimbo (http://www.akimbo.com) is just
a per user RSS feed, and something a lot like MythTV.
So, I wrote MythIpTv. It takes RSS feeds, imports the entries in the
feed and builds a TODO list. It then downloads shows and imports them
into the MythTV recordings menu.
The code has only been tested by me, so if you're interested in giving
it a try, please take good backups. You can find the code here:
http://www.stillhq.com/mythtv/mythiptv/source/beta-1/mythiptv
Before use, you need to make a temporary data directory in your current
working directory:
mkdir data
You use mythiptv like this:
./mythiptv --url <url to RSS feed> <show title>
or
./mythiptv --file <RSS file on local disk> <show title>
I've been using Google Video to test this, as the AVI format they use is
natively supported by the MythTV player. This isn't true for a lot of
RSS feeds and transcoding isn't implemented yet, so if you want
something to test with, you might want to use the same command line as me:
./mythiptv --url
"http://video.google.com/videofeed?type=search&q=engedu&so=1&num=20&output=rss"
"Goole EngEdu"
That command just builds a TODO list. You then need to download some of
the shows. You do that like this:
./mythiptv --download <number of shows to download>
Once downloaded, the shows will appear in the recordings menu.
I would be really interested in people's comments on the code, and
suggestions for improvement. There are a couple of things I know about
already:
- it really needs transcoding
- the is no graphical UI yet
Cheers,
Mikal
Tags for this post: mythtv( ) mythiptv( )
posted at: 09:41 | path: /mythtv/mythiptv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 14 Feb 2007
|
|
|
|
|
 |
|
 |
|
30437 packets transmitted, 21115 received, +3 errors, 30% packet loss, time 38021698ms
rtt min/avg/max/mdev = 12.129/64.408/5570.688/243.437 ms, pipe 6
Tags for this post: blog( )
posted at: 07:55 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Tue, 13 Feb 2007
|
|
|
|
|
 |
|
 |
|
I have worked from Mountain View, Lake Tahoe, Monterey, two kinds of buses, and a rental car in the last two weeks. I guess that might explain why I am so behind on email. I'm also doing page layout reviews for the MythTV book, which is exciting, but takes a lot of time.
The reality? If you're email is important, I will probably get back to you as soon as I can. Sorry.
Tags for this post: blog( )
posted at: 20:36 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 11 Feb 2007
|
|
|
|
|
 |
|
 |
|
Bad night's sleep (Matt's sick), 100 pages of technical book read, five loads of washing, 50 pages of kids book, a trip to the computer store and toy store with the kids. I think I know why I am tried.
Tags for this post: blog( )
posted at: 21:46 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 07 Feb 2007
|
|
|
|
|
 |
|
 |
|
Sun, 04 Feb 2007
|
|
|
|
|
 |
|
 |
|
Sat, 03 Feb 2007
|
|
|
|
|
 |
|
 |
|
The NFL apparently nastygrammed a church for planning to host a Super Bowl party. The original complaint was first that the church was charging people, but also that they used the term "Super Bowl" (as if people would somehow believe that the church was associated with the NFL?). After the church agreed to let people in for free and not use the term, the NFL continued to complain, saying that showing the Super Bowl on a screen larger than 55 inches represents copyright infringement.
http://techdirt.com/articles/20070201/140812.shtml
Tags for this post: link( )
posted at: 13:05 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Wed, 31 Jan 2007
|
|
|
|
|
 |
|
 |
|
I hope no one is paying Secunia for their security advisories. I release gtalkbot 1.0 (where you had to pass the GTalk user name and password on the command line), and then changed that behaviour in 1.1. The Secunia rocket scientists figured out all by themselves that this was bad. Bad enough for a security advisory?
A security issue has been reported in gtalkbot, which can be exploited by malicious, local users to disclose sensitive information.
The problem is that certain user credentials are passed to the application as arguments on the command line. This can be exploited to gain knowledge of usernames and passwords of other services via the process list.
The security issue is reported in versions prior to 1.1.
Ummm, the GTalk account is created for the purpose, and so it's not uber secure anyways. In fact, it's only visible to local users, who are presumably trusted anyways given that gtalkbot also needs the unauthenticated telnet interface to MythTV enabled to work. Wow. I assume that Secunia just reads every FreshMeat security release, and makes an announcement about it. Oh, and those three nearly paragraphs took over two weeks!
Update: but wait, there's more! I made it into the US Federal Government's vulnerability database too, complete with an incorrect "Authentication: Not required to exploit". I guess the Feds can't read python code?
Update: perhaps Secunia is just reprinting this lame advisory? Do these people just reprint each other's work all the time? Again with the hoping people aren't earning money by making suckers think they're helping...
The fun continues: yay for SecWatch and systembodyguard!
Tags for this post: gtalkbot( )
posted at: 22:08 | path: /gtalkbot | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 22 Jan 2007
|
|
|
|
|
 |
|
 |
|
On Friday, an aircraft hired by Google will be doing a series of low-level swoops over parts of Sydney, photographing the ground and waters below.
The three-seater plane, decked out in Google livery, will have special permission to fly at an altitude of 600m.
Providing the photographs turn out to be good enough quality, the images will be integrated into Google Maps, the free online mapping service used by millions of people around the world.
Via SMH, links to Google site about the flyover.
Tags for this post: link( )
posted at: 16:05 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Slides are online, and the talk was videoed, so I imagine that the video will go online one day too.
Tags for this post: presentations( )
posted at: 15:15 | path: /presentations | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 21 Jan 2007
|
|
|
|
|
 |
|
 |
|
ScreenGrab 0.8 looks useful for authors wanting to take screen shots of entire webpages, not just the bit that fits on their screen.
Tags for this post: link( )
posted at: 16:00 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 20 Jan 2007
|
|
|
|
|
 |
|
 |
|
A fresh cup mentions the Ruby on Rails exception notifier plugin. The idea is that every time an exception is raised in your code you get an email. This is such a horrible idea that I need to take the time to comment.
As someone who spends all his time dealing with large deployments of software, email is the worst way of reporting errors I can think of. Think about it:
- Email is unreliable to deliver. It could get queued on the reporting server, a mail router on the network, or on your delivery server. Worse than that, it could get marked as spam, or randomly discarded.
- Email is expensive. There are two kinds of expense here -- email needs to be written to disk reliably, which means you sync() when you write the mail to a destination or a queue. For some MTAs, this can mean several syncs() per email as the mail moves between queues. There can be more than one of these MTAs on the way to the final delivery target as well. Additionally, storing email at the destination is expensive. Think of the backups, virus scanning, spam scanning, caching on clients and so forth.
- Email is wasteful. Think of all those headers for probably only a couple of lines or actual error to report.
- One email can result in many deliveries. To make the expense worse, your one email might get delivered many times. Think aliases, blackberries and mailing lists.
- Email is dumb. You wont get a summary of repetition -- if there are 10,000 errors, you'll get 10,000 emails. Try wading through those trying to work out what went wrong.
- The email could result in other outages. Most MTAs are built to handle "normal workloads". Delivering 10,000 errors could end up with an unrelated outage taking down the mail system as well.
- You probably don't care anyway. An exception indicates a bug in your code which you don't know how to handle. The server should just crash and restart at that point... There isn't anything that the exception will really help with here. A bug should be reported instead for new instances of exceptions (you could automate this).
A better solution? Write log entries to disk when these exceptions are seen, and then provide summaries to developers and operations engineers -- perhaps as email, perhaps as something else. Report on the rate of these errors, and the count of the number of errors seen recently. These are much lower volume, so email would be an ok solution here.
Tags for this post: reliability( ) engineering( )
posted at: 17:46 | path: /reliability/engineering | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 19 Jan 2007
|
|
|
|
|
 |
|
 |
|
Thu, 18 Jan 2007
|
|
|
|
|
 |
|
 |
|
Ted T'so just mentioned in his LCA 2007 talk that larger inode sizes improves the speed of Samba 4. This is because you can fit more file attributes in the inode. I can't find a reference to the benchmark results online quickly, but wanted to make a note of this.
Tags for this post: link( )
posted at: 17:19 | path: /link | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sun, 14 Jan 2007
|
|
|
|
|
 |
|
 |
|
Yet another version. This one also has the path to the password file in the config file, and fixes a bug with the "query location" command in the MythTV plugin. Download it here.
Tags for this post: gtalkbot( )
posted at: 21:14 | path: /gtalkbot | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Sat, 13 Jan 2007
|
|
|
|
|
 |
|
 |
|
...it's just he really likes Catherine's palm.
Tags for this post: matthew( )
posted at: 14:54 | path: /matthew | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 12 Jan 2007
|
|
|
|
|
 |
|
 |
|
This version now has a config file with the username and password to connect to stored in it, along with the path to the plugins directory. This is much more secure... Download it here.
Tags for this post: gtalkbot( )
posted at: 20:33 | path: /gtalkbot | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
I find it a little hard to believe I am the first to use an Intel Core 2 Duo for MythTV stuff, but I can't find anyone else reporting this to the MythTV users list...
mythtv@mythtv2:~/Desktop/mythtv-0.20$ ./configure
*** WARNING ***
Your CPU was not detected properly:
uname -m: i686
uname -p: unknown
model name: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor
ds_cpl vmx est tm2 cx16 xtpr lahf_lm
If you are using a recent CVS checkout,
please e-mail the above to mythtv-users@mythtv.org
With the subject "configure did not detect my cpu"
Tags for this post: mythtv( )
posted at: 16:27 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 08 Jan 2007
|
|
|
|
|
 |
|
 |
|
Sun, 07 Jan 2007
|
|
|
|
|
 |
|
 |
|
Sat, 06 Jan 2007
|
|
|
|
|
 |
|
 |
|
Picante chicken: take 1.5 cups of picate sauce from the bottle. Add 3 tablespoons of brown sugar. Add 1 tablespoon of mustard. Mix. Add cut up bits of chicken. Cook at 400F for 20 minutes. Serve with rice.
Tags for this post: blog( )
posted at: 18:35 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
I'm avoiding doing paper work for work, and chapter edits for the MythTV book by writing a video aggregator. I have Media RSS feeds working, and normal RSS 2.0 with enclosures working. I have two questions:
- Are there any other feed formats I should worry about?
- What are some good (as in not horribly boring) feeds that I should now watch?
That's right, I built the aggregator, before I had anything to aggregate. Now I have this hammer, and must hit things with it... I'll talk more about the aggregator itself when I've done a little more testing, but I think it's pretty cool.
Tags for this post: blog( )
posted at: 09:05 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
I've been playing with a new video aggregator (more details later!), and wanted some content, so I headed over to scobleshow.com. I'm disappointed to see that the videos only appear to be available as MP4s, and that the feed doesn't use anything but enclosures -- I was hoping for something nicer like Media RSS which would let him have content in lots of other formats.
It just seems silly to me that if I watch a video on a laptop or a television, that it has to be encoded for an iPod... Especially if he's using a nice high resolution camera, and then throwing all those extra pixels out...
Tags for this post: blog( )
posted at: 08:23 | path: /diary | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Fri, 05 Jan 2007
|
|
|
|
|
 |
|
 |
|
I had one of those moments tonight, and accidentally dropped the mythconverg database on my production MythTV instance, not the development one. This made me sad. Luckily I had a backup which was only a week old (although I am now running night backups of that database).
Recovery wasn't too bad once I wrote some code. The steps:
- Restore from backup
- Don't run mythfilldatabase (it will clear out old guide data, and we need it)
- Apply my funky patch to myth.rebuilddatabase.pl
- Run myth.rebuilddatabase.pl
- Run mythfilldatabase
And all is well again. The patch uses the guide data from the database to make an educated guess about the title, subtitle and description of the recordings which are missing from the database. Here's the patch:
Index: myth.rebuilddatabase.pl
===================================================================
--- myth.rebuilddatabase.pl (revision 11681)
+++ myth.rebuilddatabase.pl (working copy)
@@ -185,6 +185,7 @@
'norename'=>\$norename
);
+print "db = dbi:mysql:database=$database:host=$dbhost user = $user pass = $pass\n";
my $dbh = DBI->connect("dbi:mysql:database=$database:host=$dbhost",
"$user","$pass") or die "Cannot connect to database ($!)\n";
@@ -314,6 +315,7 @@
# have enough to look for an past recording?
if ($ssecond) {
+ print "Checking for a recording...\n";
$starttime = "$syear$smonth$sday$shour$sminute$ssecond";
my $guess = "select title, subtitle, description from oldrecorded where chanid=(?) and starttime=(?)";
@@ -333,6 +335,24 @@
print "End time: $emonth/$eday/$eyear - $ehour:$eminute:$esecond\n";
}
+ # what about checking for guide data?
+ if($guess_description =~ /^Recovered file/) {
+ print "Checking for guide data...\n";
+ my $guess = "select title, subtitle, description from program where chanid='$channel'".
+ " and starttime='$syear-$smonth-$sday $shour:$sminute:$ssecond'";
+ print "$guess\n";
+ $sth = $dbh->prepare($guess);
+ $sth->execute()
+ or die "Could not execute ($guess)\n";
+
+ if (my @row = $sth->fetchrow_array) {
+ $guess_title = $row[0];
+ $guess_subtitle = $row[1];
+ $guess_description = $row[2];
+ print "Using guide data informaton for defaults\n";
+ }
+ }
+
my $newtitle = $guess_title;
my $newsubtitle = $guess_subtitle;
my $newdescription = $guess_description;
You can download the patch here or read the bug report.
Tags for this post: mythtv( )
posted at: 22:12 | path: /mythtv | permanent link to this entry
|
|
|
|
|
 |
|
 |
|
Mon, 01 Jan 2007
|
|
|
|
|
 |
|
 |
|
I've been playing with downloading videos and treating them as recordings in MythTV because the MythTV player is nicer than Xine, and because it works well as a demo for the linux.conf.au tutorial I am working on at the moment. I wont document it here because it's not quite ready, but it's actually quite easy and works really well.
For the impatient, a good starting point is this tip is a good starting point, the additional stuff I had to do was around setting up a channel row in the otherwise empty channel table.
Tags for this post: mythtv( )
posted at: 19:20 | path: /mythtv | permanent link to this entry
|
|
|
|
|
|