Questions tagged [stability]
152 questions
441
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
- 52,984
- 76
- 209
- 300
60
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
- 781
- 2
- 6
- 12
12
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
- 121
- 4
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
- 3,762
- 4
- 36
- 64
11
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
- 890
- 2
- 10
- 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
- 46,633
- 36
- 147
- 183
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,821
- 2
- 24
- 41
9
votes
7 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
- 198,619
- 38
- 280
- 391
7
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,521
- 5
- 25
- 39
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
- 45,767
- 19
- 102
- 147
7
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
- 109
- 1
- 8
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
- 109
- 1
- 1
- 6
6
votes
3 answers
What does "stable" really mean in relation to code?
I often see or hear people describe something as "stable" in relation to code.
Am I right in thinking that a "stable" class library is one in which the functions have been well tested, used in the real world and not been found to contain any bugs?…

user2450099
- 375
- 3
- 7
- 16
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,837
- 3
- 38
- 55