Dao Core v1. Staking, Deposit

IMPORTANT: Small updates in the designs, please check comments for this issue.

Deposit dialog
https://zpl.io/VOLzGYj

Deposit confirmation
https://zpl.io/VOLzwdQ

Error state of input field is here https://zpl.io/2pRLWD8

Error state of input field - can`t to implement because data of the current balance is not available

When choosing 6 month the amount is the same with 3 month

The yearly reward should be 10-14 BEAMX

Make deposit confirmation as in the design

Please display fee amount in second currency as "< 1 cent"

yearly reward was removed (edition from @beam-mw)
the transaction confirmation design is implemented inside the wallet (cannot be changed from the app)
done

"6 M" was removed

The switcher bug

Please, place the text and the switcher as in the design

Please test confirmation dialogs on the latest build.

Remove "USD" for fee amount in second currency

When user makes first deposit the staking information appears after reopening the dapp

Checked


UI: 'Add a new ISO datastore'  button disabled

I'm unable to add a new ISO datastore since the 'Add a new ISO datastore' button is disabled.
Steps to reproduce:
1)Navigate to Infrastructure->PXE
2)Click 'ISO datastores' accordion.Click 'Configuration'.Observe that 'Add a new ISO datastore'  button is disabled.
This issue is found in master.20150218103308_f72920d .

@nachandr do you see a hover over text on disabled Add button see attached screenshot:

@h-kataria,Yes,I do the see the hover over text on the disabled Add button.

@h-kataria Suggest closing this issue.  @nachandr can re-open with more details.

This is working as designed, Add ISO datastore button is disabled by design when there are No Cloud/Infrastructure Providers available to create an ISO Datastore on


images/metering-ansible-operator: Prefix TLS-related default variables with an underscore.

This is based on #787
~This would still print things like meteringconfig_tls_enabled, meteringconfig_tls_overrides, meteringconfig_root_ca_overrides, but they won't contain any useful information.~

Wait for #787 to merge first.
/hold

#797 was merged, removing hold
/hold cancel

@timflannagan1 I don't think we want to print meteringconfig_tls_overrides since that contains the other data in it

/lgtm
/approve

/retest

/lgtm


Lag when controlling device with computer mouse

Hi, completely new to this kind of stuff, only used these before (Andy, Nox, BlueStacks, Vysor, Mobizen). Just installed homebrew and adb and Scrycpy!
There is a bit of lag between my android device and controlling with a computer mouse. Not able to play games this way and wondering if there is a way to lessen the leg or get rid of it altogether?
Just to clarify, the android device itself has no lag when controlling from computer with computer mouse. It's the device screen on the computer that has to delay.
Any help would be great.
Added screenshot of terminal If it helps
Moto G5 = Android 7.0
iMac (Retina 5K, 27-inch, Late 2015) = macOS High Sierra v10.13.6

Do you use it over USB or WiFi? (use USB for lower delay)
When you say there is lag, it's like 70ms~100ms, or more about 1 second?
You can get a lower lag if you decrease resolution (definition):
scrcpy -m 800

Thank you that fixed it. I have a plug-in with USB, and was getting between 500 ms and 1s of lag. Even lowering it down to -m 1200 worked!

and was getting between 500 ms and 1s of lag

Wow, that's not expected.
Are some frame dropped? (Ctrl+i to enable printing fps in the console) Maybe the device or computer is not fast enough to encode or decode the full HD stream.

Oh sorry I might've put that in the wrong order…I was just answering your question about the USB and lag time.
What you recommended fix that.
Thanks again


"Data-server." is not resolved by the VR - Cloud-init cannot get user-data on RHEL8-Like

ISSUE TYPE

Bug Report

COMPONENT NAME
VR

CLOUDSTACK VERSION
4.14

CONFIGURATION
VSphere and Xcp-Ng templates
OS / ENVIRONMENT
Impact RHEL8/C8
SUMMARY

When a VM tries to resolve "data-server." (DNS entry that must point to the VR IP), it failed.
On RHEL-8-like, cloud-init cannot get anymore the VR IP from the DHCP lease (via the attribute "dhcp-server-identifier") since they now used NetworkManager. So, cloud-init cannot get the user-data from the VR.

Now, the only way for a C8/RHEL8 to access to their user-data is from the DNS resolution "data-server" (in order to get access to the VR).

I try to add the static entry in the /etc/hosts of the VR, but the file is rewritten after each new VM deployment.
The entry should be added by this script : /opt/cloud/bin/setup/common.sh but I think something else erase the entry.

STEPS TO REPRODUCE

Log into a random VM, try to resolve "data-server." or "data-server".

[root@test8 ~]# nslookup
> server
Default server: <IP_ADDRESS> <---- VR IP ---->
Address: <IP_ADDRESS>#53
Default server: <IP_ADDRESS>
Address: <IP_ADDRESS>#53
> data-server.
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
*** Can't find data-server: No answer

EXPECTED RESULTS

Log into the VR, try to get "data-server" from the /etc/hosts - perform a DNS resolution - after a new deployment

root@r-8-VM:/etc# cat /etc/hosts |grep data-server
<IP_ADDRESS>     data-server
root@r-8-VM:/etc# echo $?
0
root@r-8-VM:/# nslookup data-server localhost
Server:         localhost
Address:        <IP_ADDRESS>#53

Name:   data-server
Address: <IP_ADDRESS>

Into a random VM

[root@test8 ~]# nslookup
> data-server
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Name:   data-server.iaas.lgr.fr
Address: <IP_ADDRESS>

ACTUAL RESULTS

Log into the VR, try to get "data-server" from the /etc/hosts - perform a DNS resolution - after a new deployment

root@r-8-VM:~# cat /etc/hosts |grep data-server
root@r-8-VM:~# echo $?
1
root@r-8-VM:/# nslookup data-server localhost
Server:         localhost
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
*** Can't find data-server: No answer

Shouldn't this be a bug for cloud-init project?

Hello,
Pull request #4319


make versioncheck more robust

This fixes #132 and #122
@tednakamura can you check http://hancke.name/tmp/opr.html shows a version instead of a blank page in webview? (it would then fix #135)
Not sure what the unsupported version should be... set it to 0.

Can you write a test for this? (asking, not requesting - it would probably involve extending pretendVersion to take strings).

A test for webrtcUtils.extractionVersionFromUserAgent that throws some matching and non matching strings into it and makes sure things don't blow up like they did in the past?

http://hancke.name/tmp/opr.html lgtm - see attached screenshot:

And as a comparison, here's what happens when I visit https://webrtc.github.io/samples/src/content/getusermedia/gum/ with the same webview instance:

@tednakamura: thanks, that is what I was hoping for.
testing turns out to be more complicated since

navigator.userAgent can't be fiddled with
I don't want add another global variable while we're in non-module module
putting it onto webrtcUtils along with log() seemed ok but that is not exported to the module (which is good imo)

@fippo would it work to put the parsing code (parseUserAgent?) into webrtcUtils, call webrtcUtils.parseUserAgent() from the tests, and call webrtcUtils.parseUserAgent(navigator.userAgent) in the main execution thread?

Does anyone know when this will be merged?

@alvestrand ugly but works. done.
Also made the two other version checks use this. The match position argument is somewhat odd since it relies on the user to know about the semantics of match but... that's safe to assume when passing a regexp before that argument.

right, but that way leads to reinventing browser version detection modules -- which is why I'd rather keep this as a "safe regexp"

Anything else needed here?

It looks like the chrome specific patches will be applied in a shimmed safari environment (on iOS). I don't know if this would have any negative side effects but I should be able to test it soon.

@calebboyd does that env have webkitRTCPeerConnection?

Yeah, here is the specific shim I'm referring to eface2face/iosrtc

i'd suggest that this code doesn't attempt to register chrome-specific prefixed objects (which webkitRTCPeerConnection is despite the name). Ideally adapter would check for !window.RTCPeerConnection also, but the code will need to be more modular for that.

This part is done. I've merged it.

Was just able to test this on iOS and it is no longer working. I'll see if I can come up with a patch...

What if you provide a way to force a bahavior and skip detection?

:+1:


Don't understand LSP config in example vimrc

This feels like a dumb question, but what is %YOUR_LSP_SERVER% supposed to be in the example config file in the README? I'm not familiar with Lua syntax, and I don't know much about LSP. Is this supposed to be the name of a specific language server, and if so, do you need a separate require...setup call for every different language you want to use?

Should I expect the example capabilities setting work for everything in that list? If so, would it make sense to just loop over a bunch of strings and use the ['server'] syntax to set them all up the same way?

Well, it is an option, but honestly I don't get why no tutorials tell you to do it like this:
local lspconfig = require('lspconfig')

local capabilities = vim.lsp.protocol.make_client_capabilities()
require('cmp_nvim_lsp').update_capabilities(capabilities)
lspconfig.util.default_config.capabilities = capabilities

lspconfig.rust_analyzer.setup {
  -- ...
}

lspconfig.tsserver.setup {
  -- ...
}

-- ...

Yes. I think so, too. Can be improved.
I always welcome PR.

This is how I did it:
-- Setup lspconfig.
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local lspconfig = require('lspconfig')
local servers = { 'gopls', 'pyright' } --- in my example I'm using gopls and pyright servers

for _, lsp in ipairs(servers) do
    lspconfig[lsp].setup {
        capabilities = capabilities
    }
end


Import Issues "munkres"

Having trouble importing gmatch4py.  Looks like there's a deeper problem importing the munkres package.  I've installed it with pip install munkres and it installed fine.   Trying to install if from https://github.com/jfrelinger/cython-munkres-wrapper as suggested in the error report prompts an error about not being about to detect the archive format.
What am I doing wrong?
User entry:
C:\Users\user>python
Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 01:31:54) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmatch4py

The error:
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1520.0_x64__qbz5n2kfra8p0\lib\importlib\_bootstrap.py:219: UserWarning: To obtain optimal results install the Cython 'munkres' module at  https://github.com/jfrelinger/cython-munkres-wrapper
  return f(*args, **kwds)
Traceback (most recent call last):
  File "gmatch4py\ged\abstract_graph_edit_dist.pyx", line 13, in gmatch4py.ged.abstract_graph_edit_dist
ImportError: cannot import name munkres

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\gmatch4py\__init__.py", line 4, in <module>
    from .ged.graph_edit_dist import *
  File "gmatch4py\ged\graph_edit_dist.pyx", line 1, in init gmatch4py.ged.graph_edit_dist
  File "gmatch4py\ged\abstract_graph_edit_dist.pyx", line 16, in init gmatch4py.ged.abstract_graph_edit_dist
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\optimize\__init__.py", line 390, in <module>
    from .optimize import *
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\optimize\optimize.py", line 37, in <module>
    from .linesearch import (line_search_wolfe1, line_search_wolfe2,
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\optimize\linesearch.py", line 18, in <module>
    from scipy.optimize import minpack2
ImportError: DLL load failed: The specified module could not be found.
>>>

Dear @ztrglider,
As I say in the issue #12, I developed the library for Linux, MacOS due to my work environnement. However, I did not had the time to make it work on windows.
Best,
@Jacobe2169


Move wal queue to its own repository and minor bug fixes.

This moves the queue implementation to a separate repo github.com/grafana/walqueue. In that repo I made changes to support reloading configuration and preventing duplicate metric registration on config relods.

Setting this back to draft, since I am going to move this functionality into a fork.

This also fixes #2074


Refactor branch

Continuation of #1108 refactor. Will try to give feedback here.

This diff is way too large to review. @cdjackson I think you may have to just develop on a branch in here

Fixes #848

@ProLoser currently I've changed the callbacks to use controller stubs (it possibly needs more modularising yet, but...). The reason I went down this route is that for some parts of the selection where overriding the default implementation is expected, I think it's useful to support promises where async operations is likely (eg the beforeDropdownOpen where the dev might want to populate the list from a server or something).
Thus, if the dev wants to override these callbacks for basic callback functions, it's very simple, and there's a clean interface that provides a good level of functionality. If they want to do something fancier, then they can override a lower level method, but then their a little more on their own as this won't be documented.
I've also split the tagging out into a separate directive - I wouldn't call it refined, but it functions ok from my initial tests (it needs some more work).
I had to add the KEY.MAP back into the code to cover tagging - I could have put it into the tagging directive since this is the only place it's currently needed, but it means other directives wouldn't be able to use it... Previously this was in the global space which I didn't like. I might revisit this as a trawl through the issues list tonight revealed a problem in this area with keycode mapping...
There's still some work to do on this, but I thought I'd throw out an update... I'm not sure how you want to proceed? It needs more tests, and it needs docs, and probably more of a tidy, It would be good if we could get a few more people commenting/testing this - my view is it would be good to get it merged, close all outstanding issues and request people resubmit if needed (as we head toward 500 issues and 180 PRs, it's unmanageable).

@cdjackson I understand a desire to support promises, but that arrises from treating the list of items as something private and very precisely controlled. If you make these items public, then the user can modify this collection anytime they wish, they can do ajax and just update the collection anytime they want, the support for promises because superfluous.
Again, I still recommend not using before and after callbacks and simply demonstrating how to override extremely simplified functions.

For now to make the code easier to review, can you remove the dist folder? It's just bloating this PR tremendously, we can deal with it after all the src is reviewed.

I also feel that the repeater logic needs to be removed. It just bloats and complicates everything. Instead of allowing people to define the template for one row and handling the repeating for them, just move the logic up one level and let people define the entire dropdown container.

If you make these items public, then the user can modify this collection anytime they wish

True, but they might still want this loading to be triggered when the dropdown is opened...  Anyway, I appreciate there's many ways to achieve this so I'll take another look - it might be another few days (other things to do and all that :) ).
I'll remove the dist files now though.

If you look at how I do it in ui-mention, you can override the 'findChoices' method and set your own loading flag and use that alongside the list of choice,s


Explore showing portion of the problems

Showing all errors can be overwhelming. Some ideas:

Show only on active line

Show at the active line plus n lines top & bottom (example when n=1):

Show closest to the cursor problem:

Show closest to the cursor problem + n  (example when n=1):

Fixed by d74d64c8c0913d121ac6f301446dbe2138b227f1

"errorLens.followCursor": "allLines" | "activeLine" | "closestProblem",
"errorLens.followCursorMore": 0,


Great initiative and may need public forums?

Thanks a lot for creating this community, it is a great start to spread awareness about codemods and automated migration tools.
Being a codemod author brings joy to see these kind of initiatives from the community. Does it make sense to have a forum in Slack or Discord for the community to get help, discuss and build codemods or is it too early?
I leave the timelines to you folks since you are the best people to make the decisions. Thanks once again and would be glad to help in anyway possible.

Thanks a lot for the kind words! Really gratifying to hear that after working on this project for so long haha!
Yeah I would love to setup some sort of Slack/Discord/etc. No worries about timing, I think having it there before launch is a good idea so people can jump right in and ask questions / self-serve!
Also, you're more than welcome to jump in and contribute if you have an idea or see something that needs attention! Would especially appreciate someone with a solid understanding of the current codemod ecosystem helping out too 😉!

Actually come to think of it! I would LOVE to turn on GitHub Discussions to keep everything centralised. I'll have to see if it's possible for us

Done!
https://github.com/CodeshiftCommunity/CodeshiftCommunity/discussions
Let's go with this! Will close this issue for now but please lmk if you'd like to discuss further! 🚀🚀


#86 Add ability to define to use traditional or ssd backed data disks

I haven't been able to verify this works but want some feedback on it. I need this real bad :). There is no validation if you don't have an premium based vm or storage account, but this defaults to ssd.


CentOS

Please provide packages for CentOS.  I would like to install Riak Explorer on CentOS 7 from a package.

@jrphilli There should be CentOS packages now available, please test them out! https://github.com/basho-labs/riak_explorer/releases/tag/1.0.0

Thanks!  I used the CentOS packages on a couple of our clusters and did not encounter any issues.  My team is going to be thrilled!

Great, closing this issue now


[feature] Any way to work with "Notepad2 Programmers"?

Hi! Sorry for the long delay. I don't understand what you're asking here. Are you talking about the Nodepad2 software? How is it related to Prism? Please provide more details regarding your issue.


Running simple examples on MacOS M1 - very high cpu usage

Note: this issue is a followup from Discord: https://discord.com/channels/894505972289134632/894505972914065429/1125149711716855828
What is happening:
Running any example results in high or very high CPU usage (50+% always, but usually 100%) on a fairly high end machine (Macbook Pro 2020 M1).
Tested at least:
ambient run examples/basics/primitives
ambient run examples/basics/skinmesh
ambient run examples/basics/input
ambient run examples/basics/third_person_camera

(at that point I decided it's probably with any program)
What I would expect to happen:
Examples with <10 components, or no visuals & only input, or even the skinmesh one with the single model - should run with quite low (close 0) CPU usage.
Additional info:
Machine: 13-inch Macbook Pro 2020, with M1, 16GB RAM (updated to latest system)
rustc 1.70.0 (90c541806 2023-05-31)
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
Ambient 0.2.1 (7daa5ef)
(installed with cargo install --git https://github.com/AmbientRun/Ambient.git --tag v0.2.1 ambient --locked  from the docs)
Example screenshots of the situation:

@chaosprint mentioned possible relation to this issue: https://github.com/AmbientRun/Ambient/issues/451
I would argue however, that if this was only about FPS - running the input example at ±240fps should still not cause 79% cpu usage (that would interpolate to ±20% on 60 fps - still quite a lot).
@chaosprint also noted that for them the usage stabilizes after a few minutes - I was not able to observe this behaviour unfortunately.
Please let me know if I should provide some more context! :)

Hey, sorry for not getting back to you until now!
I'd agree with @chaosprint that this is likely related to #451 - what's likely happening is that the client is running as fast as it can and using as much CPU as possible in the process, which is pretty standard for most uncapped video games.
Out of curiosity, do you see the same CPU usage if you just use ambient serve? That uses a fixed 60FPS/16.66ms timestep, which means it'll go to sleep if there's no work to do. If my hypothesis is correct, you should see much lower CPU usage there.

Thanks @philpax for the tips! Although I believe fps is not the only problem.
Scenario one - running skinmesh example using ambient run - notice it runs on 60 fps (yes, different from above - I wonder if it depends on the monitor in use), and uses 65% cpu.

Scenario two - running skinmesh example using ambient serve - just the serve itself has negligible cpu usage - like 2-3 %.
The moment I join the server using ambient join, the client then runs again at 65% (no difference) and also at 60 fps.

So I have the skinmesh example, running at 60 fps, using 65% CPU. It seems to me that configuring fps limit as mentioned in #451 wouldn't help, wdyt? Is there something else I can explore? Am I missing something?


AWS plugin: alias for easier update of access keys

This change initially included support for MFA authentication, which was later moved to a dedicated otp plugin.
Now it includes an alias for acces key updates and a few code style changes.

This still need more testers. @robbyrussell can we have the Testers Needed label on this?

I use this on OSX 10.10.3. Works fine with a whole bunch of virtual MFAs.
(Also useful for google.com and any other service that uses Authenticator virtual MFA)
+1

@elias5000 now that you mention that, I'm thinking that perhaps it would make sense to move it into another plugin that just does MFA using oathtool

The MFA code was moved to a different plugin and submitted in the #3862 pull request.
I wouldrepurpose this pull request to only contain the key management part of the initial change

I'd like to merge this one, can you rebase it?

Sure, I will look into this in the next few days

Merged in https://github.com/robbyrussell/oh-my-zsh/commit/5f893dcd209fdad920a1450355acbd4c10faabf2. Thanks!


getLayer C API after loading the model or create the model

There is requirment to provide getter APIs after loading the model to create the model.
such as C++ API getLayer() in model.h

:octocat: cibot: Thank you for posting issue #1856. The person in charge will reply soon.

Hello, isn't it a duplicate of #1848 ?

Oh.. yes. it is. Closed with #1848 then.


Add license for licenseCheck.sh

What is the purpose of the change
Add license for licenseCheck.sh
Brief changelog
Add license for licenseCheck.sh
Verifying this change
see licenseCheck.sh
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #5143 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5143      +/-   ##
============================================
- Coverage      64.2%   64.19%   -0.02%
  Complexity      462      462
============================================
  Files           769      769
  Lines         33250    33250
  Branches       5238     5238
============================================
- Hits          21348    21344       -4
- Misses         9475     9477       +2
- Partials       2427     2429       +2

Impacted Files
Coverage Δ
Complexity Δ

.../apache/dubbo/qos/protocol/QosProtocolWrapper.java
65.85% <0%> (-17.08%)
0% <0%> (ø)

.../rpc/protocol/dubbo/LazyConnectExchangeClient.java
56.47% <0%> (-2.36%)
0% <0%> (ø)

...dubbo/metadata/support/AbstractMetadataReport.java
72.83% <0%> (-1.74%)
0% <0%> (ø)

...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java
89.71% <0%> (-0.94%)
16% <0%> (-1%)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
61.87% <0%> (-0.63%)
29% <0%> (ø)

...he/dubbo/registry/multicast/MulticastRegistry.java
69.23% <0%> (-0.46%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
65.9% <0%> (+1.13%)
0% <0%> (ø)
:arrow_down:

...pache/dubbo/registry/support/AbstractRegistry.java
80.07% <0%> (+1.53%)
0% <0%> (ø)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
60.22% <0%> (+4.54%)
21% <0%> (+1%)
:arrow_up:

...onfig/spring/extension/SpringExtensionFactory.java
85.36% <0%> (+4.87%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


cluster: flip envoy_reloadable_features_use_config_in_happy_eyeballs to true

Commit Message:  flip envoy_reloadable_features_use_config_in_happy_eyeballs to true
Additional Description: This flag has been flipped to true internally since March
Risk Level: low
Testing: tested internally for 4 month
Docs Changes:
Release Notes: Make flag envoy_reloadable_features_use_config_in_happy_eyeballs default to true
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign-from @envoyproxy/maintainers

added description and release notes

added description and release notes

I think the changes weren't pushed. can you please double check?

Ryan, can you please take a final pass on this (as the happy-eyeballs expert).
/assign @RyanTheOptimist

/retest

Can you please merge main again, and hopefully it will fix the wedged CI test.

/retest


Cluster was created with an API version 2018-08-01-preview, which does not support multi agent pool feature. API version should be  equal or greater than 2019-02-01.

Created the multiple node pool cluster.
I got the titled error at running "az aks nodepool add" operation.
Azure CLI version:
2.0.64 and 2.0.65
Operation:
az aks nodepool add \
    --resource-group labmultinodepool \
    --cluster-name myAKSCluster \
    --name mynodepool \
    --node-count 3 \
    --debug

Debug log:
As you can see, the specified version (2019-04-01) is higher than the required version (2019-02-01).
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/labmultinodepool/providers/Microsoft.ContainerService/managedClusters/myAKSCluster/agentPools?api-version=2019-04-01 HTTP/1.1" 400 223
msrest.http_logger : Response status: 400
msrest.http_logger : Response headers:
msrest.http_logger :     'Cache-Control': 'no-cache'
msrest.http_logger :     'Pragma': 'no-cache'
msrest.http_logger :     'Content-Length': '223'
msrest.http_logger :     'Content-Type': 'application/json'
msrest.http_logger :     'Expires': '-1'
msrest.http_logger :     'x-ms-ratelimit-remaining-subscription-reads': '11987'
msrest.http_logger :     'x-ms-correlation-request-id': '4bddc15c-5a79-4a2d-840a-1dccc0b5250e'
msrest.http_logger :     'x-ms-request-id': '221ebba8-59a7-47ff-a8ff-ee2e9468261c'
msrest.http_logger :     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger :     'Server': 'nginx'
msrest.http_logger :     'x-ms-routing-request-id': 'JAPANEAST:20190525T063559Z:4bddc15c-5a79-4a2d-840a-1dccc0b5250e'
msrest.http_logger :     'X-Content-Type-Options': 'nosniff'
msrest.http_logger :     'Date': 'Sat, 25 May 2019 06:35:59 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
  "code": "AgentPoolAPIsNotSupported",
  "message": "Cluster was created with an API version 2018-08-01-preview, which does not support multi agent pool feature. API version should be
equal or greater than 2019-02-01."
 }
msrest.exceptions : Operation failed with status: 'Bad Request'. Details: Cluster was created with an API version 2018-08-01-preview, which does
not support multi agent pool feature. API version should be equal or greater than 2019-02-01.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8c420b2c-e868-9a6a-49fb-913f2cd007ef
Version Independent ID: 5c543e08-7d75-21eb-9510-22e2cd56d16b
Content: Use multiple node pools in Azure Kubernetes Service (AKS)
Content Source: articles/aks/use-multiple-node-pools.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@yuriwoof Thanks for the feedback! We are currently investigating and will update you shortly.

@yuriwoof Thanks. I will try out with 2.0.65 and let you now tomorrow

@yuriwoof I went through the document and i was able to add the nodepool without any problem.
I tried in 2.0.65 in cloudshell. The api version used for adding nodepools is 2019-04-01.
I suspect that you are using old version of aks-preview extension.
You can check that using az --version and look at the end for extensions.
I used aks-preview                        0.4.2.  You can update this if you have old version.
That info is available in the same document.
Try this out and let me know

@yuriwoof Also check if you have registered to the preview features and you should create a cluster after the successful registration.

@jakaruna-MSFT
Thank you for looking into it. Checking preview version, I used the same one 0.4.2.
But I can add another nodepool now. It might not have done the registration of the feature.
Please close this.

@yuriwoof
I will close this out for now. If you need additional help please let me know and we can reopen and continue.


Adding Unity samples for ID@Xbox developers and managed partners

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Contact lists Fixes - TX and Contacts screens

fixes #1132

Hi @monikasmolarek , when it will be done Click the Ready for review above. Thanks !

Of course, until now, I was discovering more and more aspects to be covered, will be working on that, and once ready, I will mark it as ready and request your review

pr was too far behind, rebasing it was complicated and I prefer restart it


Add 1/f noise simulation prototype-stochastic Schrodinger equation

[ ] Add spin-fluctuator bath module
[ ] Add callback functions of spin-fluctuator bath module

IterativeCallback call user_affect! function before calling time_choice.

If initial_affect is set to true, user_affect! will be called once before any time steps have been taken.


Breaking things up

As fixes and features are added to this library things can quickly become bloated.
This library is still small but to aid future contributors and preserve code manageability, I propose restructuring the library now rather than later. I recommend modeling after requests.
For a quick comparison of what I aim to avoid, consider another extremely popular request library.
Bloated: https://github.com/request/request/blob/master/request.js
It took the poor guy quite a bit of time to refactor the library: https://gist.github.com/simov/552bee6ce6001205393e
It hasn't happened yet: https://github.com/request/request/issues/1982 :cry:
This is what I imagine the __init__.py would initially look like.
from .adapters import CloudflareAdapter, DEFAULT_CIPHERS
from .exceptions import CloudflareError, CloudflareCaptchaError
from .api import request, get, head, post, patch, put, delete, options

from .scraper import CloudflareScraper, user_agents, \
    DEFAULT_USER_AGENT, DEFAULT_HEADERS

__version__ = "2.0.4"

create_scraper = CloudflareScraper.create_scraper
get_tokens = CloudflareScraper.get_tokens
get_cookie_string = CloudflareScraper.get_cookie_string

Modeled after requests, you could perform the following:
import cfscrape
cfscrape.get(url)

This idea also makes for better tests.

👍

@Anorov
Before I send a PR for this, I was wondering about the api module. It would ideally be a slightly modified version of requests/api.py which means we'd need to comply with the Apache2 license. I'm not exactly sure how/if it would affect the project's license by bundling a partially Apache2 licensed source file. If we did that, we'd also want to include a NOTICE file. I know how to create the appropriate source file header but do we want to include the Apache2 LICENSE in a separate file or dual license, etc. etc..
This may have been the reason why it wasn't included in the first place? I've looked at monkey-patching a separately loaded copy of the api module and getting that to work on python 2 and 3....Too hacky but it would resolve the above issues.
If the source is guaranteed to be available, the following seems safe enough:
from inspect import getsource
from requests.api import *
from . import CloudflareScraper

def request(method, url, **kwargs):
    with CloudflareScraper() as scraper:
        return scraper.request(method=method, url=url, **kwargs)

for x in (get, head, post, patch, put, delete, options):
    # getsource is not very efficient when being called for the same file multiple times
    # So this could be optimized
    exec(getsource(x))
del x

I'm not sure if tools like pyInstaller would break it or not though...
So, I'm out of ideas. Do you want to include a modified version of requests/api.py and if so, how should we handle the license issues? It's very possible that I'm over thinking this, please correct me if I'm wrong.

https://github.com/pro-src/cloudflare-scrape/tree/248_refactor/cfscrape

Should we persist a session for multiple invocations of cfscrape.{request,get,post,...}, so that the challenge handling will only happen once if someone calls cfscrape.request against the same domain twice? This would break some compatibility with requests, but I can't think of potential pitfalls at the moment. Alternatively, we could just have some logic to re-add the cookies in the request method, but using a shared session might be simpler.
I'm not sure what the licensing implications might be, but if you think this is a good approach, could we create our own api.py which follows requests' public API but uses this different shared session implementation? If so, would that maybe prevent licensing issues?

Yes on all counts. I think that I've over thought it and that this is really a functional and fair-use case.


Update metrics documentation for v1.31

Description

Issue

Closes: #48538
Wait for the upstream PR https://github.com/kubernetes/kubernetes/pull/128376 to merge first.
/hold

/approve

/lgtm
Preview: https://deploy-preview-48568--kubernetes-io-main-staging.netlify.app/docs/reference/instrumentation/metrics/

Also see https://github.com/kubernetes/website/pull/48684

@mengjiao-liu if v1.32 is released and this still hasn't merged, please change this PR to target the release-1.31 branch, then unhold it.

Okay, if it's not merged by then, here's what I'll do. Thanks!

/hold cancel
Thanks for pushing this forward.


Allow body-parser customization at the app.js level

Apostorphe uses body-parser however this cannot be customized at the application level. Not even by overriding the middlewares using the "middelware" array.
body-parser also provides a way to set the "limit" of the request body, which is a common solution for the request entity too large nodejs error.
The proposed change allows the developer to customize the body-parser "limit" at the app.js level, or data/local.js level

Thanks, Fotis.
FYI I will be stripping out those leading underscores. We only use that to mean one thing anymore: properties of a doc that shouldn't be persisted to the database.
(Well, OK: and you'll occasionally see _foo in a callback when I need to receive it and then assign it to the real foo. But honest, that's it.)


Adding Azure Cognitive Search datastore

This change adds a datastore implementation for Azure Cognitive Search.

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


--enable-parallel-tests should not silently turn itself off when parallel is not present

@WardF just noticed that somewhere we broke parallel builds. That surprised me, since I have several parallel builds in my CI. Sure enough, parallel was being turned off without causing a failure.
I have a suggestion to prevent re-occurrence.
Right now we have this in configure.ac. Note that parallel tests are ignored if parallel build did not happen:
# Does the user want to run extra parallel tests when parallel netCDF-4 is built?
AC_MSG_CHECKING([whether parallel IO tests should be run])
AC_ARG_ENABLE([parallel-tests],
              [AS_HELP_STRING([--enable-parallel-tests],
                              [Run extra parallel IO tests. Ignored if \
                               netCDF-4 is not enabled, or built on a system \
                               without parallel I/O support.])])
test "x$enable_parallel_tests" = xyes || enable_parallel_tests=no
AC_MSG_RESULT($enable_parallel_tests)

I suggest that, after @WardF has fixed the current issue, I change this so that --enable-parallel-tests will cause the build to fail if the parallel build does not work. This way, we can catch future parallel build problems in our CI systems by using --enable-parallel-tests.
I think it's also fair to say that if the user specifies parallel tests, and we can't successfully build and run them, then the build should fail.

This makes sense, when a user specifies something and it can't be accommodated, it should not silently deviate from expectations.  I can roll this into the extant pull request I'm working on, once this meeting I'm in is over.

OK, great. Hopefully I haven't broken any parallel code while my CI system has been showing me that parallel builds are working. ;-) If so, I will fix immediately.


question for securing plugin applications

I applied "secure=true" to cf-bridge and abacus-usage applications. I think it works well.
My uaa clients are like below.

abacus

scope : abacus.usage.write abacus.usage.read
applied to : abacus-usage-collector, abacus-usage-meter, abacus-usage-accumulator, abacus-usage-aggregator, abacus-usage-reporting, abacus-cf-renewer

abacus-linux-container

scope : abacus.usage.linux-container.read abacus.usage.linux-container.write
applied to : abacus-cf-applications

abacus-service-bridge

scope : abacus.usage.write abacus.usage.read
applied to : abacus-cf-services

Now I'll try to apply secure=true to following plugins.

abacus-eureka-plugin
abacus-account-plugin
abacus-provisioning-plugin

For this, which scopes should be added to each uaa clients?
(I know that the account and provisioning plugins are just prototype, so I must recreate them.)

We typically use the following clients:
  - client_id: abacus.system
    authorities: abacus.usage.write,abacus.usage.read
    authorized_grant_types: client_credentials
    scope: abacus.usage.write,abacus.usage.read

  - client_id: cc
    authorities: cloud_controller.admin
    authorized_grant_types: client_credentials

  - client_id: application_bridge
    authorities: cloud_controller.admin_read_only
    authorized_grant_types: client_credentials

  - client_id: container
    authorities: abacus.usage.linux-container.write,abacus.usage.linux-container.read
    authorized_grant_types: client_credentials
    scope: abacus.usage.linux-container.write,abacus.usage.linux-container.read

  - client_id: object_storage
    authorities: abacus.usage.object-storage.write,abacus.usage.object-storage.read
    authorized_grant_types: client_credentials
    scope: abacus.usage.object-storage.write,abacus.usage.object-storage.read

  - client_id: hystrix
    authorities: abacus.system.read
    authorized_grant_types: client_credentials
    scope: abacus.system.read

  - client_id: broker_system
    authorities: clients.admin,reporting.agent.write,abacus.usage.write
    authorized_grant_types: client_credentials
    scope: clients.admin,reporting.agent.write,abacus.usage.write

  - client_id: broker_ui
    authorities:  abacus.usage.read,uaa.none
    authorized_grant_types: client_credentials
    scope: abacus.usage.read

  - client_id: broker_dashboard
    authorities: abacus.usage.read,abacus.usage.write,uaa.none
    authorized_grant_types: authorization_code,refresh_token
    redirect_uri: <url>
    scope: openid,cloud_controller_service_permissions.read,cloud_controller.read,abacus.usage.read,abacus.usage.write

  - client_id: service_bridge
    authorities: abacus.usage.write,abacus.usage.read
    authorized_grant_types: client_credentials
    scope: abacus.usage.write,abacus.usage.read

I think uaa clients are similar to your.
I set secured=true to abacus-eureka-plugin, and restart abacus-cf-renewer application.
Then following error logs are made in abacus-eureka-plugin.
2017-11-16T21:35:10.88+0900 [RTR/0] OUT abacus-eureka-plugin.thespringtime.net - [2017-11-16T12:35:10.879+0000] "POST /eureka/v2/apps/ABACUS-CF-RENEWER HTTP/1.1" 401 317 0 "-" "-" "<IP_ADDRESS>:45056" "<IP_ADDRESS>:61002" x_forwarded_for:"<IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"652c6089-ab7a-407c-63a8-e3c12980a0e6" response_time:0.003168281 app_id:"882a620b-bff0-42e9-b82f-2ef63bd72b01" app_index:"0" x_b3_traceid:"08698d610ea75ece" x_b3_spanid:"08698d610ea75ece" x_b3_parentspanid:"-"
2017-11-16T21:35:10.88+0900 [RTR/0] OUT
2017-11-16T21:35:10.88+0900 [APP/PROC/WEB/0] OUT 2017-11-16T12:35:10.882Z e-abacus-oauth 77 Invalid OAuth bearer access token, undefined
I wonder which uaa client are used to register application information to abacus-eureka-plugin.
Which point should I check more?

Seems like renewer did not send a valid token or eureka does not have JWTKEY to decript the tokens.
These are CF-spcific variables, described here: https://github.com/cloudfoundry-incubator/cf-abacus/wiki/Installation#environment-variables
Check if you have JWTKEY - the UAA public key in eureka plugin.

It seems that I set valid JWTKEY and JWTALGO because other abacus application's secure works well.

Let me explain the assumption about my problem of abcus-eureka-plugin.
abacus-eureka-plugin validate request using auth token if secure = true like below code.
/cf-abacus/lib/plugins/eureka/src/index.js 150 line
  if (secured())
    app.use(/^\/eureka\/v2/,
      oauth.validator(process.env.JWTKEY, process.env.JWTALGO));

But I think, eureka.register function in /cf-abacus/node_modules/abacus-webapp/src/index.js does not set token to http header.
/git/cf-abacus/node_modules/abacus-eureka/src/index.js 29 line
    request.post(server + '/apps/:app', {
      app: app.toUpperCase(),
      body: {
        instance: {
          dataCenterInfo: {
            '@class': 'com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo',
            name: 'MyOwn'
          },
          app: app.toUpperCase(),
          asgName: app.toUpperCase(),
          hostName: uri,
          ipAddr: uri,
          vipAddress: uri,
          port: {
            $: port,
            '@enabled': true
          },
          metadata: {
            port: port
          },
          status: 'UP'
        }
      }

So when I set secure=true in abacus-eureka-plugin and restart abacus applications, following error is occurred in abacus-eureka-plugin. Following error was occurred when I restart abacus-cf-services.
   2017-11-18T02:57:32.44+0900 [RTR/0] OUT abacus-eureka-plugin.MYDOMAIN - [2017-11-17T17:57:32.410+0000] "POST /eureka/v2/apps/ABACUS-CF-SERVICES HTTP/1.1" 401 319 0 "-" "-" "<IP_ADDRESS>:55896" "<IP_ADDRESS>:61010" x_forwarded_for:"<IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"5c379ebc-7d1a-4906-6516-aa9187e51cc2" response_time:0.037191787 app_id:"882a620b-bff0-42e9-b82f-2ef63bd72b01" app_index:"0" x_b3_traceid:"d0d52828a5de7a16" x_b3_spanid:"d0d52828a5de7a16" x_b3_parentspanid:"-"
   2017-11-18T02:57:32.44+0900 [RTR/0] OUT
   2017-11-18T02:57:32.41+0900 [APP/PROC/WEB/0] OUT 2017-11-17T17:57:32.415Z e-abacus-oauth 77 Invalid OAuth bearer access token, undefined

Please tell me if something is erroneous or I need to fix it.

I created a new issue #809 to address the problem with Eureka plugin and module.
I'll close this bug, but if you have more questions about securing Abacus, feel free to reopen it.


styled-components with docz

Question
Hi,
We are using the styled-components on our components library, and we need to pass a ThemeProvider to wrap the component and pass the theme variables and it is being displayed on Payground. Is there a way to hide it? I tried to build my own plugin, but no method fits my needs.
Thanks and congrats for the project 🇧🇷

Hi @mitsuishihidemi, do you have 2 options to do that:

You can create a wrapper just around your document by exporting a layout component.

You can pass a  path for wrapper property on your doczrc that'll be the wrapper for the entire application ✌


Copy dacpac to temp folder before publishing to avoid dacpac lock

Work-around for #10589, not calling it "fixed" since we still haven't identified the source of the lock.

Coverage decreased (-0.01%) to 34.377% when pulling 11d3b50f1a714d85bc019571531ccd021aeb298a on benjin/fileLock2 into 637bc8d5ba8cc51f8d74e6db87fa7d93c6b2ca3a on main.


Update the build environment

After Travis CI moved to a more stringent free tier, we have to improve the performance of the build, and possibly move to a service that doesn't limit us, such as GitHub Actions. AFAIK, it doesn't support running KVM, nor libvirt, so we have to refactor that as well.
Ideas:

[x] Use a single step to build the base box and to start the cluster.
[x] (to verify) Don't run the docker Ansible role because we already install Docker with a shell script.
[x] (to verify) Don't generate keys for the self-hosted registry.
[x] Move to GitHub actions.
[x] Build container images.

As pointed out by @zvfvrv, we can run VirtualBox instances in a macOS environment on GitHub actions.
Closes #122

ok for me!


[Question] How do you made raspotify run on startup without logging in?

*How did you

Using systemd.


[Dailymotion] Unable to download JSON metadata / HTTP Unauthorized

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.08.19 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
Unable to rip video from Dailymotion. I tried several different URLs and received the same error message from all of them. I'm not sure this is something that can be fixed in software since the error message is HTTP Error 401: Unauthorized.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['https://www.dailymotion.com/video/x8d16ga', '--verbose']
[debug] User config "C:\Users\louis\AppData\Roaming\yt-dlp\config.txt": ['--retries', 'infinite', '--restrict-filenames', '-o', 'C:/Downloads/YouTube/%(uploader)s/%(title)s_%(section_number)s_%(section_title)s.%(ext)s', '--hls-prefer-native', '-w', '--write-thumbnail', '-f', 'bestvideo[height<=?1080]+bestaudio/best', '--merge-output-format', 'mkv', '--convert-subs', 'srt', '--sub-lang', 'en,en-US,jp', '--embed-subs', '--convert-thumbnails', 'jpg', '--embed-thumbnail', '--add-metadata', '--ffmpeg-location', 'C:\\ProgramData\\chocolatey\\lib\\ffmpeg\\tools\\ffmpeg\\bin', '--cookies', 'C:\\Users\\louis\\AppData\\Roaming\\yt-dlp\\youtube.com_cookies.txt', '--no-check-certificates']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.19 [48c88e0] (pip)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: "C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg\bin\ffmpeg" -bsfs
[debug] Checking exe version: "C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg\bin\ffprobe" -bsfs
[debug] exe versions: ffmpeg 5.1-essentials_build-www.gyan.dev (setts), ffprobe 5.1-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-9.1
[debug] Proxy map: {}
[debug] [dailymotion] Extracting URL: https://www.dailymotion.com/video/x8d16ga
[dailymotion] x8d16ga: Downloading media JSON metadata
ERROR: [dailymotion] x8d16ga: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 666, in extract
    ie_result = self._real_extract(url)
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\dailymotion.py", line 231, in _real_extract
    media = self._call_api(
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\dailymotion.py", line 78, in _call_api
    resp = self._download_json(
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 1026, in download_content
    res = getattr(self, download_handle.__name__)(url_or_request, video_id, **kwargs)
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 990, in download_handle
    res = self._download_webpage_handle(
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 860, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 817, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "C:\Python38\lib\site-packages\yt_dlp\extractor\common.py", line 799, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "C:\Python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 3648, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python38\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "C:\Python38\lib\urllib\request.py", line 640, in http_response
    response = self.parent.error(
  File "C:\Python38\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "C:\Python38\lib\urllib\request.py", line 502, in _call_chain
    result = func(*args)
  File "C:\Python38\lib\urllib\request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized

try again with just using yt-dlp "https://www.dailymotion.com/video/x8d16ga"
and see if that works.

Same error with the URL in quotation marks as without quotation marks.

Same error with the URL in quotation marks as without quotation marks.

weird, it downloads ok for me.

[x]  I've checked that all provided URLs are playable in a browser with the same IP and same login details

Double check
Then, try without cookies


Search highlights very big sections instead of just the search word or sentence.

Issue Type: Bug
When searching for a term in a Jupyter notebook, the current paragraph or sentence is highlighted, instead of just the search word.
This is nice if the word is contained in a small paragraph/sentence, but not if ADS starts highlighting my entire screen and I have to search for the exact occurence myself.
Azure Data Studio version: azuredatastudio 1.17.1 (814ce88c41e0daaca89afed8b184e795057a6f9d, 2020-04-30T00:16:35.943Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (48 x 2295)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
127.91GB (105.14GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Same issue as #9550.

Closing as dupe


Excuse me, has the LoRA paper been accepted yet?

Excuse me, has the LoRA paper been accepted yet? Thank you

Hi Linhui,
Yup! Our paper was published at ICLR 2022.


Full Text Search docs

Hello,
I want to apply FTS in cblite . i saw the docs but the documentation is missing there can you guide me how do i implement FTS.
Thanks
https://cbl-dart.dev/full-text-search/

Hey @aliibrahimroshan,
unfortunately, I have not had time yet to add those docs, but here are the basics:
You need to create a full-text index to be able to search documents with full-text search:
db.createIndex('blog-post-content', FullTextIndexConfiguration(['content']));

Here, we create an index that makes the content field of an exemplary blog post searchable.
Now you can use the MATCH function in queries to search the full-text index:
final query = await Query.fromN1QL(db, '''
  SELECT *
  FROM _
  WHERE MATCH(blog-post-content, 'Flutter*')
  ORDER BY RANK(blog-post-content)
''');

MATCH takes the name of the index and the full-text query. Here you find the documentation for the full syntax supported in full-text queries.
The RANK function allows you to order the results by relevancy.

Added to this question, is there any possibility to look up '*Flutter'? Until now I was not able to find anything in the official docs.

... is there any possibility to look up '*Flutter'?

Only prefix patterns are supported.

@AdrianDev0
I can't replicate this issue, unfortunately.
Can you try running this minimal example:
import 'package:cbl/cbl.dart';
import 'package:cbl_dart/cbl_dart.dart';

Future<void> main() async {
  await CouchbaseLiteFlutter.init();

  final db = await Database.openAsync('foo');

  final collection = await db.defaultCollection;
  await collection.createIndex('MyIndex', FullTextIndexConfiguration(['name']));

  final query = await db.createQuery(
    '''
    SELECT *
    FROM _
    WHERE MATCH(MyIndex, 'Au*')
    ''',
  );

  await query.execute();

  await db.close();
}

Hi @blaugold
thanks for your suggesting. With your code it works.
To explain my scenario I get an exisiting db, where the index already exists. I had a look inside the internal structure of the db file with DB browser for sqlite . There I saw, that the indices are somewhat stored differently.
Lets say the DB only contains documents of type { "H" : "someWord" }. The db comes with a given index called ExistingIndex on the key H. Additionally I add MyIndex on H with your given Code above. If I want to use ExistingIndex I get the error message I mentioned above.
As you can see in the table, your library seems to store an index in a slightly different way. But previously I was using the official Android and iOS couchbase lite sdk and both worked fine with my indices.
Do you have idea why there is a difference here?

name
expression
indexTableName

ExistingIndex
[[".H"]]
_default::ExistingIndex

MyIndex
H
_default::\My\Index

@AdrianDev0 Could let me know which versions of the official Android and iOS SDKs were used to create the existing database?


fix console warnings

Description

When you start the project and check the dev console, there are a few avoidable warnings/errors. Most are fixed with this PR.
The only error left is from the avataaars package wihch hasn't been updated recently and uses some legacy functionality.
Changelog

fixed #3567

changed button to div
added tabIndex={0} and role="button"
updated the test snapshot

fixed "A non-serializable value was detected in an action, in the path: serverTime."

pass the timestamp as a number instead of a date object

fixed "Selector unknown returned a different result when called with the same parameters. This can lead to unnecessary rerenders."

i added and removed some isEqual checks according to this schema:
➖ wherever the exact object from state as a reference is returned, no isEqual is necessary
since the objects aren't mutated, the check of reference is enought to detect state changes

// example
useAppSelector((state) => state.participants!.self)
useAppSelector((state) => state.notes.find((n) => n.id === props.noteId))

➖ wherever a basic type that is compareable with === is returned (string, boolean, number, ...) is returned, no Equal is necessary
➕ wherever a new object is created and returned, isEqual is necessary

// example
useAppSelector(
  (state) => ({
    them: state.participants!.others.filter((participant) => participant.connected),
    me: state.participants!.self,
  }),
  isEqual
);

Checklist

[x] I have performed a self-review of my own code
[x] The application was tested in the most commonly used browsers (e.g. Chrome, Firefox, Safari)

Thank you very much for your contribution ☺
I'll have a look on your changes in the following days!


Add state (pending/positive/negative) of the test to the recycle bin

Current Implementation
Currently, the recycle bin only shows which type of test was deleted and when it was added/performed.
Suggested Enhancement
Add the information whether a test was positive, negative or the result is still pending to the details in the recycle bin.
Expected Benefits
Better overview for the user.

Internal Tracking ID: EXPOSUREAPP-13886

As the CWA project went into ramp-down mode, I don't expect this feature to be implemented. I'm therefore closing this issue.


More than two devices's supported

The commit fixes KabschSolver arguments because the Solver did not work properly when more than two devices were connected.

I also updated the calibration info in the scene to take more than two devices into account.


[copy-propagation] Since this runs on OSSA and we have formalized consuming there, use that instead of our own handrolled consuming use impl.

This is in preparation for adding a run of this around ownership lowering in
order to eliminate extra copies that passes may introduce as they transform IR.
The tests for the pass all still pass in the exact same way so no updates were
needed.

@swift-ci test

This isn't running anywhere yet, so I just needed to make sure the singular test passed.


Can't get graphs to space right

Not sure what is going on tried looking at the code.. I'm using Jupyter notebook if that is messing stuff up?
data:
state	region	age	gender	race	marital_status	ptype	status-grp
0	IA	3	73	M	W	M	Patient	NaN
1	IL	2	57	M	W	S	Patient	NaN
2	WI	2	32	F	W	U	Patient	NaN
3	WI	2	54	F	W	U	Patient	NaN
4	IL	2	56	F	W	M	Patient	NaN
5	WI	2	31	F	W	S	Patient
input line:
explore.plot(df2,['state','region','age','gender','race','marital_status','ptype','status-grp'],PLOT_COLUMNS_SIZE=2,bin_size=20,
bar_width=0.2,wspace=.75,hspace=.75)
result:

Hi @dartdog
Have you encoded the data i.e changed categorical character data to numerical (M->1,F-0 etc).Try setting PLOT_COLUMNS_SIZE to value greater than 2 like 3 or 4.I think the Jupyter notebook might be hindering, it would be great if you can provide me data you are using it on so that I can try it on my side.
Thanks!

I removed the categorical data and am now getting marginally better results but still no effect with the white space parameters.. The column size does work but I reduced the data to only two variables But still no effect on the whitespace variables Eg I can't increase the space between the plots
So now I just use age and region, both of which are numeric.. (the 1st two numeric columns in the above data frame other than the data frame index. The full dataset is rather large..  So maybe it is a Jupyter thing, but I have been able to manipulate graphs in it otherwise.. Not sure if there would be an easy way to pass the whole plot object back so more could be done with it?

The jupyter in hindering the wspace variable, it would work well if you execute it otherwise as full screen matplotlib window is generated.
Can you elaborate more on the last question,like what else would you like to do with it?

well it is possible to layout better in Jupyter but since I don't get the figure returned I can't do anything with it in Jupyter. Like fix the margins.. Or for that matter titles and or more stuff..?? Almost all our work for initial exploration is in Jupyter so It would be great to have this "play well" if possible.. I'm looking at how to handle categoricals in a systematic manner.. (a pain point) In particular to really be able to use the bivariate stuff you have. I make use of the pandas profiling package for some of our up front analysis  and hope to improve our up front analysis as we keep getting to the end of ML modeling only to find there was more we should have looked at up front, I think you have a good start for that!

So I have to look into it for adding support for jupyter. Thanks for pointing it.
Maybe issue#2 might help to handle text categorical variables.

thanks! H Ave looked at the issue you mentioned,, I'm hoping to develop something a bit more automatic perhaps incorporating it (don't know how I'll do..) :-)


Azure Kubernetes Service sample and helper methods

Based on the conversation of the issue. https://github.com/gruntwork-io/terratest/issues/89
I create a sample and helper method for supporting Azure Kubernetes Service usage.
This PR provide two helper methods.

Fetch the Kubernetes Service metadata
Wait for the allocation of Public IP Address on Kubernetes Service

In case of Azure, Node Port is not good option for external access outside of the kubernetes cluster, we use ingress or LoadBalancer type. For both case, we need to wait until Public IPAddress is assigned to the service. It takes some time. That is why, the sample for kubernetes doesn't work for Azure users. So I'd like to contribute this to unblock it to Azure users.

We just merged in our tf12 update fix which stabilizes the build. Can you rebase this branch on master to pull in those changes? I can kick off the build once that is done!

Hi @yorinasub17
Thank you!
I've done the rebase. Please kick off the  build!

Hi, @yorinasub17. I have a look at the root cause of the CI failure.
It seems Packer related testing, and the main branch also has a failure of Packer related testing.
Is it freaky testing?

@TsuyoshiUshio Yup it is flaky testing. The last two build failures contain tests that were mutually exclusive, so from a build perspective, this is good to go. Apologies that I haven't merged+released it yet. I need some time to formulate the release notes so I had been delaying doing that till later in the day. You should see this merged + released before EOD pacific time.

@yorinasub17 Thank you!
BTW, we are working on the subscription issue internally. Sorry for the late reply. :)


SwipeRefreshLayout

The pdf view doesn't seem to play well with swipe refresh layout
When I scroll down its fine, but when scrolling back up to the top the swipe refresh swirl is coming down from the top but the scroll position hasn't reached the top yet

Fixed in 2.8.0


[improve][metadata] Upgrade oxia-java to 0.4.10 and fix closing of OxiaMetadataStore

Motivation

oxia-java 0.4.10 switches from javax.annotation to jakarta.annotation
OxiaMetadataStore close isn't properly changing the state to closed

Modifications

upgrade to oxia-java 0.4.10
fix OxiaMetadataStore.close

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report
Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 74.34%. Comparing base (bbc6224) to head (c92d529).
Report is 758 commits behind head on master.

Files with missing lines
Patch %
Lines

...e/pulsar/metadata/impl/oxia/OxiaMetadataStore.java
75.00%
0 Missing and 1 partial :warning:

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23653      +/-   ##
============================================
+ Coverage     73.57%   74.34%   +0.76%
- Complexity    32624    35008    +2384
============================================
  Files          1877     1944      +67
  Lines        139502   147239    +7737
  Branches      15299    16250     +951
============================================
+ Hits         102638   109460    +6822
- Misses        28908    29335     +427
- Partials       7956     8444     +488

Flag
Coverage Δ

inttests
27.19% <50.00%> (+2.61%)
:arrow_up:

systests
24.31% <0.00%> (-0.01%)
:arrow_down:

unittests
73.73% <75.00%> (+0.88%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines
Coverage Δ

...e/pulsar/metadata/impl/oxia/OxiaMetadataStore.java
87.83% <75.00%> (-2.17%)
:arrow_down:

... and 661 files with indirect coverage changes


Customizing XML reports in protractor

I have been using jasmine-reporters to generate XML reports as part of our protractor project.
However i would like to customize the XML that gets generated by adding few more parameters as part of every test case. These new parameters would be elements/attribute within the testcase element.
This customization of XML reports is required because i need to update the results back to MTM(Microsoft Test Manager)
Any help would be greatly appreciated. I am ok to use any other node modules other than jasmine reporters if it fits my bill.
I am using the below framework.
Jasmine 2.X
NodeJs 6.2.0
Protractor 3.2.2

Hi! This looks like a support question. Please ask your support questions on StackOverflow, Google Group discussion list, or Gitter. For more information please reference https://github.com/angular/protractor/blob/master/CONTRIBUTING.md#questions
Thank you!


babel-config should extraneously depend on babel-jest, or as peer.

🐛 Bug Report
Not really a bug. However I think its incorrect for babel-config to specify babel-jest in dependencies. Especially if user is not using babel.
Also, the docs for babel-jest indicate the user should install babel-jest. If this is the case, then that removes the need for babel-config to depend on babel-jest.
To Reproduce
N/A
Expected behavior
A few options:

Move babel-specific config logic from babel-config into babel-jest.
Adjust the way babel-config uses babel-jest to be a require wrapped in a try/catch with graceful fail logic.
Maybe movie babel-jest to peerDependencies? Although, this isn't quite the correct use case for peer deps.

Link to repl or repo (highly encouraged)
N/A
Run npx envinfo --preset jest
N/A

Note that babel is a hard requirement for code coverage and mock hoisting, so you won't really get away from Babel even if you don't use the normal transform


Smooth tracking motion

Excellent project! I was very pleased to find this.  I have connected this code to a small telescope controlled by TwinCAT and CANOpen Cia402 drives (Technosoft iPOS4808-myCAN-STO).
When I enable "Track" mode, the code switches to using MC_ExtSetPointGenFeed to provide position, velocity, and acceleration values to the axes. It seems the velocity and acceleration demands in this mode are fixed values (velocity: 10.0, accel: 1.0), and only the position demand changes with time. With my motor controllers this doesn't result in smooth motion, and a lot of noise comes from the motors.
I'm wondering how to solve this easily. Perhaps the velocity and acceleration should be computed from derivatives of the desired trajectory. Your thoughts?

Hi Jan,
thanks for your interest in this project. Be aware that the code was only intended and tested on Beckhoff AX5000 servo drives.
The usage of MC_ExtSetPointGenFeed is a rather delicate.  Usually a wrong set of PID parameters for the position and current controller is responsible for loud servo motors. There are currently three solutions for this problem, with which I am experimenting:

usage of two different PID parameter sets for slewing and tracking
calculation of analytical velocities (as done for the derotator)
calculation of empirical velocities and accelerations as a time derivative of the (last) positions.

The first one requires writing of the SoE parameters from the runtime, which is doable, but risky. Setting wrong parameters might havoc the drive.
For the last two I have to note that the MC_ExtSetPointGenFeed seems to use the set velocity and acceleration values as upper limits for the position change.

Thanks for the feedback. I just had success with your third option!  I compute the velocity and acceleration demands by saving the last three position demands (no noise in these) and on each step I compute the derivatives and pass the results into the MC_ExtSetPointGenFeed.
I removed the logic that uses (0.95 of the current position * 0.05 of the target position) to set the position demand. I didn't want the encoder noise in the current position to corrupt my velocity and acceleration derivatives. Since I removed this filtering, it is important that I trigger track mode directly after the slew finishes so that there isn't a large step in the telescope position on initiation of tracking.  I'm sure that could be handled in a better way.
I also worked with AX5000 drives in the past, and I do believe they respect the Velocity and Acceleration specified in the MC_ExtSetPointGenFeed, at least that is what our Beckhoff rep told me, and it seemed to work.
Jan

Thanks for the hint. Is there any chance, you could send me the code snippet?
Jörg

I added a few variables to FB_Axis2:
Velocity_demand:	LREAL := 0.0;
Acceleration_demand:	LREAL := 0.0;
Position_demand: LREAL := 0;
Position_step_minus1: LREAL := 0;
Position_step_minus2: LREAL := 0;
Velocity_step_minus1: LREAL := 0;
Then each iteration I do:
Position_demand := Position;
IF Position_demand > AbsolutePosition THEN
Direction := -1;
ELSE
Direction := 1;
END_IF
Velocity_demand := ABS(Position_demand - Position_step_minus1)/0.004;
Acceleration_demand := ABS(Velocity_demand - Velocity_step_minus1)/0.004;
IF Velocity_demand > 8.0 THEN
Velocity_demand := 8.0;
END_IF
IF Acceleration_demand > 1.0 THEN
Acceleration_demand := 1.0;
END_IF
MC_ExtSetPointGenFeed(
Position :=		Position_demand,
Velocity :=		Velocity_demand,
Acceleration :=	Acceleration_demand,
Direction :=	Direction,
Axis :=			AxisRef);
Position_step_minus2 := Position_step_minus1;
Position_step_minus1 := Position_demand;
Velocity_step_minus1 := Velocity_demand;
0.004 is my loop interval in seconds.  I haven't tested this rigorously, but the first attempt resulted in smooth tracking of the RA/Dec of an object.
Jan


missing requirements.txt

As title this repository missing an official requirements.txt to guide developer to install dependencies. Will it come up later?

Since there is only one package (flask), I decided to not add a requirements.txt and simply include it in the instructions. This won't be added unless I start using many additional dependencies which is unlikely.
Closing this issue since your question has been answered and this issue is so old. Let me know if you'd like to reopen it.


Remove complete_fetch and use complete_fetch_locked

Remove complete_fetch and use complete_fetch_locked in chttp2 transport.

test this please

No significant performance differences

Test failures:
gRPC_interop_pull_requests - #10443


changes in index and featured-article key

Issue
Fix #262
Test URLs

Before: https://main--merative2--hlxsites.hlx.page/blog
After: https://blog-category-fix--merative2--hlxsites.hlx.page/blog
Before: https://main--merative2--hlxsites.hlx.page/blog/real-world-evidence
After: https://blog-category-fix--merative2--hlxsites.hlx.page/blog/real-world-evidence

Description
updated blogs to look at new index + updated code to use new featured-article key.

don't merge yet. code changes are not being applied because of the large CSP headers


Return correct response to emulated attribute writes

Return correctly formatted  response to emulated write_attributes commands. This wasn't a problem earlier, when ZHA was using plain patches, but if using quirks in tests it actually exposes the underlying problem and this starts failing Tuya specific tests if testing with the quirks.

i need to fix the tests

Codecov Report

Merging #1024 (9eeefab) into dev (28bd89a) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##              dev    #1024   +/-   ##
=======================================
  Coverage   81.76%   81.76%
=======================================
  Files         191      191
  Lines        4968     4968
=======================================
  Hits         4062     4062
  Misses        906      906

Impacted Files
Coverage Δ

zhaquirks/tuya/__init__.py
72.74% <50.00%> (ø)

zhaquirks/tuya/valve.py
86.52% <50.00%> (ø)

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 8 (50.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.763%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

zhaquirks/tuya/valve.py
1
2
50.0%

zhaquirks/tuya/init.py
3
6
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4062

Relevant Lines:
4968

💛  - Coveralls

I've tested with
{
  },
  "manufacturer": "_TZE200_ckud7u2l",
  "model": "TS0601",
  "class": "zhaquirks.tuya.valve.MoesHY368_Type1"
}

And it seem to work fine. I'm going to test again with the original version.
I'm on the fence whether to rely on zigpy functionality in ZHA tests or just plug it again in zha tests?

with the current zhaquirks version I'm getting the same error as in my failing ZHA tests
2021-09-06 23:10:46 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base][0x2BF5:1:0x0201]: wrote {'operation_preset': 2} attrs, Status: (<Status.SUCCESS: 0>,)
2021-09-06 23:10:46 DEBUG (MainThread) [homeassistant.components.zha.entity] climate.tze200_ckud7u2l_ts0601_ed9396fe_thermostat: Couldn't turn off 'away' preset

Some quirk cluster commands are translated into attribute writes and need to correct quirk to return default response for those and attribute write response for attribute writes.

The last comment i think some user have seen on some TRVs but its looks like different Zigbee module (TZE200 or TYST11) can handling it little different ways but is more or less normal for tuya devices to having little "defects" but working.
Great that you is digging little in the tuya implantation and fixing some old not so good things in the code :-))

@MattWestb Can you test with branch with your TRVs?

Normally no problems but i is going to the car now and heading for southern Spain for Holiday and the test network is let at home so cant do it until the end of September :-((
Sorry for not can helping you !!

Was stopping by IKEA Montpelier (southern France and red covid19 territory) and was baying 2 if the stemless steel Remotes Styrbar (E2001 i think it) that i cant getting in Austria. Italy or Spain and they was only 10€ etch :-)
Great work and i testing it on the https://github.com/zigpy/zha-device-handlers/blob/2ca8ffe2c6057e8aab8f81b44435f36aae61125a/zhaquirks/tuya/valve.py#L883
after my birthday in little more then 2 weeks then im at home if all is going well.

Was stopping by IKEA Montpelier (southern France and red covid19 territory) and was baying 2 if the stemless steel Remotes Styrbar (E2001 i think it) that i cant getting in Austria. Italy or Spain and they was only 10€ etch :-)
Great work and i testing it on the https://github.com/zigpy/zha-device-handlers/blob/2ca8ffe2c6057e8aab8f81b44435f36aae61125a/zhaquirks/tuya/valve.py#L883
after my birthday in little more then 2 weeks then im at home if all is going well.

Do i need testing it on my production network for the SiterwellGS361 or is it working OK in the dev Chanel ?
I have not bringing my test network up then they is running in docker containers on my laptop and I have not unpacking all the things from the holiday trip.
If you think / like i can taking the time and patching the production network but if you thing its no bringing any thing its better letting it running without braking things.


Nmea new

Codecov Report

Merging #6 (895e4b4) into main (466f9d9) will decrease coverage by 3.68%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   97.53%   93.84%   -3.69%
==========================================
  Files          19       25       +6
  Lines         486      617     +131
==========================================
+ Hits          474      579     +105
- Misses         12       38      +26

Impacted Files
Coverage Δ

geolocator/lib/geolocator.dart
100.00% <100.00%> (ø)

geolocator_android/lib/src/geolocator_android.dart
100.00% <100.00%> (+2.10%)
:arrow_up:

.../src/errors/nmea_already_subscribed_exception.dart
100.00% <100.00%> (ø)

...nterface/lib/src/errors/nmea_update_exception.dart
100.00% <100.00%> (ø)

...terface/lib/src/geolocator_platform_interface.dart
100.00% <100.00%> (ø)

...src/implementations/method_channel_geolocator.dart
100.00% <100.00%> (ø)

...latform_interface/lib/src/models/nmea_message.dart
100.00% <100.00%> (ø)

geolocator_linux/lib/src/geolocator_linux.dart
45.71% <0.00%> (ø)

geolocator_linux/lib/src/geoclue_x.dart
60.00% <0.00%> (ø)

geolocator_linux/lib/src/geolocator_gnome.dart
90.90% <0.00%> (ø)

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Unable to disable TLS for debugging purposes

Driver version
<IP_ADDRESS>
Problem description
From the source, it appears that if TLS is explicitly disabled, it will simply generate an error, either:
Invalid connection property value sslmode: disable  (setting sslmode=disable)
or
The value for property sslmode is invalid. Valid values are: verify-full, verify-ca.
or
Conflict in connection property setting sslmode and ssl (setting ssl to false and sslmode=disable)
The actual driver advertises the sslmode value of "disable" is supported, and the code is there, inherited from the Postgres fork, but if selected, it will not work.  The only values of sslmode that are allowed are verify-full and verify-ca.

Hi @ebrandsberg, thank you for submitting this issue and contributing to make the Redshift JDBC Driver better! We will look into this and get back to you once we have an update!

@ebrandsberg we have a fix for this which will be in driver version <IP_ADDRESS>, where you can specify ssl=false and need not specify sslmode explicitly. The code path this would take would set sslmode to DISABLE.
Please note that when connecting via IAM, sslmode cannot be set to DISABLE and therefore it will be set to PREFER if left unspecified and will indeed result in an error if explicitly set to DISABLE.
Also, the require_ssl property needs to be set to false (it is false by default) on the Redshift cluster you are connecting to, for it to accept client connections where ssl is false.
Thank you for contributing to the Redshift JDBC 2.x Driver!


Mikrotik Integration does not handle disconnection

The problem
When the Mikrotik hub becomes disconnected from a device the hub appears to keep trying to pull data instead of becoming unavailable. Eventually hass becomes unresponsive and log becomes large in size.
Environment
Debian 10 x64
Python 3.7 virtual env

Home Assistant release with the issue: 0.105.3
Last working Home Assistant release (if known):  new issue
Operating environment (Hass.io/Docker/Windows/etc.): Debian 10
Integration causing this issue: Mikrotik
Link to integration documentation on our website:

Traceback/Error logs
2020-02-17 20:50:39 ERROR (SyncWorker_27) [homeassistant.components.mikrotik.hub] Mikrotik <IP_ADDRESS> connection error Connection unexpectedly
 closed.
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 245, in command
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 137, in async_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 352, in request_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 358, in async_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 272, in update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 212, in update_devices
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 227, in do_arp_ping
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 254, in command
homeassistant.components.mikrotik.errors.CannotConnect
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 245, in command
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 137, in async_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 348, in request_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 137, in async_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 352, in request_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 358, in async_update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 272, in update
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 212, in update_devices
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 227, in do_arp_ping
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mikrotik/hub.py", line 254, in command
homeassistant.components.mikrotik.errors.CannotConnect

Additional information

Hello @slackr31337
Can you enable debug level for mikrotik component and send us the logs again.

Hi @engrbm87, I'm sorry but now I can not seem to re-create the issue. Maybe it was an issue with my router.
I upgraded the firmware on my RB2011 and it never reconnected. Now when I manually disconnect the API connection the mikrotik integration re-connects as expected. I think this can be closed.
2020-02-19 16:51:05 ERROR (SyncWorker_23) [homeassistant.components.mikrotik.hub] Mikrotik <IP_ADDRESS> connection error Connection unexpectedly closed.
...
2020-02-19 16:51:21 DEBUG (SyncWorker_47) [homeassistant.components.mikrotik.hub] Connecting to Mikrotik hub [<IP_ADDRESS>]
2020-02-19 16:51:22 DEBUG (SyncWorker_47) [homeassistant.components.mikrotik.hub] Connected to <IP_ADDRESS> successfully
2020-02-19 16:51:22 DEBUG (SyncWorker_47) [homeassistant.components.mikrotik.hub] updating network devices for host: <IP_ADDRESS>
2020-02-19 16:51:22 INFO (SyncWorker_47) [homeassistant.components.mikrotik.hub] Running command /ip/dhcp-server/lease/getall
2020-02-19 16:51:22 DEBUG (SyncWorker_47) [homeassistant.components.mikrotik.hub] Falling back to DHCP for scanning devices
2020-02-19 16:51:22 INFO (SyncWorker_47) [homeassistant.components.mikrotik.hub] Running command /system/routerboard/getall

Great to hear that. Please close the ticket if your problem is resolved.

Closing this issues as it has been solved.

I am seeing same issue but only get these logs:
2020-02-24 23:44:39 DEBUG (SyncWorker_16) [homeassistant.components.mikrotik.hub] Connecting to Mikrotik hub [<IP_ADDRESS>]
2020-02-24 23:44:39 ERROR (SyncWorker_16) [homeassistant.components.mikrotik.hub] Mikrotik <IP_ADDRESS> error: Connection unexpectedly closed.

I am running HomeAssistant 0.105.5 on docker.


[DOC-2727] Custom cache paths, clarify storage

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[x] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

DOC-2727: Clarify some questions about cache storage and custom paths.
Style edits: heading levels, presentation/UX

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-893

Preview environment: https://hdh.pr.harness.io/pr-893

Preview environment: https://hdh.pr.harness.io/pr-893


Cross-platform npm scripts using cross-env

Added cross-env in the same way as in https://github.com/rrweb-io/rrweb/pull/17.
npm test completes successfully on Windows 10 now.

Thanks!


Add conformance classes to Landing Page

The LandingPage should include conformance classes to describe the conformance classes, in addition to the conformance endpoint.
In addition, there's currently a single conformance class. I'd recommend using:
"conformsTo": [
"https://api.stacspec.org/v1.0.0-beta.1/core",
  "https://api.stacspec.org/v1.0.0-beta.1/item-search",
  "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core",
  "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30",
  "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"
]

Along with adding conformance classes based on what extensions are enabled.
From: https://github.com/radiantearth/stac-api-spec/tree/master/core

The conformsTo section must provide the capabilities of this service. This is the field that indicates to clients that this is a STAC API and how to access conformance classes, including this one. The relevant conformance URI's are listed in each part of the API specification. If a conformance URI is listed then the service must implement all of the required capabilities.

Does stac-fastapi not implement OAFeat also? if so, it should include https://api.stacspec.org/v1.0.0-beta.2/ogcapi-features


css-loader error?

Hi Guys,
When I'm running the yarn build command I get this error:
`
ERROR in ./~/css-loader!./shared/components/DemoApp/globals.css
Module build failed: Error: ENOENT: no such file or directory, open 'C:******r\node_modules\svgo.svgo.yml'
`
I'm not sure it's a css-loader error, my project does not depend on SVGO, but it appears in node-modules folder.
All works fine in develop mode.
Any ideas?
I'm running on windows 10 with the latest code.
Thanks.

If you run the command yarn why csso we get the result css-loader#cssnano#postcss-svgo.
So css-loader is in fact depending on svgo.
This seems to fix the problem: https://github.com/svg/svgo/issues/622

@saniko like @birkir said, the problem you're encountering is due to yarn clean https://github.com/yarnpkg/yarn/issues/1051
Delete your node_modules. Manually create a .yarncean file and create a filter !.svgo.yml

Thanks.


M3-1525 defer disks

Notes
Initial ticket description was for deferring requests on LinodePasswordPanel, but those were already being deferred. The only requests being made on load for /settings were coming from the paginated request() call in LinodeDisks. Added an onChange handler for the parent component's ExpansionPanel; requests are now made only on (first) load.
Also added loading and error states for the Disks list display. Currently throwing an error if this.props.disk is undefined after loading is complete, but that is debatable.

On LinodeSettings, defer requests to /disks until either the password
panel (already default behavior) or AdvancedConfigs panel are opened.
Add active prop to LinodeDisks to toggle from parent ExpansionPanel

Coverage decreased (-0.03%) to 27.023% when pulling 25df7547866fa678bc229bfdd4e6dc9d38e7879d on Jskobos:M3-1525-defer-disks into 8bdd58d7df9d2c36eb9e8ed3348e2e1dc4a15899 on linode:develop.

In response to @martinmckenna we discussed this when we made the ticket and agreed there would be no trickery/sharing. (Reviewing...)

In "Advanced Configurations" deleting a disk fails to remove it from the Configuration.


trace, dlp: put project.properties file in the right places

Fixes #2125.

Coverage increased (+0.008%) to 81.201% when pulling 05edafdbb9dec227a3141b026e1bc75b53d0ed70 on pongad:cp-prop into c48dc6d4fc2ac5830181cd57b925ecf858aea613 on GoogleCloudPlatform:master.

LGTM


[BEAM-7665] Support TypeDefinition options in beam.Combine()

The main changes are adding typedef params to Combine and CombinePerKey. The typedefs will be passed to Bind() when binding generic types to concrete ones.
R: @lostluck

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Run Go PostCommit

Sorry for this not being merged in yet. Ahmet gets back soon.

Run Go Precommits


no labeling of the fields in my iobroker adapter (v1.0.5)

Hello, I'm still doing the basic setup.
Unfortunately, there is no labeling of the fields in my iobroker adapter (v1.0.5).
So I can't see what goes in where.
greetings
Adapters(v1.0.5)
Node V14.20.0
iobroker 4.0.23

node 14 is out of support since a longer period. Several adapters are known to have problems with n ode 14.
js-controller 4.0.23 has been replaced by 4.0.24 xome time ago.
Please update your system and let uas know if the problem still exists.
Please add the admin adapter version in use and update admin if not at current level too.

The ioBroker now has all updates including<EMAIL_ADDRESS>and iobroker 6.9.1.
Unfortunately, nothing has changed with the adapter. I found that you can highlight the text though.

Please try to selct text or change from dark mode ... I assume there is an issue with the color scheme


Changed the README.md (simplified introduction & complex example)

Description
Changed the README.md to something which is hopefully simpler in definition and added and example to illustrate how Direktiv executes complex workflows
Purpose

[ ] Bug fix
[ ] New feature
[ X] Other

How was this tested? (if applicable)
Updated from forked repo
Test Platform Details (if applicable)
N/A
Checklist

[ ] Code is commented
[ ] Unit test coverage encompasses new code
[ ] Existing unit tests pass with these changes
[ ] PR is signed

Deleted - should be good to go.


Add a more complex example to aid in understanding correct usage

Hi, this is a fantastic utility. I got a little confused on how to use it, as initially I was providing /full/path/to/some.proto as an argument and got a very unhelpful File not found error. Turns out that error is from deep within the protobuf library and was caused by me not understanding how to properly setup --proto_path and then reference a .proto file that exists within one of the configured proto search paths.
I added a more complex protobuf schema which imports another schema along with a couple examples to hopefully clarify how to use this for future travelers.
Also, I added comments in the Makefile for those (like me) who want to statically link libprotobuf into the output ProtobufJson binary.

Thanks for the feedback; I've made updates based on your suggestions.

@davilla-stripe For this repo, I'd like to try to maintain linear history.
Thus, I'd appreciate it if you could squash the commits before merging, instead of creating a merge commit.
Or I can rewrite the history and merge it for you if that's easier.

@davilla-stripe For this repo, I'd like to try to maintain linear history. Thus, I'd appreciate it if you could squash the commits before merging, instead of creating a merge commit. Or I can rewrite the history and merge it for you if that's easier.

Squashed!


Row level locking

Hello!
I try to implement read-modify pattern via row level locking mechanism. Something like this:
SELECT ... FOR UPDATE;
UPDATE ... COMMIT;

And cannot imagine how I can realise it in Objection. With pure knex I can use transaction method plus forUpdate.
Could you suggest any workaround for implementation this query?

The forUpdate and forShare methods are missing. I will add them in the 0.4.0 version. Until then you could try this really ugly workaround:
objection.QueryBuilder.prototype.forUpdate = function () {
  this._knexMethodCalls.push({method: 'forUpdate', args: []});
  return this;
};

Then you should be able to use this method in a transaction.

Thank you very much for workaround. It works!

@Biktop 0.4.0-rc.2 has the forUpdate` method, if you want to test it out.