Summer training students' planet

July 20, 2017

Bhavin Gandhi

Markdown – The easy way to write HTML

We use HTML almost for everything, it’s simple text with extra attributes like bold italic etc. This attributes (tags) are parsed by browser in order to display the text. Writing HTML is not easy always especially if you are writing…

The post Markdown – The easy way to write HTML appeared first on GeekSocket.

by Bhavin at July 20, 2017 06:00 PM

Kshithij Iyer

"I don’t have any hard feelings for those selfish friends who screwed me, cause one day I know..."

“I don’t have any hard feelings for those selfish friends who screwed me, cause one day I know that their karma will come back and kick their ass.”

- Kshithij Iyer

July 20, 2017 05:02 PM

"Do good even when no one sees it, even when you have to pay for it. Cause one day it will find..."

“Do good even when no one sees it, even when you have to pay for it. Cause one day it will find it’s why back to you with interest.”

- kshithij Iyer

July 20, 2017 04:58 PM

Abdul Wahababrar

Thank you so much Jason for your kind words, Still in the learning stage! Need to learn a lot…

Thank you so much Jason for your kind words, Still in the learning stage! Need to learn a lot…

by Abdul Wahab Abrar at July 20, 2017 02:25 PM

Jason Braganza

Random Meta Stuff

Moving all the lochww posts to the loc tag; (Life Outside Code)

Yes, I no longer wish to focus only on the healthy, wealthy, wise parts of life.

It was keeping me from writing regularly.

I’d rather go wide and actually write about everything that interests me and I think would help you folks, than restrict myself to just thinking; and then thinking some more, and not doing any er … actual writing.

Here’s to more …

If you want to subscribe to just the loc posts this link should help your feed reader.

by Mario Jason Braganza at July 20, 2017 01:51 PM

July 19, 2017

Abdul Wahababrar

Here comes Data, The new Oil of this Century [part. 01]

“Data! Data! Data!” he cried impatiently. “I can’t make bricks without clay.” — Arthur Conan Doyle

Oil is no more the most important resource today, so is Data? While we were in the late 80's and early 90's, we were working with Data but did not call it as Data Science or nearer term, we used to call Statistics to it.

Algorithms, Software tools were not prevalent in those times. Software were expensive and not Open-Source and cheap as today. During those dark age we did not have the data storage platforms and now we have millions of data sets available at very low cost.

DJ Patil and Andrew Gelman were the very first people, who coined the term Data Science. Data Science is a vast field that includes artificial Intelligence, Machine Learning (AI’s small bro), Deep Learning, Neural Networking and much more.

Data Science is the science of Data, just like Biological Science is the science of Biology and Physical Science is the science of Physical reactions. Data is gathered, pondered, manipulated, worked, analyzed then visualized. It is like uncovering the mystery behind Data. It is like story-telling that you tell what’s residing behind data. It could be structured or unstructured.

Data Science is relevant today because we have gazillions of data. During 1980’s and 1990’s people used to laugh when we speak about Artificial Intelligence and now we must laugh at people who don’t know AI because we have data NOW!

There’s never a better time to be a Data Scientist.

Let’s Discuss more about Data very soon in the next stories!

by Abdul Wahab Abrar at July 19, 2017 05:54 PM

Kshithij Iyer

"It’s a strange feeling when your teacher ask’s you to build a mars rover instead of..."

“It’s a strange feeling when your teacher ask’s you to build a mars rover instead of building the same old go-kart cause your heart wants it badly and your mind says “Beta sambhal kar nahi tho dandi lag jaygi!”(Dude be careful or else you’ll get a back!)”

- Kshithij iyer

July 19, 2017 11:52 AM

"All the plans you make, all the calculations you do, all the equations you formulate one day all of..."

“All the plans you make, all the calculations you do, all the equations you formulate one day all of it becomes useless cause the variable change jumps the charts and you are left clueless. During those days it’s just you against the odds, so get up and punch hard cause the game is the best before a win or a knock out.”

- kshithij Iyer

July 19, 2017 10:46 AM

July 18, 2017

Shivam Singhal

MozCoffee V11: Time to wakeup Community

There is a long time from Mozilla Delhi went on a hibernate so its time to wake up the community. To rejuvenate the community some members took initiative. Thus Pushpita and Bhuvnesh  planned to organize Mozcoffee V11 on July 15 at Qutub Spring House, Delhi.

I had two events on same day , one is Hackathon Random Hacks of India in Gurgaon at 9 AM where my team members wait for me and  another was MozCoffee at 11 AM, i preferred first to go to MozCoffee as it was necessary to wake up the Community.The main agenda of this MozCoffee was to discuss about the current projects of Activate Mozilla Campaign.

So I reached by 10.30 AM at the venue. Pushpita and me reached at the same time 😀 . Bhuvnesh Sir was already at the venue. More attendees began to join us from 10.45 onwards. I was so happy to some newbies join us as they were interested in Open Source Contribution. So I and Sanyam Bhaiya introduce them to open Source and tell them about how to contribute to Mozilla Projects and Mozilla Campus Club. This was first time I introduce some one to Open Source though it was not official talk 😛 .

After that Sanyam Bhaiya told about various Mozilla Projects after that Pushpita explained about the Activate Mozilla Campaign. She also highlighted other projects for non- tech peoples.

IMG_0359.jpg

Finally, it was time to bid goodbye to all the Mozactivities 🙂 .

IMG_0705.jpg

Thanks for reading. Sorry for such bad english. Be Mozillian :).

 


by championshuttler at July 18, 2017 05:42 PM

Ganesh Nomula

Tears On Fire

Well – Since my first breath, I am meeting people everyday, every month, every year for 22...

July 18, 2017 05:33 PM

Kshithij Iyer

"A good friend of mine said “You are really volatile my friend.” I smiled and replied..."

“A good friend of mine said “You are really volatile my friend.” I smiled and replied “I am not volatile my friend I am just allergic to bullshit.””

- Kshithij Iyer

July 18, 2017 01:22 PM

Shivam Singhal

Tabs v/s Spaces: Analysis on why tabs better

Tabs vs Spaces : Silicon Valley

Tabs v/s Spaces. I am sure you have encountered this dilemma in your coding career time and again. I prefer tabs. There are some people who prefer spaces instead. Today I would like to discuss why tabs are better than spaces. I am only going to use rational points here. Please spend 5 minutes on this article and then make a decision.

First, I would like to point out the major argument why people prefer Spaces over Tabs.

They say, spaces make indentation look more consistent across different setups. This is not totally correct. Tabs can be configured to consume any number of columns in the editor. So if you hate high indentation, you can set tab width as 2. But, spaces do have a real advantage and it comes when you are trying to do non-uniform indentation like of function parameters in a function declaration.

int mainFunction(int a, char b, bool c, short d, long e){
               return 0; } 
int mainFunction(int a, char b, bool c, short d, long e){
               return 0; }

The first function in this code uses spaces whereas the next one uses tabs. If you try to see the difference here, you will notice that double f is slightly misaligned in the second function. For me, this is not bothersome and I would gladly accept this over the benefits of tabs. Let’s look into these in detail.

1. Tabs are meant for Indentation

Why were ‘Tabs’ created when we already had spaces? For indentation right, what other could be the reason. Now tabs were introduced for indentation because indenting using space required lots of keystrokes (though it’s not the case with modern editors now). So you might still argue “I would use spaces because my editor automatically takes care of indentations for me”. Well have a look at the next points then.

2. Tab-based indentation is uniform, like spaces

As I already told at the start of this article, tab width can easily be changed in the editor to make indentation look consistent across different setups. As a bonus, tab width can be changed unlike spaces and this allows a developer who hates, say wide indentation to visualize a narrower indentation while coding.

This is the main point why people thought spaces are better. In my opinion, it’s just the opposite. Indentation using tabs is flexible in its own way.


I hope at this point of the article, I have cleared the air around tabs and why people feel that spaces are superior to tabs. At this point, we can say that spaces are pretty much equal to tabs if you don’t consider that indentation example earlier. Now let’s see, why tabs are better than spaces.

PS – It may feel like I am being picky here but hey, tabs = spaces has been established so every pro for Tabs matters.

3. Tabs work better with Notepad

You might be saying, who uses “Notepad”? Well, Notepad here symbolizes the most basic of the text editors. These editors don’t convert a tab press to 4 spaces. Now, there might be a need where you have to quickly edit a code file. If the code has been indented by spaces and you are trying to add a few lines in the code, you will have to use 4 times spaces for each level of indentation.

If the code had been indented through tabs, well .. things could have been much faster and less frustrating.

I know this happens in a very rare case but let’s face it, we all have faced these situations many times in our career.

4. Code size with tabs indentation is lesser

Suppose you are using a 4-space indentation, then the total size of the file added by your indent chars will be 4 times more than using tab indents. Now, in a complex program indents can easily go up to 5 levels. Suppose average indent in a program is 3 levels and average code length (without indents) in a line is 50 chars and total lines is 100, then the file size we have with space indentation is 100 * (50 + 3*4) = 6200. With tab indentation, total file size is 100 * (50 + 3) = 5300. This is a saving of 17%.

Yes, obviously the real numbers for the industry would be different than this. But how much less can it be, 15%, 12%, 10%? Even if we are getting a saving on 10% in the code size, don’t you think it’s beneficial. And this comes at absolutely no cost.

5. Spaces Indentation takes more time to fix

Again, this is a very rare situation but because tabs = spaces has been established after point 2, this adds weight to the tabs category.

Let’s take a situation where you accidentally deleted some spaces (n s.t. n % 4 != 0) in the indentation. To fix this, you will have to add some tab spaces for the indentation blocks (n / 4) + (n % 4) spaces for the extra. This won’t be the case with tabs as you will only have to add the tabs that were deleted.

6. Spaces promote super-ugly & inefficient code style

class MyClass: 
    def myDescriptiveNameMethod(param_a # description for param_a 
                                param_b, # description for param_b
                                param_c): # description for param_c 
        pass

Yes, I have seen code examples like this in the wild. I know that you want to give comments to parameters and that’s why you are putting one parameter at a line but why this high degree of indentation. A better example using tabs would be –

class MyClass:
	def myDescriptiveNameMethod(
		param_a, # description for param_a
		param_b, # description for param_b
		param_c  # description for param_c
	):
		pass

Yes, keeping param_a in a separate line could have been done using spaces as well but the point here is that because people use spaces for indentation, they are following a horrific code style like the first example.


So these are my pro-Tabs reasons. You might think some of them as BS but they are rational and you can’t disagree with that. The only pro-Space argument I see is the very first code example in this article. But for me, that doesn’t win against the stronger reasons we have for using tabs.

I hope this article will get programmers aware of why they should use tabs or spaces, whatever they feel like. I have tried to put together all points I have on tabs v/s spacesand I came to the decision that tabs are clearly better. This might not be the case with everyone. If this article triggered a change in your coding habit, do let me know in the comments. Also if you have a feedback about the article or would like to add to it, just throw in a comment.

That’s all for now. Thanks for taking time reading this blabbering 😀

 


by championshuttler at July 18, 2017 12:40 PM

July 17, 2017

Kshithij Iyer

July 15, 2017

Mohit

#include

#include <my_struggle.h>

#include <my_struggle.h>

/** This is the header file of my journey to computer programming world.
  */

tl:dr

Hello Everyone, As you have read above already, this is the header file of my journey to the programming world. It includes the functions:

  • Why Am I Stuggling?
  • Why Do I Care!
  • My Journey/Struggle

First, we should cover all the dependencies for these functions to properly work.

Why Am I Struggling?

I took Computer Science as my majors in my Graduation out of nowhere, I don’t know why but I did. I was always an art lover with curious temperament, kinda kid. I admires the nature and the science behind it, so what I knew already that I love Physics, It’s my subject because Physics is a Latin Word, meaning “To Know”. Then, I don’t know what what came over me, I took computer Science, may be because I admired computers too. I knew totally nothing about computers and programming two years back, and that’s why I struggled to adapt to new world. But thanks to my curious temperament, I got interested in the subject very soon, started to relate programming with any other daily life stuff. And when I get to know about their architecture, my vision becomes more clear.

Why do I Care!

Now, Why do I care to struggle with this new alien stuff, I could have let it go and don’t go any deeper, but yet I did. You know why? Physics, it is. As I said, I always admires the science behind nature or anything else, when I entered this new alien planet, I started to ram my head to get into it, then slowly with time, when I adapted a little to it, my Physics temperament woken me up.

I started to wonder how, these computers (and not only computers but every electronic equiment) can do this mountains of stuff, just by utilising electricity. My Physics understanding tells me that, electricity is nothing more than flow of electrons, then how these small electrons can do these massive job. Million dollar question, Isn’t it? :)

With the advent of little more time and little knowledge of Computer Architecture, I started to understand how these electric pulses can do wonders in computers. And this is the time, I started to care even more to dvelve into this alien planet. This computer ICs and various electronic components can maipulate these electricity pulses (0s and 1s), how these 0s and 1s can be fed to computers to do what we want.

My Journey/Struggle

Now, you all might have got it right by now, I care about programming more than ever because it relates two crushes of mine (Physics and Computers). So, you might have a question by now, how smooth my journey is? Well, not so smooth and I don’t think any of had this smooth journey, because learning anything new will never have a smooth journey and will have very large hurdles in between. Many a time, you might want to quit it at all.

Once I realised what is in the computers that keeps me going to learn it i.e “Physics behind computers”, I was good to go. I made a list what I love and how will I learn those and just start picking the items off the list.

  • My Journey starts with a programming language named C, one of the universal language they teach in the graduation to build your concepts.
  • Then I encounter these online programming websites and I got more excited. But, wait I couldn’t solve any question and that makes me more sad.
  • There comes the Data Structures at rescue and voila, I could solve some problems now.
  • I am also a Math Lover, so it helped me a lot too.
  • Then Computer Architecture enlilghtened me a little about cpu, and I decided to make my own computer (which I haven’t started yet).

Now, Hurdles. The biggest hurdle for me to cope up with my friends, they all in development phase and I was still in learning phase. Besides, they neveer cared about the miniscule details of computers and I cared about computers only because of these 0s and 1s.

It took me a while to understand that, I am different and Yes, I am on a different path. So I stopped worrying about them anymore. You know I am a late bloomer. I also understood one thing, that learning this low level stuff is much more difficult to learn than those API stuff, because there’s not much guidance you can get in this field.

  • Now, I started to developed kernels (low level computation stuff) and I am glad with.
  • Soon, I gonna build my own computer from very scratch.

So, Wait for it.

Thanks for being with me!

by Abstract Learner (noreply@blogger.com) at July 15, 2017 06:14 PM

July 14, 2017

Ashwani Kumar Gupta

Feed-River: A river of feed not water

Why yet another feed reader?

On 27th June, 2017 Kushal took a session on #dgplug and we were supposed to give the link to our newly created blogs so that they can be added to the dgplug student planet. I was very excited for this as this was the first time I wrote a blog and wanted to share this with other people. Kushal asked all students to enter their feed url and name on a shared document. When I heard the words feed and url I was like what is this feed URL?

Later in the session, when answering a question about why are we adding the feed URL and not the direct link, he told us to read the Wikipedia page of RSS. Then I understood a feed is nothing but a data format which serves us with the updated content in the web and RSS is such a type of feed (web feed). There are also other types of feeds such as Atom feed. One can just add a bunch of feed URLs of different websites to a feed aggregator application and read all the updated content from all of the sites on a single webpage (Isn’t that cool?). Our dgplug student planet is such a feed aggregator.

I have a wordpress blog so I just had to append /feed after the URL of my blog to get the RSS feed URL. I opened the feed URL on my browser and saw an XML file came up. I didn’t understand the mechanism of feed aggregators very well so I decided to make my own feed reader and learn as I make it.

About Feed-River

So finally after few days I was able to make Feed-River (a feed reader of my own) which takes a feed URL from the user and displays all of its posts. Here is a screenshot of it. sdadas

I used PHP and the bootstrap framework. Feed-River works in the following steps:

  • First it validates if the given URL is a correct feed URL or not. If not, you will get an error like shown below. So you can also use it as a feed validator.

asdaafaf

  • If a correct feed URL is entered, it will then fetch it and parse the XML file.
  • From the XML file then only the necessary information i.e. the posts are extracted.
  • The posts are displayed in reverse chronological order so that latest post is displayed first.

As of yet, the Feed-River is not very useful since it doesn’t allow to read the feed from multiple URLs. I plan to add the feature in future. Jason Braganza also helped me with an idea of automatically identifying the feed URL from the direct link of the website. I think this is a nice idea and will try to implement it in future. If you want to look at the code, here is the github link to the repository. Feel free to fork the repository or suggest any idea 🙂

I should thank Kushal for the explanation of working of RSS and Jason Braganza for helping me with the name (naming is such a tough job thank god Jason is here :D). I got to learn many things by making this mini app like mechanism of feed aggregators, different types of web feeds, XML structure, XSD, DTD etc. Thanks for reading 🙂

P.S – If you are also new to XML and want to explore XML here is an awesome MOOC


by Ashwani Gupta at July 14, 2017 02:05 AM

July 13, 2017

Kshithij Iyer

"2 States is it? I have been through 3 still couldn’t find her. These stories make is so easy a boy..."

“2 States is it? I have been through 3 still couldn’t find her. These stories make is so easy a boy and a girl meet in college and fall in love. How do they get time to fall in love when you have so many assignments, tests, vivas and other stuff!”

- Kshithij Iyer

July 13, 2017 04:29 PM

Not bad for a first time. #Paneer_bhurji (at Pune, Maharashtra)



Not bad for a first time.
#Paneer_bhurji (at Pune, Maharashtra)

July 13, 2017 02:46 PM

Kshitij Kumar

Who are hackers and What is Hacking ?

I was reading “Free as in Freedom” suggested by Kushal on the #dgplug channel on IRC. We also had a session on “History of Free Software Movement” on Monday”. I bookmarked the page at that time and thought to give a read in free time.

After reading the book, I was surprised and disgraced at the same time that we have no knowledge of the history of this computer science world and even we never tried to know.

So,  I will start with short Introduction of the book. This book is “biographical snapshots of GNU project founder Richard Stallman with the political, social and economic history of the free software movement. This book examines one man’s 20-year attempt to codify and communicate the ethics of 1970s era “hacking” culture in such a way that later generations might easily share and build upon the knowledge of their computing forebears. The book documents Stallman’s personal evolution from teenage misfit to the prescient adult hacker to political leader and examines how that evolution has shaped the free software movement. ”

‘Hacker’, Whenever we read or find out this term, the image that comes to our head is “a person who secretly gets access to a computer system in order to get information, cause damage”. This is what we use to see in movies or media. This is definition by most of the dictionary we follow. But that’s not the fact.

According to Richard Stallman hack means “Playful cleverness.” Hacking meant playful brilliance.

Hackers amaze people with their intelligence and innovation. They gave life to novel ideas which people thought were impossible to do; to wrought into reality.

To understand the meaning of the word “hacker,” and to understand the hacker ethic culture, one should read this book.

This book beautifully explains how the terms cracking’,security breaking’ and prank’ mixed up and create a misunderstanding.  How the word ‘Hacking’ got the new definition as the time changed. That’s why writer of the book finished his writing with these lines

Using the term “cracking” rather than “hacking,” when you mean “security breaking,” shows respect for Stallman and all the hackers and helps preserve something which all computer users have benefited from: the hacker spirit.

After reading the book I can say “I am proud to be a hacker”

References:

  1. Kushal Das’s Article on “Hacker Ethic and Free software movement”
  2. Free as in Freedom

by Kshitij at July 13, 2017 10:53 AM

July 12, 2017

Mohit

The hacker-culture.










Hacker-Culture Session


Now, I am proud to be an hacker, especially knowing after how this hacker culture developed. Well, I am a part of a revolution, Hacker Revolution and I am very excited to be its part.

We had this session on an IRC channel #dgplug, which is a part of their summer training programme, and seriously what a great session it was. I still feel pumped up as if I was there by myself. I am glad to be a part of DgPlug group and most of all,I am glad to know someone like Kushal Das. I am not gonna explain everything that was explained to us by him, because only a good story-teller can connect you to the story as Kushal Das did and unfortunately, I don’t have this skill yet.

How it all started? From this simple recent tweet by Gnome and the following reply. Do have a look and think about these comments keeping hacker-culture in mind. :)

Interested…


If you guys really want to experience what I had experienced, just read thislog for the session we had on the channel or just hear it all by Kushal Das himself, read his blog.

Let me share the Kushal Das Quote:

“The history is important, Learn about it!”

I can’t put everything here on the blog, the history is really huge and very important part of hacker-ethic. It really explains allyou just read of the log here on the blog, but I can summarise the motive, As Far I Understood, “We humans should contribute to the society as one whole indistinct part and share what we learn with others for them to continue where we left. And that’s how, we humans, can improve and develop as a being.”

And every thing you just read is not just awesome but also something that every computer enthusiast should know. Kushal Das suggested us to read these two books:
    Hackers: Heroes of Computer Revolution
    Free as in Freedom


Now, I am really upset by myself not to pick books out of my wishlist because the first book he suggested was in my wishlist for over a year.But,

“Better Late, than Never.”

So thats all for now, my experience on Hacker-ethic/culture.

Hacked… :)


by Abstract Learner (noreply@blogger.com) at July 12, 2017 04:50 PM

Robin Schubert

freeway != free way

Having a class on history of the hacker culture in the dgplug IRC channel has been highly interesting. Only within seconds after starting in 1955/56 with the TX-0 at MIT, my Wikipedia tabs popped up almost by themselves, going from TX-0 to Hacker to Hack Culture to Tech Model Railroad Club and Richard Stallman. By the end of the day I ended up installing FreeBSD and Plan9 on virtual machines on my laptop and began to explore those (what a weird thing, this Plan9, but interesting and consistent in concept)

Obviously, Richard Stallman had a great influence on hacker culture, the free software movement and actually on the working environment that I use right now and every day. After watching some talks and interviews, I realized that this guy really has the 100% freedom in mind (which ironically seems to be quite constraining), avoiding any proprietary software, but also boycotting a whole bunch of other services, tools, hardware and whatsoever if they violate against his philosophy.

Although I was a bit overwhelmed by the strict policy, I liked some of that thoughts initially. Like how he declares minified JavaScript to be proprietary software, because the code is not readable and you would need some reverse engineering to make sense of it. I also like his four essential freedoms (freedom 0, 1, 2 and 3) that finally helped me to understand that free software does not necessarily mean gratis software.

So I was interested in the OS and tools that are actually approved by Richard Stallman and found a good list here. I don’t remember how often I checked that box saying “install non-free packages” on my OS installations, without thinking twice even once. I will do now, and I think I might try out Parabola GNU/Linux and stay free, by staying propriety-free as good as possible. Judging from the post on stallman.org, not even he can manage to get the 100% he aims for; sometimes a trade-off is necessary until a better solution is found or created.

In the meantime I start searching and creating.


by schubisu at July 12, 2017 10:49 AM

Deepak Chethan

First Contribution!

I finally made an open source contribution! I feel amazing. It is not in the form of code though, I translated the contributor covenant to Kannada. To those who never heard of it, it is the most popular code of conduct for open source projects with over 30,000 adoptions. I submitted a pull request a couple of days ago and it was finally merged today.

I also started to translate the tokens of DuckDuckGo into Kannada language. As of now I’ll just stick translations and non-technical contributions for this vacation. 

Apart from that, I finally started solving problems on spoj. I solved around 5 of them. My aim is to solve at least hundred of them before the college starts.

I wanted to complete an Android app college syllabus app since a couple of months. I finally started even this. I’ll make it opensource and post the code on github, as soon as I complete the first version. That’s pretty much it.


by dodococo at July 12, 2017 07:10 AM

July 11, 2017

Mohsin Mumtaz

DIVSUM SPOJ

Today while solving one of the interesting spoj DIVSUM problem, I learnt quite a bit of trick to solve the factors for any given number with efficient time complexity.

The Problem:

  • Finding the sum of factors of n.

NOTE:: Sum of the factor of 1 is 0.

Ex: let n = 16

Sum of Factors of 16 = 1+2+4+8 = 15

 

Solutions:

  1. The brute force solution is very simple where sum of all the elements that are factors of n is calculated and stored in a variable

Python3 Code

sum =0
if n == 1
print(0)
else:
for i in range(1,n):
if(n%i)==0:
sum+=i
print(sum)

The problem with this brute force algorithm is, it takes O(n) time to compute for any value of n and grows in linear. There is, however, a better solution to it which takes O(sqrt(n)) time to compute the result and it takes less than half the iteration to find the sum of all factors of n.

There is, however, a better solution to it which takes O(sqrt(n)) time to compute the result which means, it takes less than half the iteration to find the sum of all factors of n.

Python3 code

sum =1
if n == 1:
print(0)
else:
for i in range(2,int(sqrt(n))+1):
if(n%i)==0:
if i == n//i:
sum+=i
else:
sum+=i+(n//i)
print(sum)

“`
The above solution iterates to sqrt of n, To know why to check just up to sqrt, visit this link: https://goo.gl/4V8oF3. And one amazing property about the factors are that if m is a factor of n, then n/m is also a factor of n. Using this property, I could solve the problem efficiently.
The later if statements are just to avoid summing m twice in case if m and n/m is the same factor.
Happy Coding 😀

by Mohsin Mumtaz at July 11, 2017 08:09 PM

Kshitij Kumar

Free software movement & Hacker culture

I will start this post with a quote by Kushal Das in between the session yesterday.

“The history is important, Learn about it!”

We had a session on IRC channel dgplug last night and the topic was “History of hacking and free software movement”.

The session started with this simple recent tweet by Gnome and a few replies

In this session, Kushal gave an inspiring talk on this topic, He told us about

  • TX-O computer at MIT lab,
  • How ‘Hacker Ethic’ word came into existence
  • The rise of Free Software Movement.
  • PDP – I computer
  • Richard Stallman
  • Founding FSF
  • Launching GNU
  • Open Source Initiative (OSI) by Bruce Perens and Eric S. Raymond.

Whenever we use Linux, or an open source software, Everything that we see today in Open source world, It all started with Free Software movement, which is about the freedom of users.

He also suggested us some books and resources to read about “History of hacking and free software movement”

  1. Free as in Freedom
  2. Hackers: Heroes of Computer Revolution
  3. A documentary “Revolution OS”

You can check IRC logs of dgplug here.


by Kshitij at July 11, 2017 09:25 AM

Kshithij Iyer

New wallpaper. Enough of VR46, I guess..



New wallpaper.
Enough of VR46, I guess..

July 11, 2017 07:11 AM

Jason Braganza

On Free & Open Culture; Some Resources

Note: This is for the Student Planet.
Please read this on the blog.

At the dawn of computing …


Last night, over at DGPLUG, Kushal gave quite a heart rousing talk on the history of Free Software, covering quite a bit about Richard Stallman and the events leading up to him (RMS, not Kushal) launching GNU & the FSF.

If you’re interested in reading more about that sort of thing, here’s a few more books & resources.

Free as in Freedom

The seminal book is of course, Free as in Freedom, on RMS’ life and the massive base he built, upon which we all stand today.
Reading this made me realise what a debt we owe to him.
So the next time we hear about how old & weird Stallman is, maybe we could cut him some slack.

The Groklaw Archives

Did you know, that the SCO Group once brought a case against IBM, suing them for using Linux?
It was a large, long drawn out affair, 1 drawing old heavyweights such as Novell and new upcoming ones like Red Hat, into the fray.
If SCO had won, it would have been the end, of the just barely decade old Linux and our landscape would not have been as rich as it is today.

We know all this, because of the daring and intrepid, Pamela (PJ) Jones, who started up one of the earliest blogs on the internet.
It was called Groklaw, and it was …

a place where lawyers and geeks could explain things to each other and work together, so they'd understand each other's work better2

It brought awareness of the case to a wide swathe of people and Linux into the mainstream.
The bar on the left of the site, gives you access to a whole lot of cases threatening Linux, and the news and views of the people in the know

A Quarter Century of Unix

A short, really influential book on Unix History by Peter Salus.
I don’t quite know how you can lay hands on a copy, but if you do, it’s fascinating.
Nearly every article, every blog post, every book that needs something on the history of Unix, pulls a quote from this one.

The Daemon, the GNU & the Penguin

Salus’ follow up book, following Unix History on to Linux, is available to read on the Groklaw website.
You can think of it as an expanded version of Kushal’s talk last night.

Open Sources

Want to hear from the people involved in the free software movement?
From the horse’s mouths themselves?
Open Sources is a collection of essays from the folks who were there.
Marshall McKusick, author of the BSD filesystem narrates how BSD went on to be free from AT&T ownership and Free as in Freedom.
RMS tells us about GNU himself.
Bob Young, founder of Red Hat, expounds on how the company set itself on the path to becoming a business on the back of free software.
Linus, tells us of the edge, Linux had, to become successful.

Producing OSS

Karl Fogel’s book, on why we write free / open source software and how to pitch it in your organisation

This is all that comes to mind, right now.
If you know more, let me know or write about and I’ll update the page or link to yours.


Updates:

In the Beginning was the Command Line

Neal Stephenson’s essay on why Free Software would eventually win. (chock-full of history and analogy)
It’s dated and hasn’t quite panned out as he wished, but is still a fun read!

  1. Even though SCO is dead, the case is still ongoing.

  2. from the FSF article at http://www.fsf.org/news/2007freesoftware_awards

by Mario Jason Braganza at July 11, 2017 12:20 AM

July 10, 2017

Mayank gupta

Reasons why Linux/Fedora is love.

I was introduced to Linux (Fedora 21) by my elder brother when I was in class 11, since then It’s been 4 years running and I’m in love with Fedora. Like I’ve changed 2 laptops in 4 years and both of them are running on the latest release Fedora 25.

Drawbacks of other market leading OS as compared to Linux:

1. Coming to Windows, no doubt Windows has changed our life and made things easier over years and will be making changes in the coming future. But, there are many drawbacks of using a Windows OS. Firstly, it always has the risk of malware and virus, one simply doesn’t know when his PC is full of viruses which can infect your system seriously. Though there are means to counter virus attacks by installing antivirus softwares and updating there virus definitions over time to time. But then you have to pay for those softwares and keep on renewing those softwares for years to come (P.S. I don’t like spending money on antivirus, rather save them and spend on food <3). Customers can feel the difference on pocket, buying a windows PC with an official license causes around 4k to 5k more than a Linux powered PC and there are alot of hidden charges like the renewal of the pre installed antivirus on your PC and the office suite’s renewal also. Finally it leads to a nice amount of extra charges one has to buy with his windows PC. (I don’t hate Windows though as I love playing games). And another drawback of windows being that they have distributions like Home basic, Business edition and Ultimate, each of them cost different and majority of the PC ship with either Home basic or Business edition which do not have all the features.

2. Coming over to Mac OS,  Apple tends to ship their official OS only with their devices which they promise are more efficient than Windows and so is their rivalry. But coming to the drawbacks as per my opinion Mac devices are at very high price points and end up exceeding your budget. Apple products have high security and lack of sharing options between PC’s 😦

NOTE: By writing these points I didn’t mean to hurt your feelings nor did I challenge Microsoft or Apple . So please do not try to kill me or put negative comments 😦

Coming over to why linux is better:

  • Open Source: Who doesn’t love free things and everyone love it more when they get the best things free (Just imagine won’t you love it if someone gives you a large cheeseburst pizza for free?). Yes! obviously Linux is all open source. You can take a look at the source code if you want to and its all free, no hidden charges and you can have as many pizzas as you want. Isn’t it great?
  • Secure: Accept it, many of you have faced a virus attack on your windows PC (Yes, virus don’t infect my system, I use Linux). Wondering how Linux is more secure? Its just the way Linux treats every file, the process of package management, the concept of repositories, and a couple more features makes it possible for Linux to be more secure than windows.
  • Best for programmers: Linux supports all the major Programming language, it’s not that windows doesn’t but it’s that the Linux terminal is far superior to the windows command line. Interestingly, the ability of bash scripting is also one of the most compelling reasons why programmers prefer using Linux OS.
  • Variety of Distributions: Will you not get bored eating the same flavour Ice-cream over and over again?, Yes, you will! That’s the problem with windows. It’s so singular, we just see versions of windows. But in case of Linux we get a ton of distributions like Fedora, Ubuntu etc. each of them having different UI and features.
  • Free to use: Yes, you heard it right its for free. You never have to pay 4k+ rupees to get a genuine windows and pay more to get hands-on to other features of windows. You get it for no charges at all, isn’t it great? You can always go to CCD or Subway or your favourite junk food station.
  • Community: The best thing about the Linux distros are that they have an awesome and most friendly community. You can always rely on them for answers and instant replies and free service 😛
  • Efficient system: Speed, reliability, User-friendly UI is everything one can ask from something free. Not like the windows system lagging and crashing Linux is good and uses very less resources to work and so is always fast. Another fact that proves Linux to be reliable are the web servers. You could observe that most of the Internet giants like Google and Facebook run on Linux. Even almost all of the supercomputers run on Linux. So, Why isn’t Windows preferred over Linux? It is because Linux is far more reliable than Windows OS. Period.
  • Privacy: Windows collects your data over time and saves it in their server, believe me windows collects every data and most of you don’t even know about this. But, its not that windows is not secure but you have your own privacy so think and choose. And, you always have a risk of any hacker getting all your data and you don’t even know what will happen after that.

Now coming to my personal favourite Linux distro : FEDORA

Why is Fedora my favourite?

I started with Fedora 21 as mentioned earlier, then on reading about Linux I jumped to other distros like Ubuntu and Kali linux, considering their fame. Idk why but I kept on running back to Fedora. It was just that I was so much into Fedora that it took me alot of time understanding the algo behind Ubuntu and personally didn’t like Kali at all. Fedora gave me the best experience whereas it took me a week to use Ubuntu at its best and knowing all the features it comes with (I still don’t know all of them). And so my love for Fedora increased day after day and finally I’m writing a blog about it.

For knowing about the security features refer: https://fedoraproject.org/wiki/Security_Features?rd=Security/Features

Conclusion : I love FEDORA and will be using it till when I also have no idea about. I have no personal hatred against any other OS neither am I trying to downgrade any OS. Its just that Linux is better and Fedora is the best distro.

NOTE : If you still hate me and Fedora after reading this, just remember Linus Torvalds uses Fedora. (I just trolled you and you are angry and want to kill me most probably).

Don’t worry I know that one day those who don’t like Fedora will regret not using it 😦 Let us take a 1 minute break to pray for them.

NEWS : There is a special reason i’m writing this blog today on 11th July. Today Fedora is releasing the newest ans most stable and secure version Fedora 26 *_*

Keep supporting if you like this blog.

 


by mostrandomrichard at July 10, 2017 08:55 PM

Kshithij Iyer

Aniket uttam

WCKanpur’2017

I am also a part of wordpress kanpur community and now i start contributing in wordpress .

Python

Hello Kanpurites !

As you know Wordcamp Kanpur will be on 9’th July in Rangoli at Kanpur. So be ready guys for an energetic event . This is golden opportunity for Kanpurites specially Students , Developer , Newbie who don’t know much more about WORDPRESS. Some people are still curious and want to know more about WORDCAMP . like ;

WordCamps are casual, locally-organized conferences covering everything related to WordPress. These events are organized, paid for, and attended by the local WordPress communities in accordance with guidelines published at WordCamp.org and the principles of the WordPress Foundation. WordCamps include sessions on how to use WordPress more effectively, beginning plugin and theme development, advanced techniques, security, etc.

The first WordCamp was organized in San Francisco by Matt Mullenweg in 2006, and since then local communities around the world have organized hundreds of others.

WordCamp should be attended by everyone who uses WordPress, and everyone who wants to know…

View original post 157 more words


by aniketuttam at July 10, 2017 08:57 AM

July 09, 2017

Samridhi Agarwal

#dgplug

Firstly I got to know about this program during the Pycon Pune event and as i was totally new to these things, I felt like a lone dumb in the whole community as i used to struggle with every simple thing which other people did very easily. So in the devsprints one of the guy told me to join #dgplug to learn from basics about the computer ethics and using linux properly.

I just filled a form but then also I was not having any idea about what really irc is and how to connect and all these questions appeared so lame to stand and ask them. I tried searching but still was not that clear with the concept of internet relay chat and how to really use it but then a week ago a mail came to download xchat to start attending sessions on #dgplug by using internet relay chat. Then i was pretty clear with the concept and joined the summer training session where everyday we learn new things like converting markdown to html, then biggest surprise was the session on git( That was the first time i actually understood what git is. How to contribute step by step and how to contribute in other projects then making branches  and the actual difference between git and github).

Till now i am really enjoying a i now know how to use vim and github and i am not going to make my fool in the next pycon with these pre-required knowledge of few things.

And yeah pycon 2018 is already on the calendar! Excited for it.


by samridhiagarwalblog at July 09, 2017 12:16 PM

Vipin kumar

A program to find subtraction of two number

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sub;
printf(“enter first number”);
scanf(“%d”,&a);
printf(“enter second number”);
scanf(“%d”,&b);
sub=a-b;
printf(“the subtraction is %d”,sub);
getch();
}

or

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sub;
printf(“enter both number  number \n “);
scanf(“%d%d”,&a,&b);

sum=a-b;
printf(“the subtraction  is %d”,sub);
getch();
}

or

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf(“enter both number  number \n “);
scanf(“%d%d”,&a,&b);
printf(“the subtraction is %d”,a-b);
getch();
}

 


by kumar vipin yadav at July 09, 2017 11:55 AM

Samridhi Agarwal

What is Kernel?

There was a Kernel meetup last week at Reserved bit, but the only thing that popped in my mind after hearing the word kernel is it’s the core of a computer, the only information that i was knowing till my second year but then after i got the invitation of this meetup my mind was blocked by the thoughts that can we really change something in the kernel of a computer because according to my mindset i was in the dilemma that kernel is something fixed in a computer and one can not change anything in this. So again their was question about what are we actually going to do in this meetup like are we going to just study what a kernel is ? and how is it build or what are its specification?

So, I thought of attending a session and then get a brief overview of this. So for that week i was searching stuffs about kernel but because of a tragedy, Indian traffic I was not able to reach that meetup which was so heartbreaking but their the session was live on YouTube. I went home and learn about few things but was not able to figure out much.

At least I got to learn very basic things like shell is interface between user and kernel. Then about the types , uerspace processes etc.

Looking forward to learn more about kernel, if their is not a risk of destroying my machine. 😛

 


by samridhiagarwalblog at July 09, 2017 11:49 AM

Vipin kumar

A program to find sum of two number

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
printf(“enter first number”);
scanf(“%d”,&a);
printf(“enter secand number”);
scanf(“%d”,&b);
sum=a+b;
printf(“the sum is %d”,sum);
getch();
}

or

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
printf(“enter both number  number \n “);
scanf(“%d%d”,&a,&b);

sum=a+b;
printf(“the sum is %d”,sum);
getch();
}

or

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf(“enter both number  number \n “);
scanf(“%d%d”,&a,&b);
printf(“the sum is %d”,a+b);
getch();
}

 


by kumar vipin yadav at July 09, 2017 11:47 AM

Using of operator (A demo)

Using operater==>>
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
printf(“enter first number”);
scanf(“%d”,&a);
printf(“enter secand number”);
scanf(“%d”,&b);
sum=a+b;
printf(“the sum is %d”,sum);
getch();
}
hear we use + operater between two variable a and b in sum.
the name of all the variable are given by us.
you can give any other names to the variable.


by kumar vipin yadav at July 09, 2017 11:42 AM

Mohit

My First Meetup, PyDelhi









My first PyDelhi Meetup



Today, I attended my very first meetup PyDelhi. So I am going to share my experience about the meetup with you all.

Since it’s going to be my very first meetup, I was really excited for this to be happen. I woke up early to reach there on time and voila, like everything, we want nothing goes wrong with, and then there it is, boom. I got late, I don’t know how but on reaching the venue I found I was much early.

Now, here comes the experience. I reached there (at Innovaccer) and I really started to appreciate the word “Meetup”, I met two guys over there, Utkarsh and Varun, both were the alumini of “IIT-Delhi” and are working on their startup “Attentive-i”. Then, the event started at around 12 noon.

Event started with Introductions, where everyone introduces themselves and then few presentations with some discussion was there.



“Web-Crawlers Using Python” by Sahil.


He explained what a Web crawler is, its use and then he showed us a basic Webcrawler made by himself in Python live, in Action. Here is the github repository of the presentation and webcrawler itself.


“Numpy and Matplotlib” By Tanya.


She was the only girl present in the talk, and give the presentation on Numpy and Matplotlib. She depicted some of their uses and showed them live in action.


(We had a small product pitching by Mr. Ashish on Just Rokket.)



“Real-Time Push Notification” By Rahul Gaur

He introduced us about himself and push notifications. Then, he showed us his code for real time push notifications.


(We had a small break for tea and snacks. Which is good cause this was the when meetup started to make sense. Meet up new peoples.)


“Mercurial: Version Control System” By Pulkit.


He introduced us all with the concept of Version Control System. He also introduced us to the Mercurial, a Version Control System, Had a great discussion on Git vs Mercurial and why one should switch to Mercurial (being easy) from Git.


And That’s all! Official end of my first meetup at around 4pm.


That was about how the event started, took place and ended. Now, back to me, Did I meet new peoples? Yes, Sure I did. Well didn’t meet all those new people, but some 2-4 people. And I also met one of my DgPlug Summer Training 2017 Classmate: Championshuttler. Now, next time, I’m gonna meet all those new people and have some new friends.


All in all, That was a great experience.


by Abstract Learner (noreply@blogger.com) at July 09, 2017 07:07 AM

July 08, 2017

Vipul Gupta

The Art of Not Giving a Fuck

Ok, the title may say it out loud but for some I am gonna whisper something here content advisory. This is my solid opinion of NGF (Not Giving a Fuck). So whosoever you might be that has been directed here by someone or myself to know more about me, read on. This would be a clear insight into my mind without me changing topics or being secretive. It’s me uncut. And people whatever you do, don’t get offended.

 

“So, this might be long, “Don’t adjust whatever device you are reading this on, This is Vipul Gupta writing over one of the most special topics of his life that he learned over the course of 1st year college. People path to greatness in Mixster begins from here.Peace.”

(Edited : 13 Reasons Why, I am a reference geek).

A good friend of mine shared this one fine day and made me realize something deep inside me. The guy who wrote a book about this called The Subtle Art of Not Giving a Fuck  (The coolest thing you ever read just after my blog) I recommend this to everyone and I personally love him to death. Check him out.

28257707-_uy400_ss400_.jpg

And you thought I was joking.

Let’s start.And I am going 3rd person here, because I explain better that way and also because I don’t give a fuck.

V from a young age was a shy,introvert kinda guy. The guy you encounter in the class who doesn’t say much but is smart and above average. Got some friends. V was physically non-existent. Don’t how, considering he is quite tall,actually. Moving on, Fast forward to college. Before starting the college V decided not be that guy he was anymore. But to transform himself, into somebody he *always* dreamed to be (he dreamed to be a near Chandler from the sitcom F.R.I.E.N.D.S ,LOL like that’s going to happen). But there was a little self-esteem and confidence issue with this guy and the biggest problem of all. What will other people say or think about me. V started out great, made many new friends and met some awesome people. The problem still haunted him of what others will think with every comment he makes, every word speaks, how he walks and so on. He was stressed.

So he decided to have a shield for himself. One made out of Sarcasm and humor. He dreamed of being that guy that makes people laugh around him and never let anyone in, no one person knowing everything about him. He is not secretive but not the person banging his chest and letting the world know who he is. He worked hard upon himself. Asked many people, what his flaws were and some time later. V became Vipul, you might know now or not know (wanna meet? I am free). The funny, smart, sarcastic guy. The biggest idiot and a one-liner expert. He even tagged himself in some posts because he wanted to do it and really didn’t care what others thought of him. But with sarcasm comes great responsibility of sometimes taking the joke upon yourself. And he did with pride.

And there he started to “not give a fuck” (point to be noted, mi lord) . V or Vipul just didn’t give a fuck. Over anything that happened. Going to a party and his friend didn’t invite him. Not give a fuck. People sometimes trolled about him. Not give a fuck. People bitched about him. Oh thank you,dear but I don’t give a fuck. He would take it all under his stride. Nothing got to him. The one thing he values is his peace of mind. And he got it, at last. It almost became harder, for him to give a fuck about anything. Why should he,  he always thought. His fucks were precious and only the most fuckworthy of situations shall have them. That he chose himself. Law of Inertia said that When a force is exerted on an external body or when people changed. Others either like the change or they don’t (often oppose the change). But did he care about it?. He created an identity he craved about a person not giving a fuck. Not affected by anything. Only his close friends and his work mattered to him.He listens to their criticism, thoughts only. And is just chilling and typing away.

End of story

Now this is just a fairy tale and none of this happened (smiling). Even if it did happened there are many parts in life that the author just glided over. A lot happened. But “Change is good” whatever the size the shape it comes in.

download

Pandas are nature way of telling you give less fucks in life, Be crazy,nobody cares.

So why did I read a story about a guy. Need to Bigger Picture this, Here it is…

Not giving a fuck is a state of mind or a stance where only you matter and a handful others that you choose does. And nobody else.You just choose to not care about them.This could include other people or a particular situation that you think matters but actually don’t and never would

– Vipul Gupta ( Why does this name keep coming up??)

Whatever they think, say or shout doesn’t matter to you. You don’t care. If somebody is cheating on you and makes your blood boil. I want you to think, is that person really worth for you to give a fuck about. If your friends don’t care about what you think, then are they worthy of your attention. Hell, sometimes my friends ignore me. I am not saying become a saint and leave this world and its hardships. But I say ” man up or woman up look them or the situation in the eye and say I don’t give a fuck about you”. I just don’t care.

Your fucks matter and whom you are giving them to matters. I used the word fuck about 39 times in this article and I don’t give a fuck about it. Why should I ? #copied. This is an art that everyone should master. There just too many things out there to give a fuck about and your ex’s new profile picture shouldn’t be one of it. People tend to see the strongest and the most admirable people to be the ones who don’t give a fuck. Like Rahul is bunking classes again . That guy doesn’t give a fuck or Pooja is wearing something weird again. She doesn’t give a fuck.

Life becomes easier and better

Think about it for a minute here. What if no one liked your recent picture you posted. What is no-one returns your calls when you need them too? What is no one messages to ask you about your awesome weekend ? What if you are single and nobody is interested in you ? What if someone makes fun of you ? What if someone you really liked, started ignoring you for no reason at all ? What if it is raining and you are worried about your clothes getting wet ? or you wanted to just dance in the rain but your friends didn’t so you didn’t ? What if there is a event you want to go but your friend or anybody won’t come along because of any reason. Will you go alone? What if after a day there are 0 notification on your Facebook or Instagram accounts ?

You get the point right. If I want to dance I will, If nobody tags along with me, I will go alone. If nobody shows interest in what I am doing , I will either go beyond my circle or just start working alone. Being alone is not what I am recommending but when it is the only choice. Will you be brave enough to take it. Try it at least.

Afraid of being judged, I thought so …

People would always judge you, your entire life, that’s their fucking birthright. But it’s your choice to think about it or just don’t give a fuck,and move on. A big illusion is sometimes we feel people are judging us but they themselves don’t give a fuck whatever you are doing. Just think all of them to be lazy couch potatoes and Internet trolls who have no life and instead feel good about yourself.The example of this is the gym, A well built guy is doing a 20 kilo dumbbell press and you are just chilling in the corner with a 5 kg. You seem to think the every person is looking toward you, but trust me they just care about themselves and their workout. Yeah sometimes I bat an eye while someone doing his exercise but that’s nothing. Don’t be so over-conscious, for the love of god.comparing.jpg

Do whatever you like , post whatever you like, say whatever you like. Use Freedom of Speech as your personal toy and don’t give a fuck what the world thinks about you or what you do. Be free from the bonds that society has on you,and try to live a little.

Let’s pro-con this thing.

You might say how would they be any cons of not giving a fuck. There are. It’s just that they don’t affect you but they do to people closer to you.

Not giving a fuck often increases your confidence and self esteem levels. I for that matter often feel contend with myself. Example would be I just wore a T-Shirt and jeans to a friend’s birthday party where everyone else was dressed pretty formally well . Fucks given what other thought. None. I liked that red T-shirt and I wore it.You often feel good about yourself as now you are not worrying what other are think about you.Pros you will figure out. Not too worried about that.

Now, cons. Living with this philosophy, would make you feel comfortable with everything, makes you almost inaccessible to other people emotionally. Criticism doesn’t bother you and if you feel that you are affected by it, you don’t show or express your feelings. Ego will get hurt that way. Emotions, other people’s well wishes, sentiments. Won’t get to you.  You be the one man army in your life but even he is alone and needs help sometimes. And my friend as you have given no fucks in your life, Now people don’t give a fuck about you. #karma #shit

You might get too ignorant. Too overconfident. Saying you don’t give a fuck but deep down you do, a little. But your ego gets hurt in accepting that. I want you guys to bigger picture yourself from time to time. This philosophy that you choose to follow might end up hurting the true people in your life knowingly or unknowingly. Don’t get too lost. Advice :-

Give a fuck sometimes but don’t let it go to your heart – Nartia, my dear friend

Words hurt more than your actions. Trust me, saying that you don’t give a fuck to your good friend about something. Concerns them but won’t concern you a bit. But he/she would be concerned over where you are going in life. Because caring less is good but caring for no one, that’s catastrophic. #deep #shit

1334813750213_1305074.png

So what’s it gonna be…

Frankly my dear, I don’t give a fuck or I understand what you are saying. Thanks for looking out for me.

Lastly I want to say. Follow this, apply this in your life but don’t make it your motto. Don’t let it control you. But use and follow it enough to make your life better. Get your fucks together and make them useful. Don’t just throw them away out like fucking sunshine on a beach.

I just so many people, it would be helpful for. In a classroom, some people never speak up. Just in the fear of being judged or made fun off, trolled. I for one did. I was afraid to talk to other girls in my class. But not anymore. People that know me say I changed and it feels so good to hear every time,someone says that.  But then too I am not saying following this will make you the most desirable person ever but hell it’s the right step in that direction. I think that matters. What others think should never matter. Be brave for once and reach for it deep down. AND just say it. What the worse could happen.

I will leave you with this line from the article I been referring to :-

Then one day, on our deathbed, (hopefully) surrounded by the people we gave the majority of our fucks to throughout our life, and those few who still give a fuck about us, with a silent gasp we will gently let our last fuck go. Through the tears and the gently fading beeps of the heart monitor and the ever-dimming fluorescence encapsulating us in its divine hospital halo, we drift into some unknowable and unfuckable place.

Not giving a fuck since 2016-present. See I see you improving already, 39 was just a random number, and you choose not to give a fuck about one less thing in this world. This is me not giving a fuck what you think but I love to see you comment and share this post. Thanks for reading.

DISCLAIMER – Important

The author in real life is not as abusive as portrayed here. He’s a simple guy who feels strongly about this issue. That’s all.Please don’t judge him and if you still do. He would like you to know that he might just care. A little. Just kidding. Judge all you want. That guy does not give a fuck.

I am just a college kid though, these scenario I based my examples upon are a bit basic as to say. Real challenges are yet to come. It’s just that people my age would relate to it better. We require this more than anybody in the world of Snapchat and Facebook and 10 other social media sites. Which just beg you constantly to give a fuck about fucking everything.

Also do ping me if there are any doubts regarding this. And again as a warning telling you guys, getting to comfortable with the fact that you don’t give a fuck about anything  sounds good but it’s not. Really you are hurting the people closest to you and that’s one thing in my book, you shouldn’t be doing. CONTROL is necessary. Your fucks are precious. Get your fucks together. And Give a fuck sometimes.

And with that. I will see when I see you. (guess that reference)

*drops mic*


by Vipul Gupta at July 08, 2017 03:30 PM

Jason Braganza

On RST


Learnt about RST markup last night.
And if you’ve forgotten what markup is, read this.

Easy to learn, easy to use.
Feels like a superset of Markdown, which I’m using to write this note.
A fitting analogy, methinks, would be a supercharged text editor vs an IDE.

First doubt I had was, where’d I use it? Markdown’s already pretty handy.
And then I realised, I should use the right tool for the right job.
While Markdown’s pretty nifty at writing, there’d be times where I’d need to go beyond what it can do.

The first thing that came to mind, was documentation for software projects, which I help out with, quite a bit now.
That’d require a more fully featured, pretty formalised way of writing Markdown, if lots of people, using lots of different systems were to use it.
So, a better idea’d be to let Markdown be Markdown, and use something else, better suited.

And that’s where RST comes in.
Formal, Featured, Extensible, Easy.

Here’s a quickstart primer.
And I found this dingus to practice with. Pretty handy.

by Mario Jason Braganza at July 08, 2017 03:17 AM

July 07, 2017

Jason Braganza

Progress Posts

Now that I’ve gotten in to a groove, I should start writing notes on the progress that I make.

Or beware, here be dragons, notes to myself.

This post kicks such stuff off.

  • Gtypist to increase typing speed.
    Horrible at it now, will slowly increase the pace.
    Nothing to it, but deliberate practice.
  • Vi. Will just practice a little more and stop.
    Don’t like it, but it is pretty handy.
    Can zip in and out of files pretty fast now.
  • Git. Now this; this right here is where my focus is.
    Will give this two weeks to get at least conversant with it;
    if not competent at it.

Onwards.

by Mario Jason Braganza at July 07, 2017 05:15 AM

July 06, 2017

Robin Schubert

I open up

So I was browsing the web with my eyes more open to certain aspects. I never noticed that many Creative Commons logos before, though they have definitely been there. I searched the internet for free stuff a million times before. However, I realized that what I found (and actually was happy with) was shareware and adware most of the time. Now, for the first time I searched for FREE things. Not just software or media I can use for free, but things that are born free and live their free digital life out there in a free web.

I stumbled across the free music archive, where people share songs they produce and offer them for free download (again often with the CC involved), what a beautiful thing! Next I was searching a place for musicians to collaboratively create their music online and have their ideas continued by someone like-minded from across the continent. Looks like there are quite a few, though many of those projects are already dead or lack of funding. MyBlogBand looks promising, I will definitely try that out 😉

Meanwhile I will just start to share my own stuff on github; my writings, drawings, compositions and code, of course. I start with this little comic strip I’m working on.

first_draft.png

I know it’s not very good and it’s by far not done, yet. However, I realize that at this rate it will take me weeks to finalize. But maybe someone else likes the idea and has time and motivation to add whatever he thinks is missing, so fork it on github and here you go 😉


by schubisu at July 06, 2017 11:15 PM

Jitesh Pabla

I started an “art account”

I had always been an artistic kid from the beginning, a stereotypical shy-quiet-artistic kind. I was fascinated by the fact that people could imagine such great and interesting things, and then just create them (talking mainly about painting, sketches etc.).

I wasn’t good in the beginning; actually I was pretty bad, but maybe relatively good enough for praises by everyone. I used to sketch a lot, mainly during the “art” class in my school, and as I aged I did eventually start to get better.

But the problem was, that I was ageing , which meant that I was going into middle school, which in turn meant that I was stupid enough to not care about my hobby and start caring about things which make you “cool”.

So, the frequency with which I drew started to decrease drastically, and I severely stunted my artistic growth. Even when I grew out of the “wannabe cool” phase, I didn’t really get back to creating again, because now I was too busy with my studies. (I did draw, but very rarely)

But recently, out of the blue, my mom asked me if I wanted to buy a DSLR. I was ecstatic! I never thought that I wanted photography as my hobby, plus there are too many amateur photographers in the world around me that it’s almost hilarious. I didn’t want to be a basic-ass wannabe pretentious type photographer, but I never expected that I will like photography so much that it’ll reawaken the artist within me, who is still a kid.

I even started drawing again! (with the really expensive fine-line pens) and I love it!

So, that’s the brief story of how my new “art page” came into existence.

http://www.instagram.com/bystander_art


by jiteshpabla at July 06, 2017 07:59 PM

Razy Kased

git, github and vim

Efforts in learning each of these programs are underway and have been the main focus for our summer training in 2017 at dgplug.

“Git is a distributed peer-peer version control system.

GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.”

source: https://stackoverflow.com/q/13321556/4095322

vim has been pleasure to work with.

-R

 


by georoot at July 06, 2017 05:26 PM

Kshitij Kumar

Dotfiles: Customize your system

I heard this term first during dgplug Summer training in 2016 when sayan was taking a class on vim. Currently, I am setting up all of my dotfiles for a Fedora configuration. (Read more about Fedora here )

What are dotfiles?

Dotfiles are plain text configuration files on Unix-like systems for things like our shell in.bash_profile,  our editor in .vimrc,.gitignore,  and many others. They are called “dotfiles” as they typically are named with a leading . making them hidden files on your system.

Why Dotfiles?

Dotfiles are used to customize your system. these are not regular documents, and by default are hidden in directory listings.

Dotfiles basically contain the preferred setup of your computer. They usually come with a setup procedure so you can easily install everything again when you need to start from a fresh system. dotfiles also really useful for syncing preferences across multiple devices.

Configuration for my Fedora machine

I set up dotfiles for my vim configuration, bash profile and git configuration, these are the tools(packages) that I use regularly. I am currently using limited data package of Airtel prepaid connection, which is too costly to afford.  I will upload all my dotfiles to GitHub repository next month when I will have a broadband connection.

 

 

 


by Kshitij at July 06, 2017 09:11 AM

Himanshu Awasthi

WCKanpur’2017

Hello Kanpurites !

As you know Wordcamp Kanpur will be on 9’th July in Rangoli at Kanpur. So be ready guys for an energetic event . This is golden opportunity for Kanpurites specially Students , Developer , Newbie who don’t know much more about WORDPRESS. Some people are still curious and want to know more about WORDCAMP . like ;

WHAT IS WORDCAMP?

WordCamps are casual, locally-organized conferences covering everything related to WordPress. These events are organized, paid for, and attended by the local WordPress communities in accordance with guidelines published at WordCamp.org and the principles of the WordPress Foundation. WordCamps include sessions on how to use WordPress more effectively, beginning plugin and theme development, advanced techniques, security, etc.

The first WordCamp was organized in San Francisco by Matt Mullenweg in 2006, and since then local communities around the world have organized hundreds of others.

WHO SHOULD ATTEND WORDCAMP?

WordCamp should be attended by everyone who uses WordPress, and everyone who wants to know more about WordPress .This category includes bloggers, designers, developers, authors, marketers, SEOs, Businesses, Non-profits, photographers, realtors, consultants, entrepreneurs, students etc.

What this event bring to you?

This event bring a lot of thing to you. You get chance to meet experts who can resolve your queries  , If you are newbie then you can attend session which gives you lots of information, which play vital role in your future .

You can make connections which helps you to grow in your professional life.

As well as swag bag which contain so many surprises for you.

So book you tickets for Wordcamp as soon as possible .click here  WCTickets

So If you want to be a part of this event check out WCKanpur’17 .

Thank you to organizers(Abdul Qabiz Hardeep Asrani ,Suyogya Shukla  , Rohit Motwani) of local WORDPRESS community for their effort for making possible wordcamp in our city.

#Kanpur

#WORDPRESS

#WCKanpur


by kanpurpython at July 06, 2017 07:25 AM

July 05, 2017

Mannu Gupta

User Groups with Custom Permissions in Django

You must have encountered with something like , trip booking services with different plans and packages or gym plan with different subscription level. The thing here is that, there are a list of product which you get those on subscribing to different packages that are provided by the company to whom subscription package you are taking . Generally the generic idea they follow is like the level wise distribution of different products .

Let’s take the Tour subscription package over internet, then there are differ offers/plan/package like:-

1. Starter plan:- In this package you will get the facility of non-AC bus travel and 1 day stay in a non-AC room only.Let’s say the trip is to to Haridwar( a religious place in Uttarakhand) .

2. Golden Plan:- It will be somewhat costly than the Starter Plan. In this plan you will be given all a 2-day stay in a non-AC room, travelling in a AC bus and the trip will be to Haridwar, Rishikesh and Mussoorie .

3. Diamond Plan:- This is the most costly plan, in which you will be provided a 3 day plan with AC bus, and AC room stay along with trip to Haridwar, Rishikesh and Mussoorie and also a trip to a Water Park .

Well, i just tried to give you a very simple example. Now our main objective is to design, and write code of it’s back-end in a very efficient way (following the DRY Principle) .

There are multiple methods of implementing this in Django but the most suitable and efficient method is making a Grouping the Users and defining the permissions of these groups .The user of that particular group will automatically inherit the permission of that group in which it is. But first let’s define the User model.

Create a Django application ‘users’ then in models.py file under ‘users’ app directory write this code.

from django.contrib.auth.models import AbstractUser
from django.utils import timezone
from django.db import models
class User(AbstractUser):
#Define the extra fields related to User here
first_name = models.CharField(_(‘First Name of User’), blank = True, max_length = 20)
last_name = models.CharField(_(‘Last Name of User’), blank = True, max_length = 20)
# — — — Some more User fields according to your need — — — —
# This is the most important part to look upon to
# define the custom permissions related to User.
class Meta:
permissions = (
(“can_go_in_non_ac_bus”, “To provide non-AC Bus facility”),
(“can_go_in_ac_bus”, “To provide AC-Bus facility”),
(“can_stay_ac-room”, “To provide staying at AC room”),
(“can_stay_ac-room”, “To provide staying at Non-AC room”),
(“can_go_dehradoon”, “Trip to Dehradoon”),
(“can_go_mussoorie”, “Trip to Mussoorie”),
(“can_go_haridwaar”, “Trip to Haridwaar”),
(“can_go_rishikesh”, “Trip to Rishikesh”),
# — — other custom permissions according to your needs — — — — -

After migrating our models that we wrote above, we have two option to for making a group .

1. Django Admin Pannel :- In Admin Panel you will see “Group” in bold letter, Click on that and make 3 different group named ‘level0’, ‘level1’, ‘level2’ . and define the custom permissions according to your needs.

2. By Programmatically creating a group with permissions :- Open python shell by ‘python manage.py shell’.

from django.contrib.auth.models import Group, Permission
from django.contrib.contenttypes.models import ContentType
#import User model
from users.models import User
new_group, created = Group.objects.get_or_create(name =’new_group’)
# Code to add permission to group ???
ct = ContentType.objects.get_for_model(User)
# Now what — Say I want to add ‘Can go Haridwar’ permission to level0?
permission = Permission.objects.create(codename =’can_go_haridwar’,
name =’Can go to Haridwar’,
content_type = ct)
new_group.permissions.add(permission).

We will set different set of permissions in the same way to all the three groups .Until now we have made groups and linked it with custom permissions that we made

Now we have to check that a particular user is accessing the appropriate functionality like, we have to put a limit that level0 does not access the functionalities of level1 users or level2 user and so on. To do this we will check the permission on every view function that we made .

To be very careful here that, for the function based view we will simple use the custom decorator.
For example:-

@group_required(‘level0’)
def my_view(request):
 …

For more knowledge here is the code

The things get a bit complex when we talk about class-based views, we can not simple just add a decorator function, but we have to make a permission-mixing class.

For example:-

class GroupRequiredMixin(object):
 ……………
 ….Class Definition…..
class DemoView(GroupRequiredMixin, View):
group_required = [u’admin’, u’manager’]

# View code…

For more you can take help from here

To show strongly recommend and practice links :

1. https://docs.djangoproject.com/en/1.11/topics/class-based-views/mixins/
2. http://bradmontgomery.blogspot.in/2009/04/restricting-access-by-group-in-django.html
3. https://simpleisbetterthancomplex.com/2015/12/07/working-with-django-view-decorators.html
4. https://micropyramid.com/blog/custom-decorators-to-check-user-roles-and-permissions-in-django/

Feel free to write comments for any modification /suggestion)

Happy Hacking :)

by Mannu Gupta at July 05, 2017 03:06 PM

Kshithij Iyer

"After writing so much code now a days I realize, I don’t feel anything at all while writing it as if..."

“After writing so much code now a days I realize, I don’t feel anything at all while writing it as if I would have gone bored of it. It has just become an unconscious task nowadays.”

- Kshithij Iyer

July 05, 2017 10:20 AM

"The had part is not loving someone, the hard part is to explain them your perspective of life...."

“The had part is not loving someone, the hard part is to explain them your perspective of life. Sometimes people who love you from your first day, often fail to understand your perspective of life. Now this brings me to the question if they are facing difficult, how would you understand what I want from life dear loved one?”

- Kshithij Iyer

July 05, 2017 09:03 AM

Jason Braganza

On Intention

Note: This series and words of opinion are also aimed at the Student Planet.

OK, I’ve changed my mind.

Before, I talk tactics, let me tell you something about intention.

All intention means to me is, “I, Decide!”

I decide how to feel.
I decide how to invest my money.
I decide if I want to be fit or not.
I decide whether to pursue that career or that degree. Or not.
I decide whether I want to jump on the bed, every morning or not.

Also, not making a choice, not deciding, is a decision.

And then, be willing to face the consequences of your decisions.

Leo Babauta has a wonderful quote at the start of his post, Wake Up.

A life lived of choice is a life of conscious action.
A life lived of chance is a life of unconscious creation.
– Neale Donald Walsch

In fact, that post, cuts the length of mine by half.
Go read, Wake Up, right now.
I’ll wait.


Back? Good!
So why do this?
Because, time.
Time is the most precious resource you have.
And while you’re young and you feel like there’s lots of it left, fact is you don’t quite have as much as you think you do.

If I gave you a bottle of fine vintage port, and told you that was all you got for the rest of your life, wouldn’t you be really intentional with how you drank it and on what occasions?
No matter what folks and friends said?

How much more so then should you be intentional with your time? And your life?

Yes, you cannot make all the decisions on your own.
Your spouse, your parents, your family do have a say in the big decisions that involve them all.

But mostly, that is not the case.
We’re lazy or unwilling to do the work.
Daddy handles the money.
My wife / mother takes care of the house.
God will take care of us, if someone falls sick.

As Seth Godin says,

Sometimes, we willingly sacrifice our freedom because it creates an other, someone to blame. It gives us hard boundaries and eliminates potential choices. And mostly, it lets us off the hook, because someone else is driving the bus.

Intention puts your life in perspective.

I chose not to pursue career opportunities abroad (forgoing income), because I choose to stay near my parents.
Family is more important to me.

But, I also chose not to learn about money, burying my head in the sand.
That led not just to lost income, but crazy amounts of foolish debt.
That set my career back by years.
I couldn’t risk taking chances with my career, because I had dumb loans to pay.

You’re young.
But you don’t have to be foolish.
Take the time out to decide and be intentional about your life.

Here’s Seth again,

Trying to drive from the back of the bus might feel less risky, but it rarely leads to much agency, influence or control as to where the bus actually goes.

Careful what you do with the keys.



P.S. This post is part of the Life Outside Code, Be Healthy, Wealthy, & Wise series

by Mario Jason Braganza at July 05, 2017 07:51 AM

Abdul Wahababrar

Few Ethics of Technological Era

Following are some point-wise stuffs that I learnt through my Journey, Journey from Twelve Class to Starting Contributing to Software Community.

•You can’t complete a Programming Book within few hours or days, as Felleisen said that only Idiots can do this

•If you start learning it stupidly then you can’t come up with Ideas but headache and pain

•If you set a time limit for learning to program then you can’t and never learn but just accomplish the specific task

•You can’t learn to Program (say C++) in 24 hours by books like “Teach Yourself C++ in 24 Hours”, what you learn is just basic syntax but not the logic

•Status in society is not measured by how much wealth you have but how much you contributed to Society

•When you gotta hunger of knowledge, you should not feel hungry for food

•You must have the attitude to code and aptitude to solve problems, logical reasoning in problem-solving helps to become a good developer

•Just having an engineering degree does not make you an engineer, just because you did a course and got certified in a technical institute does not make you an engineer

•Just because you paid the fees of four-year engineering does not make you an engineer. You can not buy knowledge; you have to seek the knowledge; your colleges have became business models

•Holding a non-CS degree does not mean that you can not code; it is measured by your passion, skills, ability to learn and solve problems

•In Industries stupid and non-technical people review your resumes and can look for degree but not skills, so work hard

•Most students waste their four-year engineering and hope that they can learn better way during jobs, but when you compete with the people in Open Source World you see where the people of your age stand

•Attend the course If you have passion, but not for the sake of doing it in your final project. It’s waste of time if you don’t have passion and you still do

•Let your mentor(s) know about your skills, passion, interest and your introduction

•One of the reasons for working with FLOSS is to become self-discipline and can stand on our own

•Wanna learn anything then Practice, Practice, Practice

•Decide your mentor as you decide your Ice-Cream, you taste all flavors and rely on one. Talk to people and decide the best for you

•Learn at least one language from Procedural, Object-Oriented, Functional and Logical paradigms. It opens up the mind to think in different ways

•Unix philosophy says, “Do one thing, and Do it well”

Every Company uses Free Software but most of them do not announce, while some of them announce and keep/held conferences!

by Abdul Wahab Abrar at July 05, 2017 04:39 AM

Sanket Dasgupta

GSoC Mentoring Phase 1 Progress

Phase 1 of GSoC has come to an end, and it has been an awesome one month of work for Saurav.

First and foremost, DocumentationStyleBear got merged after almost a year of work. There are still quirks inside it, but it works for now.

Phase 2 deals with creating a DocBaseClass, that acts essentially as a umbrella class for documentation related bears, where common functionality is abstracted away to this class and the core functionality of the bear is left upon the user to implement.

Then after the DocBaseClass is ready, its time to port the DocumentationStyleBear to the new framework.

As for the quirks of DocumentationStyleBear itself, there are some bugs to be fixed #4029, #1856, #4200

by sanketdg at July 05, 2017 03:56 AM

July 04, 2017

Jason Braganza

Small, Life Outside Code, Series Coming Up

I call it Healthy, Wealthy & Wise for the Student Planet.

I’ll pick the low hanging fruit and cover Wealthy tomorrow!



P.S. This post is part of the Life Outside Code, Be Healthy, Wealthy, & Wise series

by Mario Jason Braganza at July 04, 2017 08:21 PM

Soumam Banerjee


                       #DGPLUG          
Soumam Banerjee

Student of Biotechnology, B.tech 3rdYear,
NIT DURGAPUR










Hello readers, this is Soumam (IRC : soumam007/soumam_), a student of biotechnology Durgapur, Now you may be thinking if this guy is from biology background then how come he is blogging about technology regarding things.Yeah, your suspicion is quite obvious, but this is possible due to my sheer interest in technology.


                                                                            INTRODUCTION



I was very much fascinated to see that few of my college mates were actively contributing to various F/OSS organisations which made a deep impact on me, but I had no clue how to get started, so I started visiting my friends quite often. Out of them, a very few were helpful, few were up to some extent and few were not at all, being from a different department, it made my wish to contribute tougher.One day while I was searching for how to get started, how to select an issue, how to dive into a project, I came across DGPLUG. All of you must be knowing the meaning of LUG(yes, you are right! It's Linux Users Group) but many of you must be ignorant about DGP! It stands for Durgapur, the nearest township to my village.Though the name says Durgapur it is not confined to that place but gradually it has spread all over the world.At first, I thought that it may be a club of NIT Durgapur where I study but later I realised it's not.It was an independent group started by KUSHAL DAS, in the year of  2008 with the motto of Sekho O Sekhao (English: - Learn and teach others). He started this strong initiative when he understood the fact that many noobies faced the same hurdle that he faced when he started with his contribution which is "how to get started?".He understood that many students were paying a hefty amount for summer camps and training for a certificate but hardly they were gaining any knowledge.

             So, he started with few students, I guess hardly 8 students but gradually it increased to 180 students this year @2017. here the students don't leave the community after the summer training but they remain in the community forever.Some even start contributing to the session as a  mentor (namely Sayan, who is now a mentor but a student of dgplug @2010).Another person without whose contribution #dgplug couldn't reach such a height is SHAKTHI KANNAN (IRC: - mbuf), one of the most known Foss contributor of India, instil who voluntarily came to help Kushal for such a noble revolution. Few more notable alumnus are Fahran Buksh ( IRC:- fhackdroid), Trishna guha, etc to name a few. They are actively contributing to the channel #dgplug in FreeNode by helping the newcomers 24*7 without any self-profit.
             The channel is maintained by few channel operators and 2 most notable members that are the bots (batul and tenida). The most astonishing fact about the summer training of DGPlug is that the whole sessions(classes) are all conducted via IRC. The main motive of choosing IRC is:-

1. To habituate or instil the practice of chatting in IRC, because most of the chats of FOSS is conducted by IRC.
             
2.It uses very low bandwidth to chat, as less as a 2G network so that even people living in villages where internet speed is not so good can also attend the session.


How to join?

In order to join the training one just need to join the channel at the respective class timing though the discussion goes on even after the class ends.

What's the timing?

Generally the timing is @7:00 pm IST but it may vary depending on the mentors, and it lasts for 1.5 hrs to 2 hrs approximately on a normal day.
Weekends are off but sometimes guest lecturers may hold a session on Sundays.


What is the eligibility to join?

Nothing as such, most importantly one must have the willingness to learn and rest will be taken care off by the mentors and the respective people in the channel.
If you are acquainted with Linux then it will be a plus.






                            Anyways BYE till then hope you liked my first blog.

Also visit my: - DGPLUG Weekly Report 1
Also visit my:-


by SOUMAM BANERJEE (noreply@blogger.com) at July 04, 2017 08:46 AM

Kshitij Kumar

dgplug Summer Training

 a passion for learning. If you do, you will never cease to grow.

Anthony J. D’Angelo

This summer, I have joined a summer training organized by dgplug. Training started on 18th June 2017 (Yes, India vs Pakistan Champions Trophy final was on the same day). So far at the time, I am writing this post, we have learned communication skills, shell commands, Vim, markdown, and git. I will discuss on all these in next blog post.

What is dgplug?

LUG  stands for “Linux Users Group”, dgplug stands for “Durgapur Linux user group”

dgplug conducts a summer training program every year, to train participants on how to become upstream developers and increase open source development. Its free of cost and anyone from anywhere can join in at IRC group channel! As mentioned in their summer training announcement page, pre-requisites are

  • A decent Internet connection.
  • Attitude to learn.
  • A computer with Linux distribution

 

How I came to know about dgplug?

I got to know about dgplug summer training by Sayan Chowdhury ‘s post on quora last year. I joined this program in 2016 also but I left training in middle because of health issue. Though I was connected to dgplug via IRC channel and mailing list. I also used to read blog posts by members of dgplug.

And, again this year, I am part of this summer training program.

My experience

Almost 3 weeks of training have passed and I must say it was awesome and I am learning something which is new and useful. We have a regular session or every day at 19:00 IST on the #dgplug channel at Freenode server on IRC.

It is same as a classroom, We have roll call system here too and here nicks(students) just have to type their name when Mentor type Roll Call. [No proxy ;)]

After the roll call, the session starts, first we discuss doubts or questions from the previous class and after that, we discuss and read up on a new topic. You have to type ‘!’ if you have a doubt and want to questions. Batul is a bot, which keeps record of queue of nicks and also batul helps in maintaining session logs (a record of all chat during session)

So far, at the time of writing, we have learned

  • How to use IRC
  • Mailing and Chat Etiquettes
  • How to ask questions
  • Importance of self-learning and googling
  • Basic Shell Command Usage
  • Importance of Blogging
  • Using command line text editor VIM
  • Markdown
  • Git (VCS)

I am very excited about learning new tools and technologies that are useful for upstream contributor and a computer science student.

One of the best thing that I liked about this training program is that they (mentors) focus on understanding the logic and structures instead of throwing a bag full of codes and commands to the student!

I will write more about this training program and its progress.


by Kshitij at July 04, 2017 08:08 AM

Vipul Gupta

MAKE SUMMERS GREAT AGAIN – #dgplug

A google search helped me become better at FOSS.

It was a usual June day for me, summer holidays going on and I am working on some problem in C , going about hackerrank ,Checking social media websites and reading chat from various telegram groups that I am interested in, troubleshooting Linux issues that I am aware about, And on and on, Binging on some Breaking Bad too. There at that this moment I was talking to somebody over an issue he was facing in his Ubuntu distribution. And after then we started talking about  what he was doing this summer. And he mentioned that he would be participating in Dgplug (Durgapur Linux Users Group).

As a force of habit, one thing in FOSS that I have learned is to “GOOGLE”. Some Google searches I am not that proud of but “Information is power“. I now Google each and every term of a sentence,paragraph, article which I don’t understand. Which I would urge other fellow coders and non programmers who are reading this. Moving on with the story, I checked what is “dgplug” and their summer training on FOSS starting 18 June 2017. I already knew a lot about FOSS, at that time but this would mean a fresh start to get the basics right. Bit suspicious of their teaching methods on IRC (never tried it) but it’s on its 10th edition now so I thought , They should know what they are doing, right ?

They Knew What They Were doing..

After about 2 weeks, I am getting a feeling while writing this , what would have been if I haven’t googled “dgplug”. It is a IRC classroom and a real one at that. Class starts sharp on time, students (us) ask doubts and questions on the issues we are facing, etiquette is mildly followed which will improve by time.Roll calls happens. People the same age or little older than me, come at the same time everyday and learn.Just learn and make themselves better. I learned a lot in the past 2 weeks. As if I was a part of something bigger. The feeling of doing something significant every time I log on IRC channel freenode #dgplug.

People/ teachers/ instructors there like Kushal Das and Sayan Choudhary, deserve a special mention,I think in my blog because personally I have a group of mine own called AliAS back at my college and the thought of teaching and instructing a clueless first year of what is FOSS, is quite unnerving. I always think if I would be up for the task. These guys hold the channel together and run the show. I applaud their patience they showed with us and their commitment to live up to the task.

I hope I would do. (here’s to hoping …)

So YOU interested ? It’s not too late …

People if you are interested in knowing more and working hard, there is no obstacle that is too small. all you need is initiative and time . You can join up as well , classes happen at 7 pm IST on freenode channel on IRC. Here are some links that will help you catch up. Don’t fret. Comment here and I will help you in anyway possible.It’s been 2 weeks, I know. But don’t lose hope, I think if you start now you might still catch up.finger crossed

Summer training – Information on training

Welcome to Dgplug Summer Training’s documentation! — Dgplug Summer Training 0.1 documentation – Important reading material. Very important.

Logs of classes that happened till now.- IRC logs 

Don’t forget to subscribe to the mailing list, and ping me anywhere if you need help.

Personal Views

Hey, I always wanted to make a blog but never did. I made this blog because it was listed for us to so in one of the classes. I am grateful for that. The thing is we never do things unless we are either pushed to do it or there is a urgent need or we are just passionate about it.

Would recommend this to everybody. It’s a good thing to in summers. Make summers great again.

I personally loved the session on markdown which left me a bit shocked. Been using HTML for about 4 years and don’t know about this amazing thing. That’s the beauty of isn’t it. It is all about sharing what you know with others. Information is power. And I will soak up every bit I can get my hands on.

Live in the mix, guys. I am gonna check some Heisenberg merchandise.

 


by Vipul Gupta at July 04, 2017 06:09 AM

July 03, 2017

Samridhi Agarwal

Big Data & Machine Learning

It was a meetup in Pune where we learned how to deal with big data and its analysis. Then the concept of drone collecting the data and sending it to server and the best to control the server traffic is Erlang. It also uses the plugin based architecture like the security plugin and caching plugin. For the database system Postagre SQL table is used.

These things were quite new to me but still they had my interest because of the workshop which was conducted in my college by Goldman Sachs on big data and cloud computing, at that those were too new to me and in this meetup it was a bit high level all about the selection of algorithms by decision tree and measuring the dependencies.

It was a nice session as one of the speaker also presented the real time research on big data implemented by her. Though at that time i was not able to understand everything but it was a great experience.

 


by samridhiagarwalblog at July 03, 2017 06:06 AM

July 02, 2017

Himanshu Awasthi

Pycon Pune ‘2018

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 waiting for two thing only :

1.Pycon Pune

2. Avengers -infinity war

but desperately waiting for #PyconPune ^^ .


by kanpurpython at July 02, 2017 07:28 PM

Kshithij Iyer

"One program, one favor and one installation left, tomorrow is a holiday but I guess I just..."

“One program, one favor and one installation left, tomorrow is a holiday but I guess I just don’t want to sit and write code tomorrow as well, I guess I want something more in life. Hmm! I think it’s a rough night ahead..”

- Kshithij Iyer

July 02, 2017 05:03 PM

Vipul Gupta

Undistract-me “Terminal Job Notifications”

What if you could get notifications when a task is completed on on your terminal. A small push notification indicating that the command has been executed or a sound would be produced when the terminal has finished a command on Linux. That could end up saving both money and time of yours.texjkdf.jpeg

CHECK Top-Right corner …..Cool right ?

We have all faced one thing while working on something both personally and professionally, that is distractions. Distractions everywhere. A programmer sometimes just needs to be in his/her zone, his/her level of peace to work at a peak level . But a certain YouTube video that you got to check out. Or a Facebook comment that you should reply to takes it away…

Suppose you run a task which gonna take some time on the terminal and now you find this amazing 7 minute Ted talk video ( your brain goes : why not) in the meantime that task has already finished and the terminal is waiting for the next step. The uses of this could be endless.

Installation

So, you sold ? Cool. Now there might be many possibilities to this like NotiFrye, issuing another command after the it’s completion by using ; But here I will give you the simplest way to achieve this without the bells and whistles. Also I will provide links of all other ways to do this on different distros if this doesn’t work out for any reason.

For Linux 16.04, enter in the terminal:

sudo apt-get install undistract-me
For Ubuntu 12.10 or 12.04, use :
sudo add-apt-repository ppa:undistract-me-packagers/daily
sudo apt-get update
sudo apt-get install undistract-me

How to make it work

Add this to ~/.bashrc (refer to the footnote for more information)

if ! [ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$last_command_started_cache" ]; then
  . /usr/share/undistract-me/long-running.bash
  notify_when_long_running_commands_finish_install
fi
 Bashrc is most likely to be located in the Home directory or the Root directory.

Easy enough but one more thing

To get Undistract-me to work, you must enable “Run command as a login shell” so open the terminal you’re using and:
  • for GNOME Terminal: select Edit > Profile Preferences and on the Title and Command tab, check the “Run command as login shell;
  • for Guake Terminal, right click in a terminal, select “Preferences” and on the General tab, check the “Run command as a login shell” box.
If you’re using a different terminal, look through its preferences for the “Run command as a login shell” option and make sure it’s checked.
Once you do this, restart the terminal (make sure you close all open terminal windows) and you’re done.

 Customization

So, you liked how it works. Happy to help. Now in later releases of Undistract-me, they have added the following features and commands.
  • Undistract-me now runs only when the terminal window is not active which is the true purpose of it. Example : It only shows you the notification when the terminal windows is minimized or not active (at top of the screens)
  • Undistract-me doesn’t denote completion notification for small commands like cd or ls which would be quite irritating. Instead **It only shows notification for command longer than 10 seconds only.** To customize this as per your requirement, follow.

 edit the /usr/share/undistract-me/long-running.bash file as root and changing the LONG_RUNNING_COMMAND_TIMEOUT variable value from 10 to whatever you want.

  • It is possible to disable notifications for certain commands by adding them space-separated to LONG_RUNNING_IGNORE_LIST variable.
  • There is a way to play sound on notification in it too. Refer here

One last thing

For sound, I prefer to go the extra mile

sudo sed -i 's/blacklist pcspkr/#blacklist pcspkr/g' /etc/modprobe.d/blacklist.conf
sudo modprobe pcspkr
beep [optional parameters]

job.jpeg

OR

 foo; spd-say done

Replace foo with whatever command you want to use.

and make your day a little more productive. I am gonna go watch my Ted video now.

Other ways and for other environments :-

https://github.com/kaustubhhiware/NotiFyre

Growl for macOS ( untested )

Arch – https://aur.archlinux.org/packages/undistract-me-git/

Tilix – Tilix is an advanced GTK3 tiling terminal emulator that follows the Gnome Human Interface Guidelines.And offers notifications when the screen is not active. Available for most distros.

Sources :

https://github.com/jml/undistract-me

https://launchpad.net/undistract-me

Live in the mix. Subscribe. Share. like. Tell me what else I could write on.

This blog has been written using markdown
Stay tuned to know more #dgplugsummertraing17


Footnote

You put commands here to set up the shell for use in your particular environment, or to customize things to your preferences. A common thing to put in .bashrc are aliases that you want to always be available. We are here putting an alias in the bash file.



by Vipul Gupta at July 02, 2017 02:11 PM

July 01, 2017

Deepak Chethan

New perspectives

Finally! I completed my exams. Unsure of my results though. This is the first time I went to the college without any sort of preparations. I just studied in college for a couple of hours and scribbled desperately to score as much as I can. I have a good feeling about it. But let me see (fingers-crossed).
Anyways, I didn’t waste any of my time instead of studying. As I mentioned in my previous post, I was busy learning the skills that are required to increase my employability. Instead of the syllabus that was made before I was born. 

Coming to what I have been doing lately. I almost completed the IoT course that I was taking. I signed up for FreeCodeCamp . It has been really nice. Learnt a bit of frontend development by completing a couple of projects. Will go on with it. In the competitive coding part, I made zero progress. I will start  solving spoj problems from tomorrow.

Opensource contributions has been tricky so far. Since I am really new to this, I wanted to get into translation stuff. I mailed the KDE Kannada community mail-list. Nobody responded. I tried to get into DuckDuckGo translation. They are yet to add that specific language. So, it just means I didn’t make any progress. Anyways, I will still keep trying.

I was recently introduced to the open-internet and net-neutrality on #dgplug channel. I watched the recommended documentary “Internet’s own boy” about Aaron Shwartz, I was moved. It really changed my perspective toward the internet. 


by dodococo at July 01, 2017 04:28 PM

Vipin kumar

June 30, 2017

Messi Fc

Markdown

On our last session at #dgplug, we were taught about Markdown. I had never heard of this thing before, but now I am fascinated about this. How could programming turn things that were already simple, simpler!

Markdown is useful for writing over web, if you just want to write without worrying much about the HTML syntax. It  allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML.

John Gruber created the Markdown language in 2004 in collaboration with Aaron Swartz on the syntax, with the goal of enabling people “to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML).

Here is the link to the original blog of Aaron Swartz, which he created when he was still working on this project with John Gruber:  http://www.aaronsw.com/weblog/001189

I myself couldnt get time to write a documentation about it (as I am travelling in train while writing this blog), so I will include some other links to help you get started:

[https://daringfireball.net/projects/markdown/syntax#link]

[https://en.wikipedia.org/wiki/Markdown]
We were asked to install this software called ‘discount’ on our system. Use “sudo apt-get install discount” or “sudo dnf install discount”

However, I did try to run on my system. Here is the text that I saved in a file ‘hello3.md’

#Hello guys.
#As you will see, the first 2 lines will be heading
##This is also a heading, but a smaller one
###Even smaller
####Even even smaller
#####This size,
######and this size, you will hardly find

<p>This is a paragraph </p>

Use 2 asterisks before and after a word to **bold** text. **This is easy**

Use 1 asterick before and after a word to *italicize* text. *easy huh!*

You can also use underscore key to _italicize_ text. _Understood_?

=======
Wondering how I drew the above line ☺ ??
Well, all I did was inserted a few ‘=’ symbol together

1. This is the first item of an ordered list that I am creating now
2. I started this list, by writing ‘1.’, followed by a space, and then the item
3. Then in the next line, I typed ‘2.’, followed by a space and the next item
4. You are smart enough to understand what I must have done in the next step ☺
<p>
</p>
* This is unordered list.
* Start this list by adding an asterick, followed by the items
* I wonder *if I have italicized this* 🙂

**Please note** : You can also use ‘-‘ symbol to start an unordered list.

Also, you might have heard,
>The third-rate mind is only happy when it is thinking with the majority. The second-rate mind is only happy when it is thinking with the minority. The first-rate mind is only happy when it is thinking.

well, I copy-pasted this quote from internet, I had never heard this quote before. This is how it works.

Next important thing to learn is to include **email** and **link**.This is one of the things you might need the most while writing a blog.

For eg, suppose I want to specify my email address, I will include it between ‘<‘ and ‘>’ so that it looks different from other text. Same goes for link.

Btw my email id is <messifc1994@gmail.com> and you can follow me on <https://turntocoder.wordpress.com/&gt;

You can also direcly go to [Here](https://turntocoder.wordpress.com/), in which the url is embedded.Wondering how I did this? Just write some text inside [] followed by(https://www.url.com), something like this:

>[clickhere] (https://youraddress.com)

but without that space in between ] and (

Then run ‘mkd2html hello3.md’ . A file called ‘hello3.html’ will be created in the same directory. The following webpage I get after running it on my browser:

Screenshot from 2017-06-30 19-02-51

Screenshot from 2017-06-30 19-07-07

I hope I will come back to this blog again to add a few more stuffs. Bye for now 🙂

 


by messifc1994 at June 30, 2017 01:53 PM

Mohsin Mumtaz

Markdown Introduction

In one of the recent session by DGPLUG, I came across a new Mark-Up Language called MARKDOWN which was the completely new language the first time I read, partially due to the fact that I never read about it anywhere on the internet. So, I thought it is a good opportunity now to write about Markdown using Markdown 😛

INTRODUCTION

As wiki page puts it,

Markdown is a lightweight markup language with plain text formatting syntax.

It provides simple syntax to swiftly format text to make it presentable on the web. Now you may think how it is it different from HTML, which is the most widely used markup language. Let me show you the difference with some examples:

 Markdown syntax  HTML syntax  Text viewed in browser
# Heading 1

## Heading 2

### Heading 3
 

Text attributes
 _italic_, 
*italic*, 
__bold__, 
**bold**,
 `monospace`.
Horizontal rule:

---

Bullet list:

  * apples
  * oranges
  * pears

Numbered list:

  1. apples
  2. oranges
  3. pears

A [link]
(http://example.com).

 

<h1>Heading 1</h1>

<h2>Heading 2</h2>

<h3>Heading 3</h3>

<p>Text attributes 
<em>italic</em>, 
<em>italic</em>, 
<strong>bold
</strong>,
 <strong>bold
</strong>, 
<code>monospace
</code>.
</p>

<p>Horizontal rule:
</p>

<hr />

<p>Bullet list:</p>

<ul>
<li>apples</li>
<li>oranges</li>
<li>pears</li>
</ul>

<p>Numbered list:
</p>

<ol>
<li>apples</li>
<li>oranges</li>
<li>pears</li>
</ol>

<p>A 
<a href=
"http://
example.com">
link</a>.</p>
Heading 1
Heading 2
Heading 3

 

Text attributes italic, italic, bold, bold, monospace.

Horizontal rule:


Bullet list:

  • apples
  • oranges
  • pears

Numbered list:

  1. apples
  2. oranges
  3. pears

A link.

 As with every syntax in markdown, it aims to super simplify the code you write to accomplish the same result, thereby, saving a lot of time and it also supports tons of great formatting options to style content. It is preferred language choice for writing content to the web pages by bloggers.

If that sounds very interesting, here is the good link to get in details on MARKDOWN

So, if you are a blogger or make content for the web, Markdown is the language you would never regret to put under your belt.

Happy Coding 😀


by Mohsin Mumtaz at June 30, 2017 01:47 PM

Himanshu Awasthi

Markdown

What is Markdown?

John Gruber created the Markdown language in 2004 in collaboration with Aaron Swartz on the syntax, with the goal of enabling people “to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML)”
Markdown is lightweight markup language with plain text formatting syntax and a software tool, written in Perl, that converts the plain text formatting to HTML.

As I learn about Markdown , It is very cool tool which enhance your capabilities while writing(blog posts, eBooks, documents etc).

How to start with Markdown?

People who use ubuntu follow these point:
1. Install discount package using following command:

sudo apt-get install discount

2. Open Editor (I prefer use vim editor) and write any thing what you want and save that file “filename.md“.

Screenshot from 2017-06-30 18-38-37

Screenshot from 2017-06-30 18-40-12

3. use mkd2html filename.md for converting .md to .html(second line of screenshot)

Screenshot from 2017-06-30 18-42-23

So use Markdown and leave comments ^ ^!!!!

Happy Coding!!!!


by kanpurpython at June 30, 2017 01:22 PM

Priyanka Sharma

Markdown

Words, some paragraph, and a bit of punctuation,  breaks are the most important constituents of an understandable writing. Headings, italicised text, images, fancy quotes, bullet points and more are just decoration.

Decoration is important, which everyone wants in his/her writing.

That’s the problem with text formatting. Add bold text and bullet points and handsome headings to a Word document, then copy and paste it into your blog, and odds are the shine will have quickly faded.

On 28th June, there was a session by Kushal about Markdown. The session started with the installation of “Discount” package. Let’s see what is Markdown.

Words + Special characters= Markdown Formatted Text

Markdown was created in 2004 by John Gruber and Aaron Swartz as a way to format text for the web using simple characters including asterisks, underscores, and brackets. Markdown is a markup language with plain text formatting syntax. It is designed so that it can be converted to html and many other formats using a tool by the same name. If there were no Italics option, no color option, then to emphasize our words, Markdown is very useful.

markdown


by priyanka8121 at June 30, 2017 01:07 PM

Deepika Upadhyay

“Experience with DG NCC “

Being a part of national cadet corps ,you get to meet some great people, you get great experience, live life in a different way,you get to live with diverse people, different environment and with so much diversity and people with interesting stories of battleground ,it’s always been nice to be a part of NCC !

Had a session with DG NCC Lt. General Vinod Vishisth AVSM VSM **

The keynotes that I learned today that I would like to remember ..

 Ubuntu , i am because we are !

Yeah ,true in every realm of life ,you cannot grow without being as a team their isn’t a concept of Bahubali here like one man can take care of it everything… , we have to recognise everybody’s potential and then work..together ..! Ubuntu !

Never never never ….never give in !

The water when heated keep simmering until it’s 99°C ,all it needs is that one more degree to liberate and become steam and it is this steam which runs engines ,which than becomes of worth but for that that 99°’s were important ; that one extra degree push was important !

Their are many inspiring persons who turned the deaf frog in this world ,who told them they cannot do this, choose something else ,like meryl streep rejected saying you are not suited to act, opinionated on looks later turned out to be most nominated actor in Oscars !
Arunima Sinha , national volleyball player ,lost her leg in train accident ,made a pledge to climb Mount Everest ; became the first ampunctured to scale Everest,and now she plans to climb every continent’s highest peaks!

Their were some more points that he elaborated

It is discipline that seperates us from animals !

Our Bull’s eye should be our character , discipline, selfless – helping nature ,if you make these a part of your life you can excel in your craft of choice with it what distinguishes good from great is our attitude .

never never never…. never give in !


by deepika at June 30, 2017 12:29 PM

Mannu Gupta

Onyinye Madubuko

Understanding Markdown

According to John Gruber, “markdown is a test-to HTML conversion tool for web writers”. The tool markdown is used for writing and editing blog posts, eBooks, documents (word, PDF) and code documentation for future reference. It is influenced by several existing filters such as setext, atx, textile, reStructuredText, grutatext and etText.

There are various markdown syntax, listed below are few highlights:

Headers and sub headers

#Hello  – First level header

##Hello – Second level header

###Hello – Third level header

Italic

_Hello_

*Hello*

Bold

__Hello__

**Hello**

Code snippet

`hello`

Horizontal line

— hello

List (ordered and unordered)

* Hello

+ Hello

– Hello

1. Hello

2. Hello

Image

![Alt text](/path/to/img.png)

![Alt text][id]
[id]: url/to/image

Link

Hello, click [here][gl] to visit google site
[gl]:http://www.google.com


by yinyeblog at June 30, 2017 09:45 AM

Sakshi Saraswat

Learning Markdown

ABOUT

Markdown is a text-to-HTML conversion tool. In other words “Markdown” is two things:

(1) a plain text formatting syntax

(2) a software tool, written in Perl, that converts the plain text formatting to HTML.

Starting with Markdown

Here I am using ubuntu.

so first install discount package by using following command

sudo apt-get install discount

after installing this write down a file in text editor. Here I am using vim.

so in terminal write vim filename.md

and go in insert mode by pressing i and write. Here is the source code of file in markdown written by me.

 

       

Image links are

[https://imagebin.ca/v/3Rk8RL0Rfwwa]

[https://imagebin.ca/v/3Rk9i16Jq8Go]

This is a file explaining all basics functions of Markdown.

Now save this file and in terminal write

mkd2html filename.md

and then type ls

we will see a file named with filename.html. for example

      

Image link:

[https://imagebin.ca/v/3RkAk1ONnVRK]

 

and the output of above file is

 

      

Image Link:

[https://imagebin.ca/v/3RjY2JVElzao]

[https://imagebin.ca/v/3RjYmWPpVMiE]

 


by sakshi64 at June 30, 2017 07:36 AM

Jason Braganza

Want to Focus? All It Takes Is 10 Mindful Minutes

This post is squarely aimed at my younger colleagues on the student planet.
While all of us will definitely benefit, this is for them.

Update: The planet strips video embeds.
So, please read it on the blog to get the right flow.
Links to the videos also at end of post if you do not wish to leave the planet window


Mamata Venkat1 set out to be a doctor (her passion; or so she thought), started out as pre-med and got halfway through her freshman year (first year) of college before she realised medicine wasn’t for her.
She went on to switch majors about four times before finally landing on international studies and eventually choosing public health.

She’d struggle with self-confidence, set high standards for herself and then be crushed when she failed to reach them.
She felt like she wasn’t doing what she was supposed to be, with her life.

Daily life was a blur, an unfocused haze. In her words …

I would get to class and it’d be fine and then about halfway through class, I’d keep thinking about the video I watched that morning.

And there’d be so much chaos coming around me, and in me because of my thoughts and all these distractions, that I’d come home and feel frustrated and let out that frustration of my family members.
Because I didn’t know what to do with it.

I start my homework and feel frustrated because i wasn’t understanding the concepts …

So how did she turn it all around?
What did she do?

Exactly, what I’m about to tell you to do, right now.

  • Take a few quick, but deep breaths. (deeeeep … from your tummy)
  • Count to 5.
  • Take a few more deep ones. (Breathe. Really breathe.)

  • Now, start counting your breaths.

  • Breathe in (1)
  • Breathe out (2)
  • Breathe in (3)
  • Are you thinking of food? or what to do next?
    Just come back to the breath.
  • Breathe out (4)
  • Breathe in (5)
  • Breathe out (6)
  • Mind flitting somewhere?
    Gently, back to the breath.
  • Breathe in (7)
  • Breathe out (8)
  • Breathe in (9)
  • Breathe out (10)

There you go.
You just meditated!
So did Mamata.

This is all you do. This, in effect, is the practice.

  • Focus on your breath.
    Focus only on your breath.
  • Bring your mind back gently if your attention drifts.

Stick with it daily. Increase your mental endurance slowly, a minute, two minutes, five minutes at a time, until you can do ten comfortably, twice a day.

Andy Puddicombe has a marvelous video on the whys and the wherefores of meditation. Give it a look see, and I’ll meet you below the video.



I’ve been reading Tools of Titans, where Tim Ferriss distills knowledge & tactics from his various two–three hour long podcast episodes with achievers.

The number one tool or life habit they use? – Meditation

  • Arnold Schwarzenegger, action star, meditates.
  • Tony Robbins, self help guru par excellence, meditates.
  • Chase Jarvis, ace photograpger, meditates.
  • Ed Catmull, animation genius, President of Pixar, meditates.
  • John Favreau, Monica’s boyfriend, Iron Man director, meditates.
  • Heck, even Matt Mullenweg, founder of Wordpress, meditates.

So I got you convinced? Are you raring to go? How do you meditate? Need help?
The simplest thing to do, would be to get the Headspace or Calm apps and just use their free packs.
Or do what Maria Popova does and just stick to one guided meditation daily.

And what happened to Mamata?
A look at her AngelList bio, speaks volumes.

Here’s Mamata again

… to me true success is being able to learn about myself more and more every single day with my meditation practice and using that and expressing it in any situation that I’m put in.

Thank you

I leave you with Mamata, expressing her journey with meditation in her own words.

I hope, this post inspires you to, too!



  1. Most of Mamata’s details, I cribbed from her TED Talk.

by Mario Jason Braganza at June 30, 2017 04:01 AM

June 29, 2017

Jitesh Pabla

Touch typing

Touch typing (also called touch type or touch keyboarding) is typing without using the sense of sight to find the keys. Specifically, a touch typist will know their location on the keyboard through muscle memory.” – wikipedia

People say that touch typing is extremely fast when you get the hang of it. Emphasis on “when you get the hang of it” because all the struggle lies there.

It has been 10 days since I started learning and practising touch typing, and it has been a very interesting, tough and frustrating experience.

Resisting the urge to look at the keyboard, trying to remember each key location, hitting the wrong keys in practise, everything is tough.

I started to touch type because of the people at – “dgplug” who told me about it.

As hunt-and-peck typer I was happy with the 35 to 40 wpm speed I got, but I obviously wanted to get faster because typing is something a programmer has to do a lot.

So, after these 10 days I’m able to reach only around 12 to 15 wpm, but I hope that another 10 days would double that speed.


by jiteshpabla at June 29, 2017 09:20 PM

Anu Kumari Gupta

“int main(void)”? Really?

If you are into computer science subject somehow and you write your codes in C, you must be well acquainted with a line which you come across in your program i.e., int main(void).

What is int main(void) ?

main() is a function under which your actual program is written, say, a one like this:

#include<stdio.h>

int main(void)

{

    printf("Hello World!");
    return 0;

}

The output of this would be printing “Hello World!” on your screen. Well, talking about a language like C , main() function is the main piece of code executed by default, indeed, it is special function existing in a program runs by default after execution.

Why int main(void)?

When you begin your code with a well known line , int main(void) ,do you know what actually it conveys?

Diving into what functions is and what all are required in a C program to use functions in your code before conveying you the idea of int main(void) would be more appropriate. A function requires function prototype i.e, function declaration at the beginning (requires only if you write your function body after the main) to define your function before actually using it. A function may or may not take a set of arguments i.e.,the values passed to that function from any other function. If a function is supplied with a set of parameters within the parenthesis, function operates with those specified values. Now,what if you want the value to be passed back to another function or the same function from where it is called?Yes, it is the return statement inside a function required to pass on the value to the place from where it is called. Now, you know these things about a function, so, let’s relate these points with our main function which is our main().

The implementation of main() clearly declares that it does not require any prototype for the function. So, we just begin writing without any prototype declaration. Any function is given a set of arguments (null or non-null). So is the case with main() function. Void suggests that the function main() takes no arguments itself. It is always a good practice to write void inside the parentheses, although you may feel that your code runs well and good even after omitting the word “void”. Any input that the main() is going to get from the user has to come to from some other mechanism like

scanf(“%d”,&a); //to take integer values from the user

scanf(“%f”,&b); //to take floating point values from the user

gets(s); //to take string as input from the user

or some other function.Talking about return statement at the end of main(), since, the return type of main() is int , it has to return something. Now, you might have noticed yourself writing “return 0;” at the end i.e, just before your closing curly braces of main(). What does it mean? It is the indication that your program has terminated successfully or ,in other words, you think you’re code will be successful. It gives a status 0 to the operating system. Unlike 0 considered as falsity of a condition , 0 here means a message given to the operating system that the program is successful. And if you don’t specify what main should return, it will just automatically return 0. Diving deep into this particular stuff, it has actual importance only when you’re doing kind of debugging or program analysis with your code. It is quite helpful in deep programming insights. If you have a curious mind, You may have a question, like ,what if I write values other than 0 in return 0? Well,the answer is: values other than 0 in return statement signifies that something has gone wrong ,in other words, it indicates that the program exited but with some error,but then again, this would be visible to you only in deep programming insights. It is useful when it gives hint to a programmer, or the company making a software to have a glimpse on what went wrong and why,so that they can look through their code and figure out what error actually means.It is generally not useful to the end users then.

Why not other than “Void” ?

Let’s elaborate on the fact whether it has to be void as a parameter to a function. Why not something else? So,here is a good news for the people who wish to try parameters other than void.The C standard requires that the main function have specific sets of parameters. One of the allowed combinations is (int, char *[]). Let me explain this type of parameters with an example.

Screenshot at 2017-07-03 01-28-53

And here is the output of the above code:

Screenshot at 2017-07-03 01-29-35

Arguments are the values passed to a function at the time of calling.  By convention in C, parameters (int a,char* b[]) is written as (int argc, char* argv[]), where argc denotes the argument count and argv[] is the argument vector. In other words, automatically the computer, the operating system, is going to hand to your program itself a list of all the words that the user typed at the prompt. It is my design of the code which utilizes this information to print “Hello , … !!!”. Over here number of arguments passed actually is 5 which includes, ./a.out and the rest. You may try something else, with the idea of this set of parameters. It was just to create a glimpse in your mind what other than int main(void) is possible.

I hope this article proves helpful to you. Keep reading and exploring. Happy Coding!


by anuGupta at June 29, 2017 05:33 PM

Kshithij Iyer

"So he came back to me and whispered in my ears “Make the jump Kshithij, it’s time and I..."

“So he came back to me and whispered in my ears “Make the jump Kshithij, it’s time and I am with you!” And I did what he said. He was my consciousness and the jump was the jump to the next level of maturity.”

- Kshithij Iyer

June 29, 2017 04:56 PM

Yurii Pylypchuk

Markdown

I have not yet discovered all advantages  of  Morkdown tools, but it look like it is very helpful thing if you have a lot  of  ideas  to express in HTML format, and do it fast.

You need not to stop  your typing every few minutes  and reach for the mouse in order to click, highlight, click a formatting button, and then click back to where you left  in order to continue. All you have  to do is get the ideas  out of your head and put on to the screen.

Markdown allows you to keep your fingers  on the keyboard as far as you get  formatting of text on the fly. The main idea is  so  you do not  need  to stop typing or think about anything else in order to apply your styles.

So I am going  to use it and tell you more later on.

Go here and get more information — : https://daringfireball.net/projects/markdown/syntax#link


by yuriipylypchuk at June 29, 2017 06:05 AM

June 28, 2017

Razy Kased

10 years reminder; markdown, discount and vim(Vi IMproved)

I’ve kept Teach Yourself Programming in Ten Years webpage up after being assigned this task to read this page in our dgplug summer training session. I want to keep it as a reminder for me for the effort and time I will need to become a developer/programmer today and beyond.

Our session today discussed the an easy-to-use and easy-to-edit language Markdown.”John Gruber created the Markdown language in 2004 in collaboration with Aaron Swartz on the syntax” so that it can be converted to HTML for our webpages. As well as Discount which provides an implementation of Markdown’s text to HTML. I’m plan on reading up more on Markdown and practice live usage by using Markdown: Dingus as recommended by one of participants in the summer training class, Jason Braganza

I’m continuing to work on using vim, reading up on documentation and watching free screencasts from other users to learn.

-Raz

 

 


by georoot at June 28, 2017 09:03 PM

Kshithij Iyer

Mashed potatoes and toasts. #2toastjaladiya (at Pune,...



Mashed potatoes and toasts.
#2toastjaladiya (at Pune, Maharashtra)

June 28, 2017 03:19 PM

Prerna Pandey

First step towards learning

After completing 4 years of Computer Engineering at a mediocre college, I came to know that whatever i learned was not enough for anyone who’d want to work in any IT Company. Though, I was placed and to be honest, I scored average marks in examination. I never actually learned what i was doing in my practicals and memorizing theories which actually have no use in real life. Each passing semester, I was memorizing more chapters and passing the examinations.

I was always fascinated with those who could code well. Many of friends actually knew. I know how to code the basic programs like binary search , threaded binary tree (They teach you this from 3rd Semester to 8th Semester in languages like C,C++,Java,Python). I lost interest in 4th Semester. I never tried to learn anything else apart from this and I regret it. I learned how to code in middle-level-language in 4th Semester. I still can code in that language as the teacher who taught me wasn’t spoon feeding the students and I worked really hard for that subject. Unfortunately, that subject wasn’t included in rest of my Engineering. So, I had a silent fight within myself. I wanted to learn but, my mind said how can be this interesting if you’re learning same thing each semester in every basic language? And honestly, I got bored and i never asked for help to any of my friends who could code in multiple languages and did some projects.

One of my friends, I talked to him occasionally. He was stubborn to learn. Below-average marks but was efficient than the rest of us.  I was always intimidated by intelligent people (reason for not talking to him regularly). One day, I was chatting to him and I said that “Teach me how to Code” he said ” If you need my help, I’ll help you”. I thought he’s so busy, how on earth he would.Again, after some days, he sent me one link to dgplug/summertraining17 which was getting started on 18th June. I had time and I thought, i would.

Something happened in between. In next blog.


by prernapandey1407 at June 28, 2017 01:35 PM

Mohit

Hello World!

This is CS50!


   Hello World! I am Mohit, a true Philomath. Last year, in my sophomore year, I heard about MOOC (Massive On-line Open Courses) and Edx.

The best thing about MOOC that I loved are:
  1. They are free of cost. 
  2. Anyone can enroll in any course and access them anywhere.
  3. There is not any age restriction to learn something.
  4. Vast number of On-line courses available and even by most notable institution which far away from our home. 

CS50x 

So, last summer I enrolled in these course called CS50x via Edx. CS50 is an on-campus and on-line introductory course on computer science from Harvard and, as of 2015, Yale Universities.

   The course was too good and they explain everything from basics of programming to marvels of Internet and website development. The course is guided by Professor David J. Malan at Harvard University. The course unlike several other courses which I joined later on, has various projects and psets to complete (which are not so easy) to pass the course with a certificate.


 About ME

   It being my first on-line course, I loved it.  It introduced me to the marvels of computer world.  They relate programming to real world and this is what grasp my attention, the analogy.  Then they introduce to a very indispensable part of all developers, GIT (a version control system, If you don't know about it, don't worry I gonna write about it soon)

But being honest, I never completed it.  Since the course is 12-week course and requires commitment to it and like most of us due to the lack of Time Management (the most important skill).  I dropped the plan to complete it.

This year, in my summer vacations I am determined to complete all their problem set and even submit my final project.  I will get to you all when I will complete all my projects and problem sets and this would be soon enough, you know why, because I learned Pomodoro Technique. 

by Abstract Learner (noreply@blogger.com) at June 28, 2017 12:14 PM

Mohsin Mumtaz

My Journey into CS

To start off, I have gotten into computer science just year and a half and the experience thus far has been overwhelming with steep learning curve. Although, there are days where it feels very rough where I could not even reason out simple algorithms and ends up thinking “I’m not good enough for this”. There are also days where I genuinely feel awesome for understanding complex concepts like pointers, Divide and Conquer and many such things in intuitive ways.

As I moved forward, things got easier. Problems that looked impossible to solve earlier now has become a matter of choosing a right algorithm from the black box of knowledge. And the huge chunk of Credit for helping me goes to people I have met in the last 1 year. All of them has been super helpful in teaching me something new every day.

I also want to highlight the wrong perception beginners like me hold for long before finally setting up free. The problem of wrongly perceiving that computer science is just about learning one or more popular language for the succesful career. This might seem odd to non-CS people but at the core computer science is more about problem-solving, striving constantly to  LEARN THE ART OF PROBLEM SOLVING. Once you train your mind to solve problems then nothing seems very complex to understand as you continue getting deeper into this amazing field. It is Learning to Learn and I will continue to spend my time and energy on this important skill.

 

 

 

 

 

 


by Mohsin Mumtaz at June 28, 2017 09:34 AM

Sayalee Raut

Books are uniquely portable MaGiC!!

Hello everyone!

Well this being my first post….I decided to share my experience about reading books with everyone!

It’s said that “A reader lives a thousand lives before he dies, the man who never reads lives only one.” When i read these lines for the first time..a thought immediately came to my mind, how many lives have I lived?! Count was almost 100!!!! Felt just amazing.

I just love to read…be it a mystery, a biography, fiction or love stories. I feel that I am gifted with this hobby. My great grandmother, my grandmother, my father, mom, my aunt…all are passionate readers (or were passionate readers). In fact, it was my Aunt, my Megha Aatya who one fine day gave me a precious gift, a set of books…one was the biography of the great scientist, George Washington Carver, the title of the book was “Ek hota Carver” a Marathi translation of the original book and another was a collection of short folk stories. I preferred reading the biography first and guess what i got so lost reading it so much that the very first plot of the book, where the scientist is a small baby yet and his mother…his only parent is kidnapped….made me shiver and I got goosebumps. My Aunt thought that she gave me a past time for my vacations..but only I know..she gave me a drug that day..and I got addicted to it for life time.

Soon I starting reading regularly…from monthly magazines like Readers’ Digest to novels by famous and popular writers. To be honest I never care who the author is…as far as the book is keeping me engrossed. I have benefited soo much from this habit , my knowledge improved, I started to look at things with different perspectives, helped me understand how to phrase anything, helped me score good in languages at school, and most important, I explored the life styles of different people, coming from different parts of the world, having different life stories. Though some of them were fictional and some really existed, I could always feel their presence while reading.

For time being, this is all I have to say about books and reading..and one last thing to conclude this..I read books as one would breathe air to fill up and live. A book is dream..that you hold in your hand..with a magic in it.


by sayaleeraut at June 28, 2017 07:56 AM

Himanshu Awasthi

Again I want to Be a Part Of these Events

PYCONPUNE :

PYDelhiConf :

C7Qy3PKW4AAUobX.jpg_large

KANPURPYTHON:

KanpurWordPress:

DockerKanpur:


by kanpurpython at June 28, 2017 05:54 AM

Jason Braganza

On Whether I Should Buy That Expensive (or Cheap) Book

“When I get a little money I buy books; and if any is left I buy food and clothes.”

Erasmus

Most of my tech knowledge, I taught myself.
Ok, small correction.
I have been taught.
By people.
By people, living and also the eminent dead.

I learnt philosophy is just thinking intentionally, and a good way to live, from a Roman Emperor.
I learnt about personal finance from a guy who distilled his own life experiences and 20+ years on radio.
I learnt about investing from some guy.
And then I went and learnt about the importance of Mental Models in life, from the same guy (as did the CEO of Dropbox.)
I’ve learnt about the importance of community and giving recently, from a guy I’m in frequent touch with.
The only reason you’re reading this, is because I learnt Markdown from the guy who wrote it.

So, yeah, reading is important.
Books help us do the work required to have an opinion.

That brings us to whether I should be buying that book I’ve been eyeing or not.
The best reason to buy, like Taleb points out, books let us learn and you never know what you’d want to learn

… a private library is not an ego-boosting appendage but a research tool. Read books are far less valuable than unread ones.
The library should contain as much of what you do not know as your financial means, mortgage rates, and the currently tight real-estate market allows you to put there.
You will accumulate more knowledge and more books as you grow older, …
Nicholas Nassim Taleb (Antifragile)

And as to whether you should do it, that can easily be explained, like Ramit Sethi does in a 140 characters


Slightly more detail in Rule 3 of this article.
Like the ad says, “An idea can change your life!”
Books unequivocally, are the best source of ideas.

So what are you waiting for?
If there’s a book you’ve been wanting to read, go buy, beg, borrow or steal it!

by Mario Jason Braganza at June 28, 2017 05:35 AM

June 27, 2017

Razy Kased

rss feeds and open source history lessons

As I continue through the learning path of dgplug’s summer training in 2017, I’ve realized the great effort that the instructors have provided to answer all the questions of those that ask. Challenging us to seek out those answers.

Today we were tasked with having a blog setup to include in dgplug’s planet feed based off of RSS subscriptions. We also were assigned reading material on Net Neutrality as well as learning about a key individual who has/had a profound impact on the Internet and the access to the information thereof.

I find the summer training very rewarding and allowing me to explore the exciting world of collaborative computer talk.

-RK


by georoot at June 27, 2017 10:20 PM

Robin Schubert

Going deeper

As written in my previous post, I’m attending the dgplug summertraining. It says they want to show the path of becoming an upstream contributor, which I think is pretty cool, but I must admit that all the time I was thinking about free and open software, only. Today’s homework, however, was to watch a documentary; The Internet’s own boy – the Aaron Swartz story.

This took me deeper. It’s not only about free software, it’s about free speech, free knowledge and free internet, issues that people have fought wars for for hundreds of years and still do. I’ve watched that movie and could not help but ask myself: Where have I been, what have I done and why didn’t I see all these things happen? The world wide web is about my age. We grew up together and we had a lot of fun. Well, turns out I was having more fun; although in permanent contact, I did not see the danger the internet was in and still is, as the threat to internet neutrality. I have the feeling of both, being affected directly and being able to change by contribution. This internet is still young and it’s not yet finished. More than ever I feel like I can help to make it better and protect it’s freedom.

As a physicist I also write publications that are published in scientific journals. Researchers like me heavily depend on publications to receive further grants to keep up the research projects. The majority of scientists will not make big money with research, it’s pure interest and the wish to contribute that keeps them going. From a scientific point of view absolutely reasonable to publish in a peer-reviewed journal, but it is also a necessity to survive. The impact factor of a journal represents the number of citations a journal gets, which in turn reflects the number of readers. For high impact factor journals, researchers even pay up to several 1000$ for publication; A ridiculous and perfidious system.

Luckily the numbers of Open Access journals are increasing, although I’m not sure if their impact factors do likewise. However, I’m glad, excited and curious where this summer training takes me. Maybe it is going to connect my worlds and wishes I have from science and coding.

http://www.nature.com/news/open-access-the-true-cost-of-science-publishing-1.12676


by schubisu at June 27, 2017 08:53 PM

Jason Braganza

Kshithij Iyer

Devesh Verma

Mayur Khomane

Best CANINES.

This is my first Blog, so I thought I should write it on Best friendly Dogs(Although I don’t own any :p).I prefer dogs as pet over other animals, they are sweet, energetic and friendly.
There are 5 dogs breed that I would like to pet/own.

  • German Shepherd.
  • Golden retriever.
  • Labrador Retriever
  • Siberian husky.
  • Beagle

Germen Shepherd

The German Shepherd Dog is a large-sized breed belonging to the herding group of working dogs. Intelligent as it is versatile, this breed was originally developed in Germany to guard and herd a shepherd’s flocks.

The German Shepherd requires an active lifestyle, and makes for an ideal companion and protector.The German Shepherd is very protective and devoted to its family and home, maintaining a suspicious and around strangers. It can be dominating and assertive towards dogs, though it is normally friendly with other pets in the home. The German Shepherd display a keen intelligence while dutifully performing its tasks.These dogs are best suited as a guard dogs.

Germen Shepherd

 

Golden Retriever

The Golden Retriever were bred as gun-dogs to retrieve shot waterfowl such as ducks and upland-game birds during hunting and shooting parties, and were named ‘retriever’ because of their ability to retrieve shot game undamaged.

Golden Retriever is one of the most popular dog breeds.The breed’s friendly, tolerant attitude makes him a fabulous and his intelligence makes him a highly capable working dog.Golden Retrievers are well suited to residency in suburban or country environments. Although they need substantial outdoor exercises.The breed’s friendly, gentle temperament means it is unsuited to being a professional guard dog.

Golden Retriever Puppy wallpapers HD free - 286377

 

Labrador Retriever

The Labrador Retriever was bred to be both a friendly companion and a useful working dog breed. Historically, he earned his keep as a fisherman’s helper: hauling nets, fetching ropes, and retrieving fish. Today’s Labrador Retriever is as good-natured and hard working as his ancestors. These days the Lab works as a retriever for hunters, assistance dog to the handicapped, and search and rescue dog, among other canine jobs.

Labradors instinctively enjoy holding objects and even hands or arms in their mouths, which they can do with great gentleness (a Labrador can carry an in its mouth without breaking it).

Labrador Retriever

Siberian husky.

People who want a dog to be a partner and friend, who will love children, greet guests, and get along with other dogs — and most importantly, for those ready and willing to provide consistent leadership and plenty of vigorous exercise every day — then a Husky will be a joy.

The Siberian Husky  is a medium size working dog breed  that originated in north-eastern Siberia,Russia. It is recognizable by its thickly furred double coat, erect triangular ears, and distinctive markings.

It is an active, energetic, resilient breed, whose ancestors lived in the extremely cold and harsh environment of the Siberian Arctic. Sadly these dogs cannot live in tropical regions due to their thick coat, which is used to survive at temperature  as low as -60 degree celsius.

Siberian Husky

 

Beagle

The Beagle is a breed of small hound, similar in appearance to the much larger foxhound. The beagle is a scent hound, developed primarily for hunting hare. With a great sense of smell and superior tracking instinct, the beagle is employed asdetection dog for prohibited agricultural imports and foodstuffs in quarantine around the world.The beagle is intelligent but single-minded. It is a popular pet due to its size, good temper, and lack of inherited health problems.

Small, compact, and hardy, Beagles are active companions for kids and adults alike. Canines in this dog breed are  fun loving, but being hounds, they can also be stubborn and require patient, creative training.

beagle-puppy

 

From my point of view these are the best and friendly dogs I like to have. 🙂


by insightcasper at June 27, 2017 02:16 PM

Sakshi Saraswat

Sakshi world

About Me

Hello Everyone!!!

My name is Sakshi Saraswat. I am pursuing my Btech 3 year from Zakir Hussain College of Engineering and Technology, Aligarh Muslim University, Aligarh. This is my first blog :). I am very excited about this.


by sakshi64 at June 27, 2017 02:14 PM

Balaji

Dgplug – Kick Starts

I heard about the Dgplug (DurGaPur Linux Users Group) Summer Training through their website. I registered for that training on that day itself. The training started on 18 June 2017(Yes that was Sunday).

The training is held on their IRC Channel. There are lot of volunteers they give their time to enhance this community. And the training is going well. In the first week we learned about How to communicate with people? , How to ask Smart questions? and Linux commands and touch typing. Yes We are learning the soft skills also. Because it will be useful in the long run. Now I am practicing the touch typing through gtypist(Awesome resource).

I would really thank to Kushal , Sayan and Sanyam (Curios Learner) and all others who volunteering their time for this great type of training. I am very curious to contribute to this Open Source Community in return. Surely I will.   Many Thanks to Kushal.


by balajiwebblog at June 27, 2017 01:41 PM

Akshay Gaikwad

Hello Everyone

Hello readers.

@meakshayblog welcomes you in this techie blog. As introduction of myself – I am Computer Engineering student, open source lover and good designer [according to my friends 😉 ]

Here you can see my coding activities, innovations (mostly surprisingly ) and many more coming soon

You can see on

Facebook  –  https://www.facebook.com/akshay196

Twitter – https://twitter.com/AkshayG196

Behance – https://www.behance.net/akshayG196

 

Comments down if you have any suggestions


by meakshayblog at June 27, 2017 01:29 PM

Vipin kumar

operators in C

And now we will discuss about operators in C.

 

Generally we have three types of operator=====>>>>>

 

1 Unary operator

 

2 Binary operator

 

3 Ternary operator or conditional operator

 

Unary operator —–>

Unary operators are used only single operands

For example (), [] , {} etc.

 

Binary operator—->

Binary operator need two operands

For example addition ,subtraction, multiplication etc.

 

Ternary operator—>

This operator need three operands to work one is condiction

and two are expresion. We will deeply study while we make some programs

on it.

 

 

 

Arithmetic operaters—>

Arithmetic operators are you to perform any mathematical operation

Like

+ adding

– subtracting

* multiply

/ divide

% finding remainder.{10%3=1(remainder)}

ther all are arthmatic operater type of binary operater.

 

Relational operators===>>

From it’s come in the name of operator this operator show any

relation between two operands.

< less then

> greater then

== equal to

<= less than equal to

>= greater than equal to

!= no equal to

 

They are also binary operator

 

Logical operator=====>

We have three kind of logical operator in C.

A && and operator

B || or operator

C ! not operater

 

 

Sizeof() operator =====>

This operator tell us the size of a data type.

We will discuss it later while we may program on operator.


by kumar vipin yadav at June 27, 2017 11:55 AM

A program to take a integer and print that

Now we will start how to take a number and print in a program .

 

#include<stdio.h>

#include<conio.h>

 

void main()

{

clrscr();

int a;

printf(” enter a number \n “);

scanf(“%d”,&a);

printf(” entered number is %d \n “,a);

getch();

}

As you can see we again use %d in our program in function printf(“%d”,a) ;

One more time you will notice that we does not use the symbol (&) hear because here the function will automatically find the location of a and print the number on the screen.


by kumar vipin yadav at June 27, 2017 11:54 AM

Defining integer and a program who accept a integer from key board

Let us start learning using of data types=====>

 

Simple C program which accept a integer–

 

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

int a;

printf(” enter a number \n “);

scanf(“%d”,&a);

getch();

}

 

As you can see we use another keyword of c name int.

 

Have you remember that why we use int ?

 

Because we are using an integer in a program.

 

How to define a variable in C—>

 

Simply we write the keyword for the data type of variable and write the name of variable as we have done in a program.

 

int a; =====> hear we defin a variable name a;

 

Haven’t I tell you about scanf() function till now .

 

Now you will learn use of scanf() function—>

 

It is a function which we use while taking input from user it has a specific format

First of all we have to write scanf(“”) with invited coma (“”) and in invited comma

THen We have to use

 

%d for integer

%c for character

%f for float

%lf for double

 

As you can see we are using an integer program that is why we use %d

And then we use a (,) affter invited comma (scanf(“%d”,)) and then we use this symbol (&)

scanf(“%d”,&)

This symbol will locate our variable into the memory of computer or simply we can say provide address to our variable.

 

scanf(“%d”,&a) HEAR a IS THE NAME OF VAREABLE GIVEN BY US.

 

now I will tell complit function again

 

in Starting we write scanf() then use invited commas then we use symbol (&) and then use comma and then write the name of our variable which we define above.


by kumar vipin yadav at June 27, 2017 11:52 AM

Variable and data type in c

Using variables.

 

C variable is nothing but it is just a name is given to any data type.

 

It also have some rules – —->

 

It does not contain any other character except underscore.

 

It should not be a keyword of c.

 

it should not be larger than 32 words.

 

NOTE:===>> name of variable shoud be of your choice.

 

now i will tell you what a data type is ===>

 

A data type is nothing it is just a type of data like if integer character decimal number and Many other kind of data.

 

Let us discuss diffrent type of data types…….

 

PRIMARY DATA TYPE AND SECONDARY DATA TYPE

 

PRIMARY DATA TYPE ======>>>>

 

Integer —>

It is Kind of data type which tell that a integer is being used in a program

in easy language we can say that a number is use in our program.

 

Character data type —>

It is a kind of data type which tell that a character

even that is symbol for a letter or an alphabet is used in our program.

 

Double data type—- >

This data type tell us that a decimal number is being used a program for printing for taking a decimal number from user

the same work is being done by float data type but

float data type round off our number and double data type does not round orf number.

 

Float data type — >

It is also act as double data type it also tell that it is a molecule your program

but it round off that decimal number.

 

SECONDARY DATA TYPE =====>

This data type use while we learn moduler progreaming

in c they form using primary data types.


by kumar vipin yadav at June 27, 2017 11:46 AM

Simple c question or some simple program on printf

I am writing some questions you have to go to code them.

Questions.

1 write a program to show        i  love my country.

2 write a program which show     early to bed early to rise makes a man healthy wealthy and wise.

3 write a program which show      my name is vipin

                                                    i belong to india

answers

1

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf(“i  love my country “);

getch();

}

2

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf(“early to bed early to rise makes a man healthy wealthy and wise.”);

getch();

}

3

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf(“my name is vipin \n i belong to india”);

getch();

}

OR

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf(“my name is vipin”);

printf(“i belong to india”);

getch();

}

if you do not understend how they solve than read my  blog strcture of a simple progrem.

or contect me at kumarvipinyadav369@gmail.com

As you can see in 3rd question I use \n  what’s this combination is used to print something from a new line. Is combination are called escape sequence Many more combination are there like.

\t

\v

\b

\a

You can use any sequence to make your program better or to give a special effect to your program you can try all these by you yourself.

Using variables .


by kumar vipin yadav at June 27, 2017 11:31 AM

Structure of a hello word program.

structure of a simple program==>>

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf(“hello word”);

getch();

}

This program arising a lot of questions in your mind 

well these questions are arise in my mind also  that 

what is  #include ?

and all the things written in the program. 

Now I will tell you everything about it clearly==>>

 

The symbol (#) known as hash or called  a preprocessor  in c. 

And the written word (include) with symble is called an derivative. 

  When both include and hash(#) combine they form a preprocessor derivative. 

which connects a library to our programe. And the library name which we connect to a program is <stdio.h>.

 

Now I will tell you what is a C librarie==>

 A c librari in actual it is a file contains some function of c which are used by us in a program.

 we even create our own c library by using the extension .h.

This library will contain the 

printf(“”) functions These function are contained by this library.

and the function void main is also from the same library.

The first function printf()  ==>

This function is used while we want to print something on the screen As our first program that we print hello world.

we write hello world into function printf() to print hello.

One more thing about the program the semi colon (;) which is used in the last of each and every line in a program is known as Terminator in C language it is used at the end of every statement.

 

while we finish our program or start our program we use a pair of curly brackets {} affter main function. this pare which tell that our main

function is being start and at end it tell that our function is over. 

Now you will see that one more library is connected by us that is <conio.h> this library with contain the clrscr() and getch() function 

now I will tell you the use of these function.

 

 

 

The function clrscr() is use to clear the screen. 

If you don’t understand what is this clear screen then don’t get nervous because I will tell you about it in other programs. 

And this the last function getch()==>

Is used to store our result if we do not use this function then our .exe extension of program does not so any result. 

I hope now you will understand everything about our first program the hello world.

You still you have any problem then you can contact us.


by kumar vipin yadav at June 27, 2017 11:28 AM

Anu Kumari Gupta

Experiencing #dgplug ..

Just when I was confused about which training I should opt for, after the semesters, #dgplug clearly resolved my issues by providing us a free summer online training this year. After being recommended by a senior of my college, I went through the sites and videos. I found this really great. The video was really inspiring for a beginner like me, as kushalda mentioned :

“In any kind of sessions you should start from the scratch”…”The class should progress based on the speed of the slowest student not on the student who could learn everything everyday”.

This was something which I found very unique and moreover, he concentrated more on making everyone learn from this community.

 

Well, now I am experiencing #dgplug . It is  just because of this initiative, I am learning something which is new to me. Attending summer training on #dgplug on IRC is the bestest way of training, I have discovered till now. Sitting at your home (or anywhere you wish) with laptop/PC and interacting through IRC makes not only learning, clearing your doubts easier but also it paves the way for communicating with some really great people all at the same time.It is not only the session time for interaction, remaining online on IRC provides communication 24/7. The trainers are always there to help out or may be someone from the group also helps us. This is what one would expect at the learning stage and I am feeling good as it really surpasses all my expectations.

A starved learner like me finds learning each little new thing to be fruitful and interesting.From installing Fedora on my PC (struggled but learned) to the touch typing (now on a daily basis) and learning the vi commands and then writing blogs (as one like this),it’s actually making me learn all the more.. It’s  fun learning the Communication skills, touch typing and buffer editors(Vim) which are covered till now.  Looking forward to the courses ahead which are Free Software project guidelines, Code cross-referencing tools, Documentation, Basic system administration, Source code management systems (Mercurial & Git), Using gpg in daily life, Using Ansible to manage your system, How to write conference proposals?, How to make computer to do your work? Learning these would surely make a difference for a beginner like me.

A firm desire of contributing to Free and open-source software (FOSS) projects makes me learn all the more! and yeah! Nothing better than #dgplug could I find yet.

 

 


by anuGupta at June 27, 2017 10:59 AM

Chiranjeev Gupta

Wishes from cRAN-cg :)

However many holy words you read, however many you speak, what good will they do you if you do not act on upon them?

–Gautam Buddha

And with this, let’s start !
So at dgplug, @kushal had introduced to us one of the most loved text editors , Vim editor.
So what’s new about it ? The importance of knowing the difference between word objects and characters …


by crancg at June 27, 2017 06:52 AM

Ganesh Nomula

June 20th 2017

June 20th: Class started by reviewing previous session regarding touch typing practice with gtypist....

June 27, 2017 06:26 AM

June 18th and 19th 2017

#dgplug summer training: I am unable to get to attend or involve in class directly because of my CDT...

June 27, 2017 05:59 AM

Summer Training 2017 #dgplug

#dgplug is DurGaPur Linux Users Group from India. I have found these wonderful opportunity through a...

June 27, 2017 05:39 AM

June 26, 2017

Rishav Sapahia

Platform No-9 3/4

I always waited for this letter after  reading a new cult religion ,created by a 30 years old lady ,20 years ago.

DSC_0277.JPG

Rowlings created a new religion 20 years ago by giving us a gift of Harry Potter saga-the unchartered territories,perfectly grasped the notion of new lands,fears and emotions wrapped up admiringly in a form of book which was my favourite past time.

Weekends were spend reading and then rereading the book ,and till today ,I love to spend my weekends with it.

Never realised the word-“ALWAYS” can carry so much emotion .

Thank You J.K Rowling


by Rishav Sapahia at June 26, 2017 06:55 PM

Sanyam Khurana (CuriousLearner)

Why you should contribute to Open Source

My first step with FOSS was during the summer of 2014, where I got introduced to DGPLUG (Durgapur Linux Users Group). Every year, they conduct a training over IRC covering a wide range of topics. Since then, I've been contributing to different projects, primarily to Mozilla's Gecko Engine. Recently I also started contributing to CPython.

Over this journey as CuriousLearner over the past few years, I've been fortunate enough to collaborate with some of the best engineers, learnt a lot of skills & gained some nice perspective on different technologies by just contributing to Open Source. I owe my learning to them.

I've been always asked this question by my friends, colleagues, and strangers whom I often run into in local meet-ups and conferences.

  • Why should I contribute to Open Source
  • What's in it for me

So, I thought I would cover this topic from the perspective of a student as well as the perspective of a working professional.

Learn new skills

When I say skills, I'm not referring to just coding skills or learning yet another framework. There are tons of skills to be learnt. These include coding, debugging, testing, writing docs, collaboration, participating in meetings etc. In FOSS, you won't just learn technical skills, but soft skills as well. That means you'll learn how to communicate effectively over different mediums and making sense to other people who might be from different backgrounds.

I've seen many engineers are hesitant when it comes to communication. They can think and write really nice code, but when it comes to explaining themselves, they lack the communication skills, which is vital to be a better professional.

Improve existing skills

It's not always about learning a new tech that you heard about. It's important to improve on things you think you might already know. Contributing to a FOSS project would make you learn intricate details that your mentors have gained working as a software craftsmen for several years.

Meet like-minded people

Many organizations do stand-up / all-hands meetings where everyone comes together and explains what are they're working on, what they plan to do next and if they face any blocker. So, students, there is a high possibility that when you graduate, you'll do this in your organization :) You'll meet a lot of people having similar interests and you'll learn a lot of things just by hanging out with them (most of the time on IRC).

Learn people skills

Learn team management, resolving internal conflicts, brainstorming on a new feature, public-speaking, time-management, conducting meet-ups & learn to prioritize your work. You will just expand your horizons.

Learn to READ

One of the best things I've been ever taught is to "READ". (And those who've met me personally knows how many times I've been repeating this thing :)).

When I say read, I mean you'll read the documentation, development guide and most importantly the source code.

Always remember that code is meant to be read more times than it is written. When you contribute to any FOSS project, one of the important skill you add to your skill-set is to make your brain make sense out of the code that may look gibberish to many people.

This is a very important skill. Once you're in a company, you'll be given the responsibility of maintaining huge code base and constantly adding features to it. There won't be someone who would spoon-feed you by explaining what every line of code means.

I've seen many people struggling hard in their jobs to figure out what a particular piece of code does. But if you've already worked with humongous code bases, this shall be a cake-walk for you. You would already know how to scrutinize bugs, debug errors and most importantly, would have already taught your brain to think and READ.

Find mentors

FOSS is all about mentors & mentees. There are people just like me and you who volunteer their time and skill to do good for the community. You'll find a lot of mentors who would be willing to teach you different skills. Remember, that you've got this opportunity to learn from domain experts :)

And no matter what, always respect everyone's time.

Teach others

While it is important to get your code reviewed, it is much more important to review other's code. This would help you in learning different coding style and also about how someone approached a particular problem. This would help in expanding your logical skills & as always you'll be learning a lot yourself along the way with having healthy discussions in code reviews.

It feels great to make (small) changes

You don't necessarily need to work on big features in a project or become a life-long contributor. Contribute to a project that you use on daily basis (like Mozilla Firefox) and I promise you that it would be gratifying when you see the whole world rely on the small code changes you did.

A small change in the documentation means you might save someone countless hours of debugging and scratching their head on how to use a particular piece of code. Always remember, documentation bugs are not something inferior; you'll learn a lot in writing documentation, right from the tools such as Sphinx and rST to expanding your domain knowledge about the project.

Building your reputation (& career) along the way

All the code you'll write in Open Source projects would be public and can be taken as a demonstration of how you write code & what you can do. It depicts how you work with others and most importantly give you an enormous amount of experience in working with people having diversified skill-set.

Once you get acquainted with the code base, you'll be invited to develop stand-alone features and who knows you might get that commit bit turned on when you've developed enough reputation in the community ;)

Apart from all the things mentioned above, I think Mozilla's mission says a lot about why I contribute to FOSS

Doing good is part of our code

Alright, I didn't realize, I'll be able to write this much. Hopefully, this would help & motivate people to get involved in contributing to Open Source. As always, if you have any queries, or want help in contributing to any project, feel free to mail me on Sanyam [at] SanyamKhurana [dot] com.

by Sanyam Khurana at June 26, 2017 11:41 AM

Ashwani Kumar Gupta

Hello World! : My first blog post

Hello World!

If you are a programmer, you must be very familiar with this term. Every other newbie tries this “Hello World!” program to test new systems. For programmers, seeing those two words on the screen tells them their code can compile, load, run and they can see the output. It is enough for them to get started. So I am also here saying “Hello World!” to all of you with my first blog. 🙂

Who am I?

My name is Ashwani Kumar Gupta. Currently, I am pursuing my junior year of B.Tech in Computer Science from Academy of Technology, West Bengal. I love programming. Currently, I am an android developer and a beginner in web development.

About starting my blog and what I am doing this summer

So blogging was something that I always wanted to do. But as everyone else, I was also facing problems starting and every time I made my mind to blog I get stuck with one of these.

  • How do I get started?
  • Will people like it?  Maybe not!
  • I don’t think my writing skills are up to the mark.
  • Spending time on fancy things like getting a cool domain, nice looking theme etc which are absolutely *not so important* when you are posting for the first time.
  • Procrastination 😛
  • And the list goes on…

So I have realized that this_list.empty() == TRUE this condition is hypothetical and I started with this post. I hope with this blog I can share what I have learned with other people as well as improve myself. So if you are also trying to start blogging, then just start. Everything else will improve with time. Thanks to Kushal and #dgplug for motivating me.

Okay so this summer I am taking training from dgplug (Durgapur Linux Users’ Group). dgplug summer training 2017 is an IRC based online summer training which helps bring new contributors to various FOSS projects. I came to know about this wonderful community when I read this article by Sayan. Registration was fairly simple. We just had to fill a google form and join #dgplug on irc.freenode.net

It has just been a week so far and already it is so much fun. We learned about Communication skills, touch typing(I am loving it :D), Introduction to shell, Buffer editors (Vi) so far.  I remember the first session on 18th June, 2017 I had a bunch of things that I had to do on that day like attending the first day of the training, study for exam (Yes, I had an exam the next day which we will talk about on some other day :D) and last but not least an India vs Pakistan Champions Trophy 2017 final. So somehow I decided I will attend the class (I am a huge cricket fan though :P). The session was more of an introduction and I met bunch of new people. I am having a great time here in #dgplug.

That’s it folks for today. Thanks for reading. Looking forward to share more such posts in future. Stay tuned 🙂

 

 

 


by Ashwani Gupta at June 26, 2017 10:40 AM

Vipul Gupta

Post, the first and chicks.

Hello to everybody reading this, and this is my first blog post. This blog would be everything and anything that I feel good about, I feel I should write about, let the world know about it. They will be 102% random and sarcasm will be the norm here.

Like the site icon that you see (at the top in the tab of your browser) . This is my favorite emoticon or emoji. Yeah, I am that guy. I will tell you the use of it a little later. But how about a little history before it ( I know right, emoji has history for this guy) .

” Hatching chick” emoji 1 or that it is called, was approved as part of Unicode 6.0 in 2010 and added to Emoji 1.0 in 2015. With the description of and i quote here “A cute baby chicken hatching from its egg and seeing the world for the first time”.

I love this emojji

Beat that for a logo.

 

So why this particularly …

It is cute. and adorable. Call me crazy which you can if you met me. I think it is great for various situations of surprise, new interests,awe and basically anything new.  I use it anywhere I see fit. This for me symbolizes a new life, recreation and so on.

Example – Bruh, the results are out.

Reply – Whaaaaaaa  I love this emojji !!

So, what about you ? Do you have a emoji that justifies your craziness, your mood , your style ? A personal style that you use in the social world. Do share it with me down in the comments section.

Mixster is a free space. Say whatever you feel like. Comment something random if you feel like it. I don’t care. But do express your views. I care for them. Live in the mix.


This blog has been written using markdown


  1. Footnote : Now for the people living under a rock or on another planet. Emoji or Emoticon are small images or logo used to demonstrate various feeling, thoughts, moods, symbols and just about anything left in this world. There is a emoji for everything these days. Messaging apps and social media are the driving force behind it. Which has now become ongoing trend that we all love to use some more than others. 

by Vipul Gupta at June 26, 2017 05:31 AM

Aniket uttam

Update training on Telecommunication

I start work on the telecommunication as a student. They give me a training session in the fiber optic cable connection. They gives all details on communication  devices working like switches, transmission on cable and how to join the fiber optic cable etc.

They provides all values in practical ways to accesses all the system. I am working on optic cables and know how to transmit the signals in a cabiles.


by aniketuttam at June 26, 2017 03:18 AM

Kshithij Iyer

"Even when you have accounted for all variables of change in your equation, life always finds it’s..."

“Even when you have accounted for all variables of change in your equation, life always finds it’s way to screw up the equation and the calculations which you might have made for your future.”

- Kshithij Iyer

June 26, 2017 12:39 AM

June 25, 2017

Messi Fc

First blog post

Wow. I am so excited for my first blog. This wouldn’t have been possible if I hadn’t joined this summer training from DGPLUG this year. This all started when I was looking for some online code camp to utilize my vacations. I had never imagined I would find such an awesome community which has devised the best method to train the enthusiasts.

This community communicates using IRC (Interntet Relay Chat), which is one of the main communication channels for open source projects. The mentors assume no previous programming experience, and the only prerequisites are:

  • A decent Internet connection.
  • Attitude to learn.
  • GNU/Linux distribution installed.

The people associated with DGPLUG are very helpful and experienced. Even some ex-trainees are always active on their channel, who are always there to help us. Thanks to all the mentors who take time out of their busy lives to help newbies like us :’)

Through my blogs, I will try to reach out to many people out there, who may or may not know programming, and want to work on some real life projects. My motto is simple, help others with what you know, and also learn things from them.

I hope this goes well. That’s all about my first blog. Thanks for reading 🙂


by messifc1994 at June 25, 2017 06:39 PM

Priyanka Sharma

Humanoid Robots

 

robot

Have you ever thought of a Robot doing your homework? Yeah, obviously you thought that : ) But have you ever thought of making Humanoid robot on your own? Not yet, I guess. But before that let’s take a look at what it is. Humanoid may be defined as something that resembles or look like a human being and has certain characterstics. In the present era of technological development and advancements, humanoid is being implemented in robotics and these robots are called as “HUMANOID ROBOTS”. It has  torso, a head, two arms, two legs, face, eyes, mouth. Though an extensive research is necessary before building a personal robot. To make the robot behave like a human being, sensors play a big role. Most importantly, the sensors have increased the performance of robot to a large extent.

Different types of sensors used in the present day robots are:

  • Proprioceptive sensors:  For sensing position, speed and orientation.
  • Proximity sensor: To detect the presence of nearby objects.
  • Range sensor: To measure the distances.
  • Tilt sensors: To measure the inclination.
  • Accelerometors: To measure the acceleration.

Such advanced humanoid robots are capable of multiple activities that are mere reflexes of a human being and do not require high intellectual efforts. These robots are fully automated as they can adapt to its surroundings and continue with its direction or command. Depending upon the size and weight, these robots have the capability of self-maintenance and an advanced feature of autonomous learning, thus they avoid harmful situations to people, property and themselves.


by priyanka8121 at June 25, 2017 06:25 PM

Deepika Upadhyay

“dgplug summer training”

I got to know about dgplug summer training by my seniors/mentors  in college ,whom I am very grateful of !

This summer training is very unique , it’s organised on irc channel #dgplug

Have a great community , with mentors enthusiastic not just to share but to learn too ..

It’s been fun starting with Linux , struggling with shell commands , getting started with vim and the best part being the IRC mode for teaching ; people are always so supportive ,always their’s some constructive discussion or some useful suggestions by mentors, community people ,I consider learning in community the most powerful form of learning!

The course is well organised ,with references ,past logs , guest discussions and always helping community

Not just technology ,you learn some great lessons ,I had some

  • To choose your favourite flavour of icecream , from the wide range of flavours available (icecream==discipline)
  • Dive into deep learning ,of what interests you
  • Having a team progresses is important,it is  not just for a bunch it’s taking everyone on boat be it fastest or the slowest ..

Some more ,would be updating upon the work,the loopholes , difficulties in hope that it’ll be useful for  someone , someday !


by deepika at June 25, 2017 06:05 PM

Pooja kumari singh

Online summer training #DgpLug

This summer I joined dgplug,It is an online summer training program from dgplug,Linux Users Group of Durgapur .My friend told me about dgplug and after that I registered for this summer training.Training started from 18th june.This is a perfect summer training program and I am having a good time with the people of dgplug.So far we have learnt about communication skills,shell commands,FHS,vim editor.I would like to thanks to kushal and all the mentors


by iampooja at June 25, 2017 03:57 PM

Mohsin Mumtaz

DGPLUG Summer Training

The 10th year summer training by DGPLUG started last Sunday. Every year people like Kushal, Sayan and team at DGPLUG take time from their usual schedule to teach on how to get started contributing to open source projects. The training is conducted at DGPLUG IRC channel for a period of 3 months. Initially, I was a bit reluctant to sign up as I wasn’t sure on how things would work, I mean, IRC is just a simple text messaging over the internet but works with less bandwidth.

Now as I complete 1 week of training, I’m pretty much sure on how things actually work over a chat. I feel that’s the probably best way to be taught about a topic because there is a lot of interaction between people in the channel. You get stuck in something, there are always people willing to help you out. Looking forward to rich interactive sessions ahead.


by Mohsin Mumtaz at June 25, 2017 01:53 PM

Abhinav Shirur

TH9 GoBoLaLoon

Hello fellow readers! Today I am back with another article, in which I am going to explain about my favourite 😀 attack strategy- GoBoLaLoon. I learned this strategy from my older clan.And since then, it has been my favorite. If you don’t want to read and prefer visuals, go for this video. However, it is not as much effective now as it was 4-5 months ago. The recent loon nerf and the new meta bases (with air defenses away from the queen) has made this strategy harder. However it is still viable against many of the common/internet and old style bases. Lets break down this strategy.

 

General Composition:

  • Army Camp: 2 golems, 5-7 wizs, 4 wbs if you have to break into the base first, 2 hounds, remaining loons and few archers for corner huts, if any. 1 jump, 1 heal, 1 rage and 3 hastes.
  • Clan Castle: Max bowlers and poison.

 

What base you should look for ? 

The killsquad portion (Golems,Wizards,Bowlers and Heroes) must take down at least 2 ADs, the enemy queen (if she is centralised, it will be hard) and the enemy CC troops. This easily opens the other part of the base for LaLoon. If any base satisfies this perfectly, definitely go for this attack.

 

Which bases to avoid?

    New meta bases that have air defenses away from the queen/bases that have ads and cannons on a side and other air targeting defenses on the other side. Also, avoid the bases that look tempting for this killsquad’s entry but have a high amount of DPS, in which case, the killsquad and hence this attack will fail.

 

General steps for this attack:

Images that will follow are quite old, I had those when I had started learning this attack. But I am sure they will give you a good visual of what base you should choose and how you should attack.

  • The entry poin: Decide a part of the base with minimum DPS, and by entering it, you can achieve the killsquad’s objective that I have mentioned above.
  • Killsquad : Drop your golem, separated by a good distance and your wizards for funnel. After your funnel is done, drop the bowlers, AQ and the King a bit late. You can follow my previous article . Use wall breakers if you need to break into the base and the jump after it to achieve your objectives. Otherwise, only the jump will suffice. Don’t worry about the enemy cc troops, max poison and your AQ will take care of those. Rage up the bowlers when they are about to reach the core. Use the heal only if you want them to survive and do more damage, otherwise save it for the loons, if LaLoon portion has harder work to do.
  • LaLoon: Once your killsquad has achieved it’s objectives, go with LaLoon for the other 2 ADs and the remaining base. Go behind the sweeper, if saved, use the heal on your loons for a tesla farm or high DPS section. Use the hastes wisely. Drop wizards behind the loons to start the cleanup I am thinking to make an article for LaLoon soon 😉

Here is a screenshot of a base that I once attacked:

Grey lines: golems, blue lines: wizards, yellow lines: heroes and bowlers, a jump and a rage for killsquad. I got the enemy queen, 2 ADs and the enemy cc troops. Then, counter-clockwise laloon.

Here are few more sample images. In some of these, I have shown a grey part (which is taken down by the killsquad) and the laloon direction . Plan for the rest of the images and do let me know in the comments section, I will review the 😛

      

This attack is powerful, easy to learn and much difficult to master 😉 If you want view more replays of this attack, head to Mark’s War Journal YouTube channel from my navigation section in the header 🙂

Try this attack in your wars,friendly challenges and keep practising, let me know your views and results 🙂

Do share this article with your clanmates. Comment down any doubts/suggestions below. Do subscribe to my blog for receiving email notifications about new articles 🙂

 

This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it. For more information see Supercell’s Fan Content Policy: www.supercell.com/fan-content-policy.

 

Share

by WifeStealer at June 25, 2017 01:47 PM

Kshithij Iyer

Dreads

Dreads:

New tumblr handle to post all the images of my vehicles and my story with them…

June 25, 2017 10:06 AM

Himanshu Awasthi

June 24, 2017

Mayank gupta

Day 1 (The not so interesting blog)

Welcome to Day 1 of my not so interesting blog. Those who are not impressed by this first line please keep reading I’ll try my best to be as me as possible.

For those who know nothing about me please read till the end. (Bait to keep you reading :P)

Enjoying my holiday (I recently completed my first year doing engineering). Holidays started from the 19th previous week and now I’ll soon be leaving for my university *taking a bite from his pizza*.

Starting my day, actually my afternoon because I wake up at past 12 PM. *sees mom staring at me*. “What’s the matter maa ?”, I asked. “Kuch nai game khelo!!”(Nothing, just continue with your games !), maa replied. “I’m writing a blog!” God!! yes another point I’m a gaming freak, not actually addicted but I play for 4 to 5 hours no break. It’s already 12:47 AM. And here I return 1:28 AM got stuck to youtube (Regular 3 hours!). And, you people just figured out that I spend 7 to 8 hours doing shit! (I eat all sort of junks and workout and then blame my mother for making delicious food and for making me gain weight). Arrrggghhh!! it’s 2:30 and I’ve written only this much.*makes a cup of black coffee*

*Taking a sip* I wasted another 15 minutes, god knows what will I do in life. I grew up being the most average child in India, born and brought up in Kolkata had an always competing life. At school was a decent student scoring above 80’s then something named HIGH SCHOOL came up and I went down to 70’s, computer and biology being the only subjects I could score a 90+ at. But now I had to choose between them and took up computers because “Dentist nai banna tha!”(Didn’t want to become a dentist!). And so like the majority of computer science student I also took up Computer Engineering, because I love to type across that bright blue screen.

My love for coding and computers lead me to a University far from home, Gwalior is where I’ll stay till I graduate and get a job (I don’t know how). And I have completed my first year as mentioned earlier, somehow I saved myself from maths and mechanics and engineering graphics. Let’s see what 2nd year will be like. My college life is basically basic, a boy having less than 75% attendance actually below 60%, performed in front of public (I sing!), somehow managing to be alive after eating the mess food and leading a happy hostel life. But, I’ve thought of making my 2nd year amazing but have still not figured out what to do. So, I join #dgplug (A great learning channel on IRC) as told by my elder cousin and they inspire us to write blogs and so this is the reason behind me writing a blog plus I love trying new things.

So those who have made it to the end of the blog, Thanks!

It’s my first try at writing a blog. Please support and give me ideas so that I can continue this. It’s already 3:40 AM and I found someone on my IRC just like me Cyber_freak (Thanks for talking about the most random things with me. Respect!)

Huge shoutout to Cyber_freak, It was a nice time talking to you and knowing you. Hope we meet soon.

So dear readers it’s the end of this boring blog. Goodnight!

 


by mostrandomrichard at June 24, 2017 10:27 PM

Amarjeet Singh

A must join Summer Training…

Recently, I have joined a summer training organised by LINUX USERS’ GROUP OF DURGAPUR.  They are a group of volunteers who are acclaimed in open source community. I got to know about this training from one of my senior in the college.

We meet at IRC on weekday at 7:00 p.m. IST. We not only learn Programming language but know about open source community, conversation skills, and many more. There is a lot of fun to gather there.

Overall, it is a worth spending summer for me as I am a part of such training program.


by amarjeet7singh at June 24, 2017 09:00 PM

Robin Schubert

Why another blog?

To be honest

I thought that blogs were a trend of the 2000s that has ended a long time ago. I my life I have read only a handful of blog-posts but never followed a blog regularly, and I definitely never thought that I would start writing my own blog one day.

However…

This blog is part of a project I started recently. I think it must have been a @nixCraft tweet, that wrote about an online summertraining from the Linux User Group of Durgapur, that offers training to anyone who is interested in contributing to F/OSS projects, and introduce them to the most important tools and guidelines to prepare and advice them for contribution in any software project of their choice. From what I understood, the course is lead by Fedora developers, mostly, plus some guest speakers from other known projects.

Q&A with a group of experts

It’s just been one week of training now, but I already got hooked; I’ve been coding for quite some years now, but I’m coding alone. I always wanted to do projects in collaboration, but at work, there is just no-one else who could join me (we’re a very small business). Switching to Linux fully a few years ago and learning Python brought me closer to the F/OSS world, and I am fascinated. I’m using and enjoying free software and admire everyone who spends time and effort in developing these great tools. Like so many others, I need a lot of them in my daily routines, and I think it’s time to give something back to the F/OSS world by contributing myself.

An IRC classroom

…is very much like a real classroom. So far, I’ve used IRC only sporadically; from my experience, the channels were often full of users but hardly anyone typed back if I had a question I could not find answered elsewhere. This summer-training is definitely different, and I’m usually smiling from class begin to class end. There is a teacher speaking and there are students … speaking, of course. Some students join late, barging in, asking what they missed so far, some will never stop chiming in asking questions that have been answered many times before and and some just trolling around. I feel like I’m in school again and I’ve missed that feeling. It’s hilarious to follow discussions between students and experts and I really appreciate the patience of the teachers; while I’m learning a lot about communication, I’m having a lot of fun at the same time.

So why a blog?

I don’t think that many people (if any) will read this blog, but that’s not important. During the last week of summer-school, the sessions included communication & netiquette, touch-typing and vim. Often, some links with further information and documentation is provided to read for homework, but this Friday we were advised to start and write our own blog, mainly as tool to track our own progress and projects. I’m not absolutely sure what I will write about, though. But I will definitely try to document my own progress of getting into contribution of a free software project of my choice. Writing down my experiences and progress may really be helpful for me; so far my documentation consists of my git commit messages and my (quite infrequent) comments in my code. Maybe this blog will help me tidy and sort my thoughts and accelerate my progression.


by schubisu at June 24, 2017 07:47 PM

Jason Braganza

On Starting Summer Training at #dgplug

I started out with a very vague idea, of learning programming last year.

I went to Pycon India, fell in love with the community, decided to learn software, and came home all charged up.
(Btw, I was so intimidated, I did not speak to a single soul.)

The plan was to sort personal issues, tackle a couple of major work projects so that I could then focus on learning, clear the decks and go full steam ahead come April.

While I made headway, I was also missing the hum and bustle of Pycon that had so charged me, but I did remember one session I attended, that had left me smiling was a sponsored talk of all things, by a certain Mr. Das. Off the cuff, naturally, warmly delivered.

So as I was looking for … someone to talk to, somewhere to belong, who comes along but Santa Das.

While that trip didn't quite happen due to personal reasons, we still kept in touch.
(Why he would do that with a newbie-know-nothing like me, I don’t know. The man has a large heart.)

And when the new session of #dgplug was announced, I jumped at the chance!

To those not part of the dgplug summer training, read all about it here.
The brave1 souls at the Linux Users’ Group of Durgapur take in a bunch of kids (and adults) who want to learn all about the magical world of software programming and give them tools with which they can paint on that vast canvas.

Our goal is to bring in more upstream contributors to various FOSS projects.
Through this training we show the path of becoming an upstream contributor.

— from the DGPLUG summer training page

Communication skills, free software projects, documentation, system administration, source code management, time management, conference proposals and obviously basic programming – the whole gamut is covered here.

So while any odd duck can learn on their own, the DGPLUG summer sessions will help you become a well rounded individual who can code and contribute to the world.
A software finishing school, if you will :)

Kushal and the training and it’s successes have been featured in opensource.com time and time again.

A look at the guest speakers (including the all father of Python and the cream of the Indian Developer community) should be enough to convince you to come join.

It’s only been a week, and I’ve been having a ball!
We covered communication skills, touch typing and the vi editor this week!
If you hurry, you can catch up and work with us.

And for my new #dgplug family, here’s a little something, something2 about me to close this post with …

  1. Yes, I am obviously hiding my big, fat tummy in the pic. :) 3
  2. I’m like a poor man’s, still failing James Altucher.
  3. Yes, I’m a lot older than most of you. :) 4
  4. I’ve been at this IT thing a long time. (since 1997, in fact.) 5
  5. And yes, only now do I get the bright idea to learn software.
  6. I love the fact, that I get you to be my plus-minus-equal.
  7. You folks make me feel all warm and enthusiastic and welcoming and make me feel like I found my tribe!
  8. I’m still head over heels in love with my better half, and live with her in a cozy li’l Thane (Mumbai) home, not far from my parents :)

I look to learn so much from you and know so much more of you over the coming months.
I wish you all make good art!

  1. (& foolhardy, dare I say :P )

  2. My grandma says that :)

  3. dropped 7 kgs to 89. Only another 20 to go!

  4. not necessarily wiser :P

  5. land line telephone fixer boy, hardware tech support at small firm, hardware tech support at huge firm, freelance engineer, consulting engineer, consulting manager.

by Mario Jason Braganza at June 24, 2017 06:33 PM

Saikat Dey

LIFE IS NOT A TIMER!

To all my dear procastinators! To all the planners and contemplators! To all the maybe-tomorrows out there! (including me),

A day spent is not a day wasted.

Everyday  spent is not everyday wasted!

In fact, every moment spent is a new experience, a new lesson, a new discovery, a new you!

Life is not a timer running backwards, counting down, no it’s not.

Life is a stop-watch. It is running. Always. Even when you are sleeping. But you cannot stop it. Nobody can, or better say, nobody should.

It is running as I write it. It is running as you read it. Make the most of it before it stops. OUTRUN IT!

LIVE!


by SAIKAT DEY at June 24, 2017 05:57 PM

Himanshu Awasthi

How do study Python in 12?

If you are in 12 then its peak time for you for go ahead in your life . As you mention that you would like to learn Python then there is lots of material present in web. You can follow some video tutorials for learning Python.

I will tell you few basic thing if you are new in Python and wants to learn Python by your own.

1. Start with any good book of Python like Byte of Python or Dive in to Python . these books build great foundation.
2. You should first learn the structure of Python and then Start write code from Codecademy and Hacker Rank.
3. If there is any local meetup group of Python then Join that group and be the active member of that meetup group.
4. When you able to understand the structure of python ,then start contributing to Open-source project . There are so many projects present in Git and Open hash.
5. There are so many branches in Python like Web Development , Software development , Data Analyst etc.

And one of the most important thing never skip to any point until you satisfy to your performance.

Best of Luck


by kanpurpython at June 24, 2017 05:44 PM