Skip to main content

Posts

Showing posts from September, 2012

Dairy and Milk related schemes

http://nabard.org/deds_brochure.asp  : DAIRY ENTREPRENEURSHIP DEVELOPMENT SCHEME - SPONSORED BY GoI   Dairy and Poultry Venture capital fund launched in 2005-06 was segregated into Dairy and Poultry Venture Capital Funds during the year 2009-10. The mode of implementation of Dairy Venture Capital Fund is changed from interest free loan to capital subsidy and a revised scheme Dairy Entrepreneurship Development Scheme (DEDS) has come into effect from 1 September 2010   Objectives To promote setting up of modern dairy farms for production of clean milk To encourage heifer calf rearing thereby conserve good breeding stock To bring structural changes in the unorganized sector so that initial processing of milk can be taken up at the village level itself. To bring about upgradation of quality and traditional technology to handle milk on a commercial scale To generate self employment and provide infrastructure mainly for unorganized sector..   Activities covered and indic

प्रत्येक क्षणाचा पिक्झेल न पिक्झेल

कितीही नको म्हंटले तरी आठवणी पुन्हा समोर येतातच. डोक्यात चाललेलं सगळ बाहेर काढून पुन्हा आपला प्रस्थ आत अस काही मांडतात की आठवणींची आणि डोक्यातल्या जागेची इंटरसेक्शन घेतली तरी ती त्या दोघांच्याही युनियन इतकीच भरते आणि ते होवून ही अजून मन सुद्धा गच्च भरलेले असते. आजही तसेच झाले. अगदीच अचानक, त्याला आज तिची आठवण झाली. मागे पुढे काहीच संदर्भ नसतांना. दिवसभर बड-बड करून थकलेला तो सायंकाळी अचानकच शांत झाला. लोकांच्या गर्दीतून दूर जाऊन बसला, विचार करत. जोरात निश्वास सोडत. पुन्हा विचार करत. अस खूप वेळ चालू होत. चेहरा अगदीच मलूल. कुणी बघितल तर, रडेल हा अचानक, असच म्हणेल. त्याच्या डोळ्या समोरून ती सगळी सरकत होती अगदी चित्रपटाच्या फिल्म सारखी एका एका क्षणाने. ती हसतांना. ती रुसतांना. ती लाडात आलेली असतांना. सगळे हाव-भाव तिचे अगदी स्पष्ट आणि मोठ्या रेसोल्युशन मध्ये समोर येत होते. तो अगदी विसरलाच होता तिला. पण मग हे काय अचानक? कारण एखादा माणूस कुणाला अगदीच विसरला असेल तर आठवून आठवून ही त्या व्यक्तीचा चेहरा त्याला निट आठवत नसतो. पण मग इथे तर अगदी डोळ्यासमोर प्रत्येक क्षणाचा पिक्झेल न पिक्झेल स्पष्ट

White space character not being removed by java trim()

Java String's trim() functions trims only white spaces defined in ASCII. Others are not trimmed. and when printing those characters in the string you will find value as 160.           char c = str.charAt(0);         int val = (int) c;         System.out.println("The char:"+val+":"); output:  The char:160: Unicode equivalent:  \\u00A0 So we will need a unicode compatible method for trimming this. Some indicate a way to do it by using some google library : http://code.google.com/p/guava-libraries/ Custom Solution: boolean isWhiteSpace (String word) {    if(word.replaceAll("\\u00A0","").length() < 1){             return true;         } } And then you can decide on removing it from processing.