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.

Hello again @flaport,

I 've been reading through the code, and I have suggestions (that I could also possibly implement):

  1. Automate tests through github Actions. (I ve actually already implemented a PoC on my fork - will open a PR). In the future Actions can also be used for publishing docs and the package itself on pypi.

  2. Some (minor?) code refactoring, hopefully without having to change the current API at all. An example of what I have in mind is changing this to a class factory and generally some clarity changes.

  3. [edit] I would also suggest using another branch for active development/merges were changes are frequent (dev/staging?) and using master as a definitive branch for releases.

Looking forward to your thoughts on the above and more 😃

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
iakovtscommented, Jul 12, 2021

Hey @flaport, sorry for the late response. Oops I didn’t realize that for the numpy slices (even though it’s something I’m actually using a lot - just didn’t put 2 and 2 together till now haha). Ok, I ll keep working on the boundaries and open a PR when ready!

0reactions
flaportcommented, Jul 6, 2021

thanks @iakovts, this looks good!

I think there should be a way around setting self.__class__, which I must admit I also don’t like very much. I can have a look after merging this.

For numpy arrays slice(None) at the end of the tuple is equivalent with not adding it at all (e.g. think of x[:, :] vs x[:] for a 2D array). However, it’s probably better to be more explicit here as well and add it for completeness.

Read more comments on GitHub >

github_iconTop Results From Across the Web

19 Words and Phrases for General Tasks - Power Thesaurus
Synonyms for General tasks · overall tasks · common tasks · everyday tasks · popular tasks · social tasks · general duties ·...
Read more >
General tasks set up - Tymeshift
These are tasks like lunch, breaks, meetings, and training activities. Creating a General Task is easy! Step 1. Go to Admin ( )...
Read more >
General tasks and demands - ICF illusration library
Undertaking a single task, Undertaking multiple tasks, Carrying out daily routine, Handling stress and other psychological demands.
Read more >
A general task definition | Download Scientific Diagram
Humans are daily presented with tasks that they complete with little effort of even consideration of the planning that goes into the movement....
Read more >
General Tasks - Trend Micro
General Tasks Parent topic. This chapter describes typical tasks that users perform when working with the Security Agent. Related information.
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