enewsletter - jssatejssateb.ac.in/wp-content/uploads/2017/04/enewsletter-vol-1-issue-2...we...
TRANSCRIPT
eNewsletter Department of Computer Science and Engineering
Volume 1 | Issue 2 | February 2017
Greetings from
Department of Computer Science & Engineering
II Issue Bi-annual eNewsletter
Vision “To be a distinguished academic and research department in
the field of Computer Science and Engineering for enabling
students to be highly competent professionals to meet global
challenges.”
Mission
Impart quality education in Computer Science and Engineering
through state-of-the art learning environment and committed facul-
ty with research expertise.
Train students to become the most sought after professionals in the
field of Information Technology by providing them strong theoreti-
cal foundation with adequate practical training.
Provide a conducive environment for faculty and students to carry
out research and innovation in collaboration with reputed research
institutes and industry.
Inculcate human values and professional ethics among students to
enable them to become good citizens and serve the society.
In This Issue
Department of Computer Sci-
ence and Engineering started
the student forum
“ANVESHAN”.
Student developed “Namma
Metro" App to help people
move around the city with
ease.
Non-profitable foundation started by the Alumni to provide Education to poor children. And much more…
“We can only see a short distance ahead, but we can see plenty there that needs to be done.” ~Alan Turing
From The Editor’s Desk
Greetings from the department of computer science and en-
gineering. We are very excited to present the second issue of
our department eNewsletter. The past few months have been
very exciting as well as challenging. We witnessed a dynamic
range of workshops, seminars, research and industrial contri-
butions, professional recognition as well as variety of cultural
activities.
I hope this will help us move forward towards achieving our
mission and realizing our vision with active participation, sug-
gestions and collaboration from all the stakeholders. Wishing
you a productive semester ahead.
Table of Contents…
Department Highlights
Workshops and seminar
Department highlights
Industrial visits and guest lecture Sports
Interdepartmental Cricket Tournament
Social highlights
The EnReal foundation
Students corner
The Arduino and the inter-net of things
Alumni corner
Splunk how even your pet can data crunch
Dr. Prabhudev Jagadeesh Head Of Department
Computer Science and Engineering
Computer Science is a science of abstraction –creating the right model for a problem and de-vising the appropriate mechanizable techniques to solve it. ~Alfred Aho
Department Highlights
1. Orientation Day Orientation day for the students of
2016-17 batch was held on July 31st
2016 . Dr. Prabhudev Jagadeesh ,
Hod , CSE addressed the gathering
having students and their parents
by giving a presentation about the
department.
2. Workshop on “Emerging trends in Cloud and Data Centres”
From left : Dr. Mahesh , HOD , IEM , Mr. Prasad Dharmawaram, Dr.
Ashok kumar R , Associate profes-sor ,CSE Mr. Sachin Kumar R. and Dr.
Sneha Y S , Associate Professor ”
Department of Computer Science and En-
gineering organized a three days’ work-
shop on “Emerging trends in Cloud and
Data Centres” from 22-09-2016 to 24-09-
2016.
Mr. Prasad Dharmawaram, Senior Manag-
er, R&D Department, VM-Ware and Mr.
Sachin Kumar R. S., Community Manager,
IBM Global Entrepreneur program, IBM
were the chief guest for the Inauguration
ceremony.
3. Anveshan – 2016 The department of computer science and
engineering started the student forum
“ANVESHAN” on 4.11.2016. The objective of
the forum is to provide a common platform
for the students to exchange ideas and infor-
mation on curriculum, employment, higher
educational opportunities and emerging
trends in technology. Dr.Lingaraju, Profes-
sor, MSRIT, Bangalore was the chief guest
and Mr.Kaushik.H.A, founder of BooksBeka
Online Solutions Private Limited was the
guest of honour.
4.WORKSHOP ON CODING
From right: Dr. Pradeep kumar , Founder and CEO of Amphisoft Tech-nologies , Mr. Sharana basavana gow-da , assistant professor , CSE and Mr. Salven addressing the students
Department of Computer Science and Engi-neering in association with Amphisoft tech-nologies under CSI Student chapter organized a 1 day workshop “Learn to Code” on 5th No-vember 2016. The speakers for the sessions were Dr. Pradeep Kumar Founder and CEO of Amphisoft Technologies and Mr Selvan The speaker introduced a tool called E-Box which is a platform created revolutionizing education & training using techniques of 'Technology Ena-bled Active Learning' across different spheres of education, learning & technology training.
Staff Highlights:
Mr. Prasad M R , Assistant
Professor , has presented a
paper titled “Recognition of
Iris images in Non-Angular
view and at a Distance”, in
Proc. 2016 IEEE Interna-
tional Conference on Con-
trol, Instrumentation, Comm
(ICCICCT), pp. 647-652 on
16-12-2016
Dr. Naveen N. C., Professor
was appointed as a member of
BOE for CS/IS composite
board, VTU.
5. WORKSHOP ON PROGRAMMING IN PYTHON Department of Computer Science and Engineering in association with Speck bit technologies under CSI Student chapter organized a 2 days’ workshop on Programming in Python on 11th and 12th No-vember 2016. The speakers for the sessions were Mr Vidyadhar Sharma, Founder and CEO of Speck bit Technologies and Mr Ganesh Mallya from Accenture Pvt Ltd.
Mr. Vidyadhar Sharma, Founder and CEO of Speck bit Technologies addressing students during the workshop.
6. WORKSHOP ON LATEX
One day workshop on
LaTex was conducted by
Mr. Anjan K , Assistant
Professor, R.V.C.E , Ban-
galore on 11th January
2017
Technical talk on
Next-Gen Internet and Data Science by Dr. Ashish Ghosh , Professor Indian Statistical Institute, Kolkata on 24-01-2017.
Parents-Teachers Meet
The Parents-Teachers Meeting
was conducted on 19/11/2016.
Dr. Mirtyunjaya. V. Latte
Principal.
Dr. Nagabhushan,
Dean Academics,
Dr. Prabhudev Jagadeesh, HOD,
Parents
and other Faculty Members were
present in the meet.
“Principal addressing Parents at Parents- Teachers Meeting held on 19/11/2016”
Student
Highlights:
Mr. Dheeraj R S, has suc-
cessfully completed the
process of recreating the
official website of Talent
Development Centre, In-
dian Institute of Science,
Challakere Campus.
If something is important enough, you do it even if the odds are not in your favour.
~Elon Musk
Our student Mr. Shubham Roy of 5th sem, CSE has de-veloped Namma Metro Navi-gator App which helps user to find all the related infor-mation about the details of Namma Metro. The App offers to Find fare, plan trav-el, find parking information, route map, helpline do's and don'ts and more. This App is available in Google play Store, here.
Industrial Visits
Visit to NAL:
Principal Scientist of CSIR-4PI addressing our students and Staff members of CSE department
The students of 5th
semester went on
an industrial visit to
NAL (National Aero-
space Laboratory)
Bangalore on 17th
August,2016.
Visit to ISRO: A group of 50 students
from 3rd year went on an
industrial visit to Indian
Space Research Organiza-
tion(ISRO) on 18/08/2016.
Mr. H L Srinivas, Scientist
ISRO Satellite Centre
demonstrated different
models of Satellites and
Launch Vehicles.
Success is a lousy teacher. It seduces smart people into thinking they can’t lose.
~Bill Gates
Sports
Interdepartmental Cricket Tournament
An interdepartmental
Cricket tournament was or-
ganised by our department
on 9th September 2016.
Department of CSE
emerged as the victor of
the tournament while
department of Electronics
and instrumentation were
the runner up.
Student
Highlights:
Mr. Sumant Raj of 6th
sem started a Tech
Blog on 15th Novenber
2016, where he talks
about day to day life
and technical solutions
to common problems.
Visit his Blog here.
EnReal Foundation a non-profitable founda-
tion to provide educa-
tion to poor children
started by our alumni.
Some of the activities car-ried out by EnReal foun-dation are :
Financial help for 2 students to pursue 1
st PU.
Financial help for an aspir-ing engineering student to make a mark in the field of computer science. Distribution of text books.
Current Members of Enreal Foundation
From JSS:
Sushma S (Works at Tech Mahindra)
Swathi A Phatak (Works at Wipro)
Surabhi H M (Works at Huwaei)
Sushmita B (Works at Huwaei)
Vyshnavi Ramesh (Works at KPI Partners)
Chandan Acharya (Worked at EMC. Now Pursuing Masters in Germany)
Suhas M S (Works at EdgeVerve)
Hemantha D (MD at L and D Silks)
Preetham Kowshik (Works at Libre)
Nitin Gangoor (Works at Hewlett-Packard)
Nithin Anand (Works at Big Info Labs)
Rakshith V (Works at Tech Mahindra)
Gurudeep M Rao (Works at SoundBasics)
Sanjay H A (Works at Bosch)
Koustubha (Works at Cognizant)
Aditya (Works at Libre)
Non-JSS Members:
Sushma H M
Sri Vidya Vikasini
Members of EnReal foundation( our alumni ) with CSE staff members on the occassion of Ayudha Pooja held on october 8th 2016
For more information kindly visit our website www.enrealfoundation.com
and Facebook Page: https://www.facebook.com/
EnRealFoundation/
Social Highlights
4 Weeks in Sri Lanka
Alumni
By– K R Priya, 6th SEM
Let me share with you how my semester break was spent very productively doing an internship with a student exchange program
AIESEC, in Sri Lanka for a month.
Our job was to interview entrepreneurs in Sri Lanka about their life and journey, learn from their experiences and present our ideas along with it. We had a few training sessions and field visits. We were also responsible for organising a Business Plan Competition which was aimed at encourag-
ing entrepreneurship amongst the youth .
Upsurge was a team of four interns and many lo-cal organising committee members. Celebration of culture in the Global Village Festival was one of
the main highlights of the internship.
From Student’s desk
THE ARDUINO AND THE INTERNET OF THINGS
There are certain fascinations that you would encounter when you look
back and see, that how technology has improvised. Technology is grow-
ing quietly rapidly and making human life quite comfortable. Recent
technological developments see the “internet of things” that is in high
boom these days. So what exactly is this internet of things? Well, internet
of things can be defined as a network that globally links, objects
(physical and virtual) by utilising cloud computing, network communica-
tions, and data capture. It allows various devices connected to the net-
work to communicate with each other by exchanging infor-
mation ,storing and retrieving data, accessing information on the Internet
and interaction with several users, hence not only creating a smart but
also an always-connected environment. There are several building
blocks of the internet of things. One such building block is the “Arduino
”.
Now you must be thinking what is an Arduino?
The Arduino is a flexible micro-controller and development environment
that can not only be used to control devices, but can also be used to read
data from all kinds of sensors. Its simplicity and extensibility, has led to
the development of a variety of hardware extensions and software librar-
ies that enable wired and wireless communication with the Internet. Ar-
duino is the ideal open hardware platform for carrying out experiments
with Internet of Things. The microcontrollers are mainly programmed
using features from the programming languages C and C++. The Ar-
duino project provides an integrated development environment (IDE)
based on the Processing language project. It aims in providing a cost-
effective and a simple way to create devices that could interact with
their environment. These interactions are carried out using actuators and
sensors. The internet of things
ARDUINO HARDWARE:
Arduino is an open source hardware, whose board consists of an 8-bit,
16-bit or 32-bit Atmel microcontroller(AVR) generally, with various other
components which provide programming facilities and also for inclusion
into other circuits. The standard connectors allow the users to connect
the CPU board to a variety of ‘shields’ i.e., Add-on modules that are in-
terchangeable. Some shields communicate with the Arduino board di-
rectly over various pins and other shields are addressable individually
through an I²C serial bus. A 5 V linear regulator and a 16 MHz crystal os-
cillator is included in most of the boards.
Contd...
Akash Raj Khettry
is presently study-
ing in 4th semes-
ter.
About the Author:
Microcontroller is pre-programmed with a boot loader that simplifies the up-
loading of various programs to the on-chip flash memory. This allows an ordinary
computer to be used as the programmer.
When using the Arduino IDE, the boards are programmed through a serial con-
nection, although current boards are being programmed through universal serial
bus(USB),however the implementation also differs with the version of the hard-
ware. The board provides most of its microcontroller's Input and output pins that
can be used by other circuits. Certain Arduino boards provide fourteen digital
Input/output pins, six of these can be used for production of pulse-width modu-
lated signals, and six analog inputs that can also be used as six digital Input/
Output pins. These pins are on the top of the board,through headers. These
shields are also used in plug-in applications. Some Arduino boards may provide
header pins on the bottom of the board that can plug into ‘solderless’ bread-
boards. Arduino boards use printed circuit expansion boards called shields,
which can plug into pin headers that are provided in the board. The various ap-
plications of shields are in 3D printing , Ethernet,liquid crystal display (LCD),GPS
(global positioning system) etc.
ARDUINO SOFTWARE:
Arduino software includes the various programming languages that allow us to
write the various codes using appopiate coding languages. These codes written
in C/C++ contain the various statements that guide the Arduino as to which task it
should perform.The syntax used is quite user-friendly and easy to understand.
An Arduino sketch(in C/C++) developed in an IDE environment, contains just 2
functions:
The setup() function: When the sketch begins , the setup() function is called.
This function is used in the initialization of the variables used , initialize the pin
modes(input or output), and the libraries that would be required. The setup func-
tion is called only once.
The loop() function: The loop() controls the Arduino. The loop() is called after
the setup function is called. The loop() function is repeatedly called and it per-
forms the task specified by the code present within it repeatedly.
Many Arduino boards are provided by a LED( light emitting diode) and a load
resistor. This proves to be a feature that is convinient for various tests and func-
tions in a program.
The pinMode() is used to specify whether the given pin could be used either as
an input or an output pin.(generally pin 13). The syntax is pinMode(LED_PIN,
OUTPUT); This is specified under the setup() function.
The digitalWrite() is used to either turn on or the turn off the respective LED. The
syntax would be
digitalWrite(LED_PIN, STATUS);
Here the STATUS is either HIGH or LOW. If the STATUS is HIGH then the LED is
turned on, and if the STATUS is LOW then the LED would be turned off. The STA-
TUS is just used to represent HIGH or LOW states. If you need to turn the LED ON
then replace STATUS with HIGH in the syntax, and if you need to turn OFF the LED
then replace STATUS in the syntax with LOW.( note that the syntax does not in-
clude the word STATUS. It is just a representation).
Contd...
And the delay() is used in causing certain delays. For example, delay
(1000); causes a delay of 1000 milliseconds or 1 second. These functions
are specified under loop(). These various codes can then be loaded onto
the Arduino and then the Arduino can be used to execute the task as-
signed to it by the program. These functions are provided by the librar-
ies(internal) which are made available in the integrated development en-
vironment.
APPLICATIONS:
There are several applications of the Arduino that would leave you totally
merismerised!!
Did you know ??
An Arduino can be used in water quality testing.
An Arduino can be used in making a data glove of low cost, and can be
used in virtual applications.
An Arduino can be used in the detection of milk adulteration.
An Arduino can be used for communication with a digital pressure sensor
( through an I2C protocol).
An Android phone to can be used to collect data relating to the quality
of the air, using an Arduino board. Generally the communication is car-
ried out over Bluetooth.
An Arduino can also be used to control a relay module, which in turn is
used to control devices by either turning it ON or turning it OFF.
The cloud application could receive data from the Arduino board.
The Arduino could be used for reading the data from the environmental
sensors. It could also be used for uploading of this data. Data here signi-
fies several environmental factors such as the temperature etc.
You could update your twitter account status using Arduino!! An internet
of things application indeed!!
Also you could obtain the temperature and humidity readings at every
instant using Arduino in collaboration with a temperature-humidity sen-
sor
You could also create various apps that can control the various applianc-
es at home,while you are away!! You could turn the fan on or switch off
lights at home using the app on your phone!! You could do it using voice
recognition.A typical Internet of things application!
This is how the Arduino forms a building block of the internet of things.
There are predictions that there could be over 21 billion devices that will
be connected to the internet in 2020. You may see your shirts and shoes
communicating over the network!! Also, some devices could sense that
it’s time for you to wake up and would not only wake you from bed but
also pass this information to the coffee maker and washing machine
which are in the network. This is how you could have your coffee ready
by the time you wake, and your clothes would be washed too!! The inter-
net of things finds application in home security also. You could receive an
alert if someone tries to break in to your house while your away!! This
would make life secure too. The technology behind the internet of things
is advancing and very soon you could see several things communicating
with each other in the near future.
“Splunk - How even your pet can data crunch!”
I am a big of fan of all things Big Data and the space is evolving
rapidly. Among the few early companies which saw potential iN
analyzing terabytes of "Machine data" is Splunk. (Their product
goes by the same name) I used the phrase Machine data and not
data because what we are trying to make sense of here is not your
average set of features built out from customer feedback or rat-
ings. It is data created from tiny devices(think IoT), API calls, Se-
curity glitches and all these things which once upon a time was
relegated to the back warehouse of IT specialists and their crazy
bash scripts. And to be honest, on a normal day there would be
several millions of them generated per second. My intention with
this article is to get you excited just enough to go checkout what
Splunk is and probably play with some data on your own without
too much hassle.
Splunk is a tool which provides you with a simplistic search bar
from which you query for interesting events and create reports or
alerts. It is a big data query plus reporting tool mashed into one.
Its power comes from the extreme level of abstraction built in so
that when you start writing queries, you only worry about the re-
sults and not about the datatypes or the source or the parallel
computing resources required for query execution. Also Splunk is
highly customizable, it is a lot like the Android OS. You can install
your own apps and ad ons and there is plenty of room for tweak-
ing to get your results. And the plethora of scenarios where
Splunk could come in handy is just impressive.
Let's begin with the basics.
So where is the data and how is it stored?
When you provide data to Splunk it stores it on a preconfigured or
specified index. This a file or a machine used to store some
metadata about your data so as to enable faster searches. And the
process of transforming the data for this purpose is called index-
ing. The output of indexing is time stamped events. So, in a nut-
shell data in ==> Splunk indexing ==> events out. And your in-
dexer will know where to find the data. In a simple case your in-
dex is a flat file repository for the data. And by now you would
have gathered that there are two kinds of data. Raw data(i.e your
data which you fed in) and metadata that helps the indexer to find
your data in efficient ways. Data itself will be stored as files which
reside in sets of "buckets", organized by age.
The beauty of Splunk is that it can process log files in plain text or
in json format or a format you specify it. Contd...
From the desk of Alumni
Rose Tharail John
She graduated from our college in 2013. She's a software engi-neer at Autodesk working on enhancing C4R's data driven platform. She loves working with data and machine learning. Currently her eye has caught Nupic which is a new open source Ma-chine learning tool.
About the Author
It implies underlying datatypes thus distinguishing between what is
string, what is numerical and even what is an IP format or a format
for a url. These are typically data that comes from machines. So in-
telligence is built in. This avoids the need for you to go into your
data and specify what each column's datatype is.
Three fields are special fields for your events - host, source and
sourcetype. As the name suggests, host the IP address or host name
of the machine where the log was generated eg - mailserv, lo-
calhost, www1. source is the file or directory path, network port, or
script where the log was created and sourcetype is Splunks view of
what the type of the file is where the log is from. Eg sourcetype
could have values like csv, log, secure etc. These three values com-
bined with other values of the event can provide us key insights
about events we want to track on those machines. For eg, a security
breach, or a site down, or a DOS attack to name a few. What if I tell you, you don't have to write a single program to do all
those cool things? Now I caught your attention right? Splunking is
easy and addictive. Splunks bag of tricks starts with Search Pro-
cessing language a.k.a SPL. It is your language of communication to
the Splunk engine. There are different kinds of commands you can
use. There are about 70 commands which SPL exposes, but worry
not. You don't have to memorize all of them. That's why there is
docs.splunk.com. A sample query will look like this -
sourcetype=csv price>3000 buyer=AbcXyz | fields product, price,
sales
Look closely at the query. Notice how it has incorporated the Unix
style pipe "|" and also notice how you do not have to place double
quotes around the buyer's name. So, just like Unix, the results of
your first command is fed as input to the command after the pipe.
Thus you keep building a search pipeline for your workflow. Also,
the condition AND is implied between price>3000 and buy-
er=AbcXyz. If you like to specify AND, you are free to. If you need
to search with OR or NOT operator, you will have to insert that ex-
plicitly. This way Splunk cuts out on verbiage in the queries. There
is a command called search, but in this context, your query will be
rewritten as -
search sourcetype=csv price>3000 buyer=AbcXyz | fields prod-
uct, price, sales
ie - search is implied. These are some of the many simplifications
Splunk provides. And after reading the query I hope even you will
agree with me that it is straightforward, non-messy and quite easy
to figure out what its trying to find.
Contd...
The above search query is telling Splunk to extract all the records
or events from all csv files, where the price of items are above
3000 and the buyer is AbcXyz, and show me the values of product,
price and sales of the records which satisfy the condition. Phew,
that is a lot to condense down to such a short query!
sourcetype=csv price>3000 buyer=AbcXyz | eval prices =
"$".prices | fields product, buyer, price, sales | rename product
as Product, buyer as Customer, price as Cost, sales as Sales
4. stats - The real power of Splunk comes from its ability to do ag-
gregations without writing too much SPL. So stats is one such com-
mand. It transforms your results to aggregated results. You merely
mention what statistics you want to see. For eg, in the previous
scenario, you want to find out what the average price per product
is, then you do -
sourcetype=csv price>3000 buyer=AbcXyz | stats avg(price) as
Avg_Price by product | sort -Avg_Price | rename product as
Product (Table 1.)
avg() is just one function you can apply. There are many more sta-
tistical functions you can use with the stats command.
5. join - Yes, there is join. Every data crunchin software is incom-
plete without join! As you can imagine, you can perform the outer
and inner, left and right joins in Splunk. You don't require a table
to perform the join. All you require is events and the field you
want to perform the join on. In a join command, you will have two
searches. One main search, and the other a subsearch. join will
combine these two on common fields.
An eg would be you want to find out those buyers who bought
costly items, but stalled before buying for at least five days and
finally chose the EMI as their financing option. You want to see the
buyer and also how many items they bought.
source=items.log price>100000 | join buyer [search
source=buyerInteraction.log daysInCart>5 payType=EMI] | stats
count by buyer
Here, notice how we have used "search" command in the sub
search. The join works on the common field "buyer" that exists in
the files items.log and buyerInteraction.log. It first performs the
subsearch, then joins those results with the outer search. By de-
fault, it is inner join. Finally we use stats to fetch the count of items
such buyers have bought.
You would produce a table of results something like this - ----------------------- |Product Avg_Price| ----------------------- | A 5939.80 | | X 3945.50 | | D 3199.85 | | K 9909.75 | | L 6999.23 | ----------------------- (Table 1)
Contd...
Well, those are just a few of the commands. If you are a fan of
the Unix scripting, then you might be enthused to know there is
sed -like commands provided in SPL. There is also rich regex
matching/searching capability. Once you are happy with your
aggregated results you can visualize them using different
charts. This can be done through SPL with commands like chart,
timechart which gives you beautiful charts based on time.
Timecharts are especially useful when you want to see events
streaming in and want to track how many events happened in a
specific interval for eg - a day, a month etc. And if you would
like to build tables from your searches, I encourage you to look
into data models and table datasets.
What else can Splunk do? A lot actually. But one thing you might
all be interested in Machine Learning. What is data analysis tool
without a great Machine Learning framework right? Splunk has
the ability to "predict" events based on some "fit" models of past
events. Yes, again you can get away with the SPL commands
predict and fit. But the Machine Learning toolkit is a separate
app that requires a different download. However it is complete-
ly free! You can play around with different regression and clas-
sification algorithms using custom data and visualize the results
too very easily.
Last words. In case you are wondering in what language did
they put together this piece of wonder... Well, a lot of Splunk is
written in C++. And the ML toolkit itself borrows heavily off Py-
thon and its famous libraries - numpy, pandas and scikit-learn.
The Splunk Enterprise version is free and available as Windows,
Mac and Linux downloads. What more can you ask for? My arti-
cle is a sneak peak into this great new tool out there which also
happens to be free. It is being adopted at many companies
these days and being recongnized as a great technology to be
experienced in. So don't wait. Jump on it.
Happy Splunking!
EDITORIAL BOARD MEMBERS
Dr. Prabhudev Jagadeesh. H.O.D.
Dr. Naveen N. C. Professor.
Dr. Sneha Y S, Associate Professor.
Ms. K V Shanthala, Assistant Professor.
Mr. Manjunath B. Talawar, Assistant Professor.
Mrs. H S Sangeetha, Assistant Professor.
STUDENT EDITOR
Kunal Sinha 4th sem
Megha C.R. 6th sem.
Your feedback greatly aids us in improving the way we share information with
you. We also welcome you to have your name on one of the articles in the forth-
coming editions. We can be reached at [email protected]
Watercolour paintings by, Varsha V. Bhat, 6th sem.