The Latest Blog
send me a comment

Boston Weather (Monday, Apr 28)
[ permalink ] [ e-mail me ] [ ]

Going to pack for the View Developer2008 (plus Admin2008, and more!) conference in Boston this week. Let's check the weather...

Weather in Boston this week

Yikes! That looks cold to me for this time of year. At least the pollen count should be much lower than I'm used to. See you there?

New $5 Bill (Thursday, Apr 24)
[ permalink ] [ e-mail me ] [ ]

I haven't seen one of the new $5 bills yet, but I keep hearing about them. Here's what they look like:

The New $5 Bill for 2008

Not too terribly different, but they were able to ugly it up just a tiny bit more with weird purple tints and a grossly out-of-place oversized "5" on the back. This page on moneyfactory.gov describes the new security features and whatnot.

Vista "Network Tuning" (Tuesday, Apr 22)
[ permalink ] [ e-mail me ] [ ]

This came up in my Google Alerts yesterday: Vista's automatic network tuning may cause Lotus Notes network timeouts.

The story was that someone was having trouble with Lotus Notes (and other network applications) on his new Vista machine, and when he disabled the "automatic network tuning" everything started working again. I don't have Vista installed anywhere and I honestly don't know anything about this autotuninglevel stuff, so usual caveats about "this is something I found on the Internet" apply. I just wanted to pass it along in case it helps someone else.

Quickr Entry? (Monday, Apr 21)
[ permalink ] [ e-mail me ] [ ]

I was looking through the Quickr Entry Entitlement announcement just now (that's the product formerly known as Quickr Personal), and the Quickr Entry product page. Anyone been able to download these yet? I know when Ed Brill mentioned it last month the download link wasn't up.


UPDATE: from the comments, it sounds like when you install the "regular" version of Quickr 8.1, you have the choice to activate either just the Entry functionality or the full Standard functionality (and in fact upgrading from Entry to Standard is as simple as changing an INI variable). So it's possible that there's not going to be a Passport download specifically for Quickr Entry?


UPDATE #2: according to Ed Brill, the Quickr Entry-only download is now available on the Passport site.

Searching For JavaScript Across Libraries (Thursday, Apr 10)
[ permalink ] [ e-mail me ] [ ]

Let's say you have a web page that references a LOT of different JavaScript libraries. Maybe you need to find out which library a function is in, or maybe you want to see how many different places a function is being called from. Hmm, there must be some good way to do this, right?

This is a question that has many different answers. I couldn't find a way in Firebug to do it (which is usually the answer to everything), so below is what I came up with.

1. Open the page in Firefox. Duh.

2. Use the JSView addon to open all the JavaScript libraries in new tabs. As an example, let's say I was looking at the Yahoo YUI Multi-Page Calendar Example. When I click the JSView button in the status bar, here's what I see:

JSView in action

What you want to do is click the "View All JS" option at the very top. This will open all the JavaScript libraries in new tabs (well, that's the option I have set anyway -- there are other "open" options too). Okay, cool, all the libraries are open in tabs. So how do you search?

3. Use the Showcase addon to search all open tabs. The final part of the equation is the Showcase addon. It displays all the open tabs in a thumbnail view:

Use Showcase to see thumbnails

You can then use Control-F to open the "Find" textbox at the bottom of the thumbnail screen and search through ALL the open tabs. In fact, the thumbnails that don't contain the search term even start dropping off, so you get a nice visual effect as well as an easy way to select all the tabs that contain your search term somewhere.

From there, you can open the selected tabs in a new window, or invert the selection and close everything but those tabs, or whatever. At least you know where to look.

One little tip with JSView for you too: you might want select the "Delete temporary files on exit" option, because otherwise all the JavaScript files you open will start littering your Temp directory. On the other hand, if you want to easily save all the JavaScript files that you opened... well, just look in your Temp directory and there they are (prefixed with "jsview").

JavaScript Stack Traces (Tuesday, Apr 8)
[ permalink ] [ e-mail me ] [ ]

I was trying to debug some JavaScript tonight, and I got to wondering whether or not you could determine which function called another one. You know, to do a mini-stack trace or something (and yes, I know all about Firebug thank you).

Well, a few minutes of Googling and I found out you can. Here's an example:

http://www.helephant.com/Article.aspx?ID=675

Pretty cool. Yet another thing I didn't know about JavaScript.

Oh, and speaking of function tracing and whatnot, did you see the new LotusScript error logging tool that Corey Davis just put out on OpenNTF? I played around with it a little, and it looks really nice. Lots of great options, and a 97 page user guide. Wow!

File Attachments and Clippings Newsletter (Saturday, Apr 5)
[ permalink ] [ e-mail me ] [ ]

Just a quick note to point you to an article I wrote for the latest Clippings newsletter. It talks about some of the different ways a Domino server can serve up file attachments.

Seem basic? Maybe, but did you know that by turning off compression for a file attachment on a document, you can actually make the file download faster? In fact, if you have PDF attachments that are saved so they can be viewed "page-at-a-time" on the web, the only way the page-at-a-time stuff works on Domino is if the attachment is saved without compression. I also point back to my blog entry from a few months ago on gzipping Domino file attachments -- could be handy if you missed it the first time.

LotusScript CodeLock (Monday, Mar 31)
[ permalink ] [ e-mail me ] [ ]

I've used LotusScript code locking exactly once before in my life, I think, and that time I'm not sure if I actually ended up using it in production or I ditched it before I was done playing. For reference, here's a class I dug up that makes code locking take a few less lines of code:

Anyway, I found a technote that said there was a CodeLock server crash condition fixed in 6.5.5 and 7.0.1, but there wasn't much else on it. Does anyone have any warnings or caveats to offer before I use this function? It may be necessary in the very specific case I'm dealing with.

Web of Deception: Chapter 2 (Tuesday, Mar 18)
[ permalink ] [ e-mail me ] [ ]

If you haven't been keeping up, Ben Langhinrichs proposed a fun little writing challenge where several people join together to write a story, one person per chapter. Chapter 1 is on Ben's site, and I just finished the second chapter here:

I gave it its own page because it was easier to read that way. Rob McDonagh has been tagged for the next chapter, and you can always follow the story at the Web Of Deception RSS feed.

I Park Like An Idiot (dot com) (Wednesday, Mar 12)
[ permalink ] [ e-mail me ] [ ]

I heard about this site on the radio this afternoon:

I Park Like An Idiot Bumper Sticker

The concept is (so I'm told) that whenever you see someone parked very horribly in a parking lot -- a large, shiny pickup truck double-parked across two handicapped spaces was the example that was used -- you're supposed to pull a handful of I Park Like An Idiot bumper stickers out of your glove box and plaster them all over the offending vehicle.

If you're lucky, the owner of said pickup truck won't see you do it, beat you senseless, and plaster "I Just Got My Ass Whooped" stickers all over your broken body.

Around here, the main offenders seem to be handicapped spaces occupied by brand new BMW's and Mercedes, driven by people who don't have handicapped stickers and don't appear to have any physical handicap. Perhaps the handicap is a condition where they feel compelled to spend over $50,000 on an automobile and park in handicapped spaces... I dunno.

Screenshots of Database Using Java Views (Tuesday, Mar 4)
[ permalink ] [ e-mail me ] [ ]

In the coming months, I'll be doing several Notes 8-specific sessions at the Lotus Developer 2008 conference in Boston and the Lotus Notes and Domino 8 Development Seminars (in various cities). Come by and say "Hi!".

It's actually been very interesting putting together the sessions for Notes 8, because (A) I have to keep digging deeper and deeper into the technology to see what's going on, and (B) there were a lot of little changes between Notes 8.0 and 8.0.1. The last two weeks have had me going back through all the slides and demos to make updates for the 8.0.1 release.

One of my demo apps was pretty fun to put together. It's the session on "Deconstructing the Mail Template", where I go through a lot of the interesting UI features of the Mail and Contacts databases and show how to implement them in your own application. Many of these things require "Java Views" (a.k.a. Eclipse-based UI features), which are currently unsupported for custom applications but are useable thanks to some research by Stephan Wissel. Here are some screenshots of the demo -- you'll recognize many of the features from Mail and Contacts:

Filter view by letter
Tabbed navigation lets you filter by letter.

Java view preview options
Side preview option and business card view.

Preview on the side

Business card view

Split action buttons
Split action buttons with a default action.

Wrap-around text
Wrap-around text in views, and hover text on view icons.

To see how it all works, you'll need to go to one of the conferences though. Or you can figure it out from publicly available information -- like Stephan's article and the Reviewer's Guide, and the very fact that the database design of the Mail and Contact databases is open -- but it's a lot more fun if you come to a conference.
;-)

Notes 8.0.1 Huge Fonts (Friday, Feb 29)
[ permalink ] [ e-mail me ] [ ]

I upgraded my demo laptop to 8.0.1 yesterday. That's the old Thinkpad I bring with me to conferences -- no private data or confidential files, and I don't care how beat up it gets. Since I use it for presentations, I also have some of the fonts cranked up pretty big so everything is easy to see from the back of the room.

However, after I loaded up Notes 8.0.1 the tab fonts were a bit large even for my taste:

Huge fonts on Notes 8.0.1 workspace tabs

All I could think of was Tiny Elvis: Damn, look at those fonts. Those things are HUGE! (That's right, E! Score another one for the Tiny E!)

Luckily, someone else (one Janko Stefancic) already had the problem and posted the fix on the LDD forums -- adjust your Windows Messagebox font. No telling how much time that saved me. The Messagebox font setting is one of the "Advanced" options in the Appearance tab of the Windows Display Properties:

Messagebox Font Size Settings

A font size of 10 worked okay for me, although 9 is probably better on a "normal" machine.

Go To ILUG! (Monday, Feb 25)
[ permalink ] [ e-mail me ] [ ]

ILUG 2008 Logo As seen on Paul Mooney's site (and several others), registration for ILUG is on. If you don't register now, you may well miss your chance. I already bought airline tickets hoping that Rob McDonagh and I get to do a session -- I'll be there in any case. Even if my session is refused and my registration doesn't get accepted, I'll be there lurking in the nearby bars.

On a related note, here's a screenshot of the ILUG 2008 event page on Facebook (available to those of you who haven't dropped off of Facebook yet). I thought the sponsored ad choice on the left was rather interesting -- not sure what keywords caused that one to pop up.

ILUG 2008 Facebook Event

Pictures of Lotusphere 2008 (Friday, Feb 8)
[ permalink ] [ e-mail me ] [ ]

Okay, I suck at taking pictures. Coupled with the fact that (A) I didn't bring a real camera to Lotusphere so all I had was my iPhone, and (B) I deleted all my people pictures because they were blurry, this means that I have no good pictures of Lotusphere last month. Thank the Lord for Flickr (and other people's pictures).

However, as a purging exercise, here are the Lotusphere 2008 pictures I was able to salvage from my iPhone. It's a miserable collection.

Cancelled flights at the Atlanta airport The day I left, it was snowing in Atlanta. All the entries in red up on the Delta Departures board in the picture are cancelled flights. Luckily, all of the Orlando flights were on time and leaving regularly.
Deicing line at the Atlanta airport Hmm, maybe "on time" was a little misleading. The planes actually pushed back from the gate on time, and then waited 2 hours to get de-iced. Notice the conspicuous lack of snow on the ground (4 hours after it started snowing). This counts as a snowstorm in Atlanta.
Flying to Orlando Finally in the air, flying to Orlando. We left the gate at 2:30 (on time!) and took off at 5:00 (yawn).
No coffee The saddest sight in all of Lotusphere: a coffee service table with NO COFFEE. This picture was taken at 8:11 AM. Unfortunately, the absence of coffee was not because they were about to put coffee out, it's because they just put it away. At 8:00 AM, when the early morning BOF's finished up. No coffee service until AFTER the 8:30 sessions are over, just an empty table to remind you of what you're missing. My yearly bad coffee karma continues.
Julian with mutton chops "Eeek! Mommy, who is that scary man with the scary beard-thing?"

"Don't worry dear, it's probably someone who works at Tower of Terror. We'll walk on the other sidewalk over there."

Session room for BP210 Here's the room for me and Rob's charting and graphing session, about 10 minutes before we began. The room filled up by the time we started talking. It was somewhere between 650 and 700 seats.
Nighttime outside the Dolphin At night, no one can hear you scream. Especially at 4:00 AM after you've been slugging back drinks in the Dolphin rotunda.
Flying home over a nuclear power plant? And, here's the flight home. Is that a nuclear power plant we're flying past? What the hell?

See, I told you it's a crappy set of pictures. And those are the ones I didn't delete.

Iñtërnâtiônàlizætiøn is Hard (Thursday, Feb 7)
[ permalink ] [ e-mail me ] [ ]

I'll say it again: it's easy to get something working on my machine. It's much more difficult to get it working on your machine. Especially if you speak a different language and are in a different locale.

Jesper Kiaer and Dietrich Willing were having some problems getting the Java Chart examples in the ChartTest database working. They were both having locale issues. I fixed the problems in the database and reposted it (so you'll need to re-download if you got it before around noon today), but here's what was going on:

So again, please re-download the database if you were an early adopter and you downloaded yesterday, so you have the latest code. Until the next bug fix, of course...

N.B. Iñtërnâtiônàlizætiøn is the "word" that Sam Ruby suggests using to test for character set issues.