I love it when Chrome releases a new feature, I especially like it when it is experimental. In this post I'm going to show you how I created Tic Tac Toe (Noughts and crosses) with HTML, using one of t
zout
link
fedilink
231Y

Sorry, but, mb, in lowercase? Like millibit?

@kinttach@lemm.ee
link
fedilink
English
191Y

“I implemented the FizzBuzz algorithm in only 10 million lines of code!”

@cbarrick@lemmy.world
link
fedilink
English
121Y
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";
        ...
    }
}

A terrifying number of people think like that.

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.

@cbarrick@lemmy.world
link
fedilink
English
111Y

whatever we’re calling the lowercase thing

  • M: “Mega”: 1000^2
  • Mi: “Mebi”: 1024^2
  • m: “Milli”: 1000^-1
Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog