Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for the ‘Technology’ Category

Changing Terrain

Optical mouseThe word on the street is that Microsoft’s CEO, Steve Ballmer, has lost a lot of weight recently. Perhaps he cannot sleep at night either, or perhaps, even more possibly, he is simply on a diet. I prefer to believe that he lost his appetite once he fully comprehended the fierce competition, which he reluctantly admitted to in a very recent interview on innovation (video in Windows-only WMV format, so see cocky comments instead). Microsoft have plenty of reasons to worry:

  • Internet domination – Firefox and Google are slowly taking control of the Net. Software migrates to the Web and becomes more inter-operable. This by all means accumulates to more bad news to Microsoft.
  • Mac and Tiger – Scoble of Microsoft has admitted that Mac OS is ahead of Window in terms of its capabilities. Eye candy is not the only advantage Apple have to offer.
  • Security – Windows is still unable to cope with the many security flaws and viruses. The industry is getting fed up.
  • Breaking proprietary – Samba has opened up network protocols, allowing file and printer sharing to be compatible with non-Windows operating systems and work in tandem. Open Office makes popular Windows formats readable under most platforms and continues to improve dramatically.
  • Productivity and innovation – Longhorn offers only mere gains as all “three pillars” were conceded due to self-imposed time constraints.
  • Open Source – Linux, being a source of free software substitutes, has become one of Microsoft’s biggest fears. It has gracefully been adopted recently. Michael Dell has given $100,000,000 to RedHat Linux and Fijitsu carry on with Linux, to name just a few examples that came up lately.

Copy is Power

Servers

Redundancy makes computers much safer, more stable and more reliable than other aspects of our lives. Paper loss, theft — or more personally — physical damage, illness and other disastrous scenarios may be difficult to avoid. They all relate to the physical whereas information itself is metaphysical.

In IT there is rarely any need to step back and cope with losses. Only momentum can be hindered. The famous song by the Beatles suggests that the same does not hold for actual life. The phrase “How I long for yesterday” means that restoration of a past state is often not possible. On the contrary, with information stored electronically, assuming frequent backups are retained, we can fully restore what we had yesterday. We have what businesses have come to know as “damage control”.

On a more technical tone, I back up my Web servers every 2 days and my databases every single day. My entire hard-drive (excluding applications and media such as music and video) gets mirrored twice a week. Rather than overwriting old backups, I keep a stack as large as the hard drives can hold, so they are usually nearly full. More efficient backups would involve CVS-like mechanisms or tools like rsync, but practicality greatly depends on the bandwidth available.

Backup makes the haven when disaster hits. Copy, copy, duplicate and mirror. Excessive backup: no such thing. You never know how this will save you from a broken hard-drive, a mistakenly deleted directory or mysterious critical changes to settings.

WordPress and PDF

I recently sought and discovered a plug-in for WordPress (a blogging tool) that generates PDF‘s from WordPress data. This eases the process of printing, viewing and sharing pages as PDF’s preserve their structure across platforms.

The WP2PDF Web site covers much of the detail and contains an on-line demo. As an example, press below (bottom-right corner) to see a PDF version of this post. If you have a hard time installing the plug-in (hand-tweaking is involved), see my notes about a possible bug and the way I got around it. Image embedment works only in the minority of cases, so if you find a solution, please post it here.

There was one particular reason for my interest such a plug-in. That reason was Mambo (picture below), which has PDF/PS support built-in. Mambo is an excellent Open Source CMS that is currently used by ManLUG, of which I am a member.

ManLUG

A screenshot of the Mambo installation for ManLUG

Longhorn Beta Screenshots

Bill Gates
Bill Gates posing for a teen magazine in 1985
with a Mac at the back, from which he nicked the GUI

History certainly repeats itself. Microsoft have once again imitated the user interface of the Mac, particularly the eye candy; their beta version clearly reflects on that. This beta was only announced a day or two ago, so the leakage of screenshots was rather quick.

Also worth noticing is the stunning similarity to Windows XP, not to mention the absence of improved essence underneath, namely the three promised pillars, which were conceded due to self-imposed time constraints.

The Export Dilemma

There comes a time in the lifecycle of an application when reliable and non-lossy export facilities need to be implemented. Unfortunately, ego of developers sometimes leads to good import facilities while there is only limited or no support for export of user data. Del.icio.us are one example which was previously mentioned. Another such example is Microsoft Outlook et al. Microsoft are reluctant to allow easy data export, which implies no trivial escape from proprietary. Thunderbird, however, does a terrific job importing all data (mail and settings) from Outlook or Outlook Express. OpenOffice.org acts upon Microsoft Office proprietary reasonably well too.

RecycleWordPress are currently working on export facilities that simplify and bridge the gap between the administration panel (application) and the data (SQL). It is wonderful to see export facilities realised, which demonstrates no ego among the software developers. This allows users to ‘dance’ between platforms at will. There is always a certain feeling of freedom knowing that taking on one certain application cannot result in a vendor lock-in.

No Software Patents in Europe

EU flag

Good news have just arrived: the EU has rejected, with a crushing majority, the software patent bill.

The Register states:

The European Parliament has voted by a massive majority to reject the software patents directive, formally known as the Directive on the Patentability of Computer Implemented Inventions. The vote to scrap the bill was passed by a margin of 648 votes to 14, with 18 abstentions.

Some outrageously simple algorithms have recently been filed as patents. More notably:

  • Microsoft filing a patent for address book encapsulated objects (i.e. more proprietary)
  • Amazon with the ‘one-click shopping’
  • Leaving the best for last: Amazon patenting the recommendation of books based on pages previously viewed

Luckily, such insanity is unlikely to invade Europe.

Playlist Similarity

Vinyl record

How does one identify music which has potential of being liked? Music, unlike textbooks, does not contain text or keywords. Its tags are not always valuable either. An interesting paper from Trinity College Dublin describes a method by which music adapts to the preferences of listeners (PDF). However, can this be done purely based on prior data? Data that is provided in advance unlike in real-time? A List of records maybe? Playlists perhaps? We seem to be coming closer to realisation of this idea.

Image similarity measures are one focus point of my research; also sparks to mind is Google’s notion of ‘Similar Pages’. Why not apply similar principles to music? I now collect big daily dumps of music that I listen to (output to files using the following technique ). Bound to each entry is the time when a track started. From this, one can infer which tracks are being skipped. Alternatively, full, raw playlists can be of use and might, in fact, be more manageable as well. By exploiting a large collection of playlists, the nature of the genres can be better understood.

Given all of this data, it can potentially be used for collabortive playlist sharing, somewhat like del.icio.us (see previous reference to del.icio.us with a gentle introduction). Users can then discover other songs they might like based on other people’s playlists. The more data, the more accurate statistics will be. Getting large lumps of input (playlists) is effortless too. Just imagine yourself the scenario:

You can automatically find playlists most similar to yours and recognise the most-played tracks on that playlist. Social software has seen great success recently, so exchange of music preferences and recommendations is probably the way to proceed.

Retrieval statistics: 21 queries taking a total of 0.098 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|