Logo

Who is talking?

Archive

Big Data Enterprisey Analytics and Ruby

over 5 years ago | Amit Kumar: toamitkumar's Code Blog

My Ruby Conf 2011 presentation:At speakerdeck:or at slideshare Ruby conf’11 View more presentations from toamitkumar

Good to know about Indian coins

over 5 years ago | Niranjan Sarade: InLoveWithNature

I read this information about Indian coins in one Consumer magazine.Indian coins are mainly produced in four cities:- Delhi,Mumbai, Hyderabad and Kolkata. The production in city puts an identification mark under the year of issue. Coins produced in:1. Delhi - have a dot2. Mumbai - have a diamond3. Hyderabad - have a star4. Kolkata - nothing beneath the year.http://www.oceanofweb.com/interesting/facts-indian-coins.html

The New Hungarian Startpage - startlap.hu

over 5 years ago | Eduard Moldovan: eduardmoldovan.com - tech

Hungary's one of the most famous sites has just been redesigned. Many people have probably put in many hours of work to make it look and work like this. Let's take a closer look at the result

Get Rid of scrollbars on Scroller

almost 6 years ago | Subodh Gupta: Subodh's Blog

If you are working on flex mobile project. You would be facing the feature of scrollbars appearing whenever you scroll through the list or widget with-in the scroller component. If these has become a problem for you and you need to get rid of the feature follow the steps mentioned here:Right a new script extending from the scroller Observe vertical and horizontal scrollbars tags which are auto generated modify them and insert the property alpha=0 Include this skin in your scroller and you are done 

Behavioral research

almost 6 years ago | Prasoon Sharma: Enterprise Software Doesn't Have to Suck

I'm at the O'Reilly's Strata conference in NYC, where a NYU professor shared his research on consumer purchasing behavior. He asserts that 'What people "say" is different from what they actually "do"', so he recommends conducting behavioral studies by measuring what people "do", not what they "say". He used camera buying from Amazon as an example, where Zoom is talked about a lot as a feature but has lower impact on purchasing behavior. Whereas Battery Life and Megapixels are talked about less but have higher impact on purchasing behavior. Very interesting. We often conduct such analysis using surveys in enterprises. To do what he suggests will be more accurate but will cost more... it is much more costly to follow what people "do".

Building JS Org Chart

almost 6 years ago | Amit Kumar: RubyizednRailified

Just released code to create inverted Organization Chart --> library here

Building JS Org Chart

almost 6 years ago | Amit Kumar: toamitkumar's Code Blog

Just released code to create inverted Organization Chart –> library here Comments Amit Kumar yeah I know it was done genius like you :) climboid those charts look awesome! you guys must be geniuses

Rails upgrade from 2.3.5 to 3.0.9

almost 6 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

Few weeks back I did rails upgrade for my current project from rails 2.3.5 to rails 3.0.9 (on Windows 7).I began with rails 3 upgrade guide. So, first step was to install ruby 187, which I already had on my system with pikThere is a good series on rails on upgrading to rails 3 from Ryan Bates:http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-1http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-2http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-3Some how the rails-upgrade-plugin did not work for me (as I was working on Windows 7) .I then followed the-path-to-rails-3-approaching-the-upgrade step-by-step and I got application 80% upgraded, the rest 20% was a tough part.In this blog, I am writing about challenges I faced in this process.Installing rails 3.0.9 gem:Somehow gem install rails shown errors:C:\myapp>gem install railsSuccessfully installed rails-3.0.91 gem installedInstalling ri documentation for rails-3.0.9...file 'lib' not foundInstalling RDoc documentation for rails-3.0.9...file 'lib' not foundI used,C:\myapp>gem install rails --no-rdoc --no-riSuccessfully installed rails-3.0.91 gem installedroutes.rbI had to update the routes.rb file and I found one really helpful link: http://stackoverflow.com/questions/3103765/routing-in-rails-3-map-with-optionsDeprecation warning for cookie_store:DEPRECATION WARNING: ActionController::Base.session= is deprecated. Please configure it on your application with config.session_store :cookie_store, :key => '....'. (called from C:/myapp/config/initializers/session_store.rb:7)So, I did:module Myapp   class Application < Rails::Application     config.session_store :cookie_store, :key => '_myapp_session', :secret => 'some-secret-string-very-long' Also, I removed C:/myapp/config/initializers/session_store.rb file.Reference: http://stackoverflow.com/questions/3720379/sqlsessionstore-in-rails-3 and http://apidock.com/rails/ActiveRecord/SessionStoreLogging the deprecation warningsI saw another warning:You did not specify how you would like Rails to report deprecation notices for your development environment, please set config.active_support.deprecation to :log at config/environments/development.rbSo, I updated development.rb (and other .rb files):Myapp::Application.configure do    config.active_support.deprecation = :log consider_all_requests_local warningDEPRECATION WARNING: ActionController::Base.consider_all_requests_local= is deprecated. Please configure it on your application with config.consider_all_requests_local=.So, I added this snippet in config/environments/development.rbMyapp::Application.configure do config.consider_all_requests_local = trueSome easy once1. DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env.So, wherever I was using RAILS_ENV, I replaced with Rails.env2. DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s.So, wherever I was using RAILS_ROOT, I replaced with Rails.root.to_sActionMailer warnings1. When you need to set character set for action mailer, you specify in initializer.rb, which throws this warning:DEPRECATION WARNING: ActionMailer::Base.default_charset=value is deprecated, use default :charset => value insteadI passed hash to the default method in application.rb:Myapp::Application.configure do default :charset => 'utf-8'2 Similarly the mime version we set in initializers:DEPRECATION WARNING: ActionMailer::Base.default_mime_version=value is deprecated, use default :mime_version => value instead.I passed hash to the default method in application.rb:Myapp::Application.configure do default :mime_version => '1.0'3. For multipart emails the setting has to be adjusted:DEPRECATION WARNING: ActionMailer::Base.default_implicit_parts_order=value is deprecated, use default :implicit_parts_order => value insteadThis is again can be passed to default method:Myapp::Application.configure do   default :parts_order => [ "text/plain", "text/enriched", "text/html" ]html_safe in view?For 2-3 hours I struggled to find the reason, why the select tag was not producing the tags. When I found it I understand that this is again a security addition to convert strings into html safe form. So, all your '&lt;' will be converted to '<' and all '&gt;' will be converted into '>'. I actually added .html_safe at the end of each string in view and that showed all the tags finally.Reference: rails-3-select-tag-not-producing-dom-elementsRemoved config.action_view.cache_template_loading, use config.cache_classes insteadReference: https://github.com/rails/rails/commit/83e29b9773ac113ceacb1e36c2f333d692de2573RspecI was using rspec and here is the deprecation warning I got:*****************************************************************DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec.C:/cit/spec/controllers/activity_logs_controller_spec.rb:1:in `require'* Spec is deprecated.* RSpec is the new top-level module in RSpec-2******************************************************************************************************************************DEPRECATION WARNING: you are using deprecated behaviour that will be removed from a future version of RSpec.C:/cit/spec/spec_helper.rb:17* Spec::Runner.configure is deprecated.* please use RSpec.configure instead.So, I have to use rspec-rails-2 which supports rails 3.Reference: http://groups.google.com/group/cukes/browse_thread/thread/40c4c2aea1c07afe/cb63eb7f0b733646?lnk=raotAjax stopped workingI was using jQuery as javascript library, and I found somehow the ajax calls stopped working after the upgrade. I later found that there is a security threat and a fix for that is availableHere is what I had to do:Step#1. In application.html.erb, I had to include csrf_meta_tag:<%= javascript_include_tag :defaults %> <%= csrf_meta_tag %> Step#2. I added this snippet to application.js:$(document).ajaxSend(function(e, xhr, options) {   var token = $("meta[name='csrf-token']").attr("content"); xhr.setRequestHeader("X-CSRF-Token", token); }); Reference: csrf-protection-bypass-in-ruby-on-railsRackBaseURI instead of RailsBaseURII was using RailsBaseURI in apache, but after upgrade to Rails 3, I had to update it to RackBaseURIReference: RackBaseURILast but not least, I was using valid? method in helper to check if the object is valid or not and based on that I was displaying certain fields, which was working fine in Rails 2.  In Rails 3 valid? method will trigger validations as well, which caused field_with_errors div to show-up all the time (even when the validation should not happen). I changed the logic to not use valid? method to display other fields and it solved the problem.

Rails upgrade from 2.3.5 to 3.0.9

almost 6 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

Few weeks back I did rails upgrade for my current project from rails 2.3.5 to rails 3.0.9 (on Windows 7).I began with rails 3 upgrade guide. So, first step was to install ruby 187, which I already had on my system with pikThere is a good series on rails on upgrading to rails 3 from Ryan Bates:http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-1http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-2http://asciicasts.com/episodes/226-upgrading-to-rails-3-part-3Some how the rails-upgrade-plugin did not work for me (as I was working on Windows 7) .I then followed the-path-to-rails-3-approaching-the-upgrade step-by-step and I got application 80% upgraded, the rest 20% was a tough part.In this blog, I am writing about challenges I faced in this process.Installing rails 3.0.9 gem:Somehow gem install rails shown errors:C:\myapp>gem install railsSuccessfully installed rails-3.0.91 gem installedInstalling ri documentation for rails-3.0.9...file 'lib' not foundInstalling RDoc documentation for rails-3.0.9...file 'lib' not foundI used,C:\myapp>gem install rails --no-rdoc --no-riSuccessfully installed rails-3.0.91 gem installedroutes.rbI had to update the routes.rb file and I found one really helpful link: http://stackoverflow.com/questions/3103765/routing-in-rails-3-map-with-optionsDeprecation warning for cookie_store:DEPRECATION WARNING: ActionController::Base.session= is deprecated. Please configure it on your application with config.session_store :cookie_store, :key => '....'. (called from C:/myapp/config/initializers/session_store.rb:7)So, I did:module Myapp   class Application < Rails::Application     config.session_store :cookie_store, :key => '_myapp_session', :secret => 'some-secret-string-very-long' Also, I removed C:/myapp/config/initializers/session_store.rb file.Reference: http://stackoverflow.com/questions/3720379/sqlsessionstore-in-rails-3 and http://apidock.com/rails/ActiveRecord/SessionStoreLogging the deprecation warningsI saw another warning:You did not specify how you would like Rails to report deprecation notices for your development environment, please set config.active_support.deprecation to :log at config/environments/development.rbSo, I updated development.rb (and other .rb files):Myapp::Application.configure do    config.active_support.deprecation = :log consider_all_requests_local warningDEPRECATION WARNING: ActionController::Base.consider_all_requests_local= is deprecated. Please configure it on your application with config.consider_all_requests_local=.So, I added this snippet in config/environments/development.rbMyapp::Application.configure do config.consider_all_requests_local = trueSome easy once1. DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env.So, wherever I was using RAILS_ENV, I replaced with Rails.env2. DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s.So, wherever I was using RAILS_ROOT, I replaced with Rails.root.to_sActionMailer warnings1. When you need to set character set for action mailer, you specify in initializer.rb, which throws this warning:DEPRECATION WARNING: ActionMailer::Base.default_charset=value is deprecated, use default :charset => value insteadI passed hash to the default method in application.rb:Myapp::Application.configure do default :charset => 'utf-8'2 Similarly the mime version we set in initializers:DEPRECATION WARNING: ActionMailer::Base.default_mime_version=value is deprecated, use default :mime_version => value instead.I passed hash to the default method in application.rb:Myapp::Application.configure do default :mime_version => '1.0'3. For multipart emails the setting has to be adjusted:DEPRECATION WARNING: ActionMailer::Base.default_implicit_parts_order=value is deprecated, use default :implicit_parts_order => value insteadThis is again can be passed to default method:Myapp::Application.configure do   default :parts_order => [ "text/plain", "text/enriched", "text/html" ]html_safe in view?For 2-3 hours I struggled to find the reason, why the select tag was not producing the tags. When I found it I understand that this is again a security addition to convert strings into html safe form. So, all your '&lt;' will be converted to '<' and all '&gt;' will be converted into '>'. I actually added .html_safe at the end of each string in view and that showed all the tags finally.Reference: rails-3-select-tag-not-producing-dom-elementsRemoved config.action_view.cache_template_loading, use config.cache_classes insteadReference: https://github.com/rails/rails/commit/83e29b9773ac113ceacb1e36c2f333d692de2573RspecI was using rspec and here is the deprecation warning I got:*****************************************************************DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec.C:/cit/spec/controllers/activity_logs_controller_spec.rb:1:in `require'* Spec is deprecated.* RSpec is the new top-level module in RSpec-2******************************************************************************************************************************DEPRECATION WARNING: you are using deprecated behaviour that will be removed from a future version of RSpec.C:/cit/spec/spec_helper.rb:17* Spec::Runner.configure is deprecated.* please use RSpec.configure instead.So, I have to use rspec-rails-2 which supports rails 3.Reference: http://groups.google.com/group/cukes/browse_thread/thread/40c4c2aea1c07afe/cb63eb7f0b733646?lnk=raotAjax stopped workingI was using jQuery as javascript library, and I found somehow the ajax calls stopped working after the upgrade. I later found that there is a security threat and a fix for that is availableHere is what I had to do:Step#1. In application.html.erb, I had to include csrf_meta_tag:<%= javascript_include_tag :defaults %> <%= csrf_meta_tag %> Step#2. I added this snippet to application.js:$(document).ajaxSend(function(e, xhr, options) {   var token = $("meta[name='csrf-token']").attr("content"); xhr.setRequestHeader("X-CSRF-Token", token); }); Reference: csrf-protection-bypass-in-ruby-on-railsRackBaseURI instead of RailsBaseURII was using RailsBaseURI in apache, but after upgrade to Rails 3, I had to update it to RackBaseURIReference: RackBaseURILast but not least, I was using valid? method in helper to check if the object is valid or not and based on that I was displaying certain fields, which was working fine in Rails 2.  In Rails 3 valid? method will trigger validations as well, which caused field_with_errors div to show-up all the time (even when the validation should not happen). I changed the logic to not use valid? method to display other fields and it solved the problem.

Looking to hire data scientists

almost 6 years ago | Prasoon Sharma: Enterprise Software Doesn't Have to Suck

We are a global management consulting firm and are looking for data scientists in our team in New York/Washington DC and Gurgaon/Chennai (India). There are full-time and internship (New York) opportunities. There are multiple positions including developing complex models in healthcare, pricing and optimization. If interested, drop me an email at prasoonsharma at gmail dot com.Position specifications- Public contributions (projects, plugins, blogs, open source etc.) on MATLAB, SAS, R, SPSS, Stata a plus- Significant experience in economic and/or scientific programming. Ideally, experience in popular statistical softwares like MATLAB, SAS, R, SPSS, Stata- Ability to use, analyze and visualize large data sets- Demonstrated ability for conceptual analytics including translating design considerations into programmed code- B.A. required, advanced degree preferred (M.A. or Ph.D. in Computer Science, Applied Science, Engineering, Economics, Statistics or similar)Position responsibilitiesRunning and developing complex healthcare models; e.g., behavioral simulation. Specific responsibilities include:- Maintaining and developing model and other analytic assets- Driving individual and team problem solving regarding model architecture and continued development of model and related analytic assets (e.g., ability to independently develop hypotheses, approaches and solutions to development objectives)- Conducting research and analyzing existing data sources to derive solutions and analyses for model development including complex, multi-variate analytical analyses- Overseeing and writing communication materials supporting analytic materials, including communication decks for clients and for client teams- Rigorously reviewing and testing of all programmed code to ensure accuracy/veracity of toolkit development- Working with teams to understand, guide and refine client teams requests- Developing and maintaining work plans etc.

Got interviewed by Jochen Krebs in the latest Agile NYC Podcast

almost 6 years ago | Nirmal Merchant: Urban Gypsy

My colleague Zainab and I will be presenting in the Pecha Kucha sessions at Agile Day 2011 Conference on 27th September, 2011.  Hear our thoughts and experiences with Agile as we share them in a conversation with Jochen Krebs - Founder of Agile NYC in the latest Agile NYC podcast. Also check out the very impressive lineup of speakers for the conference (Amy Goodman and Linda Rising are key-note speakers).  There are limited seats available, so register soon if you are interested in attending the conference.

All you need is an egg and some imagination

almost 6 years ago | Nirmal Merchant: Urban Gypsy

All you need is an egg and some imagination: Julia child is so cute in this video. Got the perfect recipe for binge day..check out 24:02 in the video. Omlette with sauteed mushrooms, topped with cheese sauce, topped with cheese and then melted butter. Yummy.

Dil Tera deewana hai sanam, jaante ho tum, kuch na kahenge hum..

almost 6 years ago | Nirmal Merchant: Urban Gypsy

Dil Tera deewana hai sanam, jaante ho tum, kuch na kahenge hum..

Jalta hai jiya mera bheegi bheegi raaton mein, aaja gori chori...

almost 6 years ago | Nirmal Merchant: Urban Gypsy

Jalta hai jiya mera bheegi bheegi raaton mein, aaja gori chori chori abto rahan nahin jaye re, uhum hai re hai re hai re…

Bheegi bheegi raaton mein, meethi meethi baaton mein, aisi...

almost 6 years ago | Nirmal Merchant: Urban Gypsy

Bheegi bheegi raaton mein, meethi meethi baaton mein, aisi bursaaton mein, kaisa lagta hai..

spin.js introduction

almost 6 years ago | Eduard Moldovan: eduardmoldovan.com - tech

Modern user interfaces need feedback. There are many types of feedback, one of them is that little rotating flower-like graphic that we all are familiar with. Today, we do not need to build that with a GIF, there is spin.js.

Offline Google Docs - Too little too late

almost 6 years ago | Lalatendu Das: Interpretations of technorealism

Google (re)announced offline feature on Google docs recently. For those who noticed, would also remember that Google Gears was decommissioned nearly an year ago, hence this new HTML 5 version took too long to get to beta status. Is the new offline version worth the wait?I guess not..here are some important notes about new offline capability (source: Google Docs help)You'll need to Set up Docs offline from your Documents List to start accessing your documents and spreadsheets without an Internet connection.Offline access is available in Chrome only. (Oops!)Offline access is available only for documents and spreadsheets. Presentations, drawings and other items from your Documents List are not available offline at this time. (humm..okay..it's in Beta anyway)Documents and spreadsheets are only available in view-only mode. You must restore your Internet connection to make any edits. (??!@#? - useless..I stopped reading next two points)You can't create new documents and spreadsheets while you're offline.You'll need to allow offline access separately on each computer where you want to view your Google Docs offline.I wish Evernote comes up with a spreadsheet application. Till then, I will stick to the 'online' google docs..

Fig and Olive

almost 6 years ago | Suman Thareja: Spice it up!..

Fancy and Pretty!  A little on the expensive side for what you get though has a few good dishes to try for sure.  With three locations around the city Fig and Olive manages to have presence in good parts of the city. The Mediterranean Chicken Samosas are addictive: Chicken, cilantro, Greek yogurt, bell pepper scallion […]

Pastis

almost 6 years ago | Suman Thareja: Spice it up!..

A bustling place for brunch in the meat packing district of NYC: Pastis Great brunch menu.  Make reservations before going – the wait isn’t something you would want to do.  If you like other sister restaurants like Balthazaar Resturant, Pravda, Balthazaar bakery, Lucky Strike you will like this one too. Try the Eggs à la […]