Archive for 2013
Apache Hadoop in VirtualBox
Apache Hadoop is framework for processing large amount of data in parallel fashion. Hadoop framework heavily relies onto map and reduce functions of functional programming languages. A user only defines the map and reduce functions, all other operations.
Friday, October 11, 2013
Posted by
Ridvan Döngelci
Virtual Box Port Forwarding For Hadoop

1. Go to main screen in Virtual Box
2. Select virtual machine to forward ports and click Settings
3. Select Network from left panel in popup settings window.
4. Click Advance to see more options
5. Click Port Forwarding
6. Click green plus to add.
Tuesday, October 1, 2013
Posted by
Ridvan Döngelci
Bussit

Light weight Helsinki metropolitan area transportation widget.
Some Screenshots comments and bug reports are welcomed as well as feature suggestions.
https://play.google.com/store/apps/details?id=com.bussitpro
Bussit is also available for Tampere
https://play.google.com/store/apps/details?id=com.bussittampere
F.A.Q
How.
Mobile Website Debugging
Manually debugging a mobile webpage is a lot of effort. You need to run an emulator and it is usually slow and debugging tools are not existing. Opera has a solution for this problem: Opera Mobile Emulator. It is quite fast to run and you may test on.
Saturday, April 27, 2013
Posted by
Ridvan Döngelci
Linearization of Multiplication
So multiplication is generally not linearizable. However you can linearize binary multiplication. Let's assume x and y is two binary variables (either 0 or 1), we can linearize z = x*y as follow:
z <= x;
z <= y;
z >= x+y-1;
z >= 0;
Further more you can use this trick to multiply two variables x and y with value {-1,1}. Here is the trick is noticing if x and y is equal then multiplication z is 1 otherwise it is -1. Thus we can map variable x to {0,1}.