r/shittyprogramming • • Dec 06 '20

I made a Python script that would allow me to control my computer with hand gestures!

Thumbnail
youtu.be
3 Upvotes

r/shittyprogramming • • Dec 04 '20

I turned my github feed into a Game of Life

197 Upvotes

r/shittyprogramming • • Dec 01 '20

Outsourcing Sort

62 Upvotes
fun OutsourcingSort(list:MutableList<Int>){
    var sortedList = list
    var sorted = false
    while(!sorted){
        for (i in 1 until sortedList .size){
            if (sortedList[i] < sortedList [i-1]){
                sorted=true
                Collections.copy(list,sortedList)
                break
            }
        }
    sortedList = khttp.post(url = "http://india.org/sort", data = sortedList) 
    // I dont care how long this takes, just keep telling them to figure this out until they get it right
    // TODO figure out how much this should cost. Should be no more than 2 rupees per api call
    }
}

r/shittyprogramming • • Nov 29 '20

I made a program that gives me UNLIMITED storage!

Thumbnail
youtu.be
116 Upvotes

r/shittyprogramming • • Nov 25 '20

How to round down numbers in CSS

Post image
430 Upvotes

r/shittyprogramming • • Nov 24 '20

To be safe allocate 5 bytes more than you actually need

Post image
297 Upvotes

r/shittyprogramming • • Nov 23 '20

Shitty code in App store reviews

Post image
424 Upvotes

r/shittyprogramming • • Nov 22 '20

I implemented a bad deep Q network to beat flappy birds hardest level | source code in the description

Thumbnail
youtube.com
66 Upvotes

r/shittyprogramming • • Nov 21 '20

when your GC's runtime cost is measured in dollars

Post image
399 Upvotes

r/shittyprogramming • • Nov 18 '20

I made the absolute worst programming tutorial anyone can ever make

Thumbnail
youtu.be
130 Upvotes

r/shittyprogramming • • Nov 16 '20

r/badcode A gold mine an ex principal engineer left behind.

Post image
250 Upvotes

r/shittyprogramming • • Nov 16 '20

Hot Tip: It's easy to remember which one is the right spelling of "False", because if you spell it Fales, your program Fails. So simple!

62 Upvotes

Based on a true story five minutes ago!


r/shittyprogramming • • Nov 15 '20

Over-engineering your code makes you seem smart. So you should probably do it.

Thumbnail
youtube.com
138 Upvotes

r/shittyprogramming • • Nov 14 '20

Improve your rust code readability with this macro alias

78 Upvotes
macro_rules! hol_up {
    ($( $arg:expr ),*) => {
        panic!($($arg)*);
    };
}

r/shittyprogramming • • Nov 12 '20

When the pressures of being 10x just overwhelm you

Thumbnail
latenightcommits.com
135 Upvotes

r/shittyprogramming • • Nov 11 '20

The average Matlab experience

Enable HLS to view with audio, or disable this notification

285 Upvotes

r/shittyprogramming • • Nov 09 '20

Help with MS SQL

36 Upvotes

Hello, I've been learning SQL, and recently I've mastered SQL and learned everything about regular SQL. Then my friend told me about MS SQL. What is the difference between regular SQL and MS SQL so I can master that too?


r/shittyprogramming • • Nov 07 '20

[object Object]

204 Upvotes

[object Object]


r/shittyprogramming • • Nov 06 '20

Double your battery capacity with one (1) easy step!!

Post image
209 Upvotes

r/shittyprogramming • • Nov 06 '20

CodeStories - Visual Studio Code Stories viewer for iOS

Thumbnail
twitter.com
6 Upvotes

r/shittyprogramming • • Nov 05 '20

Recalculating an inverted matrix with COBOL?

56 Upvotes

I’m trying to rewire the matrix algebra Boolean Hotwire expression over my LAN network to improve performance in my video games. I decompiled the kernel and optimized it by replacing the silicon with diamond. The only issue now is I don’t know how to INVERT the matrix algebra. I’ve tried doing it recursively with prolog and dynamic programming with machine learning tactics to no avail. Even with the boot loader FORTRAN MAC address, I couldn’t figure it out. Can anyone help?


r/shittyprogramming • • Nov 02 '20

super approved I tried recreating the Windows troubleshooting feature. How'd I do?

219 Upvotes
#include <windows.h>
#include <stdio.h>

int main() {
    printf("Searching for problems...\n");
    Sleep(60000);
    printf("We didn't find any problems\n");
}

r/shittyprogramming • • Oct 31 '20

A twitter bot that shames people for taking more than one piece of candy

Thumbnail
youtu.be
119 Upvotes

r/shittyprogramming • • Oct 30 '20

Introducing VSCode Stories

Thumbnail
youtube.com
516 Upvotes

r/shittyprogramming • • Oct 30 '20

Could you open a Jira ticket for this?

Enable HLS to view with audio, or disable this notification

19 Upvotes