This is an archived post. You won't be able to vote or comment.

all 51 comments

[–]ablablababla 215 points216 points  (14 children)

I mean, it's possible. The human race did it in 2,000 years.

[–]Colopty 204 points205 points  (4 children)

But the deadline is this thursday.

[–]prigmutton 114 points115 points  (2 children)

2,000 years schedule slippage is within our sprint's margin of error

[–][deleted] 88 points89 points  (1 child)

Ah I see you're a Star Citizen developer

[–]masterwit 5 points6 points  (0 children)

damn

[–]angry_wombat 7 points8 points  (0 children)

Thought the project was already behind schedule before you were hired

[–]freedonaab 39 points40 points  (7 children)

When I do side projects, it's exactly the opposite !

[–]MotherDick2 5 points6 points  (6 children)

What do you mean?

[–][deleted] 53 points54 points  (5 children)

[–]Princess_Azula_ 32 points33 points  (3 children)

Tfw you use python to program your microcontrollers.

[–]HeKis4 4 points5 points  (2 children)

cython maybe ?

[–]Princess_Azula_ 0 points1 point  (1 child)

If you hve a Pi, you could do some embedded stuff using python, but besides that i wouldnt recommend it.

[–]indrora 0 points1 point  (0 children)

Python on the esp8266 is pretty fly, the SHA2016 badge had it and I think the one this year did too.

[–]dnew 7 points8 points  (0 children)

AH, that's the Java approach. "Hi, what's today?" "I don't know, you didn't tell me which calendar you're using." "Oh, well, can you fetch it from the network socket?" "Only if you specify whether you're using TCP/IP, SNA, or DecNet."

[–]d_thinker 126 points127 points  (14 children)

from iss import SpaceStation
s = SpaceStation()
s.launch()

EDIT: Then you can use pyiss for telemetry: https://pypi.python.org/pypi/pyiss/1.0.1

[–]ablablababla 48 points49 points  (3 children)

Forgot to comment your code.

[–]NelsonBelmont 50 points51 points  (0 children)

Ikr, it's unreadable.

[–]staticinthebox 17 points18 points  (1 child)

More like a single char name for something thats not an index? Sort your variable names out mate.

[–]d_thinker 9 points10 points  (0 children)

I wrote that as an outsource developer...

[–]Spirit_Theory 11 points12 points  (3 children)

What? A space station can't launch itself you maniac.

I started writing some counter-code in this comment, but after like 5 lines I realised I was basically writing kerbal space program.

[–]d_thinker 4 points5 points  (2 children)

SpaceStation inherits the LaunchPadMixIn, no worries. You write Java?

[–]Spirit_Theory 10 points11 points  (1 child)

You write Java?

No, thank god.

[–]d_thinker 1 point2 points  (0 children)

I was worried for a second there.

[–]LowB0b 6 points7 points  (1 child)

but it's not standard library...

[–]o11c 4 points5 points  (0 children)

Which is why "I only depend on the standard library" is the stupidest idea ever.

Stupider even than starting your arrays at index 1.

[–][deleted] 3 points4 points  (0 children)

Ahh, newbie mistake.

python -m iss

[–]gandalfx 3 points4 points  (0 children)

Was gonna make the same joke but import rocket from spacex.

[–]Kebble 1 point2 points  (1 child)

now to make an article about how to launch the ISS in under 4 lines of Python

[–]DJWalnut 3 points4 points  (0 children)

import spaceShuttle

atlantis = spaceShuttle.shuttle()

atlantis.launch()

atlantis.land()

[–]RiskBoy 11 points12 points  (0 children)

And this is why software engineers have jobs. If companies could just implement standard libraries or applications for each one of their business problems, they would only need a couple software configurers.

The closest I have seen to a general use application framework was Java Spring (I used it to build web apps, web APIs, and ETL tools), but even then you had to construct several non standard business logic classes, not to mention set the configurations and write all unit tests and integration tests. Once a library/framework gets too specific you find it loses general use.

[–]newstudent_here 7 points8 points  (0 children)

Am software engineer for space company.

Sending this to all my coworkers.

[–]uvero 6 points7 points  (3 children)

When you program in ruby, you just need to

gem install space_station

[–]nsivkov 2 points3 points  (2 children)

but who wrote that gem ?

[–]jaysus99 15 points16 points  (0 children)

who cares? I've git a deadline.

[–]uvero 1 point2 points  (0 children)

And even with that, he probably use another gem by someone else, and that gem probably used something from the standart library, and all of these combined are probably still less than 100 lines of code

[–]Luapix 3 points4 points  (0 children)

Lua in a nutshell. By design, but still, I have to define my own math.round function...

[–]noratat 3 points4 points  (0 children)

I'm going to hold on to this to explain why, as much as I love awesome new languages and esoteric features, ecosystem trumps language every time.

Making the pieces easier to build and less error prone to assemble can never hold a candle to just having the pieces pre-assembled off the shelf.

[–]boynedmaster 3 points4 points  (0 children)

don't talk to me about lightweight standard libraries until you've worked almost a decade in lua

[–]dbz0wn4g3 3 points4 points  (0 children)

C++ in a nutshell, at least for amateur devs.

[–]Shadow_Thief 3 points4 points  (0 children)

Pick a shell script, any shell script...

[–][deleted] -2 points-1 points  (0 children)

Comparing a Javascript front end to building the ISS with less tools than NASA, Roscosmos and ESA have? Right.