Ermahgerd! What Are You Even Working On, Like, Right Now?

  • (149 Pages)
  • +
  • « First
  • 127
  • 128
  • 129
  • 130
  • 131
  • Last »

2230 Replies - 95985 Views - Last Post: 03 August 2020 - 06:30 AM

#1921 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3135
  • View blog
  • Posts: 8,936
  • Joined: 15-January 14

Re: Ermahgerd! What Are You Even Working On, Like, Right Now?

Posted 12 May 2020 - 01:46 PM

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.
Was This Post Helpful? 0
  • +
  • -

#1922 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7915
  • View blog
  • Posts: 26,430
  • Joined: 05-May 12

Re: Ermahgerd! What Are You Even Working On, Like, Right Now?

Posted 12 May 2020 - 02:14 PM

... that and Application.DoEvents().
Was This Post Helpful? 0
  • +
  • -

#1923 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

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.
Was This Post Helpful? 0
  • +
  • -

#1924 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7915
  • View blog
  • Posts: 26,430
  • Joined: 05-May 12

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..."
Was This Post Helpful? 0
  • +
  • -

#1925 supersloth   User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4695
  • View blog
  • Posts: 28,516
  • Joined: 21-March 01

Re: Ermahgerd! What Are You Even Working On, Like, Right Now?

Posted 12 May 2020 - 03:55 PM

View PostArtificialSoldier, 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
Was This Post Helpful? 0
  • +
  • -

#1926 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3135
  • View blog
  • Posts: 8,936
  • Joined: 15-January 14

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.
Was This Post Helpful? 0
  • +
  • -

#1927 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7915
  • View blog
  • Posts: 26,430
  • Joined: 05-May 12

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
Was This Post Helpful? 0
  • +
  • -

#1928 DarenR   User is offline

  • D.I.C Lover

Reputation: 793
  • View blog
  • Posts: 5,094
  • Joined: 12-January 10

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
Was This Post Helpful? 0
  • +
  • -

#1929 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7915
  • View blog
  • Posts: 26,430
  • Joined: 05-May 12

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."?
Was This Post Helpful? 0
  • +
  • -

#1930 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 16480
  • View blog
  • Posts: 65,328
  • Joined: 12-June 08

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.
Was This Post Helpful? 0
  • +
  • -

#1931 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6957
  • View blog
  • Posts: 28,696
  • Joined: 12-December 12

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
Was This Post Helpful? 0
  • +
  • -

#1932 supersloth   User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4695
  • View blog
  • Posts: 28,516
  • Joined: 21-March 01

Re: Ermahgerd! What Are You Even Working On, Like, Right Now?

Posted 13 May 2020 - 09:28 AM

View PostSkydiver, on 13 May 2020 - 10:06 AM, said:

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."?

when it's big enough some has to log time to it.
Was This Post Helpful? 0
  • +
  • -

#1933 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3135
  • View blog
  • Posts: 8,936
  • Joined: 15-January 14

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?
Was This Post Helpful? 0
  • +
  • -

#1934 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3215
  • View blog
  • Posts: 12,098
  • Joined: 03-December 12

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?
Was This Post Helpful? 0
  • +
  • -

#1935 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3135
  • View blog
  • Posts: 8,936
  • Joined: 15-January 14

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.
Was This Post Helpful? 3
  • +
  • -

  • (149 Pages)
  • +
  • « First
  • 127
  • 128
  • 129
  • 130
  • 131
  • Last »