@AlexK to my business associates, but you can call me Alexander Kucera.

The Facts

Listen to the gossip.

VFX Supervisor, Compositor, Pipeline TD, Writer and general know-it-all.

Shiny is better.

I am trying to refactor my code so I can split out my subprocess call and reuse the subprocess in different functions. This does not seem to work right though. Any pointers? #python
54067
@formfireglass @jws thanks. it's mostly in the evenings now when she is rally tired. but it is getting better by the day. it just is really stressful when you know that a good helping of boob will help, but mommy is not available.
54019
@jws the reason was probably neither. She got her first vaccination on Thursday and has been irritable since then. I mean a healthy helping of boob fixed it (of course), but it's still not fun.
53548
Oh man. I did so not miss these times of getting SCREAMED at for what feels like hours (10 minutes) by a three months old. Baby days cannot be over soon enough.
53387
@saket sneaky  🙃
53107
"pnut.io reached their goal of $170!" wee!
https://www.patreon.com/pnut
53094
@jws good point need to double check on Windows. but on OS X (where I am developing on) this works fine.
52950
@jws I'm trying to build some smarts into the whole thing. check if processed file already exists and is newer then the source file. if so, skip it. if not run the process.
52943
@jws it's heavily io-bound actually. opening modo (about 15 seconds alone), then processing about 15K CAD items. That's several hours or days. So I definitely need to get a progress bar working. :)
52938
@jws oh absolutely. but I wanted to get basic functionality working first. there will be proper naming going on. otherwise I'd get lost in my spaghetti code after 5 minutes. :)
52936
@jws sigh. stupid beginner mistake. I forgot the brackets. `is_alive != is_alive()` :)
52931
@jws that was my very first try actually. But just print the same thing forever:
```
while thread1.is_alive:
print(threading.activeCount())
print(threading.enumerate())
```
52930
@jws Replaced it with a functional example that shows the same behavior.
https://gist.github.com/AlexKucera/eb8ea790529481fbef533c5feff64532
52919
@jws the pasted code is obviously not functional like this. I boiled it down to the bare necessitites.
52914
@jws my thread starts, the function `batch_processor_model` runs as it is supposed to. and I get back to the `print "Done"`so I know that the thread has reached its end. but `threading.activeCount()` still tells me there is one active thread running.
52913
@jws https://gist.github.com/AlexKucera/fb0fc7cc1a178e9a8ba9258185f25d06
52912
Any Python people around? I need help with threading (my first foray into threading). I have basic threading working, but my thread never stops running and I have no idea why.
52906
@mina that's me. the sensible German. 😂
52855
@mina same as everywhere else. ;)
52851
@33MHz talking to yourself I see…are the other children ignoring you again?
52814

Anything old?