error when: ds4drv --hidraw

Hello
i am using debian jessie in a computer without bluetooth
but when (controller via usb) i write  ds4drv --hidraw(as root) i get this:
"Traceback (most recent call last):
File "/usr/local/bin/ds4drv", line 9, in
load_entry_point('ds4drv==0.5.0', 'console_scripts', 'ds4drv')()
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 374, in main
thread = create_controller_thread(index + 1, controller_options)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 343, in create_controller_thread
controller = DS4Controller(index, controller_options, dynamic=dynamic)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 59, in init
self.load_options(self.options)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 117, in load_options
self.fire_event("load-options", options)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 62, in fire_event
self.loop.fire_event(event, *args)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/eventloop.py", line 70, in fire_event
self.process_events()
File "/usr/local/lib/python2.7/dist-packages/ds4drv/eventloop.py", line 75, in process_events
callback(*args)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/actions.py", line 282, in load_options
joystick = create_uinput_device(joystick_layout)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 363, in create_uinput_device
device = UInputDevice(mapping)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 227, in init
self.create_device(layout)
File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 268, in create_device
product=layout.product, version=layout.version)
File "/usr/local/lib/python2.7/dist-packages/evdev/uinput.py", line 107, in init
_uinput.create(self.fd, name, vendor, product, version, bustype, absinfo)
IOError: [Errno 22] Invalid argument"

This should be fixed in ds4drv 0.5.1. Can you confirm this? See #66.

Hello, I just installed this today, but it was 0.5.0 and got this error (same as above):
pi@zoidberg:~/tmp $ ds4drv
Traceback (most recent call last):
  File "/usr/local/bin/ds4drv", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py", line 374, in main
    thread = create_controller_thread(index + 1, controller_options)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py", line 343, in create_controller_thread
    controller = DS4Controller(index, controller_options, dynamic=dynamic)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py", line 59, in __init__
    self.load_options(self.options)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py", line 117, in load_options
    self.fire_event("load-options", options)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py", line 62, in fire_event
    self.loop.fire_event(event, *args)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/eventloop.py", line 70, in fire_event
    self.process_events()
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/eventloop.py", line 75, in process_events
    callback(*args)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/actions.py", line 282, in load_options
    joystick = create_uinput_device(joystick_layout)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 363, in create_uinput_device
    device = UInputDevice(mapping)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 227, in __init__
    self.create_device(layout)
  File "/usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py", line 268, in create_device
    product=layout.product, version=layout.version)
  File "/usr/local/lib/python2.7/dist-packages/evdev/uinput.py", line 107, in __init__
    _uinput.create(self.fd, name, vendor, product, version, bustype, absinfo)
IOError: [Errno 22] Invalid argument

I then downloaded/installed 0.5.1 from github and it works now. Suggest you push 0.5.1 to pypi.
Thanks!!!

But isn't 0.5.1 in pypi? https://pypi.python.org/pypi/ds4drv

ok, so i looked and it says it is, however, when I downloaded it yesterday it didn’t work. When I found the issue and pulled 0.5.1 from github it worked. I am confused.

On Jul 28, 2016, at 10:49 PM, Lauri Niskanen<EMAIL_ADDRESS>wrote:
But isn't 0.5.1 in pypi? https://pypi.python.org/pypi/ds4drv https://pypi.python.org/pypi/ds4drv
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/chrippa/ds4drv/issues/95#issuecomment-236093844, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4FsEQ0in4nmc1DtGA4AwQoq_1lsmh7ks5qaYZjgaJpZM4JRm7-.

Ok, it needs to be tested if pip install still downloads 0.5.0 in some situations or systems.

I'm running Ubuntu 16.04, pip version 8.1.2, kernel 4.4.0-31-generic.
Running "sudo pip install ds4drv" installed version 0.5.0 for me. I've pasted my output.
miguel@miguel-All-Series:~$ sudo pip install ds4drv
The directory '/home/miguel/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/miguel/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting ds4drv
Requirement already satisfied (use --upgrade to upgrade): pyudev>=0.16 in ./.local/lib/python2.7/site-packages (from ds4drv)
Requirement already satisfied (use --upgrade to upgrade): evdev>=0.3.0 in ./.local/lib/python2.7/site-packages (from ds4drv)
Requirement already satisfied (use --upgrade to upgrade): six in ./.local/lib/python2.7/site-packages (from pyudev>=0.16->ds4drv)
Installing collected packages: ds4drv
Successfully installed ds4drv-0.5.0

However, running a "pip search ds4drv" does show that 0.5.1 is available:
miguel@miguel-All-Series:~$ pip search ds4drv
ds4drv (0.5.1)  - A Sony DualShock 4 userspace driver for Linux
  INSTALLED: 0.5.0
  LATEST:    0.5.1

Trying to upgrade doesn't result in anything:
miguel@miguel-All-Series:~$ sudo pip install ds4drv --upgrade
The directory '/home/miguel/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/miguel/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: ds4drv in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: pyudev>=0.16 in ./.local/lib/python2.7/site-packages (from ds4drv)
Requirement already up-to-date: evdev>=0.3.0 in ./.local/lib/python2.7/site-packages (from ds4drv)
Requirement already up-to-date: six in ./.local/lib/python2.7/site-packages (from pyudev>=0.16->ds4drv)
miguel@miguel-All-Series:~$ ds4drv --version
ds4drv 0.5.0

Sounds like others are having the same issue with installing 0.5.1 from pypi.
Let me know if you need any more information.

Testing on current Arch Linux in a fresh virtualenv pip seems to do the right thing:
$ pip install ds4drv -v
Collecting ds4drv
  1 location(s) to search for versions of ds4drv:
  * https://pypi.python.org/simple/ds4drv/
  Getting page https://pypi.python.org/simple/ds4drv/
  Looking up "https://pypi.python.org/simple/ds4drv/" in the cache
  Current age based on date: 690
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The cached response is "stale" with no etag, purging
  Starting new HTTPS connection (1): pypi.python.org
  "GET /simple/ds4drv/ HTTP/1.1" 200 953
  Updating cache with response from "https://pypi.python.org/simple/ds4drv/"
  Caching b/c date exists and max-age > 0
  Analyzing links from page https://pypi.python.org/simple/ds4drv/
    Found link https://pypi.python.org/packages/05/62/68d78b88dfec8917e678ae7d516a603af169e83d58b4572006cc084ea0ce/ds4drv-0.5.1-py3-none-any.whl#md5=1a06074a168bc3633c74814a03053d3a (from https://pypi.python.org/simple/ds4drv/), version: 0.5.1
    Found link https://pypi.python.org/packages/0e/1f/07152d3d48d8941d737308ade4e2b4bd682dda8c50a05aa92b0e8e3aa36c/ds4drv-0.2.0.tar.gz#md5=dab54e414e4a96ad7814e1555e97e52a (from https://pypi.python.org/simple/ds4drv/), version: 0.2.0
    Found link https://pypi.python.org/packages/10/45/fe8bc3c030249325e4c408618563f7b689eba3be0d34dd1499c755118502/ds4drv-0.4.3.tar.gz#md5=3be7a154d94372613f6daa46a3bfccb8 (from https://pypi.python.org/simple/ds4drv/), version: 0.4.3
    Found link https://pypi.python.org/packages/44/33/2317e945fb55923694a3c27b49c57e36f407e3e58e0da159f833b1bb7d3b/ds4drv-0.3.0.tar.gz#md5=5e79c90a38646fbe9f29430927639665 (from https://pypi.python.org/simple/ds4drv/), version: 0.3.0
    Found link https://pypi.python.org/packages/4b/39/3ab5cf7e53ffa3ace741ce97aed5150c18bfc08747366655253e3a1c3ac0/ds4drv-0.1.0.tar.gz#md5=ee6fe7917eec642270ba29483e61cd57 (from https://pypi.python.org/simple/ds4drv/), version: 0.1.0
    Found link https://pypi.python.org/packages/57/b2/1cd3c405dbbeda634666b3ebda5568f931cc054d8497b3b14a86100d8050/ds4drv-0.2.1.tar.gz#md5=361483cddfbbc7ed259ea31250ddf061 (from https://pypi.python.org/simple/ds4drv/), version: 0.2.1
    Found link https://pypi.python.org/packages/7e/5a/3c6b6d2470e3bf4026de01c8d9eda4ea3e743e9245402e1effd55ffc5791/ds4drv-0.4.1.tar.gz#md5=29b4fe5a390a9ee06d32d5a0c657822c (from https://pypi.python.org/simple/ds4drv/), version: 0.4.1
    Found link https://pypi.python.org/packages/cf/98/47f1a94e72b4d391be75db5280f451897ee4b2f3de1009f0229ee22a6bee/ds4drv-0.4.2.tar.gz#md5=8c2d210023f27872ba28e04f1ecb5cc4 (from https://pypi.python.org/simple/ds4drv/), version: 0.4.2
    Found link https://pypi.python.org/packages/d4/48/7bb6d283b9b8390dc095d135d9ff84fa359d0e7dbd62d1fa85361713bb47/ds4drv-0.4.0.tar.gz#md5=a0f1f1c6ba2d9214c7a133439e3777ab (from https://pypi.python.org/simple/ds4drv/), version: 0.4.0
    Found link https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz#md5=705d48f45634f9dbd3f40c8876fb2c96 (from https://pypi.python.org/simple/ds4drv/), version: 0.5.0
    Found link https://pypi.python.org/packages/f5/04/f4f246ac374d59cf5d03a631854b67140de0dd6b3a77cc02f8b8c4886589/ds4drv-0.1.1.tar.gz#md5=a3e21aeaea79b1faed0616d1ca015eed (from https://pypi.python.org/simple/ds4drv/), version: 0.1.1
  Using version 0.5.1 (newest of versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1)
  Looking up "https://pypi.python.org/packages/05/62/68d78b88dfec8917e678ae7d516a603af169e83d58b4572006cc084ea0ce/ds4drv-0.5.1-py3-none-any.whl" in the cache
  Current age based on date: 690
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 690
  Using cached ds4drv-0.5.1-py3-none-any.whl
  Downloading from URL https://pypi.python.org/packages/05/62/68d78b88dfec8917e678ae7d516a603af169e83d58b4572006cc084ea0ce/ds4drv-0.5.1-py3-none-any.whl#md5=1a06074a168bc3633c74814a03053d3a (from https://pypi.python.org/simple/ds4drv/)
[...]
Successfully installed ds4drv-0.5.1 evdev-0.6.1 pyudev-0.21.0 six-1.10.0

Maybe it would help if anyone hitting the problem posts pip's verbose output (-v)?

This is what i got when running sudo pip install ds4drv -v:
Collecting ds4drv
  1 location(s) to search for versions of ds4drv:
  * https://pypi.python.org/simple/ds4drv/
  Getting page https://pypi.python.org/simple/ds4drv/
  Looking up "https://pypi.python.org/simple/ds4drv/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.python.org
  "GET /simple/ds4drv/ HTTP/1.1" 200 953
  Updating cache with response from "https://pypi.python.org/simple/ds4drv/"
  Caching b/c date exists and max-age > 0
  Analyzing links from page https://pypi.python.org/simple/ds4drv/
    Skipping link https://pypi.python.org/packages/05/62/68d78b88dfec8917e678ae7d516a603af169e83d58b4572006cc084ea0ce/ds4drv-0.5.1-py3-none-any.whl#md5=1a06074a168bc3633c74814a03053d3a (from https://pypi.python.org/simple/ds4drv/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/0e/1f/07152d3d48d8941d737308ade4e2b4bd682dda8c50a05aa92b0e8e3aa36c/ds4drv-0.2.0.tar.gz#md5=dab54e414e4a96ad7814e1555e97e52a (from https://pypi.python.org/simple/ds4drv/), version: 0.2.0
    Found link https://pypi.python.org/packages/10/45/fe8bc3c030249325e4c408618563f7b689eba3be0d34dd1499c755118502/ds4drv-0.4.3.tar.gz#md5=3be7a154d94372613f6daa46a3bfccb8 (from https://pypi.python.org/simple/ds4drv/), version: 0.4.3
    Found link https://pypi.python.org/packages/44/33/2317e945fb55923694a3c27b49c57e36f407e3e58e0da159f833b1bb7d3b/ds4drv-0.3.0.tar.gz#md5=5e79c90a38646fbe9f29430927639665 (from https://pypi.python.org/simple/ds4drv/), version: 0.3.0
    Found link https://pypi.python.org/packages/4b/39/3ab5cf7e53ffa3ace741ce97aed5150c18bfc08747366655253e3a1c3ac0/ds4drv-0.1.0.tar.gz#md5=ee6fe7917eec642270ba29483e61cd57 (from https://pypi.python.org/simple/ds4drv/), version: 0.1.0
    Found link https://pypi.python.org/packages/57/b2/1cd3c405dbbeda634666b3ebda5568f931cc054d8497b3b14a86100d8050/ds4drv-0.2.1.tar.gz#md5=361483cddfbbc7ed259ea31250ddf061 (from https://pypi.python.org/simple/ds4drv/), version: 0.2.1
    Found link https://pypi.python.org/packages/7e/5a/3c6b6d2470e3bf4026de01c8d9eda4ea3e743e9245402e1effd55ffc5791/ds4drv-0.4.1.tar.gz#md5=29b4fe5a390a9ee06d32d5a0c657822c (from https://pypi.python.org/simple/ds4drv/), version: 0.4.1
    Found link https://pypi.python.org/packages/cf/98/47f1a94e72b4d391be75db5280f451897ee4b2f3de1009f0229ee22a6bee/ds4drv-0.4.2.tar.gz#md5=8c2d210023f27872ba28e04f1ecb5cc4 (from https://pypi.python.org/simple/ds4drv/), version: 0.4.2
    Found link https://pypi.python.org/packages/d4/48/7bb6d283b9b8390dc095d135d9ff84fa359d0e7dbd62d1fa85361713bb47/ds4drv-0.4.0.tar.gz#md5=a0f1f1c6ba2d9214c7a133439e3777ab (from https://pypi.python.org/simple/ds4drv/), version: 0.4.0
    Found link https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz#md5=705d48f45634f9dbd3f40c8876fb2c96 (from https://pypi.python.org/simple/ds4drv/), version: 0.5.0
    Found link https://pypi.python.org/packages/f5/04/f4f246ac374d59cf5d03a631854b67140de0dd6b3a77cc02f8b8c4886589/ds4drv-0.1.1.tar.gz#md5=a3e21aeaea79b1faed0616d1ca015eed (from https://pypi.python.org/simple/ds4drv/), version: 0.1.1
  Using version 0.5.0 (newest of versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0)
  Looking up "https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz" in the cache
  No cache entry available
  "GET /packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz HTTP/1.1" 200 25807
  Downloading ds4drv-0.5.0.tar.gz
  Downloading from URL https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz#md5=705d48f45634f9dbd3f40c8876fb2c96 (from https://pypi.python.org/simple/ds4drv/)
  Updating cache with response from "https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz"
  Caching due to etag
  Running setup.py (path:/tmp/pip-build-X1S2Jq/ds4drv/setup.py) egg_info for package ds4drv
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/ds4drv.egg-info
    writing requirements to pip-egg-info/ds4drv.egg-info/requires.txt
    writing pip-egg-info/ds4drv.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/ds4drv.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/ds4drv.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/ds4drv.egg-info/entry_points.txt
    writing manifest file 'pip-egg-info/ds4drv.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/ds4drv.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/ds4drv.egg-info/SOURCES.txt'
  Source in /tmp/pip-build-X1S2Jq/ds4drv has version 0.5.0, which satisfies requirement ds4drv from https://pypi.python.org/packages/f3/91/5811c4f9d1ece2b74c28cc1f702be76cc2bac1c2b5e5de8465de438ada26/ds4drv-0.5.0.tar.gz#md5=705d48f45634f9dbd3f40c8876fb2c96
Requirement already satisfied (use --upgrade to upgrade): evdev>=0.3.0 in /home/miguel/.local/lib/python2.7/site-packages (from ds4drv)
Requirement already satisfied (use --upgrade to upgrade): pyudev>=0.16 in /home/miguel/.local/lib/python2.7/site-packages (from ds4drv)
Requirement already satisfied (use --upgrade to upgrade): six in /home/miguel/.local/lib/python2.7/site-packages (from pyudev>=0.16->ds4drv)
Installing collected packages: ds4drv
  Running setup.py install for ds4drv ...     Running command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-X1S2Jq/ds4drv/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KiOh93-record/install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/daemon.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/actions.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/backend.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/utils.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/uinput.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/__main__.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/__init__.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/device.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/config.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/eventloop.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/logger.py -> build/lib.linux-x86_64-2.7/ds4drv
    copying ds4drv/exceptions.py -> build/lib.linux-x86_64-2.7/ds4drv
    creating build/lib.linux-x86_64-2.7/ds4drv/backends
    copying ds4drv/backends/bluetooth.py -> build/lib.linux-x86_64-2.7/ds4drv/backends
    copying ds4drv/backends/__init__.py -> build/lib.linux-x86_64-2.7/ds4drv/backends
    copying ds4drv/backends/hidraw.py -> build/lib.linux-x86_64-2.7/ds4drv/backends
    creating build/lib.linux-x86_64-2.7/ds4drv/packages
    copying ds4drv/packages/__init__.py -> build/lib.linux-x86_64-2.7/ds4drv/packages
    copying ds4drv/packages/timerfd.py -> build/lib.linux-x86_64-2.7/ds4drv/packages
    running install_lib
    creating /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/daemon.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/actions.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/backend.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    creating /usr/local/lib/python2.7/dist-packages/ds4drv/packages
    copying build/lib.linux-x86_64-2.7/ds4drv/packages/__init__.py -> /usr/local/lib/python2.7/dist-packages/ds4drv/packages
    copying build/lib.linux-x86_64-2.7/ds4drv/packages/timerfd.py -> /usr/local/lib/python2.7/dist-packages/ds4drv/packages
    copying build/lib.linux-x86_64-2.7/ds4drv/utils.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/uinput.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/__main__.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    creating /usr/local/lib/python2.7/dist-packages/ds4drv/backends
    copying build/lib.linux-x86_64-2.7/ds4drv/backends/bluetooth.py -> /usr/local/lib/python2.7/dist-packages/ds4drv/backends
    copying build/lib.linux-x86_64-2.7/ds4drv/backends/__init__.py -> /usr/local/lib/python2.7/dist-packages/ds4drv/backends
    copying build/lib.linux-x86_64-2.7/ds4drv/backends/hidraw.py -> /usr/local/lib/python2.7/dist-packages/ds4drv/backends
    copying build/lib.linux-x86_64-2.7/ds4drv/__init__.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/device.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/config.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/eventloop.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/logger.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    copying build/lib.linux-x86_64-2.7/ds4drv/exceptions.py -> /usr/local/lib/python2.7/dist-packages/ds4drv
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/daemon.py to daemon.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/actions.py to actions.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/backend.py to backend.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/packages/__init__.py to __init__.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/packages/timerfd.py to timerfd.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/utils.py to utils.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/uinput.py to uinput.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/__main__.py to __main__.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/backends/bluetooth.py to bluetooth.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/backends/__init__.py to __init__.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/backends/hidraw.py to hidraw.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/__init__.py to __init__.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/device.py to device.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/config.py to config.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/eventloop.py to eventloop.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/logger.py to logger.pyc
    byte-compiling /usr/local/lib/python2.7/dist-packages/ds4drv/exceptions.py to exceptions.pyc
    running install_egg_info
    running egg_info
    writing requirements to ds4drv.egg-info/requires.txt
    writing ds4drv.egg-info/PKG-INFO
    writing top-level names to ds4drv.egg-info/top_level.txt
    writing dependency_links to ds4drv.egg-info/dependency_links.txt
    writing entry points to ds4drv.egg-info/entry_points.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'ds4drv.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'ds4drv.egg-info/SOURCES.txt'
    Copying ds4drv.egg-info to /usr/local/lib/python2.7/dist-packages/ds4drv-0.5.0.egg-info
    running install_scripts
    Installing ds4drv script to /usr/local/bin
    writing list of installed files to '/tmp/pip-KiOh93-record/install-record.txt'
done
  Removing source in /tmp/pip-build-X1S2Jq/ds4drv
Successfully installed ds4drv-0.5.0
Cleaning up...

Ah, I see.
@Ape: You seem to have uploaded a py3-only wheel for 0.5.1, as opposed to universal tarballs for the previous releases (as can be seen on https://pypi.python.org/simple/ds4drv/), which is why it works in my py3-virtualenv, and not on installations using py2 by default. So a repackaging is needed.

Merging #58 should solve the issue, right?

I uploaded a new package for 0.5.1. Please confirm that it works now. If so, I will merge #58 so that I don't have to remember to add --universal in the future.

Yes, configuring setuptools to build universal wheels is what's needed, so that pull request can be merged. 0.5.1 installs successfully now on both py3 and py2, although on py3 it still uses the previously built py3-only wheel. Not sure if that warrants a version bump just for a packaging fix, but it seems to not strictly be needed in this case.

I think this is fine like this. I hope I can release 0.6.0 soon.

There's no such thing as a universal tar ball. Do you mean an sdist?

python3 setup.py sdist bdist_wheel register upload
To push the sdist and the wheels

I meant the universal wheel. Publishing only the sdist might be fine, too. I will push both sdist and the universal wheel for any future releases.


components/tidb_query_expr: migrate substring for utf8 from TiDB

migrate Substring2ArgsUtf8 and Substring3ArgsUtf8 functions from TiDB
Signed-off-by: yah01<EMAIL_ADDRESS>
What problem does this PR solve?
Problem Summary:
Migrate Substring2ArgUtf8 and Substring3ArgUtf8 functions from TiDB
What is changed and how it works?
What's Changed:

implement Substring2ArgUtf8
implement Substring3ArgUtf8

Check List
Tests

Unit test

Release note

Add builtin substring functions:

Substring2ArgUtf8
Substring3ArgUtf8

/cc

/cc

/auto-cc

/auto-cc

/assign @lonng

/assign @lonng


RxLifecycle support

how to use with https://github.com/trello/RxLifecycle

RxLifecycle if for View part only.


The webkit_server process crashed! -- Broken pipe

Hello,
I have my test suite passing on Ubuntu 14.04.2 using Cucumber, Capybara, and Poltergeist. I'm trying to switch from Poltergeist to Capybara Webkit, but I get this output:
  @javascript
  Scenario: If comments are not moderated, I see a comment after I post it # features/CMS Features/feeds/comments_on_feeds.feature:21
    Given I am signed in                                                   # features/step_definitions/authentication_steps.rb:27
    And a feed "Sermons"                                                   # features/step_definitions/feed_steps.rb:8
    And a post "Grace, Mercy, and Peace" in the feed                       # features/step_definitions/post_steps.rb:24
Finished "EnableLogging()" with response "Success()"
Wrote response true ""
Received "SetUnknownUrlMode(block)"
Started "SetUnknownUrlMode(block)"
Finished "SetUnknownUrlMode(block)" with response "Success()"
Wrote response true ""
Received "IgnoreSslErrors()"
Started "IgnoreSslErrors()"
Finished "IgnoreSslErrors()" with response "Success()"
Wrote response true ""
Received "SetSkipImageLoading(true)"
Started "SetSkipImageLoading(true)"
Finished "SetSkipImageLoading(true)" with response "Success()"
Wrote response true ""
Received "SetTimeout(5)"
Started "SetTimeout(5)"
Finished "SetTimeout(5)" with response "Success()"
Wrote response true ""
Received "Visit(http://cucumber.localhost:54163/sermons/2015/9/new-post-3)"
Started "Visit(http://cucumber.localhost:54163/sermons/2015/9/new-post-3)"
Load started
"Visit(http://cucumber.localhost:54163/sermons/2015/9/new-post-3)" started page load
Started request to "http://cucumber.localhost:54163/sermons/2015/9/new-post-3"
Finished "Visit(http://cucumber.localhost:54163/sermons/2015/9/new-post-3)" with response "Success()"
Started request to "http://cucumber.localhost:54163/assets/common.css"
Started request to "http://cucumber.localhost:54163/themes/modern/stylesheets/theme.css"
Started request to "http://cucumber.localhost:54163/assets/common.js"
Started request to "http://cucumber.localhost:54163/themes/modern/javascripts/theme.js"
Received 200 from "http://cucumber.localhost:54163/sermons/2015/9/new-post-3"
Received 200 from "http://cucumber.localhost:54163/assets/common.css"
http://cucumber.localhost:54163/sermons/2015/9/new-post-3|29|Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)
Received 200 from "http://cucumber.localhost:54163/themes/modern/stylesheets/theme.css"
Received 200 from "http://cucumber.localhost:54163/assets/common.js"
    When I go to the post                                                  # features/step_definitions/web_steps.rb:30
      end of file reached (EOFError)
      ./features/step_definitions/web_steps.rb:31:in `/^(?:|I )go to (.+)$/'
      features/CMS Features/feeds/comments_on_feeds.feature:25:in `When I go to the post'
    And I fill in "comment_content" with "I can say whatever I want"       # features/step_definitions/web_steps.rb:42
    And I press "Post"                                                     # features/step_definitions/web_steps.rb:34
    Then I should see "I can say whatever I want"                          # features/step_definitions/web_steps.rb:87
      The webkit_server process crashed!

        Broken pipe

      This is a bug in capybara-webkit. For help with this crash, please visit:

      https://github.com/thoughtbot/capybara-webkit/wiki/Reporting-Crashes (Capybara::Webkit::CrashError)
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-webkit-1.7.0/lib/capybara/webkit/browser.rb:215:in `rescue in command'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-webkit-1.7.0/lib/capybara/webkit/browser.rb:205:in `command'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-webkit-1.7.0/lib/capybara/webkit/browser.rb:39:in `reset!'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-webkit-1.7.0/lib/capybara/webkit/driver.rb:262:in `reset!'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara/session.rb:103:in `reset!'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara.rb:257:in `block in reset_sessions!'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara.rb:257:in `each'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara.rb:257:in `reset_sessions!'
      /var/lib/jenkins/.rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara/cucumber.rb:8:in `After'

Here's the output from page.driver.version:

Capybara: 2.4.4
capybara-webkit: 1.7.0
Qt: 5.2.1
WebKit: 537.21
QtWebKit: 5.1.1

And my config looks like this:
Capybara::Webkit.configure do |config|
  config.block_unknown_urls
  config.timeout = 5
  config.ignore_ssl_errors
  config.skip_image_loading
end

Hi. Was the same for me, just try to install additional packages on your system:
apt-get install gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x

Maybe I will need to rebuild capybara-webkit binaries

Seeing the same, pretty frequently, after upgrading to v1.7.1 from 1.6.0 (simultaneously upgraded Capybara to 2.5.0 from 2.4.4).

Same on CentOS 6.7. Downgrading to 1.6.0/2.4.4 did not help.

Closing due to age -- if this is still an issue with current releases on Qt5.5+ we can reopen


Don't publish typings folder

The typings folder with installed TypeScript declarations from the typings definition manager is not .npmignored. The definitions in there are all global, which causes conflicts, because you cannot define the same global symbols twice. It is not possible to use own typings for node without compiler conflicts because rxjs has its own version bundled (registry:env/node#6.0.0+20161105011511). Environmental (ambient) typings should not be bundled. All other typings in the typings folder are devDependencies, so I would completely .npmignore the folder.

makes sense. Eventually we have to move all types to @types devdep to avoid this issue.

relates to https://github.com/ReactiveX/rxjs/issues/2437 .

While that would make sense for module dependencies, environmental typings like @types/node must still remain a devDependency, because they are still global and would still cause conflicts.

yes, as said.

to @types devdep to avoid this issue

I'll leave this issue opened, cause npmignore should be updated before moving into @types.


chore: replace dirty-chai with chai-parentheses

dirty-chai has issues with modern bundlers due to how it tries to support amd, cjs and script tags from one file.
Replace dirty-chai with chai-parentheses as we only care about running cjs or esm with bundlers.

Ah, I think I need to add types to chai-parentheses


Expose static mapping operators on Query.

These match the convenience methods on QueryObservable, but are available for use later in the stream (e.g., after a take() operator) via lift().
Closes #69.

Looks great :shipit:


Using deprecated API

I am getting the following error when calling cio.get_accounts:
StandardError: HTTP code 401. Response {"value"=>"version 2.0 has been deprecated, please use lite"}
from C:/Dev/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/context_io-1.1.1/lib/context_io/utilities/call_helpers.rb:118:in `call_api'

Shouldn't this library use the lite API automatically?

Hey Jonas,
Unfortunately this library was designed for the 2.0 API. It was decided that we were not going to update the it to use Lite.
Since you are expressing interest I will bring it up to our product manager to see if it is time to reevaluate this decision.
Thanks for reaching out to us!


[stable/openebs]: make webhook failurePolicy configurable

What this PR does / why we need it:

Update values.yaml with default failurePolicy as Ignore

Signed-off-by: prateekpandey14<EMAIL_ADDRESS>Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test


Unexpected Crash

I'm running the version I submitted a pull request for (which is why I can install @scoped modules)  It was running fine and then unexpectedly crashed.  I can't really tell you why, I just looked over and it had crashed.  I was able to restart it afterwards just fine.
$ auto-install
✖ debug removed
✖ jade removed
✖ tedious removed
✔ mongodb installed
Watchers initialized
✔ @zetta/sql-boilerplate installed
✖ @zetta/log-colors removed
✖ mssql removed
✖ mongodb removed
✖ mongoose removed
✔ @zetta/mongo-ore-boilerplate installed
/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1747
  throw err;
  ^

SyntaxError: Unexpected token (49:30)
    at Parser.pp.raise (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1745:13)
    at Parser.pp.unexpected (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:2264:8)
    at Parser.pp.expect (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:2258:26)
    at Parser.pp.parseObj (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1293:12)
    at Parser.pp.parseExprAtom (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1124:19)
    at Parser.pp.parseExprSubscripts (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1023:19)
    at Parser.pp.parseMaybeUnary (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:1004:19)
    at Parser.pp.parseExprOps (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:948:19)
    at Parser.pp.parseMaybeConditional (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:930:19)
    at Parser.pp.parseMaybeAssign (/usr/local/lib/node_modules/auto-install/node_modules/acorn/dist/acorn.js:908:19)

My thoughts: I use WebStorm, which auto-saves files from time to time.  Maybe some partially written code triggered the failure?

@zeg-io Yes, that seems like a possible reason.
I have experienced this once before, the parsing breaks when trying to find require statements. Something that can be fixed though.
Adding bug label.

Fixed in https://github.com/siddharthkp/auto-install/commit/662a266c8350ce3b6e3a7dca1cc60f02aa4a1fce


Update cilium to v1.14.0

How to categorize this PR?

/area networking
/kind enhancement
What this PR does / why we need it:
Update cilium to v1.14.0. For more information see the release notes.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Update cilium to `v1.14.0`.

/test

/test all


Essentials conflict in 1.16

See linked Github for full report. Would be grateful if you could help!
https://github.com/EssentialsX/Essentials/issues/3449
Thanks!

run /mv debug 3 and the do the relevant teleport actions. after which, send the logs here via www.pastebin.com

Savagejd87 is a player with no permission to access the world "CreativeWorld"
He can not access with /mvtp (what we expect) however can with /warp and /tpa (essentials commands)
Castielle Is myself who has OP
https://pastebin.com/sSvRtMJH

enforceaccess is off from your log. Check that in mv config.yml  it is set to enforceaccess: 'true'

Also to add on, if you modify your config and it resets, it's because when the server gets reloaded or restarted, it overwrites changes. You must shut down the server, re-open the configuration file, modify the file, save it and turn the server back on.

That is very interesting to know, thank you so much for resolving. I'm not sure why our config reset!

No problem! ;)


Failing fedimint-cli Upgrade Test

Upgrade tests are failing for fedimint-cli. To reproduce, you'll need to reference this branch, which reorgs this fix commit. This is necessary so git bisect can correctly identify the commit that introduced the next failure.
git fetch upstream cd9019415de0f3ec155098b0d971ac764369ac02
git checkout cd9019415de0f3ec155098b0d971ac764369ac02
TEST_KINDS=fedimint-cli just test-upgrades v0.4.0 current &> results.log

Expected error message
Error: Polling gateways registered failed after 107 retries (timeout: 60s)

Caused by:
    0: Internal client joining Federation
    1: command: /nix/store/wvxj5ikvc47mm7ab0yigjynps3xyciyj-fedimint-cli/bin/fedimint-cli --data-dir=/tmp/nix-shell.oTeLeg/devimint-1623638-737/clients/default-0 join-federation fed11qgqpw9thwvaz7te3xgmjuvpwxqhrzw33xgunzve0qqqjp58ttdqwuc6a9edkh5qkvl4k6duw9nxl5c5tmtruzuwt3ut4nu4wavtpvh
parallel: This job failed:
devimint upgrade-tests fedimint-cli --paths /nix/store/wvxj5ikvc47mm7ab0yigjynps3xyciyj-fedimint-cli/bin/fedimint-cli fedimint-cli
Some tests failed:
Seq Host    Starttime   JobRuntime  Send    Receive Exitval Signal  Command

1   :<PHONE_NUMBER>.004      98.143  0   0   1   0   devimint upgrade-tests fedimint-cli --paths /nix/store/wvxj5ikvc47mm7ab0yigjynps3xyciyj-fedimint-cli/bin/fedimint-cli fedimint-cli

git bisect shows cd9019415de0f3ec155098b0d971ac764369ac02 introduced, which is 911e67287ae85ed30b754a3871aa3cedb6ceca98 on master.
git bisect start
git bisect good fb6310005f
git bisect bad ee2cb865304ad918273462ca4a979938bcb65675
...
cd9019415de0f3ec155098b0d971ac764369ac02 is the first bad commit
commit cd9019415de0f3ec155098b0d971ac764369ac02
Author: joschisan<EMAIL_ADDRESS>Date:   Tue Nov 12 13:38:22 2024 +0200

    cleanup: sane network encoding for lnv2

@joschisan I've assigned your way since you have context

Closed by https://github.com/fedimint/fedimint/pull/6418


Add notebook for visualization

Create a Jupyter notebook that can plot the track points with start/end points draw on top, as well as the CRT hits and CRT planes. Ideally, this would include hovertext showing the track start/end point and CRT hit positions and their distance of closest approach if applicable.

It's not perfect, but it has been added


Texture Generation for Building Models Appears Overly Simple and Unrealistic

When generating textures for architectural mesh models with the prompt Texts "residential building, red bricks facade, wooden roof," the resulting textures appear too simplistic and lack realism. The walls do not convey the appearance of red bricks, and the roof fails to resemble a wooden roof as intended.
Thank you very much and looking forward to your response.

Hi,
We recommend you methods like increasing the number of renderings and adjusting the range of sampling camera viewpoint.
Thanks for your interest.

Please reopen this issue if you need more help regarding this.


Fix: Non empty BINARY fields are considered empty

Thank you for submitting a pull request!
Please make sure you have signed our Contributor License Agreement (CLA).
We are not asking you to assign copyright to us, but to give us the right to distribute your code without restriction. We ask this of all contributors in order to assure our users of the origin and continuing existence of the code.
You only need to sign the CLA once.

[x] I have signed the Contributor License Agreement (CLA)

Prior to this PR, all values for BINARY mapped fields were considered as empty no matter what value they actually had. The problem is that the condition deciding how to manage empty values is incomplete:
def binaryValue(value: Array[Byte]) = {
    if (value != null) {
      if (emptyAsNull) { // This should be:  if (emptyAsNull && value.isEmpty)
        nullValue()
      }
      else {
        parseBinary(value)
      }
    }
    else {
      nullValue()
    }
  }

On the other hand,  this is not critical however, two paths of conditions returning the same value in an if-statement can become a source of bugs if there are changes in the code (what if someone changes the return value at the outer else but not when the emptyAsNull && value.isEmpty is satisfied?). For that, I've rephrased the checks in a more idiomatic Scala style which leverages the nullity check that Option's factory provide:
 Option(value) collect {
      case value: Array[Byte] if !emptyAsNull || !value.isEmpty =>
        parseBinary(value)
    } getOrElse nullValue()

@pfcoperez the change looks good to me, but could you add a unit test case that covers the change?

@jbaiera Sure. I don't like the way the changes I've needed to introduce in order to perform the tests with the provided jackson version however.
Jackson 1.8.8 Utf8SreamReader lacks the else branch of the following if-sentence at getBinaryValue:
if (_tokenIncomplete) {
            try {
                _binaryValue = _decodeBase64(b64variant);
            } catch (IllegalArgumentException iae) {
                throw _constructError("Failed to decode VALUE_STRING as base64 ("+b64variant+"): "+iae.getMessage());
            }
            /* let's clear incomplete only now; allows for accessing other
             * textual content in error cases
             */
            _tokenIncomplete = false;
        } else { // may actually require conversion...
            if (_binaryValue == null) {
                @SuppressWarnings("resource")
                ByteArrayBuilder builder = _getByteArrayBuilder();
                _decodeBase64(getText(), builder, b64variant);
                _binaryValue = builder.toByteArray();
            }
        }
        return _binaryValue;

Awesome, thanks. I noticed a discrepancy between the ScalaValueReader and the JdkValueReader with how they handle emptyAsNull for BINARY types. Seems ScalaValueReader does, while the JdkValueReader does not. This may be due to JdkValueReader's sub classes and how they convert things to writables (Pig, Hive) which is harder to represent null values in. In any case, that is definitely outside of the scope for this PR.
LGTM. Thanks again!

@jbaiera Thanks to you! I wonder whether this PR could be also merged into 2.3.x branches.

I have a few changes that I was planning on back porting to 2.x, and this is one of them. Should be done by end of day tomorrow. Cheers!

That's nice! Would it be possible to port
https://github.com/elastic/elasticsearch-hadoop/pull/826 too?
Thanks for your great work and being open approach to PRs and suggestions.
El mar., 30 ago. 2016 a las 18:12, James Baiera<EMAIL_ADDRESS>escribió:

I have a few changes that I was planning on back porting to 2.x, and this
is one of them. Should be done by end of day tomorrow. Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/elasticsearch-hadoop/pull/834#issuecomment-243492975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQr4-17xRfsIczP_CFqP4bAlEh1LCUhks5qlFZUgaJpZM4Jt52V
.

Yep that one is on the list as well. Thanks for the contributions!


Create integration test on top of aries-vcx-agent

Create integration test on top of aries-vcx-agent

Codecov Report

:exclamation: No coverage uploaded for pull request base (modular_indy_hl@62a039d). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             modular_indy_hl     #673   +/-   ##
==================================================
  Coverage                   ?   61.51%
==================================================
  Files                      ?      235
  Lines                      ?    22526
  Branches                   ?     5026
==================================================
  Hits                       ?    13856
  Misses                     ?     4633
  Partials                   ?     4037

Flag
Coverage Δ

unittests-aries-vcx
61.38% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Nrf81522 128kb aliexpress

with the base command
NRF_MODEL=nrf51 BOARD=BOARD_ALIEXPRESS ADV_KEY_BASE64=YOUR_ADVERTISEMENT_KEY FLASH_KB=128 make patch
thanks for your work

FLASH_KB argument is not needed since is not used on the Makefile. Since the binary file fits on a 128KB flash it should work too on that chip. Did you test it?

Without, first time i had a problem with an error of out a space, but yes working very well, i’m try to build openhaystack app but i don’t understand some command, from macos, working, i have traceroute , but problem with deploy for working day


AxisY title is missing when flipTitle set to true.

Testing this on the example.html, I think that's cause by the transform:rotate. Is there any method to override the transform using css?

This can be fixed by adjusting the offset.
offset: {           x: -40,           y: 10  }, flipTitle: true


Remove manhole middleware

The manhole middleware tests are failing on twisted 16.1. This is unused code so it's better to remove it than to try and fix it.

There are 2 tests failing because of some twisted changes. Ticket is here: https://twistedmatrix.com/trac/ticket/8274

Ready for review.

:+1:


How to make nix load before vscode extension

I have some problem where my extensions cannot detect nix-develop or nix-shell, even if I use nix-shell vscode extension.

There was a bug related to direnv volume mount path, as direnv has changed default config path. This is what is most likely causing issues. I have updated template and examples, look into this commit for details: https://github.com/xtruder/debian-nix-devcontainer/commit/7e0afa46676fe22334c1bb4e820edaf4228589ff

@offlinehacker Thank you, I have changed it and after run direnv allow my extensions seems detecting the profile.
Although I have an error: https://github.com/haskell/haskell-language-server/issues/2213, but other extension is fine.

I have updated this project to use arrterian.nix-env-selector for initial load of nix environment, instead of building it while using vscode environment probe. This is mainly, because old setup does not work reliably anymore, as vscode environment probe times out after 10 seconds. I have also updated bunch of other stuff and updated README.
The new setup also kind of is a more proper and more simplified way to load environment, as it does not have any hacks to detect whether vscode is running environment probe. Please be aware that image was renamed to xtruder/nix-devcontainer, so old image stay, as it is, but it hasn't been updated for a long time.
I am closing this issue, as this should be fixed now.


documentation makefile makes errors : WARNING: sphinx_rtd_theme (< 0.3.0) ... not be available since Sphinx-6.0

ich@x13g3:/ALL/Xschem/TO_Nov2024-main/BG/doc$ make
Running Sphinx v4.3.2
making output directory... done
WARNING: sphinx_rtd_theme (< 0.3.0) found. It will not be available since Sphinx-6.0
Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)
make: *** [Makefile:23: build] Error 2
2

i simply had to:
pip3 install sphinx_rtd_theme
no it still shows errors but works :)


Root logger potentially conflicting with users' loggers

Operating system and version: Windows 11 23H2
Python version: 3.12.7
jupyter-black version: 0.4.0

My Issue
The logger in the project sets the basic configuration for the root logger and if a user intends to use his own logger there might be issues (related to the way the config inheritence works in the logging module):

adding a logger handler makes the logs double up with the root loggers logs from the jupyter_black setup
the basicConfig is already set up by jupyter_black (if imported first in the user's project) so the user cannot setup his own logger that way

I propose to add a simple flag to the load function that disables the logger for the convenience of the user:
def load(
...
disable_logger: bool = False,
...) -> None:
    if disable_logger:
        rootLogger = logging.getLogger()
        for handler in rootLogger.handlers:
            rootLogger.removeHandler(handler)

WHYT
As a user trying to use my logger with a custom handler I tried:

changing the verbosity flag up to logging.CRITICAL
swaping the order of the imports
using the root logger directly

The one thing that I found that works is the snippet i presented above and I think it would reasonable to take the onus of disarming the root logger off the user and enable this in the jupyter_black setup itself since the logs from the formatter are something a user interested in detailed logging might want to have an easier control over.

Please make sure you've taken these steps before submitting a new issue:

[x] Include the Python and jupyter-black version in your issue
[x] Ensure you're running a supported version of Python
[ ] Run jupyter-black in debug mode if applicable and include
relevant output
[x] Search the existing (including closed) issues
[x] Please use codeblocks for any code, config, program output, etc.

Thanks for the reply, good louch on your exam then!


custom extensions when testing

Method setUpTraits return uses array.
https://github.com/laravel/framework/blob/805f67b1f36c1aa747138c81067cb6d56ef21ed5/src/Illuminate/Foundation/Testing/TestCase.php#L71
I want to create a (custom)trait for the extension.
It would be convenient to do so..
$this->uses = $this->setUpTraits();

// custom trait
trait Custom
{
public function customMethod()
{
 // ....
}
}

abstract class TestCase extends BaseTestCase
{
 protected function setUp()
 {
   parent::setUp();

   if (isset($uses[Custom::class])) {
            $this->customMethod();
        }
 }
}

In the current version you need to override the method setUp or to violate the principle DRY
@taylorotwell What do you think about this?

Please use https://github.com/laravel/ideas/issues for proposals.

@staudenmeir it is close?

add https://github.com/laravel/ideas/issues/1158

Yes, please close it.


fix: popover component

ST-444
Motivation and context
There is a white space at the bottom of cockpit.
It turns out that this issue is related to Popover component. It's also visible in TopVehicle and TopListing page. I could not find any cases where we use the Popover component in listings-web or any other projects.
This PR fixes the issue without impacting the behavior of the component. Here is the PR for seller-web.
Before
White space at the bottom of Cockpit page (but also TopVehicle and Toplisting pages)

After
No more white space
How to test
Please make sure the Popover behaves as before (all Tooltip + Vehicle filters in the Cockpit page and some tooltips in TopVehicle and TopListing pages)

Thank you 🐞

@Milos-Zbiljic we discussed it with Colin and he confirmed that this change is not goiing to impact the filters on SRP


HEIF support for Image Converter

What's the Problem?
No response
Solution/Idea
With HEIF being used by all recent Apple devices I think it would be great to be able to convert from HEIF with this app
Alternatives
Using some online tools may be OK, but it kinda breaks the whole concept of your app
Priorities

Capability
Priority

Convert from HEIF
Must

Convert to HEIF
Could

DevToys Version
No response
Comments
No response

Could potentially look at image magick: https://github.com/dlemstra/Magick.NET

https://github.com/veler/DevToys/blob/main/src/dev/impl/DevToys/Views/Tools/Graphic/ImageConverter/ImageConverterToolPage.xaml#L64
Not sure if BitmapDecoder supports heic.
https://github.com/veler/DevToys/blob/main/src/dev/impl/DevToys/Helpers/ImageHelper.cs#L50

Indeed. Good catch @9at8 !
I will look into that when we port this tool to DevToys 2.0


Linux binary is missing from releases page

Windows binary downloads just fine, but the linux one appears to be missing.

Thanks for reporting this. Each time I upload the Linux ELF file it seems to get lost; maybe there's some filtering happening somewhere. I've uploaded a zip compressed archive containing the Linux binary instead.


Add jq command on README Requirements

Is this a BUG REPORT or FEATURE REQUEST?:
Feature request
What happened:
Error message
'go run main.go -key $PKCS_KEY  | jq '.keys += [.keys[0]] | .keys[1].kid = ""' >  ./examples/iam-auth-and-irsa/k8s-cluster/.secret/keys.json': exit status 127. Output: /bin/sh: jq: command not found
What you expected to happen:
Add jq command on README Requirements
How to reproduce it (as minimally and precisely as possible):
terraform apply -target=module.irsa without jq installed
Anything else we need to know?:
I can help this issue 👋

thank you!!


OCPBUGS-32759: Fix invalid node selector in autosizing placeholder

What this PR does / why we need it:
When there are no hosted clusters in the management cluster, the placeholder deployment node affinity selector should not include an empty list.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #OCPBUGS-32759
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.

/lgtm

/retest

/test e2e-aws

/test e2e-aws

/retest

/test e2e-aws

/unhold
/retest


Conform Bitcoin to BIP49

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@71b241b). Click here to learn what that means.
The diff coverage is 86.66%.

@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage          ?   80.97%
=========================================
  Files             ?       73
  Lines             ?     2906
  Branches          ?        0
=========================================
  Hits              ?     2353
  Misses            ?      553
  Partials          ?        0

Impacted Files
Coverage Δ

Sources/Bitcoin/Bitcoin.swift
44.44% <100%> (ø)

Tests/PurposeTests.swift
100% <100%> (ø)

Sources/Ethereum/Ethereum.swift
11.11% <100%> (ø)

Sources/Blockchain.swift
11.76% <33.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71b241b...3614917. Read the comment docs.


fix: clean up nox sessions to uniformly displays package versions for debug purposes

Cleaned up several items in the noxfile to faciliate debugging.

Due to additions of python -m pip freeze commands, removed several package-specific version display expressions since they are now redundant.
Removed a duplicative line with python -m pip freeze

LGTM. Thank you!


Improve Import Script: Implement Read Extremely Carefully, Simplify Procedural Flow and Improve Data Manipulation

In this update, some of the changes made are New structural improvements Changing the code to handle quoted strings Changing the code to keep the power of the importing string The fixes made were Changing the driver to create an import path instead of an import name Changing tab name to match folder name Fixing incorrect path for file Fixing problems with file extension Fixing problems with the ending slash on the import path First, we looked at some severe concerns of missing imports and corrected by making sure all necessary libraries are imported and called. In particular, the modules that were mentioned to cause import errors, namely loguru and sqlmodel, are properly imported now.
Also, the outlined cognitive complexity of the script has been reduced by finetuning of its structure. It can be noted that the import_file function which was rather confusing and difficult to understand at first sight, has been broken down to smaller functions for better use. This refactoring increases scoping and reduces coupling by breaking down concerns like file I/O, data validation, and sending/receiving messages. Included into the new structure are also improved error control and logging features that enable a better understanding of the script operation and help debug it.
As a further refinement of the script we proposed optimizations for data validation and processing of the data. This involves improved coping with ‘null values’ in the input files and in addition, improved querying and updating of the database. Type hints available in the Python and optional parameters have been improved so that the script works as expected, and it is capable of handling numerous input cases as well as configurations.
As a whole, these changes make the script less complex, even more reliable, and follow the Python standards of writing. The end-user is then delivered a more constant and sustainable system for importing and manipulating message trees and messages.

This pull request introduces several key updates and improvements to the import script:This pull request introduces several key updates and improvements to the import script:

Resolved Import Issues: Used to fix missing imports for loguru and sqlmodel libraries so they could perform as expected and not cause import issues. These modules are basically used to log the application and for handling the database operations.

Refactored Complex Function: Here, it is found that the import_file function is having high cognitive complexity among the functions. It has also undergone refactoring in order to remove as much complexity as possible for the purpose of making it less cluttered and easier to follow. Others which have been suggested are; The refactoring will involve de-compilation of this function into several parts which are easier to overcome.

Enhanced Error Handling: During data import new procedures of error control and reporting were incepted to address possible complications more efficiently. This is evidenced by enhanced error messages and safer methods of executing transactions.

Improved Logging: Changes have also been made in the logging statements by making them more clear and by adding better breakpoints for debugging purposes. It also helps in making sure that essential events and mistakes are monitored with additional information being given.

Code Quality Enhancements: Some of the changes made contain, but are not limited to, using the type hints, better modularity of functional procedures, and more compliance with PEP 8 style guide.


Passes auto_refresh value to _post_create() hooks

Whether or not this addresses some of the hanging issues while creating objects in a loop, makes sense to have the auto_refresh flag apply to post_create() methods that may also fire self.update().  Thanks for this.


stop indicator loading after force complete the request

I will found out the reason why the indicator never stop loading after I force stop the request. :)


CommentUncommentService

Fix https://github.com/Microsoft/visualfsharp/issues/1785, thanks @vladima

Awesome @vasily-kirichenko @vladima.  Will merge when green

Thank you @vasily-kirichenko  and @vladima.  I can't wait until we merge all the VFPT features too :)

@dsyme I think coloring and "highlight current symbol in file" could be ported from VFPT quite easily. Re-implementing coloring could be a waste of time, there are many corner cases and we have a lot at tests for it.


Feat: Username display feature

What feature?
Currently the userId is exposed for a user when we see a profile. To fix that, a username should be there as it will be easy for the users instead of userId.
Add screenshots

Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

I would like to work on this. Can you please assign?

sure but the Pull Requests before 1 Jan 2024 are not considered, so keep in mind about it.
Anyways assigned.

@Sanchitbajaj02  can you please assign this to me i am confident that i can help you with this !!

@Sanchitbajaj02 can you please assign this to me i am confident that i can help you with this !!

Hi @krishnagitcontri I already assigned him this issue yesterday. If I didn't get his response, I will assign you the issue. Till then, you can explore more issues or create a new one

can i do my PR in advance if he doesn't respond in case?

can i do my PR in advance if he doesn't respond in case?

You can but PR before 1 jan aren't considered in SWOC

can i do my PR in advance if he doesn't respond in case?

I will create my PR on 1st January.
Since contributions start from 1st January

can i do my PR in advance if he doesn't respond in case?

I will create my PR on 1st January. Since contributions start from 1st January

Sure but remember that preference will be given to @Vidip-Ghosh as he asked first to work on it

After I clicked on post button, the post doesn't get displayed. I think is it because db is not able to fetch.

 After I clicked on post button, the post doesn't get displayed. I think is it because db is not able to fetch.

@Sanchitbajaj02 please tell what to do?

After I clicked on post button, the post doesn't get displayed. I think is it because db is not able to fetch.

Did you try to refresh the page? Because the moment you added the post, it should be displayed in the feed and if by any chance it didn't get displayed, a simple page refresh would make it visible in the feed.

After I clicked on post button, the post doesn't get displayed. I think is it because db is not able to fetch.

Did you try to refresh the page? Because the moment you added the post, it should be displayed in the feed and if by any chance it didn't get displayed, a simple page refresh would make it visible in the feed.

Its still not showing.

Can you properly list down the steps to achieve that?

@Sanchitbajaj02 could you pls check on your end if its working or not?

@Sanchitbajaj02 could you pls check on your end if its working or not?

Can you check now. I have done some changes


How to give the right to ordinary players to create custom discs?

I added the plugin to the server, but only operators can create custom discs. sry for my bad eng :c

You just need to give them the permission: customdiscs.create


Can Luci support 80211ad?

I'm trying to use Openwrt 15.05 release for our 80211ad device, the command line works fine to configure the device to AP, but Luci seems not support 80211ad. Is that possible to add 80211ad support to Luci?

Since there is not a single 802.11ad supported driver in OpenWrt I see no point in adding 802.11ad support to LuCI. If you need that in a proprietary OpenWrt fork then you have to do it yourself. You need to modify libiwinfo and wifi.lua


Is this still operational?

Hi,
I would like to know whether this repo is still operational.
Also, is this docker image packaged with Bertopic as i think or it's something else?
If it is then is there a tutorial on how to use Bertopic within it?

Hi, i am referring to the API documentation for this.
Where is the information to see how to make POST request?


[5.1] FixCode: issue a separate note for protocol-stub fixit when the fixit location is in another file

Under non-editor mode, the fixit for inserting protocol stubs is associated with a note
pointing to the missing protocol member declaration which could stay in a separate file from
the conforming type, leading to the behavior of rdar://51534405. This change checks if
the fixit is in a separate file and issues another note to carry the fixit if so.
rdar://51534405

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - c9826d92bfb36cfd09d951e12e96c99119d994d7

Build failed
Swift Test OS X Platform
Git Sha - c9826d92bfb36cfd09d951e12e96c99119d994d7

@swift-ci please nominate


add firstindex so begin works

Compile Times benchmark
Note, that these numbers may fluctuate on the CI servers, so take them with a grain of salt. All benchmark results are based on the mean time and negative percent mean faster than master. Note, that GLMakie + WGLMakie run on an emulated GPU, so the runtime benchmark is much slower. Results are from running:
using_time = @ctime using Backend
# Compile time
create_time = @ctime fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @ctime Makie.colorbuffer(display(fig))
# Runtime
create_time = @benchmark fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @benchmark Makie.colorbuffer(display(fig))

using
create
display
create
display

GLMakie
11.38s (11.28, 11.51) 0.08+-
24.17s (23.99, 24.28) 0.10+-
19.30s (19.10, 19.72) 0.20+-
21.22ms (19.41, 21.74) 0.83+-
84.31ms (81.96, 86.54) 1.68+-

master
11.38s (11.25, 11.62) 0.13+-
23.77s (21.51, 24.55) 1.03+-
19.23s (18.86, 19.85) 0.33+-
21.31ms (19.59, 22.20) 0.84+-
84.25ms (82.24, 88.07) 1.96+-

evaluation
-0.00%, -0.0s invariant (-0.00d, 0.99p, 0.11std)
+1.64%, 0.4s invariant (0.54d, 0.35p, 0.57std)
+0.34%, 0.07s invariant (0.24d, 0.66p, 0.26std)
-0.44%, -0.09ms invariant (-0.11d, 0.84p, 0.83std)
+0.06%, 0.05ms invariant (0.03d, 0.96p, 1.82std)

CairoMakie
–
–
–
–
–

master
–
–
–
–
–

evaluation
–
–
–
–
–

WGLMakie
–
–
–
–
–

master
–
–
–
–
–

evaluation
–
–
–
–
–


Add a GridList Widget

GridList widget needs to be implemented in the app

@AryanKhubchandani can I work on this? :)

@AryanKhubchandani can I work on this? :)

Yeah sure! I have assigned you this issue. Good luck!


df: types: dataflow: Call update any time any subproperty of flow is modified

Pain Point
Currently when a use modifies dataflow.flow the dataflow is not updated unless dataflow.update() is called.
For example:
https://github.com/intel/dffml/blob/8c87efaf55707bf1c3f72406226de85111fb7681/examples/io/io_usage.py#L11-L49
Proposed Solution
Ideally whenever flow is modified, or any subproperty all the way down the nested objects is modifed. We would automatically call dataflow.update() so the user doesn't have to remember to call it.
The following code might be helpful from the config code paths. We have leveraged getters and setters to do validation on properties. We could possibly take a similar with flow, we might have to ensure each object within flow has a reference to the dataflow it's within. If an object was instantiated as above, we might be able to detect it from the parent it was added to, going all the way up to the flow object, and add down a reference to the dataflow, so the object can call update, as well as then calling update due to that addition of a property.
https://github.com/intel/dffml/blob/8c87efaf55707bf1c3f72406226de85111fb7681/dffml/base.py#L366-L451

Hey @pdxjohnny, in https://github.com/intel/dffml/blob/8c87efaf55707bf1c3f72406226de85111fb7681/examples/io/io_usage.py#L30, why is .update used instead of assignment?


[Prefix] Fix Prefixed PHPUnit Ticket class

Fixes https://github.com/rectorphp/rector/issues/8790

@tvanhateren this should fix https://github.com/rectorphp/rector/issues/8790

All checks have passed 🎉 @TomasVotruba I am merging it ;)


I want to contribute by building this in node.js

By seeing the popularity of node.js I believe that we should convert your precious work into some kind of npm module. If you can help me on this then I could be a contributor on this. Let me know your thought on this.
What I need from you :

Basic flow of process
Things to keep in mind

PS : I am not comfortable in python

There is such module already: cloudscraper
It is almost the same implementation but in JS.


Transactions reassigned forever

Scenario:
On a long-running instance of Bigchaindb; running for over 2 days.
Transactions were being create at the rate of 1 every 5 secs.
These are general transactions, nothing custom/fancy.
I do not have a copy of the transaction body now.
If needed, can try to repro and provide additional details.
Stdout:
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 0e3fd65d3c6189566939d0a1a93a4674f31b8ff12d5414481fefbc53d8664065
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 63a216fca84b16d5792e3b5ae46db1efe7e6abcf53e17407a3e3ea0ca564c585
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 9b9acbac31e4e2ec0049e0ccdb77f59a7e173a6d6a1343564fb4efe587233af2
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 3511085c265002984627fd4a9a80254136c8c6717ee067899bb51d7d8d376e62
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 27ba9b31b33e96ef9666cc03703fe233c9d4d6f4ce20c1fa760be9fa987056c0
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 0e3fd65d3c6189566939d0a1a93a4674f31b8ff12d5414481fefbc53d8664065
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 63a216fca84b16d5792e3b5ae46db1efe7e6abcf53e17407a3e3ea0ca564c585
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 9b9acbac31e4e2ec0049e0ccdb77f59a7e173a6d6a1343564fb4efe587233af2
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 3511085c265002984627fd4a9a80254136c8c6717ee067899bb51d7d8d376e62
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 27ba9b31b33e96ef9666cc03703fe233c9d4d6f4ce20c1fa760be9fa987056c0
INFO:bigchaindb.pipelines.stale:Reassigning transaction with id 0e3fd65d3c6189566939d0a1a93a4674f31b8ff12d5414481fefbc53d8664065

The basic problem is that the backlog is being treated as an unbounded queue, and additional resources aren't deployed as-needed. Some potential solutions:

A user don't want to wait forever for their transaction to get into a block, so just delete transactions that have been waiting longer than, say, 120 seconds. In other words, instead of reassigning stale transactions, just delete them from the backlog.
Put a cap on the size of the backlog, so that any new transactions coming to a "full" backlog would be rejected.
Detect when the backlog is getting full and allocate more resources to block-building, akin to what was proposed in issue #791.

I don't think this is a problem with resources if we are only creating a transaction every 5 seconds but I do need more details to be able to reproduce this.

BigchainDB 2.0 comes out soon and it doesn't have any concept of reassigning transactions. It works quite differently. This issue becomes a non-issue, do it deserves to be closed forever.


Assets do not get deployed

It seems that none of the files in the assets folder get deployed. The poster PDF is missing on http://higlass.io, as is the favicon.png.

Neither of those exist in the repository. There should be no link to the PDF on the website and we need to create a new favicon.


Extensions details/changelog take a while to load information

Issue Type: Bug
I wanted to install the Beautify extension, so I click on Beautify in the extensions interface in Visual Studio Code, and it takes a long time (one minute+) to load the details about the extension. It's about the same wait time if I click on Changelog too. I clicked on other extensions and got the same behavior.
I didn't notice this issue yesterday when I was looking at extensions in VS Code.
I am not experiencing any network issues, so that is not the issue. I also started VS Code with extensions disabled, but got the same result.
VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:06:21.742Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (6.02GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2018.10.1

vetur
oct
0.13.0

I checked the extensions interface today in VS Code, and everything is working great. No issues with delays of the details/contributions/changelog tabs. I didn't change anything from when I was having issues. I tried multiple reboots when I was encountering the issue.
It's possible there could have been a network issue along the route to send/receive the information. Not sure. Based on what I see now in VS Code, things are working as they should.


Multiple Windows are displayed on the client

Describe the bug
When you click sign in, multiple Windows pop up on the client
To Reproduce

Click Sign In
Pop up multiple Windows
Browsers open multiple tabs

Expected behavior
The browser opens only one TAB
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)

Already fixed for the next version.


Java Support for Azure Functions

Moved from https://github.com/projectkudu/AzureFunctions/issues/314

Ideally, provide similar functionality as AWS see http://docs.aws.amazon.com/lambda/latest/dg/java-programming-model.html.

Though I love the idea, Functions is a non-starter for us w/o Java/JVM polyglot support.

Hi Paul, I see that this enhancement was added to the Next milestone.  I am not sure what this means; can you explain?  Thanks in advance.

@iwaldman milestone is for some initial classification of issues, but at this point, there is no clear timeframe for this. Next basically means it's something we think is a good idea, but have not done the groundwork to know what it would really take.

Thank you for the clarification.

@davidebbo Any updates on the timeframe for Java Support for Functions?  Or, can you at least confirm that it's being worked on?

@solvingJ it is still on the radar, but at this time we do not have a clear ETA.

Ok, from my point of view, for a first iteration it doesn't have to be a fully integrated runtime.  Even if a JDK/JRE was available on the filesystem, that would allow us to more easily deploy and run a JAR, and use environment variables to pass the args.

Note that the JDK is available on the worker, since it's hosted on Azure App Service (which has Java support). You can find it under D:\Program Files (x86)\Java (a bunch of versions, latest currently 1.8.0_73). You can use Kudu Console to look through the files.
But my guess is that if it were to launch the Java runtime each time it needs to run a Function, it would be unacceptably slow.

@solvingJ Ok, so I was curious how far I could get and played around with it. It turns out that it runs pretty well, at least on my super simplistic test.
I documented everything on https://github.com/Azure/azure-webjobs-sdk-script/wiki/Creating-a-Java-Azure-Function, so please give it a try, and let me know if it is along the lines of what you had in mind.
Needless to say that it is very experimental and unsupported. We're just playing around at this point :)

Thank you very much for effort
I will experiment tomorrow!
Your disclaimer fully acknowledged
This willingness to play around with new ideas is what excites me most about new Microsoft!

Sent from my iPhone

On Jan 15, 2017, at 8:23 PM, David Ebbo<EMAIL_ADDRESS>wrote:
@solvingJ Ok, so I was curious how far I could get and played around with it. It turns out that it runs pretty well, at least on my super simplistic test.
I documented everything on https://github.com/Azure/azure-webjobs-sdk-script/wiki/Creating-a-Java-Azure-Function, so please give it a try, and let me know if it is along the lines of what you had in mind.
Needless to say that it is very experimental and unsupported. We're just playing around at this point :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@davidebbo worked for me by deploying a JAR, hope to post a github example project. I also have a model for full runtime support.  email me if you'd like to discuss.

Glad to hear, and looking forward to hear more about what you achieve using this technique.
As for discussion, we'd prefer to keep it public in the spirit on Open Source, unless there are some specific things that you prefer not to discuss publicly. Thanks!

I  wanted to discuss native Java support in a bit more depth offline because I have a previous "on-premise" JVM project which works very similar to azure function. In fact, it's more mature in some ways which might be instructive for the platform.  However, in retrospect it seems likely that the reasons native Java support hasn't been added are not related to a lack of Java developer availability or expertise, but rather other factors which I probably can't help with.
Also, I just looked at how python and php are implemented, and found that they are implemented with the same mechanism as the Java example, so the current Java support now seems average and fair. Previously I assumed they were more runtime-integrated like the C# and NodeJs functionality.
With that said, I would be happy to provide my time and insight if/when someone begins planning native Java integration.

Yes, you are correct that Python/PHP (which are only in Preview) currently work the same way. Basically, for each execution, we launch the process and pass it binding data via environment variables.
Right now, we don't have a clear timeframe for when the fuller support will happen. Though I am curious how far you are able to get using the limited approach I described.

I think your example clearly demonstrates it's capabilities.  It's great considering that just a few days ago using Java wasn't even considered possible.  The most common workflow I would see is to build and deploy FAT JARs with dependencies included, and run them via script.  It's certainly the only workflow I will use for Java.  Currently, the continuous integration benefits do not justify the additional scripting necessary to deal with compilation and manual dependency download.
However, my primary interest lies in the dream of the combination of the continuous integration (git) workflow PLUS the native runtime support like what .NET enjoys: an always on runtime, automatic compilation, and the receiving POCOs for common triggers rather than strings, etc.  Also, for me a solution must have automatic dependency download included.
Again, I'm happy to work on this for Java if it becomes a possibility.

I've taken whats been documented at https://github.com/Azure/azure-webjobs-sdk-script/wiki/Creating-a-Java-Azure-Function and am trying to apply that to Go. The input message is fine, but I don't have any environment variable called "outputQueueItem".
Are there any other setup steps that I might have missed out that will create that?

@kpfaulkner did you add the Output binding of type Azure Queue Storage? If you keep everything default, the message parameter name is outputQueueItem, which then causes the env variable to exist.

Doh, that was it. Thanks :)

@davidebbo, how can we get to run the Http GET (CRUD)/POST/PUT/DELETE for Java using the above way? Our requirement is to write Function App (REST) for our COTS layer.

@ranjan545486 I don't think so. The technique is limited to fairly simple scenario. Once we have fuller Java support later on, those scenarios will open up.

Do we have anytime frame on the same yet? As we are moving an EPG client to Azure Functions completely for all their web jobs to be more cohesively attached to Azure Services? As we have migrated all their C# jobs not only left are the Java blocks. This is a major blocker for us.
Any timeline on the same would help..!!

As @abhijeetgps notes, not having JVM fully supported is a big barrier for porting over AWS work loads. Considering that Azure tends to match and exceed AWS in so many areas, this is a big shame. BTW, specifically mention JVM, not Java, as we package up scala code in a .jar and it works fine.

Hi @AronT-Emelai thanks for the +1, but I believe I can't deploy it at customer scenario till the time we have full support. Currently performing the same via WebJobs. But we need more Java support on every service and integration with J. Frameworks.

Just was at a Microsoft Meetup today and apparently this is coming very soon

From: abhijeetgps<EMAIL_ADDRESS>Sent: Wednesday, June 7, 2017 8:22:48 PM
To: Azure/azure-webjobs-sdk-script
Cc: Aron Trauring; Mention
Subject: Re: [Azure/azure-webjobs-sdk-script] Java Support for Azure Functions (#224)
Hi @AronT-Emelaihttps://github.com/aront-emelai thanks for the +1, but I believe I can't deploy it at customer scenario till the time we have full support. Currently performing the same via WebJobs. But we need more Java support on every service and integration with J. Frameworks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-webjobs-sdk-script/issues/224#issuecomment-306865410, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVGMY6hXAkaAjbeVHQQTmmzDEHbFZ2NVks5sBtxogaJpZM4IAfN1.

@AronT-Emelai  that's a big relief :) though am interested to know if still I do a dev on functions with .jar and compile with Kudu console, what probably might go wrong? As we have the complete environment at the backend to support?

We will find out when it happens :)

Really look forward the full java support in Azure function

It would be great if it is possible to use Scala in Azure Function :)

@davidebbo do you have any updated public information on a JVM function runtime you can share?

@solvingj the v2 Functions runtime is now GA as of last week. The Java support on top of it is still in Preview. We don't have a date yet that we can announce, but it is getting there.

Java functions is GA. Closing this issue.
For issues specific to  java functions please open issue here: https://github.com/Azure/azure-functions-java-worker/issues


Revert link underline color

Clone of https://github.com/brickhousecoop/thebrickhouse-wp/issues/89

Commented out in https://sludge.ghost.io/ghost/#/settings/code-injection (wasn't hardcoded in theme yet)
    /* DISABLED: changed link highlight color to match old Sludge
    .gh-content a {
        color: black;
        text-decoration: underline;
        text-decoration-color: #2b56ff;
        text-decoration-thickness: 2px;
        transition: color 0.2s;
    }

    .gh-content a:hover {
    	color: #2b56ff;
    }
    */


If items become empty, the cells are not clear

Hi,
When my ui-listview is bind to a list which become empty, the cells are not clear. so the old cells are still display.
To fix this, I have to manualy clear the cell with the listView object available on option :
        vm.uiListOptions.listView.cells = [];

Perhaps this could be done in the _clear method of UIListView .
Regards,

Reproduced here: http://jsfiddle.net/Ly55fmnu/

I've made a pull request to fix this
https://github.com/StevenLambion/ui-listView/pull/7

Thanks @sgiraud01!  I'll take a look at it ASAP.

I've deployed a new version with your fix.


added tests and comments for epoll syscalls

Description
This PR added some tests and comments for epoll related syscalls (epoll_create_syscall, epoll_ctl_syscall and epoll_wait_syscall).
Fixes # (issue)
Several minor issues in epoll are fixed in this PR:

fixed some wrongly returned errno, and added a few errnos that can be easily supported
added check for fd range to prevent panic from get_filedescriptor
fixed when calling epoll_ctl on EPOLL_CTL_DEL flag with non-existing fd would causing panic
fixed the error case that EINVAL should be returned when maxevents is smaller or equal 0 (previously is smaller 0).
fixed misuse of EPOLLERR, should be EPOLLPRI instead
fixed maxevents issue in epoll_wait. Previous behavior of maxevents is that it only checks the first maxevents fds for readability/writability. E.g. if there are 10 file descriptors, and 5 of them are ready. Passing maxevents of 5 would cause epoll only monitors the first 5 file descriptor, and report for its readability/writability. Therefore, the number of ready fd could be less than 5. However, the correct behavior should be that epoll should always report first 5 ready file descriptor, in this case, its return value should always be 5.

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
All the fixed behavior passed the test. (before the fix, it won't pass the test)

Test A - ut_lind_net_epoll_create_bad_input
Test B - ut_lind_net_epoll_ctl_bad_input
Test C - ut_lind_net_epoll_wait_bad_input
Test D - ut_lind_net_epoll_maxevents_arg
Test E - ut_lind_net_epoll_timeout
Test F - ut_lind_net_epoll (this test is marked as ignore since an unfixed bug will panic the test)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been added to a pull request and/or merged in other modules (native-client, lind-glibc, lind-project)

@yashaswi2000 just resolved these comments, could you check again?


CDPS-313 non associations endpoint

Good spot @davidmiddletonmoj, I have update the feature.env.
Ready for review / approval


Switch-like statement to avoid repetitive 'extends' ternary

Suggestion
Hi 👋
I've recently been using the type MyType<T> = T extends X ? A : B; more and more, and while it's extremely powerful, the syntax gets messy with a lot of potential types:
type MyType<T> = T extends A
? AProperties
: T extends B
? BProperties
: T extends C
? CProperties
// ...
: never;

My thinking is something like this would be cleaner:
type MyType<T> = switch(T) {
  case A: AProperties,
  case B: BProperties,
  case C: CProperties,
  // ...
  default: never;
}

I feel like this syntax is more reader-friendly - would encourage this conditional/dynamic type pattern usage more (which IMO it should be utilised a lot more).
🔍 Search Terms

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.
✅ Viability Checklist

My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ ] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[ ] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

📃 Motivating Example

💻 Use Cases

I second this! I think this would clean up complex conditional types.

It is very useful for branch selection and type narrowing.
case A extends number: ...
case B extends string: ...

Note that you can already implement a Switch utility type that lets you convert
type MyType<T> =
  T extends A ? string :
  T extends B ? number :
  T extends C ? boolean :
  Date;

to something like
type MyType<T> = Switch<T, [
  [A, string],
  [B, number],
  [C, boolean],
  [any, Date]
]>

where
type Switch<T, U extends [any, any][]> =
  U extends [[infer V, infer W], ...infer R extends [any, any][]] ?
  T extends V ? W : Switch<T, R> : never

Maybe having native syntax for this would be nice, but would it allow something that we can't already do now?


Can't install using nuget in Asp.Net 4.0 Web Pages project

Thanks for keeping this project alive.
I'm using visual studio 2010, my project is in Asp.Net Web Pages  .Net 4.0
When using Nuget 2.8.60318.667 to install the package, Iget the following error:
'System.Linq.Dynamic.Core' already has a dependency defined for 'System.Collections.Concurrent'.
I tried to install the package NetLegacySupport.ConcurrentDictionary 1.1.0 and did it again but got the same error.
Any clues?

I'm using VS2013 and solved updating nuget package manager to last version

This issue looks at bit like :
https://github.com/NuGet/Home/issues/2825

Looks like it is the issue, we just wait for the new nuget version?

As a workaround you can just download the nuget package from nuget.org and extract the library (dll) which you need for your framework.
Or upgrade VS to the latest 2015 is thats possible.

I have upgraded to visual studio 2013 and I can install it and build, but my project is not MVC and is 4.0 when I try to execute the page it raises a load exception when I look at it it is asking to load the System.Web.MVC 1.0.0, if I uninstall the dynamic library the project runs fine.
This library works only on MVC?

This library does not have a dependency on MVC.
Can you please share your project or provide more details?

Any update?

Sorry for the late response.
I ended up not using this library, it keep asking for the MVC reference, I figured it must be something related to nuget and the framework 4.0
I was using visual studio 2013.


Use single number system

This PR is just a clarification for somebody who are reading the code.

Hi @ashisherc I thought it is just a clarification but it seems it is breaking change, many tests fails. I didn't fix them to show you the issue.
By specification:

https://github.com/LedgerHQ/orakolo/blob/master/papers/Ed25519_BIP Final.pdf
https://www.rfc-editor.org/rfc/rfc8032#section-5.1.5

The lowest three bits of the first octet are cleared, the highest bit of the last octet is cleared, and the second highest bit of the last octet is set.

xprv[31] &= 0x1f;
// is equal
xprv[31] &= 0b00011111;

Current implementation clears third highest bit: 0b00011111
More comments in PR code.
It seems @fix was right here: https://github.com/StricaHQ/bip32ed25519/issues/3

The implementation follows the Bip32Ed25519 paper, please see this https://github.com/StricaHQ/bip32ed25519/issues/3#issuecomment-1152974216 for the explanation

@ashisherc please read the specification carefully. You had mixed up highest and lowest bits in your explanation in the comment https://github.com/StricaHQ/bip32ed25519/issues/3#issuecomment-1152974216

hm, are you saying the implementation deviates from the standard?

Yes, there is two documents saying the same but a bit in different words.

https://github.com/LedgerHQ/orakolo/blob/master/papers/Ed25519_BIP Final.pdf
https://www.rfc-editor.org/rfc/rfc8032#section-5.1.5

11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
// 1) The lowest three bits of the first octet are cleared
& 11111000
// 2) the highest bit of the last octet is cleared
11111000 11111111 11111111 11111111 11111111 11111111 11111111 11111111
                                                             & 00111111 or
                                                             & 01111111
// 3) the second highest bit of the last octet is set
                                                             | 01000000
11111000 11111111 11111111 11111111 11111111 11111111 11111111 01111111

Current implementation makes & 00011111 on step 2. So third highest bit is cleared.

https://github.com/LedgerHQ/orakolo/blob/master/papers/Ed25519_BIP Final.pdf

If the third highest bit of the last byte of kL is not zero, discard k.

So the key must be discarded, not byte manually cleared.

You are misunderstanding the para in section V->A. Please read the bip32ed25519 specs carefully. The implementation of this library follows the specs accurately and is the standard way Cardano keypairs are generated, this implementation is in line with the specs and other language implementations as well (Haskell, Rust, C)

back to this after a while. Might be the Cardano implementation has deviated from the spec in this.
Point is the following: The security of the implementation might be at stake, since the byte clearing is done to prevent from 8-malleability of ed25519 curve. I am not a specialist but it might be possible then to forge another valid signature from an existing signature without knowing the private key.

@fix would recommend reaching out to the author of the bip32-ed25519 spec (link in the chat above) as the doubt you have is not related to this library but the spec itself :)


Windows 10 version 1909, 2004, 20H2 cannot connect to paired BLE Gatt Server on Android Tablet

Which sample are you reporting a bug in?
Bluetooth LE Explorer
Describe the bug
We have a project that creates a WPF application to pair and communicate with a BLE Gatt Server on an Android tablet. This BLE Gatt Server will create custom BLE Service with custom BLE Characteristics. We found that on Win 10 version 1809 (OS Build 17763), there is no issue. But from Win 10 version 1909 (OS Build 18363) onwards (version 1909, 2004, 20H2), the same WPF application is not able to, or is very difficult to even connect to the same BLE Gatt Server on the Android tablet.
And we actually observe the exact same issue with Microsoft’s own application and Android sample application as well.
To Reproduce
Test System:

Windows 10 laptops: Version 1809, 1909, 2004, 20H2
Android tablet Samsung Galaxy Tab S7 (SM-T870). Android version 11. Security patch level: 1 April 2021 or 1 March 2021, OR
Android tablet Samsung Galaxy Tab S6 Lite. Android version 11. Security patch level: 1 March 2021, OR
Huawei Matepad Pro (MRX-W29). Android version 10. Security patch level: 1 March 2021

Test setup:

Download Bluetooth LE Explorer from Windows store on Win 10 system version 1809 and Win 10 system version 1909.
Download the attached sample Android BLE Gatt server APK to the Android tablet. Or you can build using the sample Gatt Server source code from here https://github.com/androidthings/sample-bluetooth-le-gattserver.

Steps to repro:

Ensure Wifi and Bluetooth are turned on the Samsung Tablet and Window 10 laptop.
Install attached APK on the Samsung Tablet.
Pair the Android device with Windows using Windows Bluetooth Setting page, wait for ‘Device is ready’ prompt to be displayed by Windows.
Launch Bluetooth LE Explorer on Windows and click ‘Start’ button.
Wait for the device enumeration to finish, or click 'Stop' once the Android tablet is shown, and click on the Samsung device to connect to it.

Expected behavior

Expect LE Explorer is able to successfully connect to device and display all the Servers and Characteristic and Characteristic values

Actual behavior

On Win 10 system version 1809 (Build 17763) :
Bluetooth LE Explorer is able to successfully connect to device and display all the Servers and Characteristic and Characteristic values

On Win 10 system version 1909 (Build 18363), 2004 (Build 19041), 20H2(Build 19042):
Bluetooth LE Explorer is stuck at the ‘Connecting’ page (we waited for 6 mins and it still get stuck), OR unable to connect and show ‘Device unreachable’ error.

Configuration

Language/architecture/flavor: (example: WPF/UWP x64 Debug)
Windows platform and build number: (example: Windows 10 Laptop build 18363, 19041, 19042.)
Visual Studio version: (example: 16.9.0)

Microsoft APIs used:
Similar to Bluetooth LE Explorer, our WPF app is also using BLE WinRT APIs from here (through the help of Microsoft.Windows.SDK.Contracts Nuget package). Upon debugging, we found that on Win 10 version 1909, the following APIs will either never return the result to the application (hence the stuck on ‘Connecting’ page for Bluetooth LE Explorer), or returns “Device Unreachable” error or “No communication is allowed” error.
BluetoothLEDevice.GetGattServicesAsync
GattDeviceService.GetCharacteristicsAsync
GattCharacteristic.ReadValueAsync
The same API errors have been observed on Bluetooth LE Explorer as well when we download the Bluetooth LE Explorer Source code from MSDN gallery.
Additional context

We already tried the registry method here but it doesn’t help.
For almost all the BLE APIs in MSDN documentation, it seems like the API only claim support for Win 10 version 1809 (Build 17763), and version 2004 (Build 19041). There is no mentioning of version 2004 (Build 18363) and version 20H2 (Build 19042). Is this intended? It would means that those APIs are not supported on version 2004 and 20H2 platform?
https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothledevice.getgattservicesasync?view=winrt-19041

4 Bluetooth ETL trace using WPR is attached. Traces are capture from Win 1809 and 1909, using BLE Explorer + Simple Gatt Server, and our own WPF App + own Android APK respectively.
BT Trace.zip
Sample Android Simple Gatt Server APK used in the test
simple-gatt-server-encrypted.zip

This appears to be a question about the feature itself, not a question about the sample. You can follow the instructions on Windows developer support for support options. (Click "Forums and community".)