Any sleep statement should probably be a cause to look deeper though. "Don't do anything for a while" is almost never the right thing to tell a computer to do.
2230 Replies - 95985 Views - Last Post: 03 August 2020 - 06:30 AM
#1921
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 01:46 PM
#1922
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 02:14 PM
... that and Application.DoEvents().
#1923
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 02:21 PM
Well, sadly, when you need to wait for certain things to happen, it needs to be there. We used sleeps all the time in my automation suite cuz the suite was faster than the webpage it was testing.
#1924
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 02:47 PM
LOL! I can see it now: The person who put in the sleep originally says: "I didn't want to stress out the SQL server so that I don't get the 2AM pager calls..."
#1925
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 03:55 PM
ArtificialSoldier, on 12 May 2020 - 02:46 PM, said:
Any sleep statement should probably be a cause to look deeper though. "Don't do anything for a while" is almost never the right thing to tell a computer to do.
coworker wrote a bash script to perform some actions only after the docker container was up and functioning. sleep and check again in 30 seconds seemed like a fine solution. probably more elegant solutions, but ya know, whatever
#1926
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 04:21 PM
Yeah if there's not an event that's easy to catch, if it works it works.
#1927
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 12 May 2020 - 06:44 PM
I'm becoming a tool geek...
Fastening Company Develops Wooden Nails That Can be Fired From a Nailgun
Fastening Company Develops Wooden Nails That Can be Fired From a Nailgun
#1928
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 06:01 AM
that would be pretty useless in home construction -- the tinsel and shear strength of that cant possibly match that of steel
#1929
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 09:06 AM
Why does a friendly "ask" suddenly became a "task"?
As aside, does anybody know the origin of "This is our ask: do XYZ."? It is so inelegant. To me this sounds better: "This is our request: do XYZ."?
As aside, does anybody know the origin of "This is our ask: do XYZ."? It is so inelegant. To me this sounds better: "This is our request: do XYZ."?
#1930
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 09:11 AM
Not a fan of 'ask' being made a noun.
#1931
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 09:23 AM
Don't ask me
I don't work here
#1932
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 09:28 AM
#1933
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 10:48 AM
I'm not a fan of nouning verbs, or verbing nouns for that matter. You should only noun a noun and verb a verb, it just sounds stupid to verb a noun. Am I right?
#1934
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 10:50 AM
Nouning an adjective is okay though, right?
#1935
Re: Ermahgerd! What Are You Even Working On, Like, Right Now?
Posted 13 May 2020 - 11:05 AM
If you nouned an adjective I would give you a good.

New Topic/Question
This topic is locked



MultiQuote









|