Coder Social home page Coder Social logo

iodide-examples's People

Contributors

bcolloran avatar devinbayly avatar djbarnwal avatar hamilton avatar imshubhamsingh avatar jandrewtorres avatar mdboom avatar teonbrooks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iodide-examples's Issues

Comparing sort algorithms may not be best example

Your comparing algorithms example is great for visualizing individual sorting algorithms, but is problematic if it is used to compare algorithms.

Here is a nice site that does compare algorithms properly: https://www.toptal.com/developers/sorting-algorithms/

However, it does so by animating snapshots at particular points. This is hard to do with running javascript because the amount of code run between visualization updates is different.

My suggestion would be do not compare algorithms by having more than one at a time, but merely selecting one. Another possibility would be to rewrite the code in your pyodide Python using generators, so that each co-routine would be in sync.

[META] kaggle data science tutorials

@djbarnwal had the great idea of reproducing and extending examples of data analyses from kaggle using Iodide. This will be really great way to introduce people to Iodide and to data science using JS, as well as giving you a change to practice your data science and visualization skills

If you want to create an example notebook from a kaggle dataset, please feel free to create a new issue and reference it back here (or you can just file a PR and we'll link back to this issue in the PR)

provide authorship info on example notebooks

At the moment we have not enforced any authorship standards (who created the notebook, who maintains it, etc.) on examples, mostly because we don't have a ton of notebooks and at this point we're very early on. These may be nice pieces to have in-place.

I would argue that we can make it really easy with an md cell at the bottom of the notebook that just says this:

__original author__: author name here
__contributors__: comma separated list of contributors to the notebook
__maintainer__: (optional) if different from original author
__submission date__: date here

add README.md file

We need a README.md that fully expresses how to add an example notebook to this repository.

(We'll add notebooks as PRs, is the bottom line)

[META] tutorial notebooks vol. 1

@hamilton commented on Wed Dec 13 2017

We need a set of decent tutorial notebooks before this repository turns public. One thing that many closed-source computing platforms get right is the documentation, tutorials, and examples are almost always enough to jump in and hit the ground running. Max/MSP, in particular, does a great job of of keeping almost all the documentation in the form of patches, which is the main Max/MSP paradigm.

Her are a list of useful tutorials (add more as we talk about it):

  • how to perform basic DOM manipulations. This should drive home that we are ON the DOM. Should start with a bit of motivation, and then end in a small d3 example, and / or a webgl example. (#200)

Need a tutorial notebook that explains how JS computation is handled and known wrinkles

@bcolloran commented on Sun Feb 18 2018

re #365, but in general -- we need a notebook that talks about how computation works in Iodide:

  • the linear execution order of cells for a synchronous Jupyter-like workflow, run all, and how this is not a normal pattern for the web
  • sync vs async resource loading
  • eval blocking the thread and why you might want to do big computations in workers, but that you will need to handle the added complexity of making this work within the cell-by-cell execution pattern
  • let and const inside of eval

@mdboom @hamilton @wlach -- any other wrinkles you've noticed that need explanation? Anything that would be confusing to either people used to async-ish JS or sychronous Python+Jupyter?

Error in python.html

just stumbled upon this error when running the python.html example. it errors when the square function is executed.

image

cc: @mdboom

[meta] we should aim for "cheat sheets" like these https://www.rstudio.com/resources/cheatsheets/

these cheat sheets are a great idea
https://www.rstudio.com/resources/cheatsheets/

would be great to have information-dense, runnable overviews if we can think of a way to do it.

for things built into Iodide:

  • how to load data

for key libraries:

  • how to plot easily and quickly
    • with plotly
    • with metrics graphics
    • ???? need to find leading libraries!!!
  • how to manipulate data
    • ???? need to find leading libraries!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.