Tuesday 24 April 2012

Third Math Riddle

There are N men in the room. Every man has a hat. Someone comes and takes all the hats and shuffle them in the middle of the room, than gives every man a hat. The experiment is repeated M times.
Question: how many men in average will receive their hats?
Hint: even if you don't know the relevant material, you still will be able to solve this riddle. How? See rule.

Thursday 19 April 2012

Second CS Riddle

This time it's going to be CS riddle for the very new students or even school classes. It's very short and no much to write about, but once upon a time I didn't know the answer. So here we go: I give you a range of numbers (from 12 to 120) and I think about one of them (my age). You should guess it by asking me questions while I'm answering with YES and NO only. How would you do it (guess the number via comments) asking me the minimal number of questions?
The rule still applies.

Saturday 7 April 2012

How to Install Windows 7 from a USB drive on Macbook Air - The Really Working Tutorial

1. To make an installable USB drive and make the Macbook support booting from USB drive, read http://howto.cnet.com/8301-11310_39-20020513-285/install-win-7-on-macbook-air-from-a-usb-drive/ until "C. Installing Windows on MacBook Air from the USB thumb drive.".

2. Download the macbook drivers for windows from your Macbook by finding Boot Camp Assistant at the utilities folder, and choosing "Download the latest Windows support software from Apple", it's 700MB. Copy them into a USB drive (if you don't have enough space on the first USB drive, copy them into a new one).

3. Partition your hard drive by typing:

sudo diskutil resizevolume /dev/disk0s2 31G MS-DOS "MS-DOS" 1G

at the terminal, change 31G to your desired size  of the OS X's partition and allow the rest to be allocated for Windows (1G will be changed automatically to the maximum allowed size). Terminal can be found at the utilities folder.

4. Shut down your OS X and start your Macbook again, hold down the "alt" key, boot into your USB drive and install Windows. The installation takes 7 minutes.

5. Once done install Boot Camp drivers from step 2 on Windows.

That's it! You have a working dual boot system with working drivers. Enjoy.

See also welcome page - what is this blog about.



Wednesday 4 April 2012

New Rules and What's Coming Soon

New week and new updates came in. I'm not happy about the traffic in my blog, no doubling of the daily traffic no successful internet innovation. And since I'm not happy with the traffic, nor with the comments there is a new rule: no solution to the riddles until I get at least one comment.

But there are also some good news: I upgraded to Mac, Macbook Air actually and I'm going to write a tutorial about how to install Windows 7 on Macbook Air from USB (flash drive) since I haven't found  100% working tutorial.