<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.com</title>
    <link>http://lekkimworld.com/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Fri, 11 May 2012 06:14:09 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-11T06:14:09Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.com</title>
      <url>http://lekkimworld.com/</url>
    </image>
    <item>
      <title>Joda Time comment</title>
      <link>http://lekkimworld.com/2012/05/11/joda_time_comment.html</link>
      <content:encoded>&lt;p&gt;
Ulrich Krause has an interesting post (&lt;a href="http://www.eknori.de/2012-05-09/joda-to-the-rescue/"&gt;Joda to the rescue&lt;/a&gt;) and I just had to comment on as I - probably to no surprise to many - work a lot with dates for the OnTime Suite. Ulrich is using the Joda Time library to compare two dates to see if they are on the same day by first stripping the time component which isn't easily possible using java.util.Date. My comment is to remember that the Java Date object is just a wrapper about a UTC long so math can do the trick. Below is my comment. 
&lt;/p&gt;
&lt;i&gt;
&lt;p&gt;
While Joda Time is a great library there is an easier way to accomplish what you are trying to do. Simply remove the time component by doing a simple modulus calculation. I am not trying to be smart about it but we do this quite a lot at OnTime :) Code could look like so:
&lt;pre&gt;
Date d = new Date();
long lngTime = d.getTime();
lngTime -= lngTime % TimeUnit.DAYS.toMillis(1);
Date dNoTime = new Date(lngTime);
&lt;/pre&gt;
The latter date object creation isn't actually necessary for the comparison. An utility function could be like so:
&lt;pre&gt;
private boolean isSameDay(Date d1, Date d2) {
  long lngTime1 = d1.getTime();
  lngTime1 -= lngTime1 % TimeUnit.DAYS.toMillis(1);

  long lngTime2 = d2.getTime();
  lngTime2 -= lngTime2 % TimeUnit.DAYS.toMillis(1);

  return lngTime1 == lngTime2;
}
&lt;/pre&gt;
Hope it helps and it helps remove the dependency on Joda Time if that's all you're using it for. 
&lt;/p&gt;
&lt;/i&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <pubDate>Fri, 11 May 2012 06:14:09 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-05-11:default/1336716849393</guid>
      <dc:date>2012-05-11T06:14:09Z</dc:date>
    </item>
    <item>
      <title>Day in the Life presentation with Chris Crummey</title>
      <link>http://lekkimworld.com/2012/05/07/day_in_the_life_presentation_with_chris_crummey.html</link>
      <content:encoded>&lt;p&gt;
Chris is an excellent presenter and I had the pleasure of seeing him present again at the keynote at &lt;a href="http://blug.be"&gt;BLUG&lt;/a&gt;. The video runs 12 minutes and it's an excellent overview of the IBM collaboration solutions.
&lt;/p&gt;
&lt;p align="center"&gt;
&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/oCiP0e6rbq8" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/p&gt;</content:encoded>
      <pubDate>Mon, 07 May 2012 07:11:46 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-05-07:default/1336374706190</guid>
      <dc:date>2012-05-07T07:11:46Z</dc:date>
    </item>
    <item>
      <title>Jason Fried: Why work doesn't happen at work</title>
      <link>http://lekkimworld.com/2012/04/22/jason_fried_why_work_doesnt_happen_at_work.html</link>
      <content:encoded>&lt;p&gt;
Excellent TED video on &lt;a href="http://www.ted.com/talks/jason_fried_why_work_doesn_t_happen_at_work.html"&gt;why work doesn't happen at work&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
&lt;object width="526" height="374"&gt;
&lt;param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"&gt;&lt;/param&gt;
&lt;param name="allowFullScreen" value="true" /&gt;
&lt;param name="allowScriptAccess" value="always"/&gt;
&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;
&lt;param name="bgColor" value="#ffffff"&gt;&lt;/param&gt;
&lt;param name="flashvars" value="vu=http://video.ted.com/talk/stream/2010X/Blank/JasonFried_2010X-320k.mp4&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JasonFried-2010X.embed_thumbnail.jpg&amp;vw=512&amp;vh=288&amp;ap=0&amp;ti=1014&amp;lang=&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=jason_fried_why_work_doesn_t_happen_at_work;year=2010;theme=not_business_as_usual;event=TEDxMidwest;tag=business;tag=creativity;tag=culture;tag=design;tag=technology;tag=work;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /&gt;
&lt;embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="526" height="374" allowFullScreen="true" allowScriptAccess="always" flashvars="vu=http://video.ted.com/talk/stream/2010X/Blank/JasonFried_2010X-320k.mp4&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JasonFried-2010X.embed_thumbnail.jpg&amp;vw=512&amp;vh=288&amp;ap=0&amp;ti=1014&amp;lang=&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=jason_fried_why_work_doesn_t_happen_at_work;year=2010;theme=not_business_as_usual;event=TEDxMidwest;tag=business;tag=creativity;tag=culture;tag=design;tag=technology;tag=work;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;"&gt;&lt;/embed&gt;
&lt;/object&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;"Jason Fried has a radical theory of working: that the office isn't a good place to do it. At TEDxMidwest, he lays out the main problems (call them the M&amp;Ms) and offers three suggestions to make work work."&lt;/i&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;"Jason Fried thinks deeply about collaboration, productivity and the nature of work. He's the co-founder of 37signals, makers of Basecamp and other web-based collaboration tools, and co-author of "Rework.""&lt;/i&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/ted/">ted</category>
      <category domain="http://lekkimworld.com/tags/video/">video</category>
      <pubDate>Sun, 22 Apr 2012 18:09:35 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-22:default/1335118175596</guid>
      <dc:date>2012-04-22T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Go the f*ck home!</title>
      <link>http://lekkimworld.com/2012/04/19/go_the_fck_home.html</link>
      <content:encoded>&lt;p&gt;
Really loved this Ignite Talk with a very provocative title - &lt;a href="http://thewebivore.com/go-the-fuck-home-my-ignite-talk"&gt;Go the f*ck home!&lt;/a&gt; (link to video on &lt;a href="http://m.youtube.com/watch?v=YBoS-svKdgs"&gt;YouTube&lt;/a&gt;) as it confirms something I'm a strong believer in - you do not get more done just because you spend more time at the office. The talk also points to an interesting study on this (&lt;a href="http://cmdept.unl.edu/drb/Reading/overtime1.htm"&gt;SCHEDULED OVERTIME AND LABOR PRODUCTIVITY: QUANTITATIVE ANALYSIS&lt;/a&gt;). 
&lt;/p&gt;</content:encoded>
      <pubDate>Thu, 19 Apr 2012 13:31:04 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-19:default/1334842264828</guid>
      <dc:date>2012-04-19T13:31:04Z</dc:date>
    </item>
    <item>
      <title>AWS Marketplace</title>
      <link>http://lekkimworld.com/2012/04/19/aws_marketplace.html</link>
      <content:encoded>&lt;p&gt;
Just got word today that Amazon Web Services (AWS) is now offering a Marketplace (&lt;a href="http://aws.amazon.com/marketplace"&gt;aws.amazon.com/marketplace&lt;/a&gt;) where ready made Amazon Machine Instaces (AMI's) can be easily purchased. Besides featuring instances from many top software vendors it also features AMI's for OpenSource solutions such as Tomcat, JBoss, MongoDb etc. There are currently 7 IBM AMI's available.
&lt;ul&gt;
&lt;li&gt;IBM DB2 Workgroup Edition&lt;/li&gt;
&lt;li&gt;IBM WebSphere Application Server&lt;/li&gt;
&lt;li&gt;IBM DB2 Express Edition&lt;/li&gt;
&lt;li&gt;IBM Tivoli Monitoring on Linux - 50 Virtual Cores&lt;/li&gt;
&lt;li&gt;IBM Domino Enterprise Server&lt;/li&gt;
&lt;li&gt;IBM Web Content Manager Standard Edition&lt;/li&gt;
&lt;li&gt;IBM Mashup Center&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/amazon/">amazon</category>
      <category domain="http://lekkimworld.com/tags/aws/">aws</category>
      <pubDate>Thu, 19 Apr 2012 10:56:32 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-19:default/1334832992969</guid>
      <dc:date>2012-04-19T10:56:32Z</dc:date>
    </item>
    <item>
      <title>Tag til brugergruppe i Norge</title>
      <link>http://lekkimworld.com/2012/04/16/tag_til_brugergruppe_i_norge.html</link>
      <content:encoded>&lt;p&gt;
Kan du ikke deltage i Dannotes i starten af maj og/eller tr&amp;aelig;nger du til at se nye mennesker eller f&amp;aring; nye impulser s&amp;aring; tag til den norske Notes brugergruppe LSBG d. 23. og 24. maj i Larvik. Jeg var deroppe sidste &amp;aring;r og det er et virkelig l&amp;aelig;kkert sted helt ud til vandet relativt t&amp;aelig;t p&amp;aring; vandet. Larvik n&amp;aring;s nemt med Norwegian fra Kastrup (kender ikke mulighederne fra Billund). Agendaen kan ses p&amp;aring; &lt;a href="http://www.lsbg.org/lsbg/cms.nsf/pages/lsbg-seminar-2012?Open&amp;qnfl=seminar"&gt;hjemmesiden hvor der ogs&amp;aring; er tilmelding&lt;/a&gt;. Kan klart anbefales. 
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/lsbg/">lsbg</category>
      <pubDate>Mon, 16 Apr 2012 06:45:07 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-16:default/1334558707959</guid>
      <dc:date>2012-04-16T06:45:07Z</dc:date>
    </item>
    <item>
      <title>Amazon gives Google a run for its money with CloudSearch</title>
      <link>http://lekkimworld.com/2012/04/12/amazon_gives_google_a_run_for_its_money_with_cloudsearch.html</link>
      <content:encoded>&lt;p&gt;
I'm a big proponent of Amazon Web Services (AWS) so it came as no surprise when Amazon today announced its latest addition to the AWS family - AWS CloudSearch. 
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;"Amazon CloudSearch adds search capabilities for your website or application without the administrative burdens of operating and scaling a search platform. Amazon CloudSearch seamlessly scales as the amount of searchable data increases or as the query rate changes, and developers can change search parameters, fine tune search relevance and apply new settings at any time without having to upload the data again."&lt;/i&gt;
&lt;/p&gt;
&lt;p&gt;
Amazon CloudSearch is further described on their blog in an entry aptly named "&lt;a href="http://aws.typepad.com/aws/2012/04/amazon-cloudsearch-start-searching-in-one-hour.html/"&gt;Amazon CloudSearch - Start Searching in One Hour for Less Than $100 / Month&lt;/a&gt;". Using CloudSearch is as easy as 1-2-3 and everything is managed through the AWS Management Console:
&lt;ol&gt;
&lt;li&gt;Create and configure a Search Domain. This is a data container and a related set of services. It exists within a particular Availability Zone of a single AWS Region (initially US East).&lt;/li&gt;
&lt;li&gt;Upload your documents. Documents can be uploaded as JSON or XML that conforms to our Search Document Format (SDF). Uploaded documents will typically be searchable within seconds.  You can, if you'd like, send data over an HTTPS connection to protect it while it is transit.&lt;/li&gt;
&lt;li&gt;Perform searches.&lt;/li&gt;
&lt;/ol&gt;
Nice.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/amazon/">amazon</category>
      <category domain="http://lekkimworld.com/tags/aws/">aws</category>
      <category domain="http://lekkimworld.com/tags/cloudsearch/">cloudsearch</category>
      <pubDate>Thu, 12 Apr 2012 12:21:00 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-12:default/1334233260487</guid>
      <dc:date>2012-04-12T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Authenticating a web service request</title>
      <link>http://lekkimworld.com/2012/04/10/authenticating_a_web_service_request.html</link>
      <content:encoded>&lt;p&gt;
In my current project I needed to place an authenticated web services request from Lotus Domino to an Oracle SOA endpoint. Turned out to be extremely easy using the Lotus Domino web services consumer feature as I just used the setCredentials(String, String) method which then adds the necessary Authorization header to the HTTP call. Below is an example.
&lt;pre&gt;
MyEchoServiceLocator l = new MyEchoServiceLocator();
MyEcho u = l.getDomino();
u.setCredentials("Domino Admin", "password");
String result = u.echo("HelloWorld");
System.out.println("Result: " + result);
&lt;/pre&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/domino/">domino</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/lotus/">lotus</category>
      <category domain="http://lekkimworld.com/tags/web_services/">web_services</category>
      <category domain="http://lekkimworld.com/tags/ws/">ws</category>
      <pubDate>Tue, 10 Apr 2012 13:08:50 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-04-10:default/1334063330925</guid>
      <dc:date>2012-04-10T13:08:50Z</dc:date>
    </item>
  </channel>
</rss>


