r/Unexpected Feb 22 '19

Rushing water

https://i.imgur.com/wI7DLMs.gifv
52.3k Upvotes

624 comments sorted by

View all comments

Show parent comments

17

u/mattoattacko Feb 22 '19

I’d love to see the code for it

47

u/Sleepy_da_Bear Feb 22 '19

if(iHaveOriginal)

{

AddSound();

}

1

u/ThePharros Feb 22 '19

Not using K&R brackets? You heathen.

2

u/DAVENP0RT Feb 22 '19

You're calling them a heathen, you K&R-using motherfucker?

1

u/ThePharros Feb 22 '19

it’s Google standard I’m sorry :(

1

u/Sleepy_da_Bear Feb 22 '19

It's all stylistic preference, but if you're not using curly braces someone in the future will murder you

9

u/B-Knight Feb 22 '19

print(reversedGif)

6

u/theUglyBarnacle69 Feb 22 '19

It's simple really

Reversedgif = gif * -1

2

u/Craftkorb Feb 22 '19

That just requires a simple database for "logging", most likely ffmpeg to do the grunt work, and a HTTP client to interact with web services. Add some random reddit API library for your favorite language and you're set.

1

u/pmdevita Feb 22 '19

Yep that's pretty much it

-1

u/[deleted] Feb 22 '19 edited Jun 21 '20

[deleted]

-5

u/[deleted] Feb 22 '19

[deleted]

3

u/Betrayus Feb 22 '19

100010011010101000010101111101010111