Dedicated to my late brave, beautiful and silly mummy, Debra Ross. I love you mumster.

Skip navigation

Rubenerd Blog October 2008 rambling summary

A Swindon based 63 service
"A Swindon based 63 service" by The Oxford Bus Page

It’s official, October 2008 has been the best month for the Rubenerd Blog since August 2006. In total 63 posts have been submitted compared to 23 posts last month and 37 the month before last. Realistically many of these have been long and involved but many more have been silly posts with less than three lines. Still, that’s 63 random thoughts and ideas which isn’t as high as the ridiculous 110 I made back in August 2006 but it’s close.

In a kind of ironic twist, it seems that the more work and studying I need to do, the more material appears here. I think connecting my mind to a keyboard and letting all the ideas flow is a fantastic coping mechanism. It also allows me to keep my mind alert when I take breaks instead of being a passive consumer like I would be if I just watched TV.

ASIDE: For some reason I think this post will be getting the "pointless milestone" tag. The question is, how can I pull off putting a picture from an anime series on here too so I can use the "pointlessly fun anime reference" tag as well. These are the thoughts that keep me up at night. That and coffee. That made no sense.

Given I’m posting so many entries from my iPhone now as well, I think the next logical step in the evolution of this long winded and overly verbose trail of consciousness is to include some form of location metadata into each post. In this way I could see just how many words I have typed while I was sitting at the Boatdeck Cafe in Mawson Lakes or the huge Starbucks with lots of comfortable lounge chairs in Millennia Walk in Singapore. I have a sneaking suspicion they might be where most of this stuff gets done!

ASIDE: Millennia Walk was just across from where the Singapore Formula 1 night race was held. It’s a really bizzare building with gigantic pyramid like skylights that stretch above the main shopping area by several whole floors. I did work for people around Suntec City and Millennia Walk after I finished high school in 2004.

Millennia Walk, Singapore
Millennia Walk, Singapore by williamcho

The place of the Rubenerd Show I think is also starting to evolve again. Previously I would speak everything I was thinking into that show, now it’s much more of a spur of the moment type of project which I hope will improve the quality. I wish I had the self confidence that Frank Nora has by being able to speak into a voice recorder as I walk down the street with people staring at me the whole time… perhaps at some point I’ll get to that stage.

At some point I would also like… ney LOVE, to be able to finally move all this material onto the content management system I wrote myself in Ruby (without Rails… it bothers me how people assume it must use it if it’s a Ruby web app) earlier this year too. Perhaps after the exams and this latest project I’m doing for a client I’ll take a solid week off to do that.

Yukikiro Matsumoto I’m fed up with all these constant WordPress updates; it is a great blogging system if you want millions of bells and whistles but don’t want to do any programming yourself, but it’s incredibly top heavy for what I want to do here. Not only that, but it’s written in PHP. As a guy who also loves Perl, I have nothing against PHP, it’s just Ruby is so much more Smalltalk like and is so elegant. Ruby code can be syntax-highlighted and printed onto posters it looks so nice. Yukihiro Matsumoto knew what he was doing!

ASIDE: My beautiful late mum thought that Yukihiro Matsumoto was cute.

I’d love to learn though how to better integrate MediaWiki with Ruby applications though, I love MediaWiki and I’d love to start using it again for my own projects. For a while I was a maintainer of an intranet wiki system and I wrote a lot of Ruby scripts that PHP would call using system calls, but it wasn’t very elegant. If I could figure out how to better integrate them, I could write so many scripts for Whole Wheat Radio to do trippy things Jim would have to start blocking my IP address because I’d be using all WWR’s idle CPU power. Wouldn’t that be fantastic?

BRAINWAVE: Wouldn’t it be great to be able to use the same user database for my Ruby CMS and MediaWiki? Then I could leave my CMS for the blogging portion, and use MediaWiki for the Wiki side, but the users would be consistant. I’m so smart it’s scary sometimes. Okay, I’m more scary than smart.

Well that post started constructively and quickly deteriorated into rambling quickly… sorry about that. 63 posts though. Like the way I got back on topic again by referencing what I was supposed to be discussing? That’s called "skill" and it’s not something you can learn at any fancy tertiary educational institution.

Nitpicking open source and free… again

Despite really like Ruby and Perl, due to time constraints and other obligations I’m still reluctantly using WordPress and PHP on most of my blog powered sites including this one. Until I make the desperatly wanted switch, WP news still affects me and I take a somewhat interested view of what’s going on. Not exactly a glowing endorsement, but then again it is the middle of the day here in Mawson Lakes so if I started glowing it would be a bit of a waste of energy.

It seems the widely used Revolution Theme for WordPress has gone open source. From the Weblog Tools Collection article:

Brian Gardner’s Revolution Theme for WordPress is going 100% Open Source. All the themes that are currently on Brian’s Revolution site will no longer be available as or October 31st and will be replaced with a set of new themes that will be developed and released under the GPL. The original Revolution themes will continue to be supported for those who have purchased them in the past.

Now I hate to be a nitpicker and certainly I consider myself more practical than ideological when it comes to the great software debate, but isn’t this an example of something becoming Free Software and not just Open Source? Aren’t most applications written in interpreted languages Open Source by their very nature because you can read the files? If Brian Gardner is releasing his themes under the GPL, then wouldn’t that make them Free (as in speech as well as beer) instead of just Open Source?

I guess it boils down to disclosure; if you purchase a theme from someone instead of downloading it gratis, there’s probably a clause limiting your right to redistribute or share the code. Still, isn’t that more of an issue of the software not being Free, rather than it not being Open Source?

In any event I congratulate Brian for going down this path. I suspect he will be getting far more users and interest after doing this, and he deserves all of it.

And now I’m off for a Caeser salad. I’ve been having cravings for Caeser salad. Is that healthy?

Just ordered a Yubikey

YubikeyAfter listening to a recent episode of Security Now I’ve gone ahead and purchased myself a Yubikey!

The Yubikey is a phenomenal new device that’s smaller than most memory keys that when plugged into a USB port and the loan button on the case is pressed, a one time password is generated and entered. It does this on any HID enabled operating system including my beloved Mac OS X and FreeBSD without extra drivers because it shows itself as a regular USB keyboard. It’s so beautifully simple!

The best part is that the API is open and accessible from a number of different programming languages such as Ruby, PHP and Python (not sure about Perl just yet).

In the coming weeks I’m going to try to implement my Yubikey into my Ruby CMS. I’m really excited!

Setting up MediaWiki for registered user edits only

UPDATE: The Whole Wheat Radio wiki is back online again.

With the Whole Wheat Radio outage in effect I decided to create some mockup pages outlining some ideas over on my university intranet’s [sic] MediaWiki installation, but after some vocal opposition I decided to whip up a temporary WWR wiki testbed over at http://rubenerd.com/projects/wwr. Feel free to mess around there with WWR related whatnot while the mothership is offline and you have a Sunday morning to kill as I do right now!

If you’re using a wiki under similar circumstances and you don’t need or want anonymous edits compared to a bigger, more collaborative effort like Wikipedia, all it takes is appending one line to your ./LocalSettings.php file:

# Block edits by anonymous users
$wgGroupPermissions['*']['edit'] = false;

I know, I know… that was actually TWO lines, but the point is only the last line actually invokes the functionality described, the first is just a comment… which you should always include. Okay, okay I see your point.

WordPress eXtended RSS fun

WXR

I haven’t been having much luck with technology this week, but this seems to be the icing on the cake so to speak. The problem is no matter how hard I try I just can’t get WXR working.

WXR is of course the WordPress eXtended RSS format which allows you to quickly export the entire written contents of your weblog including posts, pages, categories, tags and kitchen sinks. It means you can pick up the guts of your weblog, then do a backup of your wp-content folder which contains all your uploaded media, plugins and themes, then import them somewhere else.

Only problem is, this is the seventh time and I still can’t get it to work on one WordPress installation. I have a local web server running on my MacBook Pro which I’ve set up to test new themes and plugins I’m working on, and on this local installation of WordPress I can import my Rubenerd Show material without any trouble at all, but I’ve had no end of trouble when I try to do the same thing from the Rubenerd Blog.

The curious thing is that there’s no consistency to the errors. On Thursday I tried importing from this weblog and WordPress silently failed; the import page just stopped rendering after it had uploaded the file. Then yesterday I tried again and it was able to import posts but only up to September 2006 when it decided to stop.

The only things I can think of that could be causing this problem is the WXR export php file in WordPress wasn’t uploaded to the server correctly, or the file (2.2MiB) is too big somehow for my local web server to handle, or maybe there’s some malformed HTML in one of my posts which breaks the resulting XML file it’s contained in… maybe it’s just gremlins.

One clue though showed itself when I tried to open the exported WXR file in Smultron:

So perhaps it’s an encoding issue? Or does Wordpress not output UTF-8? Could it be failing because some of my posts have East Asian characters which need UTF-8?

Whatever this blasted problem is, it looks like this is going to be a very, very, very long Saturday.

Fickleness 101: Sticking with WordPress

WordPress

After a long time developing the alternative version of this site, the real world has finally set in and I’ve decided not to move over to the new platform. When I see how much work it would take to transition over versus the amount of time I have to do such things, I decided just to stay with WordPress for the Show and Blog for the time being after all.

All my work has not gone to waste though, I was able to submit it as part of a project and got a perfect score, so it fulfilled it’s purpose. And I learned a great deal about how trackbacks, pings and blog engines actually work, which makes me appreciate what WordPress offers even more.

Then there was the financial problem. It would probably surprise nobody given it’s IT savviness that Singapore has a mind boggling array of web hosting companies, but none of them provide Ruby on Rails support unless you purchase Business plans, which are in the three digits per month. As a struggling university student living under a John Howard government (albeit externally) you can understand why I couldn’t afford it!

With that in mind, I’m going to modify the new theme I had created so it can be used with WordPress. This week I have less work so I’ve promised myself that by this time next week, the new show and blog site will be up and running. That’s a promise!

The next step, even though Wordpress is PHP, can you write plugins for it in Ruby? :D

On Ruby CGI, hospitals and stuff

The Ruby powered version of the Rubenerd Show and Blog are well underway and are looking pretty good! The way it is at the moment I’m using WordPress which I can’t use for study credits but I can use a blog provided it is powered by a platform I’ve coded myself. I figure if I can get credit for all the work I’m doing here it would be a real help. The only major hurdle I can think of so far will be to transfer all the accumulated WordPress database information over to my program; perhaps I’ll just stick with the WordPress database schema to save myself trouble.

Great Eastern Shopping Mall satellite mapI’m sitting at the Starbucks in Menara Great Eastern, across the road from the hospital where my mum is having her blood tested. From what I can tell the chemotherapy she was having has stopped working and the tumours on her liver have started growing again. Her doctor in Singapore Dr Tan is currently at a conference discussing what to do next. The way medical science is progressing I’m sure there will be another treatment she can go on.

Had a phone call from my good friend Kevin Tan from Singapore who I met in Adelaide last night; he’s working for Sony now, amazing!

Rubenerd Show 222 has been recorded, but given the reliability of internet here I can’t get more than 2/3rds of the way through the upload before it times out. I’ll go to as many Starbucks WiFi hotspots as I can until the damned things gets up to that server!

Cheerio,
Ruben

Rubenerd Forum Finally Fixed!

Vanilla Forum SoftwareOriginally posted on the Rubenerd Forum

Well it’s almost 04:30am here in KL, and I figured out what the darned problem was in Internet Explorer!

Brace yourselves! It was… a <div> tag that wasn’t closed! That’s it! I reinstalled the database, I uploaded all the server files twice, I rewrote all the CSS, and it was because I forgot to close a <div> tag. AAARGH! Firefox must have been more forgiving when it encountered my crappy code extensions; in any event for once it wasn’t Internet Explorer’s fault, it was entirely my own!

Tinkering around though with this Vanilla Forum software though I learned a lot, so it wasn’t a complete waste. I figured out how to use the language customisation features, so now we can all bask in the glory that is Aussie/British spelling! I’m so old fashioned :wink:.

I also changed the theme to one that takes up much less screen space.

Let me all know what you think and if you have any further problems. It was exhausting, but in a way I’m glad it happened, I’ve learned so much about Internet Explorer CSS hacks, and how to customise Vanilla Forum software.

Cheers
Ruben