Niket Patel - Hometag:niket.info,2008:mephisto/Mephisto Noh-Varr2008-07-02T14:13:25Znikettag:niket.info,2008-07-02:23622008-07-02T14:11:00Z2008-07-02T14:13:25ZBest photo
At oregon zoo, I was able to shoot this,
<a href="http://www.flickr.com/photos/niket/2559603890/" title="Oregon Zoo Visit by niket, on Flickr"><img src="http://farm4.static.flickr.com/3033/2559603890_b702fab14e.jpg" height="375" alt="Oregon Zoo Visit" width="500" /></a>
nikettag:niket.info,2008-05-30:23612008-05-30T00:15:00Z2008-05-30T00:23:29ZNew York Visit
<p>Before attending Railsconf 2008, I got chance to visit NY.
It was good.</p>
<ul>
<li>Walking around Manhattan .. </li>
<li>Visit crowded Apple’s 5th Avenue Store ..</li>
<li>Roaming in Central Park ..</li>
<li>Walking on Brooklyn Bridge ..</li>
</ul>
<p>Okay. bullet points don’t do justice!</p>
nikettag:niket.info,2008-03-27:23592008-03-27T21:29:00Z2008-03-27T21:33:43ZAttending RailsConf 2008
<a href="http://conferences.oreilly.com/rails/">
<img title="RailsConf 2008" src="http://conferences.oreillynet.com/banners/rails/promote/125x125.gif" height="125" alt="RailsConf 2008" width="125" />
</a>
Finally, Registered for RailsConf 2008. and Gathering requirements to attend RailsConf.
nikettag:niket.info,2007-12-05:23582007-12-05T19:50:00Z2007-12-05T20:21:37ZLive-Documents
<p>Just today, I heard about live-documents, a product from Bangalore based startup. The guy behind company is Hotmail fame Sabeer Bhatia. I’m still waiting for invitation but I observed few things good and bad.</p>
<p><strong>The good:</strong></p>
<p>1) Their “About Us” page: I really like what they said</p>
<blockquote>
<p>InstaColl is a Bangalore-based start-up founded with a singular vision – establish the first “Made by India” product brand that is globally recognized and appreciated.</p>
</blockquote>
<blockquote>
<p>Please note that is “Made by India” and not just “Made in India” – half the software products in the world are probably already developed to some extent in India but can you name even one product brand made by India…no? We thought so – this is therefore our raison dêtre…</p>
</blockquote>
<p>Also attached screenshot if those get changed.</p>
<p><a href="http://www.flickr.com/photos/niket/2089784114/" title="AboutUs-Instacoll by Niket Patel, on Flickr"><img src="http://farm3.static.flickr.com/2169/2089784114_40b2be3001_m.jpg" height="217" alt="AboutUs-Instacoll" width="240" /></a></p>
<p>2) Offline Plugin:
This really cool idea. and indeed must have for product to sell itself in countries like India where still people don’t live 24×7 online</p>
<p><strong>The bad:</strong></p>
<p>1) Look: Oh, come on… don’t copy UI of products of company who it self expert in copier business.
( but more I think, it make sense actually for them. specially considering offline plugin )</p>
<p>2) I suspect that Mr. Bhatia will deal again sometime in future if product get successful . And buyer will make lovely product a bad one again.</p>
nikettag:niket.info,2007-09-26:23542007-09-26T14:33:00Z2007-09-26T14:35:30ZThings to remember from RailsConf Europe
<h2>Screenscarping</h2>
<ul>
<li>why screen-scrapping ? – Don’t until essential</li>
<li>build app on scrapped models
<ul>
<li><a href="http://reform.quickanddirty.dk/">Reform plugin</a></li>
<li>reform generator</li>
<li>reform record</li>
</ul>
</li>
<li>still lots of manual work</li>
</ul>
<h2>Making Rails More (Artificially) Intelligent</h2>
<ul>
<li>New subject for me</li>
<li><a href="http://en.wikipedia.org/wiki/Bayesian_network">Bayesian Networks</a></li>
<li>Naive Bayes Classifier</li>
<li>Genetic Algorithms (Optimize web page revenue from advertisements)</li>
<li><a href="http://rubyforge.org/projects/sbn">sbn, Simple Bayesian Networks</a></li>
<li><a href="http://bn4r.rubyforge.org/">bn4r, Bayesian Networks for Ruby</a></li>
<li>Probability Distribution Tables</li>
<li><a href="http://classifier.rubyforge.org/">Ruby Classifier – Bayesian and <span class="caps">LSI</span> classification library</a></li>
</ul>
<h2>Really Scaling Rails</h2>
<ul>
<li>lessons from twitter</li>
<li>not so exciting, all things already discussed over and over.</li>
<li>expecting some open source tools within weeks</li>
</ul>
<h2>Rubinius, Improving The Rails Ecosystem</h2>
<ul>
<li>I’m glad that I attended this session, pretty interesting stuff and <a href="http://blog.fallingsnow.net/">nice person</a></li>
<li>All talk centered arround Rubinius going well.</li>
<li><a href="http://blog.fallingsnow.net/2007/08/24/performance-benchmarks/"><span class="caps">MRI</span> vs Rubinius</a></li>
<li>worth try</li>
<li>some comments and questions are interesting from <a href="http://ola-bini.blogspot.com/">Ola Bini</a></li>
</ul>
<h2>The Rest of <span class="caps">REST</span></h2>
<ul>
<li>Starts with interesting history </li>
<li><span class="caps">REST</span>, web architectural style</li>
<li>Hypertext as the engine of application state</li>
<li><a href="http://roy.gbiv.com/talks/200709_fielding_rest.pdf">Rest of <span class="caps">REST</span></a></li>
<li>Use your brains!
<ul>
<li>don’t design-by-buzzword </li>
<li>don’t believe everything you read </li>
<li>always keep in mind that change is inevitable</li>
</ul></li>
</ul>
<h2>“Best Practices” Michael Koziarski Marcel Molina Jr.</h2>
<ul>
<li>Most interesting talk so far. good chemistry between presenters</li>
<li>Not new stuff for people follows <a href="http://www.therailsway.com/">RailsWay</a></li>
<li><a href="http://www.therailsway.com/2007/6/1/railsconf-recap-skinny-controllers">Skinny Controllers</a></li>
<li><a href="http://www.therailsway.com/2007/6/7/railsconf-recap-named-callbacks">Named Callbacks</a></li>
</ul>
<h2>JRuby on Rails at ThoughtWorks” Ola Bini</h2>
<ul>
<li><a href="http://ola-bini.blogspot.com/">Ola Bini</a>, very interesting and intelligent guy. I’m impressed</li>
<li>JRuby progressing well</li>
<li><a href="http://unit-test-ar.rubyforge.org/">UnitRecord</a></li>
<li><a href="http://waffle.codehaus.org/">Waffle Web Framework</a></li>
<li>I used JRuby in project because I wanted to connect <span class="caps">MSSQL</span> and ruby/unix odbc/mssql over thin internet pipe is horrible. JRuby worked quite well</li>
<li><a href="http://weblogs.java.net/blog/arungupta/archive/2007/09/announcing_glas.html">Glasshfish Gem for Rails</a> competitor to mongrel, <a href="http://headius.blogspot.com/2007/09/end-is-near-for-mongrel.html">some predicts death of mongrel</a></li>
<li><a href="http://www.ej-technologies.com/products/install4j/overview.html">install4j</a></li>
</ul>
<h2> Outsourcing to Open Source</h2>
<ul>
<li><a href="http://blog.leetsoft.com/">Tobias Luetke</a> given very interesting talk.</li>
<li>community engine is very important to small teams like Shopify</li>
<li>though I never used Liquid</li>
</ul>
<h2>Browser-based Testing of Massive Ajax-using Rails Applications with Selenium</h2>
<ul>
<li>I’m still learning use of Selenium</li>
<li>But its very useful tool and directly tests what matter most.</li>
</ul>
<h2>Extending Rails to Use the Presenter Pattern</h2>
<ul>
<li>most boring talk I have attended at railsconf so far.</li>
<li>still topic is interesting and worth to try</li>
</ul>
<h2>NetBeans and Ruby</h2>
<ul>
<li><a href="http://weblogs.java.net/blog/arungupta/">Arun Gupta</a> was demoing NetBeans and <a href="http://ajax.dev.java.net/">jMaki</a></li>
<li>At one point he confused how to migrate down using NetBeans and he doesn’t seems to know <span class="caps">CLI</span> way, thats example of over reliance on <span class="caps">IDE</span> tools. when <span class="caps">IDE</span> fails you fails</li>
<li>but it was pretty interesting tech and worth looking at</li>
</ul>
<h2>Obscure Data Formats, Workflow, and Remote Synchronization</h2>
<ul>
<li>Very interesting talk</li>
<li>more soon ….</li>
</ul>
nikettag:niket.info,2007-09-11:23512007-09-11T10:18:00Z2007-09-18T16:37:57ZRailsConf Europe 2007 Session Schedule
I'm attending <a href="http://conferences.oreillynet.com/railseurope/" title="RailsConf Europe 2007 • September 17, 2007 - September 19, 2007 • Berlin, Germany">RailsConf Europe 2007</a>
and following are the sessions I'm looking forward to attend.
<a href="http://www.flickr.com/photos/niket/1358937071/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1195/1358937071_e457a824a3.jpg" height="493" alt="RailsConf Sessions" width="500" /></a>
Most of the sessions are interesting, two exciting days ahead :)
nikettag:niket.info,2007-06-17:23492007-06-17T09:53:00Z2007-06-17T09:56:34ZOverride 'find' of ActiveRecord::Base
Recently, I was working on one ruby on rails project. where base site has many sub sites based on regions. we required to restrict many queries based on current-region/specific-region. the best solution I figured is add functionality to find method instead of using SQL JOINS.
<code><pre>
def self.find(*args)
if args.first == :first || args.first == :all
if args.last.is_a?(Hash) && (region = args.last[:for_region]) && region.is_a?(Region)
with_scope(:find => {:include => [:regionals],
:conditions => "regionals.region_id = #{region.id}"}) do
args.last.delete(:for_region)
super(*args)
end
else
super
end
else
super
end
end
</pre></code>
I wrote above code in Business model. now I'm able to
<code><pre>
Business.find(:first, :for_region => current_region)
Business.find(:all, :for_region => current_region)
Business.find(:all, :for_region => Region.find(params[:region_id]), Any other valid find option ...)
</pre></code>
isn't it cool?
admintag:niket.info,2007-03-30:212007-03-30T05:28:00Z2007-06-15T14:59:30Zbreaking the silence!
<p><a href="http://pragdave.pragprog.com/pragdave/2007/03/sywtwab_2_the_h.html">Writing is skill</a>, many great people born with it. but unfortunately I’m not. so I decided to enhance and sharpen that skill and now on. I’m going to write my experiences in web development. where I faced challenges, how I solved that… blah blah</p>
admintag:niket.info,2007-03-30:192007-03-30T05:19:00Z2007-04-04T20:30:45ZWorking with rails
<p>Now, I decided to keep my <a href="http://workingwithrails.com/person/6094-niket-patel">working with rails profile</a> as current as possible. and also will try to keep my availability status current.</p>
<p>If you worked with me in past. and wanted me to recommend. you can do so by visiting my <a href="http://workingwithrails.com/person/6094-niket-patel">working with rails profile</a>.</p>
admintag:niket.info,2006-10-06:202006-10-06T10:07:00Z2007-04-04T20:14:57ZNip/Tuck Fancast
here is promotional video of nip/tuck fancast system. which <a href="http://www.biggu.com/about-big-in-japan/">we</a> developed last month.
<object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/IqyZSIuoXtM"></param><param name="wmode" value="transparent"></param><embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/IqyZSIuoXtM" height="350" wmode="transparent" width="425"></embed></object>
admintag:niket.info,2006-09-17:182006-09-17T08:20:23Z2007-04-04T10:52:31Zmunnar - trip
<p><a href="http://www.flickr.com/photos/niket/245425605/" title="photo sharing"><img src="http://static.flickr.com/81/245425605_aac9149c9c_m.jpg" alt="" /></a>
<br />
<a href="http://www.flickr.com/photos/niket/245425605/">munnar – trip</a>
<br />
Originally uploaded by <a href="http://www.flickr.com/people/niket/">Niket Patel</a>.</p>
<p><br />
<p>Today, I uploaded my munnar trip photos. hetal & me enjoyed that trip very very much.<br />
<br />
What I liked in munnar?<br />
Clean Air. which at low availability in gandhinagar where I lives.</p></p>
admintag:niket.info,2006-09-07:172006-09-07T15:37:49Z2007-04-04T10:59:18ZArchive of Work : Sample Code from live sitesadmintag:niket.info,2006-08-31:152006-08-31T09:03:38Z2007-04-04T10:59:10ZPanchmari
<p><a href="http://www.flickr.com/photos/niket/60920821/" title="photo sharing"><img src="http://static.flickr.com/27/60920821_c925072d9b_m.jpg" alt="" /></a>
<br />
<a href="http://www.flickr.com/photos/niket/60920821/"><span class="caps">S4200392</span>-2</a>
<br />
Originally uploaded by <a href="http://www.flickr.com/people/niket/">Niket Patel</a>.</p>
<p><br />
<p>A nice sun rise. I would like to live a place where I can see nice sunrise like this.<br />
Oh, Currently I work till morning 5.00AM and wakes up in Mid of Day. I don’t remember when last , I seen a sunrise.</p></p>
admintag:niket.info,2006-08-11:142006-08-11T07:13:13Z2007-04-04T10:54:27ZUsing Patterns in Web Design
<p>Today, <a href="http://www.37signals.com/svn/">SvN</a> has a nice article
reading now at 4:30 at night or morning. I’m not a basically designer but
sometimes like to read good articles & blogs on design.</p>
<p>which leads me to <a href="http://www.37signals.com/svn/archives/000737.php">Find the Epicenter</a></p>
<p>nice to read both the articles.</p>
admintag:niket.info,2006-08-04:132006-08-04T00:53:00Z2007-04-04T20:12:29ZAbout Quicksilver
<p>I liked the text in <a href="http://quicksilver.blacktree.com/">“About Quicksilver”</a> Dialog box.</p>
<p><a href="http://www.flickr.com/photos/niket/446421527/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/249/446421527_9c7370c4af_o.png" height="285" alt="qs" width="196" /></a></p>