Category: Programming

  • SharpShop in Progress…

    Like PythonShop (which could still use some touching up) the current task is to build the same functionality in .net. As I’m the .Net person (and *I’m* not at PyCon this weekend) I started up the project groundwork. I’m trying to do it with NHibernate, log4net, mysql (yeah, thought it might be interesting to hit…

  • An Exception Handling system

    I was having a problem where thrown .Net errors were showing up on a web site, but didn’t always want the entirely hide the errors, since sometimes the system purposely threw errors with messages that were intended for the user. (“You selected an invalid object for this operation”-type messages) However, unexpected errors, such as SQL…

  • Provider Model and design patterns-I need to learn!

    Colleague was telling me about it, says it’s good for mocking, etc.  Putting it here so I don’t forget! We also talked about a problem I was having where I’m the only one who understands the domain of my project, and if I’m not sure how to architect something, I have nobody to discuss approaches. …

  • Log4Net Success! And nHibernate upgrade goodness..

    So in a fit of insanity, I spent all of yesterday evening, on my own personal time: trying to get log4net set up, trying an upgrade to the latest version to see if that would get it working realizing that nHibernate was hooked to log4net and so I had to use nHibernate’s chosen version if…

  • Log4Net

    I am determined to get Log4Net working on my project.  I made a mild effort recently, but wasn’t successful- and the whole failing silently thing is not so great when you’re trying to figure out WHY it’s not logging!  Anyway, a goal for tomorrow is to get that working. If that happens, I think it’ll…

  • Rhino Mocks

    It sounds like Rhino mocks is the way to do mocking… I just watched Ayende’s intro to Rhino Mocks (Episode 1) and mocking seems like the way to go… and I have some hope that I can use it on my current project! At a very high level, I get that mocking is the way…

  • ReSharper = manna from heaven

    This week, after having heard/read many, many times from a variety of developers that ReSharper from JetBrains was essential for any C# developer, I (finally)gave it a go. And after having only worked with it for about three days, I have to say that Resharper just might be the best thing I’ve ever downloaded. Sure,…

  • The PythonShop saga continues

    We made a lot of progress working on our python shop this weekend. Our working patern ended up being a pair programming scenario, with him at the keyboard (as he was the python person, this was the most efficient) and me finding logic problems, and working on the overall program design. Based on some of…

  • Python, the other white meat

    So, a colleague and I started on a little project. We’ve decided on our own time to take a toy project and jointly try it out in as many languages as are interesting to us. It’ll be a great learning experience, and it’ll also be some nice code that can be shown off without nondisclosure-type…

  • Demeter’s Law

    So, I’m still working my way through The Pragmatic Programmer (yeah, I’ve been busy) and just went through the chapter on Demeter’s Law. I have to say, I’m a little skeptical. The general idea is that you only use objects and methods of objects that your current method(or class) “owns” directly, not things that other…