Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenSimple technique to make your site mobile-friendly
Filed under:
Tutorials and HOWTOs by
Hari
Posted on Fri, Apr 13, 2012 at 16:44 IST (last updated: Sun, Apr 29, 2012 @ 07:34 IST)
The Legalease - Reloaded (new series)
Filed under:
Legalease Reloaded comic by
Hari
Posted on Fri, Apr 6, 2012 at 13:31 IST (last updated: Fri, Apr 6, 2012 @ 13:54 IST)
The art of drafting contracts
Filed under:
People and society by
Hari
Posted on Thu, Apr 5, 2012 at 10:27 IST (last updated: Sun, Apr 29, 2012 @ 07:35 IST)
As a lawyer, drafting contracts is one of those skills that becomes important in the context of corporate law. Not many courtroom lawyers pay much importance to drafting contracts or agreements, but undoubtedly contract drafting is a necessary skill in any lawyer's arsenal.
In my view, a good contract is not just one that establishes the duties and rights of each party, but also one that makes the business relationship absolutely clear. If a contract is incomplete in any aspect, it is a bad contract in my view. Clarity is important. Each clause of the contract should have a clear meaning, and as far as possible have only one meaning in the context. Usage of standard words is also important. Interchanging standard words and phrases with words that may mean something else in a difference context is to be avoided as much as possible. Sentences can be short and crisp, but explanations need to be given where meaning is not absolutely clear.
Enabling Bluetooth file transfers on any Android device
Filed under:
Tutorials and HOWTOs by
Hari
Posted on Wed, Mar 14, 2012 at 17:15 IST (last updated: Wed, Mar 14, 2012 @ 17:16 IST)
I have had a peculiar problem of trying to send a file to my newly acquired Android device (Sony Xperia Ray phone) from my Linux laptop. Every time the Bluetooth pairing worked perfectly fine, but the phone never responded to my attempts to connect and send a file from my Debian (KDE) desktop. I was able to get the phone to send files to my laptop but not the other way round. After hours of googling I was no closer to a working solution but I discovered this Bluetooth File transfer App in the Android market which does the job perfectly. This app will automatically enable Bluetooth on your device and also run the file receiving service so that any paired and trusted device can send files to your Android phone successfully.
Anyway, this is a just an information sharing post so that others who had the same problem as I had will find a working solution without excessive hacks or resorting to rooting the device. This is a seemingly trivial solution, but it's non-obvious to anybody who expects Bluetooth file transfers to work perfectly in Android without any user intervention. How to get an old dot matrix printer to work on your Linux laptop
Filed under:
Tutorials and HOWTOs by
Hari
Posted on Thu, Mar 1, 2012 at 14:54 IST (last updated: Sat, Mar 3, 2012 @ 14:22 IST)
modprobe usblp as root), the printer's URI will be parallel:/dev/usb/lp0. Once you add this as the device URI in CUPS, choose the Epson 9-Pin Series as the printer driver. This generic driver works with most old dot matrix printers that use the Epson chipset. Now simply print a test page and see if your printer works. It should work properly. In case it spews out junk, check if your printer model uses a different chipset or driver.
I hope this piece of information might be useful to others as well. Note that not all old dot matrix printers may work with this driver, particularly 24-pin models. There are other drivers which you can test for such models. Tip: use old, cheap or discarded single-side printed papers for testing.
Note: Do not modify the default printer settings in CUPS for the above driver. If you do, it appears that the printer does not function properly. blogspot.com now becomes blogspot.in
Filed under:
Internet and Blogging by
Hari
Posted on Sun, Feb 19, 2012 at 21:40 IST (last updated: Sun, Feb 19, 2012 @ 21:44 IST)