Rails Girls workshop ,Kollam(2016)

As a part of the Rails Girls event , my friends and I got an opportunity to conduct a Rails Girls workshop on April 6th,2016 at Amrita School of Engineering, Kollam. The event was focussed on the introduction the basics of ruby and rails framework to the students and motivating them to contribute to the open source community.

Participation:

There were  30 participants.Registration was on the spot.Everyone was given a P.C and a decent internet connection.The participants were really enthusiastic and many of them were confident enough to explain the questions given to them about the main topics discussed in the workshop.They gave a good feedback about the event.

Topics discussed:

The workshop started with the explanation of MVC architecture.The workflow of the elements in MVC was clearly explained with the help of diagrams and flowcharts.Then an introduction to Ruby on Rails was given which figured out the advantages of Rails over the other frameworks.

Then students were asked to kick start their lessons of coding in tryruby.org which was very helpful for them as it made the learning easier.Then there was the “Rails app making” session where they were guided to make an application on rails from scratch.It was an application  where we could update our name and status of work.The main tutorials followed were “Getting started with rails” and “Learn Web Development with Rails” written by Michael Hartl.

Coaches:

The workshop was taken by Ms.Aishwarya Subramanian and Ms.Avani Lodaya,former RGSoC participants, and developers.They took the session in a very interesting manner.It was fully fun loaded.The participants actively gave responses and clarified their doubts.

Organizers:

The organizing team included Amrita Reghunath ,Amrita Nair,Aparna Gireesaan and myself.The team was co-operative and friendly.It was fun to work with them.

We were really excited to conduct the workshop.This is the first time that we are organizing a workshop and yeah, it came out to be a great success with God’s grace.We would like to thank everyone who supported us to make it happen .

 

 

Advertisements

Dyslexia

I happened to see one of the touching and inspiring movies Tare Zameen Par last day.Suddenly I got the thought of writing on the main villain of the story Dyslexia.I surfed through the internet about the disease.I will give a brief  description of the information I got.

Dyslexia is sometimes referred to as a Language-Based Learning Disability which affects the ability to learn to read and spell.It can also affect short-term memory and speed of recalling names.

Signs and Symptoms:

  • Reads slowly
  • Experiences decoding errors, especially with the order of letters
  • Shows wide disparity between listening comprehension and reading comprehension of some text.
  • Has trouble with spelling
  • May have difficulty with handwriting
  • Exhibits difficulty recalling known words
  • Has difficulty with written language
  • May experience difficulty with math computations

 

Causes :

  • Genes and heredity: Dyslexia often runs in families.If a child has Dyslexia,one of his family members might had it before.
  • Brain anatomy: The structure of brain of dyslexic people may look different from others.
  • Brain activity:  In a dyslexic person,the  areas of our brains responsible for language skills work in an unpredictable way.

 

Conditions are related to dyslexia:

  • ADHD(Attention Deficit Hyperactivity Disorder):  It can make it difficult to stay focused during reading and other activities.
  • Auditory processing disorder :  It affects kid’s ability to sort through the sounds they hear. They may struggle to understand what people are saying. Reading can also be tough for them.Kids with auditory processing disorder often have trouble recognizing the difference between letters like b and d and sounding out new words.
  • Visual processing issues:  Difficulty to see the difference between letters or shapes. Kids with visual processing issues may complain of blurry vision or of letters “hopping around on the page.” They may try to compensate by squinting or closing one eye. They often reverse letters when writing and struggle to stay within the lines.
  • Dysgraphia : It can affect children’s ability to write and spell. It can also make it hard to organize their thoughts on paper. Many kids with dysgraphia also have dyslexia.
  • Dyscalculia : Difficulty to do math. Trouble in learning to count .
  • Executive functioning issues :  It can affect children’s ability to organize and stay on task. Kids with weak executive functioning skills may struggle with reading comprehension.

The movie Tare zameen par (2007) clearly portraits the life and thoughts of a dyslexic child.A teacher of his school understood this difficulty of him and tries to help him with his studies and behavioral pattern.It is really an inspiring and touching story.There are many famous personalities identified with dyslexia like Albert Einstein,Pierre Curie,Steven Spielberg,Leonardo da Vinci and the list goes on.People with dyslexia are often very creative. They can understand complex ideas.They just need more time to process the information.They may have great talents and abilities hidden inside them.We need to understand their difficulty and help them with atmost care.

 

 

Creating a simple ruby app

Note: For linux users.

1) Open your terminal.

$ rails new appname

2)Go to application directory

$ cd appname

3)If you list the content(using ” $ ls ” ),you will seea number of autogenerated files and folders which makes a basic structure of rails.

File/Folder name Purpose
app/ Contains the controllers, models, views, helpers, mailers and assets for your application.
bin/ Contains the rails script that starts your app and can contain other scripts you use to setup, deploy or run your application.
config/ Configure your application’s routes, database,e.t.c.
config.ru Rack configuration for Rack based servers used to start the application.
db/ Contains your current database schema, as well as the database migrations.
Gemfile
Gemfile.lock
These files allow you to specify what gem dependencies are needed for your Rails application. These files are used by the Bundler gem.
lib/ Extended modules for your application.
log/ Application log files.
public/  Contains static files and compiled assets.
Rakefile This file locates and loads tasks that can be run from the command line.
README.rdoc This is a brief instruction manual for your application. You should edit this file to tell others what your application does, how to set it up, and so on.
test/ Unit tests, fixtures, and other test apparatus.
tmp/ Temporary files (like cache, pid, and session files).
vendor/ A place for all third-party code.

4) Now check if your application is running correctly

$ rails s

(Open a browser window and navigate to http://localhost:3000. You should see the Rails default page)

rails_welcome.png

 5) Next we,have to create a controller(A controller’s purpose is to receive specific requests for the application).Here we create a controller with name “welcome” and action “index”.

$ rails generate controller welcome index

6)You will see a number of files along with a route automatically created.

7) To display some text on your application page,open app/views/welcome/index.html.erb file in your text editor and type the text.For example,

<h1>Hello rails</h1>

8) Now that we have made the controller and view, we need to tell Rails when we want the text to show up(ie,fix routes for your homepage).

Open the file config/routes.rb in your editor.Uncomment the line beginning with ‘root’.

9) Launch rails server and navigate to http://localhost:3000 in your browser. You’ll see the text you put into app/views/welcome/index.html.erb , indicating that this new route is indeed going to WelcomeController‘s index action and is rendering the view correctly.

 

 

 

Ruby on Rails-Installation

Note:The following instructions are for linux users.There are other ways to install ruby ie,with rbenv ,with rvm,e.t.c.This is way too simple.

1)First update your package manager

$ sudo apt-get update

2)Make sure that ruby is installed on your system.You can install ruby by

$ sudo apt-get install ruby

and check the version by:

$ ruby -v

3)Next step is to install bundler(bundler works as ruby gem manager.gems are like ruby libraries)

$ gem install bundler

4)Next,we will install Rails(the ruby framework)

$ gem install rails

and check for version

$ rails -v

 

 

#prayforparis

I was really shocked when i heard about the horrifying terror attacks in paris.The news scrolls and newspaper headlines are showing a terrific and chaotic  situation.Praying  for the people who lost their lives in the attack and hoping for a world where everyone stand united against terrorism.paris-00

GURUPOORNIMA…

guru

The full moon day in the month of Ashadha (july-august) is called Gurupoornima.The day of Guru Poornima is traditionally the time when seekers offer the Guru their gratitude and receive his blessings.

The word guru is derived from two words, gu and ru. The Sanskrit word gu means darkness or ignorance, and ru denotes the remover of that darkness. Therefore, a guru is one who removes the darkness of our ignorance.

This was the day, when Krishna-Dwaipayana-Vyasa , author of the Mahabharata was born to sage Parashara and a fisherman’s daughter Satyavati, thus this day is also celebrated as Vyasa Poornima.

This festival has great importance for Indian academics and scholars. Indian academics celebrate this day by thanking their teachers as well as remembering past teachers and scholars.

WORKING WITH GIT

Git is a free and open source distributed version control system .We can push our files into git as a backup.It is an easy task.All you need is a git hub account.

step 1:install git

$sudo apt-get install git

step 2:create a repository in git hub.

step 3:specify the git configuration settings using git cnfig command.

$git config –global user.name “username”

$git config –global user.email “email id”

step 4: Generate ssh key

ssh-keygen

//ssh is both a program and a network protocol.Its allows a user to run commands on a machine’s command prompt without them being physically present near the machine.

Enter passphrase (empty for no passphrase): [press enter]
Enter same passphrase again: [press enter]

step 4:copy the ssh key and add it in the github repository.

step 5: Intialize empty git repository

$ git init

step 6: enter every file to added

$ git add .

step 6:

$ git commit -m ‘first commit’

$ git remote add origin git@github.com:Username/Repository.git

step 7:

$ git push -u origin master

// ‘git commit’ records changes made to the repository while ‘git push’ updates the remote reference along with the changes.

Net Neutrality-“SAVE THE INTERNET”

What is Net Neutrality?

It means that internet should allow everyone to communicate freely.It should allow the users to access all contents and applications regardless of source.No webpages should be blocked as long as they are not illegal.All websites should be accessible at the same speed and we don’t have to pay extra for internet speed to a particular website.

Global Communication

Global Communication

What is the role of Net Neutrality in shaping the Internet?

Users are free to access whatever web service they want.This made Internet grow into a truly global network.It allowed the users to freely express themselves.This means that one can even criticize a internet service provider(ISP) on a blog post. ISP’s wont restrict the post even though it may be against  them.

What will Happen if there is no Net Neutrality?

If there is no Net Neutrality ISP’s will be able to charge the access to some websites.Also,there will be different connection speed for different types of contents.

What is the importance of Net Neutrality?

Net Neutrality is extremely important for startup companies and  small business owners who can launch their business online and advertise their products.It helps to create job opportunities.Big companies like google have born out of Net Neutrality.

netneutrality (1)

What is the state of Net Neutrality in India?

Legally concept of Net Neutrality doesn’t exist in India. TRAI (Telecom Regulatory Authority of India) has tried to come up with several rules regarding Net Neutrality.But no formal rules have been formed yet.

 

DATABASE MANAGEMENT SYSTEM

 

I got the opportunity to prepare an IEEE paper as a part of the first year communicative course curriculum.This was the first time I got introduced into official paper presentations. I read many papers to understand the style of writing and formatting.My topic for presentation was “Database Management System”.I have pointed out the important sections of the topic.The link to the document is given below.

https://dochub.com/anaghar/rLW41D/dbms