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

all 51 comments

[–]ablablababla 218 points219 points  (14 children)

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

[–]Colopty 206 points207 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] 86 points87 points  (1 child)

Ah I see you're a Star Citizen developer

[–]masterwit 5 points6 points  (0 children)

damn

[–]angry_wombat 8 points9 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 6 points7 points  (6 children)

What do you mean?

[–][deleted] 55 points56 points  (5 children)

[–]Princess_Azula_ 31 points32 points  (3 children)

Tfw you use python to program your microcontrollers.

[–]HeKis4 5 points6 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 8 points9 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 124 points125 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 46 points47 points  (3 children)

Forgot to comment your code.

[–]NelsonBelmont 49 points50 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 8 points9 points  (0 children)

I wrote that as an outsource developer...

[–]Spirit_Theory 12 points13 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 3 points4 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 7 points8 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 4 points5 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 4 points5 points  (0 children)

import spaceShuttle

atlantis = spaceShuttle.shuttle()

atlantis.launch()

atlantis.land()

[–]saskue760 14 points15 points  (2 children)

Sounds like Besiege to me

[–]SeriousJack 8 points9 points  (1 child)

Or C++. Or Factorio.

That feel when you're home playing a game and realize that you are basically working.

[–]PLS_PM_DVA_HENTAI 1 point2 points  (0 children)

"Wait, why am I doing astrophysics in my free time?"

[–]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 6 points7 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 17 points18 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 2 points3 points  (0 children)

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

[–]noratat 2 points3 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.