Skip to content
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

First Review Changes - Part 1 #13

Merged
merged 18 commits into from
Feb 8, 2024
Merged

First Review Changes - Part 1 #13

merged 18 commits into from
Feb 8, 2024

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Jan 29, 2024

Changes to address before Feb 15th

  • index.md
    • Replace/remove badge
  • profiling_introduction.md
    • screenshot of a timeline from a profiler to annotate timeline profilers
    • GTA callout:
      • why the source code was not optimised at he first place?
      • How much development time the company saved ?
      • Why we have so much buggy software/early access release?
    • Trusting quality/correctness/perf of packages
  • profiling-functions.md
    • explain call-stack to give context to function level profiling.
    • Change download links to download attributed anchors
    • Improve cprofile re.compile() example with something more accessible.
    • The pred-prey exercise solution could be more verbose/include screenshots?
  • profiling-lines.md
    • Change download links to download attributed anchors
  • opt-intro
    • Could an applied example/exercise be created to hammer home premature optimisation? Code that goes faster but makes no sense. (This could be examples away from software development, e.g. structuring a startup so that it can scale to millions of customers before it has even one.
    • PyTest explanation needs to be longer
    • Simple pytest exercise? e.g. cover edge-cases
    • Review overview of what's to be covered after restructure
    • Can we explain CPython/C/Python bytecode here? It gets mentioned in the following episode with no context.
  • data-structures.md
    • Feels very long now, generator functions feels weak could be removed? (also remove from intro/conclusion)
    • This section could wrap an exercise proposing some hypothetical situations, what's the appropriate data structure/algorithm?
  • minimise-python.md
  • uptodate.md
    • is there a recommended way to update/find latest supported python version/packages?
  • big break
  • memory.md
    • This is technical, needs to have more diagrams etc to ease the learning
    • Need to introduce terms like L1, CPU
    • Diagrams would help
      • Annotated photo of a motherboard (cpu/ram/harddrives/gpu?)
      • NV architecture style graphic to visualise CPU/L1/L2/L3 cache + ram
      • disk access one?
    • Now that numpy comes first, may be able to build a working example for variable access
  • opt-conclusion.md
    • complete keypoints
    • Refer to further reading
  • Add an acknowledgements/contributors page.
  • Add explicit breaks (this is a carpentries standard thing)

More thorough todo list will be added to PR.
Copy link

github-actions bot commented Jan 29, 2024

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/RSE-Sheffield/pando-python/compare/md-outputs..md-outputs-PR-13

The following changes were observed in the rendered markdown documents:

 acknowledgements.md (new)                          |   20 +
 config.yaml                                        |    6 +-
 fig/annotated-motherboard.jpg (new)                |  Bin 0 -> 417226 bytes
 fig/hardware.ai (new)                              | 1540 ++++++++++++++++++++
 fig/hardware.png (new)                             |  Bin 0 -> 25651 bytes
 fig/predprey_out.png (new)                         |  Bin 0 -> 73438 bytes
 fig/snakeviz-predprey-table.png (new)              |  Bin 0 -> 37033 bytes
 fig/testsuite-dir.png (new)                        |  Bin 0 -> 19915 bytes
 fig/viztracer-example.png (new)                    |  Bin 0 -> 119310 bytes
 md5sum.txt                                         |   20 +-
 ...d => optimisation-data-structures-algorithms.md |  198 ++-
 optimisation-introduction.md                       |  120 +-
 optimisation-list-tuple.md (gone)                  |  202 ---
 optimisation-memory.md                             |   36 +-
 optimisation-minimise-python.md                    |   30 +-
 optimisation-use-latest.md                         |   63 +-
 profiling-functions.md                             |  119 +-
 profiling-introduction.md                          |   22 +-
 profiling-lines.md                                 |   34 +-
 19 files changed, 2038 insertions(+), 372 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2024-02-08 10:25:43 +0000

github-actions bot pushed a commit that referenced this pull request Jan 29, 2024
Still to do my own read-through and review.
github-actions bot pushed a commit that referenced this pull request Jan 29, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 30, 2024
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
Still no exercise.
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
github-actions bot pushed a commit that referenced this pull request Feb 8, 2024
github-actions bot pushed a commit that referenced this pull request Feb 8, 2024
@Robadob Robadob marked this pull request as ready for review February 8, 2024 10:28
@Robadob Robadob changed the title First Review Changes First Review Changes - Part 1 Feb 8, 2024
@Robadob Robadob merged commit 9446aa0 into main Feb 8, 2024
3 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 8, 2024
Auto-generated via {sandpaper}
Source  : 9446aa0
Branch  : main
Author  : Robert Chisholm <[email protected]>
Time    : 2024-02-08 10:33:45 +0000
Message : First Review Changes - Part 1 (#13)

Various improvements from first review of the content
* Typographic corrections
* Increased pred-prey profiling solution detail.
* Replaced links to download with manual anchors with download attribute
* Explain call-stack
* Screenshot of timeline profiler viztracer
* Additional figures to explain hardware architecture of a computer
* Corrected discussion of Python built-ins
* Added greater context to code provided for exercises
* Added greater detail to testing coverage
* Acknowledgements page
github-actions bot pushed a commit that referenced this pull request Feb 8, 2024
Auto-generated via {sandpaper}
Source  : 3c282d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-02-08 10:34:46 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 9446aa0
Branch  : main
Author  : Robert Chisholm <[email protected]>
Time    : 2024-02-08 10:33:45 +0000
Message : First Review Changes - Part 1 (#13)

Various improvements from first review of the content
* Typographic corrections
* Increased pred-prey profiling solution detail.
* Replaced links to download with manual anchors with download attribute
* Explain call-stack
* Screenshot of timeline profiler viztracer
* Additional figures to explain hardware architecture of a computer
* Corrected discussion of Python built-ins
* Added greater context to code provided for exercises
* Added greater detail to testing coverage
* Acknowledgements page
github-actions bot pushed a commit that referenced this pull request Feb 13, 2024
Auto-generated via {sandpaper}
Source  : 3c282d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-02-08 10:34:46 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 9446aa0
Branch  : main
Author  : Robert Chisholm <[email protected]>
Time    : 2024-02-08 10:33:45 +0000
Message : First Review Changes - Part 1 (#13)

Various improvements from first review of the content
* Typographic corrections
* Increased pred-prey profiling solution detail.
* Replaced links to download with manual anchors with download attribute
* Explain call-stack
* Screenshot of timeline profiler viztracer
* Additional figures to explain hardware architecture of a computer
* Corrected discussion of Python built-ins
* Added greater context to code provided for exercises
* Added greater detail to testing coverage
* Acknowledgements page
@Robadob Robadob deleted the optimisation-b branch February 13, 2024 11:56
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.

1 participant