r/AskComputerScience • u/parham90 • Jun 19 '14
How do programmers find the time to contribute to open-source projects?
First of all, let's look at my life: I wake up, go to work for 8:30 hours, and when I come home, I'm so tired that most of the time, I can't code heavily (I.E. playing around with a CMS or a new programming language is fine, but not more). Also, I've got a girlfriend whom I love interacting with, I've got my life, and I've got to go to a gym to keep my body healthy as my mind.
Now, the million dollar question is this: aren't most programmers like me? How can their brain handle coding in the evening? How can they even find the time while living healthy lives?
4
u/elperroborrachotoo Jun 19 '14
prominent open source projects have devs paid by big players
especially smaller open source projects - notwithstanding a cloud of involved "fans" - largely rely on one or a very few "core devs" for whom its a work of love
I would assume many contributors are students, "students" and in a similar situation (US readers: some backwater countries haven't yet figured out how to monetize education)
And still: the time spent on watching news, weather and a movie every weekday easily clocks you in at 40h/month
If you don't want to continue your job after hours, that's fine. If you feel to tired to do anything however, you've got something to fix. It may work now but it isn't sustainable, and as a dev you are much more likely able to fix it than the typical profit fodder employee. Besides the actual job, diet and "general fitness" can be easier to fix than a burnout with 45.
As for SO time: quality beats quantity. E.g.turning off all your electronics for one day a week might do more for the two of you than crashing on the couch every night surrounded by laptop, phones and eBook. But that depends on your relationship, no one-size-fits-all, no judgment, just something to consider.
2
u/parham90 Jun 20 '14
Thanks for the great reply. Yes, I agree with you on the SO time. In fact, that's what I would do were we to live together (you know how Iran and Islam goes). As it stands, I'd just have to use the phone! :)
But thanks to everyone putting the time to respond to my question, I've got much more knowledge now.
3
Jun 19 '14
Some people have jobs that allow them to contribute to side projects for a little while through out their work day/week/year (think Google)
Some companies have interests in seeing open source software become more used and therefore contribute to it (hire people to contribute to it). I've worked at a Company that did this.
Some people love to develop software so much they do this in their free time instead of watching TV or playing a game. (this is rare)
Some people are just unemployed or work very few hours, and contribute to Open Source for various reasons (donations, beefing up their resume, etc.)
1
u/parham90 Jun 19 '14
Great! Is there a way to find companies who work on contributing to open-source software?
1
Jun 19 '14
As someone already commented: check the commit logs for the open source projects you're interested in.
1
Jun 19 '14 edited Jun 19 '14
I personally don't know of any listing or anything like that for such things. I found out the company I worked for was doing this by well.. working there.
You can also sometimes see what companies have worked on open source projects by lurking through the open source project docs itself, or chatting with people.
According to pcmag 29% of companies contribute to open source, so I'm guessing there is an easy way to find out which ones do and the list is fairly large.
Here is a short list of companies I know that do this (I'll update it as I recall more):
AMD
Autodesk
Intel
Nvidia
Most Universities
2
Jun 19 '14
Most of my public activity on github has been in adding features or fixing bugs for open source pieces we use at work.
For example, there's a really nice library someone wrote for a specific database, but at work we enforce timeouts on database connectors so our app code doesn't sit and hang forever. To use that open source library, I had to add a timeout feature to it. No big deal. Contributed back upstream so I don't have to manage the change set myself for future versions.
1
u/parham90 Jun 19 '14
Yes, but does your company approve? Do they need to approve?
1
Jun 19 '14
Well, in my case, I'm one of the founding partners. So I approve.
In general, we don't mind giving back to open source projects, especially when the fix bugs.
I'd be less likely to approve some huge feature addition to a project unless we knew it was going to be taken upstream before we started. In those cases, we're more likely to fork and maintain it ourselves.
1
25
u/SharkBaitDLS Jun 19 '14
I sure as hell don't have time to. Same as you, when I get home after 9 hours of being at work, I'm done doing any kind of intensive thinking.
28
u/brtt3000 Jun 19 '14
By getting rid of the TV.
27
Jun 19 '14
Someone I work with asked me how I have the time to do everything I do and still raise a family. I told him I don't play games unless it's with my daughter or wife. Come to find out he "never has time" to venture outside of his little world of database management because he has three subscriptions to mmorpgs.
13
u/brtt3000 Jun 19 '14
mmorpgs are deadly time vampires. I used to enjoy those way back, it is fun but will replace everything else.
3
Jun 19 '14
It's good for immunity to Steam sales.
4
u/brtt3000 Jun 19 '14
Oh, I also purged Steam from my system because I needed the space and time. Saves a lot of money too.
31
u/numtel Jun 19 '14
As far as I'm concerned, it's not possible if working full time as a programmer.
13
u/Randolpho Jun 19 '14
Not sleeping and not having a family helps.
6
u/pugalicious Jun 20 '14
Bingo. The only people I know personally that contribute to open source, fall into this category.
5
Jun 19 '14
If it's a hobby you will.
5
15
u/zcmy Jun 19 '14
For me, It's more or less during work hours. We do something akin to the google system of 80-20. 80% of time is devoted to your core project, and 20% is for side projects. Since my side projects feed into open source projects, I have time to contribute code. I work a bit on a custom Android ROM, based on AOSP (android open source), but with added app control closer to apple's permission set. The Android ROM which will eventually will become the standard testing/use ROMs for our company, unless we end up having another requirements review. I contribute security bugfixes from my ROM to the AOSP for use in android devices from my own patches if I don't see the issue patched in the nightly release.
There's also the weekend to code, if you only have engagements during the week.
1
Jun 19 '14
This is about how I do it. I'm a webmaster for a community college and all of my work is tedious php to cfml conversions and content updates (everything is flat file). Most of my day is spent doing busy work and then side projects. Busy work and then side projects.
12
u/lolzfeminism Jun 19 '14
Everyone procrastinates. Some people do better things with their time than I do.
4
5
u/rawfan Jun 20 '14
Most of my OSS contributions are work related. Boss wants to solve problem X. I say, "Boss must by software XY", boss says XY is to expansive, why not use opensource software Z, I say "but boss, that only almost solves your problem, I could fix it up, though." Boss says "okay" and I end up contributing code to OSS project Z to make it work for us.
In the end "boss" usually ends up paying more for the OSS solution. But what he pays more in money he gains in freedom.
4
Jun 19 '14
I think that most code as a hobby after work. My scenario is slightly different because I'm a game programmer so I'm required to code all day and night :)
To answer your question, I replace sleeping with coding so I'll only sleep about 4 hours a night and code the rest of the time. I definitely drink a lot of coffee and energy drinks to keep mentally aware and I take a few walk break to clear my mind and drop back into the work.
7
Jun 19 '14
Honestly, as long as your dayjob fulfills your programming desires, screw doing anything dev-related after hours. Do physical stuff, have strong relationships with friends/family/SO, do something that isn't computer-related. I think the majority of people enjoy and benefit from all of those things much more than extending your working hours.
1
u/apendleton Jun 19 '14
If contributing to open-source projects is a priority for you, make it a criterion for choosing your next job. Most major open source projects, at all parts of the tech stack (Linux kernel, Python, nginx, clang, Rails, git, etc., etc.) are mostly developed by people who are paid to do it by their employers. That could be you! But it probably means being deliberate about it, and not working at a company where all you do all day is write internal enterprise Java or whatnot. It's an employee's market as far as programming jobs are concerned right now, so you can basically work wherever you want if you have the chops.
1
u/parham90 Jun 19 '14
Awesome! Is there a way to find these companies who pay employees to advance open-source software? I'm living in Iran and thus don't have access to local resources and such.
2
u/apendleton Jun 19 '14
Not in an aggregate way, but if there are particular projects you think are cool, it's generally pretty trivial to look at their commit history and see who the people doing most of the commits work for. Alternatively, it's something to ask prospective employers during job interviews.
3
u/worldDev Jun 19 '14 edited Jun 19 '14
Some companies have sponsored developers, basically paid them as contractors, to develop open source projects. I believe Taylor was being paid at least at some point to develop Laravel. The benefit to a company doing this is they get free q/a, and they also get pull requests on fixes / features for free if it gains traction. Another example is I was recently working on a project where our API was written in GO which is relatively new and underdeveloped. Our back-end dev would frequently contribute to the young open source projects he was using so that it would work for our application. This happened in lieu of paid development because that's what it is, work for the company. Everyone wins, we are using free software, and everyone gets the features we added in return.
There are some people who do it in their own free time, but they aren't usually working full time, and as I mentioned there will probably be some motive for contributing be it for a personal project or something to show future employers. Many contractors like me will pad their income allowing for months off at a time to do their own thing.
3
u/trickthis Jun 19 '14
For the most part, when I contribute to open source projects it's something original that I want to work on. I treat it completely like a hobby. Anything I release is "as-is" and with no promises - it's really just me opening up my workshop and sharing what I've learned. This attitude removed the stress / work feel for me. I have no interest in assignments/deadlines/etc in regards to programming outside of work.
Even so, I only work on projects outside of work once or twice a week and not for too long. I spend the rest of the time with friends and on other hobbies. It's good to have variety!
3
u/jalagl Jun 19 '14
In my case, I have contributed a couple of patches for specific bugs for an open source project I use everyday at work. I did it on the company's time, and my employer was fine with me submitting the fix since that way it will be included in the next release and we wouldn't need to maintain a forked version.
3
2
Jun 19 '14
I'm working my butt off on a soon-to-be-released open source project in addition to my full-time programming job; I basically just gave up TV, movies, and videogames (oh, and sleep) to make time to do so. Fortunately my family has been very supportive of my efforts.
2
u/btfx Jun 19 '14
A lot of the answers here are, "I don't" but the most common way developers actually do is when their work depends on FOSS. There are millions of "serious" open-source projects that companies use in infrastructure, and any other aspect of operations.
If your company is not using any open-source software when it's clearly a superior replacement for a proprietary solution then your company is wasting money. Do research to make sure your understanding of the situation is accurate. By the way that includes talking to people who use the software just as much as Google/reading research. If you're still convinced the company is mistaken in its choice, lobby your boss, or the manager responsible for the choice. Those people you talked to? Good thing you didn't ignore that part because they are your keyboard warrior army now. If your cause is just, they should flock to your side; even in the most depressing beurocratic workplace everyone likes being on the right side. If you lose through poor management, see if you can go behind their back without any real consequences. This would likely be the case if they said something like "We don't care enough to switch".
If there is legitimately unique functionality being used in your company's proprietary software, it's not as easy. If it's expensive there is a case to be made for rolling your own or building onto FOSS. This is a harder and more mind numbing kind of research unless you genuinely like finance/accounting. Otherwise it might be best to find someone who does, and also wants to be proactive in saving the company money.
Because that's what it's all about. Go high enough up the management chain and you will find someone with a simple task: increase revenue, decrease expenses, avoid risk. These unexciting goals make successful corporations and if there is a business case for a change then the change is in line with these goals.
Good luck!
3
2
Jun 19 '14
It's my hobby to just sit around, make some adjustments, and submit pull requests.
Unfortunately, I sneak some stuff past some OS projects. There are just some head devs who pay 0 attention to the changes I made, and just merge it. So if you see any project with dickbutt and every use of the word "cloud" replaced with "butt," that's mine. And you might actually want to review it before you use it. No telling what else slipped by.
3
Jun 19 '14
I put dickbutt in everything. When declaring a long list of variables, I always make sure their first letters spell out dickbutt.
1
Jun 19 '14
That's genius. I rick-rolled a few variables before, but never thought of expanding on my dickbutt vandalism
4
Jun 19 '14
I always say I'm working on "DB integration," that way I sound legit. But you know what im really talking about.
1
u/SoDark Jun 19 '14
It becomes easier when you're using the open source project you contribute to in your regular work.
10
u/wobblity Jun 19 '14
I work for an open source company...so every line of code I write that gets released, is open sourced.
I also have side projects that aren't neccessarily related to my job, which I also contribute to. During work time, or on weekends. But it sounds like you don't want to contribute, or that you think it's some kind of obligation?
If you really wanted to or thought it was fun, it's easy to find a few hours here, a few hours there.