Archive for category Geekery

Syndicating your shared Google Reader items

I’m an avid user of Google Reader. I follow a couple dozen different websites, check it daily (and sometimes quasi-daily), and have a very elaborate system of tags.

One thing that I did a year or two ago was to take my public broadcast feed of my shared items and integrate it into my main website directly. The goal was to have the homepage of my website always have fresh content by linking it to my shared Reader items (I share anywhere from 3-8 items per day, on average).

Originally, my solution was a bit of a hack: I used Magpie RSS reader to consume the feeds, then did some serious PHP acrobatics to parse out the Google Reader feed — what I failed to understand, at the time, was the fundamental differences between RSS and Atom feeds (subtle, yet significant). All in all, I think it took somewhere from 100-150 lines of code to effectively snatch the feed and parse it out; and it wasn’t perfect, either — frequentle the title and source would get mashed together. But for that particular time, it was fine.

The other night, though, I decided to try and fix it up proper. I discovered that the Zend Framework has some native Atom Feed classes and thought this would be a good place to start. (Details, including my PHP source code, after the jump)

Read the rest of this entry »

Popularity: 3% [?]

Tags: , , , ,

Euro-Gaming in Linux [Linux FTW]

A “euro-game”, also known as a “German-style board game” are

are a broad class of tabletop games that generally have simple rules, short to medium playing times, indirect player interaction, and physical components, which are frequently wooden player tokens or markers. The games emphasize strategy, downplay luck and conflict, lean towards economic rather than military themes, and usually keep all the players in the game until it ends.

The most well-known example of this would be Klaus Teuber’s Settlers of Catan.

Where western / American-style board games tend to focus more on direct competition, zero-sum arrangements, and frequently combat themes, German-style games instead focus on empire-building, strategizing, and often economic themes. If American-style games are “during the war”, German-style are “before and after”. There is player interaction, of course, but it’s frequently circumstantial or coincidental. The publishers “Rio Grande Games” and “Mayfair Games” are both terrific sources (as are many games that win the annual Spiel de Jahres award)

In any case – they are a variety of games that have become quite popular here in America over the past decade. My friendly gaming group frequents many of these.

Over the past year, I have discovered several computer-based editions of these games that can either be played online (against other people) or locally (against computer AI) — the best part is that they have Linux-based versions! The games I’ll cover here, along with how to set them up and where to find more information on playing them, are:

  • Settlers of Catan
  • Race for the Galaxy
  • San Juan
  • Dominion / Puerto Rico / Carcasonne / others

Read the rest of this entry »

Popularity: 4% [?]

Tags: ,

Synaesthesia, also known as “Piano Hero” [Linux FTW]

Last year, a friend of mine showed me this cool program he found called “Synaesthesia.” It is, as the title reads, “Piano Hero.” Notes fall from the top to the bottom of the screen and when they collide with the bottom, you must hit the appropriate  key on your piano / keyboard / MIDI controller. It is a VERY cool tool for training, practicing, and learning new songs. As someone that is not particularly skilled at sight-reading music (I do better learning aurally), any way to get new songs loaded into my brain is welcome.

We inherited a Yamaha Clavinova 350 last year as well, which has been really terrific for practicing; I was previously using a 2/3 size electric piano that was showing its age. I picked up an M-Audio Fast Track Pro interface off of eBay for about  $50, and so I can now use the Clavinova as a MIDI controller!

My big Win last week, though, which happens to be what this post is about, is getting it to not only work in Linux (not so hard) but getting the Clavinova to function as the MIDI controller for it (somewhat challenging). Read the rest of this entry »

Popularity: 8% [?]

Tags: , , , , ,

Making the Switch [Linux FTW]

Since January of this year, I have helped 3 separate people make the switch over to Linux from Windows. Last year I helped two people do it, and I am currently in the process of converting our desktop (used primarily by the wifey) over to Ubuntu as well.

To date, only one of them went back, but to be fair, I wasn’t able to help him in person, only over the Internet (and being able to play World of Warcraft was a dealbreaker for him — WoW does work, you just have to hoop-jump a bit to do it).

The distro of choice, of course, is Ubuntu. The latest release, Karmic Koala, offers many really awesome features, some of which aren’t even offered on Windows.

The key factor for conversion is quite simple: most people only need some really basic features to be satisfied. If anyone has ever asked you for advice about what computer to buy, if you ask them what they plan on doing it, the answer is often “Oh, you know… email, Internet, pictures, word processing; nothing fancy, I don’t need a gaming computer.”

Read the rest of this entry »

Popularity: 6% [?]

Tags: , ,

Using Virtualbox with an Existing Windows Partition [Linux FTW]

The recursion might blow your mind.

Last week, a friend of mine needed me to do an audio file conversion, but the app that I use is installed on my windows partition. I really don’t ever boot into Windows unless I have a good reason for it — I’m much happier tooling around in Linux — there’s just something satisfying and comfortable about being able to pop open a shell at any time.

Anyways – it got me thinking: I’ve booted into a Windows XP image,  why can’t I use VirtualBox to boot from a whole partition? Surely that is possible…

Tonight I finally got to play with it. And as you can see from the image here, I got success. :)

It’s a little challenging, but it’s doable. I had to spend some time to iron out the kinks, but you can reap the benefits!

UPDATE: Sandeep has submitted screenshots with instructions on getting this to work with Windows 7, see below, at the very end.

UPDATE: If you are getting the error message: Offset must be a number: rce
I have found the fix for it. See the instructions below.

UPDATE: Bogdan (see comments) was able to get Windows Vista working under Virtualbox OSE, using the method below. See his comments for specifics on Windows Vista.

Read the rest of this entry »

Popularity: 100% [?]

Tags: , , , , ,