Tag tivo (2)
What does Thursday mean to you?
Mood: cheerful
Posted on 2007-03-15 07:55:00
Tags: haskell worldofwarcraft tivo programming
Words: 361
It hit 70 degrees here yesterday! It was absolutely beautiful. Of course, it's going to be cold again tomorrow, but it was nice to have a touch of spring.
I finished and posted my latest WoW guild data project. It was fun, but nothing too tricky about it.
So I read about the Amazon Unbox downloads on the TiVo, so I signed up. (free $15 if you link the accounts by the end of April!) We rented A Scanner Darkly to try it out (you have to watch it within 30 days, and once you watch it it expires in 24 hours), and it downloaded in like an hour. Very very cool stuff. It's also neat because if you buy something, Amazon saves it and you can redownload it at any time. (except if the stupid copyright holder doesn't let you, grr) Also, they have a small number of TV series including 24, Firefly, and Arrested Development.
My attempt at comprehending Haskell continues. I read through A Gentle Introduction to Haskell which, despite the title, is not really gentle at all. I'm also looking through the Haskell Wikibook which is a little too slow-paced for me, but it's a nice change of pace after the other one! I'm starting to get some of the ideas, and remembering why functional languages are so cool. As a crazy example, you can do something like
y = x * 2
x = 2
and it will still work, since variables are only assigned to once, so I guess it can figure out the order things should run in. (I should note that I can't find the reference for this anymore, so it may not be true. Also, this seems like a crazy thing to do in a functional language anyway.) Maybe my next Haskell project will be to write a bot for WoW! (*)
I've gotten in to work at 7:45 every day this week, surprisingly enough. I've also been to the gym every day.
I got two nice "Congratulations!" cards in the mail from my relatives for my engagement. Yay!
(*) - Just kidding. My next project won't be WoW-related. Also, this is borderline crazy to try to do.
meaning to post for a while - here it comes!
Mood: ecstatic
Music: New Kids On The Block - "Keep On Smilin'"
Posted on 2005-06-17 12:54:00
Tags: linux asmc tivo family computer
Words: 1065
Hmm. I meant to post yesterday, but I guess I've been kinda busy. I'm leaving after work to meet my family at a condo in Conroe (hmm, that kinda rhymes!) for Father's Day, as wonderjess has been mentioning. It'll be nice to see everyone in a relaxed environment. And apparently there will be pie! Mmm.
So David left yesterday to go home for Father's Day as well, so I was on my own yesterday. Work went pretty well (finally fixed my stupid problem), but I didn't leave until 5:40, which is really cutting it close to eat dinner and get to ASMC rehearsal by 7. I ended up cutting dinner a little short and not finishing the spaghetti I had reheated so I could get there on time. Baaad move, as we didn't start until 7:15, and we didn't "really start" (i.e. start running a scene) until almost 7:50. This is frustrating. But I'm still gonna make an effort to get there on time. And I brought the new Penrose book The Road to Reality, which is >1100 pages and supposedly a heavy read (I'm still reading introductory math stuff, but even some of it is stuff I haven't looked at in a long time). It's a birthday present (thanks, Mom & Dad!) that I'm slowly working my way through...
Rehearsal went well - we did "my" scene, and I have a pretty good idea of how it's going to work. Although it takes a lot of energy - we're supposed to be generally disorganized, running around and poking each other and stuff. Fun, though :-)
After I got home, I did some packing, printed out directions (there are apparently no good ways to get to Conroe from here, everywhere has me going on like 6 or 7 different highways...), and worked on a computer problem that I eventually solved.
So one of David's and mine (um, how does the grammar work there?) longish-term projects is to get TV shows off of the TiVo (using TiVoToGo) and burn them onto a DVD. So my first approach was to get them off onto David's computer, turn them into MPEGs, then edit them on my computer and burn them to DVD. I tried this a while ago, and I couldn't find good programs to do it on Linux (and burning a video DVD on Linux is crazy complicated, with .xml configuration files to configure the menus and stuff like that. Stuff that I probably could eventually figure out, but I finally gave up). So our next approach was to download the trial software that TiVo recommends to do it, and see if we could get that working.
The software is Sonic MyDVD, and it worked well once I figured out that I had to downgrade TiVo Desktop to 2.0 (you can download it from here) - it crashes all the time with version 2.1. Anyway, so I did that and eventually created an .iso image, and things were looking good.
A few days ago, I tried transfering the .iso file to my computer using WinSCP. It was going well, until the program wasn't able to make the file bigger than 2GB - it would error, and then quit and crash if you tried to reconnect and resume. This is where I was until last night.
So David and I had a number of ideas why this was happening - maybe the WinSCP program didn't work with greater than 2GB files, maybe the protocol didn't support it, or maybe my filesystem didn't support it. I had done some research that suggested that the protocol did support it, the WinSCP program did work with it, and my filesystem (ext3) did support it. So I was a bit at a loss.
The night before I wrote a quick program in C to try to create a 3GB file and see what happened. Lo and behold, it would quit once the file was 2GB, saying "File size limit exceeded". So I figured it was one of two things - either my C program needed to use 64-bit aware function calls, or my filesystem didn't support it.
So, we come to last night. First I looked at the filesystem, and everything I could find seemed to say that ext3 with 4KB block sizes should support up to 2TB files. I even tried creating a new ext3 filesystem on a spare partition and creating a big file there - no dice. So then I thought maybe my particular C program was the problem, and found a bunch of random documentation on the web about how to make the calls correctly. But all the documentation was old, and everything suggested that these calls should have been being made correctly by default, and indeed I couldn't solve it that way.
So I was kinda frustrated at this point, and thinking maybe my particular ssh daemon (the server side of SCP) was broken in some odd way or something. Finally, inspiration struck - there's a shell command "ulimit" that sets various limits on stuff you can do - how many files you can have open, how many processes you can be running, and, at long last, the size of files you can create! I had apparently played around with this before and set the maximum size up to 2GB (back in early college, I think). And I think the word "limit" in the error message I got should have tipped me off a little bit. But anyway, I fixed that, and it transferred over just fine. Then I burned it onto DVD (after first creating a data DVD that had the .iso file on it - doh!), and lo and behold, it played in the DVD player. Hooray!
That was oddly cathartic.
Anyway, the upshot of the story is that I was up until 2:20 or so, which was kinda fun (especially since I got stuff working!), but now I'm a little on the tired side. Should be OK for the drive, though.
Public Service Announcement: It has come to my attention that some readers of this journal are not impressed by del.icio.us. So, to increase understanding and adoptance, I will be posting neat features of del.icio.us on my future posts. (starting with the next one) Look for them in a journal near you!
In a related story, LJ added support for tags, which is pretty cool, so I'm gonna start tagging my entries. And you should too! :-)
This backup was done by LJBackup.