<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Fischer dot Name</title>
	<atom:link href="http://www.davidfischer.name/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidfischer.name</link>
	<description>Some Things to Some People</description>
	<lastBuildDate>Sun, 05 May 2013 02:52:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>GitHub Data Challenge II</title>
		<link>http://www.davidfischer.name/2013/05/github-data-challenge-ii/</link>
		<comments>http://www.davidfischer.name/2013/05/github-data-challenge-ii/#comments</comments>
		<pubDate>Sun, 05 May 2013 02:47:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[d3]]></category>
		<category><![CDATA[datavisualization]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://www.davidfischer.name/?p=1071</guid>
		<description><![CDATA[GitHub&#8217;s public timeline contains a]]></description>
				<content:encoded><![CDATA[<p>GitHub&#8217;s <a href="https://github.com/timeline">public timeline</a> contains a wealth of knowledge about contributions to open source software from all over the world. It&#8217;s pretty typical to see over ten thousand contributions of some sort every hour! I decided to focus on the top 200 repositories (by forks) only in order to have a more manageable set of data. Each comment, pull request or commit is tied to a repository which in turn usually has a primary language associated with it. Contributions from folks who didn&#8217;t provide a location were ignored and OpenStreetMap&#8217;s <a href="http://nominatim.openstreetmap.org/">Nominatim</a> service was used to geocode locations into latitude and longitude for those who did say where they coding from.</p>
<p><a href="http://davidfischer.github.io/gdc2"><img src="/wp-content/uploads/2013/05/locations.png" style="border: 1px solid black; margin: 10px; width: 500px" /></a></p>
<p>If you aren&#8217;t from New York City or San Francisco and you contributed to a top 200 repository, you can probably find your own commits if you zoom in enough.</p>
<h5>Contributions</h5>
<p>Not all <a href="http://developer.github.com/v3/activity/events/types/">events</a> are created equal. Watching a repository is not the same as committing code or opening issues. In general, I tried to calculate contributions based on the same criteria <a href="https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile">GitHub uses</a> but I think I&#8217;m not introspecting commits and pull requests as deeply as they are. Typically, for larger repositories, users commit to their own forks &#8212; which I ignore &#8212; and later send pull requests which I&#8217;m counting. However, this discounts a large fork which merged many commits to be worth the same as a one line pull request. The person who actually merges the pull request gets the same credit as the author which actually makes sense when I gave it a second thought.</p>
<p>One way to improve my accounting of contributions would be to look at the actual repositories to see which commits to forks ended up in the &#8220;main line&#8221;. For a repository that actually uses GitHub virtually all commits end up in the main repository through pull requests or via somebody with permission to push directly which appear in the githubarchive.org data. For a repository like <a href="http://davidfischer.github.io/gdc2/#repositories/torvalds/linux">Linux</a> which only stores code on GitHub and doesn&#8217;t accept pull requests it would be nice to actually analyze the commit history. I bet most of the Linux contributors have GitHub accounts to attribute their work to.</p>
<h5>Geocoding</h5>
<p>Geocoding messy data is well&#8230; messy. The location field for users on GitHub is simply a fill-in-the-blank field and users can type anything in there from their city to their university to an IRC channel. Sometimes people just type in a country name which is fine for Singapore but doesn&#8217;t really narrow it down too much for Canada. The locations listed for contributors on the top 200 repositories was surprisingly clean, however. It wasn&#8217;t without <a href="https://github.com/davidfischer/gdc2/issues/20">somewhat humorous</a> errors though.</p>
<h5>Links</h5>
<ul>
<li><a href="https://github.com/davidfischer/gdc2">GitHub repo</a> for this visualization</li>
<li>See <a href="/2012/06/github-timeline-and-social-coding/">last year&#8217;s</a> (slightly late and not so great) entry to the GitHub data challenge</li>
<li>Check out <a href="http://pyvideo.org/video/1759/visualizing-github-part-i-data-to-information">Dana Bauer&#8217;s</a> and <a href="http://pyvideo.org/video/1766/visualizing-github-part-ii-information-to-meani">Idan Gazit&#8217;s</a> PyCon presentations on analyzing GitHub data.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidfischer.name/2013/05/github-data-challenge-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photos from Asia 2013</title>
		<link>http://www.davidfischer.name/2013/03/photos-from-asia-2013/</link>
		<comments>http://www.davidfischer.name/2013/03/photos-from-asia-2013/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 00:46:12 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Travels]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://www.davidfischer.name/?p=1065</guid>
		<description><![CDATA[Here&#8217;s some more photos and]]></description>
				<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2013/03/tokyotowersakura.jpg" rel="lightbox[1065]"><img src="/wp-content/uploads/2013/03/tokyotowersakura.jpg" style="width: 500px; margin: 10px; border: 0px;" title="Sakura with the Tokyo Tower" /></a></p>
<p>Here&#8217;s some <a href="http://www.flickr.com/photos/thefischer/sets/72157633068843838/">more photos</a> and there&#8217;s more to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidfischer.name/2013/03/photos-from-asia-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FOSDEM 2013 Lineup</title>
		<link>http://www.davidfischer.name/2013/01/fosdem-2013-lineup/</link>
		<comments>http://www.davidfischer.name/2013/01/fosdem-2013-lineup/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 23:08:18 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Travels]]></category>
		<category><![CDATA[conferences]]></category>

		<guid isPermaLink="false">https://www.davidfischer.name/?p=1048</guid>
		<description><![CDATA[If you&#8217;re going to be]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re going to be at <a href="https://fosdem.org" title="FOSDEM">FOSDEM</a>, don&#8217;t forget to say hi! Here is a list of talks that struck my fancy at first glance.</p>
<p><strong>Saturday</strong></p>
<ul>
<li>11:00-11:50 <a href="https://fosdem.org/2013/schedule/event/keynote_vibrant_developer_community/">How we made the Jenkins community</a></li>
<li>11:00-11:50 <a href="https://fosdem.org/2013/schedule/event/google_web_services/">How Google builds web services</a> (in PHP?)</li>
<li>14:00-14:50 <a href="https://fosdem.org/2013/schedule/event/security_owasp/">Practical security for developers</a></li>
<li>16:00-16:50 <a href="https://fosdem.org/2013/schedule/event/trends_in_open_source_security/">Trends in open source security</a></li>
<li>16:00-16:15 <a href="https://fosdem.org/2013/schedule/event/the_llvmlinux_project/">The LLVMLinux project</a></li>
<li>17:00-17:50 <a href="https://fosdem.org/2013/schedule/event/pdf_js_firefox_html5_pdf_viewer/">PDF.js Firefox&#8217;s PDF viewier</a></li>
</ul>
<p><strong>Sunday</strong></p>
<ul>
<li>09:30-09:55 <a href="https://fosdem.org/2013/schedule/event/state_of_openstack/">State of the OpenStack union 2013</a></li>
<li>10:00-10:25 <a href="https://fosdem.org/2013/schedule/event/openstack_app_arch/">OpenStack: 21st century app architecture and cloud operations</a></li>
<li>11:00-11:50 <a href="https://fosdem.org/2013/schedule/event/firefox_os/">Firefox OS</a></li>
<li>11:40-11:55 <a href="https://fosdem.org/2013/schedule/event/do_you_want_to_measure_your_project/">Do you want to measure your project?</a></li>
<li>14:00-14:50 <a href="https://fosdem.org/2013/schedule/event/postgresql_as_a_schemaless_database/">PostgreSQL as a schemaless database</a></li>
<li>14:00-14:25 <a href="https://fosdem.org/2013/schedule/event/vaurien_the_chaos_tcp_proxy/">Vaurien the chaos TCP proxy</a></li>
<li>14:30-14:55 <a href="https://fosdem.org/2013/schedule/event/python_humans/">Python for Humans</a></li>
<li>15:00-15:50 <a href="https://fosdem.org/2013/schedule/event/postgresql_implementing_high_availability/">PostgreSQL: implementing high availability</a></li>
<li>15:00-15:25 <a href="https://fosdem.org/2013/schedule/event/security_priorities/">Security priorities for cloud developers</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidfischer.name/2013/01/fosdem-2013-lineup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Note on Pelican &amp; Github Pages</title>
		<link>http://www.davidfischer.name/2012/12/quick-note-pelican-github/</link>
		<comments>http://www.davidfischer.name/2012/12/quick-note-pelican-github/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 15:45:48 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[San Diego Python]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">https://www.davidfischer.name/?p=1037</guid>
		<description><![CDATA[Originally, I built the San]]></description>
				<content:encoded><![CDATA[<p>Originally, I built the <a href="http://pythonsd.org/">San Diego Python users group</a> website as static HTML hosted on <a href="http://pages.github.com/">Github pages</a>. However, as time progressed, the group wanted to have posts for our events with links to presentations and whatnot. I looked at Jekyll but what would a Python users group be generating its website with Ruby. Normally, I&#8217;m all about using the best tool for the job, but all of the group&#8217;s leads/members know Python. I settled on <a href="http://blog.getpelican.com/">Pelican</a> which seems to be the most fully featured of the Python static website generators out there.</p>
<h5>One repository</h5>
<p>Under ideal conditions I would have one repository that hosted all our markdown/reST files and also contained the static HTML output that Github serves. <a href="https://help.github.com/articles/user-organization-and-project-pages">Project pages</a> are a great way to do that and Pelican already has <a href="http://docs.getpelican.com/en/3.1.1/tips.html#publishing-to-github">some integration</a>. Your markdown/reST goes in the master branch and your HTML output goes in the gh-pages branch. <a href="https://github.com/davisp/ghp-import">ghp-import</a> facilitates this quite nicely. There is already a make target for it in Pelican!</p>
<h5>Custom domain</h5>
<p>I already had <a href="http://pythonsd.org/">pythonsd.org</a> and normally on Github pages, pointing to a custom domain is as simple as adding a CNAME file. One tricky part that I didn&#8217;t realize is the CNAME file needs to be in the gh-pages branch. I added an extra line to the <a href="https://github.com/pythonsd/pythonsd.org/blob/dfa913136064802a10aed1a76aca10a66178ddea/Makefile#L61">Makefile</a> to copy it to the output which automatically gets put into the gh-pages branch by ghp-import. If you don&#8217;t do this, your CNAME file will be overwritten by the next &#8220;make github&#8221;.</p>
<p>I considered having two repositories because I had some doubts about how clean a one repo solution would be. In the end, I just needed to figure out exactly what ghp-import was doing. It worked fine and accomplishes exactly what I want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidfischer.name/2012/12/quick-note-pelican-github/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Versioning Software Packages</title>
		<link>http://www.davidfischer.name/2012/11/versioning-software-packages/</link>
		<comments>http://www.davidfischer.name/2012/11/versioning-software-packages/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 02:50:07 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[travis-ci]]></category>
		<category><![CDATA[versioning]]></category>

		<guid isPermaLink="false">https://www.davidfischer.name/?p=1008</guid>
		<description><![CDATA[There are lots of different]]></description>
				<content:encoded><![CDATA[<p>There are lots of different versioning schemes and versioning is definitely not a solved problem. Some projects use dates, some use an ever increasing number from (perhaps generated by their version control system), some adopt the de facto standard of <code>major.minor.patch</code> and some <a href="http://www.tug.org/">converge to pi</a>. Fundamentally though, all of these versioning schemes convey some additional information. With any of these schemes, it is easy to compare two versions and say which was released later. Some have even more semantic meaning. Without sounding too pedantic, there is some formal discussion of this as configuration management.</p>
<h5>Versioning conveys information</h5>
<p><a href="http://semver.org/">Semantic versioning</a> is a fairly documented versioning scheme that conveys information about API stability and compatibility especially in relation to dependency management. Without repeating too many of semantic versioning&#8217;s details, essentially it allows for easy identification of backwards compatible vs. incompatible changes and changes that do not modify the API. It is definitely a step forward, but as evidenced by the fact that a 2.0.0 version of it is still a release candidate, versioning in the abstract cannot be considered complete.</p>
<p>A number of systems developers use every day rely on the semantics of versioning. Take Python as a perfect example. Code from Python 2.6 will almost always run without modification on 2.7. The reverse is sometimes true but certainly less likely to be true. When I use <a href="https://travis-ci.org/">Travis-CI</a>, I do not specify that my program must be tested under Python 2.7.0, 2.7.1, etc. Travis assumes that if it works in Python 2.7, it will work in any of those versions. These patch versions are rarely necessary for dependency management and certainly not with semantic versioning. Semantic versioning really shines when testing a package with multiple dependencies or recursive dependencies. Instead of having to test X versions of Package1 against all Y versions of Package2, basics of API compatibility can be assumed and testing becomes easier. With that said, verifying a subset of that is always nice to do too.</p>
<h5>Additional versioning metadata</h5>
<p>API compatibility and version comparison lend themselves well to being discovered from the version numbering scheme, but what about other types of things developers might want to know about a particular package. One piece of metadata that would be interesting to know is a classification about what changes a new version contains. Did any security vulnerabilities get fixed? Was this a bugfix release? Was this a re-release because something went wrong in the release process in the previous release? You can imagine a versioning scheme that looks something like this: <code>1.0.5-sb</code> where s stands for security and b stands for bug. It would be nice for that metadata to be machine discoverable, and it would be much easier to identify dependencies that require updating.</p>
<p>Perhaps a better solution is to attach this metadata to version control tags. Newer version control systems have annotated tags (I&#8217;m using the git term, but Mercurial has something similar). I can imagine a tag <code>1.0.5</code> with the annotation <code>[security fix]</code>. Like raising awareness for semantic versioning, it requires changing the software world by getting everyone to adopt your methods which is a tall order. In addition, some things do not lend themselves very well to version control tagging such as deprecating releases. It would be nice to discover when a version is deprecated and therefore no longer taking security fixes, but that happens long after the time a release is tagged.</p>
<h5>Conclusion</h5>
<p>I&#8217;m not ready to make any sort of concrete proposal. However, I think this is a really interesting space and I think that information such as which versions have security vulnerabilities becomes much more valuable now that many software products capture their dependencies in requirement files or gemfiles. There are definitely projects that have taken this on parts of this such as the <a href="http://osvdb.org">open source vulnerability database</a>. Over the next few years, this is going to become somewhat solved rather than upgrading dependencies in the ad hoc fashion that that developers do now. There will be something better than subscribing to a bunch of mailing lists and feeds to keep up with security fixes for dependencies.</p>
<h5>Additional notes</h5>
<ul>
<li><code><a href="http://www.python.org/dev/peps/pep-0386/#distutils">distutils.version.LooseVersion</a></code> allows for version comparison pretty close to semantic versioning</li>
<li>There are marketing reasons to version things too.</li>
<li>I got ideas for this post when I was reading the 2.0.0-rc1 version of the semantic versioning docs and I noticed that the tagging specification section was removed since I read it last time.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidfischer.name/2012/11/versioning-software-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
