question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retire the `examples/` folder?

See original GitHub issue

It occurs to me that the examples/ folder isn’t serving much of a purpose anymore, and we may do better to retire it. I certainly don’t want to maintain it if it’s never used.

The example scripts are not packaged in the distribution, nor are they referred to in the documentation.

$ ls -1
adjust_tuning.py*
beat_tracker.py*
estimate_tuning.py*
hpss_beats.py*
hpss.py*
'LibROSA audio effects and playback.ipynb'
'LibROSA demo.ipynb'
onset_detector.py*
time_stretch.py*

I think almost all of these cases are better covered at this point by either the specific docstring examples (eg onset detector, beat tracker, or time stretch) or the advanced examples in the gallery (audio effects, demo notebook).

I’d be open to expanding to the advanced example gallery to cover anything crucial that we’d lose by removing the examples folder. What do the other devs think?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
bmcfeecommented, Jun 22, 2021

Thanks for your input here. I don’t want to tie us to colab, given google’s propensity to discontinue useful services, but it’s easy enough to add examples in the gallery. These can automatically export to notebooks, which ought to be good enough.

0reactions
bmcfeecommented, Nov 29, 2021

Aha! Audio embeds do work, but the only catch is that you can’t stack them using display like in a notebook. I can work around that easily enough.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simplify Your Filing System and Retire Your To-File Pile
1. Categorize Files Before you tackle your to-file pile, you need to create some structure. · 2. Develop a Color Code Color-coding file...
Read more >
Six Tips For Organizing Your Records - Retirement Visions, LLC
#3. Set up your files. Give each file folder a name corresponding to a category of documents. Examples are: • Unpaid Bills. •...
Read more >
Search - Foreign Affairs Manual - Department of State
Retire official personnel folders of Foreign Service nationals to the Office of Personnel, Records Management Division (GTM/EX/ADM/RIM), Department of State, ...
Read more >
RetireJS/retire.js - GitHub
A Grunt task for running Retire.js as part of your application's build routine, or some other automated workflow. Gulp task. An example of...
Read more >
Best Practices for Retiring Computers
The following describes how to retire computers: To manually retire computers: In the Symantec Management Platform Console, go to Manage > ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found