mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
247 lines
No EOL
12 KiB
HTML
247 lines
No EOL
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
|
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
|
|
|
<title>Fork you ! or how the social coding can help you - Carnets Web</title>
|
|
|
|
<meta charset="utf-8" />
|
|
<link href="https://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Carnets Web Full Atom Feed" />
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/poole.css"/>
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/syntax.css"/>
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/lanyon.css"/>
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/styles.css"/>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
h1 {
|
|
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
|
|
padding: 80px 50px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-rendering: optimizeLegibility;
|
|
color: #202020;
|
|
letter-spacing: .1em;
|
|
text-shadow:
|
|
-1px -1px 1px #111,
|
|
2px 2px 1px #eaeaea;
|
|
}
|
|
|
|
#main {
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
#main h1 {
|
|
padding: 10px;
|
|
}
|
|
|
|
.post-headline {
|
|
padding: 15px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
|
|
styles, `#sidebar-checkbox` for behavior. -->
|
|
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
|
|
<!-- Toggleable sidebar -->
|
|
<div class="sidebar" id="sidebar">
|
|
<div class="sidebar-item">
|
|
<div class="profile">
|
|
<img src="https://blog.notmyidea.org/theme/img/profile.png"/>
|
|
</div>
|
|
</div>
|
|
|
|
<nav class="sidebar-nav">
|
|
<a class="sidebar-nav-item" href="/">Articles</a>
|
|
|
|
<a class="sidebar-nav-item" href="https://www.vieuxsinge.com">Brasserie du Vieux Singe</a>
|
|
<a class="sidebar-nav-item" href="http://blog.notmyidea.org/pages/about.html">A propos</a>
|
|
<a class="sidebar-nav-item" href="https://twitter.com/ametaireau">Messages courts</a>
|
|
<a class="sidebar-nav-item" href="https://github.com/almet">Code</a>
|
|
</nav>
|
|
</div> <div class="wrap">
|
|
<div class="masthead">
|
|
<div class="container">
|
|
<h3 class="masthead-title">
|
|
<a href="https://blog.notmyidea.org/" title="Home">Carnets Web</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container content">
|
|
<div id="main" class="posts">
|
|
<h1 class="post-title">Fork you ! or how the social coding can help you</h1>
|
|
<span class="post-date">05 novembre 2010</span>
|
|
<img id="illustration" src="" />
|
|
|
|
<div class="post article">
|
|
<h1>🌟</h1>
|
|
<p>With <a class="reference external" href="http://github.com">github</a> and <a class="reference external" href="http://www.bitbucket.org">bitbucket</a> coming around, a lot of new usages appears for the
|
|
developpers: it's now easy to get feedback on your code/modifications, and to get
|
|
help from others by, for instance, forking repositories.</p>
|
|
<p>Eeach time I see people helping others, I'm amazed by how we like to share
|
|
our knowledge.</p>
|
|
<p>I say github, because it seems to be the more mainstream, but I think it's
|
|
something strongly related to the <a class="reference external" href="http://en.wikipedia.org/wiki/Distributed_revision_control">DVCS</a> principles: the "only" thing github have
|
|
made is to turn that into a social network, and to reveal the awesomeness of the
|
|
DVCSes to the masses.</p>
|
|
<p>What is really interesting is to see how this platform is addictive: it's
|
|
automatically updating a webpages with the more accurate informations about the
|
|
projects you're involved in, and add a bit of magic to that using webhooks,
|
|
allowing you to update your website each time you push to you repository, for
|
|
instance.</p>
|
|
<p>Quite nothing, indeed, but, I don't know why, I find this fascinating.</p>
|
|
<p>I haven't had the privilege to see my projects forked from github by strangers,
|
|
but I've forked others repository to give an hand some times, when I wanted to,
|
|
and the main reason is "because it's <strong>fun</strong>" to do so.</p>
|
|
<p>Yeah, you're probably right, you have to be a nerd to find fun to fork others.
|
|
The good point is that geeks are a kind of nerds, and some geeks are coders :)</p>
|
|
<div class="section" id="new-ways-to-contribute">
|
|
<h2>New ways to contribute</h2>
|
|
<p>In addition, it seems that he community, or the communities, are there, on those
|
|
new social networks for coders. It's really handy to drop an eye on interesting
|
|
projects, to report bugs, propose new features, and check what new projects this
|
|
or this person have made.</p>
|
|
<p>Well, "it's not new", you may think. That's true, because it's been a while that
|
|
SVN was there and even CVS before that. But, it was a bit messy to "fork" a
|
|
project, isn't it ? And I'm not talking about all the hell SVN involved with it
|
|
(who have not had issues with those messy .svn folders raises an hand !).</p>
|
|
<p>It have not been so easy to share code and thoughts about code, to propose
|
|
changes on existing code, than now. You think it's better to implement this or
|
|
that in a different way ? Clone it (fork it), make your changes and publish
|
|
them, and then ask projects owners about it. For sure you'll have answers.</p>
|
|
<p>Even if they don't want it, you can easily keep your changes, and keep getting
|
|
their updates!</p>
|
|
<p>Also, lot of <em>fashionables</em> projects tend to move on DVCS.
|
|
Personally, if I know I can fork on a DVCS instead of from a "simple" VCS,
|
|
I'll probably be quicker to fork/clone, and to publish changes on my own copy,
|
|
than if I had to do so on the upstream repository (and I'll likely dont have
|
|
the rights to push to it), because I will not be afraid to break things.</p>
|
|
<p>DVCSes makes the contribution easier.</p>
|
|
</div>
|
|
<div class="section" id="release-early-release-often">
|
|
<h2>Release early, release often</h2>
|
|
<p>Maybe have you read <a class="reference external" href="http://www.catb.org/~esr/writings/cathedral-bazaar/">The cathedral and the bazaar</a>, by Eric Steven Raymond ?
|
|
(If not, consider doing so, it's a really interesting reading)</p>
|
|
<p>Among a lot of others interesting things, one hint he gives is <em>release early,
|
|
release often</em>.</p>
|
|
<p>I understand it as: if you want to get contributors, release your code early,
|
|
even if it's not perfect, and don't be afraid to publish your changes each
|
|
time it's needed.</p>
|
|
<p>Without notifying it, that's basically what I was doing for my own projects.
|
|
I guess that's because Social coding platforms encourages those practices,
|
|
partially cause of the possible impact publishing each of your changes can have
|
|
on your final solution.</p>
|
|
<p>If you have considered publishing your projects, code snippets, or whatever
|
|
(code related) but did not done it, considering them not yet ready, maybe
|
|
should you think about it twice: you can get feedback and probably start some
|
|
interesting discussions about it, if you write code that's readable, of course!</p>
|
|
</div>
|
|
<div class="section" id="a-step-further-for-open-source-softwares">
|
|
<h2>A step further for open source softwares</h2>
|
|
<p>Well, DVCSes are a honking great idea, and they're starting to be really
|
|
powerful when applied to free softwares. I mean: if you can't see a project,
|
|
it will be hard to contribute to it. And, I don't think anyone wants to
|
|
contribute to something closed/proprietary, <em>just for fun</em>. Or maybe am I
|
|
missing something.</p>
|
|
<p>Maybe it's a kind of revolution, about free and open source softwares (<a class="reference external" href="http://en.wikipedia.org/wiki/Free_and_open_source_software">FOSS</a>),
|
|
that is going on. I really like to know I have my word to say about the changes
|
|
in the tools I use, and to know that I can make them evolve.</p>
|
|
<p>Let's take an example. Imagine I'm using a web framework on daily basis, as a
|
|
part of my job as a web developer. I do like using an open source software
|
|
because I know how it's working, and because I know that I can interact with the
|
|
authors of the framework while they're doing the changes on it.</p>
|
|
<p>That's communication, nothing more, and of course I can do that with an internal
|
|
proprietary solution, but it will cost me <strong>a lot</strong> more time, for a dead-simple
|
|
reason: a company is not as big and powerful as a community can be: it will cost
|
|
time to work on this framework, resources to maintain it, fix bugs etc.</p>
|
|
<p>Well, I'm starting advocating here about Free and Open Source Softwares use on
|
|
companies, what is a bit beyond the scope of this article, so let's back to
|
|
our DVCSes and new social related tools.</p>
|
|
<p>If I find a bug in this framework, while working, I have the possibility to
|
|
go and talk with the creators of the framework, to open a ticket, and even to
|
|
make a fix for it, because I've access to the source code. If I want to create a
|
|
new feature, I just have to fork it, hack it, and then publish my code to have
|
|
feedback of the community.</p>
|
|
<p>My fix/work will benefit to all the people (and maybe others companies) working
|
|
with this framework, and it's a way to prove the community that my company is
|
|
enough skilled to make code-fixes to the framework, so that's all good !</p>
|
|
</div>
|
|
<div class="section" id="what-s-next">
|
|
<h2>What's next ?</h2>
|
|
<p>I hope those social coding platforms are only the begining of a new area. I hope
|
|
they will make people realize what the power of the community is, and how easily
|
|
they can becomes part of it.</p>
|
|
<p>If you're not using them right now, maybe you should do so: have a
|
|
look on how the programs you're using are made, consider publishing your
|
|
experimentations, and share them with others, you will see, it's kind of
|
|
addictive !</p>
|
|
</div>
|
|
|
|
Vous pouvez également <a onclick="(function(){
|
|
let here = document.location;
|
|
document.location = `http://pdf.fivefilters.org/simple-print/url.php?size=A4#${here}`;
|
|
return false;
|
|
})();return false;">télécharger cet article en pdf</a>.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
|
|
|
|
<script>
|
|
(function(document) {
|
|
var i = 0;
|
|
// snip empty header rows since markdown can't
|
|
var rows = document.querySelectorAll('tr');
|
|
for(i=0; i<rows.length; i++) {
|
|
var ths = rows[i].querySelectorAll('th');
|
|
var rowlen = rows[i].children.length;
|
|
if (ths.length > 0 && ths.length === rowlen) {
|
|
rows[i].remove();
|
|
}
|
|
}
|
|
})(document);
|
|
</script>
|
|
|
|
<script>
|
|
/* Lanyon & Poole are Copyright (c) 2014 Mark Otto. Adapted to Pelican 20141223 and extended a bit by @thomaswilley */
|
|
(function(document) {
|
|
var toggle = document.querySelector('.sidebar-toggle');
|
|
var sidebar = document.querySelector('#sidebar');
|
|
var checkbox = document.querySelector('#sidebar-checkbox');
|
|
document.addEventListener('click', function(e) {
|
|
var target = e.target;
|
|
if(!checkbox.checked ||
|
|
sidebar.contains(target) ||
|
|
(target === checkbox || target === toggle)) return;
|
|
checkbox.checked = false;
|
|
}, false);
|
|
})(document);
|
|
</script>
|
|
<!-- Piwik -->
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//tracker.notmyidea.org/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', 3]);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<noscript><p><img src="//tracker.notmyidea.org/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>
|
|
<!-- End Piwik Code -->
|
|
</div>
|
|
</body>
|
|
</html> |