Author Archives: Naveen Kumar

requirements.txt

Any application typically has a set of dependencies that are required for that application to work. The requirements file is a way to specify and install specific set of package dependencies at once.

Use pip’s freeze command to generate a requirements.txt file for your project:

In the terminal type:

pip freeze

If you save this in requirements.txt,

pip freeze > requirements.txt

then you can install the dependencies using.

pip install -r requirements.txt

Priyan the Tailoring Bird:

The 4th grade were studying a lesson called “A busy Month” a letter written by Gijubhai. In that he would talk about many Indian birds. In the class we discussed about the birds which they have seen. While in the discussion we were discussing about nest and how they are made. Each bird makes its nest differently. So, to do a hands on activity, I asked them to go out of the class like a bird and find any material with which they can build a nest. Everyone were excited and they ran out in search of the materials for their nest. They collected some twigs,hay,leaves. Priyan was able to make a tailoring birds nest out of the leaves,hay and thread he found outside. He was making the nest even in the break time. While he was doing the nest Nithish from 3rd grade came and helped him.

After,Priyan sharing his nest model in the assembly Harish,Aasish and Elanchezhiyan made a nest model of a weaver bird.

The Microscopic Inventor:

As the children were preparing their project for Sir.C.V.Raman contest. Kabilan from 9th grade can to me and asked to me if there were any laser lights he could use. I showed him were the lights were. I asked him “what are you going to do with it?”. He replied “I am going to build a microscope with it”. I was curious about how he is going to build and microscope with it. I thought it is going to be complicated to do it. So , I decided to help him with Bala,Hemasundar(9th grade). He just took the lens which he got from the laser light and placed it on top of the camera on the cellphone and thats all! The microscope is done. To test, first we placed a leaf on the lens and saw the microscopic image on the phone. Next we saw a spider skeleton,flower.. I was inspired on how we can build a microscope using a lens from the laser. We had a lot of fun.

Leadership Programme for the 7th and 8th Graders:

Leadership programme for the 7th and 8th graders was conducted at STEMland ISMART classroom,Udavi.

The programme was conducted Mondays over five weeks. Ahmed,Bridget and Helena were the resource persons. The STEMland AAD team were as PC’s. The following tools were presented to the children.

1. Stand

2. Fear.

3. Background Conversation and Deep Listening.

4. Four Profiles.

5. System Principles.

6. Watched the video of “Story of Stuff” to understand systems.

On the first day we began with ground rules which must be followed during the workshop. After the presentation of each tool, the children were called up to share their insights. A few of the children went and shared their insights. The insights were processed by Ahmed.

Once the programme was completed Sundar had created the triad list. The list was shared with the children and instructions where given on how the triad should be conducted.

Stewardship for New Emergence in Tamil Program April 2018 (Appa Amma Program)

– Naveen

Stewardship/Leadership and capacity building workshop in Tamil for full potential in the workplace, home, and community.

Facilitators:

  • Srilatha Juvva is a professor at Tata institute of social sciences.
  • Suriyaprakash C is Professor of Organizational Behavior with Jansons School of Business, Coimbatore.

The goals of the program was that an individual attending the program:

  1.  moves from resignation in workplace towards action producing results toward common goals.
  2.  builds capacity for increased personal confidence and drive for inspired-action.
  3. transforms attitudes of blame, complaints, and gossip towards responsible speaking and actions.
  4. foster a wider mindset of inter-community sustainability and well-being for all.
  5. support workplaces to become environments of learning and unfolding where action becomes integrally directed towards common goals.
  6. cultivate accomplishment.

Arun, Bala and I were part of the organizing team and PC (Practitioner Coaches) who were holding tables and conducting follow up traids. As part of the administration I took up the accountability for preparing the handouts and of breakfast of the team holding the event. 

I was holding a table as a PC (Practioner Caoch). This gave me an opportunity to practice my role as a PC as distinguished from a coach as I gave examples from my life to illustrate the tools and distinctions. In giving these examples I was also able to notice gaps in my actions. It also gave me an opportunity to improve my Tamil writing skills. I was able to write in Tamil for the participants who were not able to write. 

During the CFSR(Conscious Full Spectrum) tool, I shared my project in the stage which helped me to make my project more clearer. I also found a partner there from the audience with whom I could work because she was also doing the same kind of project. My project was one Lets Talk Trash- A team of Auroville youth cleaning and creating awareness in and around Auroville.

I was also given the opportunity to practice feedback for growth (as distinguished from diminishing feedback or advice) to each participant in my group when we did Speaking Powerfully exercise. 

My Insights:

  • I was able to notice my what was missing in my actions and worked toward filling the missing actions.
  • I noticed that I was assertive while handling the table.
  • I made sure that what I did was for the growth and exploration for others.

Other Insights:

  • Most of the participants in my team were able to speak powerfully during the the Speaking Powerfully exercise in my group.
  • I was in integrity in attending the workshop.

I need to practice, practice, practice.

This is the project with which I filled out the CFSR on the stage.

Basic Hands-On Electronics Course:

The two weeks short course on basic hands-on electronic course(From Dec. 7th till 21st ) has been started.

Ragu Prasanth and Siva who are professors by profession. Ragu Prasanth is now volunteering in STEMLand and Siva  is working in Isai Ambalam School. They both feel that practical learning is missing nowadays. So, they are offering this course.

For the class we had participants from the previous electronics course and we also had children,youth and adult from and around Auroville.

On the first day of the course we saw the difference between Electrical and Electronics. How to find the faulty breadboard. I also learned how to use the oscilloscope and add two signals. The class was new and interesting.

Engfmt(Engineering Format) Documentation

Link : https://pypi.python.org/pypi/engfmt/1.1.0

engfmt – It is a package used to read and write numbers in engineering format.

In engineering format a number generally includes the units if available and uses SI scale factors to indicate the magnitude of the number.

For example:

1ns

1.4204GHz

This package is designed to convert quantities between the various ways in which they are represented. Those ways are:

As a tuple:

For Eg: “1ns” – would be represented as (1e-9, ‘s’).

As a string in conventional formats:

For Eg: “1ns” – would be represented as ‘1e-9 s’ or as ‘0.000000001s’.

– This form is difficult to read for people.

– engfmt treats it more as a format meant for machines rather than people.

As a string in engineering format:

For Eg: “1ns” – would be represented as ‘1ns’.

– This form is difficult to read for machines

– engfmt treats it more as a human readable format.

The Quantity class is provided for converting between these various forms.

  • A quantity is the pairing of a real number and units, though the units may be empty.

1.It takes one or two arguments.

Eg: Quantity(1e-9) or Quantity(1e-9, ‘s’)

  • The first is taken to be the value, and the second, if given, is taken to be the units.
  • The value may be given as a float or as a string.
  • The string may be in floating point notation, in scientific notation, or in engineering format and may include the units.

Some examples of the conversions are given below:

For example, any of the following ways can be used to specify 1ns:

As a tuple:

>>> from engfmt import Quantity

>>> period = Quantity(1e-9, ‘s’)

>>> print(period)

1ns

As a string in conventional formats:

>>> period = Quantity(‘0.000000001 s’)

>>> print(period)

1ns

>>> period = Quantity(‘1e-9s’)

>>> print(period)

1ns

As a string in engineering format:

>>> period = Quantity(‘1ns’)

>>> print(period)

       1ns

Note: In all cases, the giving the units is optional.

Conversions – Using quantity object you are able to convert it to any representations:

>>> h_line = Quantity(‘1420.405751786 MHz’)

# to converting to tuple with units

>>> h_line.to_tuple()

       (1420405751.786, ‘Hz’)

# to converting to string with engineering format

>>> h_line.to_eng()

       ‘1.4204GHz’

# to converting to string with conventional format

>>> h_line.to_str()

        ‘1420.405751786e6Hz’

You can also access the value without the units:

# convertig to float

>>> h_line.to_float()

       1420405751.786

# converting to a string with conventional format – without units

>>> h_line.to_unitless_eng()

       ‘1.4204G’

# converting to string with engineering format – without units

>>> h_line.to_unitless_str()

       ‘1420.405751786e6’

# Get the units only

>>> h_line.units

        ‘Hz’

There are many other functions also in this package, which is available in the link given.

Some of the functions are given below:

  • Quantities As Reals – You can use a quantity in the same way that you can use a real number, meaning that you can use it in expressions and it will evaluate to its real value.

For Example:

     >>> period = Quantity(‘1us’)

     >> print(period) 

         1us

  • Quantity Class – Quantity class can be used directly, like shortcut functions.

      For Example:

      >>> from engfmt import Quantity

      >>> h_line = Quantity(‘1420.405751786 MHz’)

      >>> str(h_line)

           ‘1.4204GHz’

      >>> float(h_line)

            1420405751.786

  • Physical Constants – The Quantity class also supports a some physical constants.

      For Example:

     Plank’s constant:

      >>> plank = Quantity(‘h’)

      >>> print(plank)

            662.61e-36J-s

  • Exceptions:

The best thing in this is it also gives Exceptions:

Eg: A ValueError is raised if engfmt cannot convert a string it into a number:

For Example:
			>>> try:
			...     value, units = quant_to_tuple('xxx')
			... except ValueError as err:
			...     print(err)
			xxx: not a valid number.

Installation / Usage :

Requires Python2.7 or Python3.3 or better.

1. Use ‘pip install engfmt’ in the cmd prompt to install.

2. By importing the .py file:

  • Download the package from the link.
  • Copy the engfmt.py from the package and put in the working directory of the python.
  • Import the file by from engfmt import* / from engfmt import Quantity.

How to compress image size in Ubuntu

1. Open the terminal (Ctrl + Alt + T).

2. Install imagemagick by

sudo apt-get install imagemagick

2. Go to the directory of the folder in which you want to reduce the image size.

3. Then type the following command

mogrify -resize 800x * 

Example :

dell@Inspiron:~/Desktop/Image/$ mogrify -resize 800x *

Students Taking Up Responsibility is STEM Land

We had a created a system in STEM land(Udavi school). We started to put up logical puzzles which can be solved logically and as well mathematically. At first we did not have a board to pin the puzzle papers. So, we used to stick it on the wall. Then, we bought a pin board. It was before lunch when I planned to put up the board. Rathinavelu(from 9th grade) and Dievakaran (from 7th grade) can up to me and said that they want to put up the board. I left the work to them. They measured where the holes needed to be put and marked it. Then, they drilled holes on the mark. They took turns in hitting the wood piece and screws inside the holes that were drilled. After all the hard work they fixed the board on the wall.

IMG_20170328_122041

Rathinavelu Hammering the nail

IMG_20170328_123624

Dievakaran taking his turn to hammer the nail

 

 

 

 

 

 

 

IMG_20170328_123931

Fixing the board on the wall together

IMG_20170328_124109

  • To mention, they did all this in their lunch break. That day, they went to lunch late.
  • This showed me that children here want to take responsibility for this place.
  • They learned how to drill and how to share work their equally.

Learning Circle using Geo Gebra

Shalini, student from 7th grade learned about circle in her textbook. She was learning the topics on chord, diameter, circumference and ratio between circumference and diameter.

  • She used Geo Board(Montessori material) to learn these topics
Geoboard

Geo Board

  • The Geoboard is a tool for exploring a variety of mathematical topics introduced in the elementary and middle grades. Learners stretch bands around pegs to form line segments and polygons and find perimeter, area and more.

IMG_20170307_115225

Shalini learning about circle using the Geo Board

Outcomes / What she knows now and is able to do 

  • Chord is a line segment drawn at any two points in a circle.
  • Diameter is a chord that passes through the center of the circle.
  • Circumference is the perimeter of the circle.
  • She is able to find the ratio(which is 3.14(pi)) if she either knows the circumference of the circle or the diameter.
  • She is now able to use the geo board and demonstrate the above topics to her friends.

IMG_20170307_115717

IMG_20170307_115724