tag:blogger.com,1999:blog-25340877.comments2018-06-27T15:48:03.132-07:00the ramblings of a .net dudeAnonymoushttp://www.blogger.com/profile/07645289431023957896noreply@blogger.comBlogger50125tag:blogger.com,1999:blog-25340877.post-82987077392497781432018-06-27T15:48:03.132-07:002018-06-27T15:48:03.132-07:00Suck cuck bitch suck cuckSuck cuck bitch suck cuckAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-41605762040545907962018-06-27T15:46:52.159-07:002018-06-27T15:46:52.159-07:00Ah la vulve de ton mereAh la vulve de ton mereAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-70995292123309606172015-01-15T23:38:25.393-07:002015-01-15T23:38:25.393-07:00The link is dead , would you please re upload it?The link is dead , would you please re upload it?Anonymoushttps://www.blogger.com/profile/14551577476933014496noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-41561580376199684802013-08-03T00:06:42.007-07:002013-08-03T00:06:42.007-07:00Greetings! This is my first visit to your blog! We...Greetings! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a wonderful job! Nehru wedding suitshttp://www.inmonarch.com/collections/product/3/5/0/nehru-collar-outfits/nehru-suitnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-66977373014559288622013-06-07T00:30:45.834-07:002013-06-07T00:30:45.834-07:00Thanks, Saved me hours of hunting.Thanks, Saved me hours of hunting.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-87621152754184630842013-05-02T00:00:20.322-07:002013-05-02T00:00:20.322-07:00Thanks a lot... Its working..Thanks a lot... Its working..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-78954120645917256342012-12-05T08:45:57.184-07:002012-12-05T08:45:57.184-07:00Thanks a lot! Lost a few hours figuring out why vi...Thanks a lot! Lost a few hours figuring out why visual studio debugger suddenly stopped working before I found this post.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-22265152011780147202012-03-12T22:47:20.376-07:002012-03-12T22:47:20.376-07:00Why would you want to litter your JavaScript with ...Why would you want to litter your JavaScript with DOM? ;)<br /><br />P.S. Your comment submission is completely unusable. I had to find the 'comment-editor' iframe in browser dev tools and manually give it a larger height in order to finish the captcha and see the submit button.Anonymoushttps://www.blogger.com/profile/01990150469958605173noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-6560866878533944482011-09-15T09:38:50.390-07:002011-09-15T09:38:50.390-07:00Just found your site and like it. I don't kno...Just found your site and like it. I don't know if I necessarily agree with you here though.<br /><br />You need to gauge how often you expect the error to occur. If there is something really nasty happening, then yes, throw an exception. Since exceptions are more expensive than if/else handling for routine code.<br /><br />"The method you choose depends on how often you expect the event to occur. If the event is truly exceptional and is an error (such as an unexpected end-of-file), using exception handling is better because less code is executed in the normal case. If the event happens routinely, using the programmatic method to check for errors is better. In this case, if an exception occurs, the exception will take longer to handle."<br />From : http://msdn.microsoft.com/en-us/library/seyhszts.aspx<br /><br />So, a blanket statement of, "So there you have it: always use exceptions" can be a dangerous practice IMO.Brant.Frankhttps://www.blogger.com/profile/02512182816061346457noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-26929411684237356402011-02-20T05:20:16.021-07:002011-02-20T05:20:16.021-07:00Thanks - I've been trying to fix this problem ...Thanks - I've been trying to fix this problem on and off for a week. It was all working fine until I added the the service pack and all the silverlight SDK addins.Deanhttp://www.hitched.co.uknoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-33018384273536302162010-09-30T07:26:42.074-07:002010-09-30T07:26:42.074-07:00this code would like to have bit more comments...
...this code would like to have bit more comments...<br />Do you think this would work fast enough for files on filesystem?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-24287402271755946722010-01-08T02:54:18.874-07:002010-01-08T02:54:18.874-07:00I must say I often use the pattern you describe wi...I must say I often use the pattern you describe with protected virtual methods (template method pattern), where a public non-virtual method contains all validation (barricades, pre conditions) and forwards the work to a protected virtual method.<br /><br />btw. I use <a href="http://conditions.codeplex.com" rel="nofollow">CuttingEdge.Conditions</a> for barricading my code :-)Stevenhttp://www.cuttingedge.it/blogs/stevennoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-17096411115594883532010-01-08T02:43:13.029-07:002010-01-08T02:43:13.029-07:00Michael Feathers writes about this sort of 'ha...Michael Feathers writes about this sort of 'hacks' in 'Working Effectively with Legacy Code'. Feathers says that getting an existing code base in a test harness is hard enough by itself. I agree with him. Poor man's dependency injection is great, because you can make a class testable, without making changes to the rest of the application. Of course, at some point we hopefully have enough tests to make bigger changes to an application. At that point it can be time to remove the poor man DI and use a real dependency injection library.Stevenhttp://www.cuttingedge.it/blogs/stevennoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-22686087799549056912009-12-02T10:36:46.014-07:002009-12-02T10:36:46.014-07:00Mike,
I use SyntaxHighlighter; you can find it at...Mike,<br /><br />I use SyntaxHighlighter; you can find it at http://code.google.com/p/syntaxhighlighter/<br /><br />There's also plenty of other good "code prettyfiers" available.Anonymoushttps://www.blogger.com/profile/07645289431023957896noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-54428459171865990842009-12-02T08:24:59.323-07:002009-12-02T08:24:59.323-07:00How do you input code into the blog with the line ...How do you input code into the blog with the line numbers?<br /><br />Thanks.Mike Munoz - CCIE 9751https://www.blogger.com/profile/00561061250567548678noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-33664632275265603772009-10-07T11:56:35.765-07:002009-10-07T11:56:35.765-07:00This is pretty slick. For large enterprise eventi...This is pretty slick. For large enterprise eventing, I still think BizTalk handles it the best (message-driven eventing). For medium-size stuff, I would say WF (state-driven). But for most applications (90% of the stuff out there), this kind of simple event code is ideal. I also really like the idea of dynamically loading drop-in assemblies. I've played with that sort of code myself (Assembly.LoadFromFile...) so I know that it is possible (my code used to be part of the Pegasus Library but it somehow got removed (http://pegasus.codeplex.com/)). In any case, I wanted to suggest one thing: you said that in order for the eventing to work the IoC container must already be initialized. That's great, but how do you handle drop-in assemblies? Simple: extend your model -- use a dedicated IoC container that keeps track of all the eventing IoC containers and the assemblies that are loaded/subscribed to them and have this dedicated IoC container have a single event that listens for when assemblies are registered or de-registered with it. Then, when that event is raised (i.e. an assembly has changed or new one has been added), this dedicated IoC container/event can restart/re-initialize all the other IoC containers that handle your app events. Just an idea. Keep writing, really good stuff.PapaBearhttps://www.blogger.com/profile/09362780805200959750noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-31013438295676963342009-08-27T17:32:20.515-07:002009-08-27T17:32:20.515-07:00Very nice article.
Now if I could just find some ...Very nice article.<br /><br />Now if I could just find some way of barricading my desk so Udine can't get to it, I'll be in business.El-Heatohttps://www.blogger.com/profile/03443430911384768139noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-6707790533410890932009-07-08T12:10:53.769-07:002009-07-08T12:10:53.769-07:00@Mike Murray,
That's awesome you found the cr...@Mike Murray,<br /><br />That's awesome you found the crack on the LEGO blocks. To be honest, I didn't see it until you pointed it out. The crack makes the analogy much better, however... at least in relation to my code: it has tons of cracks on it. :)Anonymoushttps://www.blogger.com/profile/07645289431023957896noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-4222616665982175072009-07-08T11:53:08.474-07:002009-07-08T11:53:08.474-07:00Great points. This sounds really similar to what ...Great points. This sounds really similar to what I was reading about at the end of last week. I ran into some Australian guy's blog that I really like following now.<br /><br />He had a terrific post introducing the individual concepts that make up the SOLID acronym. The part that is most applicable to your discussion here is the Liskov Substitution Principle. It took me a little bit to get a decent understanding (and I had to read some about the preferred practice of composition), but I think it boils down to the same point you are making here.<br /><br />Here is a link to the blog post I have been referring to: <a href="http://www.davesquared.net/2009/01/introduction-to-solid-principles-of-oo.html" rel="nofollow">An introduction to the SOLID principles of OO design</a>Anonymoushttps://www.blogger.com/profile/01990150469958605173noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-58128016620413525082009-06-21T20:05:53.022-07:002009-06-21T20:05:53.022-07:00Hi
Could you please share some working which I can...Hi<br />Could you please share some working which I can use to test.<br /><br />Thanks,Unknownhttps://www.blogger.com/profile/05579987937890810849noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-41582397027401364992009-06-16T08:30:33.555-07:002009-06-16T08:30:33.555-07:00Actually, I have thought often about how they are ...Actually, I have thought often about how they are manufactured. But that's beside the point, I love the premise of this post. It really gets to the essence of good, reusable code.<br /><br />Oh, and it looks like one of your LEGO blocks might have a crack in it. ;)Anonymoushttps://www.blogger.com/profile/01990150469958605173noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-8304500659923149632009-02-23T14:23:00.000-07:002009-02-23T14:23:00.000-07:00@Marius,I totally agree. In fact, I wish C.S. prog...@Marius,<BR/><BR/>I totally agree. In fact, I wish C.S. programs in U.S. universities would focus more on concrete math, statistics, etc.<BR/><BR/>Although I haven't formally pursued more education in math, I normally browse the wikipedia entries for topics such as probability theory, etc.<BR/><BR/>Thanks for commenting!Anonymoushttps://www.blogger.com/profile/07645289431023957896noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-63175417721381674032009-02-23T12:59:00.000-07:002009-02-23T12:59:00.000-07:00If you really want to be a better programmer, take...If you really want to be a better programmer, take a year or two off to learn <A HREF="http://www.amazon.com/dp/0201558025/" REL="nofollow">concrete mathematics</A>. It'll hurt like hell, but you'll be better off with it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25340877.post-30418810964088920582009-02-22T20:27:00.000-07:002009-02-22T20:27:00.000-07:00@Anonymous,I just posted a new article on "factori...@Anonymous,<BR/><BR/>I just posted a new article on "factories". Sorry it took me longer than expected to write it. Let me know if you still have any questions.<BR/><BR/>Thanks again for reading my blog!Anonymoushttps://www.blogger.com/profile/07645289431023957896noreply@blogger.comtag:blogger.com,1999:blog-25340877.post-59630739820498379512009-02-17T17:54:00.000-07:002009-02-17T17:54:00.000-07:00@Anonymous,Sure. I'll have some sample "factory" c...@Anonymous,<BR/><BR/>Sure. I'll have some sample "factory" code before the weekend.<BR/><BR/>Thanks for writing!Anonymoushttps://www.blogger.com/profile/07645289431023957896noreply@blogger.com