Search results for: “”

  • Minesweeper for Pepper Pad

    I took an XUL implementation of Minesweeper, XULMine and packaged it up as a Pepper Keeper application. XULMine is provided under the terms of the Mozilla Public Licence, ergo, I’m also providing the Keeper source files under the MPL.

    Pad 2 Users: You need to enable debug mode before clicking the install link below. Press Ctrl-Shift-0 to enable debug mode. You can use the same keystroke to disable debug mode after installation.

    To play, tap to clear a tile and right-click (press function, then tap) to flag a tile.

    If you like it and want support me building more apps, you can donate a few bucks via PayPal:

    B1B

  • Let’s get something straight here people

    I’m not a gambling man. I like to get something for my money. So I would probably never plan a trip to Las Vegas. But, if I ever found myself there, I know that I would have to go to The Pinball Hall of Fame. Over 150 pinball machines, lovingly restored by collectors, (almost) all for a quarter a play? And all the money goes to charity? I’d like up for that kind of fun.

    And they have a Terminator 2table, which I probably put a hundred bucks into when I was in grades 9-11.

  • When did physical activity become so difficult?

    We played some pickup volleyball last night at Sandy’s school, and man am I one hurting unit today. I ran around like a rag doll for an hour and a half, hitting the ball off the ceiling about half the time. Some things I remembered:

    • Volleyballs like to bounce! A lot! You don’t have to hit them very hard.
    • I like to block and play close to the net. Long arms are good.
    • When you fall on your knees, you will get walnut-sized bruises.
    • Blocking the ball at the net is the best feeling in the world.
  • IceWM Menu Builder

    One of the main, very silly drawbacks to Pepper Desktop is that it doesn’t have a built-in way to launch native binaries. The Pad 2 out of the box ships using IceWM as the window manager. If you press Ctrl-Esc you get the IceWM menu pop open on the screen, and this does let you open native binaries. But customizing it was a pain in the neck, until now.

    I’ve designed a simple system to build IceWM menu files from a hierarchy of files installed by other RPM packages. Packagers have their RPMs write an IceWM menu entry in a file under /usr/local/share/icewm_menu/ and the script icewm_menu_build.sh traverses this structure and writes menu files in the users’ .icewm/ directory. I’m working on having all of my custom Pad 2 RPMs write these files and require the icewm-menu-build package so that Pad 2 users can have easy access to third-party Linux applications.

    Here’s what the directory structure looks like:

    /usr/local/share/icewm_menu/ (Root directory, if you will)
        root/
            root (entries that go directly in the root menu)
        Games/ (a directory that will become a sub-menu)
            xmahjongg (a file containing a menu entry under Games)
        Programs/ (another sub-menu)
            emelfm2
    

    An IceWM menu entry looks like this, taking FBreader as an example:

    prog FBReader /usr/share/FBReader/icons/FBReader.png /usr/bin/FBReader
    

    That is:

    prog (menu entry name) (path to menu icon, or '-') (path to executable)
    
  • Two weeks of vacation have been pretty good to me. True, I’ve been lazy as hell but I deserve to be lazy as hell! Right now I’m fed up with trying to build software on my Pepper Pad 2 so I’m writing here. Friggin’ five year old version of autoconf and automake do NOT make me happy…

    Christmas was a pretty good time. Sandy surprised me with a Nintendo DS, which I haven’t hacked yet but I’m looking forward to it. We’ve been playing a ton of Rayman: Raving Rabbids and Elebits on the Wii. And just doing a lot of lounging.

  • Safari’s strictness

    Apple’s Safari browser is pretty strict when it comes to certain things in JavaScript. For starters the ECMAScript set of future reserved words are already reserved words in SafariScript. Things like “super” or “export” or “static” are no-go.

    Second, I just found this oddity. I’d written some code like this:

    var q = document.getElementById('foo').childNodes;
    for (var i in q)
    {
        var el = q[i];
        // do stuff with el
    }
    

    This code ran great in Firefox and IE, but on Safari el was never valid. The reason seems to be that Safari really expects a variable given in an array subscript to be a number, not a string (when you use for (foo in bar) foo will be a string).

  • Definitions of PATH walkers

    • phone-walker: talking on a cell phone and meandering slowly and aimlessly as if drunk, often bumping into people and children
    • shoe-shopper: that woman who always DIVES right in front of me in front of the shoe store in BCE place to check out what’s on the bargain table. This happens once a week, I’m not exaggerating
    • centre-of-the-universe: walks very slowly and in the exact middle of any given passage, forcing you to navigate around them, like water in a stream going around a three-tonne boulder
    • phalanx: walking three or four or more wide.
    • stair-ectomy: standing in the way at the top or bottom of a staircase.

    I had way more snappier names for these while I was walking at lunchtime.

  • T.O. is under water, and other news

    Holy crap is it raining. St. James Park across the street is now St. James River, flowing right down the middle of the park and emptying into King St.

    Oh, we got a Nintendo Wii 😉 Boy is it fun.

  • An interesting observation

    My boss pointed out yesterday that, at our little office of 16 people, I’ve been there the 5th longest. Spooky.

  • RPMs for the Pad 3

    The Pad 3 is based on Fedora Core 4 and so you there’s a good chance that you can find what you’re looking for by using ‘yum’ on the pad or by using rpmfind.net.

    B2B

    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.

⚡ Cached with atec Page Cache