Reputation
934
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 9
Newest
 Scholar
Impact
~17k people reached

  • 0 posts edited
  • 3 helpful flags
  • 44 votes cast
Nov
19
comment Is client-side validation really all that important, always?
"The simple task of submitting forms takes a lot less time now than it did before and validating on the server and returning errors barely impacts the user experience." You're assuming everyone has broadband/fibre. Try it on a mobile device with GPRS, and see how much it impacts the user experience.
Nov
12
comment Maintain hundreds of customized branches over master branch
@LightnessRacesinOrbit you're right, it is obvious you are doing it wrong when you hit 4 branches. But a book to explain how you should be doing it would be handy :)
Nov
11
comment Maintain hundreds of customized branches over master branch
Are there any good resources for learning about technical design issues such as this? There seem to be lots of resources for learning a language, but very few on how to learn it well, and on how to design a large scale application.
Oct
22
comment Handling Upload Of Unknown File types
@amon - yes, bad wording on my part in the question. We don't assume it's 3 characters. I'm aware of MIME, and also from initial research it seems it is not always correct (particularly with DOCX files, which would be the vast majority of files)
Oct
22
comment Does a method to check the file type being uploaded belong in the controller?
This method works for me and keeps my controllers skinny like an anorexic Victoria's Secret model :) This answer would benefit greatly from some pictures. But not of your code... :)
Jun
3
comment How to be a good citizen when crawling web sites?
While the responses below provide a great answer on how to respectfully crawl content, please bear in mind acceptable use of said content once you have crawled it. Republishing it, either in full or in part, may be a violation of the owners copyright.
Jun
3
comment How to be a good citizen when crawling web sites?
"I know you write they are public websites, so there might not be any copyright". Every website on the internet is public, and every website is copyright, unless it explicitly states otherwise.
Nov
5
comment Having many versions of an application
do you know of any good resources for creating a modular based system such as this with C# MVC? I'm facing a similar dilemma with a product I am currently developing.
May
23
comment Large MySQL Batch Inserts From PHP: Run insert from script, or save as SQL file?
Bear in mind that a PHP script running via a webserver usually has an execution time limit. If you are importing a large amount of data, you may encounter timeout issues. There is no time limit when running the script via the command line directly through php though.
May
17
comment What constitutes a programming language and how does one copyright a programming language?
Writing a grammar for the language would still not protect it. The only thing it would do, is stop someone else re-writing the grammar in a similar way to you. I could write a grammar for the English language, that wouldn't then stop you from being able to post on SE though.
May
28
comment Architecture For Mockable DAL On Large Projects
@Euphoric / Robert Harvey - I am using Entity Framework as part of my DAL, perhaps BLL would be a more appropriate term? In my current project all the code sits in the Controllers, and there is a lot of duplication as a result. I'm hoping moving to a separate DAL/BLL structure may help to avoid some of this duplication.
Nov
29
comment How do developers find the time to stay on top of latest technologies?
@OliverWeiler The irony of reading your advice on not reading comments... in your comment.
Nov
20
comment Why does Facebook convert PHP code to C++?
also bear in mind the Facebook programmers are PHP programmers. Sure you could convert it all over to C++ and start programming in C++, but your existing programmers have no experience in this language. You would need to retrain them, or hire new programmers in order to continue development.
Nov
20
comment Freelancing - Getting paid for the quote or estimate
Thanks @K.Steff , that's the one! I'll bookmark it so I can find it next time.
Nov
19
comment Freelancing - Getting paid for the quote or estimate
Unfortunately most clients will expect you to do the quote free of charge, it is just a cost of doing business, and a risk you take to try and win some work. I did however read a good article recently suggesting that instead of doing quotes, you should instead offer to do a Feed study, which includes a more complete analysis of the requirements than what is traditionally found in a quote. This would instead be chargeable. Perhaps someone else knows the article I am talking about, i think it was linked to on here.
Nov
7
comment Should we ever delete data in a database?
In certain circumstances you MUST delete data, an example being anything relating to a users personal information. EU Law (and possibly others) state that a user should have the right to request that their data be removed. In such a case this data must be deleted, and not simply flagged as no longer active. The latter would be a violation of privacy laws.
Nov
7
comment Do database tables need to have IDs?
Natural PK's should always be used over Synthetic where available, they make the data far more readable, and reduce storage space and associated resources when processing. Email address as a Natural key however is a bad example, as Email addresses can change. A field should only be considered a suitable natural key if it will never change.
Oct
24
comment Is executing SQL through a WebService a really bad idea?
not only that, but it leads to a lot of duplicate code. Every time you need to get a User, you will need to write SQL code to get that users data. If you ever change the database design to add an extra column, you will need to update EVERY call to get a User. If you just had a GetUser function, you only ever need to update a single function if your database changes.
Oct
22
comment Library Organization in .NET
Good answer - passing the Endianness as an enum in the constructor would be my preferred design, but it really depends on the intended usage. The ability to then override it in each method call is a good idea.
Oct
3
comment Examples of non open source projects on Bitbucket or Github
any non-open source code on Bitbucket or Github is going to be set to private, so you wont be able to link to it or show it to management. I have a few on there myself, but cannot show you them :p