$30 off During Our Annual Pro Sale. View Details »

The Mün and back - a Kerbal tale

Secret Lab
July 24, 2015
260

The Mün and back - a Kerbal tale

A session about Kerbal Space Program from OSCON 2015. Presented by Jon Manning, Paris Buttfield-Addison, Alasdair Allan, Paul Fenwick, and Tim Nugent.

http://www.oscon.com/open-source-2015/public/schedule/detail/41535

Secret Lab

July 24, 2015
Tweet

Transcript

  1. The Mün and Back:
    A Kerbal Tale

    View Slide

  2. The Mün and Back:
    A Kerbal Tale
    Enterprise Kerbal Space Program (Foundation) in Containers, as a
    service, for microservices, at scale, in the cloud, using Arduino.

    View Slide

  3. The Mün and Back:
    A Kerbal Tale
    5 completely separate talks

    View Slide

  4. HI THERE HELLO

    View Slide

  5. Who We Are
    - Paris Buttfield-Addison – Srs Troublemaker, @parisba
    - Jon Manning – Troublemaker, @desplesda
    - Paul Fenwick – CKAN author, @pjf
    - Alasdair Allan – Did PhD with Scott Manley, @aallan
    - Tim Nugent – has more boardgames than you,
    @the_mcjones
    We’re the authors of The Kerbal Book, coming soon!
    Also isn’t it great co-authors can edit slides?
    Yes, it’s fantastic!

    View Slide

  6. We’re from Australia.
    And Scotland.

    View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. What can you do?

    View Slide

  11. An Unlimited Supply of Free Rockets
    We can use KSP to test some space hypotheses, such as...

    View Slide

  12. “I Thought Space Was Up”

    View Slide

  13. View Slide

  14. Let’s Go To Space, Which Is Up
    We’ll launch a rocket and go straight upwards, and see what happens

    View Slide

  15. View Slide

  16. Observations
    It falls back down to the ground!
    ● BUT WHAT HAPPENED TO ZERO GRAVITY?
    ● THERE’S NO GRAVITY IN SPACE?
    ● WHY DID IT FALL DOWN, HUH, ROCKET SCIENTIST?
    ● THIS PROVES SPACE IS FAKE

    View Slide

  17. View Slide

  18. View Slide

  19. View Slide

  20. View Slide

  21. View Slide

  22. Creative Ways to Launch Your Rocket
    ● Spaceflight is dangerous and expensive
    ● NASA, ESA and the rest of the gang can’t afford to take unnecessary
    risks

    View Slide

  23. View Slide

  24. Experiment 1
    “Can we use a catapult to get to space?”

    View Slide

  25. View Slide

  26. Result:
    I… guess?

    View Slide

  27. Experiment 2
    “Why don’t we try launching rockets sideways? Give ‘em wings, they’ll probably
    go up”

    View Slide

  28. View Slide

  29. Result:
    More experimentation required.

    View Slide

  30. Experiment 3
    “Can we build a rocket designed to usefully explode?”

    View Slide

  31. View Slide

  32. Result:
    Yes, and it’s awesome.

    View Slide

  33. PART TWO
    WE HAVE TO GET OFF THIS ROCK

    View Slide

  34. Problem:
    We only have one planet

    View Slide

  35. Solution:
    Get more planets

    View Slide

  36. Problem:
    Humans need stuff like air, water, and food

    View Slide

  37. Solution:
    DIFFICULT TO SOLVE.

    View Slide

  38. But we have to try!

    View Slide

  39. Let’s Model a Colonization Project
    We’re going to COLONISE!

    View Slide

  40. Options:
    - The Mün
    - Duna
    - Minmus
    - Eve
    - More distant planets?
    Where?

    View Slide

  41. Option #1: Mars Duna
    + Really pretty
    + Atmosphere for aerobraking
    - Far away
    - Transit windows are annoying

    View Slide

  42. Option #2: Mün
    + Close by
    + Easiest to get to
    - Ugly
    - Bumpy

    View Slide

  43. Option #3: Minmus
    + Pretty close by
    + Lots of flat surfaces, good for stable landings
    + Pretty
    + Mint ice cream flavoured
    - Slightly trickier to get to than Mün

    View Slide

  44. Decision: Minmus!
    - What do you need in space?
    - Supplies
    - Power
    - Consumable resources
    - Eventually, the ability to build more rockets

    View Slide

  45. Missions
    - Send some initial people
    - Establish some infrastructure
    - Locate resource deposits
    - Send the rest

    View Slide

  46. Equipment
    - Pioneer Pod
    - Nuclear reactor
    - Greenhouse
    - Habitat
    - Expando-Tubes for connecting
    - Skycranes to lower into place
    - Wheels to position everything

    View Slide

  47. Life Support Mod
    - USI Life Support
    - Nutritional Optimised Meal Supplement (“N.O.M.S.”)
    - Kerbals eat it and it turns into Mulch
    - Greenhouses can convert Mulch back to Supplies
    - But not all of it

    View Slide

  48. Modular Kolony System Mod
    - Adds a bunch of features:
    - Habitation
    - Hydroponics
    - Resource extraction
    - Parts manufacturing
    - Designed for both in-space and on-planet colonisation

    View Slide

  49. View Slide

  50. Lessons Learned
    Space colonisation is REALLY HARD

    View Slide

  51. View Slide

  52. The Comprehensive Kerbal
    Archive Network (CKAN)
    PART THREE

    View Slide

  53. KSP is a great game

    View Slide

  54. KSP with mods is an
    AWESOME game

    View Slide

  55. Installing mods
    by hand?

    View Slide

  56. Realistic Progression
    “Lite”

    View Slide

  57. View Slide

  58. View Slide

  59. View Slide

  60. “I’ll hack something together..”

    View Slide

  61. “Like apt-get for KSP”

    View Slide

  62. 300 hours later...

    View Slide

  63. View Slide

  64. View Slide

  65. Cross-platform
    minimal dependencies

    View Slide

  66. MIT/CC-0 license

    View Slide

  67. Citizen Code of Conduct

    View Slide

  68. Implements the
    Debian spec

    View Slide

  69. RealismOverhaul.netkan
    {
    "spec_version" : "v1.2",
    "$kref" : "#/ckan/github/KSP-RO/RealismOverhaul",
    "$vref" : "#/ckan/ksp-avc",
    "name" : "Realism Overhaul",
    "identifier" : "RealismOverhaul",
    "abstract" : "Multipatch to KSP to give spacecraft components realistic stats
    and sizes, and performance based on real-world spacecraft.",
    "license" : "CC-BY-SA",
    "release_status" : "stable",
    "depends" : [
    { "name" : "AdvancedJetEngine" },
    { "name" : "CrossFeedEnabler" },
    { "name" : "FerramAerospaceResearch" },
    { "name" : "KerbalJointReinforcement" },
    …],
    "resources" : {
    "homepage" : "http://forum.kerbalspaceprogram.com/threads/99966"
    },
    "install" : [ ...

    View Slide

  70. 15,000+ active users
    (Downloads in the last week)

    View Slide

  71. Almost 900 mods
    (Includes many pre-1.0 only mods)

    View Slide

  72. ~ 3,500 releases

    View Slide

  73. 200+ contributors
    (Yes, really!)

    View Slide

  74. Infrastructure Sponsorship
    (AWS)

    View Slide

  75. Software Development Grant (OSDC)

    View Slide

  76. Patreon Campaign
    patreon.com/pjf0

    View Slide

  77. View Slide

  78. I miss playing KSP

    View Slide

  79. Mods are really easy
    Seconds instead of hours

    View Slide

  80. Decades of human
    joy delivered

    View Slide

  81. “Seriously. I mod dozens of games,
    everything from Age of Empires to Sins of a
    Solar Empire to Bethesda stuff, and not one
    game out there has anything quite like
    CKAN. It's worlds ahead of any other mod
    manager program for any other game I've
    ever played”
    — /u/Pyrhhus

    View Slide

  82. github.com/
    KSP-CKAN/CKAN/
    patreon.com/pjf0

    View Slide

  83. Part Four
    Hardware!!
    Now with added…

    View Slide

  84. View Slide

  85. Best to start out here!

    View Slide

  86. But then add cardboard ...

    View Slide

  87. … and hard cases!

    View Slide

  88. View Slide

  89. View Slide

  90. View Slide

  91. ● KSPSerialIO
    o https://github.com/unixunion/KSPSerialIO
    ● Telemachus
    o https://github.com/richardbunt/Telemachus
    The ways and means…

    View Slide

  92. Telemachus

    View Slide

  93. WebSocket API
    Data can be collected from KSP using the Telemachus web
    socket API, which sits on top of the rfc6455 web socket
    protocol. To connect to the Telemachus web socket server
    use a URL of the following form.
    ws://:/datalink

    View Slide

  94. SerialIO
    https://github.com/zitron-git/KSPSerialIO
    https://github.com/unixunion/KSPSerialIO

    View Slide

  95. DEMO TIME!

    View Slide

  96. Part Five
    What people are doing with KSP

    View Slide

  97. aka Tim has opinions about KSP

    View Slide

  98. The Squad way of playing KSP
    1. Start a new game
    2. Pick an easy mission
    3. Finish it
    4. Pick a harder mission
    5. Finish it
    6. Repeat Step 4

    View Slide

  99. How I think people play
    1. Get confused
    2. Manage to not blow up a rocket
    3. Manage to orbit Kerbin
    4. Manage to do something “cool”
    5. Repeat step 4
    6. Watch other people play KSP

    View Slide

  100. Let’s Play

    View Slide

  101. www.youtube.com/user/szyzyg/

    View Slide

  102. Challenges
    1. People self-issue or accept 3rd party challenges from the to community
    2. Try and complete the challenge
    3. Generally then show it off

    View Slide

  103. https://www.youtube.com/watch?v=OD1_LXvcaIM

    View Slide

  104. Crazy stuff

    View Slide

  105. http://www.reddit.com/user/Dr_Martin_V_Nostrand

    View Slide

  106. http://www.reddit.com/user/Dr_Martin_V_Nostrand

    View Slide

  107. http://www.reddit.com/user/Dr_Martin_V_Nostrand

    View Slide

  108. http://www.reddit.com/user/Dr_Martin_V_Nostrand

    View Slide

  109. http://imgur.com/a/eEVmi

    View Slide

  110. http://imgur.com/a/eEVmi

    View Slide

  111. http://imgur.com/a/eEVmi

    View Slide

  112. http://imgur.com/a/eEVmi

    View Slide

  113. http://imgur.com/a/eEVmi

    View Slide

  114. http://imgur.com/a/eEVmi

    View Slide

  115. KSP & Art!
    http://a.fresh.horse/1fq1gbp

    View Slide

  116. http://i.imgur.com/8rH7soh.jpg

    View Slide

  117. http://i.imgur.com/K0fR5MB.png

    View Slide

  118. http://a.fresh.horse/1HVTuO6

    View Slide

  119. http://a.fresh.horse/1HVTuO6

    View Slide

  120. http://a.fresh.horse/1HVTuO6

    View Slide

  121. http://a.fresh.horse/1RYgZ3l

    View Slide

  122. http://i.imgur.com/XBryUCr.jpg

    View Slide

  123. View Slide

  124. ‘‘Right now the Kerbal’s vibrant green skin was
    flushing dark in arousal.’’
    https://www.fanfiction.net/s/10607988/1/Structural-Failure

    View Slide

  125. Education
    aka learning about rockets

    View Slide

  126. View Slide

  127. View Slide

  128. View Slide

  129. View Slide

  130. View Slide

  131. View Slide

  132. View Slide

  133. Thanks!
    pjf’s CKAN patreon campaign at http://patreon.com/pjf0
    Image Credits:
    ● Screenshots from “Kerbal Space Program” © Squad
    ● “Kerbal Space Oddysey” by Mk01 http://mk01.deviantart.com/art/Kerbal-Space-
    Odyssey-243246016 (CC-BY-NC-SA)
    ● “Six Words” by Randall Munroe https://xkcd.com/1244/ (CC-BY-NC)
    ● “Orbital Mechanics” by Randall Munroe https://xkcd.com/1356/ (CC-BY-NC)
    ● “CRS-4” by SpaceX https://www.flickr.com/photos/spacexphotos/16661753958 (public
    domain)
    ● “Planetoid plows into the primordial Earth” by Don Davis (public domain) https://
    commons.wikimedia.org/wiki/File:Planetoid_crashing_into_primordial_Earth.jpg
    ● “Space Colony” by Rick Guidice (public domain) https://commons.wikimedia.org/wiki/
    File:Spacecolony3edit.jpeg
    ● Terrible illustrations by Jon, all rights reserved no stealing my top quality art ever
    ● JK they’re under CC-BY
    Tweet us: @parisba, @desplesda, @pjf, @aallan, @the_mcjones

    View Slide