Questions and notes from workshop day 4

Notes for day 4

Icebreaker :icecream:

Have you heard the sentence "hmm... works on my computer"? What does this mean in practice? How do you solve this problem?

What are your experiences re-running or adjusting a script or a figure you created few months ago?

Have you continued working from a previous student's script/code/plot/notebook? What were the biggest challenges?

[Reproducible Research](

)

Intro

Motivation

Your questions here:

Discussion

::: info For classrooms: You can discuss among yourself for 10 min; come back to stream approximately xx:28, For everyone else: please add your answer below :) :::

Organizing your projects

Questions continue here:

Moving tags is evil but can be done and might be done if a release has some serious bugs/vulnerabilities

Earlier, instructors talked about tags, a topic from last weeks git intro: Read up on it in our git-intro lesson: https://coderefinery.github.io/git-intro/branches/#tags

Reproducible Publications

` :::info Discussion time until xx:45 Classrooms can discuss among themselves Everyone else add your thoughts below :::

:::info

Break until xx:00 (12:00 EET, 11:00 CET)

:::

Recording computational steps

Exercises will be shown as demos, you can follow along if you'd like to. You need to have snakemake installed, eg using miniconda:

Conda installation instructions If you have trouble with the installation, you can join our virtual help room (link in e-mail). The demo may be a bit fast to follow along, if you are working with these tools for the first time, so you can also lean back and enjoy and try it out yourself later following the instructions in the material.

Workflow-1: Workflow solution using Snakemake

Instructors are showing the exercise using VSCode, but it can also be run in the command line.

Questions continued:

-^^follow-up question: can I just install both conda and uv then?

Recording dependencies

Questions continued here:

Discussion

add an o for your pick:

Questions continued:

Recording environments

Questions continued:

Longer break now (1 hour)

Back at xx:00 (14:00 EET, 13:00 CET)

Take a break, have some lunch, snack, coffee, tea; walk around a bit. We will be back at the top of the hour with a lesson on Social coding and software licensing. :::

Questions continued for the morning session :

Feedback on Reproducible research lesson (in case you will not join the afternoon session)

(add your o for the )This session was:

too fast: too slow: right speed: too slow sometimes, too fast other times: too advanced: too basic: right level: I will use what I learned today: I would recommend today to others: I would not recommend today to others:


Social coding

:::info Classrooms you can discuss for 10 min (you may want to mute the stream), be back on stream xx:15 Everyone else, please answer below :::

Question 1: Why would I want to share my scripts/code/data?

Choose many. Vote by adding an o character:

Question 2: The most concerning thing for me, If I share my software now

Choose one. Vote by adding an o character:

Question 3: Why is software often treated differently from papers?

Free-form answers:

Question 4: When you find a repository with code/library you would like to reuse, what are the things you look at to decide whether you use it?

Free-form answers:

Ask your questions here:

Comparing sharing papers and sharing code

Social Discussion 2

  1. Have you experienced an implicit expectation of support? add an o to your answer

    • Supporting all requests can lead to overworking and mental health issues:
    • Not supporting requests can also induce guilt: oo
    • Projects are maintained by 1 or 2 persons: o
    • Most projects cannot retain contributors for a longer time: o
    • If you maintain all projects that you start forever, at some point it may be difficult to start new projects:
    • Other:
      • Attention is limited.
      • ..
      • ..

Question continued:

Software Licensing

Question 5: Which of these are derivative works?

Choose many. Everyone, please vote by adding an o character:

Question continued:

:::info

Break until xx:10

After the break we continue with the rest of licensing lesson :::

Questions continued:

Also for many of these questions, it depends what is your risk? If you are Google, you treat everything as strictly as possible since you are a huge target for lawsuits. If you are a normal person, probably not so much.

Software citation

Questions continued:

Sharing data

If you know of more national (or general) services, please send us a Pull Request to: https://github.com/coderefinery/social-coding/blob/main/content/sharing-data.md


Feedback for Day 4 of CodeRefinery

:::success News from day 4, preparation for day 5 We went through everything in the schedule, introduced reproducible research and tools that can help with recording environments, computational steps, and dependencies as well as social coding and software licensing. Tomorrow we will look at code documentation in the morning (why and how you can document your code from in-code comments to beautiful websites) and Responsible use of generative AI in assisted coding.

If you would like to try out the documentation tool, please follow the installation instructions for conda.

:::

Today was (vote for all that apply):

too fast:o too slow:o right speed:ooooo too slow sometimes, too fast other times: oooo too advanced:o too basic:o right level:oooo I will use what I learned today:oooooooo I would recommend today to others:oooooo I would not recommend today to others:

One good thing about today:

One thing to improve for next time:

Any other feedback? General questions?


Funding

CodeRefinery is a project within the Nordic e-Infrastructure Collaboration (NeIC).

Privacy

Privacy policy

Follow us

Contact

support@coderefinery.org

Improve this page

Source code