-
Notifications
You must be signed in to change notification settings - Fork 1
bringing in main #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
bringing in main #56
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7de6590
duplicate sentence
acumpelik 4ca12ee
merged travel.md into conferences_workshops.md and added some info on…
acumpelik c23045d
added info on VS Code, linked a tutorial, and suggested a simple debu…
acumpelik 288b2ba
added info on travel to airport
acumpelik 06acbff
updated info on MTA
acumpelik 18718e9
added info on EWR
acumpelik 3c76249
Update docs/Policies/conferences_workshops.md
dlevenstein 968c3d6
moved travel info and vs_code tutorial to own readmes in resources, a…
acumpelik 7c184d1
added info on debugging script and lab repo, updated .yml file
acumpelik 1940300
Update instructions for using the debugger
dlevenstein 922155a
deleted vscode dir
acumpelik b369ade
updated link to debugging script in vs_code.md
acumpelik 318f537
Improve VS Code section with updated tutorial link
dlevenstein f5a86f9
Update travel resource link in workshop policy
dlevenstein 6a9e93d
Update debugger resource link in vs_code.md
dlevenstein 70f24e5
Update mkdocs.yml
dlevenstein e30eb9b
Update docs/Policies/conferences_workshops.md
dlevenstein c3505a9
Update docs/Resources/vs_code.md
dlevenstein 0d2191a
Update docs/Resources/travel.md
dlevenstein c687e81
Merge pull request #55 from LevensteinLab/andrea
dlevenstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # debug_me.py | ||
| # A tiny script with an intentional bug to practice debugging in VS Code. | ||
|
|
||
| # First, run the script normally to see the error. Then, set a breakpoint on the line | ||
| # with the division operation and run the debugger to inspect variables. | ||
|
|
||
| def divide_numbers(a, b): | ||
| result = a / b | ||
| return result | ||
|
|
||
| def main(): | ||
| numbers = [(10, 2), (5, 0), (8, 4)] | ||
| total = 0 | ||
| for x, y in numbers: | ||
| print(f"Dividing {x} by {y}") | ||
| total += divide_numbers(x, y) | ||
|
|
||
| print("Average:", total / len(numbers)) | ||
|
|
||
| if __name__ == "__main__": | ||
| main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,13 @@ | ||
| To book travel and accommodation for conferences, use World Travel/Concur, Yale's platform for business travel. See [here](https://your.yale.edu/work-yale/campus-services/yale-travel-management) for more information. You can log into the Concur website [here](https://concur.yale.edu/). | ||
|
|
||
| There is a training in Workday called ["Booking Federally Sponsored Travel with World Travel"](https://www.myworkday.com/yale/learning/course/1e7e093ab7a21001abc67bad56c90001?type=9882927d138b100019b928e75843018d&record=00f9b09f318e102c62781e428a3d0001) that you should complete in order to understand the restrictions on booking travel when using federal funds. | ||
|
|
||
| You have a few options when it comes to airports: | ||
| - Bradley International Airport (BDL) in Hartford, CT: drive/Uber | ||
| - Newark International Airport (EWR) in Newark, NJ: direct Amtrak train from New Haven | ||
| - John F. Kennedy Airport (JFK) in Queens, NYC: Amtrak to LIRR or E train to AirTrain | ||
| - LaGuardia Airport (LGA) in Queens, NYC: Metro-North to Harlem-125th Street, then Uber or M60+ bus | ||
|
|
||
| The three NYC airports (including EWR) are generally far cheaper and better connected. The direct Amtrak train from New Haven to Newark/EWR makes that the most convenient option. You can book Amtrak tickets in [Concur](https://concur.yale.edu/) (you should book them in advance) or use the [TrainTime App](https://www.mta.info/traintime) to buy Metro-North/LIRR tickets (less important to buy in advance). | ||
|
|
||
| To navigate the MTA (NYC's public transit system) use Google Maps or e.g. CityMapper for real-time arrival info. The MTA has tap-to-pay terminals, so you can purchase a ticket on-site using your card or phone. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| To get started with VS Code try a tutorial, such as [this one](https://code.visualstudio.com/docs/getstarted/getting-started). The program itself will also give you some tips. | ||
|
|
||
| Some basic tips to get started: | ||
| 1. Link VS Code with your GitHub account | ||
| 2. Open a repository, such as `Lab-Handbook` | ||
| 3. Try out the terminal (e.g. try `echo $SHELL` to see which shell your computer runs by default) | ||
| 4. Install the Python extension | ||
| 5. Create an environment | ||
| 6. Use the debugger. You can copy `Resources/debug_me.py` to try it out! If you want, you can create a new project repo that you will also use for the pytorch tutorial as part of your first project. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new documentation file is missing a page title (header). All other resource files in this directory start with a title using markdown header syntax (e.g.,
# VS Code). Add a title at the beginning of the file to maintain consistency with other documentation pages.