10,413 reputation
42056
bio website
location
age
visits member for 3 years, 2 months
seen 13 hours ago

Mar
30
comment How does one become a big contributor to an opensource project?
Step 1 - Become huge contributor. Step 2 - cut back a little.
Mar
29
answered When should JavaScript generate HTML?
Mar
28
comment When should JavaScript generate HTML?
@VirtuosiMedia - But don't the pre-rendered HTML snippets have the same issues when rendered server-side as they do when rendered via javascript? I'm not trying to be contentious, I genuinely don't understand what your issue is.
Mar
28
comment When should JavaScript generate HTML?
Why do you think the markup is easier to read and trace via Ajax?
Mar
26
answered Is Ruby on Rails' Active Record an example of Aspect-Oriented Programming?
Mar
23
comment Best approach for a database of long strings
why don't you like "raw" strings? Is the data in fact strings, or is it structured data? Do you plan to do something with it that wouldn't work for strings? There isn't any clear reason in your question why a database wouldn't be appropriate. The same with strings (or perhaps CLOBS if they are too big and depending on what database you use).
Mar
22
comment Do you sign contracts digitally or still on paper? And what do clients think?
If you aren't interested in legal aspects you probably also want to remove the "any drawbacks doing this" part of your question.
Mar
22
answered Do you sign contracts digitally or still on paper? And what do clients think?
Mar
22
comment What are the benefits of closing every if-statement with an else in Python?
The benefit is that by doing completely pointless things you are learning Python the hard way, as promised.
Mar
20
answered Any language where every class instance is a class too?
Mar
20
answered Programming Challenges for a beginner
Mar
19
comment Why use string.Empty over “” when assigning to a string object
see stackoverflow.com/questions/263191/…. John Skeet's answer currently has 154 up votes.
Mar
16
comment Is it a good idea to do UI 100% in Javascript and provide data through an API?
@Vilx- Regarding not everyone being comfortable with Javascript - you are writing a web app with features that require Javascript. If you stick to ASP.NET controls and let Microsoft handle the big scary web stuff you will be stuck with what Microsoft gives you. I'm probably preaching to the choir in your individual case, but your coworkers need to move out of their comfort zone if you want to do a better job.
Mar
16
comment Is it a good idea to do UI 100% in Javascript and provide data through an API?
My answer was turning out too similar to this, so I'll comment. You can also look at some some similar libraries, like backbone.js and underscore.js. For large grids SlickGrid really is slick, it dynamically creates/destroys the visible HTML in an intelligent way. Also, I've given up on server side controls and just provide a JSON API. It's so much more straightforward than ASP.NET., easier to test, harder to write injection attacks into JSON.
Mar
16
comment How is software installed from an image?
why is that better than just putting the virus code in the vbs script directly?
Mar
16
comment Is it possible (or desirable, if not) to make an database engine organize the order of sql statements to maintain the referential integrity?
SQL Server lets you do a delete with a where clause, if your BLL knows about them in a way that facilitates that, or you could add the logic to do a topological sort of the dependencies. This could go in the BLL, a data layer of your application, or a SPROC
Mar
16
comment Is it possible (or desirable, if not) to make an database engine organize the order of sql statements to maintain the referential integrity?
"Some lines in A", "Some lines in "B"? How about a schema explanation so we have some idea what you are talking about?
Mar
12
comment Please explain the benefit(s) of using an XML-based syntax (e.g. XAML) instead of normal source code (e.g. WinForms)?
@romkyns - I wasn't arguing for XAML, the question asked whether there were any benefits (my interpretation). As for why I think UI is different - probably UI layout is simpler to represent than arbitrary code so the XML is less atrocious than it would be for, say, XC#(the XML syntax for C# that we must pray never exists). In fact I'm rather dubious about real world benefits of XAML over either .NET code with reasonable API for meta coding or a custom language with published syntax. (Neither of which lets MS put an "XML-driven" sticker on the box.)
Mar
12
comment Please explain the benefit(s) of using an XML-based syntax (e.g. XAML) instead of normal source code (e.g. WinForms)?
A lot of these fall under "XAML is XML". I would answer @SnOrfus "yes, in a salesman's power-point presentation sort of way".
Mar
12
answered Please explain the benefit(s) of using an XML-based syntax (e.g. XAML) instead of normal source code (e.g. WinForms)?