Skip to content

UofT-DSI | Python - Assignment 1#1

Open
msugar wants to merge 2 commits intomainfrom
assignment-1
Open

UofT-DSI | Python - Assignment 1#1
msugar wants to merge 2 commits intomainfrom
assignment-1

Conversation

@msugar
Copy link
Copy Markdown
Owner

@msugar msugar commented Aug 23, 2024

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Adding code for Assignment 1.

What did you learn from the changes you have made?

How to use Visual Studio Code to run Jupyter Notebooks on a remote VM.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

Had some trouble with GPG:

error: gpg failed to sign the data:
...
gpg: signing failed: Screen or window too small

user.signingkey and commit.gpgsign were set correctly in git.
export GPG_TTY=$(tty) was set in ~/.bashrc.

It turns out, the problem was my terminal window was too small.

But this workaround worked for me:

echo "test" | gpg --clearsign

How were these changes tested?

I ran the notebook and verified the results of invoking the functions with different arguments matched the expected values.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants