|
When reviewing somebody else's code, what is it that you usually find most disturbing?
Started by LittleBoy on
, 37 posts
by 35 people.
Answer Snippets (Read the full thread at stackoverflow):
You can come up with detailed....
Working in a group environment I find it disturbing when different developers use different coding styles in the same document; sometimes even in the same function .
Usually that they can write better code than me.
|
|
Using Visual Studio 2008 with Resharper, is it usual for ASPX files to take a long time to save? I usually find that it takes up to about 10 seconds on an average PC (18 months old). What is it doing?
Started by cbp on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you don't use.
Resharper does slow things down considerably but it's not usual to take this long.
|
|
Why are JS scripts usually place in the header of a document? Is it required by standards, or is it just a convention with no particular reason?
Started by waiwai933 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Also, document.body can't be used until the document is loaded or if you put the script ... .
It's usually recommended to put scripts at the end of the body so the page can display before loading them, which is always a plus.
It's just a convention.
|
Ask your Facebook Friends
|
Is it okay to add an answer to an old question? Usually that's looked down upon, but StackOverflow isn't your typical forum. And does whether or not the question has been marked as answered factor in?
Started by Mike Pateras on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
;)
There's a badge specifically for doing that, at least for questions without an accepted... .
So yes, I believe it is in fact encouraged.
Actually there is a badge called 'Necromancer' which you get if your answer to a post more than 60 days old gets 5 votes .
|
|
When you have corrupted data: through packets, or hard drives, what kind of errors do you usually find?
Is it a bit tranposition (switched bits)?
Is it random noise? (flipped bits)?
And when you do get an error, how much corruption do you usually see?...
Started by Unknown on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
But I wouldn't use the term 'patterns',....
I've seen all your examples, sometimes several at once.
It could be anything.
I don't think this question has a real answer, unless someone's done statistical analysis on which type of error is likely to occur .
|
|
I just read how team BellKor’s Pragmatic Chaos is winning the Netflix Challenge on Wired, and I'm curious about how this kind of algorithms usually work. I know team Bellkor's solution must be an innovative one on the field.. but how does the field usually...
Answer Snippets (Read the full thread at stackoverflow):
The new O'Reilly book, Programming Collective Intelligence: Building....
The basic idea is that you use a distance metric (like the Euclidean one above) to compare people or things with each other .
Take a look at this Wikipedia articel: Euclidean Distance.
|
|
Does a caching-nameserver usually cache the negative DNS response SERVFAIL?
EDIT: To clarify the question, I can see the caching nameserver caching negative responses NXDOMAIN, NODATA. But it does not do this for SERVFAIL responses. Is this intentional...
Answer Snippets (Read the full thread at stackoverflow):
RFC 1034 describes how to cache negative responses but did not... .
So, yes, but for a shorter time than a "positive" response .
It is usually set to a short time, such as 30 or 60 seconds.
One of the timeout fields in the SOA is a "negative timeout" .
|
|
How are DAOs usually designed for the typical business application ? Does one class or pattern dialogue with the data source or do you simply have a separate DAO for each Entity ?
Started by James P. on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Most projects out there are using an ORM like Hibernate or IBatis, which adapt... .
For example, you can use a Table Data Gateway, Row Data Gateway, Active Record, or Data Mapper .
I recommend reading Fowler's Patterns of Enterprise Application Architecture.
|
|
How should I install (or where should I put and organize) usual python libraries in Google App Engine.
Some libraries require to be installed using setuptools. How can I install that libraries.
Started by Oleksandr Bolotov on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Any steps required....
You need to unpack the libraries into a subdirectory of your app, and add the library directory to the Python path in your request handler module .
Follow 3 first points from the Google wiki.
Most of them can be installed using the pip.
|
|
I'd prefer using Table and td instead of JqGrid but i like JqGrid styles.
has anyone used jqgrid style for usual Grid of asp.net MVC(i mean Table and td) before?
Answer Snippets (Read the full thread at stackoverflow):
Yes, we use it for the paging and sorting.
You can use the tableToGrid plugin to apply jqGrid styling and features to a regular table .
|