stable
Here are 154 public repositories matching this topic...
-
Updated
May 12, 2021 - Python
-
Updated
May 21, 2021 - Jinja
-
Updated
Mar 18, 2021 - C#
-
Updated
May 21, 2021 - C
The first episode is more a description of "a" version control system, rather than of Git. I think that's useful as this is the first exposure of many learners to the concept. Also, the model based on diffs in not completely accurate for Git. A compromise to be both accurate and keep it simple could be to change the second objective to reflect this. So, what about?
Understand the basics
-
Updated
May 21, 2021 - R
NB: Good first issue label (cannot be added because not in contributor list)
Exercise Reading error Messages - Lesson "Error and Exceptions"
(http://swcarpentry.github.io/python-novice-inflammation/09-errors/index.html)
- As dictionaries are not introduced previously in lesson (maybe a consequence of reducing the lesson) I suggest the following:
- Moving this exercise at the end of th
This means bridging by sending a state event https://matrix.org/docs/spec/client_server/r0.6.0#m-room-pinned-events when the https://api.slack.com/events/pin_added or https://api.slack.com/events/pin_removed events come over Slack. You'll need to add a handler to SlackEventHandler
-
Updated
Apr 30, 2021 - HTML
-
Updated
May 17, 2021 - HTML
This challenge asks student to print an informative message if there are any records in gapminder for the year 2002. Two solutions are provided, one using any(gapminder$year == 2002) (note any() isn't introduced until later in that episode) and one much more complicated one involving counting the number of rows for the year 2002. It seems to me the only reasonable way to do this is with %in%
Admittedly, I'm not a pythonista, but I wonder whether there would be value in using bash versions of the three python scripts. For whatever reason, I'm running into problems with getting python installed correctly on my Mac. Once I got it pointed in the right direct, I ran into problems with installing numpy. It's quickly becoming a tutorial on installing python rather than make :)
I suspect the
Dear Community,
There is a typo in the section titled "The StringsAsFactors argument" after the second block of code that demonstrates the use of the str() function. Right after the code boxes is written "We can see that the $Color and $State columns are factors and $Speed is a numeric column", but the box shows that the $Color column is a vector of strings.
Regards,
Rodolfo
Teaching feedback
- I felt like
nuniquewas arbitrarily (re)introduced when it was necessary. It wouldn't be top-of-mind for students solving problems. - The lesson answers need to be adjacent to the exercises.
- I like the pre-introduction of masks and then circling back around to explain them.
- I feel like Part 4 needs to be broken up and integrated across other lessons: it felt thin on its own.
- Horizo
In lesson 16: Writing Functions, there is a question regarding "Order of Operations" using the print_date function. This is a good question, but because print_date has already been defined earlier in the lesson, the students will not get the desired error. I recommend using a different example function here to teach order of operations. Thank you!
-
Updated
Mar 14, 2021 - Ruby
-
Updated
Mar 27, 2019 - Go
-
Updated
May 21, 2021 - PHP
-
Updated
May 10, 2021 - JavaScript
In episode _episodes_rmd/12-time-series-raster.Rmd
There is a big chunk of code that can probably be made to look nicer via dplyr:
# Plot RGB data for Julian day 133
RGB_133 <- stack("data/NEON-DS-Landsat-NDVI/HARV/2011/RGB/133_HARV_landRGB.tif")
RGB_133_df <- raster::as.data.frame(RGB_133, xy = TRUE)
quantiles = c(0.02, 0.98)
r <- quantile(RGB_133_df$X133_HARV_landRGB.1, q
The discussion of data types and data structures in "Vectors and data types" could be clarified. Perhaps even defining these terms before using them would help. Also note that the first sentence of the section reads "A vector is the most common and basic data type in R, and is pretty much the workhorse of R." perhaps this should be changed to "basic data structure"
-
Updated
Sep 24, 2020 - C
Improve this page
Add a description, image, and links to the stable topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the stable topic, visit your repo's landing page and select "manage topics."
The Unix Shell: Lesson 4. Pipes and Filters
Word count without flags is used to initially introduce the command and outputs three points of data - character, word, and line count. Then -l is added to show how line count is attained. It would be helpful to also include wc -cwl to show that the output is the same as default without flags. This would help by teaching about default flags and also inc