Cartesian product in Python
A cartesian product operation can return a set of "combinations" based on given values.
A cartesian product operation can return a set of "combinations" based on given values.
As outlined here, Docker for Windows requires Hyper-V. This needs to be disabled before you can run VirtualBox.
The Qt Company has released official and pip-installable PySide2 wheel snapshots!
The Qt Company has yet to release official, standalone and pip-installable PySide2 wheels. However, since they made it possible to build standalone wheels successfully, I'm now building such unofficial, standalone wheels here using free CI services (thanks Travis and AppVeyor!):
It's a bit tricky to deal with dates, timezones and daylight savings when you need to store dates in e.g. a database for later reading.
This tickles the funny bone.
>>> import maya.mel as mel
>>> fps = mel.eval('float $fps = `currentTimeUnitToFPS`')
>>> print(fps)
24.0
Let me know in the comments below if this can be improved...
A very annoying bug came to light in mid-October which makes Maya 2018 binary scene files (*.mb) unreadable if they are larger than ~2 GB in size.
To be exact, the bug is hit when the file size is larger than 2147483647 bytes, the maximum positive value for a 32-bit signed binary integer.
This is reminder-to-self about how to get set up and contribute to PySide2 using Gerrit. It could also be a fun read "on the bus" before actually setting this up yourself, to get an overview on what's required to get up and running with Gerrit.
Qt.py is now available on conda-forge!
Yesterday, @jschueller added pyside2-feedstock
to conda-forge. This means we can now finally install PySide2 easily in Python 2.7, 3.5 and 3.6 on Windows, Linux and macOS using conda.