Geeks With Blogs
Jonathan Starr's Blog Thoughts on C#, Ajax, WCF, LINQ, Agile et al. October 2007 Entries
HAI WORLD (LOLCODE)
Apparently people will write compilers for anything... Kudos to the author for exending the CLR for .NET... LOLCODE Compiler Yeah, it's hilarious and hip according to the author... I also say he would be better off without the ALL CAPS coding style ......

Posted On Monday, October 29, 2007 11:05 PM

danyet
Some of you reading this blog probably realize that I have been trying to learn Russian for some time now. One of my favorite words that I want to share with you is "danyet" which would literally translate to "yesno" in English. Russians use this word to contradict the last thing said. Perhaps the best translations in English are "Not!" or "Yeah, right" (actually it's not a colloquial term in Russian as the English translations provided are). Having recently re-read 1984, danyet seemed like a wonderful ......

Posted On Monday, October 29, 2007 10:06 PM

Sex and Religion and Other Thoughts in 1984
I just finished listening to the audio version of George Orwell's dystopian book, 1984... While I first read this in seventh grade (MANY years ago), I was fascinated by how many more things I caught this time. 1. It looks to me that Winston was safe until he was corrupted by Julia - which harkens back memories of the Garden of Eden story where Eve convinces Adam to eat an apple from the Tree of Knowledge. (Remember that Winston's first secual episode with Julia is in the fields where Winston is reminded ......

Posted On Saturday, October 27, 2007 3:34 PM

New Links
Comic for the day There's no escape from this room... Music What's the matter with parents today Did you get my memo re: Your Brains More Music I Feel Fantastic! - Don't forget to take your steak-tastes-better-pill! Still More Music! The Future Soon Larry Craig has broken new ground Mark Fiore's Weekly Political Cartoon Enjoy ......

Posted On Friday, October 26, 2007 6:17 PM

Reaction to "Why Atheists Are Not Very Bright"
I just finished reading Dinesh D'Souza's essay Why Atheists are Not Very Bright which is also an excerpt from his book, What's So Great About Christianity. I am not an atheist, but I can certainly see atheism as a reasonable point of view. Consequently I am responding to his piece. Dinesh starts out parroting an argument from Kant that we cannot know everything about the world because we only come to know the world throught the filter of our senses. According to D'Souza, this implies that (1) we ......

Posted On Thursday, October 25, 2007 7:32 PM

Another Enumeration Helper Function
improve my => 'code' Before I posted a method that converts from one enumeration to another by value... Here's one that does the conversion by string (by the enumeration name)... public static class EnumHelper { public static int ConvertEnumToEnumIntByStrin... U>(U enumArg) { string [] arrNames = Enum.GetNames(typeof(T)); int[] arrValues = (int[] ) Enum.GetValues(typeof(T)); for (int counter = 0; counter < arrNames.Length; counter++) { if (arrNames[counter] == enumArg.ToString()) { return ......

Posted On Tuesday, October 23, 2007 4:22 PM

Enumerating all of the namespaces and their respective classes in an assembly (dll).
improve my => 'code' I wrote some code in a test project, and then had to list all of the namespaces I used in my project for a manager so they could conform to a standard for production... As I used more than 50 namespaces for my test project, I wanted to do this automatically... Also I wanted to show all of the classes contained in each namespace... Anyway, I used the following code... Thought this might be useful to others... (If someone reading this sees a good way to refactor this, it would ......

Posted On Monday, October 22, 2007 1:27 PM

Reaction to Jeff Atwood's "Why Does Software Spoil?"
Jeff Atwood wrote an interesting article recently Why Does Software Spoil? In the article, he notes that most software becomes bloated with extra features over time to the point of absurdity. I think that one of the most interesting things about software (and computer hardware) sales is the way it differs from other products. The word "New" has always been one of the most powerful words in advertising, but it much more powerful in the software industry. A company that is using MS Access 95 is considered ......

Posted On Saturday, October 20, 2007 10:51 AM

Critique of Paul Graham's Essay "How to Do Philosophy"
I was just reading through Paul Graham's article on "How to Do Philosophy" (http://www.paulgraham.com/... He mentions that philosophy has twisted in the wind for a while because so many smart people who realized that most articles lacked substance did not raise the alarm to others - mostly because it is very difficult to criticize works that are so hard to read. Agreed... But the greater reason is that there is no use in criticizing an essentially useless activity... I studied math as ......

Posted On Thursday, October 18, 2007 6:51 PM

Converting One Enumeration to Another Enumeration
improve :my => 'code' This came in handy for me, and I thought others might feel the same way... Say you have one enumeration used as arguments for a method, and you created a simplified enumeration to override the original method to create a method that is easier to consume... Example: public enum XTypes{ PFM = 0, STAT = 1, YIELD = 2, RANK = 3 } and public enum XTypesSimplified{ PFM = 0, STAT = 1 } You can use the following to convert one into another. public class EnumHelper { public static ......

Posted On Wednesday, October 17, 2007 6:54 PM

Copyright © Jonathan Starr | Powered by: GeeksWithBlogs.net