Yearly Archives: 2009

Using GreaseMonkey’s persistent data functions as a aged Cache, revised.

In eating my own dog food I have revised, corrected, improved and fixed the code I posted last week. The biggest changes are related to ensuring that all that cached data does not just accumulate and never gets cleared away.
Values set using the “GM_setValue” function are saved in the Firefox preferences back end and [...]

Posted in Ajax, Code, GreaseMonkey, JavaScript, Web | Leave a comment

Use GreaseMonkey’s persistent data functions as a aged Cache.

GreaseMonkey (Don’t know that GreaseMonkey is the greatest thing since slice bread? See Greasemonkey) has two persistent data function’s, GM_setValue and GM_getValue, which let you set and get values. See Mark Pilgrams excellent Dive Into Greasemonkey : Storing and retrieving persistent data for more details. (even better, go to GreaseSpot and it’s api [...]

Posted in Code, GreaseMonkey, JavaScript | Leave a comment

Using an iPod as a travel device and the what could be (aka the tripPad™)

This fall I was lucky to travel to Berlin and Paris on vacation, but as I geek I of course brought along a computer or 2.
On last years trip to Los Angles I had a NetBook (Aspire One) and using our friends WiFi was able to keep up on email and access the locations I [...]

Posted in Brain Farts, Hardware, travel | 1 Comment

JavaScript Function to get the Intersect of 2 Arrays

In mathematics, the intersection (denoted as ∩) of two sets A and B is the set that contains all elements of A that also belong to B.
I needed the javascript array equivalent, so that given an array A = ["a","b","c", "d"] and B = ["b", "d", "e"], getIntersect(A, B) = ["b", "d"]
123456789101112function getIntersect(arr1, arr2) [...]

Posted in Code, JavaScript, Web | 1 Comment

Changes in the Junction : Jocelyn’s Place, a Stop Light & Buddha Pie

This fall has seen a few changes in Toronto’s west end Junction neighborhood (of New York Times fame):
Bronto Burger is now Jocelyn’s Place (2982 Dundas St. West, just west of Pacific Ave.), with a new owner but same menu/price and deco (at least for now). The food and service continue to be as good.

The [...]

Posted in Food, Junction City, Toronto | 1 Comment

False Positives on Planet Lotus

Once upon a time, 2006, there was “Show ‘n Tell Thursdays – A Project Of The Lotus Notes And Domino“, and the SNTT tag is still used, but Planet Lotus is where the action is now, an aggregation of Lotus related blogs and news.
Recently False Positives was accepted for inclusion as part of that community. [...]

Posted in Code, Lotus Domino, Show-n-Tell+Thursday, Site | Leave a comment

Five films from the TIFF

We saw 5 great films in the Contemporary World Cinema program in this years (2009) Toronto International Film Festival (Tiff).
We started off with a Irish film, Perrier’s Bounty, set in the underside of North Dublin. Great and meaty characters. I hope the DVD has English subtitles and translation so I can understand [...]

Posted in Movies, Toronto | Leave a comment

Validating URL and Email Addresses with regexp in Lotus Notes

I needed to recreate this from scratch, and so I’m documenting this here for the next time.
Most of the credit should go to Julian Robichauxand his ls2j examples db, and in particultar the JakartaOroWrapper Library
My “invention” involves creating a isValidateURL and isValidateEmailAddress Regular Expression (or regexp ) routines that worked for me.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647Uselsx "*javacon"
Use [...]

Posted in Code, Lotus Domino, Show-n-Tell+Thursday | Leave a comment

can’t use @ThisName in Hide-When formulas, LOTUS NOTES meta coding FAIL

I had hoped to use the “@ThisName” to get the suffix of the field name “Comment_1″ and hide it if the Field “Status_1″ is “Pending” by doing this :
1234Suffix := @Right(@ThisName; "_");
EmpListFieldName := "Status_" + Suffix;
Status_value := @GetField(EmpListFieldName);
@If( Status_value    = "Pending";@Return(@True);@Return(@False));
but it didn’t work
finally traced it down to the “@ThisName” formula and [...]

Posted in Code, Lotus Domino, Show-n-Tell+Thursday | 2 Comments

Expanding Group Names for Lotus Domino using LotusScript

I needed to find the people that belonged to a given lotus Notes group. It couldn’t be a simple lookup since other groups can and frequently are also members of a group, so it needed to be be recursive.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556Function expandGroupListMembers(GroupName) As Variant
Dim session As New NotesSession
Dim db As NotesDatabase
Dim gView As NotesView
Dim memberList As [...]

Posted in Code, Lotus Domino, Show-n-Tell+Thursday | 3 Comments
  • Follow

  • Archives (since 2003)

  • Categories

  • Recent Posts

  • Twitter Updates

    • I liked a YouTube video -- Recycle your unwanted electronics - City of Toronto http://youtu.be/91OXkMkesBc?a 14 hours ago
    • I'm organizing and coordinating my Japan Trip with Google Wave. Seeing both the promise and the fail. of the product. 19 hours ago
    • I have failed my saving Throw against Shiny ... I new 32G iPod Touch is on order :) 1 day ago
  • del.icio.us links

  • Flickr

    Hanging Gardens of KensingtonHanging Gardens of KensingtonMore Chocolate CakeMore Chocolate Cake
  •  

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Spam Blocked