Cameron Davidson-Pilon

Results 264 comments of Cameron Davidson-Pilon

That worked! I had to slightly modify your script: ``` GOOS=linux GOARCH=arm GOARM=6 go build -o hostess_build . ```

No, not as currently implemented in paho. I've made a function that mimics `subscribe.simple` with a timeout: ```python import socket import threading from paho.mqtt.client import Client def subscribe( topics: str...

This looks like an environment issue on your machine. > I have Python 3.9.2 and 3.10.2 installed. How? Using virtualenvs?

Installing a new Python will wipe out any old packages. You likely need to reinstall paho with pip3.

Note a complete answer, but have a look at https://github.com/eclipse/paho.mqtt.python/issues/627, too. I've wrapped this up into a subclass: ``` class Client(PahoClient): def loop_stop(self): super().loop_stop() self._reset_sockets(sockpair_only=True) return self ``` I'd be...

I was encountering the same issue (too many open files) when using paho (using `loop_start` semantics, and not using `del`), and the issue was blocking our CI runs, as we...

Hey @bjornsturmberg, > imply that you only accept new positions if they are more likely than the current position. Such an algorithm will proceed towards a local maximum, and will...

Yea, I need to update the libs (all of them really) for the chapters