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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
37 views

C# - Configuring attempts for job Hangfire

I want to limit attempts for concrete job, does this attribute work like this? Or it sets attempts for all job for this method? [AutomaticRetry(Attempts = 0)] public void BackgroundMethod() { } Tried ...
Alex's user avatar
  • 11
0 votes
1 answer
13 views

Dynamic Y-Axis Limits for Multiple Dataframes in ggplot2

I have a problem with axis limits. My problem is that I have different dataframes to plot (i.e. bigdata and smalldata provided in the code example). I want the y-axis limit to always be greater than ...
trytolearn's user avatar
0 votes
0 answers
13 views

how to increase the limit of 150kilobytes of imported passwords in brave? [closed]

do you know , how to increase the limit of 150kilobytes of imported passwords from mozzila firefox in brave browser?i think i could learn and do reverse engeeniring for x86_64 program, with WinDgb , ...
alexandre marillesse's user avatar
0 votes
0 answers
16 views

How do I stop my yerror error bars from going through zero (the x-axis?)

I tried to use plt.ylim(0,12) to stop my y-error bars from crossing below zero, but they still do. Any advice? #House B x2=[1, 2, 3] y2=[6.19927899,1.00263735,0.09018145733] #House C x3=[1, 2, 3] y3=[...
Hoskin's user avatar
  • 11
0 votes
0 answers
59 views

Exporting data from SQL server to PostgreSQL limited 100 records

I have a database in SQL Server, but now I must transfer to PostgreSQL. I'm trying to the way: Right-click on the database Task/ExportData Choose the database input enter image description here ...
Tuan Tran Van's user avatar
0 votes
0 answers
12 views

Why new contributor is limited all the things? [migrated]

I saw this https://stackoverflow.com/help/answering-limit#:~:text=We%20slow%20down%20new%20user,to%20craft%20a%20good%20answer. But that does not make any sense, because some people are using ChatGPT, ...
Cam Hoang's user avatar
-1 votes
0 answers
38 views

Error "Exceeded maximum execution time" while running function with timer. How to limit data pickup from Row1 and column upto 35 to speed it up

function onOpen() { const ui = SpreadsheetApp.getUi(); ui.createMenu('Custom Menu') .addItem('Save Data','saveData') .addToUi(); } // function to save data function saveData() { ...
Nitin Kumar's user avatar
0 votes
0 answers
51 views

MongoDB aggregation with $match $skip $limit and order guarantee

Does the following aggregation guarantee a default ordering for the documents assuming that the $match returns unique documents? Or we always have to include a sort step to have consistent results ...
mhdwrk's user avatar
  • 1,745
0 votes
0 answers
41 views

MongoDB. How to use sorting, search and limit in aggregation correctly

Suppose I have 10 million documents. I need to skip the last 5 documents and get the last 10 documents. This code works fast documents.find({user: 'demo'}).sort({ _id: -1 }).skip(5).limit(10) This ...
Александр Миронов's user avatar
0 votes
0 answers
32 views

follow up on 'How can I add triangles to a ggplot2 colorbar in R to indicate out of bound values?'

In this question (https://stackoverflow.com/questions/68440366) a solution was proposed for vertical color bar. I wonder if a more general solution, or a package, has been developed since then that ...
Riccardo's user avatar
0 votes
1 answer
136 views

cpu.stat metrics in a pod are zeroed when CPU limits are removed

I know that the topic for CPU limits and cfs quota has received a lot of attention since 2017 and in a multiple threads on kubernetes, a kernal fix was issued and much more. I’m hoping to find some ...
Danny Teller's user avatar
0 votes
0 answers
34 views

IAM Desktop, connect client application, to a gcp vm, can't serve static files with size bigger than1.6MB

We are trying to connect to the CVAT web ui. We followed the tutorial from https://opencv.github.io/cvat/docs/administration/basics/installation/, applied a docker compose... and once the server is ...
Jeff Strongman's user avatar
0 votes
1 answer
30 views

union and order by not working in sqlite3

I'm trying to union two tables with same exact column names but no shared columns and then pick the top 10 results. However, the results aren't reflecting the top 10 results. I've tried this Select a,...
rhoops's user avatar
  • 1
0 votes
0 answers
48 views

Plotly figure , how to delete data outside xlim/ylim?

A 3D plotly figure maintains all data outside the limits that we can set manually. The data is there "in memory" just not visible. How can we delete data outside limits "in memory" ...
Carlos's user avatar
  • 27
0 votes
0 answers
19 views

How avoid policyd track non-sent emails

I have a setup with postfix, saslauthd for the auth and policyd and everything works but this problem: when I try to reach more than smtpd_recipient_limit recipients (ex. limit 50 and I try to send to ...
Francesco's user avatar
1 vote
0 answers
38 views

Limit the has_many output when using as_json to include

In our app we have models that are connected with each other. For my example I will use Client and Person. One Person can have many Clients, one Client can have many people. We use the following ...
mihovale's user avatar
0 votes
2 answers
50 views

Is there a limit for startActivity new Intent? After 50 clicks you can't open a new activity

I am making game with different levels with each level in a new activity. When user click startActivity new intent for 50 times during the game it won't open a new activity. e.g level 1= activity 1 so ...
Umar's user avatar
  • 1
0 votes
0 answers
31 views

Would this be a reliable way of calculating the area from a point to a second point of an integral in Scratch?

So I was doing a coding exercise (in Scratch) for fun and decided to try to create a piece of code that would be able to calculate the area of a function f(x)=x y (where y is some constant) of the ...
CrSb0001's user avatar
  • 155
0 votes
1 answer
36 views

How to count specific orders that were ordered after a specific initial order was placed by the same customer?

Using Spotfire Syntax, how can I count the number of orders purchased by the same customer id of a specific product after an initial product was purchased? example: I need to know how many binders and ...
Mel's user avatar
  • 1
1 vote
1 answer
68 views

What is the maximum date python can store?

Using python datetime module: from datetime import date what is the farthest in the future I can go while being sure I won't break anything?
nd-dew's user avatar
  • 27
0 votes
1 answer
55 views

Why does .limit() result empty array when using a query object as a parameter?

I am setting up a mongoose query where I would like to find specific records, mentioned in a custom queryObject. This queryObject contains the key-value pairs, if existent. So, if the res.query does ...
IHateCoding's user avatar
2 votes
2 answers
184 views

How many fields can a Java record hold?

What is the maximum number of properties (“record components”, technically) defined in a Java record? I read the specification, JEP 395: Records. No mention of a limit.
Basil Bourque's user avatar
0 votes
0 answers
37 views

mysql MATCH AGAINST with LIMIT

everybody I'm querying a huge table, trying to find the first 100 most recent record matching a town (in this example Venice): select id from table_name where MATCH(column_name) AGAINST (...
user3691663's user avatar
0 votes
1 answer
204 views

Using --limit to specify groups and hosts in that group not working in Ansible

I want Ansible to run a playbook on specific hosts from specific groups. Here is my inventory [a] 10.10.10.10 11.11.11.11 dog.local.lab [b] 10.10.10.11 cat.local.lab moose.local.lab [c] 10.10.10.12 ...
Dave's user avatar
  • 802
1 vote
1 answer
25 views

How to plot around a certain x-value without having to manually find the indexes in a huge data array?

I'm currently plotting an array with 550K elements which belong to a spectroscopic spectrum in MATLAB and encountering some issues. The plot itself ranges from 2040-2150 cm^-1, but if I want to ...
Benvz's user avatar
  • 15
0 votes
1 answer
70 views

How to get the 1st occurrence of Sex (male & female both) from sashelp.class

I am trying to get all the details in a row for the first occurence of sex='m' and sex='f' from sashelp.class. Sex is a column in sashelp.class Till now I have done this: Proc sql; Select * From ...
Fanatic's user avatar
  • 51
0 votes
1 answer
45 views

SophosLabs Intelix API - Rate Limit

I'm concern about the Rate Limits mentioned in https://api.labs.sophos.com/doc/index.html. I have an application that is used by many users which allows them to send files for analysis. The ...
Federico Dalla Fontana's user avatar
0 votes
0 answers
73 views

Deep Backtesting doesn't go back further than a year?

I am testing a strategy on the ES! 1 5-min candle. I'm using deep backtesting and I'm a Pro member. I'm trying to test all available data, but it will only go back roughly one year. Tradingview says ...
Dustin McElroy's user avatar
0 votes
2 answers
56 views

Need to use group by, sort and limit for Student list which in return will return the student list

class Student{ private String name; private String id; private String dept; private String sub; private double marks; } need to group the Student list based on dept, then ...
Prachi's user avatar
  • 1
-1 votes
1 answer
34 views

MySQL Join three tables with DESC LIMIT function

The goal is to get fields from 2 tables from a join based on the third table. Here is the diagram: The process is like I'm taking last 2 rows from the case table, searching ids in the combine table ...
r2d2bot's user avatar
0 votes
1 answer
72 views

Python Websockets with logging. "..." in the debug message. Message length limit

Websockets somehow limits the amount of output content in logging. At the moment I have calculated that the number of characters is limited to 70 characters. Is it possible to increase the threshold? ...
sialor's user avatar
  • 11
0 votes
0 answers
15 views

Sequelize mysql adding pagination makes model not recognize associated models

I have 2 tables: InvoiceItems and Products and my api has an endpoint to retrieve the most popular products (by most sales) so I join Invoice to products, add a new column which is the sum of ...
Abdullah Baraka's user avatar
0 votes
5 answers
110 views

Is there a maximum number of rows allowed for this array? C++ [duplicate]

(edited to correct a mistake and specify code is written for C++) I am making a large array, P_arr of size int N = 30; float P_arr[27000][4]; with elements given by float ua_min = 0.0001, ...
Zachary's user avatar
0 votes
1 answer
54 views

mySql get N records in range

I have data logger acquiring temperatures aproximatly in 5 seconds interval (sometime data is missing like MQTT QoS 0). Each sample is stored in database with timestamp. That means 14400 records per ...
eSlavko's user avatar
  • 348
0 votes
0 answers
36 views

Limiting loads with Json.load

I am attempting to retrieve a dataset from a website utilizing Python. When the URL returns more than 10,000 records, it throws an error. Also, this url extract has a column when converted to ...
Keerti Baskar's user avatar
-4 votes
1 answer
35 views

Strange results from MariaDB [closed]

I accidentally discovered an error in MariaDB that led to unexpected results. Below are the SQL queries along with their respective outcomes: Essentially, my objective is to retrieve data for ...
Mark Smith's user avatar
0 votes
0 answers
53 views

Why is there an (apparent) difference in the max header length when degugging and when deployed?

I've run into a problem where a .NET 6 MVC app will fail with "HTTP Error 400. The size of the request headers is too long." when deployed in IIS but will work just fine in development. The ...
Richard Ward's user avatar
0 votes
0 answers
77 views

Postgres Error in pgAdmin : Invalid Input Syntax for Integer: ""

In converting from ms-sql to postgres I have problems with some views. The error is : Invalid Input Syntax for Integer: SQL state: 22P02"" The problem seems to be due to the "limit"...
Stefano Pesaresi's user avatar
0 votes
0 answers
38 views

Retaining ElasticSearch query limit when working with Pagy gem

Ahoy fellow developers! I have a problem with limiting the total number of search results in my web application. The web app is written in Ruby, the search functionality is powered by ElasticSearch, ...
pnchkir's user avatar
0 votes
1 answer
29 views

How to limit results from a query with join and where

I'm using MySQL. There are two tables titles and genres, where the two types of records have a many to many relationship. So there is also a third table called title_genre_relationships. I'd like to ...
xiGUAwanOU's user avatar
0 votes
0 answers
111 views

MongoDB currentOp size limit

I'm getting a lot of messages like {"t":{"$date":"2023-07-24T09:28:43.634+03:00"},"s":"I", "c":"-", "id":4760300,...
Vladimir Larionov's user avatar
-2 votes
1 answer
166 views

Why are so many settings in Linux limited to 65536. what is the special meaning? [closed]

There are many limits in the Linux operating system that are set to 65536. For example: The number of TCP ports, up to 65536 Maximum number of file opens, up to 65536 MSGMAX parameter is usually set ...
stackoverflow26's user avatar
0 votes
0 answers
41 views

Search for a specific number and stop the search once the number is found

I am trying to create a short-cut identifier (as a column) within a query next to a lot of different and seemingly random item-code numbers within a table - I am working on SAP B1/HANA as I try to ...
RadioEye's user avatar
2 votes
2 answers
47 views

JQuery Deselect Checkbox once greater than max limit

So we have a group of checkboxes. There is a max limit of 3 that can be selected which is great. This is for a product designer I am working on so I can make custom orders for people. I have noticed ...
Auzurial Prints's user avatar
2 votes
1 answer
50 views

The problem when I calculate the limit of function with trigonometric contant in MATLAB(Android)

I get the wrong answer when I input these code in Android MATLAB: syms x limit((sin(x)-sin(1))/(x-1),x,1) it returned NaN but it should be cos(1) in math,but my MATLAB in Android didn't throw any ...
jiajie hu's user avatar
0 votes
1 answer
116 views

Github showing "Rate Limit" screen very often, but my usual activity is 50-100 github views per day

I'm seeing this message on the webpage: "Access has been restricted You have triggered a rate limit. Please wait a few minutes before you try again; in some cases this may take up to an hour.&...
idchlife's user avatar
  • 576
1 vote
1 answer
81 views

C, get resource values in UNIX environment

In "Advanced programming in the UNIX environment", in Figure 7.16, in pr_limits function, the following two lines are written to show resource limit. lim = limit.rlim_max; printf("%...
user avatar
2 votes
0 answers
104 views

In C#, How can I limit the number of messages received in an instance of a Service Bus Trigger Azure Function

I have this function which works as expected: [FunctionName(nameof(ListenAsync))] public async Task ListenAsync( [ServiceBusTrigger("%AzureServiceBus:EmployeeEventEntityPath%"...
Brian Kessler's user avatar
2 votes
2 answers
77 views

Having limit [small value] issues with Postgres

Background I'm getting insanely slow queries when using small LIMIT clause values on a relatively simple query. I've already read and re-read PostgreSQL query very slow with limit 1. (not that I ...
Mordachai's user avatar
  • 9,462
0 votes
0 answers
12 views

A problem occurred when trying to limit the data set

I want to limit the MARPOR data set to these three specific variables. However, when I run the code, I keep getting the results only for two or sometimes three candidates, namely "Anthony ...
Cla's user avatar
  • 1

1
2 3 4 5
88