Tag: di
-
India Trip 2009 – Photos
Some photos from our recent stay in India.
Will be sharing a few videos as well !
-
ID ten T error
I was having trouble with my computer. So I called Richard, the 11-year-old next door whose bedroom looks like Mission Control, and asked him to come over.
Richard clicked a couple of buttons and solved the problem.
As he was walking away, I called after him, “So, what was wrong?”
He replied, “It was an ID ten T error.”
I didn’t want to appear stupid, but nonetheless inquired, “An, ID ten T error? What’s that? In case I need to fix it again.”
Richard grinned. “Haven’t you ever heard of an ID ten T error before?”
“No,” I replied.
“Write it down,” he said, “and I think you’ll figure it out.”
So I wrote it down: I D 1 0 T
-
How to manually uninstall Symantec Endpoint Protection client from Windows 2000, XP and 2003, 32-bit Editions
Much recently to my dismay, I figured out that I cannot remove Symantec’s Endpoint Protection from my own laptop without administrator password. I do not own this password, and I do not want anybody other than me permitting me what to uninstall. Hence I went ahead for manual uninstall according to these instructions (from Symantec’s own site) below-
The instructions are crisp and clear. I could manually uninstall following each step of those instructions, but there is one big trouble. The instructions talk to removing over 100’s of registry keys, values which I believe is sheer impossible manually. Why didn’t Symantec simply provide a small tool which has all those instructions bundled in a simple click-n-go fashion?
I have tried to create a small registry file which can automate the removal of registry entries Uninstall Registry entries for Symantec Endpoint Protection
For all other manual deletion of files, it would be great to write a small AutoIt script compiled to an exe. Maybe sometime later… -
Solr replication
1)On solr.master: +Edit scripts.conf: solr_hostname=localhost solr_port=8983 rsyncd_port=18983 +Enable and start rsync: rsyncd-enable; rsyncd-start +Run snapshooter: snapshooter After running this, you should be able to see a new folder named snapshot.* in data/index folder. You can can solrconfig.xml to trigger snapshooter after a commit or optimise. 2) On slave: +Edit scripts.conf: solr_hostname=solr.master solr_port=8986 rsyncd_port=18986 data_dir= webapp_name=solr master_host=localhost master_data_dir=$MASTER_SOLR_HOME/data/ master_status_dir=$MASTER_SOLR_HOME/logs/clients/ +Run snappuller: snappuller -P 18983 +Run snapinstaller: snapinstaller You should setup crontab to run snappuller and snapinstaller periodically.
-
Russian Peasant Multiplication
Start by writing the two numbers to be multiplied at the head of two columns. Then they repeatedly divide the number in the left column by two (dropping any remainder) and double the number in the right column, writing the two new numbers immediately below their predecessors, until the number in the left column is one. Then they cross out all rows where the number in the left column is even, and add the remaining numbers in the right column, which is the desired product.
For instance, the product eighteen times twenty-three is found like this.
Programming Praxis: Russian Peasant Multiplication – The Daily WTF.