Questions tagged [stability]

152 questions
0
votes
1 answer

how to identify toxic sqls in DB2

We have an ask to identify the toxic queries that are fired in the database and kill them so that the application is not affected because of it. For instance, a long running query that is utilising more CPU should be killed. I have done some…
Sudersan
  • 63
  • 7
0
votes
1 answer

No pre-launch report available, Google Play App Rejected due to Designed for Families Stability Issue

I just got a message from Google Play saying that my latest APK (Build 12) fails their Designed for Families stability test. But they don't give me any details on what actually happened, so I'm at a loss for what to change. I tried looking for the…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
0
votes
4 answers

Is it good practice to make additional ckecks in code for internal use only?

Is there sence to check all arguments and other conditions in code, if I know, I never pass wrong argument and it should work fine ( say I already made some checks outside of that code ). Example: this code: /** * Applies function to all elements…
hjdm
  • 227
  • 1
  • 3
  • 13
0
votes
1 answer

Lagrange interpolation perturbation in matlab

This is my code for finding the centered coefficients for lagrange polynomial interpolation: % INPUT % f f scalar - valued function % interval interpolation interval [a, b] % n interpolation order % % OUTPUT % coeff centered coefficients of Lagrange…
p.late
  • 31
  • 6
0
votes
1 answer

Is sort unstable in Python when using cmp_to_key?

I want to sort the positive values in a list of numbers, but leave the negative values where they are. I tried to create a custom comparison function that says that negative numbers are equal to any other number, but this does not seem to work as I…
marcm
  • 13
  • 4
0
votes
1 answer

Unstable query in SQL Server

I am using SQL Server 2008-R2 Express Edition. I wrote the query shown below to generate number sequences from 1 to @n. In testing it (purely in a query window), I found that if I significantly change the value of @n, I get incorrect results.…
IamIC
  • 17,747
  • 20
  • 91
  • 154
0
votes
4 answers

Stability of web development packages?

My experiences with web-frameworks was that they are relative "unstable". Not that they crash but that there are quite a few changes which then force one to reprogram ones code. I wonder what web development packages you've used and how much work it…
Friedrich
  • 5,916
  • 25
  • 45
0
votes
1 answer

Heap sort and Quick sort stability

i had tried with array that have 2 or 3 elements equal,of course it's not stable but if we have array that have all element equal like this [2,2,2,2,2,2,2] will it be stable or not ? of course by using heap sort or quick sort. thanks.
0
votes
2 answers

Symfony only detects lowest php version

I installed Wamp64, comes with 3 versions of php 5.6, 7.0 and 7.1 When I try to create a new symphony project I receive this error: Could not find package symfony/skeleton with stability stable in a version > installable using your PHP version…
menotis
  • 1
  • 1
0
votes
0 answers

What is the efficient way to load and cache multiple Bitmaps?

In the "drawable" folder I have four background images of 1024 x 768 or something. However, it turns out to be that I have to use Bitmap.createScaledBitmap() and my Android device is 2560 x 1504. Which means a Bitmap with the size of 2560 x 1504 is…
user2015064
0
votes
1 answer

Use penalty.factor in stabsel in R

I'd like to use stabsel on top of glmnet lasso for variable selection. I was following the examples on https://github.com/hofnerb/stabs and it works fine. However, I'd also like to force including several variables. This can be achieve in glmnet…
ybeybe
  • 149
  • 1
  • 12
0
votes
0 answers

Can quicksort ever be stable?

If values equal to the pivot are also considered during quicksort can it be called a stable sort? Here is my implementation of quicksort: def isOrdered(aList): ordered = True for i in range(len(aList)-1): if aList[i] > aList[i+1]: …
0
votes
1 answer

PDB debugger stability questions

I am using either pdb or ipdb for debugging my python code. However whenever I am using set_trace() I can typically run a handful of lines of code to test but it eventually freezes while I am typing. I kill the python process and have to re-run…
SteelyDanish
  • 629
  • 2
  • 8
  • 15
0
votes
1 answer

Python: PySerial disconnecting from device randomly

I have a process that runs data acquisition using PySerial. It's working fine now, but there's a weird thing I had to do to make it work continuously, and I'm not sure this is normal, so I'm asking this question. What happens: It looks like that the…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
0
votes
1 answer

How can I achieve stability with scikit-learn RandomForestClassifier?

I have 3.25 years of time-based data and I'm using scikit-learn's RandomForestClassifier to try and classify live data as it comes in. My dataset has roughly 75,000 rows and 1,100 columns, and my train/test split is the first 3 years for train…