Mike McDermott

Results 56 comments of Mike McDermott

You can only alias `pip` to pip2 or pip3, depending on the last executable ran against `get-pip.py` ``` RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py ``` So unfortunately you cannot just...

Just tested this [patch ported to melodic](https://github.com/xkortex/ros_comm/tree/patch/exit_code_on_failed). Works for me! I did notice that the roslaunch xml node has to be marked as `required="true"`, which is logical. Just wanted to...

I'm seeing the same shell-barf. Ubuntu `18.04`, zsh `5.4.2`. Installed the c version. It only seems to happen the first time `source /usr/local/lib/advanced_shell_history/sh/zsh` is run, subsequent calls to it in...

Yeah, I know shellcheck does not support zsh, but I try to write bash- or sh-compliant scripts regardless as sometimes I need to port them to systems without zsh.

@thaJeztah Would it be possible to have a "runtimes" section like there are "volumes" and "networks" sections? I imagine something like this: ``` services: gpu-analytic: image: foobar:latest runtime: nvidia runtimes:...

> Can you elaborate why configuring the engine/daemon as part of the installation process for the nvidia runtime is not a suitable approach? What if you do not want the...

> iterables.ImmutableList and friends are also planned, see #257 Contributions are welcome! Exciting! > Some containers might have (let's say) .ok(), some don't, it might not be clear why Definitely...

> 😮 Lol, is that shocked face because you didn't know that function could do that? If so, that's some _really good interface programming right there!_ To have that kind...

I believe this construction results in the intended behavior: ``` updated_item = from_db_item.copy(update={'price':from_db_item.price.copy(update=request_model.dict(exclude_unset=True))}) # Item(name='default_name', description='default_description', price=Price(price={'price': 2}, currency=, name='Foo')) ``` That's obviously a bit clunky, and quickly becomes clunkier...

I just did a test run on this for oh-my-zsh (never tried zplug but I imagine it's similar?). Instead of ```source $ZSH/custom/plugins/zsh-histdb/sqlite-history.zsh autoload -Uz add-zsh-hook ``` in .zshrc, I have...