|
What can be done if a member is not performing well in your team and because of him the whole team is suffering. Who is to be blamed, the team? Should the team cover his work or should the team manager be blamed?
Started by jazzrai on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
If people is that an under-performing....
I see one instant problem - you've used the word "blame" twice in your question .
If (s)he is unwilling or unable-performing.
To the poorly-performing team member -- perhaps with one or two others.
|
|
What GNU/Linux command-line tool would I use for performing a search and replace on a file?
Can the search text, and replacement, be specified in a regex format?
Started by Ben Lever on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can keep a backup with something like this:
perl -pi.bak -e 's/foo/bar/g;' *.txt
Or pipeline:
cat file.txt | perl -ne 's/foo/bar/g;' | less... .
Perl was invented for this:
perl -pi -e 's/foo/bar/g;' *.txt
Any normal s/// pattern in those single quotes .
|
|
Using visual studio 2008 SP1,
This line:
LINK : debug\ .exe not found or not built by the last incremental link; performing full link
appears every single time I compile the project, no matter how small a change I make.
What could be the reasons for that...
Started by shoosh on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Another possible reason is that the file ....
If there is none, it will be difficult...
Do you move the .exe from where it is built to somewhere else? The whole point of an incremental link is to change an existing exe .
Really shooting in the dark but,...
|
Ask your Facebook Friends
|
Are there functions for performing atomic operations (like increment / decrement of an integer) etc supported by C Run time library or any other utility libraries?
If yes, what all operations can be made atomic using such functions?
Will it be more beneficial...
Started by Jay on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You may expect something wonderful to happen when you switch out a mutex for something like this, but you may get no benefit (if it's not that popular of a case) or make... .
Always, performance depends on circumstances.
Beneficial' is situational.
|
|
Are there any tools for performing static analysis of Scala code, similar to FindBugs and PMD for Java or Splint for C/C++? I know that FindBugs works on the bytecode produced by compiling Java, so I'm curious as to how it would work on Scala.
Google ...
Started by Roman Kagan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I've tried using FindBugs to check .class files....
You can find it here Klocwork Solo
FindBugs analyzes JVM byte codes, regardless of the tool that generated them .
I don't know much about Scala but if is Java compatible Klocwork's Solo product might work .
|
|
I'm using one SP performing all CRUD operations
So, basically I'm executing same SP depending what action necesary:
eg
-- for select exec USP_ORDER @MODE='S', @ORDER_DATE='2009/01/01' -- for update exec USP_ORDER @MODE='U', @other_params -- for insert...
Started by Maciej on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If your update procedure/logic is performing slowly, you can immediately isolate.
In future, i.e.
|
|
Just speaking to a colleague of mine. He was walking with a hop in his step, on the way to the coffee machine.
I asked him "what's with the 'swarmy' walk?", he said, "I just reduced a two hour long query down to 40 seconds! It feels so good".
He altered...
Started by Ferds on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
Now increasing the speed of "real" code that I've written by changing data... .
Sorry, I don't tend to get a buzz from that sort of thing but most situations have been pretty basic, monitoring performance of queries and adding indexes to speed them up.
|
|
To simplify, if I had a table called 'employee':
id INT NOT NULL PRIMARY KEY, salary FLOAT, department VARCHAR(255)
I want to perform and query where I retrieve the minimum salary in each department. So my query is something like this:
SELECT employee...
Started by Fred on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
This will do the trick:
SELECT employee.department, MIN(employee.salary), employee.ID FROM employee GROUP BY 1
Your script is invalid:
SELECT employee.ID, MIN(employee.salary), employee.department FROM employee GROUP BY employee.department
Instead, look... .
|
|
Here is my issue. I have an array containing the name of cities that I need to lookup the weather for. So I'm looping through each city and performing an AJAX request to retrieve the weather.
var LOCATION = 'http://www.google.com/ig/api?weather='; $( ...
Started by wb on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
For a variety of reasons I would try pulling out the success function into a separately defined function, and then create a closure to it within the ajax call that includes... .
The simplest thing to do would have your AJAX request return the name of the city .
|
|
In other words, is there a faster, more concise way of writing the following code:
//Create an object for performing XSTL transformations XslCompiledTransform xslt = new XslCompiledTransform(); xslt.Load(HttpContext.Current.Server.MapPath("/xslt/" + xsltfile...
Started by attack on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If you have a large XSLT you can save the overhead of compiling... .
Since you mention ASP.NET, the question is whether you can use the response stream directly for your transform output and whether you can use the input stream directly if it is a POST.. .
|