Skip to content

A small repo with anki flashcards for learning for parco

Notifications You must be signed in to change notification settings

schnoeggi/parco_anki

 
 

Repository files navigation

parco_anki

This is a small repo with flashcards that can be imported into Anki to help study for your parallel computing lecture exam.

Usage

Download the Anki App (or use the PC/Web Version) and import the .txt files into Anki. For how to use the application to learn for the exam, see various tutorials around the internet or the Anki documentation, for instance this on studying with Anki.

I will combine all of the basic and clozure cards into two txt files and put them in the releases every time somebody contributes a full set of slides (I'll try to do it at least once a day). Check out the "Releases" Tab and download the txts, so you can import everything into Anki at once. Make sure to set the correct card type (indicated by the txt name) and check the HTML checkbox to enable the HTML styling contained in the cards. Before clicking import, also check whether Anki has set the separator to ; or else the import won't work. Anki sometimes decides to put , as a default in there for some reason.

Structure

There are following sections for which flashcards are needed (one per slide PDF mostly):

  • Introduction (intro)
  • Performance and Objectives (perf)
  • Patterns and Paradigms (pat)
  • Merging and Prefix Sums (merg)
  • Shared Memory (shmem)
  • PThreads (pth)
  • OpenMP (omp)
  • Distributed Memory Systems (dismem)
  • MPI (mpi)

I have created a git issue for each of these where we can discuss per slide issues etc. Also feel free to report additional issues you find.

Flashcards

There are 2 (general useful) types of flashcards in Anki:

For how to write Cards for both of those types is described in the documentation. I have written some cards in the past for GWG. These can be used as a guide. You can also include some HTML for styling, but don't overdo it, since some people will possibly want to learn on a mobile device with little screenspace and HTML tends to bulk things up. To show the HTML styling in Anki, you have to check the checkbox for it when importing the txt file.

For more information on how to write the cards read here.

It has come to my attention that Anki has changed the default template for basic and cloze type cards, so I think its good if contribution use following format:

Basic Card

One line in the txt per card with following formatting:

{Front Side};{Back Side};{Tags (separated by space)}

For examples look into txts with content already present.

Clozure Cards

One line in the txt per card with following formatting:

{Text with some amount of clozures};{Tags (separated by space)}

For examples look into txts with content already present.

Anki even supports LaTeX (please use mathjax, so that it can be displayed in the mobile version of Anki) in cards, and these can even be used with clozures.

Further you can upload images/screenshots to imgur and use the img HTML tag to embed them, but use those sparingly, because I'm not sure how well this works/looks in the mobile version of Anki.

Structure

To give the cards some structure (and make them importable), I have split the basic and cloze type cards into 2 separate txt files like in the GWG examples I have given. Please don't mix the two card types in one txt, since you can only import one at a time and mixing them will make your work unimportable.

Contributing

Due to this being more or less a community project, any help is greatly appreciated (since I can't get all of the slides done in time before the upcoming exam). To contribute to the project follow these steps:

  1. Read some of the information of this README to learn how to write cards for Anki
  2. Comment on the cardset you want to work on so I can assign the issue to you. This helps others to see which cards are being worked on and which still need work. I will then assign the issue to you (github only allows me to assign a issue to commenters of the issue).
  3. Fork this repo
  4. Add lines to the appropiate txt file (be careful for which type the card is to not break formatting while importing)
  5. Import your changes into Anki and check whether your addition works properly
  6. Commit your changes to your fork
  7. Do a Pull Request to push your changes (after I have double checked them) into this repo!

Thank you for helping ❤️

About

A small repo with anki flashcards for learning for parco

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%