▲ 114 ▼ Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS (portswigger.net) submitted 2 years ago by mac@programming.dev to c/programming@programming.dev 26 comments fedilink hide all child comments
[–] zout@kbin.social 23 points 2 years ago (2 children) Sorry, but, mb, in lowercase? Like millibit? permalink fedilink source hideshow 4 child comments replies: [–] kinttach@lemm.ee 19 points 2 years ago (1 child) “I implemented the FizzBuzz algorithm in only 10 million lines of code!” permalink fedilink source parent hideshow 2 child comments replies: [–] cbarrick@lemmy.world 13 points 2 years ago (1 child) char* fizzbuzz(int n) { switch (n) { case 0: return "fizzbuzz"; case 1: return "1"; case 2: return "2"; case 3: return "fizz"; case 4: return "4"; case 5: return "buzz"; ... } } permalink fedilink source parent hideshow 2 child comments replies: [–] MagnoliaMayhem@programming.dev 7 points 2 years ago A terrifying number of people think like that. permalink fedilink source parent [–] clearleaf@lemmy.world 8 points 2 years ago (1 child) For comparison the original StarCraft game asks for 80 uppercase megabytes of HDD (76.294 of whatever we're calling the lowercase thing today) and for RAM it asks for 16MB/15.259mib. permalink fedilink source parent hideshow 2 child comments replies: [–] cbarrick@lemmy.world 11 points 2 years ago whatever we're calling the lowercase thing M: "Mega": 1000^2 Mi: "Mebi": 1024^2 m: "Milli": 1000^-1 permalink fedilink source parent
[–] kinttach@lemm.ee 19 points 2 years ago (1 child) “I implemented the FizzBuzz algorithm in only 10 million lines of code!” permalink fedilink source parent hideshow 2 child comments replies: [–] cbarrick@lemmy.world 13 points 2 years ago (1 child) char* fizzbuzz(int n) { switch (n) { case 0: return "fizzbuzz"; case 1: return "1"; case 2: return "2"; case 3: return "fizz"; case 4: return "4"; case 5: return "buzz"; ... } } permalink fedilink source parent hideshow 2 child comments replies: [–] MagnoliaMayhem@programming.dev 7 points 2 years ago A terrifying number of people think like that. permalink fedilink source parent
[–] cbarrick@lemmy.world 13 points 2 years ago (1 child) char* fizzbuzz(int n) { switch (n) { case 0: return "fizzbuzz"; case 1: return "1"; case 2: return "2"; case 3: return "fizz"; case 4: return "4"; case 5: return "buzz"; ... } } permalink fedilink source parent hideshow 2 child comments replies: [–] MagnoliaMayhem@programming.dev 7 points 2 years ago A terrifying number of people think like that. permalink fedilink source parent
[–] MagnoliaMayhem@programming.dev 7 points 2 years ago A terrifying number of people think like that. permalink fedilink source parent
[–] clearleaf@lemmy.world 8 points 2 years ago (1 child) For comparison the original StarCraft game asks for 80 uppercase megabytes of HDD (76.294 of whatever we're calling the lowercase thing today) and for RAM it asks for 16MB/15.259mib. permalink fedilink source parent hideshow 2 child comments replies: [–] cbarrick@lemmy.world 11 points 2 years ago whatever we're calling the lowercase thing M: "Mega": 1000^2 Mi: "Mebi": 1024^2 m: "Milli": 1000^-1 permalink fedilink source parent
[–] cbarrick@lemmy.world 11 points 2 years ago whatever we're calling the lowercase thing M: "Mega": 1000^2 Mi: "Mebi": 1024^2 m: "Milli": 1000^-1 permalink fedilink source parent