Fix missing required in Select (& HiddenSelect)

Hi,
I noticed the lack of a required prop on the Select comps, but I need it to block form submission. Hope it's alright to jump straight to PR without a prior issue, it seemed pretty clear to me that this will be needed.
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[x] Updated documentation (if it already exists for this component).
[x] Looked at the Accessibility Practices for this feature - Aria Practices

At the moment, none of our form components block native form submission. They use aria-required instead. So this would be a bigger change. I had started the work for native form validation support over in #4640.

Ah! I've been using react-arias <RadioGroup> in another place where disabled was working, so I guess my expectations got mixed up.
Would a PR adding it only to useSelect be more acceptable then?

Yeah eventually, but it depends on the form validation stuff I linked to to avoid the browser's native validation UI. I am currently working on that, so I'll close this one out for now.


Crash on Android 11

Describe the bug
crash on android 11 bro
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Include stack trace if exist
Smartphone (please complete the following information):

Device: [e.g. Pixle2]
OS: [e.g. andoird 6 ]

Additional context
Add any other context about the problem here.

kamraniftikhar95 have you got a solution?

No.

The issue is this error "Invalid token LIMIT". It is cause by content resolver,


feat: Test code-generated Waiters components

Issue #
Part of https://github.com/awslabs/smithy-swift/issues/448
Fixes #733
Description of changes
Provides a Smithy definition of a service/operation with a waiter, code-generates it in conjunction with protocol tests, and tests the code-generated waiter to verify that its logic behaves as expected.
Also includes a couple of handy scripts for use during codegen development.
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@epau Pointed smithy-swift to feat/waiters instead of main since the corresponding smithy-swift work merges there first.
Once there are green builds on feat/waiters on both repos, we can merge those each to main (after changing the smithy-swift branch to main.)


Fix iOS binary size build

Attempt to fix #25053. Not sure if this is the right fix or not.
cc @yulin-liang
Looks like this has been failing since Dec 22nd: https://fusion.corp.google.com/projectanalysis/history/KOKORO/prod:grpc%2Fcore%2Fpull_request%2Fmacos%2Fgrpc_ios_binary_size
And looks like that's when the pyjwt package has been updated to release 2.0.0. https://pypi.org/project/PyJWT/#history

@lidizheng This PR seems to have fixed the problem. Can you review my fix please? Or is there a better way to do this? like a ~=1.7 maybe?

@lidizheng This PR seems to have fixed the problem. Can you review my fix please? Or is there a better way to do this? like a ~=1.7 maybe?


Adds option to parse form, input, textarea & select elements

Added the following option to parse forms
   -fx, -form-extraction        enable extraction of form, input, textarea & select elements

output format
forms": [
  {
    "method": "POST",
    "action": "/test",
    "parameters": [
      "firstname",
      "textarea1",
      "select1"
    ]
  }
]

Hi @ehsandeep , thanks for the quick response, i just committed the change you suggested


Update README.md

Had a user get confused by this, might as well be explicit even if the the other behavior doesn't make sense semantically in Julia.

Coverage decreased (-7.9%) when pulling 256751e00753e06d7b423de7a93ecb0f4a68c0d5 on joehuchette:patch-2 into 13f042f0749068db3e36d0b9edf0ebb2749bf5fe on simonster:master.


UI: Freesurfer Interest Array Structure Incorrect. Breaks multi-interest pipeline.

Problem
Same as title

Same as #539


ambient: design cleanup of ambient-type labels

These are not well design or documented. Consider what the optimal usage is and how things should interact

https://github.com/istio/istio/pull/43313


Please add a suppress option on the Confirms in the Assemble-to-Order Link table

Hi
In the Assemble-to-Order Link table (T904) there are three confimation questions to the user.  We would like a SetHideValidation function or something similar to be able to bypass these confirmations as we need to call the RollUpCosts and RollUpPrices from our extension without user interference.
Regards
Chris

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Cncollins.....regards....you are guilty of illegally obtaining intrusion into another users Headdress to obtain personal information in which identify theft among 18 other charges were committed.


TypeError: an integer is required (got type bytearray)

I am trying to get this library running on Raspberry Pi under buster OS. The following is both the code and the error. Please advise what to do to correct? I can use the old deprecated version and it works so I know the hardware works and the environment should be setup correctly. I have also installed blinka library.
`import board
import busio
import adafruit_ads1x15.ads1115 as ADS
from adafruit_ads1x15.analog_in import AnalogIn
i2c = busio.I2C(board.SCL, board.SDA)
ads = ADS.ADS1115(i2c, address=0x4a)
chan = AnalogIn(ads, ADS.P0)
print(chan.value, chan.voltage)
------------------------------------ output
sudo python3 temp.py
Traceback (most recent call last):
File "temp.py", line 13, in
print(chan.value, chan.voltage)
File "/usr/local/lib/python3.7/dist-packages/adafruit_ads1x15/analog_in.py", line 74, in value
is_differential=self.is_differential) << (16 - self._ads.bits)
File "/usr/local/lib/python3.7/dist-packages/adafruit_ads1x15/ads1x15.py", line 137, in read
return self._read(pin)
File "/usr/local/lib/python3.7/dist-packages/adafruit_ads1x15/ads1x15.py", line 166, in _read
while not self._conversion_complete():
File "/usr/local/lib/python3.7/dist-packages/adafruit_ads1x15/ads1x15.py", line 176, in _conversion_complete
return self._read_register(_ADS1X15_POINTER_CONFIG) & 0x8000
File "/usr/local/lib/python3.7/dist-packages/adafruit_ads1x15/ads1x15.py", line 202, in _read_register
i2c.write_then_readinto(bytearray([reg]), self.buf, in_end=2)
File "/usr/local/lib/python3.7/dist-packages/adafruit_bus_device/i2c_device.py", line 136, in write_then_readinto
in_start=in_start, in_end=in_end)
File "/usr/local/lib/python3.7/dist-packages/busio.py", line 89, in writeto_then_readfrom
in_start=in_start, in_end=in_end, stop=stop)
File "/usr/local/lib/python3.7/dist-packages/adafruit_blinka/microcontroller/generic_linux/i2c.py", line 61, in writeto_then_readfrom
readin = self._i2c_bus.read_i2c_block_data(address, buffer_out[out_start:out_end], in_end-in_start)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py", line 207, in read_i2c_block_data
reg = c_uint8(cmd)
TypeError: an integer is required (got type bytearray)`

How repeatable is that error? I can't recreate this. I brought up a Pi Zero W with the 2019-09-26 Raspbian Buster Lite OS image, went through the Blinka install, and tested your same code and it ran fine:
(blinka) pi@raspberrypi:~$ uname -a
Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
(blinka) pi@raspberrypi:~$ python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import board
>>> import busio
>>> import adafruit_ads1x15.ads1115 as ADS
>>> from adafruit_ads1x15.analog_in import AnalogIn
>>> i2c = busio.I2C(board.SCL, board.SDA)
>>> ads = ADS.ADS1115(i2c)
>>> chan = AnalogIn(ads, ADS.P0)
>>> print(chan.value, chan.voltage)
4664 0.5857678762169256
>>>

I just ran the exact script you have above and got the error I described. I also did the same uname -a command and got the same results.

Is there anything unique about your setup? The version of Python you are running, etc.? Or is this essentially a fresh install of the Raspbian OS?
Did you follow this guide to install Blinka:
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/overview
and then this guide for the ADS1115:
https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/python-circuitpython

It is the latest update of Raspbian OS so it is also latest Python3. I use sudo pip3 to install per the directions but I don't use environment.
It is not exactly a virgin OS. I have added some other libraries, but I really can't tell  you which as I never really kept track. If I get time I will try a new OS. Unfortunately, the project moved on and my motivation has diminished, but I will try to help out.

I didn't mean to close this, sorry.

There are a few other open issues that are hitting this same thing. So there must be some underlying issue here. It's just not easy to repeat by starting with a fresh OS and working forward from there. So if we can figure out what's unique about your setup and how you got there, that would help.
Go ahead and keep this open. When you have more info, please share. Thanks.

I know for sure I installed the pyqt5 library.
I am starting from fresh img now. I will add stuff and see if I can break it.

I rebuilt the img from a dowload 9-25-19. I then went through every step in the install Blinka document and then install the ADS1115 per the guide. I didn't add anything else.
I am having 1 problem that my device isn't showing up on i2cdetect, but I think it is a loose wire.
I am using the same small program you have.
When I get i2cdetect to work, I will give you the results.

This setup failed as before. No extra software installed. Using ssh to connect.
If I can get my PiZero connected, I will try it.

OK, I'll try again and this time won't use a venv. Just to make sure - were you using Raspbian Lite or Full?

I just put it on my piZero and it doesn't crash.
I am going to put it back on my Pi3 now.

Interesting. I should have asked what model Pi also. My original test was a on Pi Zero W and it sounds like you've repeated success there. So maybe something Pi model specific. Was the Pi3 what you were using originally in your first post above?

I am using Raspbian full. It is a late model Pi 3+ (or whatever it is called, not a 4)

Now it's time to scratch one's head. I put it back on the original Pi 3 I had errors. It runs now. The only thing I did was re-soldered the power pin on the ADS1115. Maybe that was the problem all along.
I will next go back to the original OS setup and see if it works.

Going back to the OS where the problem started, I still have the error.
Exact same hardware as the step before that worked. I am not sure what I can do to help now. I might try to rebuild some of the parts I installed for other parts of my project.
Sorry I can't be of more help.

Thanks for the testing. This seems like more of software issue than a hardware issue. Somehow that one OS image has gotten in a weird state where there is some kind of software conflict going on. Trying to figure out what and how it happened can be tricky. But by starting with a fresh OS, you know everything works in general.
The person over in this other issue thread was also able to get things to work by simply starting with a fresh OS image.
Let's close this issue for now. That doesn't lock it. You can still come back and add new comments and information. If you run into this again and can remember what the last thing you did was, like "installed so and so package", then that would help. We can reopen the issue then and see if we can figure out more.
Thanks for going through the troubleshooting above!

@Grandpa-G Here's something you can try. It worked in the other thread:
https://github.com/adafruit/Adafruit_CircuitPython_VCNL4040/issues/7#issuecomment-573195267

This was a good solution. For me, I had to add sudo and change to pip3, but the program now runs. Here is the output so you can see only a few libraries were updated. This should be the clue to what really needs to be done.
pi@raspberrypi:~ $ sudo pip3 freeze --local | grep -v '^-e' | cut -d = -f 1  | xargs -n1 pip3 install -U
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: Adafruit-ADS1x15 in ./.local/lib/python3.7/site-packages/Adafruit_ADS1x15-1.0.2-py3.7.egg (1.0.2)
Requirement already satisfied, skipping upgrade: Adafruit-GPIO>=0.6.5 in /usr/local/lib/python3.7/dist-packages (from Adafruit-ADS1x15) (1.0.3)
Requirement already satisfied, skipping upgrade: spidev in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO>=0.6.5->Adafruit-ADS1x15) (3.4)
Requirement already satisfied, skipping upgrade: adafruit-pureio in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO>=0.6.5->Adafruit-ADS1x15) (0.2.3)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Adafruit-Blinka
Downloading https://www.piwheels.org/simple/adafruit-blinka/Adafruit_Blinka-3.3.10-py3-none-any.whl (86kB)
100% |████████████████████████████████| 92kB 253kB/s
Requirement already satisfied, skipping upgrade: Adafruit-PureIO in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (0.2.3)
Requirement already satisfied, skipping upgrade: sysv-ipc; platform_system != "Windows" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (1.0.1)
Requirement already satisfied, skipping upgrade: Adafruit-PlatformDetect in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (1.3.8)
Requirement already satisfied, skipping upgrade: rpi-ws281x>=4.0.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (4.2.2)
Requirement already satisfied, skipping upgrade: RPi.GPIO in /usr/lib/python3/dist-packages (from Adafruit-Blinka) (0.7.0)
Requirement already satisfied, skipping upgrade: spidev>=3.4; sys_platform == "linux" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (3.4)
Requirement already satisfied, skipping upgrade: pyftdi>=0.40.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka) (0.42.2)
Requirement already satisfied, skipping upgrade: pyusb>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka) (1.0.2)
Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka) (3.4)
Installing collected packages: Adafruit-Blinka
Successfully installed Adafruit-Blinka-3.3.10
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: adafruit-circuitpython-ads1x15 in /usr/local/lib/python3.7/dist-packages (2.1.1)
Requirement already satisfied, skipping upgrade: Adafruit-Blinka in ./.local/lib/python3.7/site-packages (from adafruit-circuitpython-ads1x15) (3.3.10)
Requirement already satisfied, skipping upgrade: adafruit-circuitpython-busdevice in /usr/local/lib/python3.7/dist-packages (from adafruit-circuitpython-ads1x15) (4.1.1)
Requirement already satisfied, skipping upgrade: rpi-ws281x>=4.0.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (4.2.2)
Requirement already satisfied, skipping upgrade: RPi.GPIO in /usr/lib/python3/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (0.7.0)
Requirement already satisfied, skipping upgrade: Adafruit-PureIO in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (0.2.3)
Requirement already satisfied, skipping upgrade: sysv-ipc; platform_system != "Windows" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (1.0.1)
Requirement already satisfied, skipping upgrade: spidev>=3.4; sys_platform == "linux" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (3.4)
Requirement already satisfied, skipping upgrade: Adafruit-PlatformDetect in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (1.3.8)
Requirement already satisfied, skipping upgrade: pyftdi>=0.40.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15) (0.42.2)
Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ads1x15) (3.4)
Requirement already satisfied, skipping upgrade: pyusb>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ads1x15) (1.0.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: adafruit-circuitpython-busdevice in /usr/local/lib/python3.7/dist-packages (4.1.1)
Requirement already satisfied, skipping upgrade: Adafruit-Blinka in ./.local/lib/python3.7/site-packages (from adafruit-circuitpython-busdevice) (3.3.10)
Requirement already satisfied, skipping upgrade: RPi.GPIO in /usr/lib/python3/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (0.7.0)
Requirement already satisfied, skipping upgrade: pyftdi>=0.40.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (0.42.2)
Requirement already satisfied, skipping upgrade: sysv-ipc; platform_system != "Windows" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (1.0.1)
Requirement already satisfied, skipping upgrade: Adafruit-PureIO in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (0.2.3)
Requirement already satisfied, skipping upgrade: rpi-ws281x>=4.0.0 in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (4.2.2)
Requirement already satisfied, skipping upgrade: spidev>=3.4; sys_platform == "linux" and platform_machine != "mips" in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (3.4)
Requirement already satisfied, skipping upgrade: Adafruit-PlatformDetect in /usr/local/lib/python3.7/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-busdevice) (1.3.8)
Requirement already satisfied, skipping upgrade: pyusb>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-busdevice) (1.0.2)
Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-busdevice) (3.4)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: Adafruit-GPIO in /usr/local/lib/python3.7/dist-packages (1.0.3)
Requirement already satisfied, skipping upgrade: spidev in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO) (3.4)
Requirement already satisfied, skipping upgrade: adafruit-pureio in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO) (0.2.3)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: Adafruit-MotorHAT in /usr/local/lib/python3.7/dist-packages (1.4.0)
Requirement already satisfied, skipping upgrade: Adafruit-GPIO>=0.7 in /usr/local/lib/python3.7/dist-packages (from Adafruit-MotorHAT) (1.0.3)
Requirement already satisfied, skipping upgrade: adafruit-pureio in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO>=0.7->Adafruit-MotorHAT) (0.2.3)
Requirement already satisfied, skipping upgrade: spidev in /usr/local/lib/python3.7/dist-packages (from Adafruit-GPIO>=0.7->Adafruit-MotorHAT) (3.4)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Adafruit-PlatformDetect
Downloading https://www.piwheels.org/simple/adafruit-platformdetect/Adafruit_PlatformDetect-1.4.3-py3-none-any.whl
Installing collected packages: Adafruit-PlatformDetect
Successfully installed Adafruit-PlatformDetect-1.4.3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Adafruit-PureIO
Downloading https://www.piwheels.org/simple/adafruit-pureio/Adafruit_PureIO-1.0.4-py3-none-any.whl
Installing collected packages: Adafruit-PureIO
Successfully installed Adafruit-PureIO-1.0.4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting bottle
Downloading https://files.pythonhosted.org/packages/e9/39/2bf3a1fd963e749cdbe5036a184eda8c37d8af25d1297d94b8b7aeec17c4/bottle-0.12.18-py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 925kB/s
Installing collected packages: bottle
Successfully installed bottle-0.12.18
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: imutils in /usr/local/lib/python3.7/dist-packages (0.5.3)
^ALooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: netifaces in /usr/local/lib/python3.7/dist-packages (0.10.9)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pyftdi in /usr/local/lib/python3.7/dist-packages (0.42.2)
Requirement already satisfied, skipping upgrade: pyusb>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pyftdi) (1.0.2)
Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi) (3.4)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pyModbusTCP in /usr/local/lib/python3.7/dist-packages (0.1.8)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pyusb in /usr/local/lib/python3.7/dist-packages (1.0.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: rpi-ws281x in /usr/local/lib/python3.7/dist-packages (4.2.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: spidev in /usr/local/lib/python3.7/dist-packages (3.4)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: sse in /usr/local/lib/python3.7/dist-packages (1.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: sysv-ipc in /usr/local/lib/python3.7/dist-packages (1.0.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: websockets in /usr/local/lib/python3.7/dist-packages (8.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: xmodem in /usr/local/lib/python3.7/dist-packages (0.4.5)


Feature/urp demo

Added URP Package
Added lights in the scene
Moon is added in the first level of the game with light effect
Added some particle effect in the scene

No conflicts


update atom

Edit: it worked

I think https://github.com/atom/atom/pull/23322 broke something because of


Jupyter Notebook Opening an .html file in Azure ML should probably render the page instead of the text version

Environment data
VS Code Environment:
Version: 1.72.0-insider
Commit: b9f7f85e90b4d51b38fcbf4232801ab04bd659cb
Date: 2022-09-23T08:15:07.186Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: Yes
VS Code Extensions
Jupyter Extension: v2022.9.1002681037 Pre-Release
Python Extension: v2022.15.12631011 Pre-Release
Azure Machine Learning - Remote: v0.19.2022092309 Pre-Release
Azure Data Lake Tools: v0.2.15
Python Environment
Conda: 4.13.0
Python: 3.9.13
Type of virtual environment: Conda + IPyKernel
.net Environment
.net: 6.0.401
Operating System
macOS Monterrey 12.6
Macbook Air (M1, 2020)
Expected behaviour
When I open a .html on a notebook from Azure ML from VS Code I would expect to see the rendered webpage instead of the html code.
Actual behaviour
If you open an html file inside of an Azure ML workspace it shows the raw html codes: <html>...
Steps to reproduce:

Create a python notebook in Azure ML
Open the notebook with VS Code
Export the notebook to html
Open the html from the VS Code files view

vscode is a code editor, so opening the html file within that application will provide an editor for the raw html. closing as out of scope

https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server


docs/secure-connections/sauce-connect-5/operation: update kubernetes doc for new helm chart

This synchronizes content with the helm chart readme
https://github.com/saucelabs/helm-charts/pull/11

@waggledans PTAL, when we agree on the content I'd update it in other places.


install torch7 failed: "Clone of 'https://github.com/torch/luajit-rocks.git' into submodule path 'exe/luajit-rocks' failed"

i want to install torch7,following  "https://github.com/torch/distro"
use the command "git clone https://github.com/torch/distro.git ~/torch --recursive"
but its failed    "Clone of 'https://github.com/torch/luajit-rocks.git' into submodule path 'exe/luajit-rocks' failed"
the log is here
"root@117:~# git clone https://github.com/torch/distro.git ~/torch --recursive
Cloning into '/home/slave117/torch'...
remote: Counting objects: 892, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 892 (delta 6), reused 0 (delta 0), pack-reused 878
Receiving objects: 100% (892/892), 131.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (535/535), done.
Checking connectivity... done.
Submodule 'exe/env' (https://github.com/torch/env.git) registered for path 'exe/env'
Submodule 'exe/luajit-rocks' (https://github.com/torch/luajit-rocks.git) registered for path                                                                                'exe/luajit-rocks'
Submodule 'exe/qtlua' (https://github.com/torch/qtlua.git) registered for path 'exe/qtlua'
Submodule 'exe/trepl' (https://github.com/torch/trepl.git) registered for path 'exe/trepl'
Submodule 'extra/argcheck' (https://github.com/torch/argcheck.git) registered for path 'extr                                                                                a/argcheck'
Submodule 'extra/audio' (https://github.com/soumith/lua---audio.git) registered for path 'ex                                                                                tra/audio'
Submodule 'extra/cudnn' (https://github.com/soumith/cudnn.torch.git) registered for path 'ex                                                                                tra/cudnn'
Submodule 'extra/cunn' (https://github.com/torch/cunn.git) registered for path 'extra/cunn'
Submodule 'extra/cunnx' (https://github.com/nicholas-leonard/cunnx.git) registered for path                                                                                'extra/cunnx'
Submodule 'extra/cutorch' (https://github.com/torch/cutorch.git) registered for path 'extra/                                                                                cutorch'
Submodule 'extra/fftw3' (https://github.com/soumith/fftw3-ffi.git) registered for path 'extr                                                                                a/fftw3'
Submodule 'extra/graph' (https://github.com/torch/graph) registered for path 'extra/graph'
Submodule 'extra/graphicsmagick' (https://github.com/clementfarabet/graphicsmagick.git) regi                                                                                stered for path 'extra/graphicsmagick'
Submodule 'extra/lua-cjson' (https://github.com/mpx/lua-cjson) registered for path 'extra/lu                                                                                a-cjson'
Submodule 'extra/luaffifb' (https://github.com/facebook/luaffifb) registered for path 'extra                                                                                /luaffifb'
Submodule 'extra/luafilesystem' (https://github.com/keplerproject/luafilesystem.git) registe                                                                                red for path 'extra/luafilesystem'
Submodule 'extra/nn' (https://github.com/torch/nn.git) registered for path 'extra/nn'
Submodule 'extra/nngraph' (https://github.com/torch/nngraph) registered for path 'extra/nngr                                                                                aph'
Submodule 'extra/nnx' (https://github.com/clementfarabet/lua---nnx.git) registered for path                                                                                'extra/nnx'
Submodule 'extra/penlight' (https://github.com/stevedonovan/Penlight.git) registered for pat                                                                                h 'extra/penlight'
Submodule 'extra/sdl2' (https://github.com/torch/sdl2-ffi.git) registered for path 'extra/sd                                                                                l2'
Submodule 'extra/signal' (https://github.com/soumith/torch-signal.git) registered for path '                                                                                extra/signal'
Submodule 'extra/threads' (https://github.com/torch/threads-ffi.git) registered for path 'ex                                                                                tra/threads'
Submodule 'pkg/cwrap' (https://github.com/torch/cwrap.git) registered for path 'pkg/cwrap'
Submodule 'pkg/dok' (https://github.com/torch/dok.git) registered for path 'pkg/dok'
Submodule 'pkg/gnuplot' (https://github.com/torch/gnuplot.git) registered for path 'pkg/gnup                                                                                lot'
Submodule 'pkg/image' (https://github.com/torch/image.git) registered for path 'pkg/image'
Submodule 'pkg/optim' (https://github.com/torch/optim.git) registered for path 'pkg/optim'
Submodule 'pkg/paths' (https://github.com/torch/paths.git) registered for path 'pkg/paths'
Submodule 'pkg/qttorch' (https://github.com/torch/qttorch.git) registered for path 'pkg/qtto                                                                                rch'
Submodule 'pkg/sundown' (https://github.com/torch/sundown-ffi.git) registered for path 'pkg/                                                                                sundown'
Submodule 'pkg/sys' (https://github.com/torch/sys.git) registered for path 'pkg/sys'
Submodule 'pkg/torch' (https://github.com/torch/torch7.git) registered for path 'pkg/torch'
Submodule 'pkg/xlua' (https://github.com/torch/xlua.git) registered for path 'pkg/xlua'
Cloning into 'exe/env'...
remote: Counting objects: 19, done.
remote: Total 19 (delta 0), reused 0 (delta 0), pack-reused 19
Unpacking objects: 100% (19/19), done.
Checking connectivity... done.
Submodule path 'exe/env': checked out '40d6fa037e52dca9eab161ab8f1e5496a52c3c1e'
Cloning into 'exe/luajit-rocks'...
remote: Counting objects: 2313, done.
remote: Total 2313 (delta 0), reused 0 (delta 0), pack-reused 2313
error: RPC failed; result=56, HTTP code = 200 | 14.00 KiB/s
Receiving objects: 100% (2313/2313), 7.31 MiB | 15.00 KiB/s, done.
Resolving deltas: 100% (1362/1362), done.
Clone of 'https://github.com/torch/luajit-rocks.git' into submodule path 'exe/luajit-rocks'                                                                                failed
"

so how did you fix that?

Yes  I fix it
发件人: 陈亚男<EMAIL_ADDRESS>发送时间: 2016年9月19日 22:16
收件人: torch/distro
抄送: Gongxiangyu; Author
主题: Re: [torch/distro] install torch7 failed: "Clone of 'https://github.com/torch/luajit-rocks.git' into submodule path 'exe/luajit-rocks' failed" (#95)
so how did you fix that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/torch/distro/issues/95#issuecomment-248005364, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARw2gsnI_DiW3uFa6DUi8_NePl_d-yqjks5qrpkFgaJpZM4IOIC6.

the network is unstable ,so use the following command to continue  downloading
git submodule update --init --recursive


[FLINK-19586] Add stream committer operators for new Sink API

What is the purpose of the change
This patch introduces two stream committer operator:

StreamingCommitterOperator is the runtime operator for the Committer in the new sink api
StreamingGlobalCommitterOperator is the runtime operator for the GlobalCommitter in the new sink api

The AbstractStreamingCommitterOperator is base class of the two operators
Brief change log

Introduce the AbstractStreamingCommitterOperator as the base class of the committer operator
Introduce the StreamingCommitterOperator for the local committer
Introduce the StreamingGlobalCommitterOperator for the global committer
Introduce the StreamingCommitterState and StreamingCommitterStateSerializer
Makes'TestSink' as all test sinks's factory.

Verifying this change

StreamingCommitterTestBase test the open/process/presnapshot/snapshot/close/restore of the two operator
GlobalStreamingCommitterOperatorTest test filterRecoveredCommittables/endOfInput of the GlobalStreamingCommiterOperator

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

Thanks @kl0u and @gaoyunhaii .

@flinkbot run azure

@flinkbot run azure


SQL Server

At begin when ask me the db type, if I select SQL SERVER, set Sql Server parameters, but no-one table was created
On Sql compact all run fine !

same with me

same with me too


Cannot find name 'URL'

azure/keyvault-secrets:
^4.0.4:
linux:
[x] nodejs

10:

[x] typescript

^3.9.7:

Describe the bug
node_modules/@azure/keyvault-secrets/types/keyvault-secrets.d.ts:477:22 - error TS2304: Cannot find name 'URL'.

477     readonly keyId?: URL;

To Reproduce
Steps to reproduce the behavior:

build the project using typescript

Expected behavior
should build without any error

@krisalay Hello Mr Kisalay!
Do you mind sharing with us more on how you're building this project?
To build our projects we currently use https://rushjs.io/ . Once installed, you can build keyvault-secrets as follows:
rush install && rush build -t keyvault-secrets

Please let me know if that makes sense! Any further information or question is appreciated.

@sadasant
I am using the npm package:
"@azure/identity": "^1.0.3",
"@azure/keyvault-secrets": "^4.0.4"

code for reference:
import { DefaultAzureCredential } from "@azure/identity";
import { SecretClient } from "@azure/keyvault-secrets";

const credential: DefaultAzureCredential = new DefaultAzureCredential();

async checkKeysInEnv(): Promise<void> {
    if (!process.env.KEY1 || !process.env.KEY2) {
      const [key1, key2] = await Promise.all([client.getSecret("key1"), client.getSecret("key2")]);
      process.env.KEY1 = key1.value;
      process.env.KEY2 = key2.value;
    }
}

Hello @krisalay , I believe we still have some miscommunication! Here's something I just tried.
I made a new folder, called 10498, in which I added the following package.json:
{
  "name": "10498",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@azure/identity": "^1.0.3",
    "@azure/keyvault-secrets": "^4.0.4"
  },
  "devDependencies": {
    "@types/node": "^14.6.0",
    "typescript": "^3.9.7"
  }
}

After that, I created an index.ts file, with the following content:
import { DefaultAzureCredential } from "@azure/identity";
import { SecretClient } from "@azure/keyvault-secrets";

const credential: DefaultAzureCredential = new DefaultAzureCredential();

async function checkKeysInEnv(): Promise<void> {
  const credential = new DefaultAzureCredential();
  const client = new SecretClient(
    "https://mykeyvault.vault.azure.net",
    credential
  );
  if (!process.env.KEY1 || !process.env.KEY2) {
    const [key1, key2] = await Promise.all([
      client.getSecret("key1"),
      client.getSecret("key2"),
    ]);
    process.env.KEY1 = key1.value;
    process.env.KEY2 = key2.value;
  }
}

Then I installed the dependencies with npm install. Then I ran tsc index.ts, and the generated file was produced, named index.js.
With this approach, I'm unable to see the error you're describing. Am I missing something?
Thank you for your time.

@sadasant

@sadasant
I am facing the same issue, so I checked the keyvault-secrets.d.ts file and there is no reference for URL type but it is being used. I have attached the screenshot for few lines in the file

The error is being thrown from the mentioned file.

@krisalay Mr Kisalay, did that approach work for you? If so, please feel free to close this issue.

Hi all,
I'm facing the same issue when building my project.
node_modules/@azure/keyvault-secrets/types/keyvault-secrets.d.ts:488:22 - error TS2304: Cannot find name 'URL'.
488     readonly keyId?: URL;
~~~
Found 1 error.

@mavr1982
Add "lib": ["dom"] to your tsconfig.json, or simply add dom to an existing array in the lib property, as how we're currently doing here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/tsconfig.json
That should fix it for you. Please help us by trying this and reporting back. Thank you for your time!

@krisalay @mavr1982
Do you mind sharing what was your tsconfig.json when this error appeared? I was able to reproduce this when my tsconfig had specific lib values, like "lib": ["ESNext"]. We would like to know more about your specific scenarios.

If the solution posted above works: https://github.com/Azure/azure-sdk-for-js/issues/10498#issuecomment-678236271
Then let this issue roll and we'll automatically close it. We'll be cleaning this up through this issue: https://github.com/Azure/azure-sdk-for-js/issues/10726
Thank you for helping us make the SDKs better!


Added Hero-Section component template by vijayapranesh

Hero-Section component has been added successfully

https://hero-section-grappl-tech.vercel.app/


How to deploy api server as https

My app is opend as https, and can not request api by http. Any solutions besides modify api_server.py. thanks for help.

你是怎么解决的 我也遇到了同样的问题


Support centralized versions TOML added in gradle 7.0

as a stop gap until https://github.com/dependabot/dependabot-core/issues/1164 is done, it would be great to support the new gradle/libs.version.toml file supported in Gradle 7.0
See
https://docs.gradle.org/nightly/userguide/platforms.html#sub:conventional-dependencies-toml
Full support thru Gradle Tooling API is the full solution and this would just be a bandaid until that is supported

is that maybe a duplicate of https://github.com/dependabot/dependabot-core/issues/3121? 🤔

@asciimike could this be closed as duplicate?

Closing as a dupe of #3121, per above


Amx Request

Sir since am unable to compile please I need the amx file thats the only thing holding me back please sir it shows that most things are not defined when I tried to compile
Please sir just the amx that's all am asking for

Have you even tried looking at the zips in the releases?
https://github.com/WoutProvost/FCNPC-AI/releases

Sir I went through it and saw some pwn files (2) inc file(1) and extra pwn in scr
Please just need the amx of the main file
I already read all the instructions and am going to try compiling again


Question about Docs

Sorry, I know this isn't the repo but after looking around I can't find which one would be the most appropriate one to raise this question to.  I've been looking around at the components you guys are building and they are really well done and would love to understand more how you guys are building your docs on https://auro.alaskaair.com/. So I'm curious if you guys have a repo that is generating your docs? If so could I ask what are you using to build out your docs? I do see that each component is generating some of the docs but I don't see where that overarching documentation lives. I appreciate the time taken to answer these if its at all possible. Thank you!

@chadwtkns thanks for reaching out.
The repo for the Auro doc site is an internal repo, so I can't share that with you. But I can share how it works.
Simply put, it's a React site that, for the most part, renders markdown docs to HTML views. This is not unlike what we do with individual repos per element.
https://github.com/AlaskaAirlines/WC-Generator/blob/3bdb2c90292d7353e9dfa0aae4d5bf660a487aa8/template/demo/index.html#L32-L41
This may not be the most performant thing, but it requires the least amount of maintenance. All the elements in the doc site are brought in via the pre-bundled versions we provide from a CDN with @latest as its version, and the individual markdown docs are all pulled from their repo. This allows us to simply release an update to anything and the doc site will be automatically updated.
Additionally, we draw a log on Github's GraphQL data. Again, not awesome for performance, but for maintaining docs, this is a lifesaver.
Hope that helps.

Great. Thank you for sharing


Get APY and 7 Day Volume from Redis

As Kallisto user who comes to the Kallisto frontend, I want to see accurate APY and 7 Day volume
Acceptance Criteria

[ ] retrieve 7 Day volume from Redis and show on Kallisto UI landing page
[ ] retrive APY from Redis and show on Kallisto UI landing page

blocked by: https://github.com/palomachain/paloma/issues/235


Alignment explanation

Hi there,
Can I get some clarification on Alignment.json. I need clarification specifically on the IRI part. For example, for the below Alignment:
<EMAIL_ADDRESS>{"https://example.org/activity/a": 0.5,
"https://example.org/activity/c": -0.2}
}
What "https://example.org/activity/a" means ? Is it supposed to be always written in this format or it depends on the profile? And what do /a, /c mean?
I understand that the weight defines the propensity but I don't understand how the IRI defines a part of profile(because I don't see how the IRI relates to elements in the profile)
Thanks!

Hi Sagar,
The alignments are used to weight the simulation towards or against a component of the xAPI Profile for a given Actor. The provided example is for a Profile that doesn't exist, so it's not intended to represent a real use case (perhaps we should redo that section of the docs to be clearer), but the format is as follows:
{
  "WAY TO IDENTIFY A USER": {
    "ID FROM THE PROFILE(S)" : 0.5,
    "ANOTHER ID FROM THE PROFILE(S)" : -0.2}
}

The IRI/ID is the unique ID of the specific part of the Profile you want to have an impact on. Usually this is going to be the ID of a Pattern, Activity, or StatementTemplate in the Profile itself.
So let's say you wanted to weight me against or for some CMI5 patterns, for example. You might use:
{
<EMAIL_ADDRESS>: {
    "https://w3id.org/xapi/cmi5#completedandpassed": -0.75,
    "https://w3id.org/xapi/cmi5#completedandmaybefailed": 0.75
  }
}

Now you will have made me much more likely to fail in a simulation using that Profile. Let me know if that makes sense.
Thanks,
-Cliff

Thanks again, Cliff. This is very helpful.
Just a couple of more queries.
Can IRI/ID be the ID of a Verb(i.e anything other than Pattern, Activity or StatementTemplate) ?
Also, on another note, I've seen that the simulation generates statements even if you provide incorrect Alignment data(or even if it's absent). All that it needs is the profile to be immaculate.

Hi Sagar,
You are correct that you can put just about anything into the ID keys of a (valid) alignments json structure and it will still generate. On intake/validation it does not validate that the alignments "will have an effect" if that makes sense, so they may be dead references and it will still run, it will just ignore them.
One test I do for if my alignment had an impact is that since the simulation is deterministic it will always run the same way with the same inputs - and that extends to when you add bad alignment references which do NOT impact the generated data. Try generating an output set with and without your proposed alignments and then check if the generated data is identical with a hash or something. If the hash changes, you know you are doing something to the sim with your alignment. If not, your alignment is having no effect.
In regard to verbs, at this time DATASIM does not take verb alignment into account (this should be in docs, thanks for pointing it out!). The way we considered its usage was that since a statement template is 1-1 with a verb, you can have that level of granularity in influencing the generated data through template alignments. Is there a use case you are working on that requires verb alignment that won't be satisfied by statement template alignment? It would be helpful to know as something we can consider for future dev.
Thanks,
-Cliff

No, as of now I don't have any use case that would require verb alignment. Just wanted to know what is the scope of a valid Alignment json.
Thanks for the clarification Cliff, I now have a better understanding of this.


Fix inverted coords on iris interface

The iris interface does not correctly canonicalize the array orientation in all cases, causing the plot to be inverted. Since the tests still seem to be passing there appears to be a hole in the tests that I'll patch before this is ready to merge.

Tests passed. Merging.


feat: get value attribute when default value is an enum

In migration, you can add a default enum case, without adding the value attribute (->value)

Personally not a fan of defaults in the database (other than perhaps null). You can define an $attributes property on the model that can accept the enum case directly


Show if tx ouput is spent or unspent

Should address #110. Mostly works but it shows spent as true for all unconfirmed tx ouputs and changing the mempool value of GetTxOut does nothing. @gozart you probably have a better idea on how to display this.

Shows false for all outputs for a tx in the mempool


Provide rule name in the commit message

Actual: 1 trailing blank lines detected.
Expected: 1 trailing blank lines detected. (Style/TrailingBlankLines)
This helps a lot in these situations:

Developer can quickly disable the rule if they don't like it. It's extremely frustrating to tune HoundCI config without knowing Rubocop. This would let developers tune HoundCI output without having to dig into Rubocop. https://twitter.com/nwkr/status/663556461855834112
Developer can use Rubocop auto-correct feature to fix it bundle exec rubocop --only Style/TrailingBlankLines -a -c .hound.ruby.yml path/to/file. (I wouldn't dare to fix all violations across all files in the repo!)

This feature is configurable via the Rubocop config file. Since Hound does not munge the violation messages from Rubocop, you can get this right now by including this in the config file that Hound is using:
AllCops:
  DisplayCopNames: true

Thanks @thorncp!


performance speed up

Can anyone tell me how infenrence speed up compare with Detectron on GTX 1080Ti?

I don't have a GTX 1080Ti, but on 8 V100, the performances can be found in https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/MODEL_ZOO.md
A user in https://twitter.com/thekaranchawla/status/1055581631656783873 mentioned that he obtained up to 13fps with a 1080Ti for the demo, if I understand it correctly.

thank you, you can close it


Checks are not updated by sensu

Hello,
I have two different issues with my setup:
First, if I try to modify any sensu checks with ansible, the checks are not updated and still show the old info. For example, I've modified the threshold for some checks but I still see them in uchiwa showing with the old config.
I've tried to restart all components (server,api,redis) but i still have the same issue. How is sensu reading the checks.json file that's generated by ansible?
When I add new checks, they are not automatically added to the Uchiwa interface. I have to restart at least the redis database or even uchiwa. When I do restart them they appear in the checks tab in uchiwa but not on machines and I have to schedule them manually

The JSON files should get generated into /etc/sensu/conf.d/, which the various client/server/api services should pick up automatically. I would trying temporarily running the server in the foreground to make sure it's reading all the check files correctly. The only other thing I can think of is if you're using standalone checks, the server may not be aware of the checks until the client either sends a result or it's requested manually.

Hey @dancb10,
Sorry for the delay here! Are you still facing this issue?


[Feature proposal] Don't send mail in double

Hi,
If a user watch/is assigned to/has created an issue and someone mentioned him/her in a comment, that user will receive two mail :

One from redmine core
One from this plugin

Could be possible to check that and avoid sending the second mail ?
Thanks for the amazing plugin

Very similar to #28


Code provided to initially add search filter box to index.cs page has error.

[Enter feedback here]
The code snippet provided to add the form containing the searchString filter box has an error (8th code snippet box).
The code provided to add is:

        Title:

However, name="SearchString" should actually be asp-for="SearchString" so the MovieGenreViewModel is accessed.
It is shown incorrectly in one more code snippet before being corrected in the "Add search by genre to the Index view" section to:
Title:
But if someone, like me, only adds/updates the green highlighted code in their own code, they miss the corrected line of code for the SearchString reference. Then it takes a while to figure out why the searchString isn't retained in the search filter box (which, by the way, was supposed to work before the corrected code appears - "When the user searches for the item, the search value is retained in the search box." - line right before the code snippet with the corrected code.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f9b9859c-b83c-5fc3-41d5-15531232185f
Version Independent ID: 5438de31-8562-3747-d1a5-2a4622252fc1
Content: Part 7, add search to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/search.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

We'll fix this in the .NET 7 push


Fixed Issue #454

Enhanced game card styles
Removed an eslint error from data.json
Before:

After:

Why have you removed the opacity. The content is getting little blurred on hover effect. Resolve it...

@raj03kumar Apologies for earlier. The blur effect was due to the backdrop filter property. I have fixed the issue. Please have a look.


IntervalSource.period=None is definitely not supported

This hopefully prevents two common(?) API misuses. Or at least makes them easier to debug.
Should the error message include a RT*M-statement?
Fixes #92 for good.

Well... sphinx-autodoc-typehints seems to be throwing a fit. The new version is faulty.
I'll just pin it.


Revert "Add DigitalOcean to cloud provider documentation."

Reverts kubernetes/website#21206
#21206 contains third party content that doesn't meet community guidelines.
cc @MorrisLaw

/assign @onlydole
Wrangle on, wrangler! 🤠

Consider this wrangled!
/lgtm
/approve

Hi @zacharysarah, what in particular did not meet community guidelines? So that I can make a correct PR.


Initial implementation of element providers

This should eventually be much cleaner than the hodgepodge of subclasses and hooks we have now.
Obsoletes #1 because between this and the need to move away from relying on UIA so much, AtSpi.Uia might as well be rewritten at this point, and there's little reason to make substantial changes to it.

This looks good to me. :)


refactor 2 occurences of loadKNNModel to load_model_knn

When I try to run the speaker diarization example from the wiki
python audioAnalysis.py speakerDiarization -i data/diarizationExample.wav --num 4

I am getting the following error
Traceback (most recent call last):
  File "audioAnalysis.py", line 619, in <module>
    speakerDiarizationWrapper(args.input, args.num, args.flsd)
  File "audioAnalysis.py", line 230, in speakerDiarizationWrapper
    aS.speakerDiarization(inputFile, numSpeakers, LDAdim=0, PLOT=True)
  File "[...]/pyAudioAnalysis/audioSegmentation.py", line 701, in speakerDiarization
    [Classifier1, MEAN1, STD1, classNames1, mtWin1, mtStep1, stWin1, stStep1, computeBEAT1] = aT.loadKNNModel(os.path.join(os.path.dirname(os.path.realpath(__file__)), "data", "knnSpeakerAll"))
AttributeError: module 'pyAudioAnalysis.audioTrainTest' has no attribute 'loadKNNModel'

Apparently, aT.loadKNNModel was refactored to aT.load_model_knn in commit c9f688c, but two occurences in audioSegmentation.py were missed. After changing the code accordingly, the wiki example works like a charm.

thanx!


Update privacy objectives

This PR resolves issue https://github.com/corona-warn-app/cwa-website/issues/2559 "Outdated personal data statement" where the statement in https://www.coronawarn.app/en/ said that only personal data for the two objectives of personal risk and test results are processed, leaving out many later additions to the functionality of the Corona-Warn-App.
The statement is now extended to refer to the Privacy notice document, which lists other personal data processed. The Privacy notice document is reviewed and changed if necessary with each app release, so ensuring that the statement remains valid despite any further additions to personal data processing.

EN
DE

Note: The source code to format the English and German sections differs. I used the existing formatting method for each language and simply added a third list item. The English section uses
 for item separation whereas the German section uses

. If there is a desire to harmonize the formatting, please let me know which method is preferred and I will change one of the languages.

@MikeMcC399 Thanks, stand by to get final approvement for the change. We will also check the formatting.

Before approving the changes, I'm going to "sharpen" the third list item as it leaves too much space for misreading and interpretation - "other purposes" may encourage forming speculative theories of data collection and data misuse.
The idea to refer the "privacy notice" ist great, much appreciated.

@GisoSchroederSAP

Before approving the changes, I'm going to "sharpen" the third list item as it leaves too much space for misreading and interpretation - "other purposes" may encourage forming speculative theories of data collection and data misuse.
The idea to refer the "privacy notice" ist great, much appreciated.

This section is about "Objectives" however the Privacy notice does not explicitly list objectives. The nearest relevant section is "5. What data is processed?".
An alternative way to link to the Privacy notice would be to avoid mentioning the term "objectives" in item 3. and write something like:
"3. Please refer to Section '5. What data is processed?' of the Privacy notice for further information"
This leaves no room for thinking there are other objectives.

This is the proposal sent to RKI and the attorneys for the project. We are awaiting response (hopefully) soon.
EN

For compliance with the legal obligations as well as for the implementation of the app functions requested by the client, certainly in accordance with the requirements of DSGVO/ EU GDPR, which are already documented in the privacy policy (reference to the document here).

DE

zur Erfüllung der rechtlichen Pflichten sowie zur Umsetzung der  vom Auftraggeber beauftragten Funktionen der App, natürlich unter Berücksichtigung der Vorgaben der DSGVO/ EU GDPR, die bereits in der Datenschutzerklärung (mit Link auf dieses Dokument) dokumentiert sind.

@GisoSchroederSAP

I will close this PR now since it has become a legal matter. It would be better for the Open Source Team to open a new PR and look after the text there. I'm not sure if you can refer to the "client" in this context, since the "client" would be RKI and RKI is already the publisher of the website making the statement.

I will leave the issue https://github.com/corona-warn-app/cwa-website/issues/2559 open since the issue description is still valid.


[Angular Component] Modal doesn't run fade out animation when user clicks close button

[x ] bug
[ ] feature request
[ ] enhancement
Expected behavior
Modal disappear with a fade out animation when user clicks close button using Angular components.
Actual behavior
Suddenly disappear after user clicks close button.
Reproduction of behavior
Is possible to see the behavior on the examples page of the documentation (Angular Components section):
https://vmware.github.io/clarity/documentation/modals#examples
Environment details

Angular version: 4.2.5

Clarity version:
clarity-angular: 0.10.0-alpha.3,
clarity-icons: 0.10.0-alpha.3,
clarity-ui: 0.10.0-alpha.3

OS and version: Elementary OS 0.4.1 Loki (Ubuntu 16.04.2 LTS) 64bits

Browser: Chrome 59.0.3071.115

It looks like Angular issue has been fixed in version 5.0.0-rc.3. Could you please support this fix on your side?

I believe we haven't revisited this on our side since the fix. Putting on backlog to take a look again.

I've verified this is still an issue.

This issue persists, as the fix in Angular does not appear to have addressed the root cause. While this is a UX annoyance, it doesn't have a major impact on the user. We're actively working on this with Clarity Core animations, so that will be the future recommendation.
In an effort to clean up our backlog and focus our attention, I’m going to close this as likely to be resolved by upcoming implementations in Clarity Core. Please follow our development and releases to see when we release relevant components to make this possible.

This issue persists, as the fix in Angular does not appear to have addressed the root cause. While this is a UX annoyance, it doesn't have a major impact on the user. We're actively working on this with Clarity Core animations, so that will be the future recommendation.
In an effort to clean up our backlog and focus our attention, I’m going to close this as likely to be resolved by upcoming implementations in Clarity Core. Please follow our development and releases to see when we release relevant components to make this possible.


Stop returns 0 when docker service was not running

In case when docker was not running init script stop was returning value <> 0.
Due to this fact it was impossible to uninstall the docker-engine if the docker service was stopped.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:micro-jumbo/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


[WIP] Add requester info to raise_retirement_event

It's the g-branch start to the horror that got merged earlier today for https://bugzilla.redhat.com/show_bug.cgi?id=1618530

@miq-bot add_label bug, blocker

@miq-bot assign @gmcculloug

@d-m-u fyi, PRs to release branches should be assigned to @simaishi.  I have no power here.  😉

but MOOOOARRRR EMAILS
sorry. yes.

This is looking good - the test failures make sense.
Are you still working on this?
Or did this PR in master make this PR irrelevant?

Still working on this.

@miq-bot assign @gmcculloug
@miq-bot add_reviewer @tinaafitz
@miq-bot add_reviewer @bdunne
@miq-bot add_reviewer @kbrock
sorry about this, people, i swear we're almost done retiring.

@miq-bot remove_label wip

@miq-bot assign @simaishi
whooops sorry

@tinaafitz could you please take a look at this? i have fruit snacks...

@kbrock, any chance I could get you to re-review please?

@bdunne sorry but could I please get you to take another look at this, as well?

"I feel as if we should make those changes to master and only tweak the backport if there are actual bugs." I feel this way too, so anyone who's tagged on this who'd like to approve it, I'd be pretty grateful, cause I'd like to be able to close this bug sometime this century.

@mkanoor Please review.


Check for valid local source archive

In addition to checking if the current machine is listed as a hoster, this checks if the local filesystem contains a valid source archive. This prevents a situation where the fetch is skipped because a previously running machine with the same IP was once a hoster for the archive.

https://ocd.appscale.com:8080/job/Daily Build/5714/

demo looks good.


Code generation for intent definition file cannot be disabled

When generating a project with an intent definition file (used for customizing widgets) included in multiple targets, there is no option to disable code generation. This create a duplicated symbol issue when compiling the project.
From https://developer.apple.com/documentation/widgetkit/making-a-configurable-widget:
Xcode generates code from the intent definition file. To use this code in a target:
- Include the intent definition file as a member of the target.
- Indicate the specific intents to include in the target by adding the intents’ class names to the Supported Intents section of the target’s properties.

If you include the intent definition file in a framework, you must also include it in the containing app’s target. In that case, to avoid duplicating types in the app and the framework, select No Generated Classes for the app target in the Target Membership section of the File inspector.

I tried using the attributes field for sources but it didn't work. Output should be settings = {ATTRIBUTES = (no_codegen, ) in the Xcode Project file for files with No Generated Classes selected.
Version: 2.26.0

@yonaskolb Can I submit a PR to implement support for this feature?

Hi @mathieualvado. You should be able to set this with attributes, either for an individual target source path or globally across all file types, though I haven't tested this.
target source:
targets:
  MyTarget:
    sources:
        - path: somePath
          attributes: [no_codegen]

filetype:
options:
  fileTypes:
    intentdefinition: # or whatever the file extension is
      attributes: [no_codegen]

Let me know if that works, I just typed them by hand

Hi @yonaskolb,
For this specific attribute, we can't use options because it would apply to all the targets within the project and we want one of them to generate a class for the .intentdefinition file.
I tried the first approach but it currently doesn't work. My understanding is that in this case PBXProjGenerator uses getEmbedSettings and ignores custom attributes like no_codegen.

Thank @yonaskolb! I was able to make it work by adding square brackets around no_codegen. I missed them in the documentation and didn't realize they were necessary.


bump version to v<IP_ADDRESS>, post BIP9 soft-forks

Wait to merge until CSV/segwit is activated.

Probably a release with such minor changes would not really be worth it.
We should directly release 0.16.4 with GMP port, improved PoW and difficulty adjustment. I am merging <IP_ADDRESS> and 0.16.4 milestones.
And then catch up with 0.18+.

Closing this as we can bump version for next release.


Fix DPNP/DPCTL F-contiguous data processing

More correct processing of F-contiguous data was added into _device_offload.py.

/intelci: run


Bugfix: the input and output stream are not closed.  It will cause me…

There are several bugs in existing code :  #1.  Inputstream and Outputstream are not closed   #2.  We should not use properties.save().  According to JDK API doc,   the method is deprecated.
The method does not throw an IOException if an I/O error occurs while saving the property list. The preferred way to save a properties list is via the store(OutputStream out, String comments) method or the storeToXML(OutputStream os, String comment) method.

I will merge your change proposal in the PR.

@Jiajia-Wen thanks for the catch !


exception "Undefined index" for all sortable fields

Hi there.
After fixes in 33420f1adf2a3e8eb4658ee0722d43dd87c4b4ae i have an exception
"Undefined index: created_at" at vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/CollectionEngine.php line 98

for each sortable field (not only created_at)
When I manually change from return with((array) $row)[$column]; back to return $row[$column]; in https://github.com/yajra/laravel-datatables/blob/master/src/yajra/Datatables/Engines/CollectionEngine.php#L98 all works fine.

What version of Laravel please? I encountered this issue yesterday on Laravel 5.1 and that patch fixed it for me. Thanks for reporting.

There is part of my composer.json
"require": {
    "illuminate/support": "5.1.*",
    "yajra/laravel-datatables-oracle": "~5.0"
  },

And this exception appears only if Collection items is Eloquent Model. If Collection items is Array all works fine.

@andycaramba, thanks for reporting. My bad for not being able to test collection engine. Was working with eloquent when I pushed the patch. Should be fixed on v5.5.10. Thanks!

Now all works fine. Thank you for such an incredibly fast fix )


Textfield scrolls back into view after covered by keyboard expecting a value greather than 65

integration_ui_ios_textfield is failing occasionally the textfield scrolls back into view after covered by keyboard expecting a value greather than 65.
Logs:
https://ci.chromium.org/p/flutter/builders/prod/Mac_staging integration_ui_ios_textfield/381
If this validation is affected by the number of CPUs and memory available in the hosts we may need to adjust it as the new machines have double the specs as the previous devicelab ones.
[integration_ui_ios_textfield] [STDOUT] stdout: [        ] Application launched on the device. Waiting for observatory port.
[integration_ui_ios_textfield] [STDOUT] stdout: [ +833 ms] Observatory URL on device: http://<IP_ADDRESS>:55647/
[integration_ui_ios_textfield] [STDOUT] stdout: [   +6 ms] Attempting to forward device port 55647 to host port 49642
[integration_ui_ios_textfield] [STDOUT] stdout: [        ] executing: /opt/s/w/ir/k/recipe_cleanup/tmpAWwPpI/flutter sdk/bin/cache/artifacts/usbmuxd/iproxy 49642:55647 --udid 4e131215b69d6679703d698c2418e1e3ddcdf8c6
[integration_ui_ios_textfield] [STDOUT] stdout: [+1118 ms] Forwarded port ForwardedPort HOST:49642 to DEVICE:55647
[integration_ui_ios_textfield] [STDOUT] stdout: [        ] Forwarded host port 49642 to device port 55647 for Observatory
[integration_ui_ios_textfield] [STDOUT] stdout: [   +2 ms] Installing and launching... (completed in 12.5s)
[integration_ui_ios_textfield] [STDOUT] stdout: [   +4 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:49642/.
[integration_ui_ios_textfield] [STDOUT] stdout: [ +258 ms] DDS is listening at http://<IP_ADDRESS>:49644/xQOirUl5-Hs=/.
[integration_ui_ios_textfield] [STDOUT] stdout: [  +90 ms] executing: /opt/s/w/ir/k/recipe_cleanup/tmpAWwPpI/flutter sdk/bin/cache/dart-sdk/bin/dart /opt/s/w/ir/k/recipe_cleanup/tmpAWwPpI/flutter sdk/dev/integration_tests/ui/test_driver/keyboard_textfield_test.dart -rexpanded
[integration_ui_ios_textfield] [STDOUT] stdout: [+1843 ms] 00:00 +0: end-to-end test (setUpAll)
[integration_ui_ios_textfield] [STDOUT] stderr: [  +29 ms] VMServiceFlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:49644/xQOirUl5-Hs=/
[integration_ui_ios_textfield] [STDOUT] stderr: [ +145 ms] VMServiceFlutterDriver: Isolate found with number:<PHONE_NUMBER>802283
[integration_ui_ios_textfield] [STDOUT] stderr: [  +41 ms] VMServiceFlutterDriver: Isolate is paused at start.
[integration_ui_ios_textfield] [STDOUT] stderr: [        ] VMServiceFlutterDriver: Attempting to resume isolate
[integration_ui_ios_textfield] [STDOUT] stdout: [ +230 ms] fopen failed for data file: errno = 2 (No such file or directory)
[integration_ui_ios_textfield] [STDOUT] stdout: [        ] Errors found! Invalidating cache...
[integration_ui_ios_textfield] [STDOUT] stdout: [ +108 ms] fopen failed for data file: errno = 2 (No such file or directory)
[integration_ui_ios_textfield] [STDOUT] stdout: [        ] Errors found! Invalidating cache...
[integration_ui_ios_textfield] [STDOUT] stderr: [ +875 ms] VMServiceFlutterDriver: Connected to Flutter application.
[integration_ui_ios_textfield] [STDOUT] stdout: [   +4 ms] 00:01 +0: end-to-end test Textfield scrolls back into view after covered by keyboard
[integration_ui_ios_textfield] [STDOUT] stdout: [+4622 ms] 00:06 +0 -1: end-to-end test Textfield scrolls back into view after covered by keyboard [E]
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   Expected: a value greater than <65.0>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]     Actual: <65.0>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]      Which: is not a value greater than <65.0>
[integration_ui_ios_textfield] [STDOUT] stdout: [  +22 ms]   package:test_api/src/frontend/expect.dart 155:31               fail
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/frontend/expect.dart 150:3                _expect
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/frontend/expect.dart 59:3                 expect
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   test_driver/keyboard_textfield_test.dart 49:7                  main.<fn>.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   ===== asynchronous gap ===========================
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1294:19                                   _CustomZone.registerBinaryCallback
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async-patch/async_patch.dart 61:8                         _asyncErrorWrapperHelper
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart                      Invoker.waitForOutstandingCallbacks.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1354:13                                   _rootRun
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1258:19                                   _CustomZone.run
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1789:10                                   _runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1711:10                                   runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 228:5                Invoker.waitForOutstandingCallbacks
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 383:17               Invoker._onRun.<fn>.<fn>.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   ===== asynchronous gap ===========================
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1286:19                                   _CustomZone.registerUnaryCallback
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async-patch/async_patch.dart 45:22                        _asyncThenWrapperHelper
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart                      Invoker._onRun.<fn>.<fn>.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1354:13                                   _rootRun
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1258:19                                   _CustomZone.run
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1789:10                                   _runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1711:10                                   runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 370:9                Invoker._onRun.<fn>.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 415:15               Invoker._guardIfGuarded
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 369:7                Invoker._onRun.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:stack_trace/src/chain.dart 94:24                       Chain.capture.<fn>
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1354:13                                   _rootRun
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1258:19                                   _CustomZone.run
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1789:10                                   _runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   dart:async/zone.dart 1711:10                                   runZoned
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:stack_trace/src/chain.dart 92:12                       Chain.capture
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 368:11               Invoker._onRun
[integration_ui_ios_textfield] [STDOUT] stdout: [        ]   package:test_api/src/backend/live_test_controller.dart 153:11  LiveTestController.run

\cc @jmagman @jonahwilliams

Those logs show a iPhone 6s.  I wasn't able to reproduce in portrait or landscape on my own iPhone 6s.

Failing expectation is https://github.com/flutter/flutter/blob/e605b7c2250e803f46017b1d544fc8c297007546/dev/integration_tests/ui/test_driver/keyboard_textfield_test.dart#L49

@jmagman Do you happen to remember what this looks like on device when the test fails? Is the textfield in question actually still covered by the keyboard or does it scroll up to not be covered by the keyboard? I am wondering whether the scroll doesn't work at all or we are just looking at the scrollable too early before the scroll actually finished executing...

I am also unable to repro this failure locally. Furthermore, in the history of this test on LUCI I can only find one instance in which it failed in this way...

Sounds like we should close this as an unexplained fluke flake that we don't believe is causing ongoing issues?


⚠ Bofrost.es has degraded performance

In 6983186, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1656 ms

Resolved: Bofrost.es performance has improved in 77861f4 after 13 minutes.


Better opencomputers documentation

For example please explain the difference between these similar functions:
getCurrentProcessTime(), getFissionFuelTime(), getReactorProcessTime()
after a little while i figured them out but people shouldn't need to go though trail and error to understand methods.

Will at some point - just a bit busy at the mo :)

Pre-overhaul OC method documentation is now in better shape :)


Adding Custom Referer Request Header for Chrome and Firefox using SeleniumBasic

Hi! Dear Florentbr!
I just want to override or add referer request header. I searched a-lot for how to set custom referer with Firefox driver but I could not find any solution. However, for Phantomjs the working solution is as under.
driver.SetCapability "phantomjs.page.customHeaders.Referer", "$referer"
Please can we set custom referer request header for firfox, chrome or Internet Explorer web drivers using SeleniumBasic 2.0.6.
Thanks.

You'll have to consider using an extension for that mater:
https://addons.mozilla.org/en-GB/firefox/search/?q=referer+request
To use an extension:
Dim driver As New FirefoxDriver
driver.AddExtension "c:\my-extension.xpi"
driver.SetPreference "my-extension.option", "whatever"
driver.Get "http://..."

and what for Chrome please to override referer? Does this also needs to add extension in chrome please.
Also, how to apply chrome capabilities? or firefox capabilities in seleniumbasic please.

furthermore, can we detect browser name from Selenium WebDriver object? I mean through get browser name from capabilities? I did not find any driver.Capabilities object?

and what for Chrome please to override referer? Does this also needs to add extension in chrome please.

Yes

Also, how to apply chrome capabilities?

With the SetCapability method:
Dim driver As New ChromeDriver
driver.AddExtension "c:\my-extension.crx"
driver.SetCapability "key", value
driver.SetPreference "key", value
driver.Get "http://www..."

furthermore, can we detect browser name from Selenium WebDriver object?

Yes:
Dim driver As New ChromeDriver
driver.Get "about:blank"
Debug.Print driver.Manage.Capabilities("browserName")

Please your issue #19 is not enough descriptive about adding chrome extension.

I invite you to have a look in Examples.xlsm for a concrete example.

First of All Thank you very much florentbr for replying. I checked Examples.xlsm. New examples have been added. It seems that all problems which we asked have been solved with examples in Examples.xlsm. Amazon Test Suite was also very helpful especially when you used WaitNotElement for us knowing best aproach to know how an element disappears.
I know that the question I am going to ask is not related to selenium issues but I have a question about some preferences.
In firefox about:config has a list of all available options/settings/capabilites which we can set using selenium using the same name which shows in firefox. Firefox extensions use settings which shows in about:config.
In chrome there is no alternative of about:config however, it has some other settings pages like chrome:about chrome:flags etc. but which does not show the actual capabilites of the extensions to set.
For example, I used RefControl Firefox Extension to override referer. RefControl has uses refcontrol.actions capability to be set like @DEFAULT=http://customreferer. I was able to set RefControl default custom referer. the following command works fine in firefox.
driver.SetCapability "refcontrol.actions", "@DEFAULT=http://customreferer"
But in chrome, when I used Extension Referer Control. I was unable to know which capability does it use and I need to set through selenium to apply override referer. The question is how can we know the exactly capability name to set for a specific chrome extension however, in firefox we can watch change in about:config.
Thanks alot for solving problems, I will be more thankful if I have reply.

The settings from a Chrome extension are stored in the local storage.
You can easily manage them with the Developper Tools in Chrome:
Developper Tools > Resources > Local Storage > chrome-extension://...
Unlike with Firefox it not possible to preset these settings with the SetCapability or SetPreference.
However, you can update them with a javascript call:
Dim driver As New ChromeDriver
driver.AddExtension "C:\Referer-Control_v1.16.crx"
driver.Get "chrome-extension://hnkcfpcejkafcihlgbojoidoihckciin/chrome/content/background.html"
driver.ExecuteScript "localStorage.setItem('key', 'value');"


doc: Added make doc alternative to nproc on MacOS

Just a small addition to include sysctl -n hw.physicalcpu as the alternative to nproc on MacOS.

Duplicate of #4647


arch/risc-v/include/elf.f: Support coredump for rv32 and rv64 targets.

Summary
Adds the missing elf_gregset_t type definition so pr_regs field can be resolved. Coredumps can be produced for both 32 and 64 bit targets.
Impact
Can produce coredumps for postmortem or runtime analysis.
Testing
rv-virt:nsh and rv-virt:nsh64 with:
CONFIG_BOARD_COREDUMP_SYSLOG=y
CONFIG_ELF_COREDUMP=y
CONFIG_SYSTEM_COREDUMP=y

And our custom Litex based target which also uses CONFIG_BUILD_KERNEL. Although system coredump is not available in user context.
Using the same procedure outlined in: https://nuttx.incubator.apache.org/docs/latest/guides/coredump.html
Example gdb session:
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nuttx/nuttx...

warning: core file may not match specified executable file.
[New process 2]
[New LWP 1]
[New LWP 2]
Core was generated by `'.
#0  0x80006c54 in up_idle () at common/riscv_idle.c:75
75      }
[Current thread is 1 (process 2)]
(gdb) info threads
  Id   Target Id         Frame
* 1    process 2         0x80006c54 in up_idle () at common/riscv_idle.c:75
  2    LWP 1             sys_call2 (nbr=2, parm2=2147708528, parm1=2147704744) at /workspaces/nuttx-clean/nuttx/include/arch/syscall.h:227
  3    LWP 2             elf_emit_tcb_note (cinfo=0x80037954, tcb=0x80036e70) at libelf/libelf_coredump.c:283
(gdb) thread 3
[Switching to thread 3 (LWP 2)]
#0  elf_emit_tcb_note (cinfo=0x80037954, tcb=0x80036e70) at libelf/libelf_coredump.c:283
283       if (regs != NULL)
(gdb) info reg
ra             0x80011cba       0x80011cba <elf_emit_tcb_note+278>
sp             0x80037760       0x80037760
gp             0x0      0x0
tp             0x0      0x0
t0             0x8003fee9       -2147221783
t1             0x1b     27
t2             0x2000   8192
fp             0x80037954       0x80037954
s1             0x80034000       -2147270656
a0             0x80034380       -2147269760
a1             0x80037778       -2147256456
a2             0x20     32
a3             0xde     222
a4             0x0      0
a5             0x80036e70       -2147258768
a6             0x80040074       -2147221388
a7             0x8003feeb       -2147221781
s2             0x80036f10       -2147258608
s3             0x2088   8328
s4             0x80035000       -2147266560
s5             0x80035000       -2147266560
s6             0xc      12
s7             0x70     112
s8             0x0      0
s9             0x0      0
s10            0x0      0
s11            0x0      0
t3             0x0      0
t4             0x80040074       -2147221388
t5             0x2a0000 2752512
t6             0x8003faec       -2147222804
pc             0x80011cba       0x80011cba <elf_emit_tcb_note+278>
(gdb) bt
#0  elf_emit_tcb_note (cinfo=0x80037954, tcb=0x80036e70) at libelf/libelf_coredump.c:283
#1  0x80012034 in elf_emit_stack (cinfo=0x80037954) at libelf/libelf_coredump.c:402
#2  elf_coredump (cinfo=cinfo@entry=0x80037954) at libelf/libelf_coredump.c:623
#3  0x80011150 in elf_dumpbinary (regions=<optimized out>, stream=<optimized out>, pid=<optimized out>) at elf.c:379
#4  0x800110c0 in core_dump (regions=regions@entry=0x0, stream=stream@entry=0x80037ad4, pid=pid@entry=-1) at binfmt_coredump.c:59
#5  0x80016e92 in coredump_now (filename=<optimized out>, pid=-1) at coredump.c:317
#6  coredump_main (argc=argc@entry=2, argv=argv@entry=0x80037240) at coredump.c:419
#7  0x8000455c in nxtask_startup (entrypt=0x80016d26 <coredump_main>, argc=2, argv=0x80037240) at sched/task_startup.c:70
#8  0x800016ee in nxtask_start () at task/task_start.c:112
#9  0x00000000 in ?? ()
Backtrace stopped: frame did not save the PC

I'm not sure on the wider implications of the change in g_reg_offs. On inspection it looks fine, and the three targets i've tested work.

Coredumps with CONFIG_BUILD_KERNEL work, but only contain the stack of the current context. So if a coredump is triggered during a syscall, the userspace stack is not preserved.
It would be useful to also have this context saved, as it can be used to unwind the user stack as well.


log directory not created in recipes/default.rb

recipes/mongos.rb has these lines:
# Create the log directory
directory File.dirname(node['mongodb3']['config']['mongos']['systemLog']['path']).to_s do
  owner node['mongodb3']['user']
  action :create
  recursive true
end

recipes/default.rb does not and if the directory does not exist, the service won't start.

Hi,
mongo package creates default log directory. so, I wasn't assuming using different directory.
please have some wrapper for directory creation. I'll consider adding functionality as well.
Thank you.

Thank you. For now, I fell back to the default location. I think, the logs can become very large and in other cases it might be better for the logs to reside on a different location than the db data in terms of performance.

@tuky
Thank you. I would recommend to have some mount point for log directory. meanwhile,  providing functionality is on the way.

This feature breaks syslog log configuration since you cannot use ['systemLog']['path'] with ['systemLog']['destination'] = 'syslog'.


RYA-316 Long OBJ string

Description

What Changed?

Hash the indexed object field with SHA256.
This will allow the indexer not to break
if the object is longer than 1024 bytes.
Tests

Coverage?

Updated the tests with the new fields
Links
Jira
Checklist

[ ] Code Review
[ ] Squash Commits

People To Reivew
@meiercaleb
@amihalik
@pujav65

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/361/

@isper3at Since this was so straightforward, can you go ahead and hash the S and O as well?

sure, shouldn't be an issue

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/369/Failed Tests: 1incubator-rya-master-with-optionals-pull-requests/org.apache.rya:mongodb.rya: 1org.apache.rya.mongodb.SimpleMongoDBStorageStrategyTest.testSerializeStatementToDBO

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/368/Failed Tests: 2incubator-rya-master-with-optionals-pull-requests/org.apache.rya:mongodb.rya: 1org.apache.rya.mongodb.SimpleMongoDBStorageStrategyTest.testSerializeStatementToDBOincubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.indexing: 1org.apache.rya.indexing.mongo.MongoTemporalIndexerTest.org.apache.rya.indexing.mongo.MongoTemporalIndexerTest

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/371/Failed Tests: 3incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.prospector: 3org.apache.rya.prospector.mr.ProspectorTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testNoAuthsCount

asfbot build

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/372/

This is great, thanks!

looks good to me.  aaron's different hashing suggestion can be done later -- add it to jira to track if you don't want to do it now.

@isper3at Change line 80 from "SUBJECT" to "SUBJECT_HASH" and I'll be satisfied and I'll merge it.  Thanks!

I added the "please hash everything" task as requested by @pujav65 and we can continue the work on that task.  The task is more of a "please get some metrics then decide if we want to hash everything."  The task is RYA-338 - Revisit Core indcies in MongoDB

The reason I wanted it broken apart was so this could be merged and more time could be spent figuring out if hashing is necessary.  So I say merge this and do that on a follow on or.

@pujav65 totally agree.  That's why I added the "please get some metrics" portion.

@isper3at thanks!  Merging now...


ldb: 2.1.3 -> 2.1.4

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ldb/versions.
meta.description for ldb is: "A LDAP-like embedded database"
meta.homepage for ldb is: "https://ldb.samba.org/"
meta.changelog for ldb is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.1.4 with grep in /nix/store/q0szl958z3zp81p37ir7wxlnlyl5i4hx-ldb-2.1.4

directory tree listing: https://gist.github.com/d8def680db285e21057487de609c44e5

du listing: https://gist.github.com/6a4adfdb5289ef43c7ae59a79e63caec

Rebuild report (if merged into master) (click to expand)

10 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
autofs5
ldb
sssd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q0szl958z3zp81p37ir7wxlnlyl5i4hx-ldb-2.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ldb https://github.com/r-ryantm/nixpkgs/archive/54e98623daefa73e243afdc3e5c48315bbf649f2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q0szl958z3zp81p37ir7wxlnlyl5i4hx-ldb-2.1.4
ls -la /nix/store/q0szl958z3zp81p37ir7wxlnlyl5i4hx-ldb-2.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

3 packages built:
- autofs5
- ldb
- sssd

Maintainer pings

Result of nixpkgs-review pr 92331 1

3 packages built:
- autofs5
- ldb
- sssd


try a flat transaction (i.e. for those drivers that do not supported nested transactions)

re: #42
This isn't quite what I'm using at work, but it's reasonably similar.

/me coughs
guessing @paragonie-scott has a busy schedule ?

Yes, I've had a really busy schedule since late July. DEFCON kicked off a lot of, well, NDA'd work for me. :)
Taking a look now.


Mac OS testcbsdk: "Instrument is offline". Win10 on same switch works.

I had to increase the memory allocation beyond that described in the wiki hack testcbsdk.cpp as indicated in #7
Now, when I run testcbsdk, I get the following output:
Initializing Cerebus real-time interface <IP_ADDRESS> (protocol cb3.09)...
Instrument is offline
testOpen failed (-30)!
Real-time interface already closed
testClose succeeded

I build cbsdk with Qt 4.8.7_2 from homebrew.
This computer can ping the NSP no problem.
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=0.327 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.324 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.222 ms

Another Windows 10 computer on the same switch can run testcbsdk without any issues. I built that testcbsdk using the exact same source as the Mac (same cmake build system, but for VC 2008, Qt 4.8.1).
(Note that my NSP is 3.10/6.0.5, but I have not yet modified cbhwlib.h; this does not seem to present a problem for testcbsdk on Windows at least)

Here's the output in Windows:
E:\SachsLab\Tools\Neurophys\CereLink\dist\bin>testcbsdk.exe
Qt: Untested Windows version 6.2 detected!
Initializing Cerebus real-time interface <IP_ADDRESS> (protocol cb3.09)...
Udp real-time interface to NSP (<IP_ADDRESS>) successfully initialized
testOpen succeeded
Interface closed successfully
testClose succeeded

I used the settings on the BRM KB cbmex-on-osx with greater success. The other difference was that the default ports seemed to work fine in Windows but not in Mac. I had to make them explicit. The below settings worked for me.
    cbSdkConnection con;
    con.nRecBufSize = (4096*1536);  // From BRM KB cbmex-on-osx
    con.nInPort = cbNET_UDP_PORT_BCAST;  // Client Port [51002]
    con.nOutPort = cbNET_UDP_PORT_CNT;  // Instrument Port [51001]
    con.szInIP = "<IP_ADDRESS>";  // Client IP [""]
    con.szOutIP = cbNET_UDP_ADDR_CNT; // Instrument IP [""]. "<IP_ADDRESS>"
    res = cbSdkOpen(INST, conType, con);


New batcher payment primitive

Right now the batcher system in Paima is a bit too simple. It only allows paying for user's tx fees up to a max per day and that's it
This is good enough for networks like Xai where the costs are low, but not sufficient for other networks
To handle more expensive EVM chains, we need a way for users to "refill" a balance for the batcher to pay on their behalf
Conceptually, how do we implement this?
Part 1: indexing the payments
A tempting solution is to say "okay, let's just index all the txs sent to the batcher to know the user's balance"
However, this isn't an option for EVM because transaction history for an address is not part of the EVM RPC standard. Instead, all we have access to are logs
Therefore, we create a Solidity smart contract that receives payment for the batcher and emits an event that you can then index!
Part 2: where to index this
Ideally, the indexing of this data does not happen in the batcher itself. This is because right now the batcher is mostly stateless - you can wipe the batcher entirely and redeploy it, and it will just work. Having the batcher have to keep track of user balances would increase the fragility of the batcher, and duplicate a lot of stuff we implemented to solve exactly this problem for Paima Engine!
Solution: have Paima Engine index the batcher payments! This means that there is a single contract that every batcher reuses, and Paima monitors it
Batcher primitive
The way this will be implemented in practice is with a new batcher primitive that does a few things:

It manages a new Postgres table mapping userID to balance
It indexes the new BatcherPayment contract to increment the user balance in the table
When a new batch gets posted, it looks at which batcher made the transactions, and reduces the balance of all the addresses included in the batch depending on their percentage of the batch size (ex: if a user is 50% of the batch, their balance is deducted by 50% of the tx fee of posting that batch)

Tricky points
The main problem with this approach is there is a delay between the batcher submitting a transaction to the blockchain and Paima Engine receiving it (and updating the balances). That means that, in a naive implementation, an attacker could make many txs very fast before Paima Engine has time to let the batcher know the cost of these transactions
To solve this, we can leverage the new MQTT system we have to subtract the estimated cost from the user's balance in-memory in the batcher, and remove this in-memory tracking once we receive an update from Paima that the tx has been included
What about this system vs ERC-4337 (the EVM account abstraction standard)
ERC-4337 has a lot of issues in practice

It has a very expensive gas cost
It's not supported on every chain (we'd have to deploy a bunch of stuff ourselves)
It requires specialized wallets to use (not supported by MetaMask)
Depends on a reputation system for batchers (which we won't have on most chains)
It's not really optimized for batching stuff together like our batcher is (not as focused on tx fee reduction)
EVM-specific (whereas our batcher supports Avail and more chains in the future)
Requires an initial tx to start using (it requires users to deploy smart contracts to start using)

Compared to this, our approach is conceptually simple.
Future for our batcher?
The current solution, although it works, does have some limitations:

It can't support non-native tokens (how would you map the ERC20 value to the native token cost? It would require some kind of oracle which adds a lot of complexity, and most gaming chains have no notable ERC20 let alone oracles
Both native token price and gas price changes over time, which can cause UX confusion (a user may think they're paying for 100 free txs, but by the time they submit these txs the gas prices have changed and maybe they only get 50)
Requires trusting the batcher not to walk away with the funds (i.e. people shouldn't be putting large amounts of money into this at once)
Hard to subsidize based on custom logic (ex: holds an NFT, 5 free txs per day, etc.)

I think we can tackle at least the custom logic side of things by allowing the batcher to specify which txs in a batch are subsidized so they don't affect the logic (by adding a new field in the per-tx info in the batcher tx format)
Ideally, people running batchers could specify custom logic for how to subsidize txs. We can, of course, continue to do it like we do now (where we hardcode these subsidy options as batcher env configurations), but in the future we could consider an NPM package people can use to download a batcher they can write custom logic for (but this is not a priority for now)

@acedward can you help rebase this?