Thread: Sleep is overrated...

  1. #16
    Unregd
    Guest
    Without sleep, there are too many hours in the day. Sometimes, you do have things to do, but do you really want to code 24/7? Besides, from my experience, I am very lethargic and crabby if I do not get 7-10 hours of sleep. If I've been going on 4-5 hours of sleep all week, I'll usually "catch up" on the weekend, sleeping for up to 12 hours or more rarely 14 hours.

  2. #17
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Originally posted by Cela
    >>A lot of people make bold claims that you code poorly when you're tired
    I don't have that problem, but I do get more errors because I forget which language I'm using when I'm really tired and write stuff like this.
    Code:
    #!usr/bin/perl -w
    use strict;
    #include <iostream>
    
    using namespace std;
    
    sub main(int argc, char *argv[]) {
      cout<<"Enter your name: ";
      my $name = <>;
      
      print STDOUT $name, "\n";
    
      return 0;
    }
    I go to sleep right about that time.
    rofl...

  3. #18
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    Originally posted by Salem
    There's a website for everything
    I had that guy for my psychology professor last semester... yeah, he's pretty big into getting lots of sleep. He's probably right, too...

  4. #19
    >>you can't stay awake longer then 48 hours.

    Totally incorrect. I've been awake for 52 hours. And to look at other personal sleep patterns:

    Every weekend I get up at 4:00 am to get on a bus and go 4 hours to the ski mountain where I snowboard all day and return. After the trip, cleaning gear, eating, setting up for the next day, and drinking some beer, I get approx. 3 hours of sleep before I do exactly the same thing Sunday. 4 hours of sleep Sunday night before work. During the week I tend to either code until quite late or go out and party to avoid going insane with cabin fever. Either way, 90% of nights I get 3-5 hours of sleep. Heck, I got home at 6:45 this morning just to get ready and go to work.

    Though I will admit that since I snowboarded 4 days in a row (I had some time off so I put it to good use), I was rather tired by the end. The result of pulling arials over ice while extremly tired, being that I'm sitting here with several broken ribs and thumb, instead of being out somewhere more fun.

    So to sum up: Different people need different amounts of sleep. I'm doing just fine and I've been doing this for over a month straight now. It was pretty much the same before the mountain opened, just with different activities.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  5. #20
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    ...

    Totally incorrect. I've been awake for 52 hours
    People can stay more, but you cant more than 72 hours.

  6. #21
    Ecologist
    Join Date
    Aug 2001
    Location
    Utah.
    Posts
    1,291
    >but you cant more than 72 hours.

    Randy Gardner went 264 hours and 12 minutes without sleep
    back in 1965.
    Staying away from General.

  7. #22
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Yea i know a few people who have gone a week...

    Funny how you should note that sleep is a waste of time, yesterday i fell asleep at 5pm and slept clear thru till my alarm went off at 5:30am.....i spent just less than half my day asleep.

  8. #23
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    OMG YOU PEOPLE........

    You know what? I 'LOVE' .....sleeping, hence dreaming. I love dreaming. But don't mistaken me as a weird guy wanting to live in his dreams all day. But sleeping feels~~~~~ good, and dreaming feels *even better.

    Aww, im sleepy again. Am i dreaming now?

  9. #24
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    You know beer was invented for a reason. Well no not really, but we've got it so take advantage of it

  10. #25
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Bah, I always run sleep as a background process

    Code:
    sleep 28800 &

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sleep works with just one thread, but not 2
    By finkus in forum C++ Programming
    Replies: 5
    Last Post: 12-01-2005, 09:17 PM
  2. Problem with Sleep() #$@^#$%^
    By intruder in forum C++ Programming
    Replies: 8
    Last Post: 10-11-2004, 06:46 AM
  3. why do we require sleep?
    By jinx in forum A Brief History of Cprogramming.com
    Replies: 43
    Last Post: 07-14-2004, 08:21 AM
  4. How to make a thread sleep or std::recv timeout?
    By BrianK in forum Linux Programming
    Replies: 3
    Last Post: 02-26-2003, 10:27 PM
  5. sleep
    By ivandn in forum Linux Programming
    Replies: 7
    Last Post: 12-13-2001, 11:20 PM