• 0 Posts
  • 95 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle



  • And to add to the conversation(if there’s anything incorrect please let me know) from videos I’ve seen by MentourPilot, Captain Joe and online sources

    The process will most likely look like the following (assuming an emergency descent is needed because the cabin can’t be pressurized like with the window vs some smaller hole air leak):

    • They will put on their own o2 masks (it’s critical to do this as you can lose consciousness in under a minute)

    • They will set the transponder to a code that denotes the emergency to both ATC and nearby traffic

    • They will radio the distress both for ATC but also nearby planes to give them a heads up that they’ll be rapidly descending. If it’s in a high traffic area they may wait for approval to begin descent (and you can be sure ATC is going to be moving planes out of the way.). If it’s taking too long they will begin descending anyway.

    • They’ll announce to the cabin that they’re doing an emergency descent

    • They will start a rapid descent to 10,000 ft (if terrain allows it, otherwise down to whatever they can safely get to). This is because the emergency o2 is limited to about 15 minutes.

    Some interesting things I learned about this.

    They will often use autopilot for the descent and level flight. This is because of limited visibility and a risk of possible issues caused by low o2.

    They turn on all lights to make sure they’re as visible as possible to other traffic.

    This descent will be really unpleasant. Not a gentle descent but the safest one (especially if they’re unsure if there’s any structural issues) they can do. Which will be quite a bit steeper than anybody is used to.

    So passengers on the plane will experience this as:

    • Loud rushing noise. Possible moisture filling the cabin now that you have outside cold air mixing with warm air and surfaces inside

    • Masks dropping and seatbelt signs

    • Shortly after the Captain saying “Emergency descent” 3 or so times

    • Flight screw scrambling to seats and putting on masks

    • The sound of the wings adjusting for speed brakes, shuddering from the flight profile change,

    • The sounds of the engines being revved up to the planes maximum speed as the nose of the plane tipping down. It will feel like it’s faster than it really is with the shift in gravity followed by being pressed back due to the increase in speed during descent.

    • The plane shifting as they turn away from the main traffic area as they descend (unless told otherwise by ATC, etc)

    Not a fun experience I’m sure

    Some sources to check out

    Emergency descend!! Cockpit video

    Explosive decompression at Simulador TCP. EAS Barcelona pilot school

    Pressurisation Problems: Guidance for Flight Crews

    Aircraft “Falling” - Emergency descend explained




  • Personally I loved it but if you’ve finished 2 of them and it’s not resonating with you I won’t push you to read something you’re not enjoying.

    I will say that I listened to them and maybe an audiobook will be more enjoyable.

    But if you want to try something else in the Cosmere with a different flavor you could try one of these and not have any huge spoilers to the overall story (kind of like watching Ant-man or Black panther in the cinematic universe before any of the other films.)

    Tress of the Emerald Sea (more adventure/fantasy, less magical heist and the consequences of that)

    Warbreaker (more of a mystery/intrigue)

    Yumi and the Nightmare painter (not sure how to describe it but people from 2 different worlds experiencing the other and learning to work with and support the others challenges, etc). This way you can see if it might just be the Mistborn era 1 books or maybe he’s not your cup of tea. I will say that Era 2 is (like I mentioned) very different in tone, etc. same world but centuries later.

    If you don’t mind me asking what kind, if any, of fantasy books do you like?



  • The Cosmere

    Different worlds with hard-ish magic systems that are different. Yet each is a manifestation of the same underlying forces/rules across the Cosmere.

    Whether it’s Stormlight, Ferruchemy, Metallurgy, etc. they’re all aspects of investiture.

    Which means you get unique stories and challenges in the worlds but you also get the occasional cross of characters with one set of magic in another world of the Cosmere that has another.

    And my personal favorite in the Cosmere is the Wax and Wayne series of Mistborn (books 3-7) where you have metal based magic in a Wild West like setting. So people who can manipulate metal using bullets from pistols in unique ways. Imagine all those fantasy novels with wizards… but centuries later as technology advances to the age of steam engine and firearms.

    An excerpt from one of those books

    Smoke curled in the air over the bandit boss’s pistol.

    “Oh . . .” Wayne said softly. “You just made a bad mistake, mate. A very bad mistake.”

    The boss turned away from the body, holstering his gun. “Fine,” he yelled, walking toward the door. “You can have some fun, boys. Burn it out of your blood quickly and meet me outside. Let’s—”

    Everything froze. People stopped in place. The curling smoke hung motionless. Voices quieted. Whimpering halted. In a circle around Waxillium’s table, the air rippled just faintly.

    Wayne stood up, shouldering his dueling canes, inspecting the room. He was placing each and every one of the bandits, Waxillium knew. Judging distances, preparing himself.

    “As soon as I drop the bubble,” Wayne said, “this place is going to erupt like an ammunition store in a volcano.”

    Waxillium calmly reached into his jacket and slid a hidden pistol from beneath his arm. He set it on the table. His twitch had vanished.

    “Well?” Wayne asked.

    “That’s a terrible metaphor. How would an ammunition store get into a volcano?”

    “I don’t know. Look, are you going to fight or not?”

    “I’ve tried waiting,” Waxillium said. “I gave them a chance to leave. I tried giving this up.”

    “You gave it a good show, Wax.” He grimaced. “Too good a show.”

    Waxillium rested his hand on the pistol. Then he picked it up. “So be it.” With his other hand, he poured out his entire pouch of steel into his wine cup, then downed it.

    Wayne grinned. “You owe me a pint for lying to me, by the way.”

    “Lying?”

    “You said you hadn’t brought a gun.”

    “I didn’t bring a gun,” Waxillium said, reaching to the small of his back and sliding a second pistol out. “You know me better than that, Wayne. I never go anywhere with only one. How much bendalloy do you have?”

    “Not as much as I’d like. The stuff’s damn expensive here in town. I’ve got maybe enough for five minutes’ extra time. My metalminds are pretty much full, though. Spent a good two weeks sick in bed after you left.” That would give Wayne some healing power, should he get shot.

    Waxillium took a deep breath; the coldness inside him melted away and became a flame as he burned steel that pinpointed each and every source of metal in the room.

    For anybody interested in starting with a book that is in the Cosmere “Mistborn: The Final Empire” is a great starting point.












  • I see a lot of good answers here but let’s try it from another angle.

    How do we get randomness from a function or formula?

    For starters let’s setup a few simple rules.

    Every time our random function is called we’ll

    • Take the last output from a variable we call LAST_RESULT
    • If there’s no value in LAST_RESULT we’ll assume the value is 1
    • We run a set of calculations storing the value in a variable we call X
    • We store the result of these calculations in LAST_RESULT
    • We return this new “random” number.

    So let’s call it.

    > Random()
    Since LAST_RESULT is undefined SET LAST_RESULT to the value of 1
    Set X to the result of this calculation 
       (LAST_RESULT+1) * 3
    

    X is now 6

    Set X to the result of this calculation
       (X + 7) / 2
    

    X is now 7

    Set X to the result of this calculation (rounding to the nearest whole number)
       X/LAST_RESULT
    

    X is now 7

    Set LAST_RESULT to the value of X
    

    LAST_RESULT is now 7

    Return the value of X as the result 
    

    Result is 7

    Ok. So let’s call it again

     > Random()
    Set X to the result of this calculation 
       (LAST_RESULT+1) * 3
    

    X is now 24

    Set X to the result of this calculation
       (X + 7) / 2
    

    X is now 16

    Set X to the result of this calculation (rounding to the nearest whole number)
       X/LAST_RESULT
    

    X is now 2

    Set LAST_RESULT to the value of X
    

    LAST_RESULT is now 2

    Return the value of X as the result
    

    Result is 2

    And if we call it again we get seemingly random results

    Random() Result is 4

    Random() Result is 3

    But the next time you run it you’ll get the same results in the same order. 7, then 2 then 4 then 3

    So what you need is something to “seed” the random number calculation.

    Something like

    SetRandomSeed Set LAST_RESULT to the current second of the day

    Then when you call Random after this it starts with that as the prior results and gives seemingly random results.

    Of course my calculations are rough and probably fail/repeat after so many calls but it gives you an idea of how this works.

    So the trick is to get noise for the seed. That could be the number of non leap seconds since 00:00:00 UTC on Thursday, 1 January 1970 (Unix epoch)

    Or the temperature reading of a CPU chip.

    Maybe it’s the ratio of red vs yellow from a camera feed looking at lava lamps.

    Or the current users average typing speed.

    An additional note. Many of those would not be “cryptographically” secure for encryption because they can easily be determined by a third party. We all experience the same “Unix epoch” within a few milliseconds if our system clocks are properly set for example. Or monitored from afar and reproduced (hacked webcam shows they had just typed the following letters in the previous 27 seconds that we know the “algorithm” uses, etc.