Tag Archives: eclectic

Elephant in the room

Or is that “Elephant on the table” I’m never quite sure which of the two you should use, but whichever is the case you’ll be unsurprised to know that it turns out for regulatory and legislative reasons we as individuals should demonstrate caution and discretion about blogging about ‘you know what’ or writing about ‘you know who’ or ‘them’ either. So there we go, that’s why there’s less of ‘that sort of thing’ than you’d probably like.

In the absence of opinion pieces coming out of the http://blogs.sun.com community it’s best to stick with the official updates which can be found below.

Oracle Corporation set to aquire Sun Microsystems

The Wall Street Journal has just broken the news that Sun is to be acquired by Oracle over at http://online.wsj.com/article/SB124022726514434703.html This time it’s much more than a rumor or conjecture as both Sun and Oracle are announcing the news as well… …..

A view from the Monument

Glad to see the Monument to the Great Fire of London has been re-opened after spending the last eighteen months being refurbished. And to celebrate here’s a few of the photographs I’ve taken on, from, by, and of, the Monument.

www.flickr.com

I’m keen on the Monument seeing as I’m a bit of a nostalgist and it’s just by Sun’s London offices (55 King William St.) and Customer Briefing Centre (CBC, at Regis House, 45 King William St.), with the Fine Line pub artfully arranged betwixt the two (there are plenty of other pubs nearby, it’s just almost a certainty you’ll see someone you know here after work, prior to the inevitable journey home).

A couple of years ago I went through a phase of going up the Monument almost every lunch time I was at our London offices; for a bit of exercise (it’s 311 steps up) and because I enjoyed the view, and that’s when I started to take the photos.

Serendipitously my children were learning about the Great Fire a few months after I’d become interested in the Monument, in fact I think the commemorative certificate I received when I first went up there is still on the wall at their primary school, along with the information booklet and a few pictures.

Obviously the history of the Monument is more than interesting; it was commissioned in 1669, three years after the Great Fire of London of 1666 that it commemorated. And for a great deal of the time it has been in existence it was inscribed with a variety of text blaming the Catholic community for starting the fire (getting caught up in the ascension of William III to the throne), a lie so plainly untrue that Alexander Pope famously wrote “Where London’s column pointing at the skies, Like a tall bully, lifts the head, and lies.” (Moral Essays. Epistle iii.).

William the III marks the last successful invasion and occupation of England and Wales, and is often overlooked by many, as, of course, he and his Dutch forces were ‘invited’ to invade by Parliament, but invasion and occupation it was. The bloodshed was predominately kept to Scotland and Ireland, where supporters for James the II were most prevalent; in Scotland because of his links to and descent from the Scottish throne and in Ireland because of his support of Catholicism. Anecdotally I’ve been told by elder members of the Horkan family that a number of our ancestors fought at ‘Battle of the Boyne‘ on the side of James the II, this decisive battle marked the failure of James to regain the throne of England and a crucial turning point in the struggle between Protestant and Catholic communities in Ireland.

The English Parliament, had made it illegal for anyone to be Head of State who was Catholic, in part, as being so would mean that the Head of the Church of England would be subject to the See of Rome, something that could not be tolerated, but predominately because of the mainly Protestant make up of Parliament itself. Coupled with the complex relationship to, and composition of, allies and enemies, some united by and divided by religious alignment, across Western Europe, it led to the situation that saw the invasion take place (in fact many historians see it as being little more than an extension to the fighting across Europe attempting to keep Louise the XIV in check). The law still exists that dictates the religion of the Head of State of England, even though a number of the Royal family have chosen to convert to Catholicism, losing them their place in the ‘order of precedence’ for the throne for all time (unsurprisingly this is often done just before they need to receive their last rights, just in case I suppose).

Thanks to the wonders of tagging here’s a selection of pictures from the monument taken by everyone who hosts their photographs on flickr who’ve used ‘the-monument‘ as a tag (some of these will be mine, flickr doesn’t have complex search and sort around tags yet, that would allow me to exclude my photos from this selection).

www.flickr.com

Here’s a whole host of links to Monument themed content; go knock yourselves out:

Integrating Disqus and Roller Weblogger on blogs.sun.com

I’ve recently updated my site to use Disqus the blog comment hosting and conversation site.

Done this for two reasons:

  1. Firstly my usually frustration with any status quo means I want more functionality delivered yesterday, and although I’d started to have a look at the functionality I wanted and how I might add it as a Roller macro / velocity code I didn’t want to spend a huge amount of time coding it out (the functionality I specifically wanted was the separation of comments and trackbacks, as well as comment ‘threads’).
  2. Secondly to gain readership and comments from the sizeable blog comment audience that Disqus have built up (Disqus is estimated to be running on over 30,000+ servers).

I’ve already had a couple of comments from Disqus members, and I’ll have to see how it goes before I start heralding it as an unprecedented success, but I’m very pleased with the results (both aesthetic and functional).

Sadly the Disqus comment import function was initially provided for WordPress and Blogger, but apparently wasn’t fully functional; subsequently an update is due out soon that will hopefully include Roller Weblogger. See this Disqus forum entry, and it’s threads for more info: How do I import comments?

Given this was the case I wanted to make sure my blog supported my new Disqus commenting system, but would still show my old comments if there where any for an entry. Here are a few examples:

The code I developed, which has to be separated into two components (number of comments associated with a blog entry, and comment entry form and comment display), is below, but if you use or copy it please note that you need to replace the Disqus supplied JavaScript for my site with your Disqus comments hosted sites JavaScript code. ¨C18C

Combined Roller Weblogger and Disqus Number of Comments code

For comment numbers I’ve broken it down into displaying “n Comments” for Disqus on it’s own, whilst “x Comments (new, via Disqus) and y Comments (legacy, via Roller)” for comments hosted on both systems.

This replaces the code in the Roller Weblogger “_day” template which displays the number of comments per blog entry.

Don’t forget to replace occurrences of ‘eclectic’, my blog handle, with yours (just one, about the fifth line from the end).

## Number of Comments

<a href="$url.entry($entry.anchor)#disqus_thread">View Comments</a>

#set($commentCount = $entry.commentCount)
#if ($commentCount &gt; 0)
    (new, via <a href="https://web.archive.org/web/20090830081824/http://www.disqus.com/" target="_blank">Disqus</a>) and 
    #if ($commentCount == 1)
        <a href="$url.comments($entry.anchor)">$commentCount Comment</a> (old, via <a href="https://web.archive.org/web/20090830081824/http://rollerweblogger.org/" target="_blank">Roller</a>) 
    #else
        <a href="$url.comments($entry.anchor)">$commentCount Comments</a> (old, via <a href="https://web.archive.org/web/20090830081824/http://rollerweblogger.org/" target="_blank">Roller</a>) 
    #end
#end

<script type="text/javascript">
//<[CDATA[
(function() {
		var links = document.getElementsByTagName('a');
		var query = '?';
		for(var i = 0; i < links.length; i++) {
			if(links[i].href.indexOf('#disqus_thread') >= 0) {
				query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
			}
		}
		document.write('<script type="text/javascript" src="https://web.archive.org/web/20090830081824/http://disqus.com/forums/eclectic/get_num_replies.js' + query + '"></' + 'script>');
	})();
//]]>
</script>

Combined Roller Weblogger and Disqus Comment entry and Comments display code

This basically displays the Disqus commenting system, along with any Disqus hosted comments, however if any ‘legacy’ Roller Weblogger hosted comments are found it displays those too.

It replaces the code in the Roller Weblogger “permalink” template which displays comments themselves (the same changes may need to be made to the “weblog” and “searchresults” templates too).

## Comments

<h2>Comments (new, via <a href="https://web.archive.org/web/20090830081824/http://www.disqus.com/" target="_blank">Disqus</a>)</h2>

<div id="disqus_thread"></div><script type="text/javascript" src="https://web.archive.org/web/20090830081824js_/http://disqus.com/forums/eclectic/embed.js"></script><noscript><a href="https://web.archive.org/web/20090830081824/http://eclectic.disqus.com/?url=ref">View the forum thread.</a></noscript><a href="https://web.archive.org/web/20090830081824/http://disqus.com/" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

##showWeblogEntryComments($model.weblogEntry)
##showWeblogEntryCommentForm($model.weblogEntry)

<br></br>

#set($commentCount = $entry.commentCount)
#if ($commentCount &gt; 0)
    <h2>Comments (old, via <a href="https://web.archive.org/web/20090830081824/http://rollerweblogger.org/" target="_blank">Roller</a>)</h2>
    #showWeblogEntryComments($model.weblogEntry)
    <br></br>
#end

Additional benefits that I’ve picked up by implementing Disqus include:

  • Following commentators.
  • Having my, and my sites, comments followed.
  • Being able to easily ‘reblog’ my comments and make blog entries out of them (looking forward to trying this, although I haven’t yet).

Finally here’s my Disqus profile for you to have a look at: http://www.disqus.com/people/wayne_horkan/

Links for this article:

WebMission08: Twenty UK web2.0 Startups “face-to-face” networking across Silicon Valley

Just been listening to BlogTalk Radio, who’ve kindly been hosting a number of slots for us on our Sun Startup Essentials programme in conjunction with WebMission08.

Web Mission 2008 sees twenty UK web2.0 startups traveling to San Francisco and exploring new opportunities for growth with key people across Silicon Valley.

Sun are a key Technology partner for the event and it is being covered by Sun’s local expert on Startups (based in the UK and beyond), Stewart Townsend.

More on the UK Startups page, hosted by Stewart, here: http://blogs.sun.com/startups/entry/20_uk_startups_and_one

Internationalizing a Roller Weblogger based Blog

So I’ve been spending time lately providing better international support to the blog.

In fact check out the variants I’ve put together:

For the translator I used the Yahoo Babelfish translation service, rather than Google Translate (which I use to produce on demand translations of the site, at the time of posting this it should be at the top of the right hand sidebar), because I didn’t want to become tied in to a single Translation Service Supplier.

During translation I switched to using “blog” rather than “weblog” for the title, as many of the languages would translate blog but not weblog (possibly a weakness of the translation service).

I was alluding to the new multi-language pages and the new multi-lingual nature of the blog in the post on St. Patrick’s Day, however I’d only translated some of the posts, not internationalised the site itself, and so it wasn’t really time to go live, but I did want the posts to start being spidered (and the post “Weblog language translator – blog translation on the fly with Roller specific functionality” explains why).

iron l10n zion – or how I did it…

There are a number of ways to internationalize a blog running over Roller Weblogger, for instance at the Aquarium, another Sun Blog, they use multiple blogs instances, like the Japanese Aquarium, I didn’t go for this approach as I wanted to keep to a single blog instance (due to maintainability basically).

I approached the problem by having a language resource file which loads as the session begins based upon the locale determined in the URL.

At run time this is done dynamically like this:

  1. Decide which locale the user is loading the page from
  2. Load the language specific resource file / pack (from a repository of language resource files, of which there is one resource file / pack per language)
  3. Variables are already allocated and populated with language specific data
  4. Use the above variables throughout the Roller Weblogger template code (HTML mainly) to create the page
  5. Present the page to the user requesting it

A number of language resource files were needed, all of which I populated with text based named variables (obviously the name of the variable stays the same, just the content per language resource file is different).

Then I replaced all the specific uses of text across my roller templates with calls to those variables.

This is a code snippet example of the code which decides which language resource file to load, and yes, before you say it, it’s not aesthetically pleasing, but I’m the only person who’ll be debugging it, so I’ll let myself off on that one. As you can see it checks which locale the page is being called from (based on the URL, but you can’t see that bit), once it finds a positive it loads the language specific resource file (notice I also ensure to load a default at the end if a match can’t be found).





  #if ($model.locale == "en")





      #includeTemplate($model.weblog "_lang_en")





  #elseif ($model.locale == "zh")





      #includeTemplate($model.weblog "_lang_zh")





  #else





      #includeTemplate($model.weblog "_lang_en")





  #end




And here’s an example of a specific language resource file, in this case this is the start of “_lang_de”, one of the files that would have been loaded based on the logic in the above piece. As you can see it has my (string) variables allocated and populated.





  #set ($gtTitle = "Blog Wayne-Horkans: eklektisch")





  #set ($gtMostPopTags = "Die meisten populären Umbauten")





  #set ($gtSitePrefs = "Aufstellungsort-Präferenzen")




Here’s an example use of the $gtTitle (string) variable from above within the Roller Weblogger template, which Roller builds dynamically at run time, obviously if the page was being


  $gtTitle

Probably the worst part of this was being adversely effected by Roller timezone and localization sensitivity issues as documented in ROL-1337 “all components involved in weblog rendering need to be locale & timezone sensitive”.

For instance when generating blog specific URLs in my templates, not all of the Roller Weblogger functions, macros and variables are timezone / localisation safe, and so for a number of them I’ve had to step though the templates modding the code to be timezone and localization safe as I go.

This meant that I had to bodge parts of the code with temporary ‘fixes’ to make up for the incomplete coverage, but it will do for now.

A couple of the most obvious issues was one with dates, as “$utils.formatDate” only produces day and month names in English, and another with “$entry.permalink” as it produces a non-locale specific URL





  ## Replaced instances of $entry.permalink with $entryLSP (Locale Specific Permalink)


  #set ($entryLSP = 

  "http://blogs.sun.com/eclectic/$model.locale/entry/$utilities.encode($entry.anchor)")




I may also have to write alternate macros which are locale specific, including the one that generates a list of recent entries:





  #set ($rEntries = $model.weblog.getRecentWeblogEntries($chosenCat, $rEntriesTotal)) 




  ## Have to use this as locale settings don't yet effect "getRecentWeblogEntries"


  #showWeblogEntryLinksList($rEntries)




I don’t want to give the impression that non of the Roller Weblogger timezone / locale specfic functionality works. In fact a lot more than I assumed would, did. Including the menu (content) functions and Tag URL functions, and I was very pleased that there was the level of support in Roller that there is for internationalization.

I’ll be providing more multi-lingual content, specifically the content rich, article like posts I’ve been doing, so far I’ve translated three posts of this ilk:

And finally…

…after much comment – from workmates, colleagues, friends and acquaintances (but not, I might add, from family members) – as to the lack of a blog of any sort, and as the peak of the blogging phenomenon apparently arrives on the collective horizon, I’ve decided to go and start one.

According to Gartner (here), and reported by a number of my favourite news sites (here, at the Register, and here, at the Inquirer, for example) the growth of blogging will finally peak at around 100 million blogs by 2007. This is part of “the Gartner top ten predictions for 2007 and beyond” – and so where better to start than at a short review of these predictions. I have to admit that I’ve been asked to report on technology trends, make market predictions and even, occasionally, present on futurology – and find the subject of trying to second guess the future as fascinating as it is frustrating.

When it comes to predictions such as this it’s important to bring your own views and opinions to bear, and in regards to objectivity, I like to recall this quote from Warren Buffett: “Forecasts usually tell us more of the forecaster than of the forecast”.

  1. Through 2009, market share for the top 10 IT outsourcers will decline to 40.0% (from 43.5% now), equalling a revenue shift of $5.4 billion: Gartner believes that as the market share for outsourcers declines (based upon current trends) there will be consolidation of outsource businesses and some closures. This is an extremely common prediction, in these circumstances, and is almost always true of maturing markets – frankly I can’t see how you could get this wrong – although it’s good to be reminded about the situation of the outsourcing market, even for those of us who are living with it’s effects everyday.
  2. Only one Asia/Pacific-based service provider will make the global top 20 through 2010: Because of the relatively small number of “global players” in consulting coming from Asia it will limit the ability of the Asian economies to grow revenue streams quickly and become global leaders. I find it really difficult to see how the Asian economies will be limited in growth – I can see them simply buying into the areas they need to, when they need to – some of them already make significant revenues from IT offshoring, and building consultancies out of these organisations is very likely, for instance, Tata & Wipro both have consultancy departments which are growing and maturing fast.
  3. Blogging and community contributors will peak in the first half of 2007: Trends in the average life span of a blogger and the current growth rate of blogs means that there are already more than 200 million ex-bloggers, therefore, the number of bloggers will peak around 100 million mark circa the first half of 2007.Although significant growth in bloggers may have slowed down, I believe it will settle down to more natural growth, plus I don’t see how this has factored in the increasing Internet population, nor the increasing world population. Growth may bottom out for a time but I would then expect there to be slow and progressive growth, much more based on the increasing number of people getting adequate access to Internet resources, fuelled by the overall growth of the world population. And that is without considering the next MySpace phenomenon, where massive expansion unexpectedly grows the overall blogging population.
  4. By 2009, corporate social responsibility (CSR) will be a higher board – and executive-level priority than regulatory compliance: regulation has become a key issue for government and the corporate world, with the aim of ensuring more-responsible behaviour. However, the need for companies to be socially responsible to their employees, customers and shareholders is growing as well. The future will see corporate boards and executives make this social dynamic a more-critical priority. Collective awareness of corporate responsibility is growing, and not purely around green issues. How corporates treat people and conduct themselves in the wider world has needed focusing on for a long time. Plus I believe that CSR will be good for businesses, related to game theory, specifically the Nash equilibrium (developed by John Nash), where choice of optimal behaviour when costs and benefits of each option depend upon the choices of other individuals. Working with a community finance charity, I know that there is already research into this area, which suggests that this is the case – this is another topic I hope to approach in the future of this blog.
  5. By the end of 2007, 75% of enterprises will be infected with undetected, financially motivated, targeted malware that evaded their traditional perimeter and host defences: the threat environment is changing — financially motivated, targeted attacks are increasing, and automated malware-generation kits allow simple creation of thousands of variants quickly — but our security processes and technologies haven’t kept up. Security in IT is an absolute arms race – and this is not going to change – but whilst money can still be made from the sector, legally in defence, and illegally in offence, we will continue to see a strong and healthy IT Security market. This is not to say anyone should be complacent, as the problems at TK-Max have just shown, we have to be rational about these issues, and approach them in a sensible manner.
  6. Vista will be the last major release of Microsoft Windows: the next generation of operating environments will be more modular and will be updated incrementally. The era of monolithic deployments of software releases is nearing an end. Microsoft will be a visible player in this movement, and the result will be more-flexible updates to Windows and a new focus on quality overall. Microsoft have always been able to move there business empire juggernaut into new areas – however they are very often not the first, nor the second , but have often manipulated the market by having the largest installed base volume – look at how slowly they embraced the Internet for one (for instance, Microsoft didn’t even make the first 100 Internet Domain Name Registrations, more here, Sun are joint eleventh, b.t.w.), but when they did it – they did it. Although there have been reports of ramp down of Windows Operating Systems staff, I very much doubt Microsoft are ready to let go of exploiting that installed base to the maximum – there are still a lot of PC users not yet connected to the Internet and they will need a distribution mechanism to support those users.
  7. By 2010, the average total cost of ownership (TCO) of new PCs will fall by 50%: the growing importance and focus on manageability, automation and reliability will provide a welcome means of differentiating PCs in a market that is increasingly commoditised. Many of the manageability and support tools will be broadly available across multiple vendors. However, vendors that can leverage these tools further and can graduate from claims of “goodness” to concrete examples of cost savings will have a market advantage. I’m finding this hard to believe: three years to see new PC TCO fall by 50%. Most people agree that the majority of cost is in systems management, and even with the expected growth in systems management tools (and the ilk), it doesn’t approach issues such as increasing functionality forcing TCO up. Nor the logistics of having staff support a distributed PC estate. Having helped manage the maintenance of a large, distributed PC estate, I know that one of my largest costs were the staff required to physically go around the buildings in question, often the PC required direct support, or for some reason would not be connected to the network (either off, broken, network / network card failure, not loading drivers, etc.). I believe that Thin Client and Ultra Thin Client (UTC) technologies like Sun’s Sun Ray, which have a centralised server model, most readily approach these issues, and that there will be an increase in the acceptance of what used to be referred to as Network Computing (NC).
  8. By 2010, 60% of the worldwide cellular population will be “trackable” via an emerging “follow-me Internet”: local regulations have arisen to protect users’ privacy, but growing demands for national safety and civil protection are relaxing some of the initial privacy limitations. Marketing incentives will also push users to forgo privacy concerns, and many other scenarios will enable outsiders to track their users. Another believable prediction, although given the fact that this is “60% of the world wide cellular population”, I feel it might imply that this will be in what used to be called the “first world”. The issue of evolved versus planned systems play into this, and we all need to think more about what the implications are, so that we can put in place the best governance model available.
  9. Through 2011, enterprises will waste $100 billion buying the wrong networking technologies and services: enterprises are missing out on opportunities to build a network that would put them at a competitive advantage. Instead, they follow outdated design practices and collectively will waste at least $100 billion in the next five years. I can well believe this prediction: having reviewed, audited, and helped close down a number of very large IT programmes, I am sadly becoming de-sensitised & acclimatised to the amounts of money which are needlessly lost, however this does not mean any of us should be dismissive about the massive amounts wasted. In fact I’m surprised it’s estimated as low as $100 billion.
  10. By 2008, nearly 50% of data centers worldwide will lack the necessary power and cooling capacity to support high-density equipment: due to higher densities of processors proliferating, problems in this area continue to grow, and although the power and cooling challenge of high-density computer equipment will persist in the short term, a convergence of innovative technologies will begin to mitigate the problem by 2010. This is a trend which I see emerging every day amongst our customers, especially those who still host out of large cities, such as London. We have field research into this area, which easily backs this claim up too. However this prediction, doesn’t appear to take innovation, such as processor multi-threading, into account: technologies like Sun’s Niagara, and Niagara 2, will have a significant impact on this area, due to the massive decrease in compute footprint. This is an area which I’ll be exploring in more detail over the next few months.

At first I’d thought my title for this post was to do with my finally getting a blog online – but I think it’s as applicable to some of the predictions above. In the next few posts I hope to be looking at the UK Government IT ecosystem, macro IT estate issues & definitions, some more about me and what I do at Sun, and maybe just a little bit about motorbikes.