Thread: What would you do if you had a time machine?

  1. #1
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687

    What would you do if you had a time machine?

    I would go to the future and ask myself what I did with my time machine
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by ಠ_ಠ View Post
    I would go to the future and ask myself what I did with my time machine
    I'm going to the future right now. At a fairly constant rate of one second per second.

    I'd definitely go to the past, not the future.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    I would go get the winning lottery number.

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    I'd go to the future and get the winning lottery numbers, then come back and keep winning the lottery until I'm richer than Bill Gates.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Maybe you could borrow Sang-drax's.

    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #6
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Probably start my education again.

    It'd be pretty fun getting 100% in almost everything without study

  7. #7
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Sell it.

  8. #8
    Registered User BuzzBuzz's Avatar
    Join Date
    Feb 2009
    Posts
    89
    I'd go back in time, find ಠ_ಠ's grandfather and kill him, then come back to see if this thread had ceased to exist. That would, once and for all, settle the question of the Grandfather Paradox.
    Any help I give may be classified as:
    The Blind leading the Blind...
    Currently working through:
    "C++ Primer Plus"

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    What happens if ಠ_ಠ goes back in time simultaneously and kills your grandfather before you can kill ಠ_ಠ's grandfather?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  10. #10
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    I thought I already explained this to you people: time is a machine, invented in the future by the super computer descendants of humanity, who must create the universe from the beginning if they and us are to exist now.

    So everyone work extra hard today and help code the way forward.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  11. #11
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by laserlight View Post
    What happens if ಠ_ಠ goes back in time simultaneously and kills your grandfather before you can kill ಠ_ಠ's grandfather?
    That would lead to a race condition.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  12. #12
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    Quote Originally Posted by MK27
    I thought I already explained this to you people: time is a machine, invented in the future by the super computer descendants of humanity, who must create the universe from the beginning if they and us are to exist now.

    So everyone work extra hard today and help code the way forward.
    No problemo. Then this thread title would simply read as,

    What would you do if you had a machine^2 ?

    Quote Originally Posted by Sebastiani
    Maybe you could borrow Sang-drax's.

    Quote:
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
    Any idea how he does that?
    Oh well.Never mind. Just realized it is a sig.
    Last edited by stevesmithx; 05-01-2009 at 07:36 AM.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  13. #13
    The larch
    Join Date
    May 2006
    Posts
    3,573
    That would lead to a race condition.
    So, lock him up while he doesn't have a time machine yet?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  14. #14
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Quote Originally Posted by BuzzBuzz View Post
    I'd go back in time, find ಠ_ಠ's grandfather and kill him, then come back to see if this thread had ceased to exist. That would, once and for all, settle the question of the Grandfather Paradox.
    Must we remove two whole generations to settle the paradox?

  15. #15
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    I can only imagine that I will (have?), in the future, find a time machine go back in time and incrementally leave useful pieces of information for me. Today I found a piece of paper that said "Go for a coffee at 4". Sounds like good advice to me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using pointers
    By Big_0_72 in forum C Programming
    Replies: 3
    Last Post: 10-28-2008, 07:51 PM
  2. Determine the closest departure time
    By Kyeong in forum C Programming
    Replies: 9
    Last Post: 10-07-2008, 08:06 PM
  3. Journey time prog 1 minute wrong
    By mike_g in forum C Programming
    Replies: 4
    Last Post: 10-12-2006, 03:41 AM
  4. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 06:00 PM
  5. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM