03/apr/2013

Interesting web performance tips

O'Reilly Webcast: Best of Fluent 2012 - High Performance Snippets - YouTube





19/feb/2013

Domino webmail not loading in iframe? Try this xPages coding tip...

Some days ago a friend of mine urgently contacted me via FB (!) about a problem with his latest Domino upgrade, version 8.5.3 FP3.


He had a simple xPages web app showing Domino webmail in one the pages, using the old, much-hated (but often used...), iframe technique.

After the Domino upgrade, the webmail was not available anymore in IE 9, unless he hit the compatibility button in IE. Who would tell all users to do that?! :-)

Before any further investigation, we had to find a quick solution:
I was wondering how to set the IE compatibility mode in one specific xPages page.

After some web surfing on the web I asked my friend to set some IE-specific meta tags in the xPage container (using the appropriate xPage  properties window): the feeback was not successfull, it did not work for some reason, the iframe did not load inside the xPage container page.

After a while I found a useful web page on Julian Buss xpages wiki, about settings the IE compatibility mode using SSJS, setting some headers in the page event "beforeRenderResponse".

Here is the webpage from Julian, with tons of tips available for xPages dev (btw, I also bought the wiki iOS app!).

It simply worked (later he will investigate the problem about the upgrade).

My Italian friend offered me a beer for this quick hint, but you know, I guess I can have a better beer here in Germany :-)



31/dic/2012

Happy New Year 2013!

04/dic/2012

Want to help someone? Shut up and listen!


Interesting video.

19/ott/2012

A funny list of new programming slang


My favourite slang is the Yoda Conditions, whilst the one I already knew was the Egyptian brackets that I learned when I started to program in Turbo C (or was it Java?).

New programming slang

via StumbleUpon.

15/ott/2012

if you love Google services, you will like this add-on

It's a simple add-on for your your favourite web browser, Firefox or Chrome (IE not listed...), to simply reach many services provided by Google.

google-shortcuts 
Display all Google services as buttons or as a space-saving dropdown menu next to your address bar.

19/set/2012

Austin, we have a problem :-)

Some time ago I opened a support ticket in IBM about a really tricky issue with DAOS:
a few attachments referenced in the DAOS system could not be opened by the Domino server itself (error shown both in Domino console and to the Notes user). Not all, just a few hundreds attachments.

The ticket escaleted weeks after weeks, but the support group could not help me, also I had the feeling they wanted to close the ticket asap...

After a while I contacted Ed Brill who was so polite to also involve IBM Support in the US:
after some hours I got a call from Rick Catania, from  Austin (Texas).

Rick was really driven to help me:
we started to work together remotely, collecting all the info needed and making a Domino test environment to reproduce the problem.

He found out the cause of the problem (*) and also suggest a smart and unsupported way to recovery the wrongly encrypted files in the DAOS repository (even though some conditions must be verified before starting that dangerous activity, maybe I will write about it in later post).

It is a while since Rick solved the ticket, I was a "little" bit busy, but I really appreciated the job he did:
 you know, often we complain about slow/useless tech support (I had some cases also with other big vendors), but when you meet somebody really nice and smart you need to thank him/her publicly, it's fair:

thanks Rick & Ed for you help, people like you make IBM a great company.

PS
this is not s promotional post, it's a true storie and I did not get paid to write about it! :-D

*
 a server id switch between a test server id and a production server id, with encryption first enabled and later disabled, somehow problem generated by the customer-