[{"element_type":"image_url","content":"https://sps.nus.edu.sg/wp-content/uploads/2021/06/DrakeEqn-1024x387.png","metadata":{"alt":"The","caption":"The Drake Equation"}},{"element_type":"text","content":"\n        \u003cp\u003e\u003cstrong\u003eUPDATE! \u003c/strong\u003e\u003cem\u003eI discovered the \"drake.py\" file in my github\u0026nbsp; was NOT the program I describe here. I re-wrote the drake.py program and have replaced it in the archive.\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eI enjoy the prospect of SETI, the Search for Extraterrestrial Intelligence. So it's only natural that I'd like to do something with the Drake equation\u0026nbsp; \"... the probabilistic argument used to estimate the number of active, communicative extraterrestrial civilizations in the Milky Way Galaxy.\" (\u003ca href=\"https://en.wikipedia.org/wiki/Drake_equation)\"\u003ehttps://en.wikipedia.org/wiki/Drake_equation)\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eHappily I found an example of coding this calculation (\u003ca href=\"https://github.com/DeaconDesperado/pydrake)\"\u003ehttps://github.com/DeaconDesperado/pydrake)\u003c/a\u003e that I could adapt for this project. I've put the code in a repository \u003ca title=\"Drake code for the NeoTrinkey\" href=\"https://github.com/mrklingon/Drake/\" target=\"_blank\"\u003e\"Drake\"\u003c/a\u003e\u003c/p\u003e\n\u003ch3 class=\"heading-element\"\u003eFiles\u003c/h3\u003e\n\u003cp\u003e\u003ca id=\"user-content-files\" class=\"anchor\" href=\"https://github.com/mrklingon/Drake/#files\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003edrake.py - calculate the Drake equation- based on\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003ca href=\"https://github.com/DeaconDesperado/pydrake\"\u003ehttps://github.com/DeaconDesperado/pydrake\u003c/a\u003e\n\u003c/li\u003e\n\u003cli\u003esagan - Carl Sagan quotes\u003c/li\u003e\n\u003cli\u003ewise.py - selects quotes to display\u003c/li\u003e\n\u003cli\u003encount.py - used for blinking neopixels\u003c/li\u003e\n\u003cli\u003eprt.py - allows prt() to print to REPL or HID keyboard input\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eCopy the files to your NeoTrinkey running (renaming drake.py to \"code.py\").\u003c/p\u003e\n\u003cp\u003eTouch pad#1 for the NeoTrinkey to calculate and print out the estimate - since the factors are coded as ranges, you will get different answers every time. After presenting the calculations, the program will also give a random quote from Carl Sagan - he describes the Drake equation in chapter 12 of his book \"Cosmos.\" This is the \"Science\" part of my project\u003c/p\u003e\n\u003cp\u003eFor fun, touching pad#2 will give a list of the names of the civilized planets - basically generating a random name for as many as the program calculated (plus Earth). Be aware that the number can be large and this will take a while. And yes, this is the \"Fiction\" part. :)\u003c/p\u003e\n\u003cp\u003eChange REPL=False to REPL=True to have output go as if typed via the keyboard.\u003c/p\u003e\n\u003cp\u003eOutput looks like this:\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003ccode\u003e\u003cspan\u003eHow Many Alien Civilations?\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eNumber of stars in the Milky Way 1e+11\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eFraction of stars with planetary systems 0.131585\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eNumber of planets suitable for life 4\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eFraction of suitable planets that develop life 0.283515\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eFraction of life that becomes sentient and eventually intelligent 0.118758\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eFraction of intelligent life that advances to the point of communication 0.0128657\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eAdjustment for incidence of self-destruction 1.10132e-06\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003epossible number of civilizations 25\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003eWho are we? We find that we live on an insignificant planet of a humdrum star lost in a galaxy tucked away in some forgotten corner of a universe in which there are far more galaxies than people. Carl Sagan\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e1: Earth\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e2: Gieuas\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e3: Zoiah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e4: Syoei\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e5: Mieud\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e6: Zoafas\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e7: Syan\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e8: Theuei\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e9: Kieei\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e10: Zoghie\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e11: Syaie\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e12: Syafnk\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e13: Zoyah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e14: Paeah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e15: Miiah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e16: Miuof\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e17: Reaah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e18: Ahghd\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e19: Aheei\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e20: Giafn\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e21: Reud\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e22: Kiyah\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e23: Kighn\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e24: Theie\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e25: Miud\u003c/span\u003e\u003c/code\u003e\u003cbr\u003e\u003ccode\u003e\u003cspan\u003e26: Kieuof\u003c/span\u003e\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eHope you have fun with this - may it give you something to ponder as you look at the night sky.\u003c/p\u003e\n      ","metadata":{}}]