Skip to main content

Posts

Scratch 3.0 for windows7 !

Have You Ever Imagined Scratch 3.0 will be possible  for  windows 7 ?  Well, yes, it's possible and very easy  Simple Method! Prerequisite: Adobe AIR is not required but installing it will solve some possible errors, so install it from here:  here   Visit  here  to download your scratch 3.0 for windows 7! Next, continue all the installation Prompts, and Hoo-Hoo! Your scratch 3.0 starts running! The Developers Method! Do you feel downloading from an unofficial site is wrong? Well then you can  make your own   Official Version Since you're a Developer, you should already have: git-scm node js and npm A text editor(not required now) If not Make sure you install it. Run the following commands in the command prompt, one by one git clone https://github.com/LLK/scratch-desktop.git cd scratch-desktop npm install Now that we have done the setup, it's time to make our exe! and the trick is running the build command given below make the exe compatible with our OS (win7) automati

Decimal to Binary, New equation!

 Have you ever imagined we could convert decimal to binary using an expression? Well no, we always use a `long division` like method ,see Fig.1 Fig.1:  image source Is there a computer expression? Before that lets see some interesting patterns of binary ,see Fig.2 Fig.2 notice the image carefully As you can see  in row 1 patern goes like 0,1,0,1,0,1,0,1 because row 1 is for [place holder 1 -top to bottom] in row 3 patern goes like 0,0,0,0,1,1,1,1 because row 3 is for [place holder 4-top to bottom] Note: I mean rows as from right to left The expression! Values Here: Number: 0-infinity (a value to be converted to binary) binary holder: 1 / 2 / 4 / 8 / 16 / 32 / ... (Place of binary needed, just like tens, hundreds) Result: 0 or 1   Is it not interesting when there is no if condition, and we can get 0 or 1 with just a simple expression? Expression in words: expression 1:   [the number, subtracted from ( reminder we get ,when we divide the same number by binary holder)] note that, resu