6,264 reputation
22245
bio website rationalgeek.com
location Connecticut
age
visits member for 4 years
seen Aug 25 at 19:43

Aug
20
comment More Powerful language for client-side web apps: JavaScript or C#?
Despite this being my answer, I agree with you foreyez. Unfortunately, because it was a great platform, Silverlight is not a good choice for new, long term engineering investment.
Jul
15
comment Is it sometimes reasonable to cut corners and expect to re-write software in a couple of years?
@jdv totally agreed. I view the role of the architect as the person that develops this long term understanding of the business direction and translates that into balancing different quality aspects in technical implementations.
Jun
12
comment Why would anyone invest time in Microsoft “Roslyn”?
@Penfold there's always room for new developer tools... :-)
May
16
comment Are Persistence-Ignorant objects able to implement lazy loading?
Persistence Ignorance
Mar
25
comment Why do relational databases only accept SQL queries?
If you take a look at LINQ to Entities for .NET, it has a syntax that is very similar to what you are proposing. It is a .NET-specific API for accessing databases, which is translated to standards-based SQL behind the scenes. So in a certain sense you get the best of both worlds. I imagine that similar technologies could exist (or already exist) for other languages. msdn.microsoft.com/en-us/library/bb386964.aspx
Feb
26
comment Best option for PDF viewer embedded in web app
Well, this was on a system I was working on over a year ago, but basically there were existing PDFs that we were pulling from a document repository. Converting all of them to web pages was not an option.
Oct
3
comment Algorithm to use for shop floor layout?
Perfect! That looks like a winner. Exactly what I was hoping to find.
Oct
3
comment Algorithm to use for shop floor layout?
@FrustratedWithFormsDesigner I was thinking the exact same thing. I'm curious if anyone comes up with anything else but if left to my own devices this would be my approach. Basically generate a bunch of different graphs based on the different potential layouts and then calculate which graph has the least total weights. Feel free to make that an answer instead of a comment. I think it is a legitimate one.
Sep
12
comment Entity Framework with large systems - how to divide models?
@Nik I'm not just concerned about runtime performance but also design- and build- time. I've read some horror stories of using EF models against DBs of this size and have Visual Studio choke on them.
Sep
11
comment Entity Framework with large systems - how to divide models?
This seems like a good strategy, but doesn't really address the question of how to divide entities across different EF models. Do you have all entities in one model or do you divide and conquer in some way?
Sep
10
comment Entity Framework with large systems - how to divide models?
@Tjaart thanks. I have used MS DTC before and while it is pretty simple, it does add complexity beyond a simple DB txn so I want to avoid it whenever possible.
Jul
19
comment How do you follow the single responsibility principle in classes responsible for behaviour?
It seems like you have your behavior organized in the wrong manner. Why would the controller depend on the state of the view? This is generally a code smell if you are trying to do MVC correctly. It sounds like you are not encapsulating behavior enough, and that every class needs to know "the business" of every other class.
Jul
16
comment What is a good toy example to teach version control?
+1. If you are teaching source control, don't confuse things by throwing a technology into the mix that some people in the audience won't be familiar with.
Jul
13
comment Are Persistence-Ignorant objects able to implement lazy loading?
@user1483278 I edited my answer to hopefully address those questions.
Jul
12
comment Are there tools that do automated validation of database standards?
@ElYusubov no I didn't look at that. If there are unit testing tools aimed at databases I suppose that might work, although it would probably be a bit more cumbersome than a tool that was specifically designed to be a validation rules engine.
Jul
12
comment Composition vs. Inheritance
This looks like a homework question to me...
Jul
6
comment Open .doc file from my website in browser
Oh. I see. Well then I guess I'm confused as why the requirement for *.doc. It seems like a lot of work to translate it back and forth.
Jul
5
comment Open .doc file from my website in browser
BTW, while all of my options do require installing / running something on the user machine, they could all be orchestrated via a web application. I don't think you'll be able to get away from some level of code running on user machine if you want to use Word specifically.
Jul
5
comment Open .doc file from my website in browser
If you are looking for something that can be used in every computer with access to a browser, then you should not be looking at Word at all. Just keep the document in Markdown or something which gives the user some limited formatting, such as what Stack Exchange does.
Jul
5
comment How do you get past the Analysis to Paralysis when working on a new project?
Ah. I do see it now in the top-voted answer, with no details around it. If you consider that adequate feel free to delete this.