19 Sep 2017 |
christian.fobel | Lucas, I thought you might find these interesting:
https://hackernoon.com/6-reasons-why-javascripts-async-await-blows-promises-away-tutorial-c7ec10518dd9
https://github.com/nodejs/node/issues/13209
https://twitter.com/umaar/status/897408737694109697 | 19:52:30 |
christian.fobel | Note that I don't think lines like the following will work:
let a = await some_promise(...)
| 19:53:00 |
christian.fobel | Once we switch to Python 3.5, there is equivalent support for async /await there:
http://stackabuse.com/python-async-await-tutorial/
| 20:24:19 |
christian.fobel | Here is the error log from when I tried to build nodejs:
https://gist.github.com/cfobel/c8c2788ee166b607e55db3fea303d13f | 21:01:30 |
christian.fobel | It looks like it should work if the last line of the bld.bat is changed to:
%LIBRARY_BIN%\node.exe deps\npm\bin\npm-cli.js install npm -gf
| 21:58:18 |
christian.fobel | from:
%LIBRARY_BIN%\node.exe deps\npm\cli.js install npm -gf
| 21:58:28 |
christian.fobel | I will try building this tomorrow morning when I get it | 21:58:42 |
christian.fobel | *get in | 21:58:49 |
26 Sep 2017 |
christian.fobel | This looks cool:
https://github.com/nteract/hydrogen | 19:24:24 |
2 Oct 2017 |
christian.fobel | We might want to consider using npm distribution tags to denote release channels. | 15:06:04 |
29 Jan 2018 |
christian.fobel | Redacted or Malformed Event | 21:21:24 |
christian.fobel | lucaszw: Here is an example of a threadsafe decorator. It is for GTK, but you could easily port it to asyncio . | 21:22:13 |
christian.fobel | You can use it as a decorator, or you can also use it to call something threadsafe inline, e.g.:
gtk_threadsafe(my_function)(arg1, arg2, kwarg1='something')
| 21:24:27 |
christian.fobel | Here's an example decorator using a self argument:
https://github.com/sci-bots/microdrop.dropbot-plugin/blob/441e7beea6aa6ad05d6a4dfb7d87cab0225a1c32/__init__.py#L252-L262
| 21:28:18 |
15 Oct 2018 |
| Matrix Traveler (bot) joined the room. | 06:41:43 |
| kasbah joined the room. | 08:28:51 |
25 Oct 2018 |
kasbah | is this the web interface we were talking about at GOSH ryan.fobel: | 09:32:46 |
kasbah | https://github.com/sci-bots/microdrop-3 | 09:32:48 |
ryan.fobel | In reply to @kasbah:matrix.org https://github.com/sci-bots/microdrop-3 Yes, we're putting together some better docs for setting up a dev environment/installing. Will ping you next week hopefully with an update, or you can try installing and let us know if you run into problems | 15:06:33 |
29 Oct 2018 |
kasbah | ryan.fobel: wasn't a problem since I am familiar with js/yarn/lerna | 09:09:22 |
kasbah | Download image.png | 09:09:30 |
ryan.fobel | Cool. Are you on Linux/Windows/Mac? | 13:59:07 |
kasbah | I'm on Ubuntu Linux | 14:45:41 |
ryan.fobel | Great! christian.fobel came up against an issue installing on the Linux subsystem for Windows, so I'm glad it worked for you | 14:56:28 |
kasbah | so yeah, it runs, i guess it can't do much without a machine? | 15:14:05 |
ryan.fobel | Yeah, if you plug in a webcam you can play around with some of the video overlay stuff... | 15:14:58 |
ryan.fobel | It's pretty basic at this point. Mostly a way to test out a new software architecture (browser based frontend and MQTT messaging between different plugin modules) | 15:16:34 |
kasbah | i have a webcam in my laptop | 15:22:48 |
ryan.fobel | Our current development efforts are mainly focused on trying to push most of the logic from our current python/GTK software down into the hardware driver layer (python on the host/c++ on the microcontroller) so that the GUI becomes much simpler... Eventually, we'd like to re-imagine the user interface (currently, "protocols" are a linear sequence of steps, but we'd like to support conditional logic and different control flows to make "protocols" more like a true programming language). Once we have some spare bandwitdh, the plan is to develop our next gen user interface using this javascript/MQTT framework | 15:25:07 |
kasbah | makes sense | 15:27:01 |