Questions tagged [stability]

138 questions
350
votes
10 answers

What is stability in sorting algorithms and why is it important?

I'm very curious, why stability is or is not important in sorting algorithms?
DarthVader
  • 46,241
  • 67
  • 190
  • 289
53
votes
5 answers

Composer - The requested package exists as but these are rejected by your constraint

When I run my install from composer, I have this error : λ composer install You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug Loading composer repositories with…
Antoine Bourlart
  • 711
  • 2
  • 6
  • 12
12
votes
1 answer

c++: strategies for stability of floating point arithmetic

Can anyone recommend any C++ libraries/routines/packages that contain strategies for maintaining the stability of various floating point operations? Example: suppose you would like to sum across a vector/array of one million long double in the unit…
cmo
  • 2,912
  • 3
  • 29
  • 56
11
votes
1 answer

Automatically restart Heroku dynos on Error R14 (Memory quota exceeded) errors

I am running an app which requires a library that leaks memory. (Unfortunately there is no alternative for this propriotory software). As a result the dynos exceed their memory limit and emmit Error R14 (Memory quota exceeded) errors. Is there some…
Eddie Wang
  • 111
  • 3
10
votes
6 answers

What are the best ways to crash Android apps?

What are the best ways to cause Android apps to crash? We are trying to make our app as rock solid as possible. For my own contribution, if you have an app that uses network services, go into your app with wifi connected and then turn off wifi in…
seibelj
  • 850
  • 2
  • 8
  • 22
10
votes
10 answers

What are the things you would like improved in the Ruby language?

What are the things you wish Ruby (and more generally the Ruby community) would improve? I read somewhere that Ruby is the love-child of Smalltalk and LISP, with Miss Perl as the Nanny. I have a lot of respect for Ruby's parents, but I'm not sure I…
MiniQuark
  • 40,659
  • 30
  • 140
  • 167
10
votes
1 answer

Http-Conduit frequent connection failures

I am writing application which will download some files by HTTP. Up to some point I was using following code snippet to download page body: import network.HTTP simpleHTTP (getRequest "http://www.haskell.org/") >>= getResponseBody It was working…
Trismegistos
  • 3,745
  • 2
  • 20
  • 38
9
votes
6 answers

Stability of .NET serialization across different framework versions

A project I'm working on requires serializing a data structure before shutting down and restores its state from this serialized data when it start up again. Last year, we were building for .NET 1.1, and ran into a tricky issue where our code ran on…
ephemient
  • 180,829
  • 34
  • 259
  • 378
7
votes
1 answer

ArrayList.Sort should be a stable sort with an IComparer but is not?

A stable sort is a sort that maintains the relative ordering of elements with the same value. The docs on ArrayList.Sort say that when an IComparer is provided the sort is stable: If comparer is set to null, this method performs a comparison sort…
Kaleb Pederson
  • 43,537
  • 19
  • 96
  • 144
7
votes
0 answers

Making Android BLE (Bluetooth LE) apprently stable

I'm writing a program to do the following BLE communication between 2 android devices which support android peripheral communication (in this case MOTOROLA MOTO E generation 2) to a series of: connection -> communicate -> disconnection and see if…
Tony Siu
  • 71
  • 1
7
votes
1 answer

Stability of Merge sort

Is merge sort stable? I read it in a book which says merge sort is stable as long as the merge operation implemented properly. Is that true?
Mr.Php
  • 111
  • 1
  • 1
  • 5
6
votes
3 answers

How mature is the current Open Dylan implementation?

Open Dylan looks really interesting. However before I would use it in real development, I would like to know how mature the implementation is. I know that Dylan itself is an old language and it has been used by Apple.
mikkom
  • 3,158
  • 4
  • 23
  • 35
6
votes
2 answers

Is ESP32 (including SDK) stable for making commercial products?

I'm studying ESP32 for a wifi project, although there are alternatives like CC3200 (TI), because of its price. But I suspect the reliability of ESP32's hardware or SDK. I found some bugs while developing simple projects. I reported these to ESP but,…
JoonDong
  • 97
  • 1
  • 8
6
votes
2 answers

Implement master-slave

Running on Ubuntu. Program is in C++. I have 2 process running on different hosts , when one is master and one is slave (don’t have any priority between them, just that only one handle request.). Only one process can be a master and handle…
Avihai Marchiano
  • 3,641
  • 3
  • 25
  • 50
5
votes
3 answers

64-bit JVM as good as 32-bit for mission critical workloads?

I asked the same question in a different way and the question was closed : https://stackoverflow.com/questions/7231460/java-64-bit-or-32-bit This is my 2nd try at getting an objective answer(s). We were contemplating moving our product to 64-bit…
anjanb
  • 11,266
  • 16
  • 69
  • 99
1
2 3
9 10