Category: computers

  • Pass the Pepper, please…

    A few weeks ago I caught wind of a new portable computer, called the Pepper Pad. Obligatory product feature photo:

    Link to actual photo I was immediately drawn to it for a number of reasons:

    • It’s very much like a Newton on steroids: an 800×600 touch-sensitive screen, in the middle of a split QWERTY layout thumb keyboard as well as a D-Pad and scroll wheel for input. No HWR input though, but that’s not the focus of the OS…
    • A whack of standard I/O possibilities: USB, Bluetooth, IR, SD/MMC slot, 802.11b, sound in/out, composite video out
    • 20GB hard drive, 256MB of RAM, powered by Linux 2.4 and a 600MHz Intel XScale CPU
    • Software that sounds really darn nice… the focus of the OS is as an information tablet, sort of what I’m trying to accomplish passively with my info board, but with a built-in Mozilla based browser, e-mail, AIM, music/photo/video libraries (supporting MP3/MPEG1/MPEG2/MPEG4 at least), and a journal.

    Now, lots of people will say “screw this, for my $850 I’m buying a laptop.” Sure, a laptop is nice, and you can run Windows/Linux/OS X and do whatever the heck you want on it, but I don’t want or need that kind of horsepower on my lap. It’s in my office. What I do want to do is surf easily from the couch, and not have to worry about defragmenting my C: drive or that my CPU temperature alarm is going off. I want it to work. The Newton delivered on this, and if these Pepper guys can hit the same mark, I want in.

  • info board is almost complete…

    Well, one week later, the info board software is good to go. It boots up, connects to the wireless network no problem, and starts up into links in graphic mode, full-screen, and pulls up the info page, which displays:

    • Weather Forecast (via the excellent RSSWeather)
    • CBC News Headlines (via CBC RSS)
    • IMDB News Headlines (love that RSS)
    • GO Train Service Updates (via my page-scraping one-liner)
    • Links to Maptuit routing, GO Train schedule tables, toronto.com, and a Canada411 search form
    • The latest traffic camera image from 401 and Harwood (courtesy of the Ministry of Transportation COMPASS system)

    Refreshing every hour. Mmmm, RSS….

    Now to figure out how to mount it. It may end up just being affixed to a piece of plywood or a 1×3 wood frame and then using that to hang it.

  • info board progress

    I got the 802.11b networking finally, thanks to double-checking the SSID (note: SSIDs are case sensitive!) and upgrading the kernel for good measure. Ended up scrapping SVGAlib and installing an X server and using links on XWindows with no window manager, just one full-screen browser window. Looks good! Now that I’m running XWindows though I could theoretically run Netscape 4… shudder. It probably has better JavaScript support though. Links handles some sites fine (like toronto.com, us.imdb.com), some a bit less than fine (Maptuit HTMLClient works to a degree), and some break horribly (anything using Maptuit ActiveMap). It is a fast little browser though.

    There are still some hitches though. I installed mad perl packages on the machine because I’d like it to handle all of the scraping and parsing on its own. Also, I powered it off and then brought it back up this morning and it wouldn’t connect to the wireless network anymore. Crap…

    It’s getting time to figure out how I’m gonna affix the panel to the back of the laptop again, and then where the unit is going to go and how it’s going to be interfaced… if I could rip the integrated keyboard and trackpoint out of the thing and mount it externally… I’m going to need to experiment on this.

  • Info board status

    Well Sandy loved my infoboard idea, so I’m slowly moving ahead with it. I’ve been trying hard to get 802.11b drivers running on RedHat 6.2, but it’s just not flying. I’m going to have to try and upgrade the little laptop to RedHat 8.0 so I get a 2.4 kernel, and then things should be good to go. (Hope I can manage that on 16MB of RAM!)

    In the meantime, I’ve been taking the scripts I used to use to send weather and news headlines to my cell phone and making them output a simple HTML page instead. The plan is for the laptop to display this page using Links 2, a lightweight browser that supports graphics, tables, and JavaScript, and also can display using SVGAlib. It also makes testing a snap as I can run Links in a window on my Linux box and set the resolution.

    Here’s what the page looks like so far. It won’t refresh. Yeah, I know it’s really simple, but it should do the job. Plus I’ve still got some room on the 800×600 screen, not quite sure what else to put on there.

    Instead of scraping web pages, I’m reading RSS feeds (from rssweather.com and cbc.ca) and writing out simple HTML. The CBC Top Stories link to the CBC website (which Links actually displays pretty well), which is nice. The clock is JavaScript. The GO Transit status is a lynx/sed one-liner that scrapes the page, since GO Transit’s website is still in the STONE AGE.

  • The urge to be a geek

    You might remember a long time ago I started to make a digital picture frame out of an old laptop I had. It was basicially finished except for the external stand or hanging hardware. However since I’ve worked on it we’ve moved twice and the hardware is still sitting in a box in the closet.

    Lately I’ve been thinking about it again, and pressing it into service in another way: as a digital “info-board” for the ground floor of our house, where we often find ourselves wondering:

    1. What’s the weather forecast?
    2. What’s the phone number for (friend/relative/business)?
    3. Anything else that might be useful

    Assuming that my hardware hasn’t died after being in storage for so long, the same system should be up for the task. The one major thing that’s changed is that I’m no longer using a crappy RangeLAN2 network, but I’ve graduated to full 802.11b. Also I’d have to figure out how to display the above information. I was using an SVGAlib-based image viewer before, since the hardware only has 16MB of RAM to speak of. There is a half-decent web browser called links that will use SVGAlib. I could whip up a portal that would show basic information on the screen using links…

  • notes to myself

    How to hack my cups install again to automatically turn on my printer:

    cups will send the output using /usr/lib/cups/backend/parallel

    symlink this file to a script that checks the printer status first, then runs the real CUPS parallel backend.

  • My GBA Movie Player

    A while ago I bought a GBA Movie Player from overseas. Read about it and it seemed like a good thing, plus it was only about $30.

    How it works is: there are some programs that you run on your PC to convert media files (images, music, and video) to a special format for the player. Then you copy the special files to a CF card, put the CF card into the player, put the player into the GBA, and then it will play them. And you can convert any video format that you can play back in Windows.

    When it works, it works well. The crappiest part of it though is the PC software. It has major issues with two formats:

    • MPEG2 files, such as DVD source. They provide a shareware version of the Elecard MPEG2 decoder but once it expires you’re boned. Commercial decoders won’t work with their software.
    • XviD files. They just make the converter crash.

    However, I just fixed both of these issues and I’m now happy as a clam. Here’s how I did it:

    • For MPEG2 I installed this free MPEG2 codec. Works great where ATI and PowerDVD’s codecs are locked down to their respective software.
    • For XviD, the trick is to NOT use XviD for all supported FourCCs, and also turn on compatibility mode via the decoder properties. Not sure if it ends up using DivX in this case (which I also have installed) but I don’t care because it’s working!
  • People change, times change, interests change

    Who wants a file archive?

    I started this thing, which I called UNNA, back in September of 2000. At the time, there had been a great collection of Newton software called NewtonMAD – however, some of it was warez and so it needed to be ‘cleaned up’. Some Newties, including myself, started doing this, and out of it came UNNA, the goal of which was to compile, amass, and categorize as much Newton software and as many file archives as we possibly could, in one place.

    Back in 2000 I was still living in a dorm in University, and I was only a few weeks away from meeting my future wife. I was using an old DEC Alpha workstation ($50 surplus from the U of G CompSci department) running NetBSD as the server, and my residence internet connection for bandwidth.

    UNNA grew and grew and I kept on finding and mirroring files, tirelessly moving them around, extracting them, whatever whatever. I realized it would be a good think to store file information in a database. Paul and I came up with a database schema, and JB Hemlock wrote a PHP based management system for it, for free (which was frickin awesome). I kept adding files. I added the ability for people to submit files. I started a network of mirror sites. Redesigned the website a few times.

    Where the hell am I going with this? Basicially out of all of the things I’ve done, UNNA is the longest-running and probably the most successful. That said, I still have a love/hate relationship with it. Since about 2002 my time for all things Newton-related has been in decline. The past few months it has been quite close to zero. I feel like shit because of this, I feel like I’ve been letting the community down by not updating and not adding new files.

    I’ve false-started, dropped, or quit so many ideas and projects in the last 5 years I probably couldn’t remember them all. Now I’m going to be 25 and I’m finally starting to feel focused: I’m finally going to be working in my field, software development, I have a wife who loves me and a house to work on. I didn’t have any of these things when I was just a geek in my dorm room. Now I do and they’re more important than my geeky exploits.

    I’ve had tons of cool site ideas, code ideas, but I don’t have time to put them down on paper or in code. Little things I sometimes finish, like the time I figured out how to find a PICT image in a Newton package and convert it to a GIF, but by and large my Newton and my hard drive is full of half-finished code and stuff.

    I want to get rid of UNNA, but there’s no place to put it. I’ve let it stagnate and people have called me on it numerous times, but no one has offered to take it over. The maintainer would have to have an intimate knowledge of PHP, MySQL, Apache, and Linux, not to mention the Newton. I still love using my Newton and do so every day, but as far as accomplishing things in code, I have a feeling I’m going to be able to fulfill those aspirations at my job. I am really starting to like my company, warts and all, and since I walked in the door I knew that it was full of great code and smart people. I’m finally going to be developing code instead of support, and I am looking forward to working hard and focusing on it.

  • OK, these are all of the sites that I use that are down right now

  • for my reference…

    my IR transceiver only uses pins 1-5 on an RS-232 DB9. Good thing I bought 6 conductor cable.