I suspect every blogger aspires to publish original content. Unfortunately, in a world where original thoughts/ideas no longer exist, this is virtually impossible. Maybe I am making this up, but I think it is only a matter of time before thoughts are appropriately republished. It’s like fashion. This year’s hip style was trendy in one [...]
My customer recently asked me if my current coding assignment is difficult. I believe his exact question was, “On a scale of 1 to 10, how technically difficult is this project?” If you have been in the software development business for more than 2 hours, you know this is a loaded question. Quickly reply with [...]
We hosted an internal presentation of .NET MVC Framework last week. Since our conference room no longer fits the entire development team comfortably, we opted to share the presenter’s desktop with team members using Yugma. What’s Yugma? Yugma it is a free, multi-platform (Windows, Mac and Linux) web conferencing and collaboration service. Basic accounts are [...]
I’m not sure I can come up with a good argument to ever use Safe Casting. Per my earlier post, I’m not able to convert the result of the following Predicate, List<MachineProduct>, to a MachineProductCollection even though MachineProductCollection inherits from List<MachineProduct>. // Code complies and the invalid Cast results in // machineProducts being set to [...]
It is easy to see the subtle difference between the Product Tables below. The table to the left adds the table name as a prefix to nearly all of the column names. The table on the right represents very simple column names with no redundancy. Early in my career, I preferred the implementation to the [...]
I vividly recall creating my Windows Live account and wondering how many folks are able to guess the 8 character CAPTCHA on the first attempt. I swear the CAPTCHA presented to me looked like random scribbles in a box. I did take screen shots but they seemed to have disappeared just like my patience on [...]
The following code throws an InvalidCastException. public static MachineProductCollection MachineProductsForMachine( MachineProductCollection MachineProductList, int MachineID) { return (MachineProductCollection) MachineProductList.FindAll(c => c.MachineID == MachineID); } This surprises me since MachineProductCollection is merely a generic List of MachineProducts which is exactly FindAll() returns. Here’s the full MachineProductCollection source code: [Serializable] public partial classMachineProductCollection : List<MachineProduct> { public MachineProductCollection() [...]
Continue reading about InvalidCastException Though Same Base Class
With Apple’s 3G, “twice as fast, half the price” 2.0 iPhone Release announcement yesterday, I think we’re all ripe to read yet another iPhone review before the new devices go on sale in the US on July 11. Full-disclosed: I proudly sported a company Blackberry for three years prior to picking up an iPhone about [...]