Saturday, June 6, 2015

Smart Cities & Environment

Smart Cities & Environment

India's population is expanding faster than ever. By 2050, India will have an estimated 1.5 billion people. The population well over half the estimated total 1.5 billion people will be living in cities. We need cities with “smart" infrastructure, otherwise daily life could slowly ground to a halt.
In accordance With the new State formation in India, every year an equivalent of 7 cities will be added over the next 20 years, As a result, cities make up a large part of India population.
A large number of cities in India face energy, environmental and climate-related challenges now and in the future. Future cities need to have stable energy, fresh and potable water, efficient transportation, resource management and efficient governance.
Around 70% of the global greenhouse gas emissions are from the cities, if future cities in India focus on reducing CO2 and other greenhouse gas emissions that would directly impact the quality of life of people living.
Leadership is the main driver in building Future smart cities. To build a practical smart city, citizens also need to be smart, cooperative, while the leaders should look for the investors. Once the future city is ready it is the citizen’s responsibility to maintain the city. Citizens should be connected well so when there is any need the respective department or the people themselves should come forward to attend.
As per the research carried out by European Union Smart city has the following six dimensions.

6 Dimensions to a ‘SMART City


Smart economy
High productivity, entrepreneurship and ability to transform.
Smart mobility
Strong ICT infrastructure and sustainable transport systems.
Smart environment
Sustainable resource management, pollution prevention, environmental protection.
Smart people
Diversity, creativity and participation in public life.
Smart living
Cultural facilities, housing quality, health and safety issues.
Smart governance
Political strategies and perspectives, transparency and community participation in decision making.




Benchmarks for Smart Cities
Sl.No.
Parameter
Benchmark
1
Transport
Maximum travel time of 30 minutes in small & medium size cities and 45 minutes in metropolitan areas.

Continuous unobstructed footpath of minimum 2m wide on either side of all street with RoW 12m or more.

Dedicated and physically segregated bicycle tracks with a width of 2mor more, one in each direction, should be provided on all streets with carriageway larger than 10m (not ROW)

High quality and high frequency mass transport within 800m(10-15 minute walking distance) of all residences in areas over 175persons / ha of built area.

Access to para-transit within 300m walking distance.
2
Spatial Planning
95% of residences should have daily needs retail, parks, primary schools and recreational areas accessible within 400m walking distance.

95% residences should have access to employment and public and institutional services by public transport or bicycle or walk.

At least 20% of all residential units to be occupied by economically weaker sections in each Transit Oriented Development Zone 800m from Transit Stations.

At least 30% residential and 30% commercial/institutional in every TOD Zone within 800m of Transit Stations.
3
Water Supply
24 x 7 supply of water.

100% household with direct water supply connections.

135 litres of per capita supply of water.

100% metering of water connections.

100% efficiency in collection of water related charges.
4
Sewerage & Sanitation


100% households should have access to toilets.

100% schools should have separate toilets for girls.

100% households should be connected to the waste water network.

100% efficiency in the collection and treatment of waste water.

100% efficiency in the collection of sewerage network.

5
Solid Waste Management

100% households are covered by daily door-step collection system.

100% collection of municipal solid waste.
100% segregation of waste at source, i.e. bio-degradable and non-degradable waste.
100% recycling of solid waste.

6
Storm Water Drainage

100% coverage of road network with storm water drainage network.
Aggregate number of incidents of water logging reported in a Year = 0.

100% rainwater harvesting.

7
Electricity

100% households have electricity connection.

24 x 7 supply of electricity.
100% metering of electricity supply.
100% recovery of cost.
Tariff slabs that work towards minimizing waste.

8
Health Care Facilities

30 minutes emergency response time.

1 dispensary for every 15,000 residents.
Nursing home, child, welfare and maternity, centre - 25 to 30 beds per lakh population.
Intermediate Hospital (Category B) - 80 beds per lakh population.
Intermediate Hospital (Category A) - 200 beds per lakh population.
Multi-Specialty Hospital - 200 beds per lakh population.

9
Fire Fighting

1 fire station per 2 lakh population / 5-7km radius.

1 sub – fire station with 3-4 km radius.

10
Others

Use of renewable energy in all sectors.

Rooftop solar panels on all public, institutional and commercial buildings as well as multi-storeyed residential housings.
Adherence to green building norms.


Saturday, April 11, 2015

USSR Publisher's Telugu Books

Here are links to some rare books and many other good books for kids and other literature from Raduga USSR publishers.


Doctor Aybolit(Noppi Doctor)

అగ్నికణం నుండి అణువిద్యుత్ దాక ebook link


అయిలీత ebook link


నొప్పి డాక్టరు - ebook link

Thursday, September 26, 2013

CMake+BOOST+GLUT+Qt4.8.1+QtCreator on Ubuntu-12.04

1.Install required tools.CMake,GLUT(freeglut3,freeglut3-dev) and X Miscellaneous Utilities headers(libxmu),X Input Device headers(libxi-dev) with this command.

sudo apt-get install cmake freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev 

2.Qt-4.8.1 was installed already.
3 Export qmake PATH to ENV,using bash_profile or .profile as appropriate.or mention qmake PATH where ever necessary,like if the build files are generated using cmake-gui then for the QT_QMAKE_EXECUTABLE  property name show the qmake PATH.
4.Show the BOOST path /usr/include/
6.Already the glut and glew dependencies are mentioned in the FindGLUT.cmake and FindGLEW.cmake files which are SET in the main CMakeLists.txt file.
5.configure and generate the build files and subsequently compile the project sources with make -j8.


Friday, July 5, 2013

QtCreator+Qt4.8.1+Windows+Mingw stray'\376'

Yes,you are right.your file in the project got encoded somehow,so nuetralize it...i mean copy it to Notepad or something and remove all formatting,n replace this file with the one in the project..and compile once again.it worked for me.i hope this works for you too as simple as that.

Thursday, June 27, 2013

How to use Kdevelop with CMake.

when I  was using Redhat linux os for a project I had to work with kdevelop IDE.the build system was cmake.there were some 3rd party libraries like qwt, glut&glew also included in the project.for loading the project into kdevelop first the cmake has to generate the make files which the kdevelop will recognise."Cmake -G kDevelop3" command will generate the specific files required for the IDE.then it is easy to import the project into kdevelop.debugging is easy in kdevelop as the variable values are shown when Hovered, and  version control is also easy.compare it with Qtcreator for the pros and cons.

Friday, June 14, 2013

SVN setup on a Local Machine

SVN setup on a Local Machine.

Sometimes it is required to setup a  svn repository on a local machine, in some cases the Linux filesystem will be on a shared drive.Generally SVN needs URL   terminology for referring to the   repository,so we will setup a repository using a file system access.(file://).

The following step creates the repository.
svnadmin create --fs-type fsfs /redhat/svn/projectname/

The above project name directory is filled with some files and directories which are necessary for a repository customization etc.

The following step Imports an existing project.and generally it is a custom for svn projects for this kind of directory structure.
tags..
branches..
trunk..
here in the trunk directory the actual project files are present.once your project is ordered in this fashion and cleansed of any unwanted things like binaries and generated files or compiled code.

svn import /path/to/project/ file:///redhat/svn/projectname/trunk -m 'Initial import'

Here if the SVN_EDITOR and other variables are not set then a error message will be reported.
so -m  option with the commit message  “Initial Import” will avoid the error message.

The following step creates the subversion specific and version aware working copy.

svn checkout file:///redhat/svn/projectname .
The above step checkout(created)a copy of project in to the current directory “.”(dot).
there will be a .svn direcory in the working copy

The working copy information can be obtained by the info command.
The below command gives the details of the version controlled project copy.

svn info

Handling your project (editing and adding files).in your working copy
After adding a class or any new files in your project when you type “svn status” there will be response for the files that are present in your working copy.
if there is a “?” then it is a new file.
if there is “M” then it is a modified file.
svn status

?      project/class.cpp
?      project/class.h
M      project/main.cpp

Now add the two files class.cpp and class.h to the svn using the following command.

svn add class.cpp class.h

Now the two files are under version control which can be confirmed by the command “svn status”.

when everything is fine compiling and working and you have decided for the commit do it the same way using the below command.

svn ci  -m “Added a new class”




svn checkout -r 4 file:///redhat/svn/projectname

the above command will retrieve the particular version of your project which is revision 4,it can also mean,that you change the code to that date on which project is versioned as 4.



if we want to know the the information of individual files which are under version control we can do so by doing this.

svn info projectname/main.cpp



Path: /redhat/svn/projectname/main.cpp
Name: main.cpp
URL: file:///redhat/svn/projectname/main.cpp
Revision: 3

In the same way for finding the version of class.cpp and class.h do so by







svn info projectname/class.cpp

Path: /redhat/svn/projectname/class.cpp
Name: class.cpp
URL: file:///redhat/svn/projectname/class.cpp
Revision: 4




Other commands
---------------
revert undo all changes in the current directory.
update fetch all the changes committed from another working directory.
diff show the difference between the files in the current directory across the versions.




remote respository of your project will be accessed in the following way.



file:///redhat/svn/projectname ⇐===> svn+ssh://url.of.desktop/redhat/svn/projectname.


Monday, December 10, 2012

libQtGui.so: undefined reference to `FcFreeTypeQueryFace'

RedHat64 + qt sdk-offline-linux-x86_64 +FcFreeTypeQueryFace+Building application yields libQtGui.so: undefined reference to `FcFreeTypeQueryFace'

Cause for compiling the sources.

When my office have blocked access to internet for all RedHat workstations ,i could not download packages,and it was not possible to download from the PC side as well,because of the company security policies.so i had to download it from somewhere, get it,and compile in the workstation.


I started with invoking Qt_SDK_Lin64_offline_v1_1_2_en.run file for installing the SDK like this and got this error,
./Qt_SDK_Lin64_offline_v1_1_2_en.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./Qt_SDK_Lin64_offline_v1_1_2_en.run)



so i started compiling gcc4.3.2 and its dependent sources(mpfr-2.4.2.tar,gmp-4.3.2.tar,mpc-0.8.1.tar)
-----------------------------------------------------------------------------------------------------
1.mpfr-2.4.2.tar
mkdir mpfrbuild ; cd mpfrbuild ; ../mpfr-2.4.2/./configure --prefix=$PWD ;make -j8 && make install

2.gmp-4.3.2.tar
mkdir gmpbuild ; cd gmpbuild ; ../gmp-4.3.2/./configure --prefix=$PWD ;make -j8 && make install


3.mpc-0.8.1.tar
mkdir mpcbuild ; cd mpcbuild ; ../mpc-0.8.1/./configure --with-gmp-lib=/gmpbuild/lib --with-gmp-include=/gmpbuild/include --with-mpfr-include=/mpfrbuild/include --with-mpfr-lib=/mpfrbuild/lib --with-mpc-include=/mpcbuild/include --with-mpc-lib=/mpcbuild/lib --prefix=$PWD ;make -j8 && make install


4 Configuring and compiling the GCC 4.6.3
------------------------------------------

mkdir gcc463build ; cd gcc463build ; ../gcc-4.6.3/./configure --with-gmp-lib=/gmpbuild/lib --with-gmp-include=/gmpbuild/include --with-mpfr-include=/mpfrbuild/include --with-mpfr-lib=/mpfrbuild/lib --with-mpc-include=/mpcbuild/include --with-mpc-lib=/mpcbuild/lib --enable-languages=c,c++  --prefix=$PWD ;make -j8 && make install



Errors when compiling GCC sources
-------------------------------------
checking for suffix of object files... configure: error: in `../x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

By adding mpc,mpfr,gmp Library paths to the LD_LIBRARY_PATH the make continues

to do
-----
for this error libQtGui.so: undefined reference to `FcFreeTypeQueryFace'


Download fontconfig-2.4.2.tar.gz+  make;make install
and  setenv /PATH/TO/THE/LIBRARY:$LD_LIBRARY_PATH
or  LIBS += -L/PATH/TO/fontconfig-2.4.2/lib in the .pro or CMakeLists.txt

more comments and information is available at http://theitdepartment.wordpress.com/2009/03/15/centos-qt-fcfreetypequeryface/