10 July 2015
22 May 2015
Context- this post is taken from LUGIITD mailing list.
I personally think that I also made a mistake.
8 year before, I named this group as linux user group. If I have access to time machine then I would have changed it to 'open source developer group'. OSDG.
There is big difference between both. Lug focus more on promotion and advocacy. Name and motivation of this group has affected life of many students. Now I personally realized that it was my mistake. Somebody should have told me that we are technical persons, software engineer and coding skills are our bread and butter. So having a open source developer group in technical college is most suitable.
FOSS coding group will automatically focus more coding hackthons and coding skills rather than just promoting Linux as alternate OS.
Concept of lug started long back and it adopted in many countries. It was a need of that time because linux users were facing many problems.
Now this is not use case at 2015. It is well adopted.
Having good coding skills will give you good job and money.
I still remember few year back I left my job and gave almost 2 year for promoting Linux. I was not having any idea that what i was doing. Nor I was having proper vision. Just like somebody cannot earn much by knowing window, same applies to Linux as well. Having good linux skill and little bit of admin skills will help in getting a good job. But not sufficient. Later I realised that software engineering is all about creating software and coding them using some programming language. Fortunately I was excellent coding skills too but never utilised at that time.
After 2 year of struggle and my startup got collapsed, my bank balance was negative. Huge debt. Finally I decided to join some company. I got a job and settled my life and wife. Now my salary is 7x what i was earning after my college graduation. Even Linus earn 10 million per year. Yes that's true.
I got good job because I was having good programming skill set. From last 4 years I totally away from lug but silently contributing my work on github. That is the idle contributions expected from us and not long long email threads.
Even If you use Window to code open source stuff it will great. Lots of open source developer use Mac for development.
Almost every company use open source stuff. It may be like common library or framework.
Companies build solution for their customers. Customers pay for them.
So we must dismantle this group and start promoting open source developer group.
Or just rename it.
And we must work hard to correct this error. We must convey this message to all existing LUGs. Convincing then to convert to or rename as OSDG. Ask them start hackthons and collaborative coding programs. This will lead to better coders and developers. Eventually this will help to startup eco system.
For a technical student, code contributions is best way. And It should be the only way.
So that was the summery of my past 9 year experience.
15 February 2015
If we have this kind of array then we can easily access student using Array Index.
But wait, we also want to do something like
students["aaa"], that is, I want to access students using their unique Id too, much like object notation -
Ex students.aaa should also return proper student.
Again, I want to group them with their subjects too,
students.Math should return Array of all students who has "Math" subject
the normal approach is to create function which do parsing again and again over the Array and give proper result. but Here i have very sweet trick.
Here we go,
So, In the above trick , student.length is not affected, it will remain 3. So after running above code, we have 'students' Array (more precisely - Object Like Array ), like this.
Now, by this method,
students, students.aaa, students.Math will be same,
students === students.aaa
students.aaa === students.Math
More over, If you do change like this
students.name = "A-Modified";
then it will automatically reflected everywhere,
So it means,
students.aaa.name === "A-Modified";
Hope, now you can start using Object Like Array.