Georged Weblog

Have you georged your mind?

July 2003 - Posts

Be positive

Was driving to the customer site in a really bad mood but one of the billboards made me laugh all the way: MBF - Australian health fund/private health insurer has a new motto: "BE POSITIVE". Way to go, PR boneheads! That's exactly what I don't want to be when it comes to my health :-)

Make it three days from now

Did you know that in date fields in Outlook (Task, Appointment forms) you can type things like "tomorrow", "yesterday", "week from now", "in 2 days", "two weeks ago", "next year". Even "Christmas", "Boxing Day", "New Years Day", "Halloween",  "Cinco de Mayo" and "Independence day" work (though "Queens Birthday" and "tonight" do not :-)

Very handy when your client says "lets talk again in three days" - saves you figuring out what date it's going to be in case you've been on a coding roll for 20 hours straight and lost track of time. Sweet.

$25 ASP.NET challenge

I'm yet to see ASP.NET code which does not use '~' mapping feature in Server.MapPath. We all love this feature, except... wait a minute... it is not documented?! Search on MSDN failed to uncover any statement stating that '~' in MapPath function refers to a virtual root (the task was not made any easier by the fact that tilde is ignored in a search). Could it be that we're all typing megalines of code against undocumented feature? And what, apart from bazillions of angered developers around the world, will stop ASP.NET team from changing it in 2.0 from '~' to, say '$', 'œ', '¥' or '½', for this matter :-). 

Now, here is the georged challenge: the first person who points me to a piece of documentation explaining usage of a tilde character in MapPath is entitled to AUS $25 (about US$17 and rising). Money will be transferred to a PayPal account or similar.

Rules:

  1. It must be official documentation, i.e. references to samples, user groups, magazine articles, blogs, etc will not be considered.
  2. 'First' will be judged by UTC time of the reply/post/email.
  3. I decide who's first and whether pointer/answer is correct.
  4. if(you.disagree) goto 3;
  5. Ah, what the heck, Microsoft employees are also eligible to enter :-)
Anyone?
 
Cheers
Georged
Lorem ipsum dolor sit amet
While creating customer's web site, I needed some words to fill in the content until customer comes up with the goods. You're may be aware that typesetters and publishers used "Lorem ipsum dolor sit amet..." since 16th century. But, in a good tradition of code generation, this is what I found. Added to the list of my development bookmarks. Just do not try to spellcheck it :-)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis viverra tortor quis erat. Donec dolor. Praesent vestibulum nonummy ipsum. Nunc nonummy elementum velit. Mauris lorem metus, feugiat eget, scelerisque eu, vulputate sed, lorem. Morbi id tellus vel risus ornare laoreet. Integer justo nibh, semper sit amet, vestibulum id, mattis sit amet, elit. Etiam id massa. Nulla ultrices, diam in commodo semper, elit nunc ornare metus, at volutpat wisi lectus quis risus. Nunc convallis eleifend nibh. Praesent aliquet dolor vel pede. Sed nunc nulla, commodo eu, blandit ut, vulputate in, sem.
 
Praesent eget dolor vitae quam suscipit rhoncus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus non ipsum eget wisi venenatis semper. Nullam quis massa ut tortor eleifend imperdiet. Suspendisse lectus tellus, pharetra ut, faucibus eu, adipiscing quis, felis. In eget sem ac nibh semper malesuada. Ut et turpis. Vivamus ullamcorper, nulla nec dictum vehicula, pede massa ornare purus, sed ullamcorper dolor wisi eu sem. Proin lacinia, libero eu vulputate imperdiet, enim eros interdum tellus, sed porttitor nunc libero ut pede. Vivamus elit. Proin tempus orci quis magna. Pellentesque aliquam dignissim massa. Etiam luctus mauris sed lectus. Aenean vitae leo. Morbi sit amet ante sed purus iaculis aliquet. Nulla eu nisl vel arcu vehicula malesuada. Aenean quis sem. Quisque justo.
 
Suspendisse vitae dolor sed mauris lacinia iaculis. Nunc consectetuer orci et turpis. Aenean gravida ullamcorper urna. Duis a libero. Integer lectus est, egestas ac, suscipit ac, accumsan sit amet, justo. Proin ante arcu, tincidunt eget, vestibulum et, accumsan eget, justo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Pellentesque aliquet dictum orci. Ut ullamcorper dapibus turpis. Nulla pulvinar.
Proin pulvinar enim et lorem. Quisque luctus pharetra sem. Praesent elementum arcu vel sem. Vestibulum ligula est, fermentum sed, accumsan quis, vestibulum at, diam. Vivamus in mauris a mauris egestas placerat. Donec consectetuer ante elementum elit. Phasellus enim dolor, condimentum eget, malesuada et, accumsan quis, nisl. Proin ligula. Mauris molestie, lectus a posuere gravida, tortor ipsum rhoncus magna, sit amet placerat arcu diam at eros. Donec dolor felis, imperdiet a, fermentum vitae, pharetra in, leo. Sed sollicitudin mollis augue.
 
Praesent dapibus ornare pede. Nam pellentesque, tellus eget scelerisque venenatis, nisl nisl feugiat sapien, sed tempor leo dolor ut risus. Vivamus placerat, tellus nec commodo sodales, eros libero porta enim, sit amet suscipit risus lacus nec lacus. Phasellus nisl sapien, consectetuer et, cursus quis, fringilla a, turpis. Nulla porta tellus eget metus. In interdum ultrices augue. Maecenas congue, libero ut vestibulum adipiscing, ligula nibh bibendum elit, sed porta tellus wisi vel sapien. Nulla vitae eros. Integer sodales interdum justo. Donec vehicula risus sed pede. Morbi est. Sed dui ipsum, varius et, consectetuer gravida, suscipit in, libero. Mauris consequat tellus non lorem. Nunc dignissim porttitor tortor. Cras aliquet pellentesque arcu. Donec eleifend leo sit amet nulla. Etiam a ligula.
Sweet.
 
More Posts