Questions tagged [statistics]

61 questions
29
votes
5 answers

Benchmarking, why discard lowest time?

I've quite frequently seen benchmarks where the tester discarded the highest and the lowest time out of N runs. Discarding the highest time I understand; it's probably high because of some other processes running suddenly demanding more CPU. But…
pepoluan
  • 499
  • 4
  • 10
19
votes
3 answers

Where can I find statistics on worldwide developers and software companies?

I try to find an answer of a very difficult question. The question is: How many developers and how many software companies are there in the world? For example if I check the Statistic Austria page I can see that in Austria there are 8383 companies…
user7876
  • 539
  • 1
  • 3
  • 7
16
votes
2 answers

Design: Object method vs separate class's method which takes Object as parameter?

For example, is it better to do: Pdf pdf = new Pdf(); pdf.Print(); or: Pdf pdf = new Pdf(); PdfPrinter printer = new PdfPrinter(); printer.Print(pdf); Another example: Country m = new Country("Mexico"); double ratio =…
User
  • 1,541
  • 2
  • 16
  • 30
16
votes
1 answer

What proportion of programming is done for embedded systems?

What proportion of programming is done for embedded systems? More generally, please share any interesting statistics on programmers by domain, e.g. real-time/business/UI/gaming/… How you define the domain boundaries (e.g. what is an embedded system)…
13
votes
4 answers

Google Analytics with multiple environments

We are planning to use Google Analytics in our organization and I am in charge for setting it up. I was wondering how to deal with multiple environments. We sure do not want to collect data during development and QA (or maybe collect data to a…
marco-fiset
  • 8,721
  • 9
  • 35
  • 46
13
votes
4 answers

Where can I get a diverse set of sample text?

I am trying to gather statistics on character or word sequences used in the English language for use in a software project. Where can I can get a large amount (several GB would be nice) of English plain-text covering a diverse set of topics?
JSideris
  • 591
  • 1
  • 5
  • 15
11
votes
9 answers

Learning the rules of chess

A similar question asks whether a computer can learn to play optimally in chess by analyzing thousands of games. If a machine can look at the state of the board for a few games of chess (or a few games of checkers) in the beginning and after each…
Yktula
  • 213
  • 1
  • 5
11
votes
1 answer

Programming language trends

Are there some statistics out there that show the approx. number of users that popular programming languages have and the rate this number increases over time?
katie
  • 255
  • 1
  • 2
  • 5
9
votes
4 answers

Where is this from (originally)?: "80% of the lifetime cost of a piece of software goes to maintenance"

In the Sun Java coding conventions document (here: http://www.oracle.com/technetwork/java/codeconv-138413.html), it states: "80% of the lifetime cost of a piece of software goes to maintenance" Does anyone know where this statistic is sourced from?…
Dan Coates
  • 325
  • 1
  • 4
7
votes
2 answers

FIFO Min-Max-Heap for Rolling Median

I'm working on a system with hard real-time constraints in c++ and I need a very fast way to calculate the rolling/moving/streaming median of a set of numbers of size N=100 to 300. Normally this size would be trivial but in this case the algorithm…
Bluefarmer
  • 81
  • 2
7
votes
2 answers

When profiling a function for time use, what information is desirable?

I'm writing a program similar to Python's timeit module. The idea is to time a function by executing it anywhere from 10 to 100,000 times depending on how long it takes and then report results. I've read that the most important number is the minimum…
aaronasterling
  • 375
  • 1
  • 9
7
votes
2 answers

Testing applications with statistical features

Possible Duplicate: How should I test randomness? Are their some techniques described for testing applications that have as a requirement some statistical or probabilistic features? They may for example use some random number generators and the…
xralf
  • 485
  • 3
  • 10
7
votes
6 answers

Are 70% of programs/business applications/something based in COBOL?

I heard this number and a quick google search reveals a whole lot of touting this number and absolutely zero data (honestly most articles promoting COBOL read like 95% propoganda). Perhaps it's true in an extremely limited context of banking…
Ben Brocka
  • 2,751
  • 1
  • 19
  • 30
5
votes
5 answers

How did they count the number of lines of code executed at runtime?

There was a PC game released in 2001 called Black & White by Lionhead studios in which there was a lengthy statistics page which updated in real-time. There were stats such as how many people killed, how much money you've earned, etc... but the…
Gary Willoughby
  • 2,067
  • 16
  • 19
5
votes
2 answers

Estimate if benchmark sampling difference is significative

In order to estimate the fastest function in various cases in a non fully deterministic context, I'm running an experiment calling one or the other at random and recording the duration of the operation on the production server. I get this kind of…
Denys Séguret
  • 1,424
  • 1
  • 10
  • 14
1
2 3 4 5