!NtHKieBvWFKjwbrDno:matrix.org

microdrop-dev

8 Members
4 Servers

Load older messages


SenderMessageTime
19 Sep 2017
@christian.fobel:matrix.orgchristian.fobelLucas, 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/89740873769410969719:52:30
@christian.fobel:matrix.orgchristian.fobel

Note that I don't think lines like the following will work:

let a = await some_promise(...)

19:53:00
@christian.fobel:matrix.orgchristian.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:matrix.orgchristian.fobelHere is the error log from when I tried to build nodejs: https://gist.github.com/cfobel/c8c2788ee166b607e55db3fea303d13f21:01:30
@christian.fobel:matrix.orgchristian.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:matrix.orgchristian.fobel

from:

%LIBRARY_BIN%\node.exe deps\npm\cli.js install npm -gf
21:58:28
@christian.fobel:matrix.orgchristian.fobelI will try building this tomorrow morning when I get it21:58:42
@christian.fobel:matrix.orgchristian.fobel*get in21:58:49
26 Sep 2017
@christian.fobel:matrix.orgchristian.fobelThis looks cool: https://github.com/nteract/hydrogen19:24:24
2 Oct 2017
@christian.fobel:matrix.orgchristian.fobel We might want to consider using npm distribution tags to denote release channels. 15:06:04
29 Jan 2018
@christian.fobel:matrix.orgchristian.fobelRedacted or Malformed Event21:21:24
@christian.fobel:matrix.orgchristian.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:matrix.orgchristian.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:matrix.orgchristian.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
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.06:41:43
@kasbah:matrix.orgkasbah joined the room.08:28:51
25 Oct 2018
@kasbah:matrix.orgkasbah is this the web interface we were talking about at GOSH ryan.fobel: 09:32:46
@kasbah:matrix.orgkasbahhttps://github.com/sci-bots/microdrop-309:32:48
@ryanfobel:matrix.orgryan.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:matrix.orgkasbah ryan.fobel: wasn't a problem since I am familiar with js/yarn/lerna 09:09:22
@kasbah:matrix.orgkasbahimage.png
Download image.png
09:09:30
@ryanfobel:matrix.orgryan.fobelCool. Are you on Linux/Windows/Mac?13:59:07
@kasbah:matrix.orgkasbahI'm on Ubuntu Linux14:45:41
@ryanfobel:matrix.orgryan.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:matrix.orgkasbahso yeah, it runs, i guess it can't do much without a machine?15:14:05
@ryanfobel:matrix.orgryan.fobelYeah, if you plug in a webcam you can play around with some of the video overlay stuff...15:14:58
@ryanfobel:matrix.orgryan.fobelIt'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:matrix.orgkasbahi have a webcam in my laptop15:22:48
@ryanfobel:matrix.orgryan.fobelOur 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 framework15:25:07
@kasbah:matrix.orgkasbahmakes sense15:27:01

Show newer messages


Back to Room ListRoom Version: