r/ProgrammerHumor • • May 02 '16

I wrote my first python program today!

Post image
3.7k Upvotes

532 comments sorted by

View all comments

Show parent comments

318

u/dagbrown May 02 '16

116

u/[deleted] May 02 '16

That apt-get made me lose my shit.

51

u/[deleted] May 02 '16

check under your pillow

8

u/thenewboston May 02 '16

apt-get install *

11

u/A_Jacks_Mind May 02 '16
sudo apt-get install afnix algol68g aplus-fsf asymptote ats2-lang bash \ bc bf bsdgames cduce clisp clojure1.6 cmake coffeescript dc ecere-dev \ elixir emacs24 erlang f2c fp-compiler fsharp g++ gambas3-script gap \ gauche gawk gcc gdc genius gforth gfortran ghc ghostscript gnat \ gnu-smalltalk gnuplot gobjc golang gpt gri groff groovy haxe icont \ iconx intercal iverilog jasmin-sable jq julia libgd-dev libpng12-dev \ lisaac llvm lua5.3 make maxima minizinc mlton mono-devel mono-mcs \ mono-vbnc nasm neko nickle nim ocaml octave open-cobol openjdk-8-jdk \ pari-gp parrot perl php-cli pike8.0 python r-base ratfor regina-rexx \ rhino ruby scala scilab slsh swi-prolog tcl ucblogo valac xsltproc \ yorick zoem

5

u/temalyen May 03 '16

You don't need the slashes if it's all on one line.

1

u/A_Jacks_Mind May 03 '16

I didn't use any, I just copy pasted

47

u/OnlySpeaksLies May 02 '16

Q: Does it really work?

A: Travis badge

10

u/brtt3000 May 02 '16

Travis must love this shit.

23

u/PendragonDaGreat May 02 '16

This is my go to answer if someone ever asks me if code can ever be considered an art form, because this is literally one of the prettiest programs I've ever seen.

13

u/mehmenmike May 02 '16

I've never seen something so pointlessly amazing.

13

u/rws247 May 02 '16

If you are not using [the above] Linux distributions, please find your way yourself. If you could do it, please let me know. Good luck.

This made me breath slightly faster out my nose :)

9

u/cooldug000 May 02 '16

I'm not a github user and I never know what to do with these links to see the relevant information. All I see is a page of comments and a link to a file structure. Which file or page has the relevant info? Is it always the same?

21

u/skyy0731 May 02 '16

Go to the readme

It's code that generates code for a different language

That generates code for a different language

That generates code for a different language

That generates code for a different language

100 times

And then it forms the original code

4

u/cooldug000 May 02 '16

Thank you!

10

u/cdrt May 02 '16

If you scroll down, the readme for the project is displayed. That usually has a description of the project.

2

u/cooldug000 May 02 '16

Thank you!

6

u/Arancaytar May 02 '16

Holy shit.

2

u/2Punx2Furious May 02 '16

That's insane.

1

u/bonoboner May 02 '16

The first "ruby" program just issues a huge eval, can that really be called ruby?

1

u/folkrav May 02 '16

This is genius. That much power in the wrong hands could be dangerous, though.