Search results for: “”

  • RPMs for the Pad 2

    B1B

    Another excellent lightweight GTK+ program for FTP/FTPS, SSH/SFTP, HTTP, and FSP file transfers. Makes a quick and dirty file manager too. This package requires my IceWM Menu Builder RPM to be installed.

    B2B

    An excellent Mahjongg tile matching program in pure X. This package requires my IceWM Menu Builder RPM to be installed.

    B3B

    A classic collection of 9 solitaire card and tile games in pure X. This package requires my IceWM Menu Builder RPM to be installed first so that the games will be added to your IceWM menu! This was built from the CVS snapshot of Ace Solitaire.

    B4B

    ImageMagick is a software suite to create, edit, and convert bitmap images. This build of ImageMagick is fairly complete for most uses, but it doesn’t support some image formats you might expect, namely SVG and PostScript. However is does include ‘import’ which will finally let Pad 2 users easily make screenshots! You only need the first one to actually use it – the rest are strictly for developers.

    B5B

    A highly-touted e-book reader supporting many formats (fb2, HTML, Plucker, Palmdoc, zTxt, TCR, RTF, CHM, OEB, Mobipocket) and features (resizing, full-screen mode, rotate, and more). Many thanks to Pepper forum user / fbreader developer MishaS for providing the SRC RPM that I used.

    B6B

    An SMB/CIFS/Windows Network browsing program! Will let you easily browse Windows shares and mount/unmount them. Requires the GTK+ 1.2.10 RPM below.

    B7B

    “Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. ” — GNU Screen home page. I couldn’t have said it better myself. A must for anyone who lives in terminal-land like I do.

    B8B

    A simple GTK+ calculator application with a paper tape history. It’s still a bit buggy on the Pepper – don’t try changing any font preferences.

    B9B

    A powerful and customizable GTK2 based file manager with a classic two-pane interface. Installs to /usr/bin/emelfm2. Shouldn’t require any special RPMs to be installed. This package is for Pepper Software version 2.1.1

    B10B

    Provides vncviewer vncconfig vncserver vncpasswd x0vncserver. You will likely be the most interested in vncviewer. x0vncserver is supposed to be a crude VNC server which polls an X display. Compatible with Pepper Software version 2.1 and higher, please choose the correct version below

    B11B

    Allegro is a cross-platform game programming library. Pretty sweet. Compatible with Pepper Software version 2.1 and higher

    B12B

    GTK+ library version 1.2.10. Useful for building older GTK+ based apps. Requires glib 1.2.10, provided in /opt/montavista/pro/devkit/arm/xscale_le/packages/pro/ – it might even be installed by default, I can’t remember. This version has been updated to work with Pepper Software version 2.1.1 and 3.0

    Keeper 3.0:

    Keeper 2.1.1:

    B13B

    Commonly used XML library. The pad ships with Expat if you’re looking for a Pad-native solution.

    B14B

    Enca is a library and utility for Extremely Naive Charset Analysis.

  • Aaaand the DSL is good!

    Turns out it wasn’t a problem with my BSW (the wire from the brown pedestal to my house). It was with my F2 pair (the wire from the pedestal out to the big brown box on the side of the road).

  • Morning conversations…

    Yesterday morning:

    RING RING… TekSavvy technical support, Nick speaking…

    Hi, my DSL is flapping up and down yet again, can you run a sync test please?

    Sure thing sir… yes, wow, your stats are terrible – this must be a line problem – would you like me to open a ticket with Bell?

    YES – and please note that this happened for two months in the spring and they did nothing about it, and now it’s back and I WANT A TEMP LINE

    Sure.. Bell should call you within 24 hours.

    (grumble grumble bloody hell)

    This morning:

    Maptuit, Victor speaking?

    Hi, this is Chris from the Bell Test Center, your ISP called about a problem with your line?

    Yes, my line goes to crap everytime the weather gets cold and wet… in the spring they already determined that all my buried service wire pairs were boned but then the weather got better and the problem went away – I WANT A TEMP LINE

    Well, it looks like there’s a ground fault on your line sir, shall I send a tech out?

    I KNOW I WANT A TEMP

    Does tomorrow morning work for you?

    YES AND THE TECH BETTER GIVE ME A SODDING TEMP LINE

    …

  • Real mobile Wikipedia

    I’ve seen lots of talk recently about ‘mobile’ versions of Wikipedia. I’m a big fan of Wikipedia and I use it all the time. I’ve looked at all of the “solutions” for so-called mobile versions of Wikipedia and they all suck. First of all, many of them require full-on ‘net access or a cell phone, or they only let you load a subset of the data with limitations. Pffff. What’s the point then? I want everything, all the time, and I want it to be fast. Never mind that the english Wikipedia is huge – an XML dump of just the page contents is 7GB uncompressed.

    Hrm. I seem to have these two little handheld computers here, and they run Linux and have 20GB hard disks you say? Well geez, what are we waiting for! All we need to run MediaWiki – the free software that powers Wikipedia – is Linux (check), Apache (web server), MySQL (database), and PHP (web scripting language) – often called LAMP for short. Oh, and we need a dump of Wikipedia, of course – those are generated regularly. Off we go:

    B15B

    The Pad 3, with its Fedora Core underpinnings, makes getting LAMP install ridiculously easy. Open an xterm (Ctrl-Shift-1). Issue this command:

    yum install httpd php-mysql mysql-server
    

    Let it resolve all dependencies and install all that stuff. Great.

    B16B

    in contrast to its younger brother, the Pad 2 is based on MontaVista Linux CEE and Professional 3.1. This makes a LAMP stack harder to setup for two reasons:

    • the included apache-dev package is broken six ways from sunday
    • there are no MySQL or PHP packages included.

    I manually patched the busted files from apache-dev: in short, one of the config files in /usr/share/apache-2.0/build/ has to have all of its paths fixed, and the same for the apr-config script. I used the generic MySQL 4.1.21 source RPMs to build some halfway decent RPMs for the Pad 2: you still have to manually setup your my.cf and a startup script though. PHP I compiled and installed from a source tarball. Let it be known that MediaWiki and PHP should also work with thttpd, which is also provided by MontaVista and might not be so broken.

    For MySQL, you will have to set the max_allowed_packet setting to 4M in /etc/my.cnf otherwise your import process could fail.

    B17B

    Follow the MediaWiki setup insructions. In a nutshell: extract the tarball, rename the directory to something useful (like ‘wikipedia’), move the directory to your webroot (/var/www/html), and run the config page to generate LocalSettings.php. You probably want to disable all of the e-mail options, since you won’t be editing this wiki.

    Now, use mysql and delete all the records from the page, revision, and text tables.

    B18B

    Wikipedia provides database dumps as compressed XML files. However we need to import this into the MySQL database. A Java tool called mwdumper is the best way to go about this: it reads the compressed XML and outputs SQL statements, or will even directly connect to a MySQL server and insert them for you. But, this will take FOREVER (at least 24 hours) and if you have to interrupt it, you have to start from scratch. Provided you have another Linux box on which to do some preprocessing though, you can make things easier on yourself. Here’s what to do.

    1. Get a Wikipedia dump file – the one you want is called pages-articles.xml.bz2. Download it to your Linux box. It’ll be big.
    2. Get mwdumper as well.
    3. Get Sun Java 1.4 or 5.0. You can use mwdumper with GNU GCJ, but in my test it’s about 10x slower.
    4. Put both files in a directory and run java -jar mwdumper --format=sql:1.5 pages-articles.bz2 | sed -e 's/^INSERT/INSERT IGNORE/' | split - wikidump- and make sure you have about 7GB of free disk space.
    5. This process will chug along for a while and the result will be a bunch of files called wikidump-aa, wikidump-ab, etc. They contain the SQL statements that inject the data, but we’ve split it up into smaller chunks. That way we can interrupt things in the middle. We changed the INSERT command to INSERT IGNORE so that if we do interrupt things and start importing a file again, MySQL won’t complain about duplicate keys.
    6. Feed the data to the MySQL database on your Pepper: mysql -h pepper -u root -p'password' < wikidump-aa substituting your Pad’s IP, MySQL username and password (the ones you used in the MediaWiki setup, remember?) Or use a shell script to automate this, printing the filename before it starts loading so that you know where you are. We’re talking about 3.8 million wiki pages here. As of this very moment I’m somewhere in file ‘ah’ and I’ve done 784,000 pages.
  • Impressions: Pepper Pad 3 vs. Pad 2

    Pepper Pad 3 vs. Pad 2
    Pepper Pad 3 vs. Pad 2,
    originally uploaded by chuma_.

    Showing up about a week early is my wife’s Pepper Pad 3. I thought the Pad 2 was pretty darn cool, but the new model is a definite improvement.

    First of all it came pre-loaded with Pepper Keeper 3.0, which I can’t wait to get on my Pad 2. The UI makes much better use of the screen real estate and is more colourful to boot.

    The new Pad 3 hardware – based on the AMD Geode LX800 platform – runs circles around the old XScale architecture. It’s SERIOUSLY FASTER. I don’t know how I can stress this enough. Switching apps is INSTANT now. No lag whatsoever. And this is with the same amount of RAM and hard disk as the Pad 2.

    Network performance is better too, a combination of G-class wireless with a better antenna. Pages render faster.

    I didn’t get too much time to poke around last night, but most other applications look pretty much the same. I’m sure there are bugfixes in place. I did try the built-in camera out: don’t be expecting any stellar optics but it’s a passable webcam or video conferencing camera (which is of course what it’s supposed to be.)

  • I still hate iTunes.

    Unsurprisingly, I’m not alone in my hatred of iTunes. A handful of people have commented on my previous post back in June in a similar vein. Well the hatin’ just keeps on comin’.

    My wife just converted over to Anapod Explorer after grappling with iTunes. As soon as she said “I just want to drag and drop!” I knew what had to be done. After a frenetic license-purchasing and quick training session, she’s happy as a clam.

    But lo! Apple manages to piss me off even more! If you haven’t been living under a rock you’ll know that the next incremental updates to the iPod line are out, including firmware updates for older models. In the past, Apple has distributed the firmware updates as a separate application known as the iPod Updater. But not any more – now you have to install iTunes 7 to get the latest firmware (for my 5G, that’s version 1.2). The separate updater is gone. Not only that, but I looked and looked and disassembled and the firmware isn’t even included in the download itself. The software must download the firmware from Apple after the fact. ARGH.

    I will get this iPod updated without iTunes, somehow…

    Update Well I got it upgraded, but I had to install iTunes 7. But then I uninstalled it immediately. I torched my old iTunes library data files first, then installed iT7. It crashed the first two or three times I tried to start it (real /quality/ there, Apple) but once it came up I took a deep breath and plugged in my iPod. It detected BUT I guess it didn’t remember anything about my iPod, so it asked me if I wanted to sync it with iTunes (aka DELETE EVERYTHING OFF MY IPOD) so I said NO, then it told me there was a firmware update. Did the update no problem and as soon as my iPod started rebooting (with the little progress bar) I shutdown iTunes and uninstalled it. Then I used iPodWizard to dump the 5G v1.2 firmware off my iPod to a file.

  • Seriously, I’m still around

    That spring I was talking about on my K550DTN printer, the one that came dislodged? It actually got jammed and I had to bend it beyond repair to remove it. HP sent me a new lower tray gratis, but they haven’t updated the design.

  • nope, not dead, still here

    We went to Cedar Point, Ohio for the weekend of my birthday and had a fun getaway. I rode all the coasters at the park, especially on Sunday when it was shockingly not very busy at all. I walked onto most coasters with no wait, and boy, what a selection they have. Top Thrill Dragster was the most thrilling 20 seconds of my life I think. We had a good time together but some of the coasters were too extreme for Sandy, for good reason: they run much faster than your “standard” roller coaster and so you pull more G’s. But it was still nice to get away and go someplace different, even if it was just south of the border.

    We got a new printer at home after my Apple Personal LaserWriter NTR finally gave up the ghost with a misaligned scanning laser (I think). A moment of silence please.

    Well, we replaced it with (gasp!) an inkjet printer. I’ve always been the first one to point out the high cost of inkjet printing and have resisted spending a lot of money on one, but this time around I was convinced. We bought an HP OfficeJet Pro K550dtn, aka “HP Alphabet Soup” as I like to call it. It has some good things going for it:

    • Four separate ink cartridges, including the ability to use a high-capacity black cartridge – something I miss from the days of my Canon BJ-4000. They load easily in the front too.
    • Two separate print heads – yes, the heads are separate from the cartridges, so the ink is cheaper, and the heads should last quite a while. Stupidly the black head is combined with yellow, and cyan with magenta. Considering the black will likely wear out first…
    • It actually has a lower cost per page on black and colour than a colour laser.
    • I got it on a frickin’ deal at Best Buy: paid $315, and am getting $70 rebate from HP.

    It even comes in three flavours: basic with one tray and USB, the dtn with wired networking, duplexer, and second tray, and the dtwn with wired+802.11g, duplexer, second tray, and USB Host support. The built-in print server is obviously geared towards a corporate environment, as it automatically keeps track of users’ printing including # of pages, and even microlitres of ink used (in each colour, of course!)

    It’s not stellar for photo printing but it knocks the socks off my craptastic Lexmark Z33. And the paper trays are very fragile. I had to reseat a spring that sits in the bottom of the tray 2 area this morning and HP was of no help. Still, that spring will probably get dislodged again unless I remember to put the trays back very, very slowly. You can’t just slam them home like I used to on my Apple, or any of the HPs I’ve used before.

    Still, I hope it will stand the test of time as my NTR did.

  • Dear fellow commuters:

    Please divide yourselves into two groups:

    1. Those of you who are able to walk in a straight line, at a steady pace, and don’t drag those bloody wheeled suitcases, please keep left.
    2. The rest of you who insist on:
    • walking like a drunk
    • walking extremely slowly in the middle of the path, often while reading, talking on a cell phone, or thumbing your Crackberry
    • standing in the middle of the PATH talking to your friends while thousands of people route around you
    • stopping dead at the top or bottom of staircases, escalators, or doorways

    Please, for your own sake, STAY OUT OF EVERYONE ELSES FUCKING WAY!

    This has been a public service announcement from me.

  • Turn left, young man

    On Saturday we went to the weekly stock car races at Mosport and I brought Calum along to take some photos of cars going in a circle really really fast. Amateur oval racing, that is. His photo gallery is here and there are some nice shots there.

⚡ Cached with atec Page Cache