Author Archives: Ian

IE 6 Death Watch gets a Funeral Service and at least a few more Nails in it’s coffin

Part 2.
Six Months ago I declared One Year to Go on the IE 6 Deathwatch
In the beginning of this year it was disclosed that Google (as well as and 20+ other companies) had been the victim of Chinese cyber attack, attackers called the operation “Aurora” . Microsoft had admitted that Explorer was used [...]

Posted in Code, Web | Leave a comment

different behavior for Prototype JavaScript childElements() in FF and IE

Or now to lose the rest of one’s limited hair    …. I’ve come across a “doesn’t work as expect” issue while working in Prototype 1.6.0.2 JavaScript framework (”Easy Ajax and DOM manipulation for dynamic web applications” for sure!)
1$(’someIdName’).parentNode.childElements()
works fine in FireFox (v3) but not in Internet Explorer ( v6), in particular it seems [...]

Posted in Ajax, Code, JavaScript, Web | 1 Comment

Agile Web Development with Rails, erratum

from the Agile Web Development with Rails, Third Edition. (fourth printing), in Chapter 8.3 iteration C2: Creating a Smarter Cart (page 104), when creating the initial CartItem model class, the price function is defined thusly :
123    def price
      @product.price = @quantity
    end
Unfortunately that sets the price to the number of items [...]

Posted in Ruby and Rails | Leave a comment

$400 fine and 3 demerit points for the life of 79 year old Siu Mui Lam

Siu Mui Lam (also known as Mrs. Wong, born 1930) was killed by a dump truck driver on June 23, 2009 (the second day of City strike) when she crossed an intersection at St. Helen’s street/ Bloor before a STOP sign.
The impact was so huge, that head and body was severely disfigured, and she pronounced [...]

Posted in Canada, Life, Toronto | Leave a comment

a GreaseMonkey script for Follow Rank and Follows in Common for Twitter User Profiles

I’ve released a GreaseMonkey script Follow Rank and Follows in Common for Twitter User Profiles which you can use to display the Follows in Common and the Follow Rank for a given users profile page and discover how important they are in your Twitter Social Network.
Similar in aim to FaceBooks “friends in common”, adjusted [...]

Posted in GreaseMonkey, JavaScript, Social Networking, Web | 1 Comment

2010 Will be The Year of the Tablet!

In all likelihood 2010 will be the year that tablet computers (and activities that belong on such a device) will become mainstream.
A large part of this is due the the (expected) announcement of Apple to release a large(er) factor iPhone or iPod Touch device, which has a chance of doing what the [...]

Posted in Hardware | Leave a comment

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
  • Follow

  • Archives (since 2003)

  • Categories

  • Recent Posts

  • Twitter Updates

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • del.icio.us links

  • Flickr

    Runnymede Healthcare Centre Demolition : The EndRunnymede Healthcare Centre Demolition : The EndRunnymede Healthcare Centre Demolition : The EndRunnymede Healthcare Centre Demolition
  •  

    March 2010
    M T W T F S S
    « Feb    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Spam Blocked