Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alan Fregtman
@darkvertex
I saw in the docs you can register your own proxy objects if you really need to.
Marcus Ottosson
@mottosso
Cool
Alan Fregtman
@darkvertex
I've used it in the past to share a simple dict and it worked super well. Didn't try with logrecords or exceptions, but maybe it works? I'll find out when I get there.
Marcus Ottosson
@mottosso
You can try storing a {"Exception": RuntimeError("Test")} and see what it says
Alan Fregtman
@darkvertex
>>> import multiprocessing
>>> man = multiprocessing.Manager()
>>> d = man.dict()
>>> d['results'] = [{"Exception": RuntimeError("Test")}]
>>> d
<DictProxy object, typeid 'dict' at 0x17ea9d0>
>>> d['results']
[{'Exception': RuntimeError('Test',)}]
>>> d['results'][0]['Exception']
RuntimeError('Test',)
>>> type(d['results'][0]['Exception'])
<type 'exceptions.RuntimeError'>
>>> d.keys()
['results']
Doesn't look like it cares. ¯\(ツ)
this is quite nice for threading I have written the same around qprocess
I need to check if I can share it
I have not used the multiprocess module
but we use the qthread and qprocess stuff a lot and it seems pretty stable
or better it is pretty stable
I ported the task_manager to qt.py for a private project
QML now is host's child window now : )
(But only tested on Windows 7 and 10, Maya 2016 & 2018)
Thanks to this gist !
Toke Jepsen
@tokejepsen
Nice! Am I smelling a PR coming?
David Lai
@davidlatwe
pyblish_qml.gif
David Lai
@davidlatwe
Wijnand Koreman
@aardschok
nice work! @davidlatwe :D
Roy Nieterau
@BigRoy
It still didn't work as well as originally expected, right? (going from the comments on the PR)
David Lai
@davidlatwe
Wow, just updated the PR, but it's hacky I think, I now made that feature optionable
David Lai
@davidlatwe
qml_foster.gif
this is the latest result, window will pop out from host when validating and publishing so no freeze with those long run process.
Running on Win 10, Maya 2018 (Win 7 and Maya below 2017 will not work properly)
Toke Jepsen
@tokejepsen
Shame there is no commenting enabled on that blog.
Marcus Ottosson
@mottosso
Gamification of publishing, I like it :)
Toke Jepsen
@tokejepsen
Just need realtime/background publishing and we have a proper content creation game😀
Toke Jepsen
@tokejepsen
Just had an idea about this. One of the main issues had been for me how often background validation should occur. Instead of doing intervals, we could do it once a file is saved.
Marcus Ottosson
@mottosso
Could do
I think for a general background validation (or processing overall) to occur, we'll need some form of distributed task managing system. Like Deadline, but for smaller tasks, like Celery. Problem is the introduced complexity often outweighs the benefit
A compromise could be that whenever you publish, scene is saved, control is handed back to the user and in the background a new Maya boots up, opens the scene and runs validation
That way you could have the same GUI (and experience in general) but not be locked out of your workstation while it runs (i.e. background processing)
That's assuming saving is faster than publishing
Roy Nieterau
@BigRoy

Interesting experiences from Blue Sky: https://medium.com/blue-sky-tech-blog/introducing-achievements-into-qc-6fee943324df

That is interesting. I'm wondering in practice how the team ended up using this aside of it technically being implemented. Like, whether it's measurable that it'd increase morale/quality?

Toke Jepsen
@tokejepsen
Yeah, would have been nice if they enabled comments for communication on the topic.
David Lai
@davidlatwe
:O I think we can make comments, there's a Responses bubble down below, aren't there ?
Marcus Ottosson
@mottosso
I see it too
Well hidden, under the "ads"
Haha, I was surprised about how many "claps" it had gotten, didn't think the audience for this topic would be this large
And then I saw:
image.png
Toke Jepsen
@tokejepsen
Yeah, think I accidentally clapped it two.
*twice
Does the responses bubble do anything for u guys? I'm on my phone and it just goes to the top of the page
Marcus Ottosson
@mottosso
Yeah, it prompts me to create an account
David Lai
@davidlatwe
I can type in that dialog, but did not press publish button to post my Responses, since I have no solid responses on this :P
Toke Jepsen
@tokejepsen
Ahh yeah, have commented as a response: “Very interesting and thanks for posting!” https://medium.com/@tokejepsen/very-interesting-and-thanks-for-posting-b58bd44ecfc6
Marcus Ottosson
@mottosso
Nice ;)
Alan Fregtman
@darkvertex
Yeah you're allowed to clap more than once in Medium to indicate how much you liked an article.