Cicada
I’ve been on vacation for a week. I’ve come back and found a few of these cool cicadas around the yard.
Example of an Active and Helpful Lotus Notes Community
Vadim B Roshass is creating a Lotus Domino web application for the first time. How do I know? He keeps asking questions in the forum.
Andre Guirard and Rich(ard?) Schwartz (among others) were there to help him in his adventure. Take a look at the response thread. It’s great to see that many active users out there helping a newbie Domino programmer.
SHA1/MD5 Hash Libraries for LotusScript
Jason Molzen contacted me this weekend asking for help generating MD5 hashes in LotusScript. I had previously posted a HMAC SHA1 library that was an amalgamation of two developers’ (Paul Johnston and Julian Robichaux) code. Paul did not mind me converting the SHA1 code so I spent a lot of time translating the MD5 script he created.
With Jason’s help I converted Paul Johnston’s MD5 script but I wasn’t quite happy when I finished the library. The code was written as functions and it was hard to figure out what to use to create each hash.
I finally ended up with three script libraries. Click on the links to download the “lss” library files.
- CoreHashLibrary - Contains one class called HashHelper (I loved using the word “Hash”). It contains a lot of the binary functions for processing these hashes.
- MD5 - Self explanatory. This contains two classes: a MD5 class with a New(text) constructor and a HMAC_MD5 class with a New(key,text) constructor
- SHA1 - Self explanatory. This contains two classes: a SHA1 class with a New(text) constructor and a HMAC_SHA1 class with a New(key,text) constructor
Jason sent a link to a great tool for testing these hashes: HashCalc. Previously, I had been testing the hashes with Paul Johnston’s javascript but HashCalc saved me a lot of time.
Sprint/Centro Update 1.07
Sprint and Palm published a new update for the Centro today. Release 1.07 updates the Centro’s ability to use Location based services in Google Maps.
Get the update here.
Sugar Free Vanilla Iced Coffee @ McDonalds
I made the mistake of ordering a Sugar Free Vanilla Iced Coffee at McDonalds. It’s not worth the 200 calories saved. Go with the regular Vanilla flavoring.
My COM Library Problem fixed
My goodness. I wasted a good portion of the week trying to get a C# COM/dll to work with Domino 8.
To summarize my problem… A COM dll that was working in R6.5 stopped working when we upgraded the server to R8. The dll was having issues finding the namgr.exe.config file that it used on the R6.5 install.
Solution: You won’t believe this… I spent a week recompiling the dll with different hard-coded values and different debug statements trying to figure out why it could not find that namgr.exe.config file. Luckily, I discovered a C# property that displays the expected configuration file path:
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
A debug line showed that for some reason, Domino 8 expects a COM’s configuration path to be (programfile).config instead of (programfile).exe.config (e.g. namgr.config vs namgr.exe.config). I didn’t know Domino had any control over how .NET behaved but I have no other explanation for what happened.
Oh well… what seemed like a really easy fix took almost a week to discover.

