• Advertisement
Sign in to follow this  

Byproduct of Insomnia

This topic is 1646 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

Is that.. a system call in a system call in an interpreted system call via a spawned terminal? +_+

Share this post


Link to post
Share on other sites

Oh god. The escaping escape-escapes. They've escaped! Again!! .. it's literally making my eyes water..

 

I hope your crisis improves soon! *man-hug*

Edited by HumanCatfood

Share this post


Link to post
Share on other sites

Well that's a good use-case for a macro and the string literal concatenation which is done by the preprocessor.

 

#define PREAMBLE "STT=\\\\\\\"\nST=\\\"\necho \"system(${ST}echo '"

 

Then you can do system(PREAMBLE "rest of stuff");

 

You don't even need an operator!

Share this post


Link to post
Share on other sites

One of the mistakes people make with Ambien is not immediately going to and staying in bed. If you take it and stay up, most people go into crazy mode and start doing a lot of weird things. I saw a thread once about the stuff people have done while on ambien. It's an oddball.

Edited by Promit

Share this post


Link to post
Share on other sites

One of the mistakes people make with Ambien is not immediately going to and staying in bed. If you take it and stay up, most people go into crazy mode and start doing a lot of weird things. I saw a thread once about the stuff people have done while on ambien. It's an oddball.

 

Well that's a good use-case for a macro and the string literal concatenation which is done by the preprocessor.

 

#define PREAMBLE "STT=\\\\\\\"\nST=\\\"\necho \"system(${ST}echo '"

 

Then you can do system(PREAMBLE "rest of stuff");

 

You don't even need an operator!

 

Very true, now that I'm off the med, I realize how crazy most of my coding was during those couple of months. I am under the firm belief that most new game companies fail because they push their employees too hard and don't let them sleep enough.

Share this post


Link to post
Share on other sites

Yo dawg, I heard you like escapes...

 

But seriously, personally I've made a commitment to 8 hours of sleep a night and my productivity has gone through the roof.  It can't be ignored.

Share this post


Link to post
Share on other sites

Yo dawg, I heard you like escapes...

 

But seriously, personally I've made a commitment to 8 hours of sleep a night and my productivity has gone through the roof.  It can't be ignored.

 

Staying up late to get more done is so tempting though unsure.png

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement