Archive for the 'web' Category

Going multi-lingual

Its a hard problem and not many people are tacking it in the web development world. Heres some research into presenting content in different languages via HTML.

To frame the problem heres a good break down of the three technical issues:

There are three considerations for presenting HTML in non-English languages. First, that the document is delivered in the desired natural language (such as English, French, etc.) and dialect (US, British, etc.). Second, that the document is presented in the correct character set. This is a requirement for most Eastern languages (Russian, Japanese, etc.). Third, that the document is presented in the correct directionality. This is a consideration for languages such as Hebrew, Arabic, Japanese that are customarily written right-to-left or top-to-bottom.

Continue reading ‘Going multi-lingual’

Why WordPress can’t be shared

Aim

I have about 6 different Wordpress installs on my host. One for me, one for my company TSD and 3-4 for friends and family on sub domains. The issues I have with it are:

  • Upgrading is a pain
  • Sharing plugin-ins is a pain
  • Gets worse for every new blog I install

So I tried to modify the WP code so that it could be installed (and upgraded) in one place and then used for many blogs on the same server. I found out that as it stands WP’s design doesn’t scale very well. I guess it wasn’t meant to, but when you work with it you get the feeling it could…
Continue reading ‘Why WordPress can’t be shared’

More Damask Wallpaper Patterns

I find they work well if the rest of the sites design is minimal. Heres a list of wallpaper sites I like:

Well, thats about it so far. If you know any more, leave a comment.

Microsoft does not support its own browser

IE5 error on microsoft.com
IE5 on microsoft.com pulls an error.
HA-ha!

Logical Operators cross languages

Heres a table of logic operators used in various languages for quick reference:
Continue reading ‘Logical Operators cross languages’

Regular Expression to remove HTML tables

Just figured out this regular expression to remove all tables from a HTML document:

</?table[^>]*>|</?tr[^>]*>|</?td[^>]*>|</?thead[^>]*>|</?tbody[^>]*>

Extreamly useful for cleaning up prehistoric markup with a text editor that supports regular expression find-and-replace searches.

And to go all the way, this one removes font tags too:

</?table[^>]*>|</?tr[^>]*>|</?td[^>]*>|</?thead[^>]*>|</?tbody[^>]*>|</?font[^>]*>

Flash as a background and the object tag drama

The Mission

Use Flash as a background image.

The Problems

There are a multitude of problems with embedding Flash into valid mark-up. Basically:

  • You can’t use the tag now days and has been dropped in favor of the tag. You actually can use the embed tag but its not future compatible and your page won’t validate.
  • This presents problems because IE and Netscape/Firefox based browsers handle the object tag differently. If you manage to get a single object tag to load a flash movie in both browsers then IE seems to not stream the movie anymore.

Continue reading ‘Flash as a background and the object tag drama’

Fun dumby text for all the kids

Ten years ago a crack commando unit was sent to prison by a military court for a crime they didn’t commit. These men promptly escaped from a maximum security stockade to the Los Angeles underground. Today, still wanted by the government, they survive as soldiers of fortune. If you have a problem and no one else can help, and if you can find them, maybe you can hire the A-team.

Some creative dumby text for you web developers out there thanks to malevole.

Flash, HTML or both at the same time!

OpenLaszlo is mind blowing! If you don’t believe me check their demo Flash Flickr browser AND THEN check their identical DHTML Flickr browser compiled from the same code or XML as it were.

As if that wasn’t impressive enough, the concept of zero-install, or no-install, stand alone web applications (I prefer widgets) is quite a unique idea and makes it Oh-so-easy to integrate into whatever you need it for like a blog, community portal, forum, static HTML page etc.

The final clincher for me is that its Open Source. Flapping their floppies at the big boys, YEAH! We (I) here at TMI like it and award it the ‘Sh!tHot!‘ stamp of approval, look for it all good websites.

And while we’re on the Dojo subject, why not draw a picture AND THEN playback the creation process in real time! This ones just Hot!

Why Sharing is Caring

The music industry is going down. The Label executives are going out kicking and suing but we all know its over. The music production model has changed and there is no room for them anymore.

In Michael Calore blog post on Wired, ‘The Web’s First Rock n’ Roll Success?’, Michael touts proof of what everyone has know since Napster started up: File sharing of MP3s is good for the consumer and bad for the old school Record Industry:

“Their story is remarkable because of one fact: grassroots communication channels like MySpace and P2P file trading networks worked better than the major-label hype machine. The Arctic Monkeys became hugely popular because they wrote good songs, made them available to their fans for free, and encouraged them to share the MP3s with their friends.”

The Arctic Monkey, after this sort of promotion realised “the fastest-selling independent debut in UK history”. The article/post goes on to say “The major labels are still scratching their heads wondering why the kids aren’t buying records they way they used to.”, and teh answer to that is, I say, is because the stuff the record companies have been pumping out is not art, its manufactured shite. They spend X million on promotions and more than double their money before the teeny boppers figure out that its shite. Now, the teeny boppers are downloading the one song on the album an realising the rest is garbage and before they go out and buy it (if they still intended to) the next fad hits them and they have forgotten about what they were just listening to.

I noted an article back in 200x called ‘The New Economics of Music: File-Sharing and Double Moral Hazard’ in which the same argument is put forward but using economic theory:

Fundamentally, I’m going to argue that consumers download music, as much to derive extra value from getting something for free, as they do because they want insurance against buying something they didn’t want in the first place. File-sharing is as much about risk-sharing as it is about the ‘theft’ of value. Technological changes have made this possible - but the way the business model of the music industry is at odds with the implicit contract it signs with listeners is what makes it probable.

Ultimately it means that the record industry has to start finding real artist rather than manufacturing fads. Good for real music artist, good for us the consumers. Everyone wins except the fat middle men. Maybe the internet can eliminate all the middle men of the world. I hope Real Estate agents are next.