Summer training students' planet

January 19, 2018

Kshithij Iyer

"Let’s give this a shot, let’s build a WordPress theme. Challenge accepted! I just hope..."

“Let’s give this a shot, let’s build a WordPress theme.
Challenge accepted!
I just hope Amazon delivers my earphones soon. I guess I’ll need those to work on it.”

-

Kshithij Iyer

January 19, 2018 03:00 PM

A day without earphones in office

So as a computer science student you are expected to get things done, sometimes by hook and most of the times by crook. I have no complaints about this cause I never straight when it comes to working, I always had a way out. There was always a patch, a workaround, a way out, a way through or as I like to call it there was always a jugard. So life was good and I used to do all sort of blunders in the code to make it run properly, quickly and get things done. Over the time I had picked up this habit of listening to music while working, this helped me stay focused and also helped me to concentrate on what I was doing instead of what is happening around. This was one which I could get isolated from my environment and get things done. This was working fine and I was working with 99% efficiency in the office. But that one Thursday came into my life and changed it forever. It was just a normal day, I had just entered my office and I was setting up my desk. Yes! I had to do this as my work asked me to use a terminal which could be disconnected and taken home.  It was a usual day my Fedora machine had gone again into emergency mode and I was running the command:

fsck  /dev/mapper/fedora-root

It was normal. I often used to boot up this error message especially when I had watched a movie the previous night, But as soon as my system booted I found out that my already messed up earphones where not working. After checking out a few earphones on Amazon I ordered a new pair of them, I had already wasted an hour or so. Honestly speaking work was not something which used to bother me a lot but the creatures which dwell in my office did bother me a lot. Look around in your office you’ll see similar creatures in all corporate offices.

1. The women with a horseshoe: 

I have nothing against women or women footwear but yes it is really irritating when women wear heels and walk around the office. That typical sound “Tak Tak Tak Tak!” I just hate this sound, It just reminds me of a horse with an iron horseshoe.

2. The man with a loudspeaker:

In every office, you’ll have this one person who’ll talk even to the person next to him at the loudest of voice and that too in such a way that the entire office can hear what he is saying. Can’t help it!

3. The keyboard Hercules:

There are always a bunch of people in every office who’ll type so hard that even the keyboard will start to cry. Most of the times they are old people who might have used a typewriter and now think that a keyboard is a modern-day typewriter. R.I.P keyboard!

4. The beautiful  bird:

There would always be one good looking girl in the office who would be walking by your desk just to distract you. If you are lucky enough she would be checking you out time and again.

5. The sad boss:

In every office, there is this one sad boss who would be running around the office just to get things done. At all times the poor guy would accidentally disturb you just because he is responsible to get things done. He’ll never be available on his desk. 

6. The happy one:

There will always be this one person who’ll talk at a normal pitch but will laugh at the highest pitch which would often make you laugh as well or sometimes annoy you as well.

This is not to offend any of my current employer or my peers or my seniors in office.

But yes I hope Amazon delivers my earphones soon. I just can’t take them all at once with coding work as well. :p

image

January 19, 2018 01:30 PM

"It was hard for him to leave her hand but that day he knew that it was the right thing to do as he..."

“It was hard for him to leave her hand but that day he knew that it was the right thing to do as he knew she would always find her way back to him. He knew he had to do it, not for her future or his future but for there future.”

-

Kshithij Iyer

January 19, 2018 02:30 AM

"I am not unhappy or sad, please don’t jump to that conclusion by reading my blogs. I do agree..."

“I am not unhappy or sad, please don’t jump to that conclusion by reading my blogs. I do agree to that some of them are a bit intense. But yes I am a bit skeptic about my future as I am unable to make the call at this very moment.”

- Kshithij Iyer

January 19, 2018 12:30 AM

January 18, 2018

Kshithij Iyer

"The worst thing that can happen in office is coming up in the morning and finding out your already..."

“The worst thing that can happen in office is coming up in the morning and finding out your already messed-up earphones are dead. Servers and VMs crashing aren’t really a huge issue.”

-

Kshithij Iyer

January 18, 2018 05:21 AM

January 17, 2018

Mannu Gupta

Blockchain: Making things cheaper

You must knew the meaning of Democracy. Right ?

Anyway here it is what i was taught in high school :-

Government of the People, by the People, and for the People.

Similarly think of Blockchain as :-

Network of the people, by the people and for the people.

^^ This may not be the exact definition of Blockchain but for the sake of the understanding the answer, let’s just pretend it.

How does this technology making things simpler ?

Simple answer :-

By proper Utilisation of resources

Long answer :-

Blockchain consists of mostly 3 parts :
1. P2P networking
2. Cryptography
3. Economics
Let’s try understand P2P first via its Use case.
Centralised architecture, source - here
^^ This is Centralised Architecture
Let’s say You and Your friend are two of the network of persons/peers (denoted by Green head ) want to do some money transaction with one other. The Red Person in the network (Central Person) is responsible for maintaining a ledger and takes cares of transactions and other stuffs like Security, Integrity and manages some sets some rules so that no one get cheated/exploited. Of course it will require high end hardwares resources, electricity, manpower etc to do such tedious tasks.
Here, only the Red person has the power to do such great stuffs. Green persons just want to get their transaction verified/validated. In case of any dispute/problem the Red Person will take responsibility and give decisions.
For this awesome service provided by him, Green persons will be paying him some amount of money every time they are doing any kind of the transaction. Let’s say if you want to send 100$ to your friend then you are supposed to give 1$ as to the Red Person, call it at a processing fee and your friend will get a 99$.
They are bound to believe in service provided by the Red Person because no one except the Red person owns enough resources solely to develop such architecture comparable as of his. Though everyone in the network has at least some of the resource distributed across but was like a waste for them.
Now the Green Person came up with an idea that, what if all the green persons started believed in a technology in which there is no need of a specific person who solely will be responsible for the services given by Red person.
Everyone started to contribute some of their resources like electricity, processing power to a network made by their own. That is what we called a Blockchain network.
Deceralised architectue source — here
Now all the resources that were just useless for some people became a useful asset to the network however small it was. Since no one is using his service for transaction verification, the processing charge they was initially supposed to give to the Red Person, now reduced/removed.
Hence now if you want to send 100 INR to you friend then you are supposed to pay 0.1 INR as transaction fee and your friend will get rs 99.9 INR (see the difference). Also that 0.1 will be given to one of the green person on the same network who will validate that particular transaction.

The above problem was a combination of P2P with an economical problem. Though blockchain technology can also be used to solve other real life problems like Fair Election system, Electricity billing system etc.

Hence, the proper use of resources using Distributed System along with mathematics and a problem to solve is blockchain, that is still evolving and i am sure it is going to create a revolution.

This is what i feel about blockchain, however comment/suggest/questions are always welcome.

by Mannu Gupta at January 17, 2018 08:27 PM

Kshithij Iyer

Three monkeys of open source

A year ago I got into all this business of open source communities, I got exposed to a huge number of organisms, Some good and some not that good. But eventually, I realized that all these organisms can be classified into 3 sets or as I like to call it “the three monkeys”.

First Monkey:

The first monkey, these are the people who have done something in open source and have got recognition for the same thing. These are the ones who sometimes have founded communities and have operated them for a long time. These are the ones who are satisfied with whatever small part they have played in a huge Open source project, If you talk to such people, you would find out they have some certain egoistic and arrogant attitude. And often such people won’t be interested in anything new and at times they would be the ones who’ll pull down new initiatives just because they don’t have any personal interest in it.  These people who hardly attend the meetups of the communities which they themselves might have founded.

image

Second Monkey:

The second monkey, these are the people who would say a lot of stuff and sometimes even rant about it but won’t do anything about. These are the ones who would be saying a lot of stuff but won’t be able to put things together and do something or won’t even try.  Such people are often not limited to one community they would be a part of multiple communities and would be suggesting a lot of things in each of them and will conveniently escape from each one of them.

image

Third Monkey:

The third monkey, these are the people who’ll try to do something in a community and would be eager to learn new stuff and would be energetic about it as well. But these people would often be handcuffed by the first monkey. Such people would often be loyal to one and only one community and at times maximum of two communities. These people are sometimes responsible for whatever activities are going on in some community.  But still won’t be appreciated by the first monkey.

image


Fourth Monkey:

And then there is the fourth monkey, yes there is a fourth monkey as well. Shocking right?

Then there are people who would be the part of all communities and would be present at all meetups and events. These are the people who’ll prefer to work in the dark. And such people would be doing a lot of work which they won’t say openly unless asked. Such people are often misunderstood by the third monkey,  feared by the second one because they might expose them and hated by the first one.  These are the ones who would be direct and would say everything on the face of people. These are the people who believe that

“Open Source is an ideology, a way of doing things, a way of looking at things and not a copyright of a few morons.”

These are the thinkers, doers, and learners. The people who don’t work for recognition or any other materialistic need.

image


So now you know all the four monkey, try being the best one out of them.

P.S: This is not intended to offend anyone, and even if you are I don’t care as I am the fourth monkey! :p 

January 17, 2018 03:00 PM

Jason Braganza

Carpe Diem!

(This is a rambling, introspective post, with no particular point to it, other than a reminder to my self to do better.)

np_phoenix_85574_000000l


Kushal Das, wrote a lovely piece on inclusivity and generosity of spirit.
What hit me though, (ergo this note to myself), was his thundering twist of a climax

He goes through the post talking about how his life’s been one roller coaster of highs and lows and people pulling him down like crabs in a barrel, yet other mentors pushing him hard to do his best.

And then he ends with

You don’t have to bow down in front of anyone, you can do things you love in your life without asking for others permissions.

Like Steven Pressfield, tells Jeff Goins

At what point can someone who writes call himself a writer?

When he turns pro in his head. You are a writer when you tell yourself you are. No one else’s opinion matters. Screw them. You are when you say you are.

I wish I had learnt this so much earlier in life.
In a strange fit of domain blindness I somehow translated “Carpe Diem!” as doing my best work, but for others!

I spent close to ten years of my life learning skills, getting better yet lacking the courage to do what I wanted to do. Maybe if I wasn’t so chicken or worked extra hard for myself, things might have turned out differently for me too, instead of me being here, all of thirty-nine, wondering where the years went.

But thanks to the wife and her courage, I was inspired too!

I realised that I could not wait for life to hand me opportunities on a platter.
I could not wait for all my problems to go away, before I could make a risk free change.
I have only one life to live, and I don’t want to see myself ten, twenty, fifty years down the road, once again ruing the choices I made and the chances I did not take.

And the other related thing / flaw / weakness that I got over last year, was that I stopped waiting for people to give me permission.
I used to think, that if people were older, more experienced, they would automatically be more wise, in all domains of life.

Now I know through bitter experience that, that is simply not true.
I am smarter, much smarter than most folks in some areas and dumber in most others.
The same holds true for other folk!

So it’s all up to me, to build myself up, to learn more, put myself out there and make something of myself, trusting in myself and amor fati.[1]

Like Horace wrote over two thousand years ago …

dum loquimur, fugerit invida
aetas: carpe diem, quam minimum credula postero.

In the moment of our talking, envious time has ebb’d away.
Seize the present; trust tomorrow e’en as little as you may.

And to wrap it up even more succinctly, here’s Steve Jobs[2], driving the point home (transcript below)


So, the thing I would say is … When you grow up you tend to get told the world is the way it is and your … your life is just to live your life inside the world, try not to bash into the walls too much. Try to have a nice family life, have fun, save a little money.

But life … That’s a very limited life. Life can be much broader once you discover one simple fact, and that is …

Everything around you that you call life, was made up by people that were no smarter than you.
And you can change it, you can influence it, you can build your own things that other people can use.

And the minute that you understand that you can poke life and actually something will, you know if you push in, something will pop out the other side, that you can change it, you can mold it. That’s maybe the most important thing. It’s to shake off this erroneous notion that life is there and you’re just gonna live in it, versus embrace it, change it, improve it, make your mark upon it.

I think that’s very important and however you learn that, once you learn it, you’ll want to change life and make it better, cause it’s kind of messed up, in a lot of ways.
Once you learn that, you’ll never be the same again.


  1. The fates will bring what they will. All I can do is accept it, love it. ↩︎

  2. part of my circle of the eminent dead ↩︎

by Mario Jason Braganza at January 17, 2018 01:00 PM

Kshithij Iyer

"Building a WordPress theme is not going to be that easy I guess! So many coding standards to be..."

“Building a WordPress theme is not going to be that easy I guess! So many coding standards to be followed. :(”

- Kshithij Iyer

January 17, 2018 07:36 AM

January 15, 2018

Jason Braganza

An Idea to Get Me Writing Regularly

np_article-management_475174_000000


I stuggle to write regularly.

Sometimes, I struggle to write, because I can’t think of anything to write.
And sometimes, I struggle, because I have a deluge of ideas.

So I want to get this wisp of an idea down on the page, before I lose it.

  1. If I think it is of any interest to me, I should write it down in my own words.
  2. I will not pick up another book, before I write what I think of it, or write down the notes I highlighted.
    Even if it’s only a line, I ought to write it down, instead of just using Librarything or Goodreads to say I’ve read it.
  3. If I learn it, I should write it.
    I’ve already forgotten, how I got a carousel installed on my personal blog.
    I should write shit down.
  4. Drastically reduce twitter and rss use.
  5. Copy Kushal and have a regular weekly cadence.
    That’ll give me at least fifty two posts a year.

Well, that’s the idea … written down.

All I have to do now, is do it.

by Mario Jason Braganza at January 15, 2018 01:29 AM

January 14, 2018

Kshithij Iyer

Hakka noodle with stir fried Tofu. #Noodles #chinese...



Hakka noodle with stir fried Tofu.
#Noodles #chinese #IamGoingToRegretCleaningUp

January 14, 2018 01:42 PM

Vipul Gupta

Two Thousand and Seventeen

2017 has been a jolly good year for me. Moving on to the next post now.Oh, so you are one of those types who like to see and actually read my blog. I am so very grateful to you for clicking the read more tag. But I do apologize to leave you disappointed. There is nothing worthwhile or glamorous enough to mention, which would widen your eyes, or astonish you. I am just a male teenager living in the 21st century. Trying to express his thoughts on the year that has gone by. If you like a rant then read on.

Well, New Year’s are all about resolutions you make (and break), food that you swallow (A sack of potatoes, that’s you), and people that you meet. It’s a snobby affair in which you get 369 messages from long forgotten friends wishing you a Happy New Year and Merry Christmas (in some cases) without giving a fuck in this world. You open them all and reply to each of them with every drop of fake enthusiasm you can pull from your gut. You either enjoy the holidays at your home or get ready to go out party your brains out. But in between all this chaos, someone just needs to tap you on your shoulder and tell you that ‘Nothing really matters.’ and that it’s just another day. You need to realize that you would feel no different when you wake up the next day.

Make no mistake in realizing that I had the same plans too. The carbon-based life forms that we are. We love to be in a herd. We just can’t be alone. We just can’t stop socializing with other beings. We just can’t stop going to parties and upload fake Instagram posts. [I uploaded 3. Go check them out] Thing is I am neither against nor for this trend. But the first of January is just a day for me in the year of 2018. Just like the rest of 364 days. I just hate the overdose of positivity and optimism in the air. Unrealistic plans and activities are thought on about. ‘List of things to do in n year’ are produced on at an unprecedented rate. I don’t dislike positivity but not to the point it gets irritating. Some should always be there to give people a reality check just to keep things in perspective.

What I am getting at is, stop pretending. Stop giving out too many fucks. Get a hobby, do something worth your while. Get a project, learn a language. Break the routine that chains your life. I made a small naive pledge on someday of 2017. Which a good friend of mine made me remember. This made me break my chains.

“I would something crazy and new everyday in 2017.”

Did I follow up on that? I think so. I started this blog. Tried things that I have never tried before. Fell in love. Made some new friends. Participated in things, conferences, projects. Worked with professionals and gave a little back to the community. It was a good year. I changed and molded into the person I want to become and am now focused as ever. Started reading again. Started writing short stories. Visited new places and learned so many new things. Got back to many people I left along the way. Change is GOOD. And once you believe that you can change too, there is nothing stopping you.

Going through world events right now, I see Trump becoming President (Sigh), the mix-up of best picture involving Moonlight and La La Land in the Academy Awards (I loved LLL), Trump building a wall on the border (More sigh and very good memes), many great musicians died, the war on terror never seemed to end. “Wannacry” attacked computers all over the globe while Zika virus spread like wildfire. Then, Brexit. A lot of good things happened too. ISRO and SpaceX made some incredible advancements in space exploration. GST and Rally for Rivers started in India for the benefit of the public and the environment. The rise of Snapchat, Pokemon Go, and 100 other apps. Fidget spinners, Taylor Swift so many other events that happened.

But this year like every year has been rocky and sad for some. For some came bearing gifts and happiness. What we have to do is not expect so much from a year and embrace each and every day like I do by having some memes. Enjoy.

Click to view slideshow.

 

 

 

by Vipul Gupta at January 14, 2018 12:18 PM

January 12, 2018

Kshithij Iyer

When Chai and Coffee met!

Two people meet each other through a mutual friend and they go together to a cafe. So this is a conversation of 2 strangers who have almost opposite personalities and what they talk when they meet. Chai is a girl and Coffee is a boy.
Chai: Hello!
Coffee: Hi!
Coffee: What would you like to have?
Chai: I would like to have tea!
Coffee: Excuse me! Can I have a Matka Chai and a Cold Coffee with Choco Chips?
Waiter: Sure Sir!
Chai: So how was your day?
Coffee: It was good, you know I went for bungee jumping. How was your day?
Chai: Not that exciting, I completed reading a book which I started reading yesterday.
Coffee: How many pages?
Chai: 550 pages or more I guess.
Coffee: Wow! You seem to read a lot more and a lot faster than me. I can only manage to read 175 pages within a week.
Chai: So which was the last book you read?
Coffee: "Rich dad, poor dad." by Robert Kiyosaki. It was on how to manage your money.
Chai: Oh!
She didn't know what to say.
Coffee: What are your favorite movies?
Chai: I don't watch that many movies. You like to watch movies?
Coffee: Yes, I love watching movies on my off days.
The waiter comes back with their order. He accidentally gives the cold coffee to Chai and tea to Coffee. They both exchange their drinks with each other such that they get what they ordered.
Coffee: Why don't you like coffee?
Chai: I have never tried coffee, Why do you hate tea?
Coffee: I don't hate tea, I just could never understand how to make tea. It's a bit too complicated for me.
Chai: What kind of music you like to hear too?
Coffee: I love to listen to EDM. What kind of music you like to hear too?
Chai: Old Hindi classics mostly.
Coffee: Oh!
Chai: I have a personal question can I ask you?
Coffee: Sure, why not!
Chai: Do you seriously consider her your friend?
Coffee: Honestly speaking I don't actually consider anyone my friend because my level of commitment is different and their level of commitment is different.
Chai: Oh Yes! People misuse the term friends a lot these days.
Coffee: Haan! They say friends and then they use you and when they are done with you, they leave you and go away.
Chai: I just hate such people.
Coffee: I don't love such people either.
Chai: It's better to alone than having someone like this as a friend. I have often ended up in wrong types of relationships because of this, I consider them good friends but they just think of me as time pass and once their work is done they move on and I feel bad.
Coffee: I have ended up with people who use the term friends and get their work done and then they move on.
Chai: I am very sorry to hear that!
Coffee: But anyway these are all learning for us, you learn something from good experiences and you learn way more from a bad one.
Chai: Agreed!
Chai's phone starts to ring it's her mom, she has to go home as it's already too late. They both pay their halves of the bill and then they move out.
Chai: (in her mind) He seems to be a nice boy, should I ask him to catch up later?
Coffee: (in his mind) She seems to be a nice girl, should I ask her to catch up later?
Coffee and Chai(together): Can we meet again for a coffee?
Chai: Yes! Why not?
They both exchanged numbers and then they went their separate ways.
After a few days they meet again.
Chai: Hello!
Coffee: Hi!
Coffee: What would you like to have?
Chai: I would like to have Cold Coffee with Choco Chips!
Coffee: Excuse me! Can I have a Matka Chai and a Cold Coffee with Choco Chips?

January 12, 2018 12:30 PM

"Today first time in my life, I am taking a break from doing nothing. Am I way too good at what I do..."

“Today first time in my life, I am taking a break from doing nothing. Am I way too good at what I do or Am I way too fast at what I do?”

- Kshithij Iyer

January 12, 2018 10:47 AM

January 10, 2018

Kshithij Iyer

"Sometimes you need to use the complex thing and sometimes you have to go old school, but no issues..."

“Sometimes you need to use the complex thing and sometimes you have to go old school, but no issues whatever gets you work done. :p ;)”

-

Kshithij Iyer

January 10, 2018 03:00 PM

"He got up really late but instead of worrying about being late for work, he smiled and went to take..."

“He got up really late but instead of worrying about being late for work, he smiled and went to take a shower. He had two missed calls on his phone, one was from his mom and another was from his love. He knew he had finally found the love after all these years.”

- Kshithij Iyer

January 10, 2018 03:42 AM

January 09, 2018

Jason Braganza

User specific Inbound and Outbound Routing of Email for Google Apps

np_sign_1018269_000000

Writing this up, for future dumb me.

I wanted to be able to archive my Google Apps account (just me on my domain) to somewhere else on a sorta-kinda automatic basis.
I also did not want to make domain wide changes, because I don’t want to affect any future users I might add to my Google Apps account.

What I want:
Archive all my incoming and outgoing mail (on Google Apps) to another cloud account

How I did this:
Incoming Mail
This part is fairly easy to do.

  1. Login to your control panel at https://admin.google.com
  2. Go to users - click your user - and scroll down to email routing in Account sectiom
  3. Click add another destination, type in your non Google archival email address and click save.

inbound-routing


Outgoing Mail
Figuring out how to do this, required a little more Google-fu

  1. Login to your control panel at https://admin.google.com
  2. Go to apps - G Suite - Gmail - advanced settings.
  3. On the first page, general settings, look for routing in the routing section.
  4. Click Configure.
  5. Type in a name for your route so that you remember who or what, in case you do multiple routes
  6. Under messages to affect, choose Outbound
  7. Choose only to affect a single address in the Envelope filter section. (type in your address)
  8. Hustle down to step 3, leave it at Modify message and under “also deliver to”, click “Add more recipients”, click add and then type in the same non Google archival email address.
  9. Hit Save, Add Setting, and Hit Save.

Outbound-Routing-1

Outbound-Routing-2


And tada! Bob’s your uncle :)

by Mario Jason Braganza at January 09, 2018 05:14 AM

Kshithij Iyer

"When you have to face a huge problem in life just pull a brick from it and step back, who knows you..."

“When you have to face a huge problem in life just pull a brick from it and step back, who knows you might end up pulling the right brick and the entire wall of problems will fall down.”

-

Kshithij Iyer

January 09, 2018 04:30 AM

January 08, 2018

Kshithij Iyer

"Don’t work for money, Don’t work for respect, Don’t work for..."

“Don’t work for money,
Don’t work for respect,
Don’t work for satisfaction,
Don’t work because you have to or need to,
Work because there is an awkward moment of joy in crashing systems on a Monday morning,
Work because it’s fun to fool clients, 
Work because the rush of getting things done gives you a high like nothing else in this world
And lastly
Work because you enjoy being the best at whatever you do. :p”

- Kshithij Iyer

January 08, 2018 04:34 AM

January 07, 2018

Kshithij Iyer

January 06, 2018

Niranjana Deshpande

January 05, 2018

Kshithij Iyer

"Okay! This is something new for me. Normally when I listen to “Love the way you lie” I..."

“Okay! This is something new for me. Normally when I listen to “Love the way you lie” I used to focus on the abusive portion of it, but nowadays I focus on the part where Eminem says How he can’t live without Rihanna.  :)”

- Kshithij Iyer

January 05, 2018 01:30 PM

"SysAdmins make a mistake and the Data Analyst gets a tough time to find a way around all these..."

“SysAdmins make a mistake and the Data Analyst gets a tough time to find a way around all these idiocies created by miss configuration of major IT infrastructure. :p”

-

Kshithij Iyer

January 05, 2018 10:28 AM

"When you know way too many programming languages, life becomes way too confusing. :( Oh god, How do..."

“When you know way too many programming languages, life becomes way too confusing. :(
Oh god, How do you do one thing which you do in one programming language in another!”

-

Kshithij Iyer

January 05, 2018 09:51 AM

January 04, 2018

Kshithij Iyer

Saptak Sengupta

CSS Masking: Mask of Batman

Recently, I have been watching videos on CSS to know more about the various interesting features in CSS such as grid layout, flex, filter and so on. After all, it is one of the Turing Complete languages. One way I like to learn more about languages is by watching conference talks. So, I was going through the different talks in CSSConf 2015 when I came across this talk by Tim Holman titled Fun.css. It is a really fun talk but one thing that really caught my eyes was the transition between slides using a star wipe. I searched to see if I could find the code for how to do it with purely CSS but didn't get much help. This is when I decided to give it a try myself. But why Star? I would make a Bat Swipe.

So this is the final prototype I made using just CSS without any Javascript.


See the Pen Bat Swipe by Saptak Sengupta (@SaptakS) on CodePen.

The main CSS property that is used in the above example is mask-image and associated CSS Masking properties. What masking does is hiding parts of the visual section of the webpage by the mask layer. there are two ways of masking - CSS or SVG. So you can either use a CSS gradient or luminance to create a mask, or use an SVG image. In our example, we are going to take about how to use SVG.

<div class="content">
<p>Hover</p>
</div>
<div class="wipe">
<div class="content black">
<p>I am Batman!</p>
</div>
</div>

So, in the HTML code we basically have 2 layers. To create that, I made a <div class="content"> with the actual content inside a <div class="wipe">. So the text of the class "content" must remain hidden until the wipe class reveals the content.

Now it's time to implement the CSS code to make this thing happen.
.wipe {
mask-image: url(https://vignette.wikia.nocookie.net/logopedia/images/3/3c/Batman_symbol_%282008-2011%29.svg);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: 0;
}

The above CSS code applies the mask over the content class so that only a part of the content is visible. Here we use mask-image which is a link to the SVG image which we want to use as our mask. Since it's a Bat Swipe, I have used the logo of Batman. You can use pretty much use any SVG image but I would suggest that you use a filled SVG image rather than line art. This is because the SVG masking uses the alpha factor of the image. Say in our case, since the Batman logo is a filled black image on top of a white background, so when we apply it as a mask, the visual area behind the black part of the image is visible, and the area behind white part gets masked or hidden.

The CSS properties mask-repeat and mask-position are used to ensure that there is only one mask no matter whatever the size of the mask and it stays always in the middle. You can modify these parameters based on your use case. Say, you wanted a polka dot mask style, you would want then want to have a black disk mask-image and mask-repeat as "repeat".

The CSS property mask-size is most important in our case to create the effect of swipe or reveal. By now, most of you must have already guessed that to get the effect, what we essentially need to do is increase the size of the image with time. I have done the entire animation of swiping on hover because it is the easiest way to display a transition with only CSS.

So at the beginning, we keep the mask-size as 0 and then we add a pseudo hover property to increase the mask-size to 500% (enough to cover the entire page over most resolutions) with a transition.

.wipe:hover {
mask-size: 500%;
transition: 3s;
}

We apply a transition over 3s using the CSS transition property. So, if you would like a really slow animation instead of a swiping action you can just increase the value of transition property so that the transition of size happens over a longer duration of time.

The only last thing remaining is cross-browser compatibility. So will this code work in all browsers? Sadly, no. As of now, the mask-image and associated CSS properties are fully supported only in Firefox since version 53. However, you can make it work in Google Chrome, Opera and Safari using the prefix "-webkit-". So if you add -webkit-mask-image property as well, then it starts working in chrome and safari as well. Sadly, IE, Edge and Opera Mini doesn't provide any kind of support.




by SaptakS (noreply@blogger.com) at January 04, 2018 07:53 AM

Kshithij Iyer

"This data is going to give me a hard time I guess, the same data which made me wait for so long."

“This data is going to give me a hard time I guess, the same data which made me wait for so long.”

- Kshithij Iyer

January 04, 2018 04:38 AM

January 03, 2018

Kshithij Iyer

New wallpaper for the laptop. I have to say this one is pretty...



New wallpaper for the laptop. I have to say this one is pretty cool!

January 03, 2018 03:10 PM

Vivek Anand

Detecting USB Insertion/Removal using Python

In my last blog, i wrote about how usbmount can be used to automatically mount a usb. Today, i had to detect this mounting from python and show it in a web application that a usb has been inserted. I used pyudev for this and ran it in a different thread so that the main application thread is not affected by pyudev’s monitor loop.

class USBDetector():
    ''' Monitor udev for detection of usb '''

    def __init__(self):
        ''' Initiate the object '''
        thread = threading.Thread(target=self._work)
        thread.daemon = True
        thread.start()

    def _work(self):
        ''' Runs the actual loop to detect the events '''
        self.context = pyudev.Context()
        self.monitor = pyudev.Monitor.from_netlink(self.context)
        self.monitor.filter_by(subsystem='usb')
        # this is module level logger, can be ignored
        LOGGER.info("Starting to monitor for usb")
        self.monitor.start()
        for device in iter(self.monitor.poll, None):
            LOGGER.info("Got USB event: %s", device.action)
            if device.action == 'add':
                # some function to run on insertion of usb
                self.on_created()
            else:
                # some function to run on removal of usb
                self.on_deleted()

Since, usbmount mounts the filesystem of usb at some particular locations (/media/usb0-7), you can easily check for files in those folders and do whatever you wish to do with it.

Using the above code would be as easy as creating an object of USBDetector class.


by Vivek Anand at January 03, 2018 02:39 PM

Kshithij Iyer

"Two idiots fight and then they burn entire cities for that very stupid reason! I guess India still..."

“Two idiots fight and then they burn entire cities for that very stupid reason! I guess India still has to learn “How to Ignore nonsence?””

- Kshithij Iyer

January 03, 2018 06:34 AM

January 02, 2018

Kshithij Iyer

"She was sick and he was well but still, she slept and he couldn’t. I guess in the end they..."

“She was sick and he was well but still, she slept and he couldn’t. I guess in the end they finally found love.”

- Kshithij Iyer

January 02, 2018 04:30 PM

Jason Braganza

On Resilience and Persistence

resilient

Kushal Das, on developing his writing chops …

It boiled down to one thing. One has to write more. This is no short cut.
So, I tried to do that throughout 2017.
If I just look at the numbers, I wrote 60 blog posts in 2017, which is only 7 more than 2016.

Austin Kleon, on trying to get his son to draw …

Several times a day since October, ever since the Halloween decorations went up, my two-year-old son Jules has asked my wife or me to draw him an “x-ray.” (That’s his word for skeleton.) … We’ve drawn hundreds of skeletons for him, over and over and over again.
He flat-out refuses to attempt drawing one for himself.

Seth Godin, on doing the work

Slow and steady
The hard part is “steady.”
Anyone can go slow. It takes a special kind of commitment to do it steadily, drip after drip, until you get to where you're going.

Several times, during my programming journey, I tear my hair out over things I just do not understand.
I fall off the wagon due to ill health.
I’m old; no match for today’s young, smart, kids
I feel so dumb, like I’m not cut out for this.

Yet, I have dreams.
I have ambition.
I’ve loved the way software has changed my life and I’d love to solve people’s problems by doing the same thing
I have my back against the wall, literally, in terms of the risk, this current change entails.
I want, nay, yearn to do this.

And the three wise men above, give me hope.

Here’s Kushal, on the results of his year long writing journey

Did your writing skill improve a lot?

The answer is no. But, now, writing is much more easier than ever. I can sit down with any of my mechanical keyboards, and just typing out the things on my mind.

If I just look at the numbers, I wrote 60 blog posts in 2017, which is only 7 more than 2016. But, the number of views of the HTML pages, more than doubled.

And Austin, on when his little one, started to draw

What happened? What convinced him it was time? The construction paper and the markers have been there at his disposal for months. Was it that we had visitors in the house for Christmas? I can’t come up with any convincing external factor that might have caused him to finally pick up the marker.
He just decided he was ready.

As is so often the case with parenting, you do the same Sisyphean, seemingly meaningless task over and over again, wondering when the heck it will add up to anything.

And then, one day, often without warning or fanfare, the meaning arrives, and you still can’t believe it.

After all, you don’t get to blog post 7000, in a day.
You do it one day at a time, drip after drip after drip.

The secret to writing a daily blog is to write every day.
And to queue it up and blog it.
There is no other secret.

And so, I grind away, filled with hope.

by Mario Jason Braganza at January 02, 2018 01:13 PM

Kshithij Iyer

"Now I feel like Tadashi from the movie Big Hero 6 and this is the first post from my Baymax."

“Now I feel like Tadashi from the movie Big Hero 6 and this is the first post from my Baymax.”

- Kshithij Iyer

January 02, 2018 10:18 AM

"Okay! Here I am the first working day of 2018. 364 mistakes to make, 364 more lessons to learn, 364..."

“Okay! Here I am the first working day of 2018. 364 mistakes to make, 364 more lessons to learn, 364 memories to live for.”

-

Kshithij Iyer

January 02, 2018 03:48 AM

December 31, 2017

Kshithij Iyer

Happy New Year!

Okay in a minute 2017 is going to be gone, Let’s look back at this year. So it all started with a few so-called friends being deleted from my life. Then ended up making major blunders in my love life, but no issues finally found the love of my life as well. I finally got a bike, learned how to ride it, crashed and then made one of the best trips in my life on it. I found out that some people were worth depending on. Completed a few projects which I always wanted to do and started a few projects which would be hopefully done before 2018 ends.

Yes! I am still struggling with some things but yes it’s a whole lot easy when you have someone with you.

Happy New Year Everyone, May you find all the success you want in life this next year, may it bring you happiness, joy, and love.

December 31, 2017 06:29 PM

Last meal of 2017, Maggie Pizza! (at Pune, Maharashtra)



Last meal of 2017, Maggie Pizza! (at Pune, Maharashtra)

December 31, 2017 02:47 PM

Sanyam Khurana (CuriousLearner)

9 essential questions I asked myself at the end of year 2017

I read an article on medium about 9 Essential Questions Everyone Should Ask Themselves At The End of The Year. This motivated me to ask myself these questions.

Yes, indeed the end of December put me in a reflective mood to decipher how the year 2017 was for me. My learnings from these 12 months would definitely help me in pointing to a direction to improve myself.

If you had to describe these previous 12 months, in a sentence, what would that sentence be?

No matter where you stand today; perseverance is something that can get you anything.

Ask yourself — which one event, big or small, is something that you will still talk about in 5 years?

My contributions in CPython were recognized; I got Developer role on bugs.python.org. Community trusted me with such privileges and that is something really special :)

What successes, accomplishments, wins, great news and compliments happened this year? How did you feel? What single achievement are you most proud of? Moreover, why?

It was contributing (small) changes to improve the Python programming language. The best news I got was indeed of getting promoted to bug triager for CPython. It feels absolutely mesmerizing. A huge part of the folks who code in Python are already using features that I developed.

It feels so encouraging when someone reports a bug on my feature. More than that, there was a flaw in it's working, what gives me happiness is that they were using it.

It is the feeling to help people all over the world.

Besides that, I am helping a few students to learn to program and contribute to Open Source. That makes me immensely happy.

And last but not the least, I learned to play a few songs on Guitar :)

Did something prevent you, or you used the “Excuse Card” too much?

Yes, indeed. Although it is important to be persistent and work with perseverance, it is also important to know what should be done and where to really apply our efforts.

I remember this just corresponds to what I learned in Physics about directional cosines for Force. You need to apply force, but somewhere and somehow ensuring that the angle is small; that would have the maximum impact on your persistent force.

So, while applying effort is important, it is much more important to apply it in the right direction. Not applying the force in the right direction made it real hard to move on stuff.

Which of your personal virtues or qualities turned out to be the most helpful this year?

I learned that it is important to prioritize things. It is important to Get things done. We just need to do small tasks in a simple manner; the big things will take care of themselves.

Being persistent with stuff was most helpful to me in this year.

Who was your number one go-to person that you could always rely on?

There are a lot of people that helped me in various things. The list is really long and might bloat up this blog post. So, I'll keep it off for another day.

But I'm grateful to a lot of folks, who helped me in different phases of my life.

What Was The Most Common Mental State This Year?

It was indeed a roller-coaster ride. It was full of ups and downs; sometimes several times a month. With many important learnings, life happened.

Sylvester Stallone, in his role of Rocky Balboa, had an amazing speech:

Let me tell you something you already know. The world ain’t all sunshine and rainbows. It is a very mean and nasty place, and I do not care how tough you are it will beat you to your knees and keep you there permanently if you let it. You, me, or nobody is gonna hit as hard as life. However, it ain’t about how hard ya hit. It is about how hard you can get hit and keep moving forward. How much you can take and keep moving forward. That is how winning is done!”

I felt euphoric with only helping others. May it be helping students to learn & contributing to FOSS or just helping folks with my work in Open Source. All of it triggers curiosity, excitement, and enthusiasm.

What’s The Difference Between You on January 1st of 2017 vs You Right Now?

  • If you were to write a short biography about yourself right now, what would you say?
  • How would you describe yourself? What the best thing about you?
  • How about one year ago? What are the main differences?

I learned to appreciate the things I've right now. It is the best I could've got. There is much more to accomplish; for which I'll keep working.

I completely respect and appreciate the things I've faced. It made me stronger, wiser & more confident.

I appreciate every single thing. Every single person that I know :)

What Are You Grateful For?

I am grateful to someone who made me realized that I wasn't good enough. That triggered enough fire which fueled enough motivation to keep me going throughout the years. Year after year, it never ends, just continues...

Alright, this marks the end of the post. Overall, the year was full of excitement, learnings, new friends, few vacations and what not :)

by Sanyam Khurana at December 31, 2017 07:25 AM

December 30, 2017

Kshithij Iyer

"pyarrow and arrow are two different packages for two totally different things. :p"

“pyarrow and arrow are two different packages for two totally different things. :p”

- Kshithij Iyer

December 30, 2017 01:20 PM

December 29, 2017

Vivek Anand

Detecting and Automatically Mounting Pendrive on Raspbian Stretch Lite

In the lite version of Raspbian Stretch, i didn’t expect that i would have to manually mount the pendrive. I had a use case in which mounting it automatically was a necessity and thus i came across usbmount.

You can install it in raspbian using apt-get.

sudo apt-get install usbmount

Usbmount gives a lot of configuration options in /etc/usbmount/usbmount.conf  but, for my use case the default were good enough.

This wasn’t enough though. It wasn’t detecting the usb stick. And, on searching i found out that i wasn’t the only one who was having this problem. For the usbmount to work in raspbian stretch, you will have to manually edit systemd file for udevd located in /lib/systemd/system/systemd-udevd.service and change MountFlags=slave to MountFlags=shared as someone commented here.


by Vivek Anand at December 29, 2017 10:07 AM

Kshithij Iyer

"Nowadays job interviews have just become a periodic pheromone, an interview gets scheduled some guy..."

“Nowadays job interviews have just become a periodic pheromone, an interview gets scheduled some guy who has been working in the same field for years comes and asks me questions from a topic which is a small topic in a huge paper. I end up with no job and no self-confidence. But the only thing good about all this is that nowadays I have learned to move on from all this. Nowadays I come back to the office and work like nothing happened yesterday.”

- Kshithij Iyer

December 29, 2017 03:39 AM

December 27, 2017

Kshithij Iyer

kshithijiyer:Sometimes love for someone can’t be expressed....



kshithijiyer:

Sometimes love for someone can’t be expressed. Sometimes it come from unexpected sources. Sometimes it is more than enough for someone. Sometimes someone who keeps you ahead of all, eats after you sit at the table and sleeps after you go to bed has four legs and a tail. Sometimes lovers working on the road hold a leash instead of hands. Sometimes love doesn’t fade away with time. Sometimes a love story ends with one person suffering on earth and another in heaven. Even after almost an year and half I couldn’t fill the empty space which she left. I know I’ll have tears in my eyes till I complete this post. But I guess after all this I have to make peace with whatever happened. I just hope wherever you are, you are getting everything which I used to give you and more. Hope that wherever you are you don’t have VEG pedigree. Hope you get all the tomatoes, apples and noodles you always wanted. I miss you Lucy. And I hope we’ll meet each other again in some other form at some other place during some other era.
Love always,
Kshithij. (at Alkapuri)

Miss you lucy! 

December 27, 2017 07:44 AM

"Let the game begin, the clock just started to tick. Tick tick tick………….."

“Let the game begin, the clock just started to tick. Tick tick tick…………..”

-

Kshithij Iyer

December 27, 2017 04:30 AM

December 26, 2017

Kshithij Iyer

"Someone once said me “You only have one life, live it as much as you can.” But after a..."

“Someone once said me “You only have one life, live it as much as you can.” But after a while, I realized I only have one life so let’s live all the lives in this one only.”

- Kshithij Iyer

December 26, 2017 07:42 AM

December 25, 2017

Kshithij Iyer

"Finally, I am able to put the bigger picture together…. And now I feel like a fool who was..."

“Finally, I am able to put the bigger picture together….
And now I feel like a fool who was being played.”

- Kshithij Iyer

December 25, 2017 10:49 AM

"She said, “You guys are my relationship goal!” And in my head, I was like it could have..."

“She said, “You guys are my relationship goal!” And in my head, I was like it could have been you instead of her if you would have understood what I was trying to tell you all this time, only if you would have been a bit more courageous love.”

- Kshithij Iyer

December 25, 2017 10:39 AM

And those cold evenings spent blogging, reading, writing and...



And those cold evenings spent blogging, reading, writing and thinking with a warm cup of coffee.
#ThisWasYesterday (at Pune, Maharashtra)

December 25, 2017 10:35 AM

December 24, 2017

Shivam Singhal

Moz Hack Day

Hello Everyone ,

This post is about a hackathon “ Moz Hack Day ” which was held in USIT for every student who was interested in A-Frame on 16 December 2017.

Agenda:-

  • Talking About VR, WebVR & A-Frame.
  • Demo of basic A-Frame scenes.
  • Basic concepts of A-Frame.
  • Addons Concepts & implementation.
  • Hands-On Addons development.

The event was started by the introduction speech, following with introduction of A-Frame and speaker also gave a look-up to attendees upon previously created ideas with A-Frame.

I, first of all, introduced myself and interacted with students by sharing my experience.I then started the event by introducing some basic stuff about WebVR like Mozilla and it’s mission of better and safe web,  Mozilla’s initiative on making web more approachable, later also told them about MozActivate initiative and then, explained virtual reality, hardware compatible headsets and their technology, friction of  VR ecosystem.

I also explained what is WebVR, and how amazing it’s development process and results could be by showing them some cool a-scenes stuff I developed before then, Explained A-Frame documentation and gave it’s website source which is (aframe.io), I requested attendees to have a view over A-Frame documentation but later explained it.

then explained and showed them the basic example “ Hello World ” of A-Frame, which helped them to understand the basics of A-Frame development. Some Students raised there questions and it was good to see their doubts and curiosity to know better and understand deeply the concepts and those doubts were cleared.

I then explained about languages we need with A-Frame.I explained then about entity component system, about a-painter, then about registry, and at last about community.Then, we had our first refreshment break which included Tea, cold-drinks and wafers (according to attendees), then we started our development process.

After Tea break now, attendees started coding and creating their ideas and imaginations. Few of the students were good with A-Frame development and were creating really good stuff, which includes 360 image and 360 video scenes which were great. Now it was the time for Lunch break.

Now after lunch attendees again started coding what they were left before lunch and developers and students who were creating some good stuff were coding faster for completing their project, and it was good to see students collaborating which feels like a hackathon or an informative session.

As the session was just getting finished and there were just 30 minutes left, most of the developers had finished their development process and they were getting ready for submitting what they had created.

Now session concluded and I thanked all the attendees and developers who were coding and created great stuff.

Thanks for reading 😀 .

 

 


by championshuttler (Shivam Singhal ) at December 24, 2017 03:57 PM

Mannu Gupta

Kshithij Iyer

Three seconds

The fastest I have ever gone is 104 Km/hour but this is not about going fast. That day I when I reached a 104 Km/hour on NH48 on my bike, I shut my eyes for 3 seconds. Those were the best three seconds of my life, in those three seconds my entire life was played in fast forward in front of my eyes and I had realized that life was not as bad as I was thinking it is. Those were the three seconds when my heart was also pumping at 104 Km/hour, those where the three seconds when I felt I was alive again after all these years. Those were the three seconds when I realize that I was living a dream.

Life is nothing without a pinch of adrenaline, So go out do whatever makes you feel alive.

December 24, 2017 11:50 AM

Vipin kumar

A C-program to print fibonacci serese

In mathematics, the Fibonacci numbers are the numbers in the following integer secquence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones.

0,1,1,2,3,5,8………

in programing it achive by  adding first 2 number

for example :

by adding first two number ( 0 + 1 )  we will get 1.

 

fibonacci-series-for-loop.c

 

#include
void main()
{
   int  number1 , number2 , number3 , number4;

   printf( " Enter your number : \n ");

   scanf( "%d" , &number1 );

   for( number2=0 , number3=1 , number4=0  ;  number1 >= 1 ;  number1-- )
{
        printf("%d\n",number2);
		number4=number2+number3;
                number2=number3;
		number3=number4;
		}
}

In above code number1 will accept number 1 from user and then using number2,number3 and number4 we will do our calculation and print Fibonacci secquence.


by kumar vipin yadav at December 24, 2017 10:30 AM

December 22, 2017

Kshithij Iyer

Let’s innovate something! #PerksOfTheJob #Work #Internship...



Let’s innovate something!
#PerksOfTheJob #Work #Internship (at C Dac Innovation Park)

December 22, 2017 04:53 PM

Vipul Gupta

The girl she hid

The guy he hid …
These words written by a friend touched a chord deep within me. With a guy that I hid …

The eclectic girl

She’s finally coming out. She can’t take it anymore. Life had given her opportunities where she had to know her strengths and the only the strengths as there was no space for weakness. The part where she had to be strong had come for her. This was the part where life had just begun just for the eyes of the world whereas for her, life began a long time ago. She believed a part of her had meant to be hidden, as secrecy had become the new cool. While others kept their friend’s secret to maintain that precious bond, she kept hers. That’s what she challenged herself, Keep a secret. A secret that makes life a lot more entertaining. Filled with suspicion. She choose her misery to be the cause of her amusement. She turned the expectations of her foes into pure blissful attempts for mere tears of sadness and…

View original post 564 more words

by Vipul Gupta at December 22, 2017 03:38 PM

December 21, 2017

Vipul Gupta

Google Drive (Backup and Sync) workaround for Linux.

Are you frustrated, angry and a little hurt that Google has still not released a desktop client of Google Drive for your favorite Linux distro? Are you having weird, nostalgic thoughts about shifting back to the blue screen of death or popularly known as the operating system, Windows? That sweet accessibility, comforts and smooth sync it provides. As your hungry soul searches relentlessly on Google for proper backup options on Linux. Friends, fear no more. I got you all covered (Well, almost all of you).

This method here works on Ubuntu [Only 16.04 or higher] (and its other flavors like Xubuntu etc; as tested by me) and Linux Mint without the use of any unofficial clients or opening your browser. If you have another distro other than the ones listed here, then skip down to the last section.

If you tried it on your system or any other distro. Do report your findings and results of your endeavors into the unknown. Also, I have listed various links in the sources section below for reference. Till then follow through these easy steps.

STEPS

  1. Fire up the terminal and install GNOME Control Center (GNOME System Settings) and GNOME Online Accounts.
    sudo apt install gnome-control-center gnome-online-accounts

    This might already be there in Ubuntu 17.04 but install it just to be on the safer side of things.

    Installing GNOME control center (If not already installed)

    Installing GNOME control center (If not already installed)

  2. Open GNOME Control Center on your distro, if you can’t find it. Then enter this in your terminal in Ubuntu.
    gnome-control-centerFor XFCE
    XDG_CURRENT_DESKTOP=GNOME gnome-control-center

    Viewing GNOME control center in XFCE

    Viewing GNOME control center in XFCE

  3. Open Online Accounts listed in the dialog box that opened.
    Direct path from terminal:- gnome-control-center online-accountsXFCE offers a different view of settings to change it to GNOME view (default it to GNOME control center making it easier to access online accounts)

    GNOME online accounts view

    GNOME online accounts view

  4. Click the ‘+’ button to add an online account in your GNOME Online Accounts. In this case, Google. A popup will open in which add your credentials and voila. Your Google Account is now added and ready for use. Select and remove permission on data GNOME can access and view.
    Screenshot_2017-12-21_06-53-04

    Add Google Account

    Allow GNOME access

    Allow GNOME access

    Choose which account will be used for logging into the drive

    Choose which account will be used for logging into the drive

    After logging in with your Google Account

    After logging into your Google Account

  5. Access Google Drive from your file manager (In the devices section of Thunar or Nautilus. Whichever you prefer). The second entry in the list (refer image below) is my mounted Google Drive. So it should look something like this.

The 2nd entry is my Google Drive.

All screenshots are taken from my current system having Xubuntu 16.04.

Other Fine Details and More Information

  • High bandwidth is recommended, in sync with Google Drive.
  • Just like on Ubuntu, your files won’t actually “sync” to your desktop, which means you won’t get an entirely offline copy. It’s just a convenient way to manage, open, and modify files without using your web browser.
  • You can seamlessly open and modify files and the changes will immediately be uploaded to your Google Drive account online. Your system will automatically upload the modified copy. Any files you add or delete are instantly synchronized back to your Google account, too.
  • With this, only sync can happen and other features that the Drive Client offers. This is not a complete solution but a workaround. And a pretty good one at that.
  • With me, for undisturbed access to the drive from the manager. Make sure of the following:-
    •    Online Accounts is opened in the background.
    •    If you get a message stating, “Failed to mount; Invalid Credentials for ” Then probably you need to log in again.
    •    If it is slow, then there is really nothing you can do about it. Trust me. Sometimes it is very slow. Though very effective.
  • The GNOME Control Center maybe not be visible in the menu try thus, I provided a way to get over that problem.

Other Clients That I Know of but Never Bothered to Use After This

With the open-source community being so active. They are fully functional unofficial Google Drive Clients who will do the job for you. I still haven’t tried them out. But if this doesn’t work out for you then there is still hope for you. These might not be free. If you have experienced them before, do comment about it.

  1. Download Insync (available for Mac OS X, Windows, and Linux: Ubuntu, Debian, Fedora, Arch Linux, Raspberry Pi CentOS/RHEL as well as portable binaries.)
  2. drive: A Command-line Tool by a Google Drive Developer. Installation details – https://github.com/odeke-em/drive#installation
  3. overGrive: A $5 Google Drive Client

Sources

OneTwo, and Three

That’s it on my side, hope it helps. Do post out the results or any problems you face in the comment section. Feedback appreciated.

Till then, live in the mix.

by Vipul Gupta at December 21, 2017 02:40 PM

Kshithij Iyer

"I don’t know but I honestly think that the end game this time is going to rip apart the..."

“I don’t know but I honestly think that the end game this time is going to rip apart the so-called friendship because when it comes to money or success Petyr Baelish was always right when he said: “Everyone is your enemy, Everyone is your friend!””

- Kshithij Iyer

December 21, 2017 01:30 PM

December 20, 2017

Sanyam Khurana (CuriousLearner)

Promoted to bug-triager for CPython

This is huge! I couldn't believe when I just woke up next to this mail:

Sanyam Khurana has been promoted

Yes, I got promoted to Developer role on bugs.python.org, which along with other privileges, provides access to close bugs. But with great powers, comes great responsibilities. Closing bugs means that the information is lost forever. So, utmost care is to be taken and reported on why a bug is closed (which might even involve writing code/scripts that prove it :)).

Victor Stinner is mentoring me and a few other folks who have been promoted to learn more about contributing to CPython code base. I've been reading the dev-guide and understanding the entire process to be followed.

Recently we've been also practicing to review Pull Requests along with reporting bugs and contributing code.

I hope to learn more about the process and contribute more to CPython. I wanted to write this post to specially thank Kushal Das and Nick Coghlan who helped me getting started with CPython in Feb 2017 during PyCon Pune sprints.

Also, thanks to Victor Stinner and Ezio Melotti for providing me those privileges.

I hope to get a better understanding of the code base and contribute more ;)

by Sanyam Khurana at December 20, 2017 03:04 PM

Kshithij Iyer

The Distance

I always thought that love is something which makes you weak but when I found the kryptonite for my Superman, it felt really good. And I was stronger than ever before. She was someone who I knew for quite a long time but we were those bees from different hives which often met each other while they went looking flowers. I had a great admiration for her, She was the perfect girl which anyone could ever have. She was the sweet simple girl.  The girl who was worth it all.

As far as bees were concerned they never had a chance to meet but we did, thanks to Mark Zuckerburg. We started talking after all these years like we were the helpful friends from a random guy’s love story but who knew we were writing our own. By this time life had been really hard on me, I had run into all sorts of issues by now. We had started talking as if we were two individuals who got beaten really hard in the name of love but soon we found out all of it was not that bad in the end, we had met each other. Then as in most love stories love happened. But it was not this easy because we were in two different corners of the world. And we had to manage everything through a dense network of wires while were laid by humanity so that people could be connected.

It all started with texts, we used texts all day. I often waited for her texts all day and so did she. Starting from occasional texting we moved on to frequent texting and then to voice notes and at last, we called each other on her birthday, I could never forget that night it was like a night which was just out of a fairytale. Soon we figured out that we could live without each other. And the story continued to video calls, I still remember the first time she called me for a video call I was hesitant that what if she might not like the physical form of me, and I was just being loved for the thoughts I had in my mind. But yes I was proven wrong, we both literally stared at each other for almost 10 minutes before she said: “say something?” And I was like “I love you.” 

But now I had the question in my head “Can I stand for what I said?” This thing haunted me for days but one day I felt it when I was looking at my call logs, I had realized she was the third person I cared most for in this world about and my phone bills were going to be really huge this time. But then I was like I can always skip my bad habits to compensate it. I always thought long distance relationships were something like a fugazi of a time gone by. But when we feel in love even when we’re so apart we never felt the need to find love from somewhere else. Life had once again proved me wrong and I had fallen flat on my face. 

Love was not always about touching or being with each other physically at all times. Love is something when you return home and you see her picture and forget about all the wars you fought earlier that day. Love is when her voice makes you forget all the problems you have in your life. Love is when you wait all day for a text from him. Love is when her passion becomes your passion and yours becomes her. Love is when you don’t look back even when a hot girl walks pass you. Love is when her life becomes your priority and your life becomes her priority.

In the end, I would like to say

“If its true love then it will last forever irrespective of the distance between you and her. So have to courage to fall for someone on a different corner of the world, who knows you might also end finding your true love.”

December 20, 2017 01:30 PM

"You know you make an enemy who wants to compete with you fiercely as soon as you walk into a..."

“You know you make an enemy who wants to compete with you fiercely as soon as you walk into a corporate office, Like this guy who is always competing with me on who is the first person to reach the office in the morning. :p”

-

Kshithij Iyer

December 20, 2017 06:37 AM

Vipin kumar

Reversing a number using for loop

reverse-using-for-loop.c

#include
void main()
{
   int number,i;
   printf("Enter a number\n");
   scanf("%d",&number);
   for( i = 0 ; number > 0 ; a = number/10 )
   {
         i=i*10+a%10;
   }
   printf("%d",i);
}

In above code we will take an integer as an input ,

and further using some mathmatical expression we ,

can reverse that number and store that in variable i.


by kumar vipin yadav at December 20, 2017 06:23 AM

Kshithij Iyer

"I guess I’ll soon find out if her love is stronger than their hate or not but honestly, I feel..."

“I guess I’ll soon find out if her love is stronger than their hate or not but honestly, I feel her love will push all these idiots aside and will guide me through the darkest patches of my life.”

- Kshithij Iyer

December 20, 2017 04:39 AM

December 17, 2017

Kshithij Iyer

"There will always come a day when you’ll say “I’ll ram them all in the barricades..."

“There will always come a day when you’ll say “I’ll ram them all in the barricades and win!” That was the day you realize that everyone is busy winning and no one wants to have a good sport.”

-

Kshithij Iyer

December 17, 2017 06:32 AM

December 15, 2017

Sanyam Khurana (CuriousLearner)

The cycle of creating bugs and patching them

I write patches, which creates more bugs; then I go and patch them again. The cycle continues...

If you've been following up my recent contributions on the CPython code-base, sometime back I added an enhancement patch to the code-base which presents the user a suggestion on the correct syntax hint for calling built-in print function in Python 3.6 & 3.7 if it is used as an old style print statement.

Recently a bug was filed for that new feature. I am more than excited to hear this news (because people have already started using the feature I added to Python programming language :))

When the following code is executed by Python 3.6.3 inside of a .py file:
def f():
    print '%d' % 2


, then Python gives the following error message:
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int '%d' % 2)?

So, the issue with the earlier patch was this as Nick suggested:

Given the symptoms (stripping 4 spaces + "pr" from the start of the line, leaving "int " behind), it looks like we're not stripping the leading whitespace when determining the text to include in the suggested print() call.

When I got some time to work on this, it took me just 5 mins to re-patch it for the first version of the patch. (That is the fastest I've done in any bug in CPython, probably because the earlier patch was written by me.)

So, after review, we also did a bit of refactoring to that patch. It was already approved a few weeks ago but still waiting to be merged. Here is the updated patch if you want to see.

by Sanyam Khurana at December 15, 2017 03:04 PM

Kshithij Iyer

"The thirty-second thrill which you get when you drive at high speeds from home to office and back..."

“The thirty-second thrill which you get when you drive at high speeds from home to office and back often makes me feel alive. Those thirty-seconds make me feel that I am doing something and I an’t yet another IT guy.”

- Kshithij Iyer

December 15, 2017 07:21 AM

December 11, 2017

Sanyam Khurana (CuriousLearner)

Improving class instantiation error message logic in Python 3.7

Many folks ask me why I contribute to CPython. I think it is a special feeling which cannot be expressed in words. Even if you just fix a typo in the doc, believe me, you've actually helped a lot of developers and companies all over the world. Your (small) changes matters a lot. They make huge impact in FOSS world :)

While browsing through bugs on bugs.python.org , I found a bug reported by a teacher who requested to enhance the error message logic as he described in one of the blog posts on his blog on Favorite Terrible Python Error Message. The object_new and object_init currently have "object" hardcoded in the error messages they raise for excess parameters. It is thus difficult for anyone facing that error to know what is going on.

Nick explained really well about the comment in the bug which I'm stating here:

>>> class C: pass
...
>>> C(10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object() takes no parameters
>>> c = C()
>>> c.__init__(10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object.__init__() takes no parameters


This hardcoding makes sense for the case where that particular method has been overridden, and the interpreter is reporting an error in the subclass's call up to the base class, rather than in the call to create an instance of the subclass:
>>> class D:
...     def __init__(self, *args):
...         return super().__init__(*args)
...
>>> D(10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in __init__
TypeError: object.__init__() takes no parameters


However, it's misleading in the case where object_new is reporting an error because it knows object_init hasn't been overridden (or vice-versa), and hence won't correctly accept any additional arguments: in those cases, it would be far more useful to report "type->tp_name" in the error message, rather than hardcoding "object".

I thus started working on the patch to detect the cases when excess_args are supplied and show the correct error message.

Now the error messages in object.__new__ and object.__init__ aim to point the user more directly at the name of the class being instantiated in cases where they haven't been overridden (on the assumption that the actual problem is a missing __new__ or __init__ definition in the class body).

When they have been overridden, the errors still report themselves as coming from the object, on the assumption that the problem is with the call up to the base class in the method implementation, rather than with the way the constructor is being called.

If you're interested, you can see the whole patch here. I hope this patch would help all those kids and all the new and old folks playing with Python to learn about how objects are created and instantiated. It always feels great to make (small) changes. Helping in improving Python one patch at a time :)

by Sanyam Khurana at December 11, 2017 03:04 PM

Kshithij Iyer

"Someone had rightly said losing a million times during training is better than losing on battle..."

“Someone had rightly said losing a million times during training is better than losing on battle field.”

- Kshithij Iyer

December 11, 2017 09:33 AM

December 10, 2017

Mannu Gupta

Samridhi Agarwal

WebMaps with Python

After few months of busy schedule in college, Today I got the time to sit back and play with python applications. So I started learning WebMaps with python and folium.

As WebMaps the name only says that its the demonstration of Maps using browser. They can not be made using the default functions of Python because for the browser application we need CSS, HTML and JavaScript. So we need to convert the python code into the HTML code. Folium, a third party library does the same.

We need to pip install folium, after that we import it in the project. How folium works is – Everything spins around a map object, So we create a map object and store it in a variable.

import folium
map = folium.Map

Here folium.Map is the class that creates the object “map”. You can do dir (folium) to see different functions and you will find Map there. Then we can do help (folium.Map) to get the parameters and what we can give in that class.

Screenshot from 2017-12-10 22-29-19Screenshot from 2017-12-10 22-32-41

In the parameters we see the Location attribute to specify the coordinates on the world Map.Width- which means you can specify the width of map to be displayed on browser window, otherwise 100% by default means it uses full browser window to display.Tiles is background of map and so on.

So We can give the location attribute and see the location. In the location attribute the coordinates are given as [latitude, longitude].

import folium
map = folium.Map([-90 , 50])

Now we have a map object in python code but it is not converted to HTML. So we point the map object and use save method to save it in the html form, creating a new html file. Map will be created in HTML format, So html is containing all the elements that render on the browser.

import folium
map = folium.Map([-50 , 50])
map.save("Map1.html")

So I got a Map1.html file having the map of my latitude and longitude mentioned and as it is interactive mapping we can zoom in and out to see more details. Zoom parameter can also be added as (zoom_start = 6) and see changes with different zoom factors.

screenshot-from-2017-12-10-22-53-06.png


by samridhiagarwalblog at December 10, 2017 05:28 PM

Aniket uttam

PYCON INDIA’17 (Dev Sprint effect my life )

I was attended the PyCon India last month where i was attending the Dev Sprint where we go to working in different projects and understand how to commit perfectly in GitHub? We talks with the experience people of that field which was helping use to use the github and also committing on projects. I know about many projects which are open source to contribute  on this projects. This projects are:

Review Board

This project consist of the reviewing all the pull request made by you in different projects which are present in different sites of projects . Python Project to get the list of all the pull requests made to your repository. It has plugins for all popular websites like Github, Gitlab, Gerrit and Pagure. This projects consist of several link handling and different plugins are developed during the development of that project. This reduces to visit every sites or repository into one particular position you get all the information.  This is use full for those who wants more contributer in different fields are at one place. There are several ways to get different information into one position it also leads you get all the repository at one place and handling of this repository are easy. This project is help all the new contributer to get better information in one place.

World Brain

World Brain consist of the to store the data of the browser to help you to link these data letter. This project have the ability of handling the data and history was store into the browser should be used latter. It basically used for those who write the some document into the browser forget, they can axises their data after some time by the  use of history. Doing so by developing open-source search tools for professional web-researchers like science communicators, (STEM-) students, journalists, librarians and online debaters to effortlessly find, rate and share qualitative and trustworthy web content/notes with their friends, followers and the public. By this project you can share you data without use of third party to your friend. This also leads to save you from the tracking of different ways of your browser data. This also give you a way to broadcast you data to particular users.It’s an open-source chrome extension to full-text search all the pages you visited and bookmarked, and later also all the apps you use to organise your knowledge (i.e. Evernote, Pocket, Google Drive, Asana, Mendeley) .


by aniketuttam at December 10, 2017 04:48 PM

PyConf Hyderabad 2017

I attended this event in October where i attended workshop on ChatBot by Dorai Thodla which was an awesome experience how to made the your own chatbot by API or without use of API and also know how the chatbot works. Dorai Thodla has over 40 years experience in Software Industry and he has founded 4 product startups – 2 in India and 2 in USA. Currently he is working in CTO of Future Focus/Focus America, Innovation Mentor at KCG College of Technology, Innovation Mentor at Hindustan University, Founder of product company iMorph Innovations,Founder of Technology Strategies LLC, CA, USA, Helps build Software Skills, Product Skills and Startup Skills and Teacher, Mentor, Community Builder.

I was chatting with Mr. Dorai Thodla, it say that every chatbot work deferent ways of  working of chatbot with API and without API. I learned how API works in the chatbot. Now i am working in my collage project that is chatbot using API.  Chatbot have different way of working API. This chatbot now used in every field for maintenance different ways of takes ,logs of the peoples, Company data , analyses of data , Montanan the values of chats which are similar to each othere.

There is many speakers which effects my life

The first keynote speaker was  S Anand (CEO, Gramener). Anand is a co-founder of Gramener, a data science company. He leads a team of data enthusiasts with skills in analysis, design, programming and statistics. He studied at IIT Madras, IIM Bangalore and LBS, and worked at IBM, Infosys, Lehman Brothers and BCG. He and his team explore insights from data and communicate these as visual stories. These visual analyses and dashboards are built on the Gramener Visualisation Server. He gives talk in how to remove duplication of code by using recursion for different function in one functions  and loop remove for different values.

The second keynote speaker was Yves Hilpisch  (Founder & Managing Partner, The Python Quants GmbH).Dr. Yves J. Hilpisch is founder and managing partner of The Python Quants (http://tpq.io), a group focusing on the use of open source technologies for financial data science, algorithmic trading and computational finance. He is the author of the books:

– Python for Finance (O’Reilly, 2014),
– Derivatives Analytics with Python (Wiley, 2015) and
– Listed Volatility and Variance Derivatives (Wiley, 2017).

Yves lectures on computational finance at the CQF Program (http://cqf.com), on data science at htw saar University of Applied Sciences (http://htwsaar.de) and is the director of the first online training program leading to a Python for Algorithmic Trading University Certificate (awarded by htw saar). Yves has written the financial analytics library DX Analytics (http://dx-analytics.com) and organizes meetups and conferences about Python for quantitative finance in Frankfurt, London and New York. He has given keynote speeches at technology conferences in the United States, Europe and Asia.

His talk was on how to analytics data throw the python i large are of working. He  also takes the work shop on the data analytics which gives new student to analyses the data throw the python and also how make different ways of representation of data in graph , bar graph analysis of data on different fields data can be analysis by this. There was different way of analysis of data on the base of give data or representation.

The third keynote speaker Kushal Das (Director, Python Software Foundation
Freedom of The Press Foundation). Kushal is working with Fedora Project over last 10 years in various capacities and currently working as Fedora Cloud Engineeer in Red Hat. He is also a core developer of CPython, and director at Python Software Foundation. In 2004 he founded dgplug and still helps there as a co-ordinator. Kushal Das give the history of the open source of code and how free software foundation was growing up in the world. How the open source leading the world and different people contributing into open source. It also give the knowledge of tracking of own account in web browser and also by the different social medias are hacked and data recorded by the government and different security agency.


by aniketuttam at December 10, 2017 09:01 AM

December 08, 2017

Kshithij Iyer

"You are not him and she is not her, So don’t expect the same."

“You are not him and she is not her, So don’t expect the same.”

- Kshithij Iyer

December 08, 2017 09:05 AM

December 07, 2017

Bhavin Gandhi

How to play Steam games on Fedora

In Steam Summer sale of 2017, I had bought Left 4 Dead 2 just for Rs. 64. I played it once or twice and after that never played it again, as it was installed on Windows. I no longer use…

The post How to play Steam games on Fedora appeared first on GeekSocket.

by Bhavin Gandhi at December 07, 2017 01:50 PM

Himanshu Awasthi

Hour Of Code

Hey Guys ! This is Aastha Chaturvedi & today I’m going to tell you about “Hour Of Code“. So, by listening the name Hour Of Code a rough idea comes in our mind that it is something about coding. So, guys let me tell you about Hour Of Code in detail.

The Hour Of Code is a one-hour introduction to Computer Science designed to demonstrate “code” to show that anybody can learn the basics and to broaden participation and interest of students in the field of Computer Science. It is a worldwide effort to celebrate Computer Science, starting with an hour coding activities but expanding to all sorts of community efforts.

The Hour Of Code is conducted every year during “Computer Science Education Week”. And in 2017 this week is 4-10 December but it can be hosted all year around.

Now the question comes how much we can learn in one hour ?????????

As, we know that no one can become an expert computer scientist in an hour. One hour is only enough to learn that Computer Science is fun & creative, that it is accessible to all ages, for all students, regardless of background.

So, ultimately the result is that the Hour Of Code is an hour full of learning & fun.

And guys the exciting thing is that KanpurFOSS Community is willing to organize Hour Of Code so if you want to conduct this event in your school/college then leave your details in comment we will contact you or write us at kanpurpython@gmail.com

Upcoming meetups in Kanpur

1. Django Workshop (RSVP here)

2. Theme Development in WordPress (RSVP here)

Happy Coding !

 

 

 

 

 


by @astha at December 07, 2017 10:34 AM

December 06, 2017

Vipul Gupta

Benefits of Speaking Publically

A post regarding the benefits of public speaking that I derived, observed and maybe stating a little-exaggerated version of it that I realized from my talk at the meetup of India Linux Users Group – Delhi (ILUG-D) – My First talk as a Speaker
This post aims at all juniors, students and other people, I would refer to here that might find what they are looking for and get further motivated about giving their very first talk as a speaker at a meet-up, conference or meeting. I would quote the example of talking at a meet-up/conference.

Let’s talk about some basic boring biased benefits that everyone knows about but little do they care or nothing about it.

  1. Improve Communication Skills (Duh, I guess)
    This is a no-brainer. Public speaking is like learning to ride a bicycle, the more rapidly you try to learn it, the faster you master it. Try to Learn from your mistakes, get feedback after each talk and let your confidence sky-rocket taking your communication skills with you in the language you prefer.
  2. Social Connections (Very important in any line of profession)
    Public speaking helps you being noticed, enhances your personality. As people might not remember what you said, but will always like how you made them feel. Speaking at meetups and conferences frequently, sharing your knowledge with other shows candor, leadership potential and preferred man for the job.
  3. Career Growth (Success will come meet you)
    The benefit also includes career growth and prosperity coming your way. Meeting qualified and well-versed individual allows you to engage in conversation regarding career and growth opportunities. Who knows, a potential opening may be waiting for you. Never hesitate from having a conversation, even small talk.
  4. Inspire Others (It helped me, you should try it out too)
    Many motivational speakers and activists make use of their high-quality public speaking to make the world a better place and maintain its integrity and sovereignty. Influence other by your views rather than being influenced yourself.
  5. Overcome Fear (Our mutual enemy that rises whenever you try something new)
    Fear of looking foolish or making mistakes while speaking, fumbling is the main cause of people not wanting to come to the stage and present their views. People often face stage fright and get too conscious of themselves on stage.

Here have some inspiration quotes before you get on stage. May the force of the Mixster be with you. Sources: Click me. Always live in the mix.

Click to view slideshow.

My advice (Listen closely, my beguiling friend)

Let go of all these inhibitions, anxiety, tension, nervousness rather take a deep breath and walk to the stage or area when your name is called by someone else. Introduce yourself, softly and slowly. Say what you rehearsed last night in front of the mirror in a loud clear tone and standing firmly behind a podium or stand or moving around interacting with the crowd. Make it snappy, make sure people get what you are saying, crack a joke from time to time. Use tools like graphs, charts, and presentation to make it more interesting. End it on a high note and don’t wait for the applause, get back in your seat ASAP. Ideally, it should happen like this only in our head. But as an experienced speaker now, I can assure you things will go sideways. Whatever happens, it will be alright. It’s no big deal if you embarrass yourself in front of 1000 people, Learn Not to Give a fuck. (READ this)

One doesn’t have to be perfect, in his speech, talk, presentation whatever might be. As long as the point that you want to express is being put forward, correctly and being understood by the audience. Then “Nothing really matters” (from Bohemian Rhapsody).

 

by Vipul Gupta at December 06, 2017 12:31 AM

December 05, 2017

Kshithij Iyer

And that’s all one needs for an office. #Internship #cdac ...



And that’s all one needs for an office.
#Internship #cdac (at Cdac Innovation Park)

December 05, 2017 02:59 PM

Ganesh Nomula

YHack 2017 - What the Fuck is Soylent? tl;dr

This is the first ever hackathon in my entire 22 years of life. YHack played some trick with me,...

December 05, 2017 03:52 AM

December 02, 2017

Kshithij Iyer

Chinese bread crumbs (at Pune, Maharashtra)



Chinese bread crumbs (at Pune, Maharashtra)

December 02, 2017 02:33 PM

Vivek Anand

Setting up postgres for python development

Postgresql is my database of choice mainly because, almost (if not all) web applications in fedora infrastructure use postgres and i have been using the same. But, every time i use a fresh system, i face some issues with getting started. Almost all of them are for client authentication. This post is here in case it happens the same in future.

  1. Install the dependencies:
    1. sudo dnf install postgresql postgresql-devel postgresql-server postgresql-contrib
  2. Create a db user other than postgres:
    1. sudo -i
    2. su – postgres
    3. initdb
    4. psql -U postgres
    5. create database pagure;
    6. create user pagure with password ‘pagure’;
    7. grant all privileges on database pagure to pagure;
    8. show hba_file;
    9. Go to that file and change the auth mode to trust;
  3. If runs into: unregistered authentication agent for unix-process https://techglimpse.com/solution-polkitd-postgresql-start-error/

by Vivek Anand at December 02, 2017 08:06 AM

November 30, 2017

Saptak Sengupta

Science Hack Day India, 2017

So, finally, managed to clear up some time to write about the best event of the year I have attended - Science Hack Day India, 2017. This was my second time to Science Hack Day, India. SHD 2016 was so phenomenal, there was no way I was missing it this time either. Phenomenal more because of the wonderful people I got to meet and really connect with because the entire atmosphere about the event is more like an informal, friendly unconference type. This year it was no different.


                Picture Credit: Sayan Chowdhury

Science Hack Day 2017 was truly bigger, better and even more fun than last year. Happening at one of the most happening venues, Sankalp Bhumi Farm, just the stay is so lovely, one doesn't need much other reason to attend it. Unlike last time, this year I had two friends accompanying me to Science Hack Day. We reached early morning in the 0th day. Like all conference, it was really good to meet everyone whom I personally was meeting maybe after 6 months, or an year or maybe for the very first time. There were general discussions about who is working on what and the new terminal emulator they are using, or the nginx trick that they might be using or the new great open source software they came across. But this is something everyone knows happens when techies meet. What mostly people don't know is thing like cycling and kayaking that we do. So most of the afternoon was rather spent in cycling and kayaking by everyone and having fun rather than any serious discussion at all. In the evening there was an informal introduction by everyone so that to get a little accustomed. After dinner, everyone bid goodnight and went to sleep.

But have you ever heard geeks sleeping just after dinner? Obviously not. So it was a matter of time before everyone again re-grouped at the hackerspace which was setup for the next day. Then I and Farhaan had the privilege of listening stories from a dreamy Sayan Chowdhury which marked the end of the day for us.

Next morning, after breakfast, it was time for mentor introduction which was followed by a great basic idea about how an aeroplane flight works. Reminded me of my science classes and I started wishing that we had similar explanation using a proper unmanned aircraft. And it wasn't just theory and theory, but we got to see that aircraft actually fly. This marked the actual notion of a hack day that we don't just talk, we make and also break stuff. After this it was time to start with our hacks. Unlike my plans before both me and my friends started working on assembling of a 3D printer which was mainly brought for Hackerspace Belgaum. I always thought what is the big deal in assembling but I realised I was so wrong.

The entire assembling took all day since we were doing for the first time and were figuring out stuff as we went with it. I mostly attached parts while my smarter friends figured everything out and told me what to attach where. By dinner it was ready and assembled. And I was like "Yay! Let's start printing". That is when Siddhesh told me that the trickiest part is yet to be done, that is calibration. So we got started with it. When calibration was all set and done it was time to print. So we decided to print the "Hello World" of 3D printing, i.e. a cube. So the cube started printing, the first layer got printed, the second layer got printed and by the third layer, everything came off. We realised the bed wasn't heating.

A little disappointed we settled for the day and went off to bed. Next day we decided to use glue to make the bed somewhat sticky. This time it printed. Not so perfectly but mostly all good. I have never been more excited to see a tiny little white cube and neither have I seen so many other people behave the same. After that it was time for rocket flying followed by a group photo. The event was marked with the project presentation by every team.

Hoping to come back again next year.

by SaptakS (noreply@blogger.com) at November 30, 2017 03:21 PM

Vipul Gupta

#Pyconindia 2017

2017 has been a busy year and here’s what I did in the month of November 2017.

PyCon India, the premier conference in India on using and developing the Python programming language is conducted annually by the Python developer community. It attracts the best Python programmers from across the country and abroad. It took place on 2nd – 5th November 2017, at Shaheed Sukhdev College Of Business Studies, Rohini, New Delhi. I had the opportunity of attending this magnificent event and experience everything that it has to offer. The conference had workshops/dev sprints in its first two days and the conference and the hackathon in the other two. I volunteered in the backend by contributing to the website and Inpycon blog on the free and open-source code sharing platform Github in the month of October. I redesigned various sections of the sponsor section on the official Pycon India conference website, bug fixing and writing the blog regarding updates about the conference. I learned a lot, met new, interesting students, scientists, and enthusiasts. Getting unparalleled motivation to work even harder by seeing other people build software and making the world a better place.

There were many workshops on a range of topics related to Python and the dev-sprints which help people improve their skillset. Dev-sprints are both for beginners and skilled developers who like to contribute back to open source and just love writing code. Its the feeling of a community, that you feel when you sit with like-minded people and code your issues away. *pun intended*

The conference featured 3 keynote speakers whom all I interacted personally. Their stories and works were an inspiration for me to follow in their footsteps. The keynote address on How to be a mentor ? was life-changing. The enthusiasm and energy never seem to die down as there were about 34 talks and 16 workshops in a period of 4 days being given by 54 speakers. I tried to attend most of them, but time got the best of me. Still, the conference ended on a high note with the volunteers receiving a good feedback from everybody in attendance. The panel discussion on women in the coding gave a new perspective. The conference was a volunteer-driven initiative which makes it even more special. As people help, volunteer and contribute because of their love and not keeping any personal gains in mind. The hackathon was a 24-hour challenge by Hypertrack to integrate their location tracking API into an Android App having many prizes to be won. Community spaces, an event held along with the conference in which various communities presented their ideas and urged people to join the community if they were interested. Speakers came all over the world to give talks and show their love for Python. I am really looking forward to attending more such conferences in the near future. Here are some pictures of the days at the conference.

Click to view slideshow.

by Vipul Gupta at November 30, 2017 12:28 PM

November 27, 2017

Kshithij Iyer

Don’t be afraid to make that jump people.



Don’t be afraid to make that jump people.

November 27, 2017 06:03 AM

November 26, 2017

Kshithij Iyer

Half of the panorama shot from my balcony. (at Vadodara)



Half of the panorama shot from my balcony. (at Vadodara)

November 26, 2017 07:20 AM

November 23, 2017

Himanshu Awasthi

Tor : Protect your Privacy

“The Internet is an ecosystem. A living entity that billions of people depend on for knowledge, livelihood, self-expression, love…. The health of this system relies on – and influences – everyone it touches. This is why we want to diagnose what’s helping and what’s hurting it.”
– Internet Health Report

Python

Hello friends,

Now a days every one talking about so many solution of privacy in digital world & Tor is the name which I heard a lot, it’s much more than just another web browser. I heard about Tor about a month ago at PyConf Hyderabad  where Kushal Das suggested everyone to use Tor in their day to day life. Here I come with solution of frequently asked questions about Tor.1200px-Tor-logo-2011-flat.svg

What is Tor ?

Tor is a Software & global network of servers which  protect your privacy in digital world. Tor hides the source and destination of your Internet traffic which helps to  use the Internet anonymously. Tor’s users employ this network by connecting through a series of virtual tunnels rather than making a direct connection, thus allowing both organizations and individuals to share information over public networks without compromising their privacy.

Know More about What Tor is…

View original post 195 more words


by Himanshu Awasthi at November 23, 2017 05:37 PM

November 22, 2017

Shivam Singhal

IRC and IRC Bouncer

I wanna write about IRC and bouncer from a long time. In summer vacation of college I started using IRC for the dgplug summer training about which i got to know from Sanyam’s blog 🙂 .I tried to connect to IRC from a long time before dgplug training too but failed to do so due to some interruptions.

What is IRC?

[Internet Relay Chat] – IRC is a protocol that provides a way to communicate in real time with people from all over the world,was invented before the World Wide Web.  It is very similar to text messaging, but designed around communicating with large groups of users instead of one on one. It consists of various separate networks (or “nets”) of IRC servers, machines that allow users to connect to IRC.

What is IRC Clients?

An IRC client is the vehicle that connects you to the global network of IRC servers. A variety of applications are available, like WeeChat , HexChat , XChat, Chatzilla etc. Personally i am using HexChat. Its awesome and easy to use. We will use HexChat here in this blog for EliteBNC setup. You can download it from here .

So if you have used IRC before, you must know that unlike other chat systems, IRC doesn’t keep when you’re offline. In order to be notified of relevant communications you can either look at the channel logs or setup an IRC bouncer.

What is a IRC bouncer or BNC?

An IRC bouncer is a middleman between you and an IRC network. It connects to a network like a normal client and instead of connecting directly to an IRC network we can connect to it.

How to setup IRC Bouncer?

Either you can install it on your own server or get a free BNC from some BNC provider.

A list of bouncer software.

  • JBouncer for IRC, written in Java. Supports logging.
  • psyBNC is said to be the oldest and most well-known IRC bouncer.It is easy to use, runs on Linux and became popular on FreeBSD, supports IPv4, IPv6, SSL, logging, multiple users and networks etc.
  • bnc is the original IRC bouncer.
  • ZNC  is easy to use, supports SSL connections, IPv6 and logging and offers a web interface. It is extendible by modules and scripts in C++, Python, Perl and Tcl.
  • Matrix and Riot  has a bouncer included, simple solution is to get an account on riot.im as they have client for Android too.
  • EliteBNC is the one which we will setup in this blog. Its awesome and easy to use . I am using it. Its well maintained. Thanks to Robby 🙂

How to get Bouncer from EliteBNC?

In HexChat you can setup the EliteBNC by following steps. 🙂

  1. Open HexChat and Join #elitebnc channel on Freenode. Command to join any channel on IRC , just type /join # .
  2. type !list it will show all available commands.
  3. There are three ways or commands to request BNC, !request !easyreq and  !emailreq
  4. To get BNC for Freenode, send !easyreq <email>

Now wait for some time to get approval of request. *DO NOT* make multiple request else Robby will kick you from EliteBNC 😛 . Once your request gets approved you will receive an email, go ahead and login to your account. The link would be like https://xxxx.elitebnc.org:1338

where xxxx is server name, which will be mentioned in the mail sent by EliteBNC eg. Sigma, Theta.

WhatsApp Image 2017-11-22 at 11.41.43 PM

Go to ‘Your settings’ and edit the Freenode network, enable the nickserv module so that Freenode will identify you.

You can edit other details in ‘Your settings’

You can use https://webchat.freenode.net to join the channel if you don’t have any IRC client.

How to connect HexChat to EliteBNC?

Add new network in HexChat and follow the screenshots.

To do that go to HexChat->Network List or press Ctrl + S .Add new network and Edit it.

1

We will be using port 1338, as it is port for SSL (secured) connection.

2

Finally you have setup an IRC bouncer. Enjoy 🙂

I learned all this from my friend Bhavin’s blog .

If some one needs any help feel free to ask 🙂

 

 

 

 

 

 

 

 

 

 

 

 


by championshuttler (Shivam Singhal ) at November 22, 2017 07:18 PM

Kshithij Iyer

November 21, 2017

Himanshu Awasthi

Tor : Protect your Privacy

Hello friends,

Now a days every one talking about so many solution of privacy in digital world & Tor is the name which I heard a lot, it’s much more than just another web browser. I heard about Tor about a month ago at PyConf Hyderabad  where Kushal Das suggested everyone to use Tor in their day to day life. Here I come with solution of frequently asked questions about Tor.1200px-Tor-logo-2011-flat.svg

What is Tor ?

Tor is a Software & global network of servers which  protect your privacy in digital world. Tor hides the source and destination of your Internet traffic which helps to  use the Internet anonymously. Tor’s users employ this network by connecting through a series of virtual tunnels rather than making a direct connection, thus allowing both organizations and individuals to share information over public networks without compromising their privacy.

Know More about What Tor is ? visit Here

What Tor Does?

Tor is short for The Onion Router (thus the logo) and was initially a worldwide network of servers developed with the U.S. Navy that enabled people to browse the internet anonymously. Now, it’s a non-profit organization whose main purpose is the research and development of online privacy tools.

dpibhutfm8dx4xag5zzs

The Tor network disguises your identity by moving your traffic across different Tor servers, and encrypting that traffic so it isn’t traced back to you.

Who Uses Tor ?

Today, it is used every day for a wide variety of purposes by the military, journalists, law enforcement officers, activists, and many others. Here are some of the specific uses we’ve seen or recommend.

 I started using Tor because I have my own Privacy & I can say that

“Every one have something to Hide”

People from different domain using Tor for secure browsing.

source : Who Uses Tor ?(Official Page)


by Himanshu Awasthi at November 21, 2017 07:55 AM

November 20, 2017

Shashank Kumar

Migrating data between different machines with scp

This blog deals with beginner level commands and tools.

Migrating data from one machine to another is easy if both of them are physically accessible and in a same room. Just use a pen drive and it becomes the safest way too. But what if both the machines are further apart? The solution to this problem is what we are going to discuss in this blog.

Let’s recall on of the most basic methods we use to copy file/folder from one location to another. Yes, it’s cp(copy). We use it as cp source destination to copy files from source to destination. In our case we might have source or destination as remote location instead of somewhere in the local machine itself. We’ll use a tool which will look syntactically similar to cp in the beginning know as scp(secure copy).

This way is recommended when you are trying to transfer the data only once from source to destination in a single pass. In order to transfer multiple files/directories and have a better session based control over your connection ftp is recommended.

What is scp?

scp is a tool on Linux which is used to copy files between remote machine or servers. scp uses ssh and utilizes it’s authenticity and security for file transfer which is a win-win for users. So, to use scp you need to setup ssh server on the remote machine.

Transferring files with password

If your remote machine or server has a user and password setup which you use to login then scp will work in the similar way.

scp /tmp/myfile username@0.0.0.0:/tmp/

Here we’re trying to copy myfile from /tmp/ to the machine who’s IP address is 0.0.0.0. You’ll also notice that before the IP address we mention username with which we want to access the remote machine. And finally we add : with the folder to which we want to copy our file. So, /tmp/myfile becomes source and username@0.0.0.0:/tmp/ becomes destination.

When you run the above command you might be asked for a password. Simply enter the password and the copying will begin.

Transferring files with a key

To provide more security a key can be used in place of password using public key cryptography. You need to create a key pair using ssh first on the remote machine and then use it from the machine you are trying to access the remote machine as follows.

scp -i ./mykey.pem /tmp/myfile username@0.0.0.0:/tmp/

You can see the change clearly as we have added -i flag to signify that we’ll be passing a key, followed by mykey.pem which the location of our key. For the first time you’ll be prompted to confirm the connection with a yes. Transfer will begin soon after that without any password.

scp is very easy to use tool for quick transfer without the fuzz of session management. In future blog post I’ll try to simplify the use of tcp as well. You’re free to use whichever suits you most and that my friend is the beauty of FOSS. Embrace it!


Migrating data between different machines with scp was originally published in Shanky’s Brainchild on Medium, where people are continuing the conversation by highlighting and responding to this story.

by Shashank Kumar at November 20, 2017 07:29 PM

Kshithij Iyer

The long lost meaning of anarchy. Things are not what the media...



The long lost meaning of anarchy. Things are not what the media portrays it to be in some cases.

November 20, 2017 02:31 PM

November 19, 2017

Kshithij Iyer

The end of no shave November this year. #NoShaveNovember (at...



The end of no shave November this year.
#NoShaveNovember (at Alkapuri)

November 19, 2017 05:57 PM

November 16, 2017

Jason Braganza

Do You PEP?

Short new series for me. Quick and Dirty Programming Posts
They’ll be tagged qdpp.
They’ll be raw, error prone and mostly works in progress.

A few reasons

  • to help me write for a few minutes (publicly) daily.
    I’ve realised slow and steady is a good way to build a body of work, (Godin, Kushal).
    Even if the beginning is slow and shitty.
  • to save myself searching the web for stuff I need to have handy.
  • these are primarily for me. If they help you as well, that’s a bonus!

Let’s start with PEP.

I’ve learnt that to learn anything well, it’s best to learn from the source.
Go to the well.
Don’t read about the Black Swan, or try to figure out from blogs what Antifragility is.
Go read the darned Incerto!
So when it comes to programming, I should do the same.

use-the-source-luke[1]


And everytime I learn something new with Python, I’m referred to a PEP as the source.

  • When is Python 3.7 out? Check the PEP.
  • What on God’s green earth are docstrings? Check the PEP.
  • Will PyPI crumble under its own weight? Or will there be redundant options? Check the PEP.
  • How do you write Python so that it’s comprehensible? Readable? Is there a style guide of sorts? Check the PEP.
  • A short treatise on what Python is about? Its Zen if you will? Check the PEP.
  • What is a PEP? Go, check the PEP!

So, a PEP (Python Enhancement Proposal) is a design document,

And as to why, the very first one explains it much better than I ever could.

So if you must know, where the Python rabbit hole conclusively ends, it most probably does in a PEP.


  1. Image source: https://adastraerrans.com/archivos/use-the-source-luke.png ↩︎

by Mario Jason Braganza at November 16, 2017 07:38 AM

November 15, 2017

Shashank Kumar

Python Game Challenge by PyDelhi

PyDelhi organized Python Game Challenge on 11th November, Saturday, 2017. Here’s what happened!
Fueled, Noida

Python is multi-talented friend of ours which can assist on all our crazy projects irrespective of the type. PyDelhi came up with the idea of showcasing an underrated potential of making games via competition. Participants were asked to follow only 2 rules for doing so
1) Game should be developed using Python
2) It should be developed on the venue during the given time
and there begins the competition. We’ve recorded some of the game pitches by participants and gathered few words from them about their experiences below. And after the pitches we’ll announcing winners later in the blog.

Chessmate

Github Repository

https://medium.com/media/1869d52fd16c38d275b1b07882e4d7a0/href
It started 1 Hour late, but the 1 Hour wait was worth it. It started by a talk on Open Source Data, exploring different data sources and Public APIs and how they can be used as a potent tool in a country like India with fewer Hardware resources for countering Air pollution which was at its worst in NCR in the ongoing week.
2 Hours into the challenge, we working on figuring out the design and the schema of the codebase to create the game. An hour later our chessboard was fully functional and we were coding on tasks like-
- Moves validation
- Checkmates
- Knights and Pawn special cases
We finished the game 30 minutes before the end time and performed end to end testing and were the first team to finish and present the hack out of the total two who completed it.

Arrow Monster

Github Repository

https://medium.com/media/59592a0633ab8f6867f34abd5ff24fc8/href

Hit and Win

Github Repository

https://medium.com/media/beb369ce13a2ed1edbd53fa9f83d4486/href
The idea to make this game “thor” is to showcase how easy can it be to interact with physical computing hardware devices with Python programming language, we knew most of the participants if not everyone will be making software games so we decided to make “Thor” a miniature version of hammer game you must have seen/played in arcade game centers.
We made it using Force sensitive resistor as sensor a micro-controller and few LEDs, the score is sent to PC via serial port and a daemon handler written in Python parses that using PySerial library! The result was not perfect but we achieved proof of concept and we will surely work on improving it.
The event was really good and happening, we look forward to attend more such events/hackathons by PyDelhi. Initially we get less support/interests from volunteers who stopped by seeing us playing with circuits on a software based hackathon but when we demonstrated everyone was curious to learn more about our game which was our primary goal! The presentation experience was lukewarm and an area to work on, if it could be more interactive where every team is involved (apart from just judges) asking questions, suggesting improvements it’d be more fun. Cheers to PyDelhi for conducting such a successful event. :)

Maria

Github Repository

https://medium.com/media/b3ac3155c8dd2ccbf2f7c41dc2922462/href
It was great pleasure to be a part of this event. I entered in any
competition out of my college for the first time and it was a great
experience. I just a completion post on meetup group and the main
purpose i came there was to see how other people make game. I on the
other hand had no knowledge how these games are made.When the event
started someone said game can be made only using python as well. I also
entered the completion without any knowledge of anything and then i
started discussing the game with my partner and started building the
game at around 2. I had no knowledge of PyGame so we starting doing what
we wanted to instead of making a perfect game.
We first made a base (box) using PyGame, just googled it. Then we
started loading images of character, keys and bricks into the box, then
wrote an algorithm so that character won’t go out of the box or does not go
behind the bricks and a few other things in the remaining time.
But its not about what we did, its about what we learned. With no
knowledge of any game library like PyGame we made a small game. Now,
when i read a little about PyGame it’s completely clear what were we
doing wrong. Overall it was a great experience and the organizers were
great as well who gave goodies to participants as well.

Up Up Away

Github Repository

https://medium.com/media/c872da76db1890651698f8ff75b62626/href

And the winners for Python Game Challenge are Chessmate, Arrow Monster and Hit and Win. Congratulations to all the participants who won and thank you all for coming to the PyDelhi meetup. Keep in touch on our meetup, twitter and facebook page for updates on upcoming events.


Python Game Challenge by PyDelhi was originally published in Shanky’s Brainchild on Medium, where people are continuing the conversation by highlighting and responding to this story.

by Shashank Kumar at November 15, 2017 05:30 PM

November 14, 2017

Mohit

The Last Key!

Hope you guys have watched the trailer, The Last key.  If not I dare you to watch it.



Okay, joke aside, this blog post is about cryptography and public keybase keybase.io.

Crypto-What?

So these days when cyber crime, identity theft as common as bug in your code, people are getting insecure with their internet transactions, chat over various media and the threat of being spied remains the same.  This threat leads some security enthusiast to find a way for a secure transactions over internet and we call this field as Cryptography.

Cryptography is the study to find secure methods to transact securely between two parties which may or may not be on internet.  Cryptography is as old as human politics :p

Kings of different nations need to transmit messages securely so that the message do not get tampered or leaked by any medium in between and to overcome this threat they use various methods which in today's modern world known as "algorithms".

Encryption

Encryption is nothing but the process of encoding message into a form of jargon which can only be understood if you have appropriate key.  It is more like, you can only read the contents of a locked diary unless you have the key to unlock it.

More resources on encryption are provided here.

Why encrypt?

Why encypt?...

Like anyone you might not like when someone peeks at your life without your consent.  Say, how would you react if someone reads your personal diaries without your consent? I guess, you would be infuriated, right?

Now, how helpful it would be if anyone tries to read your diary but can't understand what is written because of the bad writing you have :p
Or say if you have written the diary in mirrored language just like DaVinci.

This is what is called encryption and everyone needs it unless you know a language nobody understands other than you :p.

What is Public Key and Private key?

Keys, like any general key are nothing but a way to unlock the path to your secrets.  In cryptography, keys are the codes required to decode the encrypted secrets we all try to hide from others. So, whatever happens to you, never loose your key or you will be locked out of your own secrets.

In Cryptography, there are two types of keys, public key and private key.  Anyone with encrypted message for your public key can't access the message unless he have your both the keys, public and private one.

Since public keys are meant to be published publicly and distributed to all, you should never disclose your private with anyone and carefully protect your private keys with a strong password, maybe diceware one :D

So, how to publish your public key to all, here are two ways:
1. Mail to them your public key so that they can understand your jargon.
2. Publish your public key on the key base like keybase.io.

To understand the public key cryptography, watch the following video, it will sure help you :)




Keybase

Keybase is a PGP key directory that maps social media identities to encryption keys in a publicly auditable manner. It provides various utilities like, chatting with someone else using pgp encryption.

It is another method to publicly publish your public key so that only trusted people can transact with you over internet.



 So, follow me on keybase to understand my jargon messages.


Note: Whenever I says transact, it can be any kind of transaction like money transfer, chatting, information exchange and so on.

Till then,

To infinity and Beyond!

by Abstract Learner (noreply@blogger.com) at November 14, 2017 09:28 AM

Pycon India: Journey begins!


Ok! everyone. Get ready to hear a very interesting story about a Python: a vicious snake in the memory of our computers. The story has many twist, drama, suspense and adventure. Try to keep it up with me.

It was hot long summer day when I landed on the webland of DGPLUG, searching for some fun online training to help me find the magic world of opensource softwares, and “Google” told me about this very famous webland “DGPLUG” where the wizard Kushal and his friends helps people like me to find the magic doors of open source world without even meeting them in person.

With time, those wizards helped us well in learning various new magic spells and then there comes a day when to achieve a great skill, we all need to meet in person, but… how? Every wizard is from different dimension! So we all settled down to meet on Earth on a very special occasion of Python: rejuvenation day. I was little sceptical at first, but I am glad I chose the sacred path of Python. And all thanks to DGPLUG webland to introduce me to magic of Python and open source.

I was kind of new to all these Python spells and all, so I decided to help people in arranging the Python day we call “Pycon India”, to learn more about other python wizards whom I don’t know.

All new wizards(including me) who wants to help in organising the python’s Pycon India should reach the Earth a day before and help other wizards.

I reached Earth, found many new wizards out there who wants to help just like me and we all had great discussion about the event to be come in upcoming days. I also found some remote wizards from another dimensions who were there to help and were also from DGPLUG webland. Few of the wizard I met was known by @thebigj, @cyber_freak and @championshuttler.

Okay! That’s enough for today, will continue next on my first day experience.

by Abstract Learner (noreply@blogger.com) at November 14, 2017 09:25 AM

November 13, 2017

Kshithij Iyer

The best answer I could ever find on the internet.



The best answer I could ever find on the internet.

November 13, 2017 01:26 PM

"People will always fear what they don’t understand and what’s beyond their limit of..."

“People will always fear what they don’t understand and what’s beyond their limit of understanding.”

- Kshithij Iyer

November 13, 2017 01:14 PM

If some people could understand this, life would have been a lot...



If some people could understand this, life would have been a lot easy!

November 13, 2017 01:06 PM

November 12, 2017

Kshithij Iyer

Ashwani Kumar Gupta

List comprehensions in Python and their advantages

List comprehensions in Python are a simple and concise way to create lists from an expression. The syntax for list comprehension was introduced in PEP 202. It is a very natural way to create lists, just like the mathematicians use to do. For example,

S = {x² : x in {0 ... 9}}
V = (1, 2, 4, 8, ..., 2¹²)
M = {x | x in S and x even}

The syntax for list comprehensions are pretty straighforward. It consists of an expression followed by one or more for clauses followed by one or more optional if clauses. All this are written inside a pair of square brackets [ and ]. List comprehensions make our code more readable and concise as it reduces the number of lines of our code. As an example see the following snippet.

>>> # The following snippet creates a list of squares for numbers from 0 to 9
>>> # Using for loop and appending to list
>>> squares = []
>>> for x in range(10):
...     squares.append(x*x)
...
>>> squares
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
>>>
>>> # Using list comprehensions
>>> squares_using_list_comprehension = [x*x for x in range(10)]
>>> squares_using_list_comprehension
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]

As you can see, both of the methods generate the same list as the result. The second method taken only 1 line as compared to the first method taking 3 lines. Clearly, list comprehension is a winner here.

Apart from making the code more readable and concise, list comprehension has another noteworthy advantage, performance. Yes, the execution time for list comprehension is much faster as compared to the normal method of appending to the list. Let’s time our two methods to see. Let’s create a file list.py with the following code and execute it.

import time

def clock_execution_time(function):
    def wrapper_function(*args, **kwargs):
        start_time = time.time()
        function(*args, **kwargs)
        end_time = time.time()
        print('The {} function took {} seconds'.format(function.__name__, end_time-start_time))
    return wrapper_function


@clock_execution_time
def gen_squares_normal(n):
    squares = []
    for x in range(n):
        squares.append(x*x)
    return squares


@clock_execution_time
def gen_squares_listcomp(n):
    return [x*x for x in range(n)]


if __name__ == '__main__':
    result1 = gen_squares_normal(100000) # Choosing a large number for visible time difference
    result2 = gen_squares_listcomp(100000) 
    if result1 == result2:
        print('Both results are equal')
    else:
        print('Inequal results')

$ python list.py
The gen_squares_normal function took 0.013292074203491211 seconds
The gen_squares_listcomp function took 0.00794363021850586 seconds
Both results are equal

Clearly list comprehensions are way faster than the appending method. But, why?
Turns out that, every time you call the append function, the append attribute has to be loaded and called as a function which slows down the process. Also, as the list is dynamically growing, it adds to the damage. On the other hand, for list comprehensions the elements are generated before putting them into the result list. So it has better execution time. So these are some of the advantages of using list comprehensions.


by Ashwani Gupta at November 12, 2017 04:42 PM

Kshithij Iyer

"Have you ever wondered how a cockroach survives a nuclear blast and dies when you spray..."

“Have you ever wondered how a cockroach survives a nuclear blast and dies when you spray Hit(pesticide) on it?”

- Kshithij Iyer

November 12, 2017 06:24 AM

November 10, 2017

Kshithij Iyer

Who am I? The arrogant young programmer or The shy polite...



Who am I?
The arrogant young programmer or The shy polite guy,
The moron or The larrkin,
The childish son or The matured friend,
The bandit or The guy who goes by the rules,
The best grandson or The worst grandson,
The playboy or The boy who was played,
The loved one or The hated one
Or am I all of it or none of it.
I guess I’ll never have an answer for it.
#WhoAmI
(at Nh48 Pune)

November 10, 2017 01:43 PM

Mannu Gupta

Got this error, when i ran `web3.eth.accounts`

Got this error, when i ran `web3.eth.accounts`

Error: Invalid JSON RPC response: undefined
at Object.InvalidResponse (/home/abhi/Documents/ethereum/node_modules/web3/lib/web3/errors.js:38:16)
at HttpProvider.send (/home/abhi/Documents/ethereum/node_modules/web3/lib/web3/httpprovider.js:95:18)
at RequestManager.send (/home/abhi/Documents/ethereum/node_modules/web3/lib/web3/requestmanager.js:58:32)
at Eth.get [as accounts] (/home/abhi/Documents/ethereum/node_modules/web3/lib/web3/property.js:107:62)
at repl:1:10
at ContextifyScript.Script.runInThisContext (vm.js:50:33)
at REPLServer.defaultEval (repl.js:240:29)
at bound (domain.js:301:14)
at REPLServer.runBound [as eval] (domain.js:314:12)
at REPLServer.onLine (repl.js:441:10)

I tried `web3.isConnected()` it returned `false`. Any help would be great

by Mannu Gupta at November 10, 2017 01:12 PM

November 08, 2017

Kshithij Iyer

Baked beans and toasts. #bakedbeans #toasts (at Alkapuri)



Baked beans and toasts.
#bakedbeans #toasts (at Alkapuri)

November 08, 2017 03:09 PM

November 06, 2017

Himanshu Awasthi

Impact of PyCon India ’17

Hello Friends ! I attended PyCon India over this weekend which was one of the greatest & biggest tech event in India . PyCon India is  the premier conference in India conducted annually by the Python developer community & I feel really proud to be the part of this event. First of all I would like to congratulate organizers & volunteers for making this event successful . This time PyCon India was biggest event in each dimensions , in four days event  their was 54 speakers  , 16 workshops  & 34 talk which shows the beauty of this event .

Impact of PyCon India ?

As I mentioned above PyCon India ’17 was one of the biggest event of India & I share my experience about the event. lets start from the venue :

Venue : Initially Conference venue was JNU but due to some management issue Shaheed Sukhdev College of Business Studies finalized as venue for the Event & College have one of the best auditorium  hall . Infrastructure of the college is truly  amazing. DNjFOtPXkAErygM

Key-note Speakers : Key -note speaker of any conference are the soul of that event & this time in PyCon India their are three key -note speakers Peter Wang  , Noufal IbrahimElizabeth Ferrao   . listen talk of  Noufal Ibrahim always a great experience , and Community centralized talk of Peter Wang & Elizabeth inspired me to stick with community & improve more things in my home town .

DN2N3vuVoAEchVE.jpg:large

Food : PyCon Conferences always popular for their delicious  food I’m not going to tell more about this I have few screen shots which describe all story about food.

& If you are volunteer then you get extra wages like invitation to attend after party :

 

Swags : Apart from Key -note speakers most of the  people always attracts for the swags & If you are speaker , mentor or volunteer of any PyCon you gets lots of swags like stickers , t- shirts & in PyCon India you get ,,,,,, lets checkout the tweet of  TechDeviant

pycon3

& also a beautyful pendrive from google. Thank You ! PyCon India for these swags .

Dev Sprint & WorkShops : PyCon India is the best platform for students where students can understand how to start contribution to open source projects , Dev Sprint helps people to learn how to contribute to upstream projects. Approx 60% of the attendee of the conference was students which shows how much student eager to learn more about python & workshop help them a lot.  Atmosphere of Dev Sprint was really amazing .

DNr7u0IX4AEZ4Ky

All these things was the part of conference,  apart from all these thing what this conference give me ?

& the answer is lots of new friends again getting chance to meet awesome community members , & most important very first time interaction with DGPLUG people .

always feels good to listen Kushal Das , the way he guided us really fruitful for every one. Thanks to PyCon Pune ’17 which gives me mentors like Kushal , Sayan & Chandan .

So In PyCon India DGPLUG guys meet each other , Kushal takes a feedback session in tea time ,  some captures of DGPLUG meetup during the conference here :

Can’t wait to meet you again , See you all at PyCon Pune’18 .

People who still not the part of DGPLUG , hurry up join us @IRC channel #dgplug

Book you tickets for PyCon Pune ’18 Book Your Ticket Here  .

I’m really proud be part of Python Community . Sure very soon KanpurPython will be organize a Python Conference in Kanpur .

In the end of the conference in feedback session we get some good reviews which was the hard work of organizer & volunteers & some bad reviews which we try to improve next time . These all volunteers make this event possible & I’m also one of them .

DN9Q2QFVoAAJTRR

So this was my experience about grand tech event PyCon India .

Now people who belongs to Kanpur & near by Kanpur who was not able to attend PyCon India , Kanpur FOSS provide them a opportunity to understand the world of FOSS & Open Source.  Their is an event Introduction to Open Source at 11 November , 2017 in Allenhouse Institute of Technology , Kanpur . People who wants to attend this event Kindly book their ticket from link given below :

https://www/bit.ly/KanpurFossEvent

Thank You!


by Himanshu Awasthi at November 06, 2017 09:48 PM

Kshithij Iyer

And my M.Sc ends at this note. (at Pune, Maharashtra)



And my M.Sc ends at this note. (at Pune, Maharashtra)

November 06, 2017 05:32 AM

Semester end cleanup this semester. #35liters #caffeineaddict ...



Semester end cleanup this semester.
#35liters #caffeineaddict (at Pune, Maharashtra)

November 06, 2017 05:27 AM

November 02, 2017

Bhavin Gandhi

Weird color rendering on Google Chrome

Recently I updated my machine with dnf update and suddenly noticed that Chrome was showing really weird colors. I was like, what? seems like something happened to my eyes 🙁 😲 Later I realized that it was just Chrome which was…

The post Weird color rendering on Google Chrome appeared first on GeekSocket.

by Bhavin Gandhi at November 02, 2017 07:15 PM

November 01, 2017

Mohit

E-yantra is your mantra!

This year, I registered for e-yantra and this post is the part of my Journey to it.

E-Yantra eYRC guide

E-yantra home page describes e-yantra as:
An initiative by IIT Bombay that aims to create the next generation of embedded systems engineers with a practical outlook to help provide practical solutions to some of the real world problems. Sponsored by MHRD under the National Mission on Education through ICT program.
E-yantra is an initiative taken by IIT-Bombay, sponsored by MHRD to create better learning oppportunites for teachers, students and colleges. There are various programmes that run under the roof of e-yantra to help improve both the society and education standard in India.

Formation or Foundation

IT Bombay envisages the ‘e-Yantra’ platform to harness the intellectual talent of young India to create utility based robotic applications for usage across variety of applications such as: agriculture, manufacturing, defense, home, city maintenance and services industries

Initiatives

For Students

  1. e-Yantra Robotics Competition, eYRC
  2. e-Yantra Summer Internship Program, eYSIP

For Colleges

  1. e-Yantra Lab Setup Initiative, eLSI
  2. e-Yantra Ideas Competition, eYIC
  3. e-Yantra Symposium, eYS

For Teachers

  1. Two-day Workshop on Introduction to Robotics, link
  2. Task Based Training, link
  3. Task Based Training Challenge

Others:

  1. e-Yantra Farm Setup Initiative, eFSI
  2. e-Yantra Resource Development Center, eYRDC
Note: For further information, please follow the links provided.

How to get involved in …

  • Go to their website before deadline and register for any of the above mentioned competitions to improve yourself and your college.
  • Subscribe to their Facebook page to get updates.

Reference

Till then:
  • To infinity and beyond!

by Abstract Learner (noreply@blogger.com) at November 01, 2017 05:25 PM

Kshithij Iyer

"In the race between the tortoise and the rabbit, the rabbit lost the race because he was..."

“In the race between the tortoise and the rabbit, the rabbit lost the race because he was overconfident and inconsistent but what if we had a rabbit who was not overconfident and consistent then what?”

- Kshithij Iyer

November 01, 2017 01:50 PM

"What if I made decision trees for every decision in my life would I be in a better state, Who cares..."

“What if I made decision trees for every decision in my life would I be in a better state, Who cares whatever happened was for my own good!”

- Kshithij Iyer

November 01, 2017 12:38 PM

October 30, 2017

Deepika Upadhyay

Wind of realisation

It’s like I have entered a world , I had teleported to development, open-source world where continuously something is getting created , when I used to think of some practical implementation of a thing that mere thought that it could be done was not so simple to imagine with the amount of work and research , but when you enter a world where this is the primary motto and see people driven to help , put a hand forward to support you , it feels like dreams do come to reality with the magical world not yet discovered but present around you, do diversify your connections , you might never know another new world might be waiting for you i got to know about open source from college senior o last year because I participated in a debate , and when you form a neural connection of these worlds something amazing , something out of the box will be innovated ,afterall it’s in connecting the dots  , it seems like I can overcome that state of monotonous cursing to have not accomplished learning and that turned it into effortless task cause when you build things learning comes as a by product
learn from people especially their failures cause they will elaborate and give reasons for why they failed ,but on success maybe this might be not so easy for even them to find a thing that worked cause it’s a mingle of many
Hear out some interesting people you will make more discoveries of how they see the world ask a poet , what is there in the words that’s beautiful, ask an algorithmist how he sees algorithm in daily life , ask a painter how he create beautiful masterpiece with just a simple pen and the back of his notebook,ask how a musician visualise the tones , which kind of music gives him goose bumps
 Thats how you can taste life in different forms , reading books , hearing tales, creating a workaround out of a failure cause success doesn’t taste as good as rising from hardship does 🙂
#notetoself

by deepika at October 30, 2017 10:43 PM

Kshithij Iyer

22

When you are small you always want to grow up so that you can do whatever you want. But as time passes you realize that life was a lot easy when you were young. You know it’s a lot easy to blame someone for what wrongs they did to you but accepting that you gave them the chance to do wrong to you is difficult but that’s what growing up means, understanding and moving on cause time never stops.

In these last 22 years, I have seen many ups and downs, lefts and rights, celebrations and mournings. It was all experiences where some were good and some were not so good. I have been into trouble(I have to say quite often! :P) but have always found my way out of it every time. I have made the same mistake multiple times or should I say every time? And yet not learned from them. I have made friends and terrorists( Because I used to play as the counter-terrorist in CounterStrike {The video game}). I have seen people who fell for me and people who’ll push me out of the window if they get a chance. Sometimes I had everyone behind me and sometimes it was a lonely walk down the unchartered roads. I have been just like Anakin Skywalker and unfair like Darth Vader. I have shown both the maturity of Batman and the craziness of Joker. I have fallen in love with many women and eventually fallen out of it every time. I have made the perfect corner as well as I have crashed. I have played the failure as well as the topper(The secret was not to care about marks.). I wouldn’t say it was easy to grow up but yeah it was fun.Growing up taught me a lot, somethings were easy to grasp and others were learned through the hard way. All these years taught me that everything is possible you just need a stubborn heart and a crazy mind. 

In the end, I would like to quote John.A.Shedd:

A ship is safe in harbor, but that’s not what ships are for. 

So my advice to all those who are younger than me is to have the courage to make the jumps or should I say have the courage to at least try to make them? And lastly, thank you to everyone who stuck together for all these years and thank you to everyone who left for the good, you guys have made all these 22 years worth living, worth enjoying, worth exploring, worth celebrating and a whole lot entertaining.

Love now and always,

Kshithij 

October 30, 2017 06:30 PM

"When fear hits your brain really hard then after a while you just become senseless towards it."

“When fear hits your brain really hard then after a while you just become senseless towards it.”

- Kshithij Iyer

October 30, 2017 06:54 AM

October 29, 2017

Mohit

Everything about Libreboot!

LibreBoot

In this blog post, details about Libreboot, its purpose and all is provided in detail. To understand the concept of libreboot better, read my posts on BIOS vs Bootloader, and all the other related blog posts, referenced here.

All computers need BIOS firmware for it to initialise and run programs, games and other software. Refer my blog post on BIOS and bootloader. At this time the most supported hardware is older because it sounds like Intel is not very friendly to this movement and does not like to release documentation or information about their products.

What is it?

Libreboot (formerly known as GNU Libreboot[5]) is a free software project aimed at replacing the proprietary BIOS firmware found in most computers with a libre, lightweight system designed to perform only the minimum number of tasks necessary to load and run a modern 32-bit or 64-bit operating system.[1]

Libreboot is established as a distribution of coreboot without proprietary binary blobs. Libreboot is not a straight fork of coreboot; instead, it is a parallel effort that works closely with and re-bases every so often on the latest coreboot as the upstream supplier, with patches merged upstream whenever possible. In addition to removing proprietary software, libreboot also attempts to make coreboot easy to use by automating the build and installation processes.[2]


Why use it?

You might be wondering why should you even be worried about such a thing that does not affect much. But let me tell you, if you are an open source enthusiast and don’t like the hidden curtains behind your softwares and computers. You should give it a shot and also it is faster, safer and more open than your current BIOS firmware.

But the real reason being, If you are privacy freak and worried about the backdoors that few software companies and government agencies might have implanted on your system without your consent, you should consider using libreboot as your BIOS firmware. You might have replaced all of the hardware, operating system and all utility programs to their open-source equivalent to have more control over those. But, did you really changed all the softwares?, even those required to put your system live to run other softwares? Yes, I am talking about BIOS firmware, hardware realted firmwares like bluetooth, wifi(which are not most-probably be open-source) and bootloader.

You might have also replaced to an open-source bootloader, may be GRUB, but what about your BIOS firmware? The hardware manufacturers usually install their closed source version of BIOS to fuel up your system over which you have no control and you don’t know, if it might contain any malicious software uptil now…

According to Libreboot website:

Why use libreboot? Many people use non-free boot firmware, even if they use GNU/Linux. Non-free BIOS/UEFI firmware often contains backdoors, can be slow and have severe bugs, where you are left helpless at the mercy of the developers; you have no freedom over your computing.

Advantages of LibreBoot

  • Fast
  • Secure with no backdoors
  • Open Source and released under GPL V3.0

Libreboot provides the missing jigsaw puzzle piece which you must be finding for ages but didn’t find. So, you need libreboot to fix your whole system but there’s a catch! Since, these BIOS firmware are very low level and hardware dependent programs, libreboot is not supported by all hardware that exist in market, mostly because the hardware related specifications are not open to all.

But also, there’s a good news which you must be waiting, how to install it on your system?

  1. Buy the supported hardware, a system with all the open source hardware and software. Here are some suggestions and some suppliers which provide preinstalled libreboot in their system.

  2. Install qemu, a virtualization software and put the piece back to its place. Refer my Blog post on Qemu to know more.Here

Founder/Creator

LibreBoot is created by Leah Rowe, who created this project to make a “Binary Blob” free version of “CoreBoot”. She is also the founder of Minifree, only company that sells GNU+Linux computers with the Libreboot firmware and Trisquel GNU+Linux operating system preinstalled.


History

Libreboot was launched in 2013 to make a free software version of coreboot (by removing “binary blobs” included in the coreboot source code). Since February 2015 the project has been endorsed by Free Software Foundation (FSF). The project became part of the GNU Project in May 2016.

Coreboot

Coreboot (formely known as LinuxBIOS) is another opensource firmware project that further leads to Libreboot but there’s a difference between both of them. Coreboot, although being opensource, use various propietary firmwares along to support more number of hardware and devices.

Nothing better than simply said: Libreboot is basically Coreboot without “Binary blobs”.

According to wikipedia:

coreboot has a number of variants from its original code base each with slightly different objectives:

  • librecore - A variant with more focus on freedom, non-x86 and firmware development frameworks.
  • libreboot - A variant with a primary focus to remove all binary blobs.

To know more about coreboot follow its wikipedia page here or its documentation here.

Journey to GNU family

In September 2016 the lead developer announced that the project would leave the GNU Project and in January 2017, Richard Stallman announced that Libreboot was released from the GNU project and later in April 2017, Libreboot again join forces with GNU family. Refer this.


Supported Systems

As stated above, since Libreboot and coreboot, both have to ported to every chipset and motherboard, they are available for only a limited number of hardware and motherboard platform. The list of supported hardware can be found here.

‘Supported’ means that the build scripts know how to build ROM images for these systems, and that the systems have been tested (confirmed working). There may be exceptions; in other words, this is a list of ‘officially’ supported systems.

It is also possible to build ROM images (from source) for other systems (and virtual systems, e.g. QEMU).


How to install it?

Since to install libreboot various dependencies have to be met, most important being the hardware support. So, The install instruction requires you to install “Qemu” as a dependency. Read this post to get more insights. Also, Since libreboot might not be supported by hardware, the following install procedure is meant for the libreboot installation on Qemu virtual machine.

Download from source/git[3

  • git clone https://notabug.org/libreboot/libreboot.gitFollow this page for further reference.

Installation

* * * * *

Note: If for some reason, you fail to install libreboot yourself. You may have a GNU+Linux User Group, free software workshop or hackerspace near you that can help you with installing Libreboot, for instance.


Wanna Contribute!

Great, You landed exactly the place you wished for. I am contributing to it and will document everything for you to help. This post and others are part of my contribution journey.

Contact the project maintainers on:


References

To all the blog posts required by anyone to get the grasp of the BIOS, bootloader, LibreBoot, OpenSource and its contribution, and other softwares like qemu.

  • To understand how your computer initialises, follow this post.
  • Binary Blobs
  • To contribute to open source softwares, read this guide
  • My Blog post on how to contribute to open source software (OSS).
  • Free as in Freedom.
  • LibreBoot documentation.

Till then,

To infinity and Beyond!

by Abstract Learner (noreply@blogger.com) at October 29, 2017 11:59 AM

Kshithij Iyer

"As time passed they were lost in each other so much that they didn’t know when to come out of..."

“As time passed they were lost in each other so much that they didn’t know when to come out of that labyrinth.”

- Kshithij Iyer

October 29, 2017 10:22 AM

October 28, 2017

Mohit

Everything about QEmu!

Qemu

(Created by: Fabrice Bellard )

It is the blog post where all the required details are gathered for you to get the insights of Qemu software, its installation and how to get started with it and open source softwares.

What is it?

QEMU is a generic and open source machine [emulator] and [virtualizer]. When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performance.

When used as a virtualizer, QEMU achieves near native performance by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, 64-bit POWER, S390, 32-bit and 64-bit ARM, and MIPS guests.[1]

According to wikipedia:
QEMU is a hosted virtual machine monitor: it emulates CPUs through dynamic binary translation and provides a set of device models, enabling it to run a variety of unmodified guest operating systems. It also can be used with KVM to run virtual machines at near-native speed (requiring hardware virtualization extensions on x86 machines). QEMU can also do CPU emulation for user-level processes, allowing applications compiled for one architecture to run on another.

In a nutshell, You can run your system as a completely different hardware configuration without affecting anything on your system.

History

The history of qemu is still a mystery to me. Hope you understand git history :)
The git history of Qemu is here.

If you find more about qemu's history, comment below to share.

How to install it?

1. From .tar.xz

Follow these steps:
  1. wget https://download.qemu.org/qemu-2.xx.x.tar.xz
  2. tar xvJf qemu-2.xx.x.tar.xz
  3. cd qemu-2.10.1
  4. ./configure
  5. make

Note: Replace qemu-2.xx.x.tar.xz with the correct version number. (qemu-2.10.1.tar.xz)

2. From Linux Package Managers

QEMU is packaged by most Linux distributions[2]:

  • Arch:
    pacman -S qemu
  • Debian/Ubuntu:
    apt-get install qemu
  • Fedora:
    dnf install @virtualization
  • Gentoo:
    emerge --ask app-emulation/qemu
  • RHEL/CentOS:
    yum install qemu-kvm
  • SUSE:
    zypper install qemu

3. From Source/Git

  1. git clone git://git.qemu.org/qemu.git
  2. cd qemu
  3. git submodule init
  4. git submodule update --recursive
  5. ./configure
  6. make

4. MacOs

  1. brew install qemu


How to set up your system using qemu?

(Follow this qemu documentation if need further reference.)

Unlike other virtualization programs such as VirtualBox and VMware, QEMU does not provide a GUI to manage virtual machines (other than the window that appears when running a virtual machine), nor does it provide a way to create persistent virtual machines with saved settings. All parameters to run a virtual machine must be specified on the command line at every launch, unless you have created a custom script to start your virtual machine(s). However, there are several GUI front-ends for QEMU:

  •     virt-manager
  •     gnome-boxes
  •     qemu-launcher
  •     qtemu
  •     aqemuAUR

Additional front-ends with QEMU support are available for libvirt.[3]

QEMU is a processor emulator and supports emulation of ARM, PowerPC, SPARC, x86, x86-64 and more. QEMU has two operating modes[4]:
  •  User mode emulation: QEMU can launch Linux processes compiled for one CPU on another CPU, translating syscalls on the fly.
  •  Full system emulation: QEMU emulates a full system (virtual machine), including a processor and various peripherals such as disk, ethernet controller etc.

To setup a working environment, a virtual machine on qemu, follow following steps:
  •  


Wanna Contribute!

Like any open-source project, anyone excited enough, can contribute to qemu.  First to get started in open source world is to start using them.
  1. Install qemu on your device.
  2. Test it for a few days and check if it is your type or not.
  3. If it suits you, take a step ahead towards its contribution, peek into its source code. (You can download its source code from its git repository here or its Github repository here.
  4. Contact with the project maintainers and ask them to help if needed.
  5. Get yourself assigned to few simple and basic issue/tasks by the project maintainers to dive a little deeper.

You can also take help from various open source awareness programs like:

To Contact the project maintainers:
  • Join the project mailing list for their updates and to ask any doubts if you have.
  • Join their group on whatever medium they have (Slack, IRC, Telegram, Google Groups...).  The irc channel for qemu is #qemu on freenode network.




References

About:

Setup:

Others:


Check my blog posts on LibreBoot and its contribution to get more insights.
Till then, To infinity and Beyond !

by Abstract Learner (noreply@blogger.com) at October 28, 2017 04:33 PM

October 26, 2017

Kshithij Iyer

"If you ever want to see a technical student cry, add a few management papers in his curriculum."

“If you ever want to see a technical student cry, add a few management papers in his curriculum.”

- Kshithij Iyer

October 26, 2017 05:41 PM

"I just want you to drag me by my collar, slap me on my face, punch me in my stomach and then kiss..."

“I just want you to drag me by my collar, slap me on my face, punch me in my stomach and then kiss me.”

- Kshithij Iyer

October 26, 2017 05:39 PM

October 25, 2017

Kshithij Iyer

"She said, “you are not that good looking.” When she said, “You look sexy!”..."

“She said, “you are not that good looking.” When she said, “You look sexy!” And now I was lost between these two women.”

- kshithij Iyer

October 25, 2017 10:46 AM

Himanshu Awasthi

Pycon Pune ‘2018

Ticket for PyCon Pune is live now

Python

Today I have seen that date for Pycon Pune ‘2018 is out.

for more Information click here   PyconPune’18 .

I was attended Pycon Pune 2017 and that  event change my thinking about my future. I am 3rd year student of B.Tech computer science and belongs to Kanpur city of U.P.

When was I attend this event I don’t know more about Python Programming Language but during the event I met so many brilliant people who have brilliant knowledge about Python Language. I had seen that people who attended this event belongs to all category of people like students, employees, geeks, entrepreneur etc.

Talks was tremendous . people can see it here Talks_pyconpune.

Now when I see that Pycon Pune date is out so I want to be a part of this event as volunteer. I drop e-mail to Pycon Pune let see!!!!!! ^ ^

In upcoming year I am…

View original post 19 more words


by Himanshu Awasthi at October 25, 2017 09:27 AM

Kshithij Iyer

When someone asks you about your future plans!



When someone asks you about your future plans!

October 25, 2017 06:06 AM

October 24, 2017

Kshithij Iyer

"My dad said “you sound like some love failed kid on your blog”, I didn’t know what..."

“My dad said “you sound like some love failed kid on your blog”, I didn’t know what to tell him.
Dad! I just have a different perspective towards life or People are abusing the love these days.”

- Kshithij Iyer

October 24, 2017 06:34 PM

October 23, 2017

Kshithij Iyer

"Paradise, show me a real place Where all of our dreams come home Where our forever and always Is the..."

“Paradise, show me a real place
Where all of our dreams come home
Where our forever and always
Is the only kind we know
Jupiter gave us an empire
A ring to wrestle fate
A promise never to expire
When tides are hard to chase
Cause when all the sirens come
You’re still the one
And under the coldest suns
I’ll keep you warm
When all the hope is gone
You’re still the one
You’re still the one
You’re still the one.”

-

Max Collins (lyrics from the song “Still the one”)

Read between the lines people.

October 23, 2017 10:41 AM