technish.blogspot.com
Technish: Quit, if you hit a key
http://technish.blogspot.com/2008/01/quit-if-you-hit-key.html
From simplicity to subtlety. Quit, if you hit a key. The very first problem in my previous post seems difficult to solve! And the link clearly tells its impossible to solve! I am talking about this problem. Display series of numbers (1,2,3,4, 5….etc) in an infinite loop. The program should quit if someone hits a specific key (Say ESCAPE key). Here is a possible solution as suggested in the mailing list which works on UNIX like OSs. State = `stty -g`. System "stty raw -echo cbreak isig". Its a typical 'te...
technish.blogspot.com
Technish: The Web-ful Way
http://technish.blogspot.com/2008/01/web-ful-way.html
From simplicity to subtlety. I consulted all the possible experts I knew at the time, took their inputs. I had decided to work in project which could be converted into an entrepreneurial venture eventually. At the time, I had misconceptions about web applications, thinking it was nothing more than web designing. which any tom, dick and harry could do! Then some how I dropped it for various reasons. Alright, so the idea is zeroed in on, but what about the implementation? Like PHP, Perl, J2EE etc etc.
technish.blogspot.com
Technish: An interesting problem
http://technish.blogspot.com/2007/01/interesting-problem.html
From simplicity to subtlety. Given a file of 4 billion, 32-bit integers, how to find an integer that appears at least twice? One simple solution that I can think of quickly is:. Sort the integers in the file, using any of the efficient sorting techniques like Merge, Quick etc and then go on comparing adjacent integers to find duplicates. But come to think of it, sorting a 16 GB file is not a feasible. I need to come up with something more efficient. Wednesday, January 24, 2007. 1:is this a one time thing?
technish.blogspot.com
Technish: To clear all web2.0 issues..
http://technish.blogspot.com/2007/03/to-clear-all-web20-issues.html
From simplicity to subtlety. To clear all web2.0 issues. Monday, March 05, 2007. Your Video very usefull for me. Ruby on Rails Development. Monday, August 27, 2012 3:12:00 AM. Subscribe to: Post Comments (Atom). View my complete profile.
technish.blogspot.com
Technish: Download any PDF.. literally!
http://technish.blogspot.com/2008/04/download-any-pdf-literally.html
From simplicity to subtlety. Download any PDF. literally! Sue me if I'm wrong with the title of this post. :). I understand the feel of desperation when you know "that" something you need is available in a particular book, but you are not able to get it, simply becauseit costs $28.56 on Amazon! Well, going with the spirit of "Knowledge Is Free", I have come down as an angel in your life right now, who will enable you to download literally any book from the net! Mp3 U2 with or without you. Thursday, May 0...
technish.blogspot.com
Technish: Sun shines....!!
http://technish.blogspot.com/2007/02/sun-shines.html
From simplicity to subtlety. Yes, thats right. The Sun really seems to be shining bright. I know its share price is currently $6.4, I know it has had a profit of only $126 m this fiscal, but the fact is, SUN SHINES! Some really cool facts. They are really friendly, my mentor Mr. Vallish actually took me around the whole floor to introduce me to nearly 30-40 ppl(now tell me where do you find this? Like my friend's area here is named "Shantinagar", cuz his name is Shantanu! Monday, February 26, 2007.
technish.blogspot.com
Technish: 2 sure ways to access GMail no matter which office you work in
http://technish.blogspot.com/2008/04/2-sure-ways-to-access-gmail-no-matter.html
From simplicity to subtlety. 2 sure ways to access GMail no matter which office you work in. We, being in “huge” service companies, suffer a lot in terms of online freedom. I used to get very frustrated initially when I joined, since all the sites on which I used to hangout were blocked! Patiently, I started cracking(without using proxies) case after case and now, I have workarounds for all my fave hangouts. However, today I am going post 2 simple techniques to access GMail(read-only). These are the basi...
technish.blogspot.com
Technish: Quit, if you hit a key - Part 2
http://technish.blogspot.com/2008/01/quit-if-you-hit-key-part-2.html
From simplicity to subtlety. Quit, if you hit a key - Part 2. Oops I seem to have found a solution here for platform independent way of solving the previous post's problem. It goes like this. Essentially just do a nonblocking read and rescue the “resource not available” exceptions as they come. Just hit enter to kill the loop.'. Break if STDIN.read nonblock(1000). Friday, January 18, 2008. Subscribe to: Post Comments (Atom). View my complete profile.
technish.blogspot.com
Technish: DTO pattern
http://technish.blogspot.com/2008/01/dto-pattern.html
From simplicity to subtlety. As my project demands me to learn Enterprise Java for a project on "SaaS (software as a service)", quite far from the Ruby or Rails, I happened to come across a pattern called "Data Transfer Object" or just "DTO". In the following figure( courtesy. Album artist and singer, 2 different classes on the server side are clubbed together and sent to the client. Now, lets take a look at the implementation of this pattern. I implemented this in Java using EJB(entity bean). Public cla...