Skip to content

Conversation

jukent
Copy link
Contributor

@jukent jukent commented Apr 29, 2021

This content has information on how to select a Python platform and the basic knowledge needed to install and execute Python code on that platform.

@jukent jukent requested a review from a team April 29, 2021 21:29
@github-actions
Copy link

🚀 📚 Preview for git commit SHA: ca10a3e at: https://608b26ed78acaf85831058d6--pythia-foundations.netlify.app

$ conda activate pythia_foundations
```

2. Create a directory to store our work. Let's call it `pythia-foundations`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In our workshops, we had issues with novice users getting the directory with their stuff confused with the python environment, so we renamed one to make it easier for them to keep them as separate concepts.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a subtle difference (one has an underscore and one a backslash) - I'll make it more obvious. We had the same concern in the Xdev seminar series.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is now pythia_foundations_env for the environment and pythia-foundations for the directory.

@github-actions
Copy link

github-actions bot commented May 4, 2021

🚀 📚 Preview for git commit SHA: e52aeee at: https://6091c5bad5946b0c94159969--pythia-foundations.netlify.app

@jukent jukent requested review from a team and dopplershift May 5, 2021 20:47
@jukent
Copy link
Contributor Author

jukent commented May 5, 2021

I understand if we want to wait to merge this to see if it should be altered to match the upcoming page template. I also think it could be reasonable for the spin-up content to take on a slightly different form than the package specific pages.

@ktyle
Copy link
Contributor

ktyle commented May 5, 2021

Very nice, @jukent . Before I post some specific edits and comments, I'm wondering if for text-centric content, such as this specific document, there might be an easier way than Github pull requests and forks to contribute stylistic changes as well as more content-related edits. I think I'll bring this up at tomorrow's IWG session.

@jukent
Copy link
Contributor Author

jukent commented May 5, 2021

Very nice, @jukent . Before I post some specific edits and comments, I'm wondering if for text-centric content, such as this specific document, there might be an easier way than Github pull requests and forks to contribute stylistic changes as well as more content-related edits. I think I'll bring this up at tomorrow's IWG session.

I think that's a great topic for tomorrow.

added to hack md
added to hack md
Changed image links to imgur instead of local paths
@jukent
Copy link
Contributor Author

jukent commented May 6, 2021

I have linked this to hackmd, but am not yet sure how to make it appear on Github.

The links in this PR are:
https://hackmd.io/LfO88uo7R_C8pypTCH3IWA
https://hackmd.io/6G271W9GRmWtaNO4chnJUg
https://hackmd.io/JRLBLL8TSAi7TpOPRcBJpg

@github-actions
Copy link

github-actions bot commented May 6, 2021

🚀 📚 Preview for git commit SHA: 9650ba2 at: https://609443fea4abf900950243f1--pythia-foundations.netlify.app

@clyne
Copy link
Contributor

clyne commented May 6, 2021

I have linked this to hackmd, but am not yet sure how to make it appear on Github.

The links in this PR are:
https://hackmd.io/LfO88uo7R_C8pypTCH3IWA
https://hackmd.io/6G271W9GRmWtaNO4chnJUg
https://hackmd.io/JRLBLL8TSAi7TpOPRcBJpg

The first two links seem to be broken (404). I was able to access the third and successfully fixed a typo and added a test comment. A few questions:

  1. Are you able to see the change that I made (the typo that I fixed)?
  2. Were you notified that I made changes?
  3. Once we're done iterating, how are GitHub and Hackmd synced up?

@kmpaul
Copy link
Contributor

kmpaul commented May 6, 2021

The three links work for me. Weird.

@jukent
Copy link
Contributor Author

jukent commented May 6, 2021

I have linked this to hackmd, but am not yet sure how to make it appear on Github.
The links in this PR are:
https://hackmd.io/LfO88uo7R_C8pypTCH3IWA
https://hackmd.io/6G271W9GRmWtaNO4chnJUg
https://hackmd.io/JRLBLL8TSAi7TpOPRcBJpg

The first two links seem to be broken (404). I was able to access the third and successfully fixed a typo and added a test comment. A few questions:

  1. Are you able to see the change that I made (the typo that I fixed)?
  2. Were you notified that I made changes?
  3. Once we're done iterating, how are GitHub and Hackmd synced up?

@clyne can you try again on clicking the links? All the links work for both @kmpaul and myself. In a previous edit the links did not work - so I wonder if it is cached somehow.

  1. I was able to see that @kmpaul made changes, but I don't see any changes that you have made. Maybe there is a certain process we have to follow (and document!)
  2. I did not receive a notification, I can look at the notification settings.
  3. I as the owner of this note and PR fork can go in and push to github with all of the changes we've made included. I think only the owner can do this step.

Copy link
Member

@brian-rose brian-rose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some edits to the text in several documents over on hackmd


1. With your Conda environment activated and Jupyter session launched (see above),create a directory to store our work. Let's call it `pythia-foundations`.

![Jupyter GUI](https://i.imgur.com/J5l9f9l.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the screenshot if you get rid of nb_conda_kernels

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm my Jupyter terminal doesn't look any differently. Perhaps I have nb_conda_kernels installed at base. What is the easiest way to make Jupyter appear as if it were a brand new install?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed at today's EWG, it's probably as you said because you have nb_conda_kernels in base.

I took a new screenshot and dropped it into 2240de3


![Jupyter - Hello World](https://i.imgur.com/InDEyPn.png)

**Congratulations!** You have just set up your first Python environment and run your first Python code in a Jupyter notebook.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include some instructions for how to save the notebook and shut down the lab session?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a section heading for this in 2240de3

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 64b8c1e at: https://609d550acbf9700d12fa8516--pythia-foundations.netlify.app

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 4d04bd9 at: https://609d57e0dc6ffa05168879e2--pythia-foundations.netlify.app

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 2240de3 at: https://609d7f2a64f4cc0b4e5a1941--pythia-foundations.netlify.app

@brian-rose
Copy link
Member

Let me try that again, because I don't see the updated screenshot in the rendered version.

@brian-rose
Copy link
Member

Ok, I see that the markdown file didn't actually link to the images in the repo at all but pointed to imgur links. I replaced those so the new screenshot should show up this time.

@jukent
Copy link
Contributor Author

jukent commented May 13, 2021

Ok, I see that the markdown file didn't actually link to the images in the repo at all but pointed to imgur links. I replaced those so the new screenshot should show up this time.

The markdown file used the images before, but HackMD doesn't seem to be able to see them - hence the imgur links. This is perhaps another pain point of HackMD.

Thanks for grabbing that screenshot!

@brian-rose
Copy link
Member

Yeah, maybe HackMD is not quite the right tool for this job.

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 8b9856a at: https://609d86ab00847819628e4841--pythia-foundations.netlify.app

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 89f6e44 at: https://609ec4f80bc7ad173be7190c--pythia-foundations.netlify.app

@jukent jukent requested a review from brian-rose May 14, 2021 18:46
@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 259faa5 at: https://60afc5cc4758a400aacbb8c9--pythia-foundations.netlify.app

@github-actions
Copy link

🚀 📚 Preview for git commit SHA: 12ac475 at: https://60afcc4d9c8ae20d72ae5f3a--pythia-foundations.netlify.app

@brian-rose
Copy link
Member

We should close this since all the content has been merged into #50 which is still getting reviewed.

@brian-rose
Copy link
Member

This is out of date now and the new content has been merged in #50. Closing this.

@brian-rose brian-rose closed this May 28, 2021
@jukent jukent deleted the how2run branch June 2, 2021 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Content related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants