Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHub for Science

Arfon Smith
December 08, 2014

GitHub for Science

My talk from DotAstronomy in Chicago. Secondary title: 'Three ideas we should steal from Open Source'

Arfon Smith

December 08, 2014
Tweet

More Decks by Arfon Smith

Other Decks in Science

Transcript

  1. Three ideas we should steal from Open Source Arfon Smith

    @arfon Creative Commons Attribution 3.0 Unported License
  2. !

  3. From 653314448c7c6f6ec2f93de346896895f786773f Mon Sep 17 00:00:00 2001 From: Arfon Smith

    <[email protected]> Date: Mon, 13 Oct 2014 16:37:46 -0500 Subject: [PATCH] Bust that cache --- lib/linguist/repository.rb | 14 ++++++++++++-- test/test_repository.rb | 12 ++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/lib/linguist/repository.rb b/lib/linguist/repository.rb index 1f9e09c..9998ee6 100644 --- a/lib/linguist/repository.rb +++ b/lib/linguist/repository.rb @@ -1,6 +1,6 @@ require 'linguist/lazy_blob' require 'rugged' - +require 'pry' module Linguist # A Repository is an abstraction of a Grit::Repo or a basic file # system tree. It holds a list of paths pointing to Blobish objects. @@ -128,13 +128,23 @@ def current_tree protected def compute_stats(old_commit_oid, cache = nil) - file_map = cache ? cache.dup : {} old_tree = old_commit_oid && Rugged::Commit.lookup(repository,
  4. "

  5. Open source collaborations Open Collaborations: a highly collaborative development process

    and are receptive to contributions of code, documentation, discussion, etc from anyone who shows competent interest.
  6. Open source collaborations Open Collaborations: a highly collaborative development process

    and are receptive to contributions of code, documentation, discussion, etc from anyone who shows competent interest. THIS
  7. 130 130 1 2048 189 189 258 258 480 562

    378 378 493 521 390 397 851 851 247 274 319 319 304 580 493 511 610 636 188 188 228 228 > cat bad_pix_mask.txt
  8. 2 days work 3 observing runs/week 52 weeks in year

    15 year detector lifetime 2*3*52*15 = 4680 days (13 years)
  9. “Academic environments of today do not reward tool builders” Ed

    Lazowska, OSTP event http://lazowska.cs.washington.edu/MS/MS.OSTP.pdf
  10. “publishing a paper about code is basically just advertising” David

    Donoho http://www.stanford.edu/~vcs/Video.html
  11. Supernovae Weak lensing Active Galactic Nuclei Solar System Galaxies Transients/variable

    stars Large-scale structure Stars, Milky Way Strong lensing Informatics and Statistics Dark Energy (DESC)