Wee tip about automated agents that produce M$ word or Powerpoint documents

>> Tuesday 24 November 2009

If you have a scheduled Domino agent (either local or server) that produces a Wurd or PowerPoint(less) and you suddenly start to see "automation errors" appear... start Wurd or PowerPoint(less) and turn off spelling and grammer checking.

Took me ages to figure out what was going on ... Wurd and PowerPoint(less) will send a message if you are running interactively saying something along the lines of  "You are a really crap speller and I have stopped because there are so many mistakes and I really think it is pointless going on" ..and if you run your agent asd a scheduled agent these alert boxes never appear :-(

This started happening when the Wurd/PowerPointless was upgraded to the 2007 version, so I assume that in this version the spelling and grammer checker gets all Prim and Proper about content unless you go into the options and turn the damn thing off.

The spelling mistakes were on corporate part numbers!

Read more...

Bit of a problem with Firefox, Safari and FLEX uploads to a Domino Server

>> Sunday 8 November 2009

After much head scratching over an issue I had with uploads FLEX and Firefox, namely authenticated uploads work in IE but do not in Firefox i have discovered the cause. As described by Jake Howlett over on his excellent CodeStore site FLEX uses a class called the FileReference to get and then upload the file or files the user selects.

The problem comes in that for some reason Firefox does not sent the DomAuthSessId cookie over in the header.. for example here is a header receieved from FLEX from an authenticated session using the FLEX HTTPRequest object.

*** New Request -- Parse and Check Request: Session 7, Thread 1ba4, Clock 1602816
GET /econtent/AC_OETags.js HTTP/1.1
Host: www.atuin.com:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.15) Gecko/2009101601 Firefox/3.0.15 (.NET CLR 3.5.30729)
Accept: */*
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.atuin.com:81/econtent/econtent.html
Cookie: DomAuthSessId=47F0EA4947495C8C4C6E9FAF6665CD73
If-Modified-Since: Thu, 05 Nov 2009 00:07:20 GMT

and here is the next header received by the server from FLEX again running on Firefox in the same session using the FileReference.upload() method

*** New Request -- Parse and Check Request: Session 8, Thread 7c4, Clock 1617184
POST /econtent.nsf/Gallery?createDocument HTTP/1.1
Accept: text/*
Content-Type: multipart/form-data; boundary=----------GI3ae0Ij5gL6ei4KM7GI3ae0Ef1ei4
User-Agent: Shockwave Flash
Host: www.atuin.com:81
Content-Length: 8644
Connection: Keep-Alive
Cache-Control: no-cache
As you can see no DomAuthSessId.. and what happens well the Domino Server does what it is meant to do, it sends back the Logon screen to the Flex program. In case you are wondering this data was obtained from my server using the following Server Console commands prior to test running the FLEX
tell http debug thread on | off (default level)
tell http debug postdata on | off (for client POST data)
tell http debug responsedata on | off (for server response data)
Now this is a major FUBAR and it is odd to be complaining about FF and not IE but there you go. It seems FF starts an entirely new browser instance to do the FileReference.upload() hence the no DomAuthSessId being passed.

However all is not lost you think, the FileReference takes a URLRequest object and it has the ability to be coded to load the Header with values should you need them. Well yes it does and you can set any number of values in the URLRequest object BUT and it is a bigh BUT Flex ignores them, so there is no way out that way!.

Nothing I have tried to date allows me to use the pre-authentication of the browser instance my flex is running in to send a file to the server via the FileReference object. FECK! and yet it works perfectly in IE8 (a fact which is particularly galling) it is FireFox (and from my testing Safari) that are the problems on this occasion and it holds true for Flex 3 and Flex 4 and from my browsing of the Adobe site not likely to be acknowledged as a problem let alone fixed any time soon.

So far the only work around I can come up with is to spawn out to a standard browser child window upload the file there using a Domino File Upload control and then use an external JS function to talk to the parent flex program when the file sucessfully uploads.. which is a bloody pain in the arse!

The whole situation is not helped by the Domino server not liking a standard POST method of getting data from the client to the server..

Anyway there you go .. back to the head scratching

Read more...

It seems the modern bible is a Nasty Namby Pamby Liberal construct

LOL this is priceless... and was passed to me by someone who thinks it is a "good" idea and loudly applauds it. I was [thankfully] speechless when he told me because I would have been very very rude had I actually read it at the time he told me about it.

The link I got is here ... however in synopsis

.. As of 2009, there is no fully conservative translation of the Bible which satisfies the following ten guidelines:[2]
  1. Framework against Liberal Bias: providing a strong framework that enables a thought-for-thought translation without corruption by liberal bias
  2. Not Emasculated: avoiding unisex, "gender inclusive" language, and other feminist distortions; preserve many references to the unborn child (the NIV deletes these)
  3. Not Dumbed Down: not dumbing down the reading level, or diluting the intellectual force and logic of Christianity; the NIV is written at only the 7th grade level[3]
  4. Utilize Powerful Conservative Terms: using powerful new conservative terms to capture better the original intent;[4] Defective translations use the word "comrade" three times as often as "volunteer"; similarly, updating words that have a change in meaning, such as "word", "peace", and "miracle".
  5. Combat Harmful Addiction: combating addiction[5] by using modern terms for it, such as "gamble" rather than "cast lots";[6] using modern political terms, such as "register" rather than "enroll" for the census
  6. Accept the Logic of Hell: applying logic with its full force and effect, as in not denying or downplaying the very real existence of Hell or the Devil.
  7. Express Free Market Parables; explaining the numerous economic parables with their full free-market meaning
  8. Exclude Later-Inserted Inauthentic Passages: excluding the interpolated passages that liberals commonly put their own spin on, such as the adulteress story
  9. Credit Open-Mindedness of Disciples: crediting open-mindedness, often found in youngsters like the eyewitnesses Mark and John, the authors of two of the Gospels
  10. Prefer Conciseness over Liberal Wordiness: preferring conciseness to the liberal style of high word-to-substance ratio; avoid compound negatives and unnecessary ambiguities; prefer concise, consistent use of the word "Lord" rather than "Jehovah" or "Yahweh" or "Lord God."

LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL... Free Market Parables..makes me think ...todays reading is from the Book of Friedman Chaper 2.

Yea Verify .. and the Lord was asked by a grower of Peas ..."Rabbi the Romans doth want to extract a levy on the benefit I get when I put Donkey Poo on my Peas where for should I do?" and the lord answered thus 
"My son a free market describes a market without econmic intervention and regulation by governement except to regulate again force or fraud. The Romans being foreginers and slow on the uptake could not find their arses with both hands, 10 slaves and a scroll, but for now sucketh it up and give them their due, for come the reagan administration they will be first against the wall"

Read more...

Now this is an interesting a site - Multicolour Search Site

Now this is an interesting site, it takes several colours you choose and then presents you Flickr images that contain those colours. Now when trying to get a "scheme" for a web site that combines colours or uses what you believe to be challenging colour combinations this is rather useful as you can see if they do work and if the "real" world uses them too.

Mlticolr Search Lab

Read more...

Carl Sagan Day

Ah well a little late on the ball for the blog, but it is the week end and I was doing other things. Yesterday Nov 7th was the first Carl Sagan Day celebrating what would have been the eponymous scientist's 75th birthday.

Carl Sagan was one of my hero's as a teenager interested in all things scientific. One of the few "big" books that has followed me from house to house and has survived several "clear outs" is "Cosmos" and as my own small part in the celebrations of the day I re-read several of my favourite chapters.

Belated happy birthday Professor Sagan! You are missed!

Read more...

Pope Benedict the Anglicans the Guardian and married Priests

>> Saturday 7 November 2009

I was in a conversation the other evening about Pope BendyDick's recent repeated offer to the Anglican communions that should get get all annoyed, cross and fuming over the fact that someone who naturally has a uterus and no willy be made a bishop can come and be Catholics. Now the offer is open not only to Anglicans one at a time but aslo for full congregations including the priests, now this poses somewhat of a problem for those priests that are Anglican and are married.

Now the Guardian is a paper I seldom readm but it usually is reasonably up to speed on the idea of research however one of the people I was in conversation with made the comment when I brought up the problems of being married and a priest retorted that "Well I read it in the Guardian they could be married", She would not be swayed in her belief, something that is in the Guardian is to be believed more that the internal rules that govern the Catholic Church .. aka "Canon Law".

For all you Guardian readers out there who may have read that and are now defending the idea that the Catholic Church has done a U-Turn on this policy .. here are some facts the Guardian missed.

Up until 1139 all the clery could be married (Infact 39 popes where offically married). The Second Lateran council changed the rules. All existing priest marriages were declared invalid and future priests were required to maintain celibacy.

Celibacy as defined by the 2nd Lateran council is quite rigidly defined (in Latin) Priest are not allowed to be married or have sex with females, males, self, animals, etc... it makes an interesting and funny if it were not the document that sentenced the priesthood to centuries of misery really for no good reason other than they didnt like sex getting in the way.

The Church resists to this day married priests. For a priest to legally get married under canon law he must be granted a special dispensation to release him from the rule of celibacy, (in fact if a priest wants to have an offical period of "self love" he needs to have this permisson as well)

However the process to grant the dispensation and the actual wording of the dispensation are problematic. When applying for the dispensation a priest must put together a lot of paperwork. Part of the paperwork almost requires him to say that he never should have been ordained a priest in the first place.

The document that grants dispensation from celibacy is called "a rescript", and it includes wording that says the priest loses rights to
1. the clerical state
2. loses his office of priest
3. is no longer bound by the duties of the clerical state.

The priest is then allowed to marry under Church rules.

However, the rescript wording also includes a prohibition of exercising any sacred ministry. Thus the priest may not participate in a parish as a lector/reader, eucharistic minister, or any functions of a deacon or priest.

So, when Anglian priests decide to jump ship and are all ready married will all of them have to apply for and get the dispensation? Yes if they want to stay offically married then yes they do.

The canon law that applies is number 1394 which is

"Without prejudice to the provisions of can. 194, Ăź1, n. 3, a cleric who attempts marriage, even if only civilly, incurs a latae sententiae suspension. If, after warning, he has not reformed and continues to give scandal, he can be progressively punished by deprivations, or even by dismissal from the clerical state"

However there is a "get out" rule in Canon law 1335

"Provided it is not reserved to the Apostolic See (the Vatican), a penalty which is established by law and has been imposed or declared, can be remitted by the following:

Provided it is not reserved to the Apostolic See, a latae sententiae penalty established by law but not yet declared, can be remitted by the Ordinary in respect of his subjects and of those actually in his territory or of those who committed the offence in his territory. Moreover, any Bishop can do this, but only in the course of sacramental confession."

So basically as long as no-body says anything and the priest do not apply for permission to be married and the See does not declare or impose a "latae senentiae" then everything is fine, the priest remains as he was before, cept he is no longer lonely in bed.

Aint it grand to see the high-heejin-god-bothers being clever?

So in answer to the the lady who queried me on why i believed Anglican priests cannot remain married, No they can't if they want to follow the rules of the organisation they belong to, they will become "latae senentiae" if they do.
But if they want to just keep on going and ignore that particular rule then they can, but you do have to then question any stand they make on Abortion, Divorce etc etc etc, which are also against canon law.

Another case of "Do as I Say not as I do" from the men in the funny frocks!

Read more...

My Cousin Andy on stage, on CD an in Print

>> Friday 6 November 2009

Just back from the "big smoke" (or Belfast if you prefer) where my cousin Andy White orginally from Belfast has just launched his book to a crowd of native Norn Ironer's including myself.

I am just home with the new CD and Book and both are worth a listen and a read.. You can find details and a few tracks over on his web site.

You can find the CD "Songwriter" on amazon but there  is only 1 left!!! It is not on iToons yet , but keep and eye open if you like your music thoughtful, melodic and with good lyrics Cousin Andy is just the ticket!

The Book is called "21st century Troubadour" (and is a damn good read!!!) and isnt available on line as far as i can see but you can get it off his website (i think)

Here is his last Video If you want it sung with Allison Russell from the Canadian Band Po'Girl

Read more...

Thinking of a new career

>> Tuesday 3 November 2009

It comes to us all from time to time, general malaise, dicomfortature with the day to day slog and a feeling of dissatisfaction with the way your life is progressing. Well today was one of those days for me. Rather than sit around moping and being grumpy which is my usual recourse at times like these I decided to mark today with a potential change in direction career wise. Get a little more £'s in the pension pot and all that. So having had a look in the "Sits Vac" I think I may have found the next career jump for yours truly .. President of Europe.

Blair seems to have ruined his chances and there is no dead certainty for the post that comes up next year.
I think I would be perfect for the job so I went off and found out who is the Irish representative on the European council, got her email address and sent her this message.(Click for a better view)



I hope I can count on your support when it comes to lobbing the powers that be.


I am off now to register DominoYesMayBe4President.org and McDonagh4President.org.

Later All!

Read more...

eContent - The start of a new "home" project

>> Friday 30 October 2009

have been ruminating about a home project (rather than work) that will exercise my Domino and Flex muscles [ Flex my Flex if you will ;) ] and I am sort of settled on a content managment system called eContent. I have got all the ideas in my head at the minute and they are currently being Mind-Mapped into some form of sensible order.

I have got the front page and logon up and running and I may be asking for volunteers to road test it in the next couple of weeks. It will [when and if it is finished ] be released open-source, so if anyone is interested in idiot testing it when I get something to test, please drop me an email.

This is the front screen [click for a bigger image] and I shall be blogging the life cycle of the project as I go for the moment there isn't a lot to say other than .. Happy Birthday "eContent"


Read more...

Rage, rage against the dying of the light! Teenage Zombies, Shopping and the cost of a cup of Coffee

>> Saturday 24 October 2009

It has been one of those days....
As I sit here in McDonagh Central, the words of Dylan Thomas come rocketing into my mind

Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.
Yes I have been shopping in Londonderry / Derry (affectionatly known as "Stroke City" cos the Prods afix the suffix London and the Catholics do not , hence "Stroke City"). But that is not ther reason for this rant....

After a quick wander around PC world to look at the tech and all things geeky, sundry females dictated that it was time to hit Foyleside Shopping Centre, what our American cousins call "a mall". Oh Joy Unbounded!

To me shopping centres of any type are as Douglas Adams would have it "..the long dark tea time of the soul" and on this late October day never was it more true. Gales and heavy rain had moved in from the Atlantic and the north coast of Ireland was being drenched and blown hither and thither in equal measure.

So there I was abandoned in one of the temples of Mamon with not a great deal to do for a couple of hours. Don't get me wrong there is a place in the world for clothes shops otherwise we would all be naked and in the case of Northern Europeans blue with the cold. However the nature of clothes shops is defined by a select group of deamons that have slipped through a dimensional gateway and rather than douse everyone in nasty smelling ectoplasm have instead taken it upon themselves to damn humanity to a multitude of evils wrapped up in the gaudy glitter of "department stores".

It being close to Halloween, the store fronts are packed with the tat all parents of the under 10's are nagged incessantly for. Witches harts, skeletons of varying sizes, colour and luminosoty (all of which are anatomically total crap!) gouls, ghosties and other miscellanea that go bump in the night. (perhaps only in the minds of people that have had too much cheese before bed - nocturnal Stilton nibblers have a lot to answer for!)

I sat at the central crossroads of the four "legs" of the mall, three floors above and two below and let a seething horde of humantiy bumble past. It struck me there really wasn't that much difference between the shuffling gait of these Halloween consumers and that of the Zombies in the "[insert time of day here]... Of the Dead" movies.. All they needed was a little less colour and some dribble and it would have been perfect.
Way and above any other group represented in this mass of humanity was the packs of PPTGs [Post Pubescent Teenage Girls]. Now I am the father of a 20 something male, a fact that I give thanks for every waking day for I as a father would not let any daughter of mine out on the street looking anything like these lassies.

There was a palable tension as each group of PPTGs passed by. Where as teenage boys seldom are not awake enough at 3pm to pose any threat (other than the sudden discovery of last night's socks in the linen basket) these lassies where on the hunt, tracking down their prey by some form of collective telepathy... or could it be the high pitched giggling and overly enthusiastic ejectualations of camardarie - Hmmm there could be rich pickings for a piece of scientific study there.

I retired to the relative peace and quiet of the Gentleman's department of Debenhams which has one small floor in the basement which is around the same size as the portion of the next floor up set aside to sell handbag deodourisation utensils.

There amongst the suits, 3 colours in a variety of sizes from "Skinny Git" to "Fat Bastard" I found a modicum of sanity and peace. This was not a place for the predatory packs of PPTGs or there older but much more deadly YMWPs  [Young Mother With Pram] or the vicious solitary MAWLFAPFs [Middle Aged Woman Looking For A Party Frock] I spent a pleasant hour picking through a sizeable array of goods branded by "Stig" from Top Gear. (you can get Stig on a Rope if you feel the need to wash those intimate places with a dark visored helmeted Racing driver!) and some suits by "Rocca, John Rocca" why on earth does he need to have name mentioned twice .. it is not like it is a difficult name.. and I heard it the first time.. so WTF is there twice for?

Venturing back into the meleé i girded my loins and set off in search of a cup of coffee. Now I have said this before and I will say it again.. I WANT A FECKING CUP OF COFFEE. I do not want a trough, a bath or a small resevoir of the fecking stuff flavoured with caramel, cinnamon and essence of Papal Sweat!
I want a simple uncomplicated cup of coffee that taste of coffee, with perhaps a splash of milk, milk that came from an ordinary cow, not a skinny or lord perserve me a Soya cow! I want to be able to go up to the spotty oik behind the counter and say "A cup of coffee please" and not have to endure the endless fecking questions about the additional extras. Was not my instruction simple enough and put in such a way that there should be no misunderstanding? So to all you "baristas" out there, you are NOT some form of intellectual giant whose right it is to question the nature of the universe and coffee's place in it, you are there to give me a cup of smegging coffee when I ask for one and take whatever mortage level price your establishment is currently selling it for.How in gods green earth does some hot water, coffee beans and a serving attitude taught by Attilla the Starbucks Paradgim Moderator come to £3 fecking 50?

Ah well tis over for another wee while, I have been there done that and now I am at home, with the computer, a coffee and a good book, so for now I have done my "Rage Rage..." bit and the night having come lies ahead
Toodle pip for the now gentle reader :-)

Read more...

FLEX - Logging onto a Domino server from inside a FLEX app

>> Friday 23 October 2009

Now don't queue up to shout at me.. this is a bit of a kludge and it works, however it does rely on some facilities of domino that may or may not be continued to be supported.

When you have Session Authentication enabled on your server and you log onto the server a cookie is dropped called DomAuthSessId and this cookie is passed back and forth to the server with every HTML page that is served.

Luckly in FLEX when you  log on to the server and use the HTTPService or WEBService objects this cookie is passed back to the server on each POST or GET that you call.. But how do you get this cookie there in the first place? Well the easiest way is to lock down your NSF so that Anonymous has no access and when accessed from the web the default server logon screen is displayed. Now far be it from me to say that it looks like shite but lets be fair is is rather 1990's in appearance. It would be much nicer if you could log on from the nice shiney RIA that Flex provides.

This is how I did it.

I need a HTTPService object to do the logon

<mx:HTTPService id        ="myLogon"
                    url      ="http://www.mynotesserver.com/names.nsf?logon"
                    method   ="POST"                
                    fault    ="logonFail()"    
                    result   ="logonResult(event)">    
                    <mx:request xmlns="">
                            <username>{username.text}</username>
                            <password>{password.text}</password>
                            <redirectto>http://www.mynotesserver.com/logonok?openagent</redirectto>
                    </mx:request>
</mx:HTTPService>
OK what's happening above
The HTTP Server i have defined will goto the URL specified in the URL setting which as you can see is the familiar names.nsf?logon URL and it will be a POST transaction rather than a GET
If the call successfully returns well formated XML actionscript function logonresult() will fire. If the connection fails OR poorly formatted XML is returned (as is the case if the call returns an HTML error page) the actionscript function logonFail() is called.
At the bottom i have defined 3 Paramaters that will be passed username, password and redirectto. Username is bound to a text input field called username in the flex application likewise password is bound to a similar field. Redirectto on the other hand points at logonok?openagent and this agent will be called if and only if the logon is processed by the server and the user is authenticated.

The logonFail() function looks like this

private function logonFail():void
{            
                Alert.show("Sorry - Your Logon Attempt failed")
}
The logonResult() function looks like this
private function logonResult(event:ResultEvent):void
            {                    
                 Alert.show("Hello there You are In!");        
            }
And the LS agent LogOnOk looks like this
Sub Initialize
    Print |Content-Type:text/xml|        
    Print |<?xml version="1.0" encoding="ISO-8859-1"?>|    
    Print | <loggedon>yes</loggedon> |    
End Sub

As you can see the LS simply returns some well formed if relatively meaningless XML should the signon fail for any reason some nasty HTML will be returned which will cause Flex to fire the logonFail() function.

I then place the USERNAME and PASSWORD field somewhere in the FLEX app with a LOGON button which calls actionscript myLogon.send() (myLogon being the ID of the HTTPService) and .send() initiates the call to the server.

Now although FLEX does not refresh the page the SWF is embedded in every time the server is contacted it does accept the cookies that are sent back from the server and placed them as normal on the page. So when you do something like the above in your own Flex app, and logon is sucessful when you go and look you will see the DomAuthSessId cookie appear, this then gets passed on each successive HTTPService call to your server (for as long as the cookie survives)

Read more...

FLEX - What to do when your returned data has only one record

In Flex the easiest way to get data back from the server (any server) is to provide it with nicely formatted XML which Flex can cope with very easily and pop it into an ArrayCollection object. However what happens when your data set has only one record?

Yes Flex falls over because it cannot force the returned single item data type into an ArrayCollection object for example you may have this actionscript assuming you have some XML coming down that is called myData with rows of myArticles that have fields called myType and myKey in it

private var myData:ArrayCollectionmy;
Data = event.result.myData.myArticle;
If only one or no records are returned then flex throws an error and you have to code your way around it like this
private var myData:ArrayCollectionmy;
try
{
     myData = event.result.myData.myArticle;
} catch(error:Error) {
     var rcd:Object= new Object();
     rcd.myType = event.result.myData.myArticle.myType;
     rcd.myKey = event.result.myData.myArticle.myKey;
     myData = new ArrayCollection()
     myData.addItem(rcd)
}

What is this code doing?
Well the bit in the TRY{} tries to stuff the returned data into the Defined but uninstansiated ArrayCollection object called myData, if it succeeds (ie there was more than one record) everything is fine and the code will continue. If however there is only one record the CATCH{} code is run. I am not particularly interested in the error that is produced but it must be defined in the catch(error:Error) structure.

First I have to instansiate the ArrayCollection object with a new statement otherwise the object is null and you will get another error.

Then I create a new vanilla flex object called rcd

This object is populated with properties with names that match exactly the properties of the XML node

Once all the properties are set I add it into the ArrayCollection object and everything is fine

*** Note *** this code does not pick up on ZERO records.. this is because I NEVER return an empty data set. If the data set is empty i will construct a row that indicated to the user that no records where available. I suggest you do the same.

Read more...

FLEX - Getting the URL when you are in a flex App

>> Thursday 22 October 2009

There are times when you want to get the URL either in it's entirity or just bits of it inside Flex. For example when you want to send a link to a document so that flex knows to go to that particular document and open it when the Flex app is initiated.

This is relatively simiple all you need to do is instansiate and access the BrowserManager object, from this object you can get all sorts of useful information about the URL that holds the FLEX object.

You will need to import the following classes.

import mx.utils.URLUtil;
import mx.managers.IBrowserManager;
import mx.managers.BrowserManager;
and the declare vars for the bits of the URL you want to get at
private var serverName:String;
private var portName:int;
private var protocolName:String;
Then in your application.CreationComplete event function lets call it initApp() you need this
private function initApp():void
(
browserManager = BrowserManager.getInstance();
browserManager.init("", "Browser Window Title");
var url:String = browserManager.url;
serverName = mx.utils.URLUtil.getServerName(url);
portName = mx.utils.URLUtil.getPort(url);
protocolName = mx.utils.URLUtil.getProtocol(url);
}

You then have your current server url all nicely in vars and you do not need to hard code your URLs in the rest of the code. (you will need to make the vars [Bindable] if you want to use them in other objects!)

There are loads of other methods associated with the BrowserManager Class which you can find here.

Read more...

But soft what light through yonder window breaks? (UKLUG 2009)

>> Tuesday 13 October 2009

Ah gentle reader UKLUG tis over for another year, a fabulous production in 2 acts.
This year's production continued the march of excellence that is the Elsmore double act Warren and Kitty.

Foolishly they invited me to help in the organisation and I was able to watch at first hand as they pushed , cajoled and herded geeks (both speakers and attendees)and sponsors down the road to The SAS Radisson Hotel in Edinburgh assisted by the rest of the organising crew, now officially known as "Black Shirts" Paul Mooney, Eileen Fitzgerald, Julian Woodward, Matt White, Bill Buchan, Chris Coates, Gab and Tim Davis, Mike Smith, the "Token American" Rob Novak and lastly the token eejit ME :-)! Many many others selflessly lent a hand on the day and to them a large HUZZAH, multitudinous hugs and a great big thank you! They all played a part and I sort of hung around the edges and tried to be helpful.

Mind you it has to be said that all the brilliant organising in the world would have pointless if the cash had not been there to make it all possible, this came from the sponsors and 3 stout, loud happy grateful cheers wing their way to the bold companies that dug deep in to shrinking credit crunch budgets!

Also had not the speakers volunteered to stand up in front of a room of their peers and speak for an hour on something they feel so passionate about that they want to share it with others the conference would have been terribly boring, so lets toss our caps in the air and jump around like mad things shouting YO! for the speakers.

Brilliant organisation, brilliant sponsors, brilliant speakers do not the perfect conference make ... Imagine if the attendees had not turned up, we would all have been standing like eejits in an empty hotel with nothing to tweet about other than how nice the chips were with garlic mayo (they were!!). So WELL DONE all you attendees everyone involved above salute you with a virtual standing ovation!

Lastly the Venue, the Radisson on the Royal Mile in the Heart of Edinburgh. What can I say? They were the resin on the UKLUG bow and made the conference sing. Every member of staff responded with prompt efficiency and to any and all requests and most importantly did so with a smile. A+, Gold star, top of the class!

What I am saying in my usual overly wordy, gobshite way is UKLUG always has been and will continue to be more than the sum of it's parts. It is this synergy that throbs in this strange community of ours. It is a synergy that I have yet to find in any other organisation I have come across or participated in.

I am proud to have been a cog in the perfectly tuned performance conference that was UKLUG 2009, (I hope they invite me back to help next year). I am proud to be a member of the greater Notes community .. You guys rock! :-)

[PS Particularly the ones that came to Bill Buchan's and my session. You are very loud and very good at recognising squirrels (particularly Ben Poole). I hope we made sense occasionally between fighting with the projector. It seemed so much better when we sort of practised it]

[PPS. "The light through the window.." was from Rob Novak's suite as Paul Mooney pretended to be Kate Winslet on Titanic's Bow, 4 stories above the Royal Mile ... I have to add he was being stoutly held by Coatsie]

[PPSS. If you see Bill Malchisky play him some George Clinton Funk!)

[PPPSS. Don't let Julian Robichaux near Urinal Cakes!]

Read more...

UKLUG 2009 Test Run successful all systems are go

>> Saturday 3 October 2009

Live coverage from UKLUG 09 MIssion control Test firing .. ALL SYSTEMS ARE GO!

Read more...

OH BUM! 9 days till UKLUG pre session panic and other things

>> Wednesday 30 September 2009

9 DAYS TO GO TO UKLUG!!!

I am sat here in Casa McDonagh and I really should be doing 1 of 100 things other than writing a blog post. I have my presentation to finish, the example code to finish some corrections to a couple of web sites I help maintain. I am a world class procrastinator, were it not constantly postponed I could represent Ireland at the "do it tomorrow" Olympics.

One of the things that is delaying me are my most recent purchases... firstly my new shiney (apart from the bikkie crumbs and finger prints) copy of Richard Dawkins "The Greatest Show on Earth" which I have nearly finished. I suppose it is a signpost to the extent of my geekishness when the rest of the world seems to waiting for the most recent noxious fart from the literary arse hole that is Mr Dan Brown, here is me waiting with itchy fingers for a book on Evolution. It has to be said that I am not great fan of Mr Dawkins' non science writing, he rants a good rant but ranting is best confined to a page or two not complete books and has to contain at least a couple of truly offensive swear words. On the other hand when he turns his hand back to science he excells and "The Greatest show on Earth" delivers in aces.

The other sap on my attention span is the new album (do we still have albums?) from the dreadlocked Newton Faulkner "rebuilt by humans" the follow up to "handmade by robots" . I have no idea why I like this chap but I do. He writes a good song and sings and plays with such a distinctive style which you can feel the emotions he singing about...  check him out if you haven't already.



Anyway I better go and do some "real stuff" :-) If you are going to UKLUG see you there, please feel free to buy me drink

Read more...

A JS/CSS based star rating system for web pages

>> Wednesday 16 September 2009

I was working on a project tonight that needed a "star" rating system and I had one from a while ago that you may find useful.

It works like this.

I have an image that is 20px wide and 40px deep
In the top 20x20px I have an empty star
In the bottom 20x20px I have a selected star like this




If I place this image as a background in a block type element sized 20x20px with a CSS style of background-position: left top; the user will be presented with the empty star. If on the other hand I position it with the CSS of background-position: left bottom; you will see the selected star.

So all I need to do now is create an HTML
(1) that has a hidden field for me to store the value that will relate to the number of stars selected
(2) that has a table were each cell is sized to be 20x20px
(3) where each cell has CSS with a background-image of my star picture
(4) where each cell as an onmouseover event that changes the css so that the background image's css is changed to be the bottom portion of the background image.

If it all works you will get something like this (sorry it is off site.. but blogger wouldnt play ball with the JS)

The code for the page in the link above looks like this . feel free to take and use as you see fit.. however if you do drop me a comment.. I like to feel i am being useful ;-)

<html>
<head>
<style>
.star
{
background-image: url(star_rating.gif);
background-position: top left;
width: 20px;
height: 20px;
cursor: pointer;
}
</style>
<script = 'javascript'>
function star(a)
{
// reset all stars to blank
for(var t=1;t<=5;t++)
{
document.getElementById(t+"star").style.backgroundPosition="left top";
}
// Set new value in hidden field
document.forms[0].likeem.value=a;
// Set new value for display
for(var t=1;t<=parseInt(a);t++)
{
document.getElementById(t+"star").style.backgroundPosition="left bottom";
}
}
</script>
</head>
<body onload="star(3)">
<form>
This field below normaly be hidden <br>
<input type='text' id='likeem' name='likeem' value=""><br>
Now move your mouse over the stars below</br>

<table cellspacing='0' cellpadding='0' border='0'>
<tr>
<td id='1star' class='star' onmouseover= "star(1)"></td>
<td id='2star' class='star' onmouseover= "star(2)"></td>
<td id='3star' class='star' onmouseover= "star(3)"></td>
<td id='4star' class='star' onmouseover= "star(4)"></td>
<td id='5star' class='star' onmouseover= "star(5)"></td>
</tr>
</table>

</form>
</body>
</html>

Read more...

FireBug 1.4.2 in Firefox 3.5.3 suddenly stopped working - END OF WORLD!

>> Tuesday 15 September 2009

Just a quickie ("Ding Dong Matron![twirl moustache & wink laciviously]")
Found out after much headless chicken panicking if Firefox is set to "Not remember History" (Options / Privacy / History) Firebug suddenly stops working.. makes sense when you think about it but BOY did it give me a turn!

Read more...

Users Rule #1 "Never ever ever piss off your IT Dept"

>> Monday 14 September 2009

I was informed of this today and any users out there that happen to read this take the lesson it relates and use it wisely in your own dealings with IT Depts!

A user recently asked for a particularly inane and silly thing to be added to their mail file buttons. The request was dealt with in a professional and prompt manner before being ripped up, soaked in petrol and set on fire in the car park as the Help Deskers danced naked around it singing rude songs about user idiocy.

On this particular occasion it was felt that "action" needed to be taken so the user recieved this email in his inbox -

Dear Colleague,
as part of our belt tightening and cost cutting corporate wide programs it has been decided that as part of Directive 22C-#A100 that all employees should now use both sides of an email.

This will significantly reduce overhead and will contribute greatly to the company's plan to be totally green by April 2010. To facilitate this you will see a "RECYCLE" button at the top of your Inbox, please were ever possible use this when creating a new mail.

Our development team have created encryption techniques that totally obfuscate the other side of the email so there is zero risk of sensitive mails being read by unauthorized personnel.

Your immediate co-operation is expected and appreciated,

Yours
The ****** Collaboration Team"

The button was duly added to the mail file template with a simple @command ([compose];"memo") behind it

To the reporters knowledge the user is using the "other" side of emails even now much to the amusement of the team of BOFHs

Read more...

Whats new in Domino 8.5.1 (redacted to protect the guilty)

>> Sunday 13 September 2009

Recently I had a chat with one of the people "in the know" and he/she/it was effusive in his/her/its praise for the forth coming and long awaited release of ver 8.5.1, this is what he/she/it told me ...

Domino 8.5.1 is very ------------ It will probably be on ----------- and as part of LotusKnows it will contain a free ----------- which not only vibrates at 1200Hz and can be used to ------ kettles can also be used for ------------- and ------------ but that is really only useful if you are a ---------------- with a penchent for doing ------------- to -----s

The new ------------ with added ---------- is really very useful and has been well received by all testers. ---------- now works as expected but can cause ------------- which may lead to -------------- and tears before bed. A series of Lotus videos will describe how to -------------- in glorious detail and technicolor ------------ but looks remarkably like --------- ----------- with a weasel in up his ----------- an effect that detracts from the overall production.

Changes to the ---------------- have removed all ---------------- from the -------- which is a great relief to anyone who has -----------------itis and uses curly ---------------s on a regular basis.

My contact was also keen to pass on the fact that xpages now come with ----------- which now allow you to -------------- and ----------- at the same time! MaryBeth does warn that this can lead to ------------- and ------------- and if left in place may cause your user's eyes to water. I for one look forward to this!

Performance issues have also been addressed with a vastly improved ----------------- and -------------- leading to ----------------------- but this is sort of like ---------ing with a ----------- warts and all !!

I for one am moist with and my -----------s are tingling with excitement

Read more...

Back to TOP