mredkj.com logo

An update blog for mredkj.com

What's this blog about?

mredkj.com is an unfocused programmer resource from Matt, Eric, and Keith

This blog will keep you up to date with our latest site changes.

Thursday, September 29, 2005

VS.NET - ASP.NET - Handling Treeview display issues

ASPTreeviewStyle.html

Full control over Treeview style

posted by Keith [9/29/2005 06:40:00 PM] - permalink - 0 comments

Tuesday, September 27, 2005

New Layout For Main Index

Trying out a simpler layout for the main index at mredkj.com.

posted by Keith [9/27/2005 10:32:00 PM] - permalink - 0 comments

Monday, September 26, 2005

VB.NET - Tip - Generating Random Numbers

randomnumbers.html

A simple function to return random numbers in a given range.

posted by Keith [9/26/2005 08:07:00 PM] - permalink - 0 comments

Saturday, September 24, 2005

How Tall

howtall.html

A list of celebrity heights.

I had a list of 'how tall' stats I put together several years ago. It wasn't very comprehensive, but today I decided to publish it at mredkj.com. To make the page somewhat useful I describe a little bit about the sources and some other places to find celeb height information.

2005-10-02

In the mredkj 'how tall' page, I explain how you can use Google to get a famous person's height. For the most part it works, and the top result is specially formatted answer.

I've read variations of this trick at other sites (e.g. oreilly.com). The keywords they recommend are height or tall, which is a little simpler than my suggestion of how tall is.

The one problem I've found is the different keywords aren't always consistent. Here's an example.

The following Google search will return only normal search results.
tall Michael Moore
height Michael Moore


Yet this will give the special Google top answer.
how tall is Michael Moore
Michael Moore (II) — Height: 5' 11½" (1.82 M)
According to http://www.imdb.com/name/nm0601619/bio - More sources »

posted by Keith [9/24/2005 03:02:00 PM] - permalink - 1 comments

Tuesday, September 20, 2005

JavaScript - Add options to a select from a new window

tutorial008.html

A couple people sent feedback about an error they were getting when trying to add options from a new window. My recommendation at this time is to remotely call a method that will add the new option. Refer to tutorial008.html for an example.

Update - 2005-09-21
I did some searching for existing solutions, and found this issue has been around a while. One solution worth checking out is in the last post of this devshed thread. Basically, the trick is to increment the length of the options, then reference the new option to set the text and value.

posted by Keith [9/20/2005 11:27:00 PM] - permalink - 5 comments

VB.NET Map Drive

vbnetmapdrive.html

How to map a network drive using vb.net

posted by Keith [9/20/2005 12:26:00 AM] - permalink - 0 comments

Thursday, September 15, 2005

JavaScript DOM Traverse

dom_traverse.html

JavaScript utility to traverse the DOM under an element.

There are other resources on the web to traverse the DOM, but I wrote this script just to get a simple view of an element's DOM structure. It came in useful when I was trying to figure out some browser differences.

posted by Keith [9/15/2005 04:10:00 AM] - permalink - 0 comments

Monday, September 12, 2005

Software Patent Rant

softwarepatents.html - My opinion of software patents.

Feel free to leave yours in the comments here.

posted by Keith [9/12/2005 05:28:00 AM] - permalink - 4 comments

Thursday, September 08, 2005

Diet Coke commercial 2

dietcoke2.html

(2006-02-02 - Retroactively added a page to mredkj.com with this information, plus some)

I received a question asking about a Diet Coke ad, which was described as "The one where the guy is in his apartment getting ready to go out"

I found an ad entitled "Loft" currently playing at dietcoke.com

I looked up the song based on the lyrics, and concluded it is "I Like the
Way" by Bodyrockers.

Update: adweek.com has an article with more information.

Update (2005-09-22): zudfunck.com has a thread about Coke commercials which says that the "Loft" Diet Coke guy is Paul Papadakis.

posted by Keith [9/08/2005 01:49:00 PM] - permalink - 4 comments

Thursday, September 01, 2005

ASP.NET Numeric Textbox control

NumericTextBox.html

ASP.NET Numeric Textbox control that handles pasting.

Eric wrote this control including my validation javascript.

posted by Keith [9/01/2005 06:04:00 PM] - permalink - 0 comments