Questions tagged [limit]
Relates to any sort of limit applied to data or resources, e.g. limiting the size or value of a variable, limiting the rate of incoming traffic or CPU usage. [tag:sql-limit] should be used to refer to the LIMIT keyword in SQL.
4,236
questions
0
votes
0
answers
16
views
Sequential Limit by in clickhouse
Is it possible in clickhouse to apply limit by sequentially on each column?
To give more detailed description: I would like to apply
for example
...
group by c1,c2,c3
limit 5 by c1,c2
in such a way ...
0
votes
0
answers
9
views
file upload queue with react redux
I have a relatively well functioning mechanism that stores object urls in redux for enqueuing file uploads to my backend, but at a certain total size of non-revoked object urls the browser doesn't ...
0
votes
0
answers
39
views
New session for each call to the Spring Boot server with JWT problem
I'm working to limit the number of sessions per user in Spring Boot, so as to limit the number of devices it can connect.
this is my WebSecurityConfigurerAdapter:
http.sessionManagement()....
0
votes
0
answers
13
views
IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crushing it - how to solve?
Can someone guide me in solving this problem in Colab? I know I should change that limit by adding some zeros, but I do not know how to modify it (I need to print everything to see whether my code is ...
0
votes
0
answers
18
views
how to limit size of file in material ui textfield maxLength is not working
Here i want to limit file size to 1 MB . i tried maxLength:"1 * 1024 * 1024" in props . but its not working here can any one tell me what i am doing wrong .
Here i am using material ui , ...
0
votes
0
answers
31
views
Comparison of to two repartitions and repeated measure on an uneven population: limits of a McNemar
I am working in linguistics on the transformation of one sound in specific contexts: for example, the number of [s] produced [s] or transformed in nouns, and pronouns (I am copying you a part of my ...
-1
votes
0
answers
25
views
I need to create a trigger that allows me to set a limit of simultaneous registrations in mysql
I need to create a trigger that allows me to set a limit of simultaneous registrations that can be made, how can I count the inserts and if the limit is exceeded, the registrations are not allowed to ...
-1
votes
0
answers
20
views
Return back only top N rows for each ID - SQL [duplicate]
I have written this SQL after browsing different topics.
The topic I got the solution from -> Limit Records(SELECT Where ID in (List of IDs) and limit records of each IDs in MySQL)
MySQL version: 5....
1
vote
1
answer
45
views
Node.js: express.json limit whitelist
I have a Node.js backend with many routes which have nothing to do with uploading files (for regular users, therefore a limit of 50kb). But I want to have a few routes for only admins that can upload ...
0
votes
1
answer
26
views
Can we add more than 255 characters inside work document property
I have a word document .docx which contain a property, currently when i tried to add more than 255 charterers inside the word document property i will get an error that the it is invalid. so can i ...
0
votes
1
answer
59
views
Changing x and y limits
I would like to reduce the x axis from 100 μm to 10 μm and the same for the y axis. I tried setting the axis limits but want the same data to be plotted on the 10 x 10 grid that is on the 100 x 100 ...
1
vote
1
answer
32
views
Limit in SPARQL results
I run a SPARQL query in graphDB from an API REST and I get only the first 1000 rows back. I am not using a LIMIT clause at the end of my query. I found in the documentation that number is a default ...
0
votes
0
answers
13
views
Is it possible to set seed() with fixed limits
is it possible to give numerical limits to the set.seed() function in R, as in specifying to create a dataset with 30 random values ranging from 2 to 8? The examples I have seen are with integers and ...
-1
votes
0
answers
17
views
interactive x limt on octave plot 2D
I wuold to create a window to set axis limit in the 2D plot figure. I saw that I can fix manualy axis limit using xlim or ylim functions. But I would like to change that limit directly in the figure ...
1
vote
0
answers
43
views
Calculate the limit of nested log fractions
Here's a pic of the fractions of logs of n, where n grows as n*2 + 1 for each increase in 'nested' fraction level:
My code doesn't let me go beyond d = 512+1 and I get a math domain error. Which ...
1
vote
2
answers
37
views
Difference between #include <limits.h> and #inlcude <linux/limits.h>
In my code i am using the variable PATH_MAX for a buffer size. I had a problem when i was including the library who is supposed to define it #include <limits.h>. When i use this library my IDE ...
1
vote
2
answers
76
views
mysql Query to get top score records for each seprate user with per user limit 3 in mysql 5.0
Actually, I want top score records for each separate user with per user limit of 3 (each user 3 top score records) from the table.
Also, there is a scenario where one user can attempt the same ...
-1
votes
1
answer
20
views
MongoDB- how to pass expression to $limit operator in aggregation pipeline
i need to pass a variable to $limit operator but it accepts only integers
example
collection = [
{
_id : ObjectId(id1)
count : 20
total : 3
},
{
_id : ObjectId(id2)
count : 12
total : 3
},
{
_id : ...
-1
votes
1
answer
26
views
Not able to delete with LIMIT in mysql join query between multiple tables
This is my sql query:
DELETE gur
FROM group_master gm
JOIN group_users gu
ON gu.group_id=gm.id
JOIN group_user_roles gur
ON gur.group_user_id=gu.id
WHERE gm.school_code = 14741359 AND gm.ayid=3
LIMIT ...
0
votes
0
answers
22
views
Prevent AWS lambda payload limit by send multipart response
I figure out an issue with AWS lambda with Amplify, I execute an API call that search product in other service and give me a JSON object in response (multiple products).
All work fine before I test ...
0
votes
0
answers
42
views
Best way to partition file creation by a max size
I'm creating files that have a certain structure to them. They begin with a Header, then contain a block of DataElements. (The exact details don't matter to this question.)
I have a DataFileWriter ...
0
votes
0
answers
9
views
Is there a way to put limits on confidence intervals if you know your data cant go over or below a certain point
I am making dose-response curves and using the predict function to create values and confidence values with an example of the code below.
Davies_A.hya_preddata = data.frame(temp = seq(28,42, length....
0
votes
3
answers
65
views
Optimized Postgresql like and group by clause
Database: PostgresSQL PostgreSQL 12.11 (Ubuntu 12.11-0ubuntu0.20.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
RAM : 8 GB
Processor : i7 4510U (dual core ...
0
votes
1
answer
27
views
How to ignore my white soldiers signals whenever a previous candle produces a signal?
Trying to bound or limit my 3 white soldiers candle indicator so it doesn't paint these signals back to back ever.
You'll see on July 5th my code painted 3 days of this signal in a row. I would like ...
0
votes
1
answer
62
views
combine average function and row number over partition in one query MySQL
This is the database:
id_user
nama
id_sikap
kelancaran
tahsin
10000000
Budi
B
90
90
10000000
Budi
A
89
78
10000000
Budi
A
90
90
10000001
Ina
A
84
44
I want to combine some conditions in one ...
0
votes
0
answers
23
views
How to put my stop loss on the previous swing low before entrance?
I want to put my stop loss on the low of last swing low before entrance in long position. I want this stop keep fix before next long entrance position. but it does not work. Can you please tell me how ...
-1
votes
1
answer
20
views
Report portal API rate limit
Does anyone know API rate limit for Report portal API, I can't seem to find any on it's official documentation or on git repo (https://github.com/reportportal/service-api)
0
votes
0
answers
20
views
Given the number of digits for the mantissa and for the exponent, how to I calculate the lower and upper limits?
I've read in a computer science book a few pages about the representation of floating-point numbers (IEEE 754) but I can't figure out how the lowest and highest numbers are calculated as it's not ...
0
votes
2
answers
33
views
Use Skip and Limit for parent nodes, having many sub-nodes cypher query
I am new to neo4j cypher stuff, I am just trying to achieve pagination with SKIP and LIMIT.
I have Employee node and Task node, Employee can have multiple tasks and one task can be assigned to ...
-2
votes
0
answers
24
views
weird java exeption whilst using imageIO.read() [duplicate]
so im writing this program, it loads pngs from different folders (which represent the layers) picks them randomly and combines them into finished pictures. Everything works, but only if the quantity ...
1
vote
1
answer
28
views
GitHub API limit array length to 250
When calling the GitHub API with Octokit to get all ahead commits of a fork repo by comparing each of their branches together, if the fork repo contains more than 300 commits ahead then octokit only ...
0
votes
1
answer
46
views
Limit upload speed on c#
Im building an app to upload clips auto to a Minio S3 server.
When im playing and save a clip, the app uses 100% of bandwidth and this is so annoying.
I need to limit the upload speed to complete this,...
0
votes
0
answers
27
views
SystemMemoryExceedsReservation
Hey what does this rule say?
expr: |
sum by (node) (container_memory_rss{id="/system.slice"}) > ((sum by (node) (kube_node_status_capacity{resource="memory"} - kube_node_status_allocatable{...
1
vote
0
answers
64
views
How do I limit Get-ChildItem before it comes back with results (before a piped filter)
While it looks like this question has been asked before, none of the answers worked to speed up the search...
Code added:
Get-ChildItem "c:\users\???????\AppData\Local\Google\Chrome*\User Data\...
0
votes
1
answer
29
views
How to return exceed 6M XML file content in Lambda function Python?
I provided an API Gateway's URL to my client, and this API Gateway will trigger a Lambda function. The Lambda function program read the xml file content from AWS S3 first and then return this xml ...
0
votes
1
answer
23
views
How to limit requests based on source IP on Istio
I am using istio version 1.12.
I tried to add limit configuration but it can't limit requests based on source IP.Does Istio support this?
I am using the official sample:
https://istio.io/v1.12/docs/...
3
votes
0
answers
50
views
SQL Query Limit for Each Status
I have this query:
UPDATE `vicidial_list`
SET list_id = 1000,
status = "NEW",
called_since_last_reset = "N"
WHERE status IN ("DROP","ERI","NRP&...
0
votes
1
answer
13
views
Mongo get limited and sorted latest documents in reverse order
Given a collection with a field called timestamp (int), I want to get the n latest records, in Ascending order.
for example, given:
collection: [
{_id: 1, timestamp: 1}
...
{_id: 100, ...
2
votes
3
answers
63
views
LIMITING MAX VALUES IN SQL
I am completely rewriting this question, I just cant crack it
IDB DB2 SQL
(from a Chicago Crime Dataset)
Which community area is most crome prone?
When I use this code, it does correctly count and ...
1
vote
2
answers
52
views
How to overcome character display limit in Google Sheets e.g. when using IMPORTXML?
Original Title:
How to use Google Sheets formula to import data (using e.g. IMPORTXML) without dropping off characters in results?
Google Sheet example in thrid update below.
I currently use the ...
0
votes
1
answer
19
views
MySQL: is there a way to limit the number of rows with a certain value without locking the whole table?
I have the following table
CREATE TABLE `FriendRelation` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL,
`friend_id` bigint(20) unsigned NOT NULL,
...
0
votes
0
answers
198
views
Axios Error: timeout of 30000ms exceeded when there are a lot of connections (but api answers really fast)
I have a docker image with a nodejs frontend-app that requests some data from api with Axios.
On a server I have multiple instances of this docker image. When the count of instances became greater ...
0
votes
3
answers
63
views
How to set maximum amount of decimals in react [duplicate]
I created a calculator in react, but when I do some division where the result will be a repeating decimal, this result is exceeding the calculator display.
Example: 1 / 3 = 0.333333333333
Could ...
2
votes
0
answers
25
views
Procedure to fetch recent withdrawal list from Transactions PLSQL ORACLE
procedure to fetch recent withdrawal list ..
as per the limit.. I will send
means in input if i send customer_id and limit 5 then return last 5 withdrawal transaction details
for that customer_id.
I ...
0
votes
1
answer
20
views
How to use Limit and Integral in Sympy Parser
I want to know how to evaluates equations with operations in sympy parser(NOT with sympy.series.Limit Function), such as root, limit, or integral.
from sympy.parsing.sympy_parser import parse_expr
...
0
votes
1
answer
25
views
How hard is it to control laptop's battery charge or to limit? [closed]
I wonder if it is possible to write a program which would limit the battery charge of a laptop. I know some manufacturers like Asus, Lenovo etc. have such build-in software, but I am curious if anyone ...
1
vote
1
answer
23
views
Finding the 2 closest corresponding rows to the average of the sum of multiplied values, grouped by a matching title when given an input title
I want to find the average values of a sum of multiplied values grouped by a matching title, in order to give them a corresponding rating, and then find the 2 closest to the input value.
SELECT ...
0
votes
0
answers
120
views
GitLab - Error 404 on artifact upload for large artifacts
I am self-hosting a private Gitlab 15.0.2 on Gentoo using this overlay: https://gitlab.awesome-it.de/overlays/gitlab
It's basically an installation from source (no Omnibus). Now I have also configured ...
0
votes
0
answers
25
views
How to set total resource limit (core hours) per User in SLURM
Is there a way to set a limit on total (not simultaneous) used resources (core hours/minutes) for specific User or Account in SLURM?
My total spent resources in seconds are for example 109 seconds ...
0
votes
0
answers
76
views
How to set NotebookApp.iopub_data_rate_limit in Google Colab?
I am facing this error:
IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--...