Questions tagged [timed]

110 questions
2
votes
6 answers

time-sensitive css stylsheet switching using javascript

I'm trying to switch my css stylesheets depending on the time. One during the day, and one during the night. I'm a newbie when it comes to java, but i've been reading alot on javascript and have generated some code that should let this work. I tried…
Josh Tha CreativeOne
  • 279
  • 2
  • 11
  • 22
2
votes
3 answers

Is it possible to time a break from a program?

I've been learning C# for 3 weeks now so still covering the basics. My question: At the end of a program (a simple currency converter, for example), when the user chooses to exit the program (rather than perform another calculation) is it possible…
user3647900
2
votes
1 answer

Matlab: exactly timed getsnapshot for real-time event analyzing

I got a camera triggered by external source at a constant rate of 1/0.14s, and Matlab for-loop is used to take timed pictures for real-time measurements. However, the elapsed time for 1 execution of "getsnapshot" is so different each time. Sometimes…
1
vote
1 answer

Google Play Timed Publishing - release and alpha/beta track at the same time

This is the scenario: I turned on timed publishing. I created and submitted a release on a production track (Initial 1.0 release). "Go live" button became blue after some time. I made numerous fixes and created a new release on the alpha track and…
Dick Thunder
  • 378
  • 3
  • 17
1
vote
0 answers

Python 3 - Creating a time defined user input within a loop (windows)

I have decided to ask here because after spending several hours trying to figure out my issue (alone and online), I have not gotten anywhere. Let me explain you my issue first: I am trying to write a script that would randomly pick up a word from a…
Bilalord
  • 11
  • 1
1
vote
1 answer

Timed waiting and infinite waiting on the same condition variable?

Scenario: I have a condition_variable based wait and signal mechanism. This works! But I need a little more than just the classic wait and signal mechanism. I need to be able to do a timed wait as well as an infinite wait "on the same…
AdeleGoldberg
  • 1,289
  • 3
  • 12
  • 28
1
vote
0 answers

Getting: cURL Error #:Operation timed out after 30000 milliseconds with 0 bytes received with POST request (PHP)

I am trying to make a POST request to this url: https://www.googleapis.com/admin/directory/v1/customer/***/orgunits in order to create new Organizational Units. This is the code to make a cURL request: function exeCurl($url,$method,$body="") { …
Y_Lakdime
  • 825
  • 2
  • 15
  • 33
1
vote
6 answers

PHP : echo message for a specified amount of time

I want to display a string "Your status has been posted" for something around 3 or so seconds than I want it to go away. As of right now I have a news feed where the user can post messages and after they post it echoes that string of text until the…
Jeffrey
  • 11
  • 1
  • 2
1
vote
1 answer

How to show content timezone specific using javascript & html

My website currently displays the .pastTV div during the hours of 12:00pm-12:30pm EST. However, the code is not time-zone specific, capturing the local time of anyone visiting site. Is there a way to make this specific to a UTC offset or timezone…
Jak
  • 31
  • 3
1
vote
0 answers

The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. "

This is my Java code: import java.sql.*; public class Database_connect { public static void main(String[] args) { String url= "jdbc:sqlserver://localhost:1433;DatabaseName=Reena;instance=SQLSERVER;encrypt=true;TrustServerCertificate=true"; …
Reena
  • 11
  • 1
1
vote
1 answer

Appending a scrolling textview in timed increments

I've created a scrolling textview and have been able to add text and scroll just fine. The thing is, I'm trying to add text at timed intervals and said interval can be adjusted by the user by hitting one of two buttons at the bottom of the screen.…
AndroidHopeful
  • 269
  • 1
  • 2
  • 4
1
vote
0 answers

Terminal Operation Times Out (Recent Python Install Issues)

I was stupid and may have deleted some dependencies for mac's base python (and/or python 2.7) as root when trying to uninstall anaconda navigator. Now every Every time I try to perform an install or update action in terminal - the operation times…
awags1
  • 304
  • 2
  • 8
1
vote
1 answer

WinAPI timed mutex lock

How to lock mutex (critical section) for some amount of time? Is there any API function for that? As far as I see there is nothing like that in windows. If so, is it possible to implement it manualy? Thanks.
ledokol
  • 461
  • 1
  • 4
  • 13
1
vote
0 answers

Wordpress display/hide content based on date/time without refreshing page

I have searched high and low looking for a plugin or code to show or hide content on a WordPress page based on the date and time without refreshing the page. I can rig something and have the page refresh at a certain time, but the users watching…
1
vote
1 answer

Pure JavaScript - Timed Animation - Consistent height?

I have created a script that animates the height of an element in 500ms. The timer works fine but I am struggling to make the height increase consistently. How do I animate the height smoothly within the time period? It jumps at the moment. I want…
Paddy
  • 1,175
  • 1
  • 14
  • 23