1 of 17

Summary of Key Points

Hammitzsch, Johnston, Kuzak, Kraft, Leinweber

TIB, 13. July 2018 Recording: doi.org/10.5446/37828

FAIR Data & Software (Carpentries-based workshop) #TIBFDS

​

​

Seite 1

2 of 17

Summaries

    • FAIR principles

​

    • General remarks

​

    • Additional references, recommended resources, etc.

​

    • Survey

Seite 2

3 of 17

On the FAIR principles

  • Open consultation on FAIR data action plan of the European Open Science Cloud expert group (deadline 5 Aug 2018):

GitHub.com/FAIR-Data-EG/Action-Plan - feel free to voice your opinion!

​

  • FAIR does not mean open (data)

​

  • There are different degrees of FAIRness, as research disciplines, resource types (e.g. data and software) and their requirements are strongly varied - but the shared goal is quality & good scientific practice�
  • FAIR (in its origins) focuses first and foremost on machine to machine interactions, only secondary on human to machine (or human to human) interactions

​

  • DMPs/SMPs and a licence help to keep data/software FAIR�
  • Depending on the discipline, the researchers background and legal aspects: “Partly FAIR may be FAIR enough”

​

  • REMEMBER: ‘As open as possible, as closed as necessary’�

​

​

​

Seite 3

4 of 17

    • teach computing & data skills to scientists
    • collaborative, community-developed lessons:�bio- & genomics, geospatial, social, ...
    • evidence-based pedagogical methods (sources)
      • instructor training & mentoring
      • learning-by-doing & live coding

​

Interested in setting up a local group?

Please contact Carpentries@TIB.eu!

up & coming

High-Performance Computing

merged in 2017

Seite 4

5 of 17

Accessible projects through public Git repos

  1. VC because self-documenting/-explaining a project’s evolution
  2. easier publication & opportunity for collaborations
    1. Pull/Merge Requests = workflow for 21st century => fearless change, smooth review workflow, automation potential
    2. issue tracker, website hosting, project management, etc.
  3. GitHub + Zenodo.org = DOI

​

​

Git repo can be single source of truth & communication channel

Seite 5

6 of 17

Accessible, interoperable & reusable code through functions

  • scripts without code duplication may not need functions
  • but instead of copy-pasting: stay DRY, not WET en.Wikipedia.org/?curid=3291957
  • code is a liability / technical debt
  • concise function names are the beginning of good documentation
  • individual & automatic “unit testing”
  • more comprehensive approach: packaging!

​

“Programs are meant to be read by humans and only incidentally for computers to execute.”

Donald Knuth (inventor of TeX)�flickr.com/vonguard (cropped; CC-BY-SA-2.0)

​

​

Seite 6

7 of 17

Summaries

    • FAIR principles

​

    • General remarks

​

    • Additional references, recommended resources, etc.

​

    • Survey

​

Seite 7

8 of 17

Refactoring (software hygiene)

  • changing code internally, without changing its behaviour
    • renaming functions, variables, etc.
    • extracting duplicate code into new functions
    • re-organising code, files, etc.

​

  • tests remove the fear from this process
    • automation & quick feedback make this fun
    • exercism.io/languages/r & /python

​

“You don’t go fast by rushing [but by] taking your time, studying the problem, thinking carefully, cleaning up.” -- Robert C. Martin

​

First make it work, then make it right, and, finally, make it fast. -- Stephen C. Johnson and Brian W. Kernighan

Seite 8

9 of 17

“... finally, make it fast”. If it’s really necessary:

​

wiki.python.org/moin/PythonSpeed

​

TGMStat.WordPress.com/2013/09, RStudio.GitHub.io/profvis & Adv-R.had.co.nz/Profiling.html

4. Profile / benchmark again

5. Identify next bottleneck

6. ...

  1. Profile / benchmark
  2. Identify bottleneck (under your control?)
  3. (If yes) Remove

Seite 9

10 of 17

“... finally, make it fast”. A word of warning...

Seite 10

11 of 17

One more thing about “best practices”...

  • By the time any “practice” becomes widely recognised as “best”, it’s average
  • more = harder to choose

Pick one, follow it and evaluate next level at next project start.

Cmglee (cropped; CC-BY-SA 3.0)

Seite 11

12 of 17

Summaries

    • FAIR principles

​

    • General remarks

​

    • Additional references, recommended resources, etc.

​

    • Survey

Seite 12

13 of 17

Resources that help you find licences & info about them

Most important: pick one! For software, “MIT, BSD, or Apache [are] good enough”�doi.org/10.1371/journal.pcbi.1005510

a certain type of licence

.org (German)

news about court cases

Just tell me one...

summary(licences)

OpenSource.guide/legal�scholar.Google.com/scholar?q=Stodden�Morin et al. (2012) ... licencing for the Scientist-Programmer. doi.org/0.1371/journal.pcbi.1002598

I want to read more...

Seite 13

14 of 17

Additional references, recommended resources, etc.

​

Seite 14

15 of 17

Additional references, recommended resources, etc.

​

​

​

​

Seite 15

16 of 17

Thanks to Konrad Förstner, Luke Johnson, Mateusz Kuzak and Martin Hammitzsch!

Creative Commons Attribution 3.0 Germany

https://creativecommons.org/licences/by/3.0/de/deed.en

Seite 16

17 of 17

Farewell!

Contact information:

Katrin.Leinweber@TIB.eu & Angelina.Kraft@TIB.eu

T +49 511 762-14693 & -14238

Creative Commons Attribution 3.0 Germany

https://creativecommons.org/licences/by/3.0/de/deed.en

Seite 17