. 11) Get prayed over at church. 12) And THIS…
I haven’t been able to stop thinking about THIS post Liz Gilbert threw down Friday. In my pre-surgical procedures I’d been casting a vision for the down-time of my 6-8 week recovery (Finish selection and begin editing #Route66pix for photo exhibit. Record audio book version of Shaken Not Stirred... a Chemo Cocktail and rerelease hard copy with 7 year cancerversary update and fist chapter of next book. Walk my butt off, since I won’t be allowed to run. My Route 66 Marathon training must go on.) But THIS post made me want to cast out a little further. When I got diagnosed with cancer 7 years ago on august 20th, I had a hard time seeing myself in future tense. (The fact that I have almost made it to my #lucky7 year cancerversary BLOWS MY MIND!) Part of this was good for me, though, cuz I got pretty damn good at being present in the now. But this weekend while I’ve been sucking the marrow out of life, the present, and all the things, I also have been sipping ok slurping on THIS delicious post.
So I thought I’d ante up with my own thoughts about where I wanna be 5 years from now…
-12 years cancer free
-audio book version of #shakennotstirred
-re-release #shakennotstirred 7th cancerversary edition with update and first chapter of Route 66 Bucket List Road Trip book
-2 more books published (#Route66 Bucket List Road Trip and Homeschool Memoir)
-Route 66 photo exhibit
-enter photo contest
-winter in a warmer climate
-figure out how to do what I do, doing what i love, to pay my way around the world
-get TSA priority boarding
-fly first class
-Write writing workshop based on Alice in Wonderland
-Take yoga teacher training or life coaching
-learn to make an origami crane. make 1000
-learn to play my uke
-do a Triathalon
-publish a book of my poetry
-take a selfie with Jesus in Rio
-spend cervantes bday in Spain, hike the buen camino
-road tripping the country with my friend Isis to photograph 800 breast cancer survivors for the Grace project
-and because go bold or go home, and to tag onto Liz Gilbert’s list, I’d like to write a tv show with her.
-…
Well, that’s a little where I wanna be 5 years from now. Especially right smack dab middle of that yummy ellipsis…
What about you? Anybody else wanna play? Where do you wanna be 5 years from now? #castaway #comesailawaywithmeA diagram of Fermi with labels for major components.
The Fermi/GLAST Mission Poster features an artist's drawing of the Fermi satellite in orbit.
Fermi/GLAST Brochure Cover.
Active Galaxies poster without the text.
The Fermi sticker features Fermi artwork as well as text on the back of the sticker.
Fermi/GLAST AAS Poster.
Fermi/GLAST Black Hole Suite Conference Poster.
Image from The Fermi/GLAST Cube of a Binary Neutron Star.
Fermi/GLAST Modeling the Universe Placemat Images.
Partial image of the Fermi/GLAST Modeling the Universe placemat. Please download original for the full version.
Wooden mockups of the NaI and BGO detectors, used to do fit checks on the spacecraft.
Calorimeter module shown during insertion of the crystal detectors.
The ACD with its Goddard and LAT I&T crews.
One of the Large Area Telescope towers, which is composed of a stack of interleaved planes of silicon strips and tungsten converters. The LAT has 16 of these towers in a 4x4 array.
GORT (Fermi/GLAST Optical Robotic Telescope) at the Pepperwood Natural Preserve.
Sonoma State University Observatory robotic telescope, the first telescope in the Global Telescope Network (GTN).
Chip Meegan next to some Fermi GBMs.
If you have a general question about Fermi Gamma-ray Space Telescope, science or classroom materials, please contact Fermi Answers.
If you have a question about analyzing Fermi Gamma-ray Space Telescope science data, please contact the Science Support Center.<filename>53_King/kotlin/King.kt
package king53

import kotlin.math.abs
import kotlin.random.Random
import kotlin.system.exitProcess

lateinit var gameState: GameState
const val KEEP_ORIGINAL_BUGS = false
const val KEEP_ORIGINAL_SUICIDE_REFERENCE = false

val rnd: Double get() = Random.nextDouble()
fun tab(i: Int) = " ".repeat(i)
class EndOfInputException : Throwable()

fun main() {
    header()

    print("DO YOU WANT INSTRUCTIONS? ")
    readLine()?.apply {
        gameState = if (startsWith("AGAIN")) loadOldGame() else GameState()
        if (startsWith("Y")) instructions(gameState.yearsRequired)
    }
       ?: throw EndOfInputException()

    with(gameState) {
        do {

            recalculateLandCost()
            displayStatus()
            inputLandSale()
            performLandSale()
            inputWelfare()
            performWelfare()
            inputPlantingArea()
            performPlanting()
            inputPollutionControl()
            if (zeroInput()) {
                displayExitMessage()
                exitProcess(0)
            }
            val yearResult = simulateOneYear().also {
                it.displayConsequences()
            }
        } while (yearResult == YearOutcome.ContinueNextYear)
    }
}

private fun header() {
    println("${tab(34)}KING")
    println("${tab(14)}CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY")
    println()
    println()
    println()
}

fun instructions(yearsRequired: Int) {
    println(
        """


        CONGRATULATIONS! YOU'VE JUST BEEN ELECTED PREMIER OF SETATS
        DETINU, A SMALL COMMUNIST ISLAND 30 BY 70 MILES LONG. YOUR
        JOB IS TO DECIDE UPON THE CONTRY'S BUDGET AND DISTRIBUTE
        MONEY TO YOUR COUNTRYMEN FROM THE COMMUNAL TREASURY.
        THE MONEY SYSTEM IS RALLODS, AND EACH PERSON NEEDS 100
        RALLODS PER YEAR TO SURVIVE. YOUR COUNTRY'S INCOME COMES
        FROM FARM PRODUCE AND TOURISTS VISITING YOUR MAGNIFICENT
        FORESTS, HUNTING, FISHING, ETC. HALF YOUR LAND IS FARM LAND
        WHICH ALSO HAS AN EXCELLENT MINERAL CONTENT AND MAY BE SOLD
        TO FOREIGN INDUSTRY (STRIP MINING) WHO IMPORT AND SUPPORT
        THEIR OWN WORKERS. CROPS COST BETWEEN 10 AND 15 RALLODS PER
        SQUARE MILE TO PLANT.
        YOUR GOAL IS TO COMPLETE YOUR $yearsRequired YEAR TERM OF OFFICE.
        GOOD LUCK!
        """.trimIndent()
    )
}

fun loadOldGame(): GameState = GameState().apply {

    do {
        var retry = false
        print("HOW MANY YEARS HAD YOU BEEN IN OFFICE WHEN INTERRUPTED? ")
        currentYear = validatedInput { it > 0 }

        if (currentYear >= yearsRequired) {
            println("   COME ON, YOUR TERM IN OFFICE IS ONLY $yearsRequired YEARS.")
            retry = true
        }

    } while (retry)

    print("HOW MUCH DID YOU HAVE IN THE TREASURY? ")
    rallods = validatedInput { it >= 0 }

    print("HOW MANY COUNTRYMEN? ")
    countrymen = validatedInput { it >= 0 }

    print("HOW MANY WORKERS? ")
    foreignWorkers = validatedInput { it >= 0 }

    do {
        var retry = false
        print("HOW MANY SQUARE MILES OF LAND? ")
        landArea = validatedInput { it >= 0 }

        if (landArea > 2000 || landArea <= 1000) {
            println("   COME ON, YOU STARTED WITH 1000 SQ. MILES OF FARM LAND")
            println("   AND 10,000 SQ. MILES OF FOREST LAND.")
            retry = true
        }
    } while (retry)

}


/**
 * Possible outcomes for a year.
 */
sealed class YearOutcome {

    /**
     * Display output for the end of the year, for each different possible