On 25 Apr 2016, at 08:06, Jed Carty <inmy...@gmail.com> wrote:
I looked at this a bit more and I think that it may have a broader application than just inter-wiki communication. I am going to have the widget that creates workers and then worker definitions in other places, then you can use the same widget to make different types of workers and get something like threaded behaviour in tiddlywiki. The first example I can think of where this would be useful would be a simple timer. You can make a timer now, but this would be simpler and prevent any negative effects on UX from the timer hogging the main thread. It could also be used for calendar things to spawn notices when certain conditions are met.
I am going to look at it some more, but I think that we could put extensible support into the core for workers and allow new worker types to be defined in other plugins or tiddlers. This could make triggering things on change events easier too but I am not sure how much we want to go with that behaviour.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/bf964e75-9c64-488d-b9d8-b22de374010d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That is very annoying. I hadn't figured out where the bad URI errors I got while testing, I thought I was copying urls incorrectly or something. With that restriction this becomes much less useful in general. I think they can still be used for some multi-threading but I don't know how generally useful that is going to be since we can already make daemon processes as startup modules.
I will play with it some more and see if I come up with any good uses.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/df31e541-f465-4d8a-bb94-a6c09e2b9e14%40googlegroups.com.
On 26 Apr 2016, at 09:00, Jed Carty <inmy...@gmail.com> wrote:
From what I can see you can use in-line js to create a worker from a blob if you are not on an https domain, but if you are on an https domain than you can only load workers from an https domain and I have seen online that making a blob into a data uri is considered to be from a non-https domain. If that is the case than we wouldn't be able to host a wiki on an https domain and define the workers inside the wiki itself. I don't have an easy way to test that at the moment, but if that is true than workers may turn out to cause trouble even for simple threaded behaviour.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/5d61beda-0fd3-46b1-8b62-eda24f189cca%40googlegroups.com.