Page 1 of 2 12 LastLast
Results 1 to 10 of 63

Thread: Mayan Doomsday Countdown

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Gold Member
    trigggl's Avatar
    Join Date
    November 6th, 2010
    Location
    Arkansas
    Posts
    2,077

    Mayan Doomsday Countdown

    On a whim, I decided to try to figure out how to create my own Linux command line Mayan countdown to December 21.

    With the "knowledge" that the supposed doomsday is 13.0.0.0.0 according to the Mayan long count and that the date for that is approximated to Dec.21, I wrote a bash script to countdown the last 2 digits to 0.0.0.0.0. For instance, today is 76 days until Dec.21. By my bash script, that comes out to 3 winal and 16 K'in. Or, in other words,

    0.0.0.3.16

    Tomorrow will be...

    0.0.0.3.15

    We're already close enough to set the date that Tun, K'utun and Bac'tun are all zero. No point in calculating them. To make a short complicated story shorter, here's my script.

    Code:
    #!/bin/bash
    let countdn=15695-$(date +%s)/86400
    let winal=$countdn/20
    let kin=$countdn-$winal*20
    echo "0.0.0."$winal"."$kin
    There are 20 K'in (days) in a Winal, so the day after 0.0.0.3.0 will be 0.0.0.2.19 left.

    I guess I should put an 'if' statement on 'countdn' to make sure it's not a negative number.

    else
    echo "The sky is falling!"
    6r39 7r199



  2. #2
    Platinum Member
    John P. Myers's Avatar
    Join Date
    January 13th, 2011
    Location
    Jackson, TN
    Posts
    4,502

    Re: Mayan Doomsday Countdown

    If it helps with the preciseness of your calculations, the Mayan calendar ends at the moment of the winter solstice, which is Dec. 21 at 11:12 AM UTC


  3. #3
    Platinum Member
    Mumps's Avatar
    Join Date
    October 28th, 2010
    Location
    Milwaukee, WI
    Posts
    3,994

    Re: Mayan Doomsday Countdown

    Quote Originally Posted by trigggl View Post
    I guess I should put an 'if' statement on 'countdn' to make sure it's not a negative number.

    else
    echo "The sky is falling!"
    Or, more appropriately

    else
    echo "The sky *has* fallen!"

  4. #4
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    Re: Mayan Doomsday Countdown

    Dammit. We have to catch SG by that date? Let's get too it.... No time to waste.



  5. #5
    Diamond Member
    Duke of Buckingham's Avatar
    Join Date
    May 14th, 2011
    Location
    Lisboa = Portugal
    Posts
    8,433

    Re: Mayan Doomsday Countdown

    If it is to have strange ideas, I still prefer to assume that the Mayan were expecting their gods to return to earth on that day.

    In fact the Dresden codex on the last page seems to have a deluge as a prediction but I could bet anything that it is not it because if I lose I will only have to pay after the end of the world and I will not need the money anymore.

    It doesn't matter anyway, if the word ends we will end with it and after the end of the world, no one will stay to congratulate the predictors of such disgrace.

    I have one thing to declare, Duke phoned home and they are coming to take me home.

    Very Crazy Duke phoning home
    Friends are like diamonds and diamonds are forever



  6. #6
    Gold Member
    trigggl's Avatar
    Join Date
    November 6th, 2010
    Location
    Arkansas
    Posts
    2,077

    Re: Mayan Doomsday Countdown

    0.0.0.3.15
    6r39 7r199



  7. #7
    Diamond Member
    Duke of Buckingham's Avatar
    Join Date
    May 14th, 2011
    Location
    Lisboa = Portugal
    Posts
    8,433

    Re: Mayan Doomsday Countdown

    Now I am getting nervous.
    Friends are like diamonds and diamonds are forever



  8. #8
    Silver Member
    Christopher Herr's Avatar
    Join Date
    June 7th, 2011
    Location
    Near Stuttgart, Germany
    Posts
    386
    Mayan Doomsday?? Err, I am not participating, just like this guy wrote about the financial crisis.
    CH
    "Everything will be great at the end! And if it is not great, it is not yet the end!" "Do not ever strive for perfection! Strive for excellence instead!"
    "Sometimes the needs of the many outweigh the needs of the few, or even a single one!" "Infinite diversity in infinite combinations"


  9. #9
    Diamond Member
    Duke of Buckingham's Avatar
    Join Date
    May 14th, 2011
    Location
    Lisboa = Portugal
    Posts
    8,433

    Re: Mayan Doomsday Countdown

    “Live this day as if it will be your last. Remember that you will only find ''tomorrow'' on the calendars of fools. Forget yesterday's defeats and ignore the problems of tomorrow. This is it. Doomsday. All you have.

    Make it the best day of your year. The saddest words you can ever utter are, ''If I had my life to live over again. ''Take the baton, now. Run with it! This is your day!

    Beginning today, treat everyone you meet, friend or foe, loved one or stranger, as if they were going to be dead at midnight.

    Extend to each person, no matter how trivial the contact, all the care and kindness and understanding and love that you can muster, and do it with no thought of any reward.

    Your life will never be the same again.”


    Og Mandino
    Friends are like diamonds and diamonds are forever



  10. #10
    Gold Member
    trigggl's Avatar
    Join Date
    November 6th, 2010
    Location
    Arkansas
    Posts
    2,077

    Re: Mayan Doomsday Countdown

    2 Uinal and 8 K'in until doomsday!
    6r39 7r199



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •