Friday, 8 March 2013

ויטלי והצל \ מתכנת דוט נט

ויטלי והצל \ מתכנת דוט נט
זה סיפור על ילד שרשם פטנט
לא למד לתכנת
למד רק html ודוט נט
כי אין אנשים טובים באמצע הדרך
היום, הכל עושים בשביל כסף
מחלה שממכרת למוד
של עוד שורת קוד
גם כשיש לך הרבה
פתאום בא לך לעבוד.
מכניס עוד צ'ק עוד איזה שקל אל הכיס...
אבל את הפירוש לזה שכחת מזמן
אתה מקומבן, חבל על הזמן.
אחי, תפנים. כולם יודעים שיש לך ביצים
רק שלא תגמור כמו איזה אתר פורנו על הפנים.

Wednesday, 17 October 2012

Few Words About You and Textbooks

You read a book if you can open it in any page and from a single line you can explain to your friends the whole page, if from a single paragraph you can tutor the whole chapter. In all other cases you reviewed a book.

Saturday, 16 June 2012

Downgarding Ubuntu? Read this first!

Once made the fatal mistake and upgraded to Ubuntu 12 from Ubuntu 10.04, I had lots of problems: from wrong mouse right clicks in Chrome to corrupted audio drivers... Oh and I forgot, Eclipse didn't started.
I decided to to install the old and the good Ubuntu 10.04 x64. So I've just erased the Linux partition from within Windows, the Grab wasn't erased since Ubuntu was installed from Wubi and now I'm going to install Ubuntu. Again. It's a free, moreover open OS so there is nothing to complain about.

Wubi.exe isn't working and we are downloading ubuntu 10.04 from a torrent. See

Oh, I found an old Wubi which is working and I stopped the torrent download, letting the old Wubi to download ubuntu 10.10 (and this time it is downloading fast).

Spending an hour on tweaking my new old and unsupported Ubuntu, I succeeded to run it. The only thing I did differently is installing 32 bit Java since I had an awful experience with the 64 bit version.

This Ubuntu is intended for my parents. When installing Ubuntu for someone else, remember to:
  • Download and install any IMs they need.
  • Install any needed languages for the keyboard (Go to System->Preferences->Keyboard->Layouts and Layouts->Options->Keys to change layout to set the shortcut.).
  • Tell them the login password and possibly make login to be completed automatically. (Go to System-> Administration-> Login Screen. From there it's straightforward. Remember not to make the default user as root!)
  • Install Java (Oracle's Java! Not the default open source.) and update Flash (just go to youtube and if the videos won't play, click "install missing plugin").
  • Run initial update.

Wednesday, 30 May 2012

Joke (Hebrew)

Q: What method does an object oriented jewish husband that wants to divorce use?
A: Get.

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 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.