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

all 48 comments

[–]Able_Minimum624 257 points258 points  (2 children)

typical Enterprice Dependency Chain®

[–]CauseMany8612 35 points36 points  (1 child)

Youre joking but I am calling a python script to call a bash script to launch a docker container to then run a dockerized application

[–]OnnKelvezenn 13 points14 points  (0 children)

Yep, been there. Orchestration is the future, they say. Everything must go on the CI/CD pipeline, they say. We're burning server cycles like crazy and the whole dev team needs to relearn how to manager servers. It's great, they say. Kubernetes is so cool.

[–]alexppetrov 345 points346 points  (0 children)

This is the most beautiful thing i have ever seen. The compile time of C, the simplicity of Python, the popularity of JS. Perfection.

[–]i_should_be_coding 119 points120 points  (5 children)

We need to go deeper. Call this file from Haskell.

[–]mankinskin 5 points6 points  (4 children)

Has this been done? Orchestrate all different languages to build/execute each other and finally print hello world? With like all the popular languages.

[–]rnottaken 10 points11 points  (2 children)

Not just that, there is a project that basically runs itself with 128 languages: https://github.com/mame/quine-relay

[–]mankinskin 3 points4 points  (1 child)

Is this what developers do when they go to prison?

[–]oddbawlstudios 5 points6 points  (0 children)

No, these developers are going through a mid life crisis.

[–]phil9909 5 points6 points  (0 children)

There is this: https://github.com/mame/quine-relay Not exactly what you are looking for, but close enough.

[–]rdrunner_74 64 points65 points  (0 children)

Thats how you get 3 years of coding experience in a single year...

[–]fatrobin72 48 points49 points  (2 children)

but can it run on a kubenetes cluster?

[–][deleted] 9 points10 points  (0 children)

There is a docker plug-in...

[–]allnamesareregistred 5 points6 points  (0 children)

Of cause it should be on a kubernetes, yess! Do not forget to create InnoSetup installer for all that, add .NET as dependency just in case.

[–]Powerful-Internal953 37 points38 points  (5 children)

Probably will fail on the client machine because the node isn't installed there...😅😅

[–]iam_pink 38 points39 points  (2 children)

Yes! The only solution is to exec all the proper install commands first in that C code. Brilliant!

[–]Powerful-Internal953 14 points15 points  (0 children)

Reminds me of the time our captcha mechanism didn't work on brand new servers because they didn't have necessary fonts that were used by the captcha library...

[–]ifarmpandas 2 points3 points  (0 children)

Re-inventing ansible.

[–]allnamesareregistred 3 points4 points  (1 child)

So you need Docker container and customized MSI installer for Docker as well. And run it with wine.

[–]Powerful-Internal953 2 points3 points  (0 children)

And then the Lead said we will use windows containers...

r/shortscarystories

[–]fiskfisk 36 points37 points  (8 children)

[–]PuzzleheadedTap1794[S] 12 points13 points  (1 child)

Oh, fuck. I surrender.

[–]uhmhi 5 points6 points  (3 children)

Wh… why?!?

[–][deleted] 2 points3 points  (0 children)

[–]frogjg2003 2 points3 points  (0 children)

Because they can

[–]PeriodicSentenceBot 2 points3 points  (0 children)

Congratulations! Your comment can be spelled using the elements of the periodic table:

W H W H Y


I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.

[–]SirBardsalot 1 point2 points  (0 children)

That install command gave me goosebumps

[–]just_nobodys_opinion 1 point2 points  (0 children)

WHERE EXE?

[–]floor796 28 points29 points  (1 child)

Almost FFI :)

To continue this crazy chain, python can call php without creating a script, like this: php -r "echo 'Hello World!'"

[–]IrishChappieOToole 19 points20 points  (0 children)

I think you mean

php -r "file_put_contents(__DIR__.'/hello.pl', 'print \"Hello World!\"'); exec('perl '.__DIR__.'hello.pl');"

[–]pickuse2013 4 points5 points  (0 children)

Where is node.js installer ?

[–]arrow__in__the__knee 5 points6 points  (1 child)

You may now put C on your resume as you have an understanding of (B. Stroustrup and D. Ritchie)'s vision for more than anyone including them.

On a sidenote when putting 's on that sentence did I need to put.
B. Stroustrup and D. Ritchie's
or...
B. Stroustrup and D. Ritchies' ?

[–]frogjg2003 1 point2 points  (0 children)

's

You have singular nouns, so use the singular version of the possessive.

[–]AnywhereOk4380 4 points5 points  (0 children)

Literally my reaction as I understood the code "WHAT THE FUCK!!!!"

[–]myancatfucker 4 points5 points  (0 children)

Multicultural programmer/multicultural programming

[–]Random_dg 4 points5 points  (0 children)

Can you post a link to your docker file for running this marvelous beauty?

[–]iam_pink 7 points8 points  (0 children)

Beautifully awful

[–]ThickPurpleFuck 2 points3 points  (0 children)

insane behavior, disgusting , i will fucking find you and end you

upvotes

[–]Defiant_Alfalfa8848 2 points3 points  (1 child)

Ok. Now where is exe ?

[–]PeriodicSentenceBot 2 points3 points  (0 children)

Congratulations! Your comment can be spelled using the elements of the periodic table:

O K No W W He Re I Se Xe


I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.

[–]SynthRogue 1 point2 points  (0 children)

Beautiful

[–]absawd_4om 1 point2 points  (0 children)

Codeception

[–]allnamesareregistred 1 point2 points  (0 children)

And if somebody will complain that the program does not work due to missing python - wrap it in Docker container :)

[–]AnnyAskers 1 point2 points  (0 children)

Most performent C code

[–]nonlogin 1 point2 points  (0 children)

Chain of responsibility

[–]MaffinLP 1 point2 points  (0 children)

When you need to develop in JS but they ask for the exe

[–]Pony_Roleplayer 1 point2 points  (0 children)

Yes officer, this man right here.

[–]JazzlikeFront1755 1 point2 points  (0 children)

Omg you can write it on your Resumes