Posts

Showing posts from October, 2013

Tutorial 19: Javascript tools and resources

JavaScript has become more popular thanks to Projects like Node.Js, AngularJs, BackboneJS etc. Here are the links that will help you in learning javascript as a beginner.  https://developer.mozilla.org/ http://www.learnstreet.com/ http://www.codecademy.com/ http://www.codeschool.com/ http://www.letscodejavascript.com/ https://github.com/rwldrn/idiomatic.js Memory Allocation in JS JavaScript/Memory_Management https://wiki.mozilla.org/Performance:Leak_Tools http://www.ibm.com/developerworks/web/library/wa-memleak/ http://msdn.microsoft.com/en-us/magazine/ff728624.aspx https://developer.mozilla.org/en-US/docs/Venkman https://developer.mozilla.org/en-US/docs/Web/JavaScript/Shells?redirectlocale=en-US&redirectslug=JavaScript%2FShells

Tutorial 18: Simple javascript closure example with dc.js charts

working code var group1 = dateDimension.group().reduceSum(function(d) { return d.dd; }); var group2 = dateDimension.group().reduceSum(function(d) { return d.count; }); Not working var groups = {}; var columns = ["dd","count"]; for (var i = 0; i < columns.length; ++i) { var col = columns[i] groups[col] = dateDimension.group().reduceSum(function(d) { return d[col]; }); } Working for (var i = 0; i < columns.length; ++i) { (function( columnName ) { group[ columnName ] = dateDimension.group().reduceSum(function(d) { return d[columnName]; }); })( columns[i] ); }

Tutorial 17: Links for getting started on building custom roms for defy+ [MB526]

Defy might have become obsolete now but the journey it has traveled is noteworthy. To start development of custom ROM, XDA's defy forums will surely come in handy. Here are the links -  http://forum.xda-developers. com/showthread.php?t=2224142 http://forum.xda-developers. com/showthread.php?t=1593117 http://forum.xda-developers. com/showthread.php?p=28529222 http://forum.xda-developers. com/showthread.php?t=2100673

Tutorial 16: Javascript Some selected d3 examples

Given below are some D3 examples which might come in handy for making a site which have lots of visualization to feature. Visit respective links for more details.   Cross-filter examples http://cakey.github.io/infro/nutrients.html http://square.github.io/ crossfilter/ http://nationalpriorities.org/ interactive-data/taxbreaks/ 2013/visualization/   http://www.rjbaxley.com/p/ publications.html http://mbostock.github.io/d3/ tutorial/bar-2.html http://dimplejs.org/advanced_ examples_viewer.html?id= advanced_dynamic_line_color http://www.seaoftweets.com/# http://ramjoshi.com/web/ soccer/ http://www.nytimes.com/ interactive/2013/05/25/sunday- review/corporate-taxes.html http://bl.ocks.org/cpudney/ raw/1233755/ http://www.nytimes.com/ interactive/2011/06/22/world/ asia/american-forces-in- afghanistan-and-iraq.html http://www.nytimes.com/ interactive/2013/02/20/movies/ among-the-oscar-contenders-a- host-of-connections.html http://latentflip.com/d3/ techmeetup/# http://data

Thought ( मनन ) - 30: अनु के पापा

Writer - Manisha Pandey दो दिन पहले पुणे से मेरी दोस्‍त अनु आई थी। हम दोनों अलग-अलग शरीरों में जैसे एक-दूसरे की कार्बन कॉपी हैं। हमारे दिल-दिमाग एक, हमारे सपने एक, यहां तक कि हमारी लड़ाइयां और हमारी गालियां भी एक। लेकिन अभी मैं अनु नहीं, उसके पापा के बारे में कुछ बताना चाहती हूं। वो एक गर्ल्‍स इंटर कॉलेज के प्रिंसिपल हैं और हरियाणा के एक गांव में रहते हैं। पता है, वो अपनी दोनों बेटियों से, अपने स्‍कूल और अपने गांव की लड़कियों से क्‍या कहते हैं -1- अपने बापू से दहेज न मांग। उनसे आधा खेत मांग। आधा खेत भाई का तो आधा तेरा। अब कौन हल चलाना है। अब तो ट्रैक्‍टर से खेत जोतने हैं और लड़की भी ट्रैक्‍टर चला सकती है। अपना खेत खुद जोत और अपनी रोटी खुद कमा। अपना घर खुद बना। 2- भाई को राखी न बांध, न उससे पैसे ले। किसी से अपनी रक्षा करवाने की जरूरत नहीं। तू अपनी रक्षा खुद कर। 3- अपनी मर्जी से प्रेम कर, अपनी मर्जी से शादी कर। तेरा साथी कोई और नहीं ढूंढेगा। तू अपना साथी खुद ढूंढ। 4- तूने ससुराल नहीं जाना। न ही लड़के को घर जमाई बनाना है। दो लोग शादी करके अपना नया घर बनाओ। 5- प्रेम करने में कोई

Tutorial 15: Node.js common Error 3: Connection lost: The server closed the connection.

This error arises when you are trying to listen some other socket. it may be a external TCPSocket or it may be the connection to database server. The connection is closed from other side a you are still trying to read data from it. In most cases it happens when you use halfOpen:true You should be able to pinpoint the location of error with the help of above lines

Thought ( मनन ) - 29

People first try to live their own dream after that they give up their own dream and try to find their meaning of life by producing another life, making him dream of happier life, making him feel he have the same reason as they do in life, making him feel that they need to follow the rule, making him feel that there is something called emotion and you should not hurt their feelings. why do people have emotions? why do people like one person over the another? why do they have to follow the rules? why do people expect from other when they are not able to full fill their own expectations? "लोगो को लोगो को दुखी करने, फिर उन्ही लोगो को खुश करने में जितना आनंद मिलता है, उससे ज्यादा आनद कहीं नहीं मिलता, लोग इसी वजह को उनकी जिंदगी समझ लेते है "

Hindi Poem (हिंदी कविता ) - 19: वो मुस्कान बेचती है

Image
वो मुस्कान बेचती है कुछ मुलाकात के बाद फिर सवाल आया उसके पेशे पर  न कह सकी कि वो मुस्कान बेचती है   This is my shortest poem till now and still it tells me so many things. Given below is a Drawing I drew in 2007 which might be close to these words. For whom this poem is written is up to you to guess.