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.

Interactive demo for `arrow` code examples

See original GitHub issue

Hello @crsmithdev,

I’ve been using arrow lately and found it really interesting. We’re also evaluating to include it in our curriculum at https://rmotr.com/ (co-founder and teacher here). It’s cool to show arrow (and also other libraries) in comparison to the built-in datetime module.

While looking at the code examples in the README file I thought it would be great to provide some interactive demo that people can use to play with the library before committing to download and install it locally.

A demo is worth a thousand words 😉

I spent some time compiling all arrow examples into a Jupyter Notebook file, and adapted it in a way that we can open it with a small service we have at RMOTR to launch Jupyter environments online. No signup required to use it, so it’s pretty convenient for people that wants to get hands on the library with a low entrance barrier. Note that arrow is already installed when the env is loaded, so people can start using it right away.

The result is what you can see in my fork of the repo (see the new “Demo” section): https://github.com/martinzugnoni/arrow

Do you think that having such interactive demo would help people to know and use arrow? Let’s use this issue as a kick off to start a discussion. Nothing here is written in stone and we can change everything as you wish.

I hope you like it, and I truly appreciate any feedback.

thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
martinzugnonicommented, Dec 20, 2018

Thanks @systemcatch for the quick response.

I preserved the output of each cell because in the sample snippets most of them were showing which was the expected output each example returns. If wanted, we can remove them and leave users run the cells one by one on their own.

There’s no hurries at all. I’ve simply put this on the table to see what you guys think about it, and see if it might help the project.

I personally love trying things on a demo before installing or signing up to a service. Even better if the demo is constructed in a way that includes meaningful examples showing the benefits of the library compared to others. Of course you can always pip install it locally and try it on your own, but starting with a blank REPL is harder to understand the true advantages or key features of the library.

I see the demo as a tiny interactive course to guide the user through the key components and features of the library.

Looking forward to hear the feedback of the other folks involved in the projects, and also from developers using it.

0reactions
martinzugnonicommented, Feb 27, 2019

@crsmithdev sounds good! Let me know if there’s any other way you see to implement such an interactive demo. Cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interesting HTML And CSS Arrow Examples To Use In A ...
This article is a list of CSS arrows for websites and apps. It also highlights the arrow animations featured in some of the...
Read more >
16+ Javascript Arrow Design Code Examples - csshint
16+ Javascript Arrow Design Code Examples ; Spinin' load arrow · Yusuf ; Double Arrow Button · Manel Roig ; Flexing pagination arrows...
Read more >
60 CSS Arrows - Free Frontend
Collection of free HTML and CSS arrow code examples: animated, back to top, scroll down, simple and for boxes. Update of February 2019....
Read more >
37 Beautiful CSS Arrow Design Examples With Meteoric ...
Collection of interactive and cool CSS arrow designs, Arrow animations, CSS arrow buttons, and a lot to spice up your design.
Read more >
Coding Arrows Teaching Resources - TPT
Bright and colorful coding arrows to be used with any coding device. Students can use the arrows to determine the direction that they ......
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