diff --git a/common/modules/prelude-toc.org b/common/modules/prelude-toc.org index 569931d..f8ca55b 100644 --- a/common/modules/prelude-toc.org +++ b/common/modules/prelude-toc.org @@ -1,92 +1,94 @@ #+BEAMER_HEADER: \titlegraphic{\includegraphics[width=\extblockscale{0.7\textwidth}]{SWH-logo+motto}} #+STARTUP: hidestars # activate org-beamer-mode minor mode automatically #+STARTUP: beamer # org export options #+LANGUAGE: en #+OPTIONS: H:2 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation,xcolor=table] # # important font choice! # #+LaTeX_HEADER: \usepackage{libertine} # # Let's move that logo... # #+LaTeX_HEADER: \usepackage{animate} #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %10BEAMER_act(Act) %4BEAMER_col(Col) %10BEAMER_extra(Extra) %8BEAMER_opt(Opt) # have the theme desired #+latex_header: \mode{\usetheme{swh} \beamertemplatenavigationsymbolsempty \setbeamertemplate{navigation symbols}{} \setbeamertemplate{headline}{} #+latex_header: \setbeamertemplate{footline} #+latex_header: { #+latex_header: \leavevmode% #+latex_header: \hbox{% #+latex_header: \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% #+latex_header: \usebeamerfont{author in head/foot}\insertshortauthor%~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)} #+latex_header: \end{beamercolorbox}% #+latex_header: \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{title in head/foot}% #+latex_header: \usebeamerfont{title in head/foot}\insertshorttitle{}\hspace*{2em} #+latex_header: \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} #+latex_header: \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} #+latex_header: \end{beamercolorbox}}% #+latex_header: \vskip0pt% #+latex_header: } #+latex_header: } # some color #+latex_header: \rowcolors[]{1}{blue!10}{blue!05} # # to have a toc for each section # # Use suggestions from http://web.stanford.edu/~dgleich/notebook/2009/05/appendix_slides_in_beamer_cont_1.html to avoid counting tocs in page number # #+latex_header: \AtBeginSection[] {\begin{frame} \frametitle{Outline} \tableofcontents[currentsection]\end{frame} \addtocounter{framenumber}{-1}} # set the paths for images #+latex_header: \graphicspath{% #+latex_header: {../../common/images/}{../../common/logos/}% #+latex_header: {pics/}{../images/}{../../images/}{../pics/}{../../pics/}% #+latex_header: {../figures/}{../../figures/}{../logos/}{../../logos/}{../../../logos/}% #+latex_header: {../../communication/web/graphics/carousel/}% #+latex_header: {../../communication/web/graphics/pictos/png/400x400/}% #+latex_header: } # some default information I did not find how to set this in org-mode #+latex_header: \institute[Irill/INRIA/UPD]{\url{roberto@dicosmo.org}} # to add the picblock macro #+latex_header: \usepackage{extblocks} #+latex_header: \usepackage{pgfpages} #+latex_header: \usepackage{animate} #+latex_header: \usepackage{alltt} # # Requires # # http://www-ljk.imag.fr/membres/Jerome.Lelong/latex/appendixnumberbeamer.sty #+latex_header: \usepackage{appendixnumberbeamer} # # Colors, color boxes # #+latex_header: \usepackage{color} #+latex_header: \usepackage{soul} # http://tex.stackexchange.com/questions/41683/why-is-it-that-coloring-in-soul-in-beamer-is-not-visible #+latex_header: \makeatletter #+latex_header: \newcommand\SoulColor{% #+latex_header: \let\set@color\beamerorig@set@color #+latex_header: \let\reset@color\beamerorig@reset@color} #+latex_header: \makeatother #+latex_header: \SoulColor + +#+LATEX_HEADER: \usepackage{listings} diff --git a/common/modules/prelude.org b/common/modules/prelude.org index 4b6d6fb..c9528d4 100644 --- a/common/modules/prelude.org +++ b/common/modules/prelude.org @@ -1,85 +1,87 @@ #+BEAMER_HEADER: \titlegraphic{\includegraphics[width=\extblockscale{0.7\textwidth}]{SWH-logo+motto}} #+STARTUP: hidestars # activate org-beamer-mode minor mode automatically #+STARTUP: beamer # org export options #+LANGUAGE: en #+OPTIONS: H:2 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation,xcolor=table] # # important font choice! # #+LaTeX_HEADER: \usepackage{libertine} # # Let's move that logo... # #+LaTeX_HEADER: \usepackage{animate} #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %10BEAMER_act(Act) %4BEAMER_col(Col) %10BEAMER_extra(Extra) %8BEAMER_opt(Opt) # have the theme desired #+latex_header: \mode{\usetheme{swh} \beamertemplatenavigationsymbolsempty \setbeamertemplate{navigation symbols}{} \setbeamertemplate{headline}{} #+latex_header: \setbeamertemplate{footline} #+latex_header: { #+latex_header: \leavevmode% #+latex_header: \hbox{% #+latex_header: \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% #+latex_header: \usebeamerfont{author in head/foot}\insertshortauthor%~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)} #+latex_header: \end{beamercolorbox}% #+latex_header: \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{title in head/foot}% #+latex_header: \usebeamerfont{title in head/foot}\insertshorttitle{}\hspace*{2em} #+latex_header: \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} #+latex_header: \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} #+latex_header: \end{beamercolorbox}}% #+latex_header: \vskip0pt% #+latex_header: } #+latex_header: } # some color #+latex_header: \rowcolors[]{1}{blue!10}{blue!05} # set the paths for images #+latex_header: \graphicspath{% #+latex_header: {../../common/images/}{../../common/logos/}% #+latex_header: {pics/}{../images/}{../../images/}{../pics/}{../../pics/}% #+latex_header: {../figures/}{../../figures/}{../logos/}{../../logos/}{../../../logos/}% #+latex_header: {../../communication/web/graphics/carousel/}% #+latex_header: {../../communication/web/graphics/pictos/png/400x400/}% #+latex_header: } # some default information I did not find how to set this in org-mode #+latex_header: \institute[Irill/INRIA/UPD]{\url{roberto@dicosmo.org}} # to add the picblock macro #+latex_header: \usepackage{extblocks} #+latex_header: \usepackage{pgfpages} #+latex_header: \usepackage{animate} #+latex_header: \usepackage{alltt} # # Requires # # http://www-ljk.imag.fr/membres/Jerome.Lelong/latex/appendixnumberbeamer.sty #+latex_header: \usepackage{appendixnumberbeamer} # # Colors, color boxes # #+latex_header: \usepackage{color} #+latex_header: \usepackage{soul} # http://tex.stackexchange.com/questions/41683/why-is-it-that-coloring-in-soul-in-beamer-is-not-visible #+latex_header: \makeatletter #+latex_header: \newcommand\SoulColor{% #+latex_header: \let\set@color\beamerorig@set@color #+latex_header: \let\reset@color\beamerorig@reset@color} #+latex_header: \makeatother #+latex_header: \SoulColor + +#+LATEX_HEADER: \usepackage{listings} diff --git a/talks-public/2016-11-26-codemotion/source/morris-worm-hs.c b/common/source/morris-worm-hs.c similarity index 100% rename from talks-public/2016-11-26-codemotion/source/morris-worm-hs.c rename to common/source/morris-worm-hs.c diff --git a/talks-public/2016-11-26-codemotion/source/swh-content.sql b/common/source/swh-content.sql similarity index 100% rename from talks-public/2016-11-26-codemotion/source/swh-content.sql rename to common/source/swh-content.sql diff --git a/talks-public/2016-11-26-codemotion/2016-11-26-codemotion.org b/talks-public/2016-11-26-codemotion/2016-11-26-codemotion.org index ebaec0d..eb9ca43 100644 --- a/talks-public/2016-11-26-codemotion/2016-11-26-codemotion.org +++ b/talks-public/2016-11-26-codemotion/2016-11-26-codemotion.org @@ -1,151 +1,151 @@ #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %10BEAMER_act(Act) %4BEAMER_col(Col) %10BEAMER_extra(Extra) %8BEAMER_opt(Opt) #+TITLE: Software Heritage: the Universal Archive of our Software Commons # does not allow short title, so we override it for beamer as follows : #+BEAMER_HEADER: \title[Software Heritage]{Software Heritage\\the Universal Archive of our Software Commons} #+BEAMER_HEADER: \author{Stefano Zacchiroli} #+BEAMER_HEADER: \date[26/11/2016, Codemotion]{26 November 2016\\Codemotion\\Milan, Italy} #+AUTHOR: Stefano Zacchiroli #+DATE: 26 November 2016 #+EMAIL: zack@upsilon.cc #+DESCRIPTION: Software Heritage: the Universal Archive of our Software Commons #+KEYWORDS: software heritage legacy preservation knowledge mankind technology #+INCLUDE: "../../common/modules/prelude.org" :minlevel 1 #+BEAMER_HEADER: \institute[Software Heritage]{Software Heritage\\\href{mailto:zack@upsilon.cc}{\tt zack@upsilon.cc}} #+LATEX_HEADER: \usepackage{listings} * Software as knowledge ** # Apollo 11 source code (excerpt) #+BEAMER: \begin{center}\includegraphics[width=\textwidth]{apollo-11-source-code}\end{center} #+BEAMER: {\tiny code by Margaret Hamilton and her NASA team, \url{http://www.ibiblio.org/apollo/}} ** # Morris Worm source code (excerpt) - #+BEAMER: \lstinputlisting[language=C,basicstyle=\footnotesize,linerange={1-12}]{source/morris-worm-hs.c} + #+BEAMER: \lstinputlisting[language=C,basicstyle=\footnotesize,linerange={1-12}]{../../common/source/morris-worm-hs.c} #+BEAMER: /* ... */ - #+BEAMER: \lstinputlisting[language=C,basicstyle=\footnotesize,linerange={44-49}]{source/morris-worm-hs.c} + #+BEAMER: \lstinputlisting[language=C,basicstyle=\footnotesize,linerange={44-49}]{../../common/source/morris-worm-hs.c} #+BEAMER: {\tiny \url{https://github.com/arialdomartini/morris-worm}}\ ** Source code is knowledge # #+INCLUDE: "../../common/modules/software-all-around-us.org::#softwareisdifferent" :only-contents t #+LATEX: \includegraphics[width=\extblockscale{.15\linewidth}]{software.png} #+BEGIN_QUOTE “Programs must be written for people to read, and only incidentally for machines to execute.” --- Harold Abelson #+END_QUOTE *** Distinguishing features - *executable* and *human readable* knowledge (an /all time new/) - naturally *evolves* over time + development history is key to its understanding - complex: large web of *dependencies*, millions of SLOCs ** The Software Commons #+INCLUDE: "../../common/modules/foss-commons.org::#commonsdef" :only-contents t ** The speed of /our/ knowledge production is increasing :noexport: *** ... due to software pervasiveness :B_picblock: :PROPERTIES: :BEAMER_opt: pic=software-center.pdf, leftpic=true, width=.4\linewidth :BEAMER_env: picblock :END: #+ATTR_BEAMER: :environment itemize - communication, entertainment - administration, finance - health, energy, transportation - education, research, politics - ... *** ... due to software sheer volume :B_picblock: :PROPERTIES: :BEAMER_opt: pic=pervasiveComputing :BEAMER_env: picblock :BEAMER_act: +- :END: #+ATTR_BEAMER: :environment itemize - house appliances $\approx$ 10M SLOC - phones $\approx$ 20M SLOC, /cars/ $\approx$ 100M SLOC - IoT - ... * Software is fragile #+INCLUDE: "../../common/modules/swh-motivations.org::#spread" #+INCLUDE: "../../common/modules/swh-motivations.org::#fragile" * The Software Heritage project ** The Software Heritage project #+INCLUDE: "../../common/modules/swh-overview-sourcecode.org::#missionshort" :only-contents t ** Our principles #+latex: \begin{center} #+ATTR_LATEX: :width .9\linewidth file:SWH-as-foundation-slim.png #+latex: \end{center} *** Open approach :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.4 :BEAMER_env: block :END: - 100% FOSS - transparency *** In for the long haul :B_block:BMCOL: :PROPERTIES: :BEAMER_col: 0.4 :BEAMER_env: block :END: - replication - non profit ** Archiving goals Targets: VCS repositories & source code releases (e.g., tarballs) *** We DO archive - file *content* (= blobs) - *revisions* (= commits), with full metadata - *releases* (= tags), ditto - (project metadata) - *where & when* we found any of the above # - time-indexed repo *snapshots* (i.e., we never delete anything) … in a VCS-/archive-agnostic *canonical data model* *** We DON'T archive (UNIX philosophy) # - diffs → derived data from related contents - homepages, wikis → collaboration with the Internet Archive - BTS/issues/code reviews/etc. - mailing lists Long term vision: play our part in a /"semantic wikipedia of software"/ * Technical overview #+INCLUDE: "../../common/modules/status-extended.org::#architecture" :only-contents t #+INCLUDE: "../../common/modules/status-extended.org::#merkletree" :minlevel 2 #+INCLUDE: "../../common/modules/status-extended.org::#giantdag" :only-contents t ** SHA1 collisions considered harmful - #+BEAMER: \lstinputlisting[language=SQL,basicstyle=\small]{source/swh-content.sql} + #+BEAMER: \lstinputlisting[language=SQL,basicstyle=\small]{../../common/source/swh-content.sql} #+INCLUDE: "../../common/modules/status-extended.org::#archive" :minlevel 2 #+INCLUDE: "../../common/modules/status-extended.org::#features" :minlevel 2 * Conclusion # #+INCLUDE: "../../common/modules/status-extended.org::#people" :minlevel 2 ** An ambitious, worldwide initiative *** Inria as initiator :B_picblock: :PROPERTIES: :BEAMER_env: picblock :BEAMER_opt: pic=inria-logo-new,leftpic=true,width=\extblockscale{.4\linewidth} :END: - .fr national CS research institution - strong FOSS culture - founding partner of the W3C # - creating a non profit, international organisation #+BEAMER: \pause *** Supporters and /early partners/ ACM, *Nokia Bell Labs*, Creative Commons, *DANS*, Eclipse, Engineering, FSF, OSI, GitHub, GitLab, IEEE, Informatics Europe, *Microsoft*, OIN, OW2, SIF, SFC, SFLC, The Document Foundation, The Linux Foundation, ... #+BEAMER: \pause *** Going global building an /open, multistakeholder, nonprofit/ global organisation ** Conclusion *** Software Heritage is - a revolutionary /reference archive/ of /all/ FOSS ever written # - a fantastic new tool for /research/ software - a unique /complement/ for /development platforms/ - an international, open, nonprofit, /mutualized infrastructure/ - at the service of our community, at the service of society! *** Come in, we're open! \url{www.softwareheritage.org} --- /sponsoring/, /*job openings*/ \\ \url{wiki.softwareheritage.org} --- /*internships*/, /leads/ \\ \url{forge.softwareheritage.org} --- /*our own code*/ #+BEAMER: \vfill \flushright {\Huge Questions?} \vfill * Appendix :B_appendix:noexport: :PROPERTIES: :BEAMER_env: appendix :END: #+INCLUDE: "../../common/modules/status-extended.org::#merkledemo" :only-contents t