Guides

Set up VS Code and Hackatime

Hackatime is required. If Hackatime didn't track your hours, we can't count them and your ship can be rejected, so set it up before you write any code. Record with Lapse too, as a backup in case Hackatime misses notebook time. Hours in Google Colab, Kaggle or any other browser notebook don't count, so work in VS Code. Each step links to the official guide.

  1. Install VS Code and Python. Getting started with Python in VS Code.
  2. Turn on Hackatime. Follow Hackatime's VS Code guide. Its setup command does the work.
  3. Connect Hackatime to haggle. On the Ship tab, press Connect Hackatime. Use the Hackatime account on the same Slack account as your Hack Club sign-in, or the link is refused.
  4. Record with Lapse too. Start a timelapse at lapse.hackclub.com whenever you code, and share your entire screen, not one tab. It's your backup if Hackatime misses notebook time. Lapse works best in Chrome. When you're done, publish it on Lapse and paste its link when you ship.
  5. Get notebooks working. Jupyter notebooks in VS Code.
  6. Start your project. Download train.csv from the Data tab, put it in a new folder, open the folder in VS Code and create a notebook (a file ending in .ipynb). Install what you use, like pip install pandas scikit-learn.
  7. Save and commit as you go. Save often (Ctrl + S, or Cmd + S on a Mac): Hackatime notices notebook work when you save. Commit every 30 minutes (Git in VS Code): more than 60 minutes of coding without a commit gets your ship disqualified.
  8. Check it's tracked. After a few minutes of coding, open hackatime.hackclub.com: it shows how much you've logged today. If it shows nothing, fix it before you keep going.