ponty
ponty
Can I get **inf** or **nan** for 1/0 as it works with numpy? ``` python from uncertainties import unumpy import numpy print 1./numpy.array([0]) print 1./unumpy.uarray(([0], 0)) ``` ``` [ inf]...
How about this common function? new file: fabtools/require/distro.py ``` python from fabtools.require.deb import package as require_deb_package from fabtools.require.rpm import package as require_rpm_package def package(pkg_name, update=False, version=None): family = distrib_family() if...
Backlight path should be configurable, or it should be detected. code: ```c #define SYS_LCD_BACKLIGHT "/sys/class/leds/lcd-backlight/brightness" ``` My phone: ``` $ cat /sys/class/leds/lcd_backlight0/brightness 158 ```
After reset EddystoneObserver sometimes works sometimes not . If I replace wait_us() with wait_ms() in reset() function then it always works. ``` sed -i -e 's/wait_us/wait_ms/' ./shields/TARGET_ST_BLUENRG/source/BlueNRGDevice.cpp ``` Output with...
It would be more flexible to have configurable pins instead of hardcoded pins because: - IDB0XA1_D13_PATCH is confusing - there are other alternate pins on [X-NUCLEO-IDB05A1](https://developer.mbed.org/components/X-NUCLEO-IDB05A1-Bluetooth-Low-Energy/) (CS, IRQ) - custom...