Reddit Programming
197 subscribers
1.22K photos
127K links
I will send you newest post from subreddit /r/programming
Download Telegram
The Elevator Glitch: How One Function Destroyed Public Lobbies in CoD4
https://www.reddit.com/r/programming/comments/1v94mgb/the_elevator_glitch_how_one_function_destroyed/

<!-- SC_OFF -->Walk with me inside one of the most influential game's code and discover the secret of elevators! Turns out the bug comes down to a single line buried in the engine's collision code. Went through the decompiled source (thanks to KisakCOD) and traced the whole thing back. Let me know your thoughts! <!-- SC_ON --> submitted by /u/Rex109 (https://www.reddit.com/user/Rex109)
[link] (https://www.youtube.com/watch?v=U0kAwjFuxoo) [comments] (https://www.reddit.com/r/programming/comments/1v94mgb/the_elevator_glitch_how_one_function_destroyed/)
The Bedrock of Software Design
https://www.reddit.com/r/programming/comments/1vcl5bj/the_bedrock_of_software_design/

<!-- SC_OFF -->I drafted this post years ago but didn’t finish it until now. The concept I write about has shaped the way I design software more than anything else, and I believe every software engineer should be introduced to it early in their career. P.S. I don’t want the title to come across as clickbait: the post is about ADT. <!-- SC_ON --> submitted by /u/alex35mil (https://www.reddit.com/user/alex35mil)
[link] (https://alex.draftist.io/blog/the-bedrock-of-software-design-ycqvcedsj) [comments] (https://www.reddit.com/r/programming/comments/1vcl5bj/the_bedrock_of_software_design/)
Variations on a theme of sorting
https://www.reddit.com/r/programming/comments/1vd5q3j/variations_on_a_theme_of_sorting/

<!-- SC_OFF -->Semisort Reorder an array so that identical keys are grouped contiguously Keys do not need to be in sorted order Stable Partition
Group by predicate, preserve order K-smallest selection, single Get the k-smallest key from the array K-smallest selection, list Get the k-smallest key from the array, and everything smaller (or equal), in any order K-smallest selection, list sorted Get the k-smallest key from the array, and everything smaller (or equal), in sorted order <!-- SC_ON --> submitted by /u/Grouchy-Trade-7250 (https://www.reddit.com/user/Grouchy-Trade-7250)
[link] (https://jshun.csail.mit.edu/6506-s24/lectures/lecture6-2.pdf) [comments] (https://www.reddit.com/r/programming/comments/1vd5q3j/variations_on_a_theme_of_sorting/)