Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:45

    renovate[bot] on redux-mock-store-1.x

    Update dependency redux-mock-st… (compare)

  • 10:10

    renovate[bot] on terser-webpack-plugin-2.x

    Update dependency terser-webpac… (compare)

  • 05:25

    dependabot-preview[bot] on pip

    Bump whitenoise from 4.1.4 to 5… (compare)

  • 05:25

    dependabot-preview[bot] on pip

    Bump importlib-metadata from 1.… (compare)

  • Dec 10 18:59
    Heroku [iodide-staging] deployed d43a5622
  • Dec 10 18:41

    renovate[bot] on react-popper-1.x

    (compare)

  • Dec 10 18:41

    renovate[bot] on eslint-plugin-import-2.x

    (compare)

  • Dec 10 18:41

    renovate[bot] on css-loader-3.x

    (compare)

  • Dec 10 18:41

    renovate[bot] on babel-plugin-macros-2.x

    (compare)

  • Dec 10 18:41

    renovate[bot] on react-jss-10.x

    Update dependency react-jss to … (compare)

  • Dec 10 18:40

    bcolloran on master

    Update dependency css-loader to… (compare)

  • Dec 10 18:40
    Heroku [iodide-staging] deployed 7f147474
  • Dec 10 18:40

    bcolloran on master

    Update dependency react-popper … (compare)

  • Dec 10 18:39

    bcolloran on master

    Update dependency eslint-plugin… (compare)

  • Dec 10 18:39

    renovate[bot] on react-table-6.x

    (compare)

  • Dec 10 18:39

    bcolloran on master

    Update dependency babel-plugin-… (compare)

  • Dec 10 18:38

    bcolloran on master

    Update dependency react-table t… (compare)

  • Dec 10 18:26
    Heroku [iodide-staging] deployed 0796675f
  • Dec 10 18:23

    renovate[bot] on terser-webpack-plugin-2.x

    (compare)

  • Dec 10 18:23

    renovate[bot] on babel-monorepo

    (compare)

Mehmet Oguz Derin
@mehmetoguzderin
20191128_155206.jpg
20191128_155115.jpg
Talking Iodide yesterday
Michael Droettboom
@mdboom
Great, thanks for presenting that, @mehmetoguzderin ! Will there be video posted at some point?
William Lachance
@wlach
awesome @mehmetoguzderin !
@mdboom how is scipy india?
Mehmet Oguz Derin
@mehmetoguzderin
@mdboom Sadly we had a technical difficulty thus we couldn't manage to record the event. But we recorded all the events prior to this: https://www.youtube.com/channel/UCyakf4xgcgarY2tnmlkg-xA
I hope to do an event(s) that is (are) solely focused on Iodide and I will make sure to get them recorded!
bcolloran
@bcolloran
@mehmetoguzderin that's great! thank you for sharing those pictures! :-D
Mehmet Oguz Derin
@mehmetoguzderin
@bcolloran Let's hope that these are just the first 😹
William Lachance
@wlach
deploying @zzl0's revision pruning PR on definitely-staging before merging. will talk about this PR more during today's meeting - I am quite excited about it
William Lachance
@wlach
Reminder that we'll be having our usual weekly iodide meeting today at 9am PST / 12 pm EST / 4 pm UTC (that's about 25 minutes from now) on Zoom -- [Agenda], [Zoom Link] -- the formal agenda is short, feel free to come and ask questions
as an interesting aside, I wrote up a small iodide notebooks to do the gruntwork of generating the meeting template for these things -- https://definitely-staging.iodide.io/notebooks/225/?
bcolloran
@bcolloran
@wlach -- i'm migrating to a new machine, and i'm wondering if there is an easy way to move all org my existing localhost dev test notebooks+history to my new machine. like, can i just copy a db file from the old machine to the new one, or something like that?
William Lachance
@wlach
@bcolloran you should be able to dump the django db, let me dig up a reference
bcolloran
@bcolloran
thanks @wlach
bcolloran
@bcolloran

@mdboom fiddling around with iodide-project/pyodide#504

what am i doing wrong in this NB?-- https://alpha.iodide.io/notebooks/3809/ . I expected it to return several matches including the variables defined further up, but the matches array has only two entries, the fist of which is "undefined" (i don't know what that means coming from Python...), and the second of which is just builtins.range

Michael Droettboom
@mdboom
I think I've found the issue and a fix. PR coming soon.
Aman Sharma
@algomaster99
Hey! I have set up the pyiodide environment on my local but I am not able to access the pyiodide notebook. I can only see the console. How can I access the notebook?
Michael Droettboom
@mdboom
Iodide and Pyodide are separate (but related) projects. To use the notebook, you'll need to set up the Iodide project, and then to put Python support in it, you set up the Pyodide project. Hope that makes sense. Feel free to ask about any further details.
bcolloran
@bcolloran
we appear to have a test failing on master:

 FAIL  src/editor/actions/__tests__/server-save-actions.test.js
  ● saveNotebookToServer › works as expected when there is no notebook on the server yet

    expect(received).toEqual(expected) // deep equality

    - Expected
    + Received

    - Array [
    -   Object {
    -     "notebookInfo": Object {
    -       "notebook_id": 1,
    -       "revision_id": 1,
    -       "revision_is_latest": true,
    -       "serverSaveStatus": "OK",
    -       "tryItMode": false,
    -       "user_can_save": true,
    -       "username": "this-user",
    -     },
    -     "type": "UPDATE_NOTEBOOK_INFO",
    -   },
    - ]
    + Array []

      69 |       undefined
      70 |     );
    > 71 |     expect(store.getActions()).toEqual([
         |                                ^
      72 |       {
      73 |         notebookInfo: {
      74 |           notebook_id: 1,

      at Object.<anonymous> (src/editor/actions/__tests__/server-save-actions.test.js:71:32)
anyone else see this failure, or do i have a bad master somehow? anyone work on related files recently?
@mdboom i have autocomplete working for js -- if you can add a method to the pyodide object such that i can call window['pyodide']['completeRequest'], i think we can have Jupyter quality completions for Pyodide within a day
Michael Droettboom
@mdboom
Cool, @bcolloran. I should have some time after the meeting today to play with that. That would be awesome.
Michael Droettboom
@mdboom
Working on integrating the pieces now...
Michael Droettboom
@mdboom
@bcolloran : How do I trigger the autocomplete? I'm running the branch in that PR, and I don't seem to get any JS autocompletions or any of the console logging I'd expect to see.
NM: It's related to my own hack I think...
Michael Droettboom
@mdboom
@bcolloran : The pyodide-side related changes: iodide-project/pyodide#584
And the iodide-side changes to make autocomplete language-agnostic: iodide-project/iodide#2539
Aman Sharma
@algomaster99
I am working on the issue - iodide-project/pyodide#437 (instead of 1.16.2, I am upgrading it to 1.17.4 (latest release)).
I updated all the patches by running git diff between the versions (1.51.1 and 1.17.4) but I keep getting this error when I run make :(
error: Linking globals named 'npy_sinl': symbol multiply defined!
shared:ERROR: Failed to run llvm optimizations:
Can anyone help me how can I go about this issue?
Michael Droettboom
@mdboom
Hmm... Have you tried cleaning the git repo before rebuilding? Maybe this symbol was moved. Also, does this function name appear more than once in the numpy source code?
Aman Sharma
@algomaster99
Do you mean deleting the build folder in numpy before running make?
Not sure. I will have to check if it appears more than once.
Also, can you please explain why are we updating patches by taking git diff? What is its use?
Aman Sharma
@algomaster99
We provide the package source URL so the make command should the download the new package. Why does it need us to enter patches manually?
Michael Droettboom
@mdboom
There are a few changes that are required to numpy to make it compile with emscripten. That's what the patches are for. With every upgrade of Numpy, you have to apply those changes on top of the new version and make manual adjustments if necessary.
Looking at the issue again, I wonder if the contents of config.h (in the packages/numpy/files) might need to be updated to support the new version of Numpy...
Aman Sharma
@algomaster99
Okay, let me try that.
Aman Sharma
@algomaster99
How do we deduce what changes have to made to make it compile with emscripten?
Aman Sharma
@algomaster99
I know it might be a lot but can you please explain how any package is added to the ecosystem? What all does one have to take care of?
If you have any links I can read from, please let me know 😌
Michael Droettboom
@mdboom
The process is pretty manual. You basically let the package compile and see what compiler errors are produced and then come up with workarounds -- and that's what makes it into the patches.
You may want to consider removing all of the patches to start, trying to build the new numpy and then adding the patches back in one-by-one as you hit what seem to be related errors.
Aman Sharma
@algomaster99
Thanks! What is the role of header files in numpy/config? How is that being used?
Michael Droettboom
@mdboom
Numpy generates these files at build time based on what it finds on the system. When compiling to Wasm, it can't actually do this -- it can't compile little test executables and run them to see what the system is capable of -- so we have to hard code it. It is mostly the output of what happens on x86_64, with a few changes as necessary to get it to compile.
@bcolloran : A new pyodide release is cut, so iodide-project/iodide#2539 should work now.
Aman Sharma
@algomaster99
I don't think files inside config are made at build because it has config.h and _numpyconfig.h. If I am wrong, please correct me.
Michael Droettboom
@mdboom
That's correct. What I meant was in a normal invocation of Numpy for native hardware, it generates those files. When building for webassembly, it can't do that so we have to provide them pre-made and hardcoded. They get included in the Numpy emscripten build because we pass -I../../config as cflags from the meta.yaml file.
Aman Sharma
@algomaster99
Oh okay, I got it. Thanks!