Questions and notes from workshop day 5


Icebreaker :icecream:

How would you explain your current job to someone in the year 1700? (if you don't know, write what you do and we'll try to figure out!)

What's the best documented project you've seen?

Documentation lesson material

Your questions here:

In-code documentation

Questions continued:

Writing a good README

Questions continued:

Sphinx and Markdown

You can type along for this session :)

Sphinx documentation

Questions continued:

:::info

Exercise until xx:53

You can choose whichever of the exercises sounds interesting to you! But start with the setup (if you did not type along during the stream)

Set up a sphinx documentation and try out some features

You can also try out Sphinx autodoc or check out using Jupyter with Sphinx

After that we will do a quick wrapup on stream and then go into a short break.

:::

How is it going with the exercises? Add a 'o' where appropriate for you:

:::success

Break until xx:05 (11:05 CET)

After the break we will learn how to move our documentation from local to GitHub pages, so that others may also see it :)

:::

Questions continued:

Deploying Sphinx on GitHub pages

:::info

Exercise until xx:35

Try it out yourself: Follow the setup instructions for deploying your own documentation to GitHub pages.

Then try out adding more stuff to your documentation following the following exercise on the material page

If you have technical issues, please come to virtual help room (link in e-mail)

:::

Questions continued:

Sorry for the short unavailability of notes! Should be back to normal now :)

Motivation and wishlist

Summary

Questions continued:

:::info

Longer break until xx:00 (13:00 CET / 14:00 EET)

You may need to reopen the notes link to get back in after a short crash earlier, sorry for the inconvenience

:::

After break we will continue with:

Responsible Use of Generative AI in Assisted Coding

Introduction to LLMs for Code

Question to audience: What is your favorite lannguage model/chatbot?

Add your questions here:

:::info

Exercise until xx:29

Exercise box below this header

Goal: Play around with duck.ai and share your relections below

:::

Anything you would like to share about your experience with the chatbot?

Chat based coding

Questions continued:

"Slop" is the new Zeitgeist

:::info

Exercise until xx:59

Building a data loader and debugging

Share your experiences below :)

You can try both or just one. :::

Anything noteworthy to share from the exercise?

:::info

Break until xx:10

:::

IDE integration

Questions continued:

Most reports I've heard about "auto compaction" of the context is that it is not great. I have used it without terrible results. Probably it is going to improve? In the case of agents, I believe that very often the harness is not sending the whole content of a file to the LLM server.

Full agentic code development

Are you using agentic code systems/AI agnts? Which ones? Any comments?

Questions continued:

Security considerations

Questions continued:

The xkcd comic about sql-injections that was mentioned: https://xkcd.com/327/

Conclusions and next steps


Feedback for Day 5 of the CodeRefinery workshop

:::success News for day 5 / preparation for day 6 Today, we covered documentation and responsible use of AI in coding. We hope you got to try out Sphinx and remember it whenever you may need a nice polished documentation website. There are a lot of functionalities to explore! Tomorrow, the last day of this CodeRefinery workshop: We will dive into automated testing and modular code development. If you would like to try out t he testing exercises in python, please install pytest via our conda installation instructions. :::

Today was (vote for all that apply):

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

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