Stop Talking and Start Doing – IBM Ads
Nov 20, 2008 Fun, Technology
I was looking at the IBM campaign called “Stop talking and Start doing” found it really interesting, planning to put that i practice, lets see if i can avoid talking more and start “coding”.
It talks about how enterprises can overcome problems with innovation implementation overcoming issues with existing processes.
Try this URL
What is carburetor? – Honda Dio
Yesterday i had some problem with my bike (Honda Dio). I have been consulting everyone in office about what that problem could be, i know an equivalent of nothing about bikes. Karthik started off making fun of me saying, that “you don’t need to do automobile engineering to ride a dio, you can give 20rs to a mechanic and get it fixed”.
But engineers yaar, you can’t change mindsets, I would like to know what the problem is , how someone fixes it , what is the alternate solution, whats the mechanics behind it, blah blah blah… you cant change the way we think. Then someone told me that it was a carburetor, which could be causing the problem, so i read up about carburetor and came to know that it is a component which controls air flow for combustion. Wikipedia is helpful. Cleaning it up will solve the issue, but why risk that if you don’t know what you are doing, and Wikipedia doesn’t cover the steps to do it. So i have given my bike to a mechanic now.
Moral of the story: Wikipedia is not enough to study Automobile engineering
Configure HTML Files to be parsed as PHP file in Apache
Nov 13, 2008 Technology
This has been one of the most frequently asked questions that php developers ask me, about how to configure Apache to serve files with .html extenstion as php files and let php to parse those files before they are sent to the client.
Solution
The solution is very simple, all you have to do is to add a “AddType” directive either in your .htaccess or httpd.conf of your Apache
AddType application/x-httpd-php .html
Save and restart your apache(if you did the changes in httpd.conf ) and your are done !
Now you will eb able to parse .html files as php files.
Tags: apache, php, Technology
Tortoise SVN in Linux? Ubuntu alternatives here..
Nov 12, 2008 Technology
I have spent almost 2 months now trying to find a good alternative for Tortoise SVN in my ubuntu, i have been using Tortoise SVN for a while now, i got very used to the interface now, now i am not able to code without it. I have got so obsessed with it, and well svn cli is good, but its not there near Tortoise SVN.
This morning i can across this blog about how to implement scripts in nautilus that allows users to replicate TortoiseSVN like functionality in ubuntu.
KDESVN is a Visual SVN Client tool that can be installed in Ubuntu. Try this command to install it
>> sudo apt-get install subversion kdesvn kompare
After Installation, you will have to configure the rightclick menu scripts here
>> ~/.gnome2/nautilus-scripts
create a file called “kdesvn.sh” with the following contents
>> #!/bin/sh
>> kdesvn $1
assign execute rights to that file
>> chmod +x kdesvn.sh
Now open the file browser, you will be able to see KDESVN in the scripts context menu. To activate the SVN client, select some folder in local repository, and try the menu. It will popup the KDESVN interface.
Tags: linux, svn, Tech Blogs, Technology, ubunutu
Solved the Rubik’s Cube
Aug 23, 2008 Fun, General, Technology
After a half’s days effort today, i have been successful in solving the Rubik’s puzzle. It is really not that hard to solve the puzzle, although it looks like it is. just that you will need to have a step b step approach and use some simple algorithms to have the output. you will also need loads and loads of patience to get it done.
Steps
Step #1 : getting the first row right.
I have no clue of what algorithm to use here. i did it on my own so it should be simple.
Finnish off one side right and place it in the bottom so the completed side faces the bottom. Now we will do completion towards up.
Step #2 : getting the second row right.
Two algorithms here, left one and the right one
Left one: Ui Li U L U F Ui Fi
Right one: U R Ui Ri Ui Fi U F
Step #3: Now you should have completed the bottom 2 layers
Creating a cross on top, either from a center piece, or from a L or from a line
===> F R U Ri Ui Fi
L should face towards North West
Step #4: Aligning the cross Elements to relevant center pieces
When you complete the cross which has ‘four center pieces’, at least two of them will be aligned to the center pieces of the the four sides, if the aligned pieces are adjacent to each other place one aligned side on your opposite and one on right and do this algorithm, if they are opposite to each other try this algorithm to get adjacent pieces and then repeat the step as detailed.
===> R U Ri U R U U Ri
Step #5: Aligning the aligning edge elements to their positions
===> U R Ui Li U Ri Ui L
up , away from you (r) , up inverted , away from you (l), up , towards you (r) , up inverted , towards you (l),
Step #6: Super rotation
===> Ri Di R D
Note: nothing will go wrong in step 6,don’t be afraid, if you repeat step 6 – 6 times, the cube will come back to its original position. also when you align one corner piece on the topside, rotate the topside anticlockwise to get a new corner to be aligned, don’t rotate the whole cube when you align one corner price in step 6
After a few attempts you are done. See the completed version of my cube here.
Tags: Corporater, Jokes and Fun, Rubik's Puzzle, Tech Blogs











