For questions about the limits of a certain feature of a programming language. Note that this site is not for the evaluation mathematical limits without the use of programming.
Questions tagged [limits]
330 questions
0
votes
1 answer
Laravel Sentry limits
Anybody know how to get limited number of sentry users. I have admin panel in my laravel application and I make a user management. For display data (groups table, user table, permission table, ...) I use jqgrid. So if I have half million users I…

Kolesar
- 1,265
- 3
- 19
- 41
0
votes
2 answers
separate (binary) implementation of ulimit command?
Is there a source code for /usr/bin/ulimit? I need to see a user's complete list of rlimit's without him being in a shell.
In this case, we have problems running memory-intensive programs from the web server (user wwwrun, usually having /bin/false…

Christian
- 151
- 3
0
votes
1 answer
How long does an app in development get banned from Facebooks if it exceeds limits?
I have an app I'm developing against Facebook that timed out a few hours ago during my first production use. Of course I tried to get it do too much and the http call timed out. So, I rewrote what I was doing to use threaded connections, which sped…

iolympian
- 469
- 1
- 4
- 19
0
votes
1 answer
PHP if function
I am using a PHP function to pull some information into a list for me - and it pulls all of it, but the sort is not working and I have messed with the LIMIT and it doesn't work as well...
if(strtolower($term) == 'feature') {
$query = "select *…

jacob
- 29
- 5
0
votes
1 answer
Computing limits in PHP
I want to compute n^(2/3) as n approaches infinity in PHP.
What I tried:
$n = "INF";
echo pow($n, (2/3));
Desired result:
INF
Actual result:
0
Any suggestions? How to compute limits in PHP?
UPDATE:
OK, first problem solved - I just needed to…

user3419936
- 5
- 3
0
votes
4 answers
Explain this c++ random
As shown in this post there are a few ways to generate random floats in c++. But I don't fully understand the 3rd option of the answer:
float r3 = LO + static_cast (rand()) /( static_cast (RAND_MAX/(HI-LO)));
Can someone explain…

David Fenko
- 131
- 2
- 8
0
votes
1 answer
Set exact time limits in Matlab plot
When facing data in the time domain i seem to run into problems setting the exact limits on the x-axis with matlab.
Thus i plot my data and give the xlim in matlab time and set the limits:
minTT = datenum(2008,10,31,17,12,00);
maxTT =…

IceQueeny
- 154
- 1
- 10
0
votes
3 answers
In binary, convert from signed-magnitude to two’s-complement. All in C
I have an interesting puzzle. I need to convert from a signed number, say -5 (0x80000005) to two’s complement -5 (0xFFFFFFFB). The only operators I can use are, !, ~, &, ^, |, +, <<, >> and at most 15 of them in any combination with as many…

Shaw
- 169
- 1
- 3
- 12
0
votes
1 answer
What are the limits on response sizes?
I see that the get_responses call requires a list of respondent_ids.
There is no get_responses method to return all respondents.
If I pass one respondent ID I can get their responses, and that can be a fair chunk of data for a complex survey. For a…

sysmod
- 463
- 3
- 11
0
votes
1 answer
how to add markers at limits of fplot matlab?
I want to add markers at the limits of a function in matlab. I am plotting the function using fplot this is what I tried:
user_func = '2*x-3';
user_limits = '-2,2';
user_limits = regexp(user_limits, '\,', 'split');
user_limit(1) =…

user3185970
- 69
- 8
0
votes
1 answer
mPDF error: The HTML code is more than 100,000 characters
I use mpdf library and if I launch the report I have a limit characters error.
Any ideas or workaround?

user3161276
- 17
- 6
0
votes
1 answer
How to limit user of only insert number into textfield?
This is my Sales.java
package assignment2;
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import…

Nick
- 31
- 1
- 1
- 10
0
votes
0 answers
PHPExcel with charts and sqlite cache still exceeds memory limits
I'm trying to merge to separated xlsx files into one. I've got some Charts on template.xlsx and some dummie data on it. The main goal is to use the data in "data.xlsx" and store it in a sheet called "data" over template.xlsx (which has a lot of…

aemonge
- 2,289
- 1
- 24
- 26
0
votes
1 answer
is there a GAE requests per second limit or number of instances limit now receiving python 10060 error
sunday 10/06 we were running a GAE Datastore throughput benchmark in python and are receiving this error-"[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time or established connection…
0
votes
2 answers
Limit a MySQL query to only one 1 result from each set
I apologise now for the wording of the question, wasn't quite sure how to articulate this.
I have the following MySQL query:
select mn.meter_name, m.meter_number, m.meter_location, r.rates_meter_rate, r.rates_meter_PPD, m.meter_ID,…

Seán McCabe
- 893
- 4
- 23
- 47