Questions tagged [timed]
110 questions
1
vote
1 answer
Changing the image size on image display that changes every few seconds
Cheers, I have this code for an image display that changes every few seconds but I can't figure out how to adjust the image size of each one, or how to make them all the same.
change…

jorswag3
- 23
- 3
1
vote
1 answer
Meteor Timed variable resets
I'm making a game with meteor and I want certain variables to reset at the end of everyday.. DO you know how I would go about doing that?
Like at the end of everyday the amount of turns goes back to ten.

Alex Hong
- 95
- 9
1
vote
1 answer
Need enemyManager to wait between spawning enemies
I have a couple different enemy types and enemyManager arrayList classes for each type. I have each type of enemy randomly spawning at spawn points slightly off screen, coming onto the screen, then off the other side, dying, and randomly responding.…

Dakota Hipp
- 749
- 7
- 16
1
vote
3 answers
script timed out before returning headers openshift
I have a python application (webservice) hosted in Openshift but, a few days ago, the app don't work anymore. The log points to "[error] script timed out before returning headers" and I can't solve this.
Someone can help me?

Junior Mendonça
- 33
- 5
1
vote
1 answer
Extracting Timed Metadata from HLS stream ios
Android is able to play HTTP live streaming (HLS) video streams by specifying URL in a videoView
Is there any way to retrieve timed metadata from HTTP live streaming (HLS) in android?
'MediaMetaDataRetriever' not work.
In iOS i use 'Timed Metadata'…

lornzo1889
- 11
- 2
1
vote
1 answer
All Google API Calls From Our Office Time Out
We have a small office with 20+ computers that are about 80/20 split Macs vs. PCs. I am a web developer by trade who manages our little network but am, by no means, a networking/DNS expert.
That being said, we are having trouble in that every…

pmascari
- 271
- 2
- 10
1
vote
2 answers
C++ std::timed_mutex has recursive behaviour
i have a problem. i want to use a mutex for my program. so what happens is this:
i am constructing an object that holds a std::timed_mutex. on creation this object locks the mutex because it should be unlocked later on. the same thread that created…

fredlllll
- 75
- 8
1
vote
1 answer
Making background fade in using Javascript
Hello below is my JS code for a changing background image every 30 seconds. I have this example code too from research, can somebody please please please show me how to integrate the example code into my JS, so the changing image fades in as I…

user3206866
- 25
- 7
1
vote
1 answer
Batch: Trying to get a command to execute at a specific amount of seconds
This works for hours, running in a loop as soon as it hits 13 hours it executes.
@ECHO OFF
:time
echo %time%
FOR /f "tokens=1*delims=0" %%a IN ("$0%time:~0,2%") DO SET /a HH=%%b
IF %HH% equ 13 goto success
goto time
:success
echo success…

Troy Rash
- 29
- 4
1
vote
3 answers
How to (reliably) interrupt threads form the main thread after a specific amount of time in Java?
I just started out with threading. I wrote a main class that sets up and starts 100 threads, waits 5 seconds and then interrupts them (at least that's what I thought it did):
public static void main(String[] args) {
List threads = new…

Christian
- 6,070
- 11
- 53
- 103
1
vote
1 answer
Rails Timed Try Method
So I am using Resolver in Rails 3.1 to try to get the DHCP address of a server and I want to allow a certain time for it to query...perhaps .5 sec because it is slowing down my entire request.
This is what I have right…

kdhuang
- 129
- 1
- 1
- 6
1
vote
5 answers
Timed loop in php
I just want to print a counting from 1 to 10 at an interval of 10 sec between each integer.
eg.
$i=10; //Time delay
for($j=1;$j<11;$j++)
{
echo $j;
//do something to delay the execution by $i seconds
}
I have tried everything…

mastero
- 21
- 1
- 1
- 4
1
vote
1 answer
Network timed out exception
I have an Android application which connects to an Arduino server and sends it sockets on a button press, but as soon as I press the button it waits a little while and then throws "Connection timed out". I know the Arduino works; I tried it over the…

djedjica
- 115
- 10
0
votes
1 answer
JQuery timer pop up after 2 minutes on website
I have a pop up which is timed to appear after 2 minutes on my web page, however I need it so that it will do this after 2 minutes on my website even if the user goes to another page. At the moment, it refreshes on each page load.
How would I do…

green_arrow
- 1,257
- 7
- 21
- 37
0
votes
1 answer
Ruby Mechanize Connection timed out
I have been practicing writing a number of Ruby scrapers using Mechanize and Nokogiri. For instance here ( However, it seems that after making a certain number of requests (about 14000 in this case) I get an error saying I have a connection timed…

ZenBalance
- 10,087
- 14
- 44
- 44