My Latest Project: Hard4Linux

E-mail Print PDF
Hard4Linux Logo

It's been far too long again since I bothered to update this website. To be perfectly honest I haven't even thought about it for months. So this is just a quick entry to announce my latest project and, rather shamelessly, to create another link to it for the benefit of Google's page ranking algorithms.

I've been a full-time Linux user for some years now, and one of the things that has constantly frustrated me is the difficulty in making good buying decisions for Linux-compatible hardware, especially on a budget. It takes so much time to seek out all the best deals and then painstakingly cross-reference each product against the odd snippet that google turns up about that device running under Linux.

Read more...
 

Playing with Fractals in HTML5

E-mail Print PDF

Resenting the idea that I've turned into some kind of W3C Nazi the last few weeks, I decided to indulge myself with something a little more frivolous last weekend. Not many would consider reading the HTML5 specs a departure from W3C standards, let alone "frivolous", but I had something particular in mind - graphics.

I have been shying away from HTML5 for a while because most references I hear to it are in relation to the 2D and 3D graphics capabilities being added via the new <canvas> element. I don't have anything against graphics on the web (so long as they don't destroy the document structure, or use flash), but I tend to avoid such things because I have absolutely no artistic talent. Seriously, I struggle to draw convincing stick men. The reason my website uses more-or-less the default Joomla! template is not because I don't care what it looks like, and it's certainly not that I lack the technical skills to modify it. The problem is that I can't imagine what I would change it to look like instead. That's basically the reason I use a CMS at all to be honest - for the templates.

But since the W3C dropped XHTML, I figured I need to start looking properly at (X)HTML5, and knowing how things are with the web, I expect that most of the new and interesting work with HTML5 is going to be centered around graphics. So what can an aesthetically-challenged nerd do with graphics? Well, for one thing, fractals!!! :)

Read more...
 

Sample MathML Content

E-mail Print PDF

Just a few quick MathML examples here, stolen from Mozilla's MathML Torture Test page. This is only to demonstrate how you can seamlessly embed MathML XML markup directly within a XHTML document, in a Joomla! article. Note that you must serve your content with a suitable MIME type to just mix it into the document this way, and of course your browser needs to know how to render it.

You might as well forget Internet Explorer for this; it can't even handle some basic XHTML and CSS standards properly, least of all extensions such as MathML. But I believe there is an IE plug-in for MathML somewhere, and there are other tricks you can use (e.g. a special XSLT transform) to help out other browsers.

Opera has some limited support for MathML since 9.5 apparently, but as far as I know, Safari & Chrome are still lacking.

Firefox = King of the Web :P

Read more...
 

Hacking on the identi.ca Badge Script

E-mail Print PDF

I made some changes to the identica Badge script the other day. It started out just wanting to make it work in a XHTML DOM, but I ended up hacking it to produce valid XHTML and CSS as well as couple of other small changes. Honestly, I can't think of a good reason that the script needs to pass validation - the changes to ensure it's output is well-formed were necessary, but that's about it. Still, I did it anyway, and then I decided to write an article as a kind of walk-through of the modifications.

Why? No particular reason. Despite appearances perhaps, I'm not just desperate for content here :D In part it's because the web as a reference source currently relies on having mountains of (largely redundant) information to say the same things in different ways given a multitude of individual and specific contexts. And the reason I did this at all is simply that Open Source relies heavily on vested interests; I wanted to make it work on my pages, to make it output valid markup, and I wanted it to be fluid width.

Read more...
 

HowTo: Make W3Counter Work In XHTML

E-mail Print PDF

Since making the effort to get Joomla! working with strict XHTML and serving the correct MIME type accordingly, I've been a little annoyed that my W3Counter stats stopped recording the referrer links for those pages served as XHTML (i.e. for all non-IE vistors, which is 90% or more of the people who find their way here).

It just goes to show how few people are actually serving pages for a real XML DOM still, that almost all of the assorted widgets and various tracker scripts being thrown around, either rely on iframes or at least try to lazily document.write(foo) into your page, which (understandably) is not taken kindly to by the XML parser, producing errors like this:

Error: uncaught exception: [Exception... "Operation is not supported" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://www.w3counter.com/tracker.js Line: 108"]

So, after Google and the W3Counter site repeatedly failed to turn up any useful information (or even mention) about this, I decided to try hacking the tracker script myself.

Read more...
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »


Page 1 of 2

identi.ca

Social networking at identi.ca - an open source improvement on twitter!