VIB Technology
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Getting the Most Out of AI Coding Assistants ## Blurb AI tools are changing the way software developers work, but using these assistants effectively can be challenging. This workshop will help you to unlock the full potential of AI in your development workflow. Whether you're new to these tools or have been using them for a while, join us to explore the wide range of AI coding assistants available, discuss best practices for using them in your projects, and discover when and how to use them to maximize your productivity. You will not need any more than a basic understanding of programming. Plus, if you're already comfortable with AI tools, this is a great opportunity to share your experiences and insights with others! ## Questionnaire to send to students before the course https://forms.vib.be/anon/#/forms/5a2d2e22-0020-4d40-b994-6b107c23f4e4 ## Goal(s) > [name=James Collier] Todo: discuss what the goals should be (and make these clear to students on the day) * What tools are available (services, local tools, ...) * Discuss what works / what doesn't, Pros and cons * ## Tools to explore Categories: * Chatbots (ChatGPT, Phind, https://jan.ai/, Claude) * In-editor assistants/autocomplete/integrations (Codeium) * Online editors (Replit) * Shell tools (Butterfish, https://two-wrongs.com/q, Ollama) * PR Review / code review? * www.coderabbit.ai * Lot's on integrated products (e.g. https://snyk.io/platform/) ## Ideas * In what situations is a chatbot tool useful? * Recommend an approach to solve a problem * Recommend alternative tools or libraries * Maybe useful / it depends * Understanding error messages * Code review / describe a block of code * Unit test generation * In what situations is an AI tool _not_ useful? * Questions specific to a project (private) that youre working on. * Code generation other than simple boilerplate (turn off automatic completions) * * Privacy: sharing private data and secrets * Ethics: * Open source / open training data * What data was used to train the model * Slavery used to label data * Legal issues (ongoing lawsuits) * How much longer the service will be around * Environmental cost * Self-hosting AI * Present a plan (access to GPU compute) * Specialised to own purposes / training * Specialised models (self-trained, Claude) * Utility of general ones like ChatGPT * Practical ideas: * Demos of where tool is useful * Demos where it is not useful * Code generation / find issues * Present case studies * Tips: * First (or something limited) query to chatgpt has internet access * Change the ## Plan 4.5 hours total (- 30 min break): 4 hours ### Introduction 1. Introduce the trainers and ask students to introduce themselves 1. Talk about the goals of the workshop * What tools are available (services, local tools, ...) * Discuss what works / what doesn't, Pros and cons * Ethical and privacy issues * Practical application of tools on real projects to get experience 1. What are LLMs, what is AI (need to know how much knowledge students already have) 1. What tasks are part of software dev? * From scratch * Adding features to existing software * fixing legacy software bugs * refactoring * Testing * deployment * maintenance * code review * design * documentation * Learning new tools/libraries/techniques/... * trying to understand Jos' code from last year 1. What tools are do software devs use? * Editors * static analysis (linters, type checkers) * dynamic analysis (tests, valgrind, CPU profilers, heap profilers,... ) * tests * version control * build tools * debuggers * code generation (usually based on some specification) * logging / monitoring * dev environment (docker, nix, guix) * project management (Jira) * documentation tools * database tools (DBeaver) 1. What AI powered tools are available? Where do they overlap with existing tools? * Code generation * In-editor autocomplete (Codeium, Github Copilot NOT FREE, ...) * Chat (ChatGPT, Claude, Phind) * Chat * Pair programming * Search engine * * Documentation generation * Code review (Treat the LLM as an agent not a tool) 1. Ethics and privacy issues (as a interactive; brainstorming with students) * sharing private data and secrets * Open source / open training data * What data was used to train the model * Slavery used to label data * Legal issues (ongoing lawsuits) * How much longer the service will be around * Environmental cost (45 min) ### Workshop 1. Marine: Demo ChatGPT to see how it works (suggestion: Ask general questions about unfamiliar technologies). (5 mins) 2. Set custom context in chatgpt : " you are a machine learning developper in python. You use lightning-pytorch. You work in research field. " 2. Describe the problem. "I have eye tracking time-series data for patients with a certain age. I want to classify this time series based on age. Please suggest a list of good deep learning models." 4. Generate the python code to test this model: "Generate python code with the LSTM model" 1. James: Demo asking a quetion to `q` (5 mins) * `q "How do I compress a text file with tar?"` 1. James: Demo using Codium in VSCode. (5 mins) * Generate a test for some function (convert a list of dates into UTC timezone) > [name=James Collier] Todo: will pre-write the function to do this 3. Spare time to install whatever tools (q, ollama, ...), and to explore any tools they're interested in. (30 min) 4. Students should find a project to work on (suggestions as a backup; 2 hours) * [Ollama](https://github.com/ollama/ollama/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22+-linked%3Apr) * [Polars dataframes](https://github.com/pola-rs/polars/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22+-linked%3Apr) * [Biopython](https://github.com/biopython/biopython/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22+-linked%3Apr) * [GGPlot2](https://github.com/tidyverse/ggplot2/issues/6178) * [YAML](https://github.com/MaybeJustJames/yaml/issues?q=is%3Aissue+is%3Aopen+-linked%3Apr) * > [name=James Collier] Todo: will make something easy for students to click on 1. Ask the AI how to run it / how does it work (maybe????) * Prompt: How can I download and run the project in this git repository? https://gitlab.com/structural-fragment-search/super * Are the installation and usage instructions correct? 1. GROUP DISCUSSION: What did you find that worked well? What didn't work well? What do you still want to find out? * In what situations is a chatbot tool useful? * Recommend an approach to solve a problem * Recommend alternative tools or libraries * Keep in mind what the model has access to / when the model was trained * Maybe useful / it depends * Understanding error messages * Code review / describe a block of code * Unit test generation * In what situations is an AI tool _not_ useful? * Questions specific to a project (private) that youre working on. * Code generation other than simple boilerplate (turn off automatic completions) * 1. Reminders before closing: * Do not give online models private or sensitive information * Do not blindly trust the output * Explore your options: things in this domain change very quickly * Ask: are any of the students planning to use any of the tools in this workshop? ## TODO * Marine: send name of specialised (wizard coder for Python; Requires 32GiB!) * James: Look for suitable projects * Marine: How to install local tools on Windows * James: Explore availablity of code review AI (generally with a system prompt like, "Review the following code and make concise suggestions:") [e.g.](https://github.com/s-kostyaev/ellama/blob/main/ellama.el#L253C48-L253C103) * James: what model is Codium using (ANSWER: Custom self-built code models)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully