Friday, June 29, 2007

Lol! This guy is too funny!*

Friday, June 29, 2007 3:43:54 PM (GMT Standard Time, UTC+00:00)

I haven't put up anything funny in a while, but I think this makes up for it! Check this out!

Enjoy!!

Friday round-up*

Friday, June 29, 2007 3:26:17 PM (GMT Standard Time, UTC+00:00)

Here are some interesting reads...

First, all of us have heard about it and I'm guessing about 70% of my friends have probably used it.. but really, how does Bluetooth work? This article is sure to give you a good idea.

Maintaining a 'good diet' is no longer only a female thing, us guys have recognised that it is a requirement either to keep healthy or .. to help get the body that interests the females, ;). lol, Anyway! Here's an article that speaks to 3 common Diet Myths. I found #3 especially interesting... and worrying.. as I really had no clue! I.. was living a dream it seems. :s

Ten CSS tricks you may not know*

Friday, June 29, 2007 3:55:07 AM (GMT Standard Time, UTC+00:00)

Cascading Style Sheets (CSS) can be soo greatt!!! Provided you know how to work it! Well for you who want some nice tips/tricks and lack a good CSS book, check out Ten CSS tricks you may not know.

I learned some nice stuff and I hope you do too! Enjoy!

Wednesday, June 27, 2007

The 100 Best Products of 2007*

Wednesday, June 27, 2007 2:15:21 PM (GMT Standard Time, UTC+00:00)

This article from PC World was out for a month or so however, it displays some reallly good 'products', so just in the event that you missed it, here's the link!

My favourite 8 of the 100 Best products are: Google Apps (docs, spreadsheets); Canonical Ubuntu 7.04 (free OS with standard word processing, spreadsheet, email clients anyone? - did I mention that software is free too?); Google Gmail (I like the free POP forwarding the most); Google YouTube (my tube anyone?); Mozilla Firefox 2 (no need to have a genuine copy of Windows to run this baby! - [like with IE7]); Skype 3 (sweet for calling out of Barbados, not calling in!); Yahoo Flickr (great quality! Excellent photos are on here, if I didn't have my own photo site, I would definitely consider this); and Microsoft Office 2007 (it's pretty. :D).

Monday, June 25, 2007

Monday round-up!*

Monday, June 25, 2007 2:45:09 PM (GMT Standard Time, UTC+00:00)

I haven't put up anything funny in a while, but I think this makes up for it! Check this out!

X

Enjoy!!

Friday, June 22, 2007

Best 4 'OUT OF OFFICE' email auto-replies!!*

Friday, June 22, 2007 3:43:06 PM (GMT Standard Time, UTC+00:00)

1. I am currently out at a job interview and will reply to you if I fail to get the position. Be prepared for my mood.

2. Thank you for your email. Your credit card has been charged $5.99 for the first ten words and $1.99 for each additional word in your message.

3. The e-mail server is unable to verify your server connection and is unable to deliver this message. Please restart your computer and try sending again. (The beauty of this is that when you return, you can see how many in-duh-viduals did this over and over).

4. Thank you for your message, which has been added to a queuing system. You are currently in 352nd place, and can expect to receive a reply in approximately 19 weeks.

Enjoy! (Thanks J!)

Disclaimer: Use at your own risk.

Tuesday, June 19, 2007

Vatican has Ten Commandments for drivers*

Tuesday, June 19, 2007 8:55:59 PM (GMT Standard Time, UTC+00:00)

Yep! That's right! I couldn't believe the headline myself until I browsed to the article.

"The Vatican on Tuesday issued a "Ten Commandments" for motorists to keep them on the road to salvation, warning drivers against the sins of road rage, abuse of alcohol or even simple rudeness." (Yahoo!)

Some of the commandments are:

  • The road shall be for you a means of communion between people and not of mortal harm. (#2)
  • Courtesy, uprightness and prudence will help you deal with unforeseen events. (#3)
  • Cars shall not be for you an expression of power and domination, and an occasion of sin. (#5).. [I think.. all males break the first part of this one .. :(]

Check the full list here! Enjoy!

More "Tune of the week"*

Tuesday, June 19, 2007 3:20:34 PM (GMT Standard Time, UTC+00:00)

Richie Spice - The world is a cycle

(8)In everything you do, remember to pray, a prayer-a-day chase the devil away(8) !!

Monday, June 18, 2007

2-way databinding cascading drop down lists within a FormView*

Monday, June 18, 2007 1:33:51 AM (GMT Standard Time, UTC+00:00)

Recently while trying to get (databound) cascading drop down lists (a dropdownlist that is dependent on another) within a FormView to work, I came across the error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."

Anyone who comes across this error whilst trying to get dependent drop down lists working, I advice you to check Demo for 2-way databinding cascading lists within a FormView. It's a great resource as the author first explains the error (and even directs you to MS's comments on it), and also gives a sweet approach (with code in VB and C#) to handling cascading drop down list.

Kudos to him/her! They saved me a good amount work!

Saturday, June 16, 2007

Referencing*

Saturday, June 16, 2007 3:44:01 AM (GMT Standard Time, UTC+00:00)

Numeric style bibliographies and references

Numeric system

Harvard system

ApplicationName Property when customising providers*

Saturday, June 16, 2007 2:01:02 AM (GMT Standard Time, UTC+00:00)

Remember ASP .NET 2 developers.. Always set the "ApplicationName" property when customising and re-configuring the ASP.NET 2.0 Membership, Roles and Profiles Providers.

Also.. in looking to work with these providers, and even the customisation of them, I advise you to check out Examining ASP.NET 2.0's Membership, Roles, and Profile - Parts 1-8 by Scott Mitchell.

For background information on each of these providers, you can hit up Microsoft ASP .NET 2.0 site directly here.

Enj0y!

Friday, June 15, 2007

Iraq body count...*

Friday, June 15, 2007 2:21:30 PM (GMT Standard Time, UTC+00:00)

On April 18th 2007, I decided to start doing an Iraq Death Toll. This was mainly just to highlight the value of life for all of us, by comparing how easily life is lost in places such as Iraq. Sad to sad, work has me so busy lately, I haven't posted any counts for the last month or so. So, I'm sorry for that.

On the bright side though, I've found a site which is dedicated to providing just this information and on a daily basis! The site is iraqbodycount.org and I find it to be a pretty well-arranged information source. In commenting on the Iraq Body Count Project, Wikipedia writes "The Iraq Body Count project (IBC) is an attempt to record civilian deaths attributable to coalition and insurgent military action, sectarian violence and criminal violence in Iraq since the US-led 2003 invasion of Iraq." (Wikipedia)

So, right now you're probably wondering if I'm going to get the information from that site and post it on this blog or if I'm going to stop my posts on Iraq and let the IBC site handle it. To be honest, for now, I'll leave it up to IBC, they are much more thorough and have more time. I hope I didn't disappoint. :\

Wednesday, June 13, 2007

How Google Earth Works*

Wednesday, June 13, 2007 4:06:19 PM (GMT Standard Time, UTC+00:00)

Google Earth's is undoubtedly one of the best FREE, MAP products on the market today. When I was heading to Uni in UK, dad and I used it to find the Uni, determine how far Uni was from my accommodation, plot out routes from my flat to town, friend's houses etc.! Truly, Google Earth is just plain COOL! (That's not only the techie in me talking... .. .)

So.. considering all of the above, my suggested article today is How Google Earth Works from the renowned Howstuffworks.com. It goes through some basic functions of the program, some fun stuff and also shows you how to customise it. I recommend this article for anyone planning on taking a trip (even within Barbados!) or just someone who's interested in Cities, technology or maps. One feature that just blows me away is the 3-D Views.. that you MUST check out! The only concern I have though is.. the amount of free information which is now so easily placed in the hands of .. "bad people".. :\ Mazal Tov to us all!

Tuesday, June 12, 2007

Most Common Passwords!*

Tuesday, June 12, 2007 7:12:27 PM (GMT Standard Time, UTC+00:00)

Just found a pretty "interesting" article on Yahoo! Tech titled Most Common Passwords. I REALLY think you should check it out as even I, a "renowned techie" (ha!), have used one or two of these passwords in the 'past'.

Some of the most common ones to me are:
1. password
2. 123456
3. jason

The benefit of course is that the are all sooo easy to remember which means almost instant access with little "scratching of the head". Hmm.. shoot.. now that I've shared these with you I'm going to have to do some quick password changing!! Probably I'll try.. password with two 'p's this time. :)

For those of you that are interested in making your password more secure, check out Password Makeover and How to Pick a Genuinely Secure Password. The main reason I've suggested those Yahoo! articles is that comments are allowed and therefore you can get pretty useful feedback from the 'general population'. Enjoy!!

Monday, June 11, 2007

Formatting strings/numbers in .NET*

Monday, June 11, 2007 12:34:23 AM (GMT Standard Time, UTC+00:00)

Sometime ago I posted on formatting strings (specifically dates)  in .NET but I've found some more information so I thought I'd add to that post.

To start, I'll talk about the values that can be used in the BoundColumn.DataFormatString Property. This is the property used when formatting within databound controls (with a GridView or FormView for e.g.). The possible values for numbers range from C (currency), D (decimal), E (scientific or exponential) and even X (for hexadecimal). Then for for dates, there's "dd/MM/yyyy" etc. It's all really pretty simple to implement using like {0:C}, {0:dd/MM/yyyy} etc. For more formats you can check Custom Numeric Format Strings Output Examples.

The core of this post though is to point out a gotcha that you MUST be wary of when doing this formatting. And no, the gotcha is not the HTMLEncode that you must set to false, I mean beyond that! lol.

Now lately, I was trying to format a number into telephone format ###-####. I had the following inline code for a label (that was within a FormView template):

Text='<%# Bind("Telephone", "{0:###-####}") %>'

Looks all nice and correct huh? It should! Because I took it straight from this msdn site. For some reason however, this code was NOT working!!! The reason? At first I was totally lost! However after checking asp.net forums site, I FINALLY found a solution!

In my database the telephone field is actually a varchar, so in my DataSet, the telephone field came over as a String type. That was the problem!! If the field is of type String, the formatting does NOT work! The field must be of a number type (e.g. Int32, Decimal etc). So.. you can either change the datatype in the database (to a number type) or, CAST it in the SQL Select Query when you are retrieving it from the database.

Enjoy!!

Thursday, June 07, 2007

MS SQL Server error messages*

Thursday, June 07, 2007 9:19:22 PM (GMT Standard Time, UTC+00:00)

Here's some interesting information I found online..

If you encounter an error (which becomes an exception in VS) returned to VS 2005 application from SQL Server and all you get is the error number, you can actually search SQL Server for the "deep description" behind the number itself. All you have to do is get the respective error number probably from the SqlException.Number Property and then check the sysmessages table in Master database.

Eg. Let's assume that in my ObjectDataSource1_Updated event, e.Exception contained a SqlException (it'll be at the InnerException level). You could get the sql error number (which we'll call @errorNumber) of that exception with SqlException.Number property. Next, you can run the following query SQL Server:

USE [master]
SELECT * FROM sysmessages WHERE error = @errorNumber;

Then.. you'll see the information on your error. Enjoy! :)

Tune of the week*

Thursday, June 07, 2007 1:03:17 AM (GMT Standard Time, UTC+00:00)

I recognised that lately I have not been showing youtube much love so, here's a nice video which I've dubbed, "Tune of the week" - The Bee Gees - Night Fever.

Wednesday, June 06, 2007

Akon. Trouble 2.*

Wednesday, June 06, 2007 5:34:25 PM (GMT Standard Time, UTC+00:00)

On the 23 April 2007, I blogged about Akon and his actions with a young girl in a night club in Trinidad. Since then I haven't listened to any of his songs as I really don't think he's a "good influence"... even after his apology. It is with my greatest regret now that AGAIN, I'm forced to post about Akon and more krap that he has apparently done...

Some of you may have heard about his new episode in the news where he allegedly tosses a kid off stage at one of his concerts. Well... HERE IS THE VIDEO. The reason I said "he has apparently done" above is that there have been some theories that this was part of Akon's "bad boy" act.. you know, give the crowd something to scream about (kids.. *sigh.)

Anyway, it'll be very, very interesting to see how this one turns out!

Monday, June 04, 2007

To Facebook or not to facebook..*

Monday, June 04, 2007 1:56:05 PM (GMT Standard Time, UTC+00:00)

That is the question!

Lately I'm hearing a lot of "loud noises" with respect to Facebook both from friends and from the tech-news community. If you know me, you know I'm rather skeptical about this online community thing but the attention Facebook has been getting has me rather curious! One thing I especially like is that it's a Login only thing, unlike Hi5 or LIKE '*Vibes';, so people have to have an account there to juST see your page.  

So.. in the light of all of this "loud noise", I'd like to know how much of you out there, if any, use Facebook. It'd be great if you replied to this post or drop me an email.. because.. the number of my friends on it will have some weight in the decision of me joining or not.

Check this link for some screen shots on the site interface for members.

Monday Funny: The Perfect Husband*

Monday, June 04, 2007 3:45:38 AM (GMT Standard Time, UTC+00:00)

Several men are in the locker room of a golf club. A cell phone on a bench rings and a man engages the hands-free speaker- function and begins to talk. Everyone else in the room stops to listen.

MAN: "Hello"
WOMAN: "Honey, it's me. Are you at the club?"
MAN: "Yes."
WOMAN: "I'm at the mall now and found this beautiful leather coat. It's only $1,000. Is it OK if I buy it?"
MAN: "Sure, go ahead if you like it that much."
WOMAN: "I also stopped by the Mercedes dealership and saw the new 2007 models. I saw one I really liked."
MAN: "How much?"
WOMAN: "$65,000."
MAN: "OK, but for that price I want it with all the options."
WOMAN: "Great! Oh, and one more thing. The house we wanted last year is back on the market. They're asking $950,000."
MAN: "Well, then go ahead and give them an offer, but just offer $900,000."
WOMAN: "OK. I'll see you later! I love you!"
MAN: "Bye, I love you, too."

The man hangs up. The other men in the locker room are looking at him in astonishment.

Then he smiles and asks: "Anyone know whose phone this is?"

L O L!!! Thatttt was amusing!

Sunday, June 03, 2007

The Power of 'Possibility Praying'*

Sunday, June 03, 2007 4:03:51 AM (GMT Standard Time, UTC+00:00)

I just read a great article on Crosswalk called "The Power of 'Possibility Praying'" and I think it'll be worth the read! Here's a snippet:

"... Jesus responded by saying, “If you can believe, all things are possible to him who believes.” Jesus shifts the responsibility right back to the father, letting him know that he had a part to play in the healing of his son. His part was to believe. What most Christians fail to realize is that there are two sides to the coin of “all things are possible with God” (Matt. 19:26)."

Friday, June 01, 2007

Thought-provoking Biblical quote*

Friday, June 01, 2007 11:15:22 AM (GMT Standard Time, UTC+00:00)

"For what I will to do, that I do not practice; but what I hate, that I do." Romans 7:15 (NKJV)