MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/utk1j3/found_reddit_video_player_source_code/i9al3s8
r/ProgrammerHumor • u/weird_dude_69_420 • May 20 '22
533 comments sorted by
View all comments
460
If Reddit devs need a hand, I am sure that r/ProgrammerHumor community could make a better video player just for the meme.
166 u/weird_dude_69_420 May 20 '22 I'm in. 79 u/SteeleDynamics May 20 '22 Let's do it. 0 u/[deleted] May 20 '22 [deleted] 36 u/chifrij0 May 20 '22 Or python, dear god 37 u/Maypher May 20 '22 Let's do in binary! 6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1) → More replies (1) 21 u/queen-adreena May 20 '22 You want to write frontend browser code and not use JS… 16 u/2carrotpies May 20 '22 edited May 20 '22 Let’s program it in HTML! 7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it! 2 u/CupidNibba May 20 '22 I'll cut you a deal, typescript? → More replies (2) → More replies (4) 49 u/[deleted] May 20 '22 Here,const VideoHandler = (): void -> { if (Video.IsInteresting() || Math.random() > 0.5) { RedditVideoPlayer.Play(); } else { RedditVideoPlayer.Play(); } }; 0 u/[deleted] May 20 '22 [deleted] 12 u/YouTube-r May 20 '22 const VideoHandler = (): void -> { if (Video.IsInteresting()) { RedditVideoPlayer.Play(); } else if(Math.random() > 0.5) { RedditVideoPlayer.Play(); } else if(Math.random() < 0.5) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(!RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(false) { RedditVideoPlayer.Play(); } }; 2 u/OffBrandNameBrand May 20 '22 This is the way, just forgot to make the pause btn also a play button :,) → More replies (1) 39 u/CoastingUphill May 20 '22 And just like that, 100 new side projects were started, never to be finished. 32 u/[deleted] May 20 '22 They could also go back to an old version. Around a year ago it worked fine for me in the app 19 u/spikegk May 20 '22 Yeah but that was legacy code no one knew how to build anymore so it had to go. 12 u/50-Lucky May 20 '22 Somewhere in the code is //Epstein didnt kill himselfGuaranteed 5 u/kingerthethird May 20 '22 No, that's not a comment, it's a constant.EPSTEINDIDNTKILLHIMSELF = TRUE; → More replies (1) → More replies (1) 3 u/ishdx May 20 '22 or how about just use the built-in browser video player → More replies (2)
166
I'm in.
79 u/SteeleDynamics May 20 '22 Let's do it. 0 u/[deleted] May 20 '22 [deleted] 36 u/chifrij0 May 20 '22 Or python, dear god 37 u/Maypher May 20 '22 Let's do in binary! 6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1) → More replies (1) 21 u/queen-adreena May 20 '22 You want to write frontend browser code and not use JS… 16 u/2carrotpies May 20 '22 edited May 20 '22 Let’s program it in HTML! 7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it! 2 u/CupidNibba May 20 '22 I'll cut you a deal, typescript? → More replies (2) → More replies (4)
79
Let's do it.
0 u/[deleted] May 20 '22 [deleted] 36 u/chifrij0 May 20 '22 Or python, dear god 37 u/Maypher May 20 '22 Let's do in binary! 6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1) → More replies (1) 21 u/queen-adreena May 20 '22 You want to write frontend browser code and not use JS… 16 u/2carrotpies May 20 '22 edited May 20 '22 Let’s program it in HTML! 7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it! 2 u/CupidNibba May 20 '22 I'll cut you a deal, typescript? → More replies (2) → More replies (4)
0
[deleted]
36 u/chifrij0 May 20 '22 Or python, dear god 37 u/Maypher May 20 '22 Let's do in binary! 6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1) → More replies (1) 21 u/queen-adreena May 20 '22 You want to write frontend browser code and not use JS… 16 u/2carrotpies May 20 '22 edited May 20 '22 Let’s program it in HTML! 7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it! 2 u/CupidNibba May 20 '22 I'll cut you a deal, typescript? → More replies (2) → More replies (4)
36
Or python, dear god
37 u/Maypher May 20 '22 Let's do in binary! 6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1) → More replies (1)
37
Let's do in binary!
6 u/Je-Kaste May 20 '22 That's not portable :( 5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1)
6
That's not portable :(
5 u/Ohlav May 20 '22 Please, not Java... 2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1)
5
Please, not Java...
2 u/C-Mitch213 May 20 '22 How bout C#? → More replies (1)
2
How bout C#?
→ More replies (1)
21
You want to write frontend browser code and not use JS…
16 u/2carrotpies May 20 '22 edited May 20 '22 Let’s program it in HTML! 7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it! 2 u/CupidNibba May 20 '22 I'll cut you a deal, typescript? → More replies (2)
16
Let’s program it in HTML!
7 u/BertRenolds May 20 '22 Program. HTML.Kk, I'm in. 2 u/Ohlav May 20 '22 Now I am feeling it!
7
Program. HTML.
Kk, I'm in.
2 u/Ohlav May 20 '22 Now I am feeling it!
Now I am feeling it!
I'll cut you a deal, typescript?
49
Here,
const VideoHandler = (): void -> { if (Video.IsInteresting() || Math.random() > 0.5) { RedditVideoPlayer.Play(); } else { RedditVideoPlayer.Play(); } };
0 u/[deleted] May 20 '22 [deleted] 12 u/YouTube-r May 20 '22 const VideoHandler = (): void -> { if (Video.IsInteresting()) { RedditVideoPlayer.Play(); } else if(Math.random() > 0.5) { RedditVideoPlayer.Play(); } else if(Math.random() < 0.5) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(!RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(false) { RedditVideoPlayer.Play(); } }; 2 u/OffBrandNameBrand May 20 '22 This is the way, just forgot to make the pause btn also a play button :,) → More replies (1)
12 u/YouTube-r May 20 '22 const VideoHandler = (): void -> { if (Video.IsInteresting()) { RedditVideoPlayer.Play(); } else if(Math.random() > 0.5) { RedditVideoPlayer.Play(); } else if(Math.random() < 0.5) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(!RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(false) { RedditVideoPlayer.Play(); } }; 2 u/OffBrandNameBrand May 20 '22 This is the way, just forgot to make the pause btn also a play button :,) → More replies (1)
12
const VideoHandler = (): void -> { if (Video.IsInteresting()) { RedditVideoPlayer.Play(); } else if(Math.random() > 0.5) { RedditVideoPlayer.Play(); } else if(Math.random() < 0.5) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(!RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(RedditVideoPlayer.isPlaying) { RedditVideoPlayer.Play(); } else if(true) { RedditVideoPlayer.Play(); } else if(false) { RedditVideoPlayer.Play(); } };
2 u/OffBrandNameBrand May 20 '22 This is the way, just forgot to make the pause btn also a play button :,) → More replies (1)
This is the way, just forgot to make the pause btn also a play button :,)
39
And just like that, 100 new side projects were started, never to be finished.
32
They could also go back to an old version. Around a year ago it worked fine for me in the app
19 u/spikegk May 20 '22 Yeah but that was legacy code no one knew how to build anymore so it had to go.
19
Yeah but that was legacy code no one knew how to build anymore so it had to go.
Somewhere in the code is //Epstein didnt kill himself
Guaranteed
5 u/kingerthethird May 20 '22 No, that's not a comment, it's a constant.EPSTEINDIDNTKILLHIMSELF = TRUE; → More replies (1) → More replies (1)
No, that's not a comment, it's a constant.
EPSTEINDIDNTKILLHIMSELF = TRUE;
3
or how about just use the built-in browser video player
460
u/OffBrandNameBrand May 20 '22
If Reddit devs need a hand, I am sure that r/ProgrammerHumor community could make a better video player just for the meme.