Shouldn’t there be some regulation – road side shops

Waking up at the morning, after finishing morning-activities I noticed there was no water. I should have checked the water can in the night. Duh!! Should have called the water can vendor if I reached home came earlier. He did delivered the cans after a call and waiting for a hour.

Breakfast time. Rushed out to road-side eatery. While waiting for dishes to be prepared, had conversation with the owner-cum-server, came to know that the continuous rain for 3 days the last week has affected their business. And, things went worse as they couldn’t repay the debt on that week. Still waiting for the dishes to get prepared, hunger made it the longest 10 minutes. Finally, it got ready. Then came another obstacle – traffic cop. He was questioning the owner, on whose permission they are running the stall on the road-side.

Striving with Contextual speakers

Are you connected to WiFi?, isn’t it slow?”

First part of above sentence is objectively denotes ‘WiFi’. The second part contextually denotes ‘WiFi’ through the word – ‘it’.

According Merriam-Webster, Context is defined as,

The parts of a discourse that surround a word or passage and can throw light on its meaning

Every tech giant is boasting that their digital assistants can understand our contextual conversation. Indeed it is a big step for machines to understand our natural speech.

Working with Raspberry Pi files

Some reference on how to connect to a Raspberry Pi running in the same LAN network.

I’ve been using Raspberry Pi running in home, for last 10 months. Until a month ago, the sole purpose of the RPi is to filter off the ads using Pi-hole1, then a speed test module was scheduled to run on it. By the setup, the speedtest-cli runs every 10 mins and fetches internet into csv file. the plan is to arrive to some meaningful conclusion of the data.

Comparison of various HDFS file formats

I’ve been working with Big data since 2017. As I’m from data warehousing background, it was easier for me to understand what’s what, and build an analogy between DWH & big data frameworks. However, the various file formats used in HDFS always caught me off guard.

In DWH, I never considered how the files are stored in DB, it’s managed by the database, maybe DBA might know how its done at the backend, as a DB developer it never bothered me. However, in HDFS we have several types of formats to choose from - Avro, ORC & Parquet. The best way to understand something is to spend time with it. So, decided to see how the different files behave for same data.

The 2010s - Part 2

This is 2nd installment of the story. I’m trying to arrange beautiful photos of the last decade. The photos are all captured by me.

The foggy view of training center on a December morning. The first time I had a taste of resort-like place.
The training days
2011 - The Training Days
The Kevin Mitnick replied and followed me, after a tweet about Ghost in the Wires
Kevin Mitnick
Kevin Mitnick follows me
This was one only outreach programme that I took part in. The experience was good eye opening. It showed me state of the primary school education, which was frightening.
Outreach Programme)
An Outreach Programme
A bachelor den. More-or-less this was a typical arrangement of our residence. Green-thingy was the mosquito net, without which you can’t protect your blood. Addition to ceiling fan, we had 2 table fans. Even thats not enough for the Chennai summer. And so, we used up the another option. Check out next photo.
Bachelor room
Bachelor room
The fore mentioned green-thingy enabled us to sleep on open terrace. Compared to sleeping on terrace, the camp-fire can go aside. Dozing off while staring at stars & sky, waking up to the chirping birds and screaming trains. Also, you should be ready to run inside when the rain drops in. Also, setting up of the bed on terrace takes time.
Sleeping on terrace
Sleeping on terrace
The Chennai Flood. The natural calamity that I been part of. We always change the TV channel when the visuals of calamity is shown; believe me, once you experienced it, you’ll pray to the lord, even though you’re an atheist.
Chennai floods
Chennai floods
My first air travel. I resented for not getting the window seat. But, after the transit I got the window seat. To be honest the aisle seats are much butter to stretch legs and reach out to rest room.
The first time inside a flight
My favorite dish is dosa. And, I’m not a fan of chocolate bars. The first day on the foreign land, this was the breakfast. This acted as catalyst for me to learn cooking.
First breakfast
First breakfast abroad
Chicago Skyline
Chicago Skyline
As a Chennai resident, I lived through 2 seasons - Summer & very hot summer. But the US of A boasted of 4 seasons - Spring, Summer, Fall & Winter. Each season has its own speciality.
  • Spring - life springs back after the brutal winter;
  • Summer - time when people stay outside of house more than staying in;
  • Fall - the leaves fall down, with colorful display;
  • Winter - shows that hell needn’t be always hot.
The magical fall colours
Magical Fall Colours
You remember Prison Break TV series? This is the prison that keep appearing in the Season 1. It’s an abandoned prison in Joliet, Il. The time we went there some teenagers were tearing apart the fence and getting inside against the _prohibited _ sign. We took handful of photos and drove away.
Prison Break
Shooting Spot of Prison Break

Snow flakes. This was captured from my car on a snowy day.

Snow time
Snow Time
This was the view from the backside of my house. When it snows, you can hardly see any creatures roaming around. May be in arctics or in wild some animals could roam. But the social-animal-named-humans won’t be seen when the earth is black-and-white.
View from home
View from home
My favoritest photo. Captured from my workplace. It’s like an entire ecosystem - lake, stream, road, dead trees & office space.
View from office
View from office

The 2010s - Part 1

The 2010’s was my 20’s. I was in the middle of under graduate course when the decade begun. An average engineering graduate who doesn’t know what engineering really was or what’s the future is offering. The end of year marks the recruitment to my current employer. Yes right, I’m with the employer for almost a decade.

IIRC 13k was my 1st my first salary. Couldn’t recall how I spent it, guess gave it to my mom. My first smartphone was Galaxy Ace with 142 MB of memory (now there are plenty of apps that comes with larger memory footprint than the phone).

The Guinea Pig Generation

The generation born between 1985-95 has more or less seen the technology evolution from the fron seat. The advent of internet, landline giving up its place to mobile phones, more desk jobs than the labour intensive work. Through this journey, the lifestyle got altered to a large extent. Some of the changes are just an improvemnt to our life, while some or controversial in nature. I call them controversial as harmful effects are neither proved nor denied by scientific community.

PyConIndia 2019

My primary source of Python and Python related news was/is Python podcast, since 2016. In 2018, I came to know about Pycon taking place in Cleveland, OH. Dan Bader’s vlog on PyCon ‘18 was another pull factor towards the PyCon. Due to the ticket pricing I couldn’t make it to it. In H2 of 2018, I returned to India, and was looking forward to attend PyConIndia, which should be affordable.

PyConIndia ‘19 is taking place in Chennai, which happened to be my second home. There can’t be anymore reason to miss the conference. The ticket booking opened for PyConIndia on one fine day. Then I did booked a ticket, sadly couldn’t book the early bird ticket.

Oxidation 2 - Variables, Shadowing

Variables

In Python, the variables are assigned with the type based on the content.

string_variable = 'some text'
int_variable = 33
print(type(string_variable), type(int_variable))

And, these variables are allowed to change in a program.

In Rust, the variables can either be mutable or immutable. By default, the variables are immutable.

Mutable - Values are allowed to change Immutable - Values are not allowed to change


fn main() {
let default_variable = 2;
println!("The value in default_variable is {}",{default_variable});

default_variable = 3;
//Here, the code will fail.
//Because we tried to modify the immutable variable

println!("The new value in default_variable is {}",{default_variable});

}

This is where Shadowing comes into picture.

Oxidation 1 - Cargo, Rustdoc

What is rustup, rustc & rustdoc ?

rustup- Used to update the latest Rust version. rustc filename.rs - Used to compile rust source code. rustdoc - Rust documentation is generated from this command. This can generate documentation from markdown files. Also, it show the Rustbook opens in browser when called as rustup docs

Project initialization After installing Rust, we should initialize a project using Cargo cargo init project_path - This will create a project folder of below file structure.