measurement

GPS coordinates in degrees to calculate distances

On the iPhone, I get the user's location in decimal degrees, for example: latitude 39.470920 and longitude = -0.373192; That's point A. I need to create a line with another GPS coordinate, also in decimal degrees, point B. Then, calculate the distance (perpendicular) between the line from A to B and another point C. The problem is I ge...

How can I measure the speed of code written in php?

How can I say which class of many (which all do the same job) execute faster? is there a software to measure that? ...

Why is Graphics.MeasureString() returning a higher than expected number?

I'm generating a receipt and am using the Graphics object to call the DrawString method to print out the required text. graphics.DrawString(string, font, brush, widthOfPage / 2F, yPoint, stringformat); This works fine for what I needed it to do. I always knew what I was printing out, so I could manually trim any strings so it would fi...

Compute statistical significance with Excel

Hello, I have 2 columns and multiple rows of data in excel. Each column represents an algorithm and the values in rows are the results of these algorithms with different parameters. I want to make statistical significance test of these two algorithms with excel. Can anyone suggest a function? As a result, it will be nice to state somet...

How do you measure latency in low-latency environments?

Here's the setup... Your system is receiving a stream of data that contains discrete messages (usually between 32-128 bytes per message). As part of your processing pipeline, each message passes through two physically separate applications which exchange the data using a low-latency approach (such as messaging over UDP) or RDMA and fina...

Stopwatch class for Java

Which Java class should you use for time performance measurements? (One could use any date/time class, but the reason I'm asking is in .Net there's a designated Stopwatch class for this purpose) ...

Pixel to Centimeter ?

I just want to know if the pixel unit is something that doesn't change, and if we can convert from pixels to let's say centimeters ? ...

How do you measure site load time in IE6?

I'm looking for something similar to Hammerhead. Currently, I write javascript code to test, and I'd rather just use a tool that I can easily share and has a GUI. Edit: I'm hoping for something that tracks load events if possible and can easily do repeat tests. ...

How can I resize an NSTextField to fit the text that it holds?

I'm using an NSTextField to display lines of text that will be printed on a printer with a variable paper size (the printer prints to a spool, which is cut to the appropriate length when the job is done). I can generate the text no problem, but I need to know how big to make the NSTextField (vertically) so that it exactly contains all o...

Demonstrate QA Improvement

Upper management wants each group to show year over year improvement (i.e. demonstrate gains with data, not just state an opinion). How have you shown improvement in QA? What metrics have you used? This isn't about rating one tester over another. It is about showing a department's growth and to provide individual tester's the ability...

Measuring application startup performance

I'm using C++/CLI on Windows. It's an MFC app built with /clr. I want to test how long it takes my application to start up. The first time it took 10s, but subsequently it took 4s, 4s, 5s. I'm assuming this is due to Windows caching the DLLs. Is there some tool that will allow me to remove a directory from the cache, so that my test co...

Precise time measurement in Java

Java gives access to two method to get the current time: System.nanoTime() and System.currentTimeMillis(). The first one gives a result in nanoseconds, but the actual accuracy is much worse than that (many microseconds). Is the JVM already providing the best possible value for each particular machine? Otherwise, is there some Java libra...

Units of a Fourier Transform (FFT) when doing Spectral Analysis of a Signal

My question has to do with the physical meaning of the results of doing the spectral analysis of a signal, or, put another way, of interpreting what comes out of throwing a signal into an FFT of a math package. Specifically: (i) take a signal, a time-varying voltage v(t) (ii) throw it into an FFT -- you get back a sequence of re...

How to effectively measure developer's work hours?

I have a few software developers working for my projects and I would like to provide them a way to register time they spent on real development. There is good will to register development hours, no force, but we try to avoid techniques like excel sheets register because this is so uncomfortable. I can track svn commits, but this is unr...

What are the stages a Rubyist progresses through from absolute beginner to "employable"?

I am looking for a delineation of describable stages that an aspiring Ruby programmer will have to confront, explore, and master before being considered as a professional or employable. Basically, I've been fiddling with Ruby since late 2006 and still feel lost. It's completely hobby at this point so I haven't dedicated myself to it but...

Monitoring dashboard for IIS and SQL Server

We have developed a .NET web application that uses SQL Server as a backend. Now we would like to provide a monitoring dashboard app for the tech support team. The idea is that this monitoring app will show a global picture of the "health" of the web servers hosting the application and the database servers holding the data. This "health" ...

Perceptual quality measures for images

Hi, I'm currently working on algorithm for denoising images. I need to compare my algorithm with other, existing algorithms, but to do so I need a good quality measure. The main goal for such measure is to be close to human perception skills. I know, that it is almost impossible, but there are good perceptual measures for audio signals....

Measuring network performance tool in c#

Dear community. I am about to develop a Network measurement tool. The objective is to make a tool, which can measure the responsetime in between a client and a server machine (from the client side). It is s side-application to a main application - If the main applicaiton experiences that the responsetime from the server is above a certa...

Delphi low-level machine parameter access

There are many very low-level parameters measured by PCs and their processors (e.g. core temperatures, fan-speeds, voltage levels at various parts of the motherboard and processor internals) which are available and displayed by the BIOS, and by some aaplication programs. How does one access these low-level (real-time) data via Delphi? Is...

Is a destructor the right place to mark the end of a script's execution?

I'm doing some broad performance investigation in an application I maintain and I've set up a simple solution to track the execution time of requests, but I'm unable to find information to verify if this is going to be satisfyingly accurate. This appears to have netted some good information and I've already eliminated some performance i...