time-limiting Questions

5

I have timeout context manager that works perfectly with signals but it raises error in multithread mode because signals work only in main thread. def timeout_handler(signum, frame): raise Timeou...
Warnerwarning asked 22/2, 2013 at 6:54

2

I am trying to use Resilience4j features. My use case is to combine the 3 modules: circuitbreaker retry timelimiter I want to combine all these modules and execute the method only once. Code Here...

9

Solved

I've got a problem. I'm writing a benchmark and I have a function than is either done in 2 seconds or after ~5 minutes(depending on the input data). And I would like to stop that function if it's e...
Dynamite asked 14/9, 2011 at 8:48

7

Solved

I am solving this problem: Farudulent Activity Notification on HackerRank. I am done with my code and is working, but it is inefficient as well for very large inputs. I don't know but after all...

2

Solved

[I am quite new to jQuery so don't blame me if I get something wrong] I have been browsing questions here on SO about: "Disable submit button after click". OK there are loads of these stuff around...
Crocidolite asked 28/10, 2011 at 12:35

1

Let's say i have repo which for each push (build) starts 4 jobs (diffrent environment/compilers etc.). There is time limit for builds - 50min. Is it counted as sum of times of all builds (like in ...
Tswana asked 20/8, 2015 at 21:7

2

I have a bigint class in php, to calculate big numbers. It works well, except the time limit. I set the time limit with set_time_limit(900); in my bigint.php file, and it works in localhost. Bu...
Groat asked 27/2, 2013 at 15:5

2

The situation is: User writes some js-code and it should be runned on some data (locally). But sometimes there are endless loops or recursive calls… That's why I need to limit the execution time ...
Skivvy asked 12/1, 2013 at 21:56

2

I need to create time lines diagram using my Java (J2SE) application. What library can use to create a time line diagram like ANY of these:
Oersted asked 16/12, 2012 at 12:28

1

Solved

I would like to write code so that when the user presses a button, the camera is launched and records 5 seconds of video. In other words I want to have video capture but with a time limit. Is ther...
Hagiolatry asked 30/4, 2011 at 1:5
1

© 2022 - 2024 — McMap. All rights reserved.