Category Archives: Tech - Page 7

Solving the Dual Tuner Satellite TiVo Dilemma

If you have a single coax line to each room in your house and DirecTV (or just about any other DBS satellite service) you may already be familiar with the fact that you can’t simply split satellite signals like you can with cable TV. Because the satellite companies use antenna (transponder) polarization to put twice as many channels on the same frequency range and they use a 22 kHz signal from the receiver to indicate which polarization should get sent down the line a regualr splitter causes problems. The solution is called a multiswitch which uses a dual-LNB satellite feed to fix one LNB to each polarization and then offer either feed to the receiver that asks for it. This is all well and good if you only have an single receiver in each room.

The problem comes when you have more than one tuner per room such as with a dual tuner TiVo system. You either need a seperate run back to the multiswitch for each tuner, or if you have more than two can use two runs and a cascading multiswitch to split the signal again. What about people who only have one run to a room and no way of adding another one without major construction? Thankfully a company called Sonora has come up with devices called Stackers and DStackers which can combine two polarizations and then split them back out again. The downside is you need both a Stacker and a DStacker which adds up to around $300 worth of additional equipment.

Personally, I think the satellite companies could think a little more creatively about this and offer a centralized tuning system with multiple modular tuners and then send only the channels you want over the coax to a receiver in the room which demodulates it and sends IR commands back to the centralized tuner system. This would also facilitate sharing the TiVo functionality to multiple rooms and lots of other cool ideas. Then again, I’m not all that impressed by the DBS satellite companies anyway, are they really any better than cable? I don’t think so.

E-books for the taking

Regular readers know I’m both a strong believer in giving away free electronic books and articles under open licensing and posting links to other free book resources as I find them. This week I was looking for a source of free e-books with nice formatting to try out one of the print on demand services and I came up with the Linux Documentation Project Guides site. I’ve been to and used the LDP site before but only for the much shorter HOWTOs. The guides section of the site contains a number of free full length refernce books in a variety of formats.

Another tool I came across that’s helpful in working with ebooks is the open source GutenMark software. As you probably already know Project Gutenberg makes public domain books freely available on the internet. If you haven’t used PG what you may not know is the majority of these are formatted only as ASCII text with hard line breaks making them quite unpleasant and difficult to read. The GutenMark software makes a best effort to make them into more readable word wrapped HTML files which can then be imported into a word processor and further refined if you so choose. Hopefully people will spend a bit of time cleaning up some of the more popular books and create versions suitable for offline prinitng and reading. I’m working on such a version of John Dewey’s Democracy and Education.

Also, if you’re not aware the Google books project has been scanning public domain books at libraries and posting the images in PDF format online. Unfortunatly, they are watermarking the files and have somewhat restrictive licensising attached to downloading them. What you may not have heard is that Microsoft, Yahoo, the Univeristy of California and several Canadian libraries are undertaking similar projects but are working with the Internet Archive Texts project which have different terms depending on who sponsered the digitization of the book. It is unfortuante that some of these sponsors (usually only the corporate ones and not the libraries) are attaching terms of use to public domain books, but it is at least somewhat nice that they are being made available at all.

In other free ebook news O’Reilly will be publishing the updated Using Samba, 3rd Edition book in January. Hopefully it will be released under the same type of free license as the previous two editions. This updated reference guide will be greatly appreciated by the SAMBA community which has made significant strides in the recent versions of their software.

Organizing Media

I’ve written at least once before about software I could use for organizing my collection of books and DVDs. At that time I thought the Home Library project looked interesting but a little immature, since that time I’ve located a more mature project with similar aims. The Open Media Lending Database (OpenDb) project seems to be just what I’m looking for. It’s clear some real thought has gone into the layout and design of the program. You can add new media type definitions through plugins, export a standardized XML listing of your holdings so you’re not locked in, loan media to others and create a library with several friends. I’ll be sure to take this for a spin in the near future and maybe even start posting some of my own media collection.

Sending SMS messages in Windows XP

If you have a GSM cell phone with either Bluetooth or Infrared technology and a Windows XP system you can save a lot of key tapping on your phone by using a free Microsoft utility to send SMS messages. First you’ll need to download and install the widget from Microsoft. Make sure your phone is paired (assuming you’re using Bluetooth) with the system and select the appropriate modem for your phone in the SMS utility and start sending messages. More detailed instructions are available from O’Reilly along with instructions for doing something similar on Mac OS X.

GRC’s Script-Free Pure-CSS Menuing System

If you’d like to do a modern drop-down menuing system for your website but want to maintain compatibility as much as possible for people browsing with scripting turned off or older browsers you might want to take a look at the GRC menuing system which is entirely done in CSS without any help from Javascript or any other scripting language. Implemented largely by Steve Gibson with help from the GRC community the menuing system has been placed in the public domain so anyone can use it for free and allows tons of customization including at least two layers of menuing. Don’t take my word for it check it out yourself at the GRC script free menuing page.

Geeks come in all flavors

Yesterday I happened across “The Power Tool Geek” blog. Written by one of the forces behind an online tool supplier I won’t say it’s not biased towards or against various brands but most people do have a favorite brand of power tool so I won’t hold that against them. Anyway it makes for an interesting read.

Retro Computing

Today I’ve got two sites of interest for the retro computing crowd. The first is the Retrozone: New school tech for old school gamers. Here you can find popular console gaming system controllers that have been converted to USB devices so you can use them for gaming on your PC (perhaps with an emulator for some of those old games). They also have kits to convert some of the less popular (or available) controllers you might own to USB. Such a kit might also be useful if you desired to build your own controller from the ground up.

Secondly, I recently heard about a possible connection between an early Atari interface and USB. The Atari museum website seems to agree:

Atari’s first two computers were called the Atari 400 and Atari 800 Personal Computer Systems. These computers had a large assortment of “Intelligent” peripherals which communicated through a custom bus called the “SIO” (Serial I/O) which compared to today standards is a rather simplistic version of the USB (Universal Serial Bus). In fact the USB and the Atari SIO have a lot more in common then many would think. One of Atari’s original computer engineers, Joe Decuir who created the Atari SIO bus is also one of the team of engineers at Microsoft to help design and holds patents on the USB.

While I don’t know the specifics of the SIO interface or how it compares with USB (other than just being a serial interface) it is an interesting tidbit of knowledge and something I don’t remember hearing anything about when USB was introduced.

Why does Debian use antiquated syslog rotation?

Overnight I got loads of “452 Insufficient system storage” errors from one of the mailservers I manage which led me on a little hunt for the problem and a delving into the mystical world of Debian log rotation.

To make a long story shorter it turns out that BIND was filling my /var/log/syslog and /var/log/daemon logs with “sysquery: no addrs found for root NS” entries to the tune of 100s a minute bloating my logs to the point they filled my /var partition completely grinding Postfix to a halt because the chroot jail it runs in is on the /var partition.

Obviously the first step was to fix the BIND error that was filling the logs. This is actually a pretty easy fix and simply involved re-creating the db.cache file which was out of date (probably thanks to the use of generally reliable upstream DNS servers). All it took to fix this was updating the file:

cd /etc/bind
dig @m.root-servers.net. ns . > db.cache.tmp
mv db.cache.tmp db.cache
/etc/init.d/bind reload

The next step was to free up some space on the /var partition. I could probably have just deleted the offending files but because they wouldn’t take up much space when compressed and I hate to screw up the log rotation process I decided to rotate them a few times myself. I could probably have done this manually but didn’t know how the log rotation process worked in Debian and was afraid of throwing it for a loop if I did this so I wanted to do it using the rotation tool itself.

As it turns out Debian ships with a highly configurable log rotation tool (it’s really great you can seletivly rotate based on all sorts of conditions) called logrotate which I believe can originally be attributed to coders at Red Hat. Unfortunatly the standard Debian setup does not actually use it for rotating the syslog file which is exactly what I needed to rotate.

After some digging it turns out Debian uses a kludged together script located at /etc/cron.daily/sysklogd for rotating the syslog. This isn’t the first time that someone has pointed out the sillyness of having such a script as this posting from 1999 I found clearly indicates it’s been a longstanding issue. Why the developers didn’t switch to using the logrotate program for the syslog when they started including it is beyond me. It seems that it would be easy enough to make the changeover unless I’m missing something in which case I would appreciate hearing the concern with doing this.

Of course others have pointed out that the standard syslog daemon leaves a lot to be desired so you could even read about how to change that out to something more configurable at the Debian-Administration site.

Synchronizing Thunderbird and Pocket PC

One of the things I’ve missed out on by using the fantastic Mozilla Thunderbird email client has been the ability for me to synchronize it with my PocketPC. Because I use an IMAP email server this didn’t really present a problem as far as email goes but it has left me dead in the water for a calendaring solution.

For a while I tried using the calendar solely on my PocketPC but because I don’t have my PocketPC with me everywhere I go that didn’t last very long. In the end I resorted to using a great open source php web-based calendar program. This allowed me to access the calendar from anywhere and sync it with calendar programs on my PC using the iCal standard. Unfortunatly the PocketPC doesn’t support iCal syncing so again I was dead in the water and could only use the calendar when I had web access.

Recently I ran across the open source FinchSync project which claims to be “a tool for synchronizing contacts, appointments and tasks from Mozilla email and calendar products with a Pocket PC or SmartPhone”. While I’ve been too busy to get it up and running it yet looks like a promising solution that might actually allow me to use my PocketPC device as a calendar which would come in handy from time to time. FinchSync is cross platform and allows syncing over IP so you don’t even need to be running it on the PC you normally dock the PocketPC device with.

More free e-books

In addition to some of the other free e-book resources I’ve mentioned in the past is this latest addition. It seems that renowned computer book publisher, O’Reilly has put some of their out of print books and some books that have been written under open licenses up on their “Open Books” website for free download.

I wish that more publishers would do this. It really makes sense, especially with older books. Once a book (or a paper or conference proceedings for the more academic among us) goes out of print it can become quite difficult to get ahold of a copy. If I were a publisher I would make my catalog available for free on the internet but provide links for people to purchase print copies (even of out-of print titles, doable with new short-run printing technology). After all, if it’s really a useful or interesting book most people still want a paper copy, in effect you’re letting the book sell itself. Of course if the book is junk you won’t sell very many copies but I don’t especially have a problem with that.