Rocket Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Solomoriah
    Incorrigible Kit Basher
    • Jul 2006
    • 1940
    • USA

    #1

    Rocket Database

    Okay, it's not a rocket, it's a program, but... I'm in the process of writing a program to track my ever-growing fleet AND my inventory of rocket engines; the current (not ready for prime time) version allows me to click on a rocket to see what engines it needs, then click on an engine to see what rockets I have that use it. Or, I can say "What Can We Fly Today?" and it will tell me what rockets I have engines for.

    I plan to add a "What Rockets Can I NOT Fly Today" feature to list rockets for which I have NO compatible engines, and clean up the code a bit. What I'd like to know is... would anyone be interested in testing it for me?

    The first release version will have two prerequisites, Python (www.python.org) and pysqlite (long url I'll post later) and will run on Windows or Linux. I plan to create a "monolithic" version later that will include enough of the prereq's that you won't have to download anything, but I won't release that version until I'm more or less happy with it (as it is extra work to create such a release).
    NAR # 115523
    Once upon a better day... SAM #0076
    My site: http://rocketry.gonnerman.org
  • Solomoriah
    Incorrigible Kit Basher
    • Jul 2006
    • 1940
    • USA

    #2
    ... well, that was a resounding silence ...
    NAR # 115523
    Once upon a better day... SAM #0076
    My site: http://rocketry.gonnerman.org

    Comment

    • CPMcGraw
      In Memoriam
      • Mar 2005
      • 5357
      • Mobile, Alabama

      #3
      Originally posted by Solomoriah
      ... well, that was a resounding silence ...
      Solo,

      Don't take the lack of response as a note of disinterest. I'm a programmer, too, and I understand the genereal idea of your program. It sounds like a solution to a problem; that's what a good program does.

      Is the entire program written in Python? You might want to consider "dressing up" the GUI with wxPython (which is Open Source). Is it meant to "stand alone", or is it used through a web browser and "served" like web pages?

      Programming is a niche area in rocketry, so it's not personal that someone doesn't respond immediately. Plug away at it, and send us some screenshots!
      Craig McGraw

      BARCLONE Rocketry -- http://barclone.rocketshoppe.com
      BARCLONE Blogsite -- http://barclone.wordpress.com
      BARCLONE Forum -- BARCLONE Forum

      BARs helping BARs

      SAM 0044
      AMA 352635

      Comment

      • Daniel Runyon
        Cosmic American
        • Jan 2007
        • 350
        • Deep South

        #4
        When I read it last night I thought it was a super good idea, I just don't have enough rockets to justify getting excited presently! It's not hard to keep up with C6-5/B6-4 and A10-3T, but once my fleet and engine complexity grows I would very much appreciate the functionality you're creating!

        I suppose a lot of people just aren't the type to post "sounds good", and there's not much else one could say rather than either "sounds good" or "useless waste of time" (which I wouldn't think anyone would deem it to be). It sounds like you've got most of the useful bases covered so there's little room for suggestion that I can see. You might want to add a function for connecting with credit card and bank accounts so that it pulls up "available resources" so that one can see what rocket stuff they can afford!
        Daniel Runyon Net

        Comment

        • Solomoriah
          Incorrigible Kit Basher
          • Jul 2006
          • 1940
          • USA

          #5
          Originally posted by CPMcGraw
          Is the entire program written in Python? You might want to consider "dressing up" the GUI with wxPython (which is Open Source). Is it meant to "stand alone", or is it used through a web browser and "served" like web pages?
          My bit is pure Python; it needs just two prerequisites, a recent Python interpreter and the pysqlite module (which is a hands-off install, no questions that matter). When you start it (double-click the program icon) it launches a small embedded web server, then starts your preferred web browser as its GUI.

          I'm familiar with wxPython, but frankly I prefer to work in pygtk when I do conventional GUIs. The thing is, I originally wrote this program for myself, as a LAMP application... but if I want to share it with real people, it needs lighter prerequisites.

          I plan to put out a "final" version using py2exe, but it's a bit of a hassle to set up an app for distribution that way so that task will probably get left until later.

          Originally posted by CPMcGraw
          Programming is a niche area in rocketry, so it's not personal that someone doesn't respond immediately. Plug away at it, and send us some screenshots!
          Thanks! I'll do that.

          I've already used it to identify the top three engines I need to stock up on... C6-3, C6-7, and A3-4T.
          NAR # 115523
          Once upon a better day... SAM #0076
          My site: http://rocketry.gonnerman.org

          Comment

          • Solomoriah
            Incorrigible Kit Basher
            • Jul 2006
            • 1940
            • USA

            #6
            Originally posted by dwrunyon
            When I read it last night I thought it was a super good idea, I just don't have enough rockets to justify getting excited presently! It's not hard to keep up with C6-5/B6-4 and A10-3T, but once my fleet and engine complexity grows I would very much appreciate the functionality you're creating!
            I guess I don't have that many yet... but already it's a bit complicated to figure out.

            Of course, the list of "what we can fly today" includes all the recommended engines, so I can print it out and carry it with me as a reminder in the field of what engines go in which rockets. This is a problem for me, as I am a bear of little brain...

            Originally posted by dwrunyon
            I suppose a lot of people just aren't the type to post "sounds good", and there's not much else one could say rather than either "sounds good" or "useless waste of time" (which I wouldn't think anyone would deem it to be). It sounds like you've got most of the useful bases covered so there's little room for suggestion that I can see. You might want to add a function for connecting with credit card and bank accounts so that it pulls up "available resources" so that one can see what rocket stuff they can afford!
            Now, that's just scary...
            NAR # 115523
            Once upon a better day... SAM #0076
            My site: http://rocketry.gonnerman.org

            Comment

            • handeman
              Intermediate Rocketeer
              • Mar 2007
              • 56
              • Northern Virginia

              #7
              I like the idea, I think it could work really well for some people, just not me.

              That’s not because of the program. It’s because of the way I am. Correct me if I’m wrong, but for the "What can/can't we fly today" functions to work, you have to have an accurate inventory of what motors you have on hand. That’s the rub for me.

              I've tried other inventory/help programs similar to this for other things. I've never had the time/discipline/desire to keep the database part of the programs updated. Once the database gets out of sync with the real world, the program doesn't work right anymore.

              For me, I don’t keep track of what motors I burn when I fly. I just look at what I have left before I head to Michael’s with their next 40% off coupon so I know what to buy. Then when I get home, I have enough trouble putting the debit card amount in the checkbook, much less updating a motor inventory.

              If you could find a fast/accurate/easy way of updating the motor inventory whenever you buy or burn a motor. That would really be something. Maybe print an inventory list you can use to check off/count your motors and then sit down at the computer and quickly enter the data in the exact same order. That might make it easier. Create a new inventory each time instead of just adding or subtracting from an existing one. Just an idea.

              Don't let my not being able to use it get in your way. I know there's a lot of people out there that would use and love it. Keep at it.
              Handeman

              TRA #09903

              Comment

              • Solomoriah
                Incorrigible Kit Basher
                • Jul 2006
                • 1940
                • USA

                #8
                Okay, here goes. I have made screenshots of the four main displays, for your edification. The screenshots have been scaled down slightly to make them fit the forum display better. First, the list of rockets:



                Next, the engine inventory:



                (Yes, that's accurate... I am desperately short of engines right now, especially if you know that 9 of the 11 C6-5's are actually Justin's.)

                What can we fly today?



                What can we NOT fly today?



                I am open to suggestions regarding how to make the program work better.

                (No, really, I am...)
                NAR # 115523
                Once upon a better day... SAM #0076
                My site: http://rocketry.gonnerman.org

                Comment

                • hysbyswr
                  Junior Rocketeer
                  • Apr 2007
                  • 13
                  • Edmonton, Alberta, Canada

                  #9
                  I have also been working on an online rocket collection / flight record database. It doesn't look pretty yet, but most of the functionality is there. It currently only supports on user's collection and flights (that being me), but my plan is to have a multi-user version available to the public, so people can track their own fleet and flights, as well as see other people's rockets and launch data.

                  To have a look, go to:

                  http://rocket.t27.ca/

                  Like I said, I haven't spent time making it look nice yet, but you can see the general idea...

                  I have also been thinking of versions for handhelds, such as Palm Pilots, Blackberries, Windows Mobile, etc..

                  Comment

                  • Solomoriah
                    Incorrigible Kit Basher
                    • Jul 2006
                    • 1940
                    • USA

                    #10
                    Mine isn't intended to be "online" per se, and effectively handles just one fleet; I'm combining my rockets, my daughter's rockets and Justin's rockets into a single fleet for my purposes (I hold all the engines anyway). The web pages generated use a template and a CSS file, so that I can change the overall look and feel very easily.

                    The whole program consists of two Python scripts (one of which is just a loader for the other, to take advantage of Python's byte compiler), a zip file containing all the static bits (the pictures, the template and CSS file, and a copy of Scriptaculous), and the actual database file. The pocket-sized web server serves only static items that are in the zip file as well as generated material created in the Python code.

                    You can't see it in the screenshots, but every time an engine designation appears, it's a link that will bring up a list of all rockets that use that engine; likewise, all rocket names in any lists of rockets generated are links that will bring up details about the rocket (and allow the user to change the rocket's information). Inventory updates are handled with an AJAX call so no Submit button is required; the row flashes in yellow to signify that the data has been saved.

                    Doing it as a web-based form made the development cycle crazy fast, even for Python (which is diabolically easy and efficient to code in). I wrote the whole program as it stands now in the time span from Friday night (the 27th) to today, working in my spare time only, without neglecting my family! This includes the original version (12 individual script files running in the standard Linux/MySQL/Apache/Python environment), the unified LAMP version, and the current (final?) version rewritten to use pysqlite for the database and to provide its own webserver (asyncore, which is a beautiful though misunderstood thing). The final script main body is just 631 lines long; the template is another 49 lines long.
                    NAR # 115523
                    Once upon a better day... SAM #0076
                    My site: http://rocketry.gonnerman.org

                    Comment

                    • Solomoriah
                      Incorrigible Kit Basher
                      • Jul 2006
                      • 1940
                      • USA

                      #11
                      Originally posted by hysbyswr
                      I have also been working on an online rocket collection / flight record database. It doesn't look pretty yet, but most of the functionality is there. It currently only supports on user's collection and flights (that being me), but my plan is to have a multi-user version available to the public, so people can track their own fleet and flights, as well as see other people's rockets and launch data.
                      I just took a look at your site. There is an error of some sort involving the DominoActionBar object. You are tracking a lot more information than I am; I don't care, for my purposes, what skill level a rocket is (they're finished, so it doesn't matter anymore...) and I don't track flights (though that is an interesting concept I may add).
                      NAR # 115523
                      Once upon a better day... SAM #0076
                      My site: http://rocketry.gonnerman.org

                      Comment

                      • Solomoriah
                        Incorrigible Kit Basher
                        • Jul 2006
                        • 1940
                        • USA

                        #12
                        If anyone is actually interested, I have prepared both a standalone installer and a source download of the Rocket Database. Both can be downloaded from this rather unsightly page:

                        http://rocketry.newcenturycomputers.net/database.html
                        NAR # 115523
                        Once upon a better day... SAM #0076
                        My site: http://rocketry.gonnerman.org

                        Comment

                        • Daniel Runyon
                          Cosmic American
                          • Jan 2007
                          • 350
                          • Deep South

                          #13
                          Looks pretty cool... I'm going to go ahead and start using it just for fun!

                          Your link to Python doesn't work, but I got it from here.
                          Daniel Runyon Net

                          Comment

                          • Daniel Runyon
                            Cosmic American
                            • Jan 2007
                            • 350
                            • Deep South

                            #14
                            I've just discovered that it wont run from the start menu icon, it only works when I install the program and have "run" checked at finish... when trying from the icon it says it's not meant to be a stand alone program.
                            Daniel Runyon Net

                            Comment

                            • Solomoriah
                              Incorrigible Kit Basher
                              • Jul 2006
                              • 1940
                              • USA

                              #15
                              The download was missing due to a single misplaced quotation mark... gah.

                              Regarding the second problem... I must have made a mistake setting up the Nullsoft installer. What can I say, it's my first time. I'll see if I can get it fixed.
                              NAR # 115523
                              Once upon a better day... SAM #0076
                              My site: http://rocketry.gonnerman.org

                              Comment

                              Working...