
My name is
David Robins:
Christian, lead developer (resume), writer, photographer, runner,
libertarian (voluntaryist),
and student.
This is also my son David Geoffrey Robins' site.
The Ministry of Silly Questions
News ·Saturday November 18, 2006 @ 06:28 EST (link)
I'm writing up a few "M0" (milestone zero, that is, code cleanup and reorganization) proposals, based on a stack of six densely written post-it notes spanning the project. Most items are small, like fixing bad Hungarian, and I've already fixed them and put the changes into a diff; a couple are larger:
- Remove use of setjmp and longjmp from Word: Some older code uses the C setjmp and longjmp intrinsics as exceptions; ideally these should go away as they don't play well with real C++ exceptions. Along the way I'm also removing a legacy math library.
- Clean up the Word object model dispatch: We dispatch to C functions, rather than to a class method, for one thing. Also want to add pre/post task handlers (e.g. drawing methods need setup/cleanup) and enable/disable flags (e.g. since Word doesn't do reentrancy well, most mutators would be disabled when in an event handler such as New Document). Fortunately since I added a (debug only) object model logger in Office 12 (2007), there's already code to intercept object model calls which will make a good starting place to handle flag checking and pre/post-dispatch tasks.
Ministry of Silly Questions: I didn't send in my citizenship application when I mentioned it before, but now I plan to. The N-400 naturalization form has several questions that one might regard as silly, e.g. asking if people have been Communists, helped the Nazis, lied on tax returns, illegally voted, are terrorists, been deported (or are currently being deported!), dodged the draft, deserted, support the Constitution, persecuted people, been jailed, sold illegal drugs, gambled illegally, helped people enter the US illegally, committed bigamy/polygamy, etc. But I think the purpose of the questions is twofold: first, to give people a chance to confess to and explain any lesser items (for many they allow attaching an explanatory page, e.g. "Yes, I was a member of the Communist party, but I would have been killed otherwise"), and second, to let people incriminate themselves, so that if evidence of breach is found, and the person has lied in black and white, they can be more easily denied than if there was no such question.
DVDspot added the remainder of my DVDs; I have six contributions now (1 2 3 4 5 6).
Warcraft: won vs. Orc, playing as Undead, which is the second race I've played and I seem to be getting the hang of it.
The rains came down and the floods came up
News ·Friday November 10, 2006 @ 20:56 EST (link)
Then Aslan turned to them and said:
"You do not yet look so happy as I mean you to be."
Lucy said, "We're so afraid of being sent away, Aslan. And you have sent us back into our own world so often."
"No fear of that," said Aslan. "Have you not guessed?"
Their hearts leaped and a wild hope rose within them.
"There was a real railway accident," said Aslan softly. "Your father and mother and all of you are—as you would say in Shadow-Lands—dead. The term is over: the holidays have begun. The dream is ended: this is the morning."—The Last Battle, chapter XVI: Farewell to Shadow-Lands, C. S. Lewis.
Today we watched Shadowlands, a the story of C. S. Lewis, it was a very moving film, certainly worth watching. It was most poignant when they go out in the country to the Golden Valley and his wife Joy tries to prepare him for her imminent death: "The pain then is part of the happiness now. That's the deal."
There's been flooding in Duvall and nearby towns; 124th Street, the way I usually go to work, is closed; Woodinville-Duvall Road is open, but Novelty Hill is closed; I'm not sure why for the latter, possibly because of mudslides. I've been home all week anyway; it's sort of a quiet time after Office 12 and before Office 14.
Honey and I went up to BC yesterday; we stopped at Tim Horton's and also got some Remembrance Day poppies. I had to explain about the poppy and Remembrance Day in Canada; what do they teach them at these schools? Honey also finished Super Mario World and I won a few Warcraft games playing undead.
I recently bought a ring-bound copy of Hymns of Truth and Praise for the piano, through an Amazon reseller, "Dena Sabin, bookseller" (Amazon name "denasabinbookseller"); I today discovered a page was missing (Hymn #1, "How Great Thou Art", and #2 on the reverse), emailed the seller, and received a $10 partial refund, with which I am more than satisfied (the book cost $18.44 including tax, so I felt the refund was more than generous). I just wanted to positively comment about the prompt response; also the book itself arrived in good time and as promised. I hadn't noticed the missing page until now because I'd started playing in the middle of the book—the same place I was at in the non-ring book I'd been using.
Weird network errors
News ·Thursday November 9, 2006 @ 02:20 EST (link)
I temporarily activate an FTP (file transfer) server on minas-tirith (it's usually off because the less services running the better for security, especially as that box is the Internet gateway machine) to transfer an image that I've just scanned and edited in Paint Shop Pro. But I can't connect to the server!
I muddle through diagnosis: am I reaching the FTP server (proftpd)? no; is it reaching the super-server (xinetd)? no; does it reach the FTP server without using the super-server (ServerMode standalone)? no; are the packets coming over the wire (tcpdump)? yes, well, most of the time. Is iptables routing interfering? no; there are no FTP rules, and strangely enough, the auth server (midentd) works. The FTP server also works fine from localhost and another machine. Is the wireless router interfering? I'd like to know, but I can't connect to the administrative interface. Hmm.... I can connect from another machine. And, looks like the wireless router is using the same internal address that the machine I'm connecting from is using. Oops. I'm not sure why this hasn't affected other connections (ssh between the same two machines is fine, as is auth, as I've mentioned); could be the wireless router is sending some sort of quench packet for FTP requests. The address on the router isn't even actually used; I've reconfigured it to act more like a switch than a router, but it must still recognize packets with that address sent over the wire.
Just another fun exciting day in the land of networks. Ha!
Canon populated by inept morons, film at 11
News ·Tuesday November 7, 2006 @ 23:34 EST (link)
I recently purchased a Canon CanoScan LiDE 70 via Amazon, and just now attempted to install it. At the end of the installation from the CD (which was super-exciting due to the near-dead state of my Acer laptop's optical drive), it prompted "Would you like to reboot the computer now?", with two choices, Yes, or No.
Well, no, that's not actually how it went. There was one choice, "OK". Having some unsaved work, I really didn't want to reboot, so I clicked the close button. The system proceeded to reboot anyway and lose my work. Bastards. Then they add no less than four icons to the desktop (without asking) (which I promptly deleted), and prompt for the CD again. Why? Well, they need to ask me if I want to register. That's all, and it requires insertion of the CD. Idiots, too. No wonder I feel safer with Nikon gear.
Um, so, what else was I writing about when I was so very rudely interrupted? Well, this week I'm basically off work; there's nothing going on so we're not required to be there. Honey's last day at Amec Earth and Environmental was today, so she's happy. She'll be taking a break for a while and then looking for a new job, possibly with the temp. agency she was with before.
Note: the scanner appears to work well enough, although I prefer Corel Paint Shop Pro (formerly Jasc Paint Shop Pro, for those that remember) to the bundled editing software. I'll be using it to scan DVD covers that DVDspot doesn't have in the short term, but primarily to scan in old photos; 23 albums worth and a few loose ones that need homes first.
The MythTV box is still great, although before we told it to record episodes of Frasier we had no idea how frequently that show ran in a day. Pretty decent Outer Limits episode, "Fathers and Sons", and Doctor Who too, "The Girl in the Fireplace".
Honey's dad in hospital, please pray
News ·Friday November 3, 2006 @ 02:24 EST (link)
Casting all your care upon him; for he careth for you.
Honey's father (Douglas Hedrick) was taken to the local (Beckley, WV) VA hospital a few days ago because of heart-related pain. Currently the doctors expect to move him to a larger hospital (possibly the VA hospital in Richmond, VA) and put in a stent. He's had heart trouble before and they were able to successfully operate and remove a clot. Pray for a successful operation, speedy recovery, and for the family.
On how the WinACE people should be waterboarded then shot
News ·Friday November 3, 2006 @ 01:36 EST (link)
I'd like to take this rare opportunity to say a few deservedly mean things about WinACE. Oh boy do they annoy me. They dangle an admittedly decent compression format in front of unsuspecting users, but it's a closed format, useless to anybody. They do pretend that there's a working Linux version, downloadable from their site, but it fails CRC checks and eventually crashes randomly, lending credence to my theory that it was produced by a roomful of blind gophers on crack.
The WinACE twits also bounced my (polite—really) email; they use some sort of ignorant DNS blackhole list which thinks I'm using residential cable (the same one Honey's work uses, but since she's quitting I figured I didn't need to bother with them*). Yep, Honey gave her notice two weeks ago so technically Friday's her last day but they want her to come back for a few days; given how much she likes her boss, I was hoping she'd give them a sheet of insanely-high contracting rates and tell them to get back to her when they'd picked their jaws off the floor.
* I had to email and call my ISP, Millennium Digital Media (MDM) several times to get them to contact a similar list that Microsoft uses so that we could send mail to my work address... argh.
CLOSED FORMATS ARE HORRIBLE. WE HATES THEM, GOLLUM, WE HATESES THEM! DIE DIE DIE.
(This is why I'm ecstatic about the Microsoft Word .docx format; for those not up to speed, it's the default Word 12 open XML format, soon to be an ECMA ISO standard. It's so completely open that in theory Microsoft could lose control of it.)
Anyway, back to the ACE issue. So I have a few collections of NES/SNES/Atari game ROMs for MythGame on the MythTV system, generously burned to DVD by BB from work. Fine, I say, I'll mount the DVD on the MythTV box and copy the files to the disk and uncompress them. Haha! say the blind gophers on crack at ACE, oh no you won't. First uncompression program I tried (emerge unace) said unknown compression method; fine, it's a (very) old version, at least it can see the filenames in the archives. When I downloaded the latest unace from WinACE's site, it ran (in 32-bit compatibility mode, of course), but was having trouble creating directories (it also liked to freeze a lot). Eventually I straced it to find out what was going on, and created one of the directories it needed, but that's when I got the CRC errors and eventually Segmentation fault. If I had source, or even a spec, I wouldn't have had that problem.
So here's the plan. I'm going to uncompress the files on my only Windows system, my laptop. Sadly, its DVD drive has just about had it, so there's come circumlocution involved here. I'd already bought a DVD writer (ASUS DRW-1608P35 DVD±RW 16x16) from HDNW when I traded my Hauppauge capture card; I installed it on my primary server machine, minas-tirith, tonight (I'd got it for backups). When I was at Costco tonight picking up some DVD blanks, I wasn't sure whether I needed DVR-R or DVD+R, so I guessed and picked DVD+R, which turned out to be best but either would have worked; if I'd've guessed wrong, I could have exchanged them next time.
Naturally, when I tried to restart the server, it didn't.
I unplug the EIDE and power cables from the DVD drive and the existing CD drive, still nothing; the monitor I dragged over and connected has no signal. I vacuum out the more obvious dust, and somehow this makes it come up. Reconnect the optical drives, still boots, so while it's still powered I screw them onto the rails and close up the box, not willing to risk it not coming up again. And, um, note to self, do those proposed backups soon since it's been a while.
To the plan! Copy the DVD onto minas-tirith's HD, transfer the files to the Windows laptop that can actually run WinACE, uncompress the files, and then probably recompress them with something saner, or just copy them over the network to the MythTV box. What a hassle! Now, it's not that impressive that my (Acer) laptop's DVD drive is dying, but these contortions could have been avoided if the idiots at WinACE had just put down the crack pipe for a few hours.
I've been working on getting two months of receipts into the system... the tax man cometh.
MythTV, now with games
News ·Sunday October 29, 2006 @ 04:48 EST (link)
The event that precipitates most divorces is the birth of the first child.*
Our latest bad driver is from Friday,
WA 725 VAP, a gray SUV tried to cut me off entering WA-520 from 40th Street at about 1730 as I was driving home. I'm not sure what type of vehicle it was, I only caught the plate when he cut across a median, zoomed past me and honked, after the road split back to two lanes.
* They don't provide any sources to back this up, so take it with a grain of salt, it's MSN Lifestyles, after all.
cirith-ungol
The next thing to be added to our MythTV setup is MythGame, which is basically just a gateway to running external games and emulators. I borrowed some DVDs with MAME ROMs from JB at work, and loaded them onto the video partition. I'm using xmame (X windows version of MAME, version 0.106, which fortunately matched the ROMs), which is a massive pain to set up because there's no decent documentation, even if after STFW; and when I say there's no documentation, you know I mean it. However, I managed to glom together an xmamerc configuration (eventually gave up on sound, though; it's choppy and there's no solution and I really don't care). I had a lot of trouble with video modes (eventually went with video-mode 2, which was the only one that worked fullscreen; 2 means to let OpenGL handle it, I think). The ROMs come as a bunch of zip archives, and although JB said something about them using 7-zip compression, that was a complete red herring and never mattered at all. I never had to uncompress the files; I just set up MythGame with the right ROM directory and told it to scan, and it pulled the names and required files out of an internal database. The command line was simply /usr/games/bin/xmame %s, where MythGame replaces the %s with the path to the game chosen in the UI, which isn't horrible, but has some horrible gaps, like having to use left/right and not accepting back/OK as it does other places, and not allowing use of the keyboard to jump to a letter (granted, most people are just using a remote, but it wouldn't have been a very hard thing to add; I just might add it myself).
Next I installed a SNES emulator; I tried SNES9X, since it was X-native, but it would only display in a tiny window and wouldn't recognize the keyboard. I tried ZSNES, and it worked much better, especially following a hint to use a command-line of /usr/bin/xterm -e /usr/games/bin/zsnes %s (in retrospect, the same xterm hack may have worked with SNES9X). ZSNES is also great in that it has a configuration UI within the program. One issue I had with ZSNES is that X kept blanking the screen mid-game, but I just surrounded the run command with xset s off and xset s on to disable the standard X screen blanker (since input is by the X-box controller—which neither it nor MAME had trouble recognizing, although MAME's much tougher to set up a keymap for; I already have buttons set to load/save state on ZSNES). Nice deal on the X-box controller; it's USB, so it works on PCs, and it was only $25 at the Microsoft store vs. $40 retail; we plan to pick up another one, and maybe a copy of Windows to play head to head using that machine; it might as well serve dual purpose, it's sure got the marbles for it. The first (and only, so far) game we ran was Super Mario World; JB has some SNES ROMs too which I'll borrow when I get to work this week.
We've ordered a second Hauppauge PVR-150MCE card from Amazon, to be able to record/watch at the same time (or record two things at once, or use software picture-in-picture). The time-shifting and scheduling abilities of MythTV are great—we can record all House, or Stargate SG-1, or Good Eats
(cooking show that Bob got me interested in) shows, or a show such as E. R. weekly in a particular timeslot (to avoid filling the disk with reruns showing at other times), search for upcoming movies, etc.
Handy link: MythTV keys cheat sheet.
I finished Virtual Light (William Gibson); not a bad yarn, not much direction to it, though. Now starting on (re-reading) Stephen R. Lawhead's Taliesin, the first book in the Pendragon Cycle, and some GRE preparation books. We watched Butterfly Effect 2, which got boring fast because the idea's essentially the same as the first: guy can go back and change the past, but each time he does, he breaks something really badly, and he can only fix it by destroying himself and letting his friends be free.
Illegal alien roundup: mine the border
News ·Saturday October 28, 2006 @ 15:34 EDT (link)
I had a lot of quotes here about the brouhaha over our porous southern border, so I split them out into their own entry for your enjoyment.
In the news: Mexico is going to try to challenge the (politically useful but sadly un/underfunded) southern border fence at the UN. Are they absolutely freaking hyperbonkersly insane crazy? Nobody else has any say on what a sovereign country builds within its own borders, and who it lets in or out, but nobody. The degree to which the US continues to take the UN seriously will be inversely proportional to how seriously they take this silly thing, if it gets there and this isn't just Mexican presidential posturing.
And some ideas from our friend at FARK.com, as comments on an article on a state DHS worker who was punished for reporting illegal aliens that were applying for benefits to INS (er, I mean USCIS... or was that BCIS?) I didn't write them, but I agree with most of what's quoted.
2006-10-26 01:32:42 PM FlyingJellyAttackConfectionary
Here's what I propose: Mine (heavily) the whole border, use claymores, active mines, moving mines, AP, the works. Anyone who can cross it safely gets to stay in the US.
As a bonus, set up camera and broadcast the footage as a new reality TV show.
2006-10-26 01:52:18 PM JackjustJack
Solution: Anytime they catch an illegal, they give him a rifle and a canteen of water, and send him to Iraq. If he makes it back he will have earned his citizenship. If he doesn't want to go send him over anyway without the rifle or canteen. It is a hell of a lot harder to walk back to America from Iraq than it is from Mexico.
2006-10-26 01:57:06 PM j0ndas
Illegal immigrants are illegal immigrants. They have no rights to our free stuff, and anyone who reports them trying to rip us off should be praised, not sanctioned.
I so hate how every preventive action against illegal immigrants is met by some group of nut jobs trying to defend the "rights" of the illegals. Illegals have no rights, except to be left alone and shipped back where they came from.
2006-10-26 02:24:33 PM pounddawg
Had to share this one:
Let's say I break into your house. Let's say that when you discover me in your house, you insist that I leave. But I say, "I've made all the beds and washed the dishes and did the laundry and swept the floors; I've done all the things you don't like to do. I'm hard-working and honest (except for when I broke into your house).
According to the protesters, not only must you let me stay, you must add me to your family's insurance plan, educate my kids, and provide other benefits to me and to my family (my husband will do your yard work because he too is hard-working and honest, except for that breaking-in part). If you try to call the police or force me out, I will call my friends who will picket your house carrying signs that proclaim my right to be there.
It's only fair, after all, because you have a nicer house than I do, and I'm just trying to better myself. I'm a hard-working and honest, person, except for, well, you know.
And what a deal it is for me!! I live in your house, contributing only a fraction of the cost of my keep, and there is nothing you can do about it without being accused of selfishness, prejudice and being an anti-housebreaker. Oh yeah, I want you to learn my language so you can communicate with me.
Why can't people see how ridiculous this is?! Only in America... if you agree, pass it on (in English). Share it if you see the value of it as a good smile. If not blow it off along with your future Social Security funds, and a lot of other things.
2006-10-26 02:49:17 PM serfboy
Here's an idea - remove automatic citizenship for babies born here. (only children born to those here legally or working towards citizenship would be
granted citizenship) This way, there would be no "anchor-babies" as Barnstormer mentioned.
I have a friend who does DHS type stuff for the state of Arizona - an example of what she has to deal with - a woman, around thirty two comes in (illegal - she spoke openly about her status) and is with two small toddlers. One is her daughter, age one, who was born in the USofA and therefore a citizen who the state will now fund for seventeen years, as well as "pay" for the mother to care for this new little citizen. The second toddler, also age 1, was born in the USofA to her fourteen (14!) year old daughter who was also here illegally (but supposedly now back in Mexico with family) and this woman, the child's grandmother, wants "aid" to raise her grandchild as well. So, now the state is "paying" her to raise her daughter and her grandchild, both US citizens - and for at least the next seventeen years won't have to go to work like most "single" moms.
Nevermind the criminals here illegally. The illegals here taking care of the "legal" citizens are going to cost us a fortune!
2006-10-26 03:28:24 PM AGenericUserId
"Of all the people that need benefits the most, it's these poor immigrants."
Are you kidding me? Why should the US be allowing people in to immigrate, legally or illegal, who are a DRAIN ON THE AMERICAN PEOPLE? How does that benefit the country when we have people come here and leech off our services?
We need the intelligent and the educated, not someone asking "what are the handouts?"
There are two billion people in the world living under $2 a day, if we let them all in, we would be a third world country overnight.
The communist manifesto called, they want their author back.
MythTV is go
News ·Thursday October 26, 2006 @ 22:46 EDT (link)
And we're up and running, after a couple of all-nighters and a few evenings' work. Let me continue where I left off Wednesday morning: links successfully emerged, and I also installed screen for convenience. I used various sources all over the web to tweak various settings and learn things, so there's no way I can mention them all; the Gentoo and MythTV wikis were of course foundational in setting everything up.
(Let me offer this disclaimer if there are any scoffers reading this: Although a TiVo or a similar pre-built PVR may be cheaper (although monthly subscription costs are more and I pay none), I'm building this box for more reasons than cost, among them, the experience—until now I knew nothing about computer-TV I/O, volume management, infrared devices, etc.—and the freedom of having complete control over my system—nobody can make me watch anything, or expire my recordings, or prevent me from exercising fair use rights. Also, can you play games or browse the web on a TiVo?)
This is going to be long, so it probably merits some headers.
Kernel: I set up the kernel (Linux 2.6.17) with the necessary drivers and settings, using GRUB as the bootloader, managed to get it to boot fairly quickly.
Graphics: I started by trying to get the system to recognize the graphics card, which meant using the proprietary nVidia drivers, and following these instructions. No trouble there, except the generated xorg.conf had the wrong mouse device, which was easily fixed. I installed the nVidia kernel module (modprobe nvidia) and was able to startx and was greeted by the uncomplicated frank ugliness that is twm, but at least it worked. I'm still working with the monitor; nothing's connected to the TV or cable yet.
TV Capture: Next, the TV capture card, the Hauppauge PVR-500 (MythTV page). I found out that I needed IVTV (yep, another wiki), and a few more kernel drivers (Gentoo told me what I was missing when I tried to install). IVTV's versions match particular kernel versions; for 2.6.17 I needed the latest 0.7, which turned out to be 0.7.1. I had to "unmask" this and the pvr-firmware package for AMD64, since the Gentoo maintainers hadn't officially declared them safe yet. modprobe ivtv worked flawlessly and dumped bunches of information about the PVR-500 and its dual tuners to the kernel log, viewed via dmesg. The previous link also had some steps for testing the device (just grabbing a random stream), which didn't work until I changed the input source to be 0, the tuner.
Setup: I was able to run mythtv-setup in the X session I'd started, and set up the capture cards and outputs and tweak a few other sessions. It's a strange little application; it hides the mouse so everything has to be done with the keyboard using a UI that looks like Motif.
Remote: I'd purchased a Microsoft MCE remote from the company store, which I now attempted to set up. The IR receiver is USB; I determined it was the newer MCE remote, so I emerged lirc with the lirc_devices_mceusb2 USE flag, installed the module with modprobe lirc_mceusb2, installed the configuration file for the remote as /etc/lircd.conf, and started lircd, the Linux infrared remote control daemon. I had to add one button later, but in all it worked fine; irw showed the correct interpretation for the various keypresses. (lircd translates the data received from the IR receiver into usable data about keys pressed, and broadcasts that data on a socket which programs such as MythTV can listen on.)
Program Guide: The standard for receiving channel data for MythTV is the Zap2it.com TV and movie guide, which offers free subscriptions to an XML feed, so I set that up and ran the mythfilldatabase script to grab a sufficient quantity of listings and store them in the local listings (MySQL—their choice, not mine) database; I also set up a cron job to synchronize the listings daily.
TV Out: Next I connected the machine to the TV; the nVidia card had S-Video output, but since the TV's S-Video input was already being used for the DVD player, I used an included S-Video to component video dongle included in the package, and then used RCA ("composite") cables (same connectors) to connect it to the TV. I read further and found out the Option directives needed in xorg.conf to tell it to output to the TV. First I dialed back the resolution a bit and deleted all of the depth lines except 24-bit. It worked reasonably well; X came up on the TV and I could run mythfrontend, but the colors were wrong; black and white, with some pink tones. I borrowed the S-Video cable from the DVD player, and that fixed the colors; just recently I learned how to do component out with nVidia cards on MythTV (thanks to Freenode #mythtv-users).
Cable in: Eventually I hooked our cable to the TV capture card (between my wife's shows...). When I did the default-record test, I just got static, since I wasn't tuned to a channel, but it was black before, so something was being read. I emerged the minimalist evilwm and set it to exec /usr/bin/mythfrontend via .xinitrc (note that MythTV runs as a non-root user, although it needs to be in the audio and video groups naturally, which is a good thing). When I ran startx as that user the MythTV menu came up; I selected the first option, "Watch Live TV", which promptly did nothing. I forget what the issue was; it may have been permissions, but I resolved it, and was able to navigate around our cable lineup, but it was super-grainy and very splotchy in the lower channels.
Shopping trip: Unfortunately it seems grainy video is endemic to the Hauppauge PVR-500MCE with the Samsung chip (ones with the Philips chip are fine), and mine had the Samsung chip. I returned it and was going to get dual PVR-150MCEs, but they only had one in stock so I'll need to pick up a second one later. (I also picked up an ASUS DVD writer for my other machine to make backing up the system—photographs take up a lot of space—easier.) I also picked up a 2m Monster component video cable ($55! but cheaper than the series 2 which was $75) (and Broken Arrow, The Butterfly Effect 2, and The Wicker Man) from Circuit City, a 4-way RF (cable) splitter (the dual PVR-150s each need a signal, as does the cable modem, and they don't make 3-ways) and a phone plug to RCA connector from Radio Shack, and a (wired, since it's USB) X-Box controller ($25, vs. $40 from Target) and a wireless keyboard and mouse (Optical Desktop 4000) from the Microsoft company store. Amazingly the wireless keyboard/mouse worked right away, standard PS/2 connectors, and the PVR-150 card required no changes to work correctly, and it produced an excellent picture.
Finishing up: I installed all of the various MythTV plugins (except MythFlix), but I haven't had a chance to play with them yet. There are still a few things to iron out with the system: it seems to be getting the wrong data for channels 2 and 3; on boot, it complains about a filesystem check error, but there's no actual problem and /etc/fstab is fine; also, I need to set it to boot directly to MythTV which means having it autoload some modules and then run startx as the MythTV user. Not difficult, just things to do.
Altogether it's a great system and we're very happy with it. It's name is cirith-ungol, joining minas-tirith, khazad-dum, and imladris (R.I.P. barad-dur).
Update: looks like autoloading the needed modules is just a simple matter of adding them to /etc/modules.autoload.d/kernel-2.6; done. Startup scripts can be added to /etc/conf.d/local.start; added su mythtv -c /usr/bin/startx. Still not sure about the fsck issue, but commercial flagging is now working.
The MythTV box has arrived!
News ·Wednesday October 25, 2006 @ 00:10 EDT (link)
I picked up my MythTV box from Hard Drives Northwest (HDNW) today; I'd expected it Friday and was then told Monday; they were waiting on memory, which seems to be a strange thing to be lacking. AT suggested I write up the experience of building the system on this site, which I plan to do. Anyway, let's start with the specs. I started with some ideas from an O'Reilly article and tweaked it after reading various sites; for example, I didn't want or need the pcHDTV board he recommended, preferring the Hauppage PVR-500 with the dual tuners; also, he wanted to record digital TV received over the air, I wanted to track cable. I ended up with the following:
- AMD Athlon 4600+ (dual 2.4 GHz processors)
- MSI K9N Platinum AM2 MB
- Antec mid-tower case with 450W SP-450 power supply, glossy black
- nVidia 7600GS silent (heat sink instead of fan) graphics card with TV out
- Seagate 320 Gb 7200 RPM SATA2 HD
- Hauppauge DVR-500MCE (dual tuners), with hardware MPEG-2 compression
- 2 Gb RAM; NEC DVD-burner; no keyboard, mouse, floppy, monitor, or OS
Total cost: $1453.56 (including tax). I also picked up:
- Windows MCE remote, purchased at Microsoft company store (includes IR
receiver/blaster)
and may get a Microsoft IR keyboard/mouse too (sometimes it's nice to be able to type from the couch, e.g. to look up actors in a movie to satisfy those annoying "I know I've seen him somewhere..." moments).
I set it up next to the TV, hooked up to an old monitor—and a new keyboard—for the setup phase. I had to run a network cable to my study since although the cable comes in there and goes through the cable modem, it then goes into the wall and emerges into the study where it goes through minas-tirith for NAT and firewalling. It needs to sit inside the network; these days, machines aren't safe outside. I booted my old Knoppix 3.8.1 CD; booted fine, but couldn't find the network interface cards (dual Gigabit, whee); I checked the book and found they so I just downloaded and burned the latest Knoppix, 5.0.1... and yes, it detects the network devices, and even configures them via DHCP. Unfortunately I have to borrow the bluetooth mouse from the laptop station; I thought I had a few old mice hanging around, but I seem to have gotten rid of them.
Now, though, the screen display is super-dim (I can peer at it and see the applications and the mouse cursor, but it's really dark); before it was just fine. It happens when Knoppix runs X, but persists when I return it to console mode. It's not the monitor settings; time to STFW again... and the web says that it's a driver bug (duh!) and provides links to updated nVidia drivers and a workaround: connect the monitor to the DVI output using the analog adapter. This works, and the network is indeed setup—Slashdot comes up just fine in Konqueror—so on with the show.
Using the Knoppix LiveCD let me skip to step 4 in the Gentoo Linux AMD64 Handbook. I decided to set up a 100M /boot partition and 1 10G / partition (both ext3), and then I learned about LVM, the Linux Logical Volume Manager, and used it to dedicate the rest of the 320G drive to a /video partition (using IBM's JFS, since either it or XFS are recommended to get decent performance with video files, which tend to be large). Now I'm downloading the AMD64 stage 3 tarball from a Gentoo mirror site (stage 1 and 2 installs are no longer supported, so I'm glad I got to, um, enjoy one while they were still in vogue).
So I reach the chroot stage and hit another snag: since the Knoppix CD is 32-bit but I'm building a 64-bit system, the running kernel can't load the /bin/bash image from the stage 3 tarball. Looks like I do have to burn the Gentoo-specific AMD64 LiveCD.
While you're waiting for the CD to burn, feel free to browse the recently reanimated photo site. Well, semi-animated at least. Give me a moment to disable access to an old photo of my SSN card (and to implement said disablement). Note that it only includes old photos taken on my old Sony DSC-F707 (mainly January-July 2002). I need to re-import the newer photos to the database, and also some old info files (and show the category descriptions, once they're populated).
One annoying thing about the Gentoo LiveCD that had me tearing my hair out at first is that it doesn't let you su to root until you run and pass a few screens of their installer (then you can exit it). Before I went to sleep at 0830 (!) I did emerge links (links is a console web browser, but can also use some graphics, and hence also installs X and other deps) and let it run.
<Previous 10 entries>