Playing with Joomla CMS

I’m toying with migrating a friend’s HTML site built off a custom intractable CMS to Joomla.

I installed the K2, engine for Joomla just based on the fact that I use K2 for WordPress and it’s great. A weak reason to do so, I know, but one none-the-less.

It’s still too soon to comment on my initial impressions, but watch out for some opinions in true jba fashion as well as possibly a few tips also.

Okay, time for one opinion; the getting started guide is way to floral (in the literary sense) for a getting started guide. Found it incredibly annoying.

About Me Widget working in Wordpress 2.9.x

Hi all,

As mentioned in I’ve updated the about-me-widget to be compatible with WordPress 2.9 changes. The changes I made should be backwards compatible to 2.8x too.

Download the latest version of the about-me-widget now.

Technically, I’m not particular proud of the things I had to do to get the plugin to work, it’s not the cleanest solution. But I even checked in with wp-hackers and the consensus there seemed to be that the work arounds are the most practical solution for now. Regardless, the plugin still works perfectly for end users, so download away.

LED traffic lights don’t melt snow

From over on boing boing, I saw this interesting post about the fact that LED traffic lights can’t melt the snow that collects in their shade covers.

An interesting calculation would be to see if the energy discipated by the waste heat of the old bulbs year round equals the energy required to keep the lights usable in the winter, in countries that have snow.

We’ve had LED lights here in the greater Sydney region for a while now, and I don’t think anyone has come across this issue here (it doesn’t snow in Sydney).

Saw AVATAR the movie last night

Decent movie, incredible effects, even more-so in 3D. As impressed by the effects as I was when I first saw the Matrix so think I’ might be back to see it in 3D again.

Not too sure how I feel about the obligatory love story though.

Havoc talks about litl’s webbook

So Havoc Pennington of former red hat and freedesktop.org glory has posted about his company litl’s latest product.

It’s an interesting concept, and could well take off, though the starting price of 700 USD seems a little steep to me. As Havoc mentions it’s all about build quality and attention to purpose when designing the thing and he does seem to have a point. I know use several different PC’s and laptops around the house to do all the things the litl webbook is trying to wrap in one user friendly device.

More unflash Flash

Okay so it’s been a while, but here comes another rant about Flash. Recently we launched a decent mapping integrated content site at ninemsn, http://rateyourplace.com.au/.

In cross browser testing we found that the autocomplete on IE6 just wasn’t working. A whole day’s troubleshooting later and we found out it was the CPU intensive flash animation (which used some 3D rendering engine) that took out the  jQuery bindings on the text box.

Turns out, CPU intensive flash, in a transparent wmode embed will take out text boxes immediately around it, and this is a known issue.

There’s no fix, just a bunch of work-arounds, tone down the amount of CPU intensiveness, or try changing the wmode to window (no more html layered elements over the flash if you do this). We were lucky enough to be able to go to a window wmode, as there were no hovering html elements, but this is a real lame issue if you ask me.

Essence of bing in a bottled water campaign

Is it just me or is this ad on the platform at Wynyard station giving off a bing-esque vibe?

So it’s not too clear in my crappy iPhone photo, but the word above “STAY PUMPED” says, ’search:’.

Codex Space Block – Easy access to Azure Blob Storage

So I’ve been doing a little playing around recently with Azure, looking at pushing some of the more processor intensive worker units out into the cloud.

I know there’s been a whole bunch of discussion about whether ‘your data’ belongs out in the cloud and all that, and on that front I’m still undecided, but pushing processor intensive modules that act on small transient blocks of data sounds like the perfect test case for a cloud app. More on what that app is to be later.

In the mean time I was looking to find an easy way to get my files onto my Azure connected account’s blob storage. Enter Codeplex Space Block.

CodexSpaceBlock

This app supports a whole bunch of cloud storage systems, but added Azure support after it’s major release. This means you need to use the link I posted above to download the latest commit, not the latest stable rellease (0.0.2.0).

I brought the app down for two reasons, firstly to get my files up onto the blob quickly and secondly to see a non-trivial example of accessing blob storage from C#.

Points to note:

  • In the UI, the Account name is the azure sub-domain you used when creating the blob storage project. In the screenshot above this would have been ninepixels, taken from the URL http://ninepixels.blob.core.windows.net.
  • The UI works very much like an ftp program, so no windows shell integration for drag and drop.

C# for the iPhone

Awesome post from an Aussie no less which is a non-trivial iPhone application using c# on monotouch.

The thing I love about monotouch is that it lets me leverage my .Net Skills (not just c#, but how the .Net run time works) and marries it to the low-level iPhone development infrastructure. The hardest part about getting into iPhone development for me was Objective-C, and now I don’t need to go there.

Points to note:

  • Obviously since interpretation is not allowed on the iPhone the guys at the mono project had to put together monotouch, which statically links the parts of the .net framework needed into each iPhone app.
  • Monotouch is a payed for product.

About Me Widget for Wordpress 2.8.x, or Embeding tinyMCE in a Wordpress Widget

Hey gang,

Just a quick update to let you all know that I just updated the about me widget over at codex to be compatible with the new WordPress Widget API. I decided to contact Sam and get access to the repository on codex, rather than host the download on my blog locally. Feel free to discuss installation or other issues in here.

I bumped the number up to 2.0 since it was a complete re-write to make it work in the new Widget API. The new API makes it incredibly easy to write regular widgets, but incredibly difficult to write plugins that require rich controls that use their own kind of ajax, tinyMCE being the candidate in this instance.

I had to do some very evil things to make the tinyMCE editor able to save it’s html into the textarea on the save button click event (since that triggers the ajax postback, not the form submit event that tinyMCE is watching for).

I also had to do some very bad things with respect to page loading and click event binding to get tinyMCE control to survive the ajax widget re-ording events. Apparently drag-and-drop destroys the underlying controls in the widget div which leaves the tinyMCE editor orphaned with no active window. The only way I was able to work around this issue was to bind the widget settings button (the down arrow) click event and literally remove the editor from the DOM, using jQuery().remove() and then re-init the editor and show it.

This is the only way i was able to get the tinyMCE editor able to both survive a sort event, and bind to the textarea. I don’t like because it means everyvtime you try to edit the about me widget you have destroy and re-create the tinyMCE editor and rebind it to the textarea. It works, it’s just not clean.

I suspect the WordPress dev’s will be changing the API to give it more hooks and mature it’s ajaxy-ness as time goes on.

Plugin link: http://wordpress.org/extend/plugins/about-me-widget/