reconnect services dynamically

Question
Hi - I have nsc-kernel and two nse-kernel
I have declared networkservice to connect nsc to nse-1
using selector - works fine.
Now I want to connect nsc to nse-2
I redeployed corresponding networkservice.
But no change was propogated automaticaly.
Is there a possibility to reconnect services dynamically?

As I understood sidecar container inside client should handle networkservice declaration changes.
But for some reason it does not.
What do I miss?

Hi
maybe it will be useful
in
sdk/pkg/networkservice/common/refresh/client.go
func after(ctx context.Context, conn *networkservice.Connection) time.Duration
minTimeout
seems never expires

seems during refresh connection, the changes of networkservice declaration are not handled

The problem looks interesting to me.
@edwarnicke
I see next solutions:

We could rework  discoverforwarder chain element to be able to refresh networkservice to match a new endpoint.
[Preferred] We could add a possible for the NSMgr to monitor the network services and if ns will be changed the NSMgr could send an event to the NSC to schedule a Request to change endpoint ASAP.
Your option.

Please share your thoughts.

Hi,
Seems idea with NSC is the best.
During connection refresh it should switch working in networkservice context not in connection one.
I will tell even more - in the current solution possible the next scenario:

network service was changed
all continues working as before
NSC crashes
somehow insc-init takes new networkservice and connects like described there - leads to frustration.

Hope it helps.
Have a good day!!!

Hi
Seems feature is not functioning as expected:
What was done:
After test onstall
network service: connects client to nse-1
kubectl get networkservice -A -o yaml
apiVersion: v1
items:

apiVersion: networkservicemesh.io/v1
kind: NetworkService
metadata:
...
spec:
matches:

routes:

destination_selector:
app: nse-kernel-1
source_selector: null
payload: ETHERNET
...

client:
Defaulted container "app" out of: app, cmd-nsc, cmd-nsc-init (init)
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: nsm-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
link/ether 02:fe:ff:7f:5e:ab brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/32 scope global nsm-1
valid_lft forever preferred_lft forever
inet6 fe80::fe:ffff:fe7f:5eab/64 scope link
valid_lft forever preferred_lft foreve
972: eth0@if973: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ae:7a:b7:36:bc:ae brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::ac7a:b7ff:fe36:bcae/64 scope link
valid_lft forever preferred_lft forever
nse-1:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: kernel2ker-d2c2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
link/ether 02:fe:23:55:9d:52 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/32 scope global kernel2ker-d2c2
valid_lft forever preferred_lft forever
inet6 fe80::fe:23ff:fe55:9d52/64 scope link
valid_lft forever preferred_lft forever
970: eth0@if971: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 4e:3e:c4:21:9d:1a brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::4c3e:c4ff:fe21:9d1a/64 scope link
valid_lft forever preferred_lft forever
nse-2:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
974: eth0@if975: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether da:46:1f:8a:dc:92 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::d846:1fff:fe8a:dc92/64 scope link
valid_lft forever preferred_lft forever
All is OK
Now - edit network service so client connects to nse-2:
kubectl get networkservice -A -o yaml
apiVersion: v1
items:

apiVersion: networkservicemesh.io/v1
kind: NetworkService
metadata:
...
spec:
matches:

routes:

destination_selector:
app: nse-kernel-2
source_selector: null
payload: ETHERNET
...

after ~40 sec
client:
Defaulted container "app" out of: app, cmd-nsc, cmd-nsc-init (init)
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: nsm-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
link/ether 02:fe:0d:f4:0e:26 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/32 scope global nsm-1
valid_lft forever preferred_lft forever
inet <IP_ADDRESS>/32 scope global nsm-1
valid_lft forever preferred_lft forever
inet6 fe80::fe:dff:fef4:e26/64 scope link
valid_lft forever preferred_lft forever
972: eth0@if973: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ae:7a:b7:36:bc:ae brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::ac7a:b7ff:fe36:bcae/64 scope link
valid_lft forever preferred_lft forever
nse-1
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
970: eth0@if971: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 4e:3e:c4:21:9d:1a brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::4c3e:c4ff:fe21:9d1a/64 scope link
valid_lft forever preferred_lft forever
nse-2
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: kernel2ker-828b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
link/ether 02:fe:e9:e4:26:7c brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/32 scope global kernel2ker-828b
valid_lft forever preferred_lft forever
inet <IP_ADDRESS>/32 scope global kernel2ker-828b
valid_lft forever preferred_lft forever
inet6 fe80::fe:e9ff:fee4:267c/64 scope link
valid_lft forever preferred_lft forever
974: eth0@if975: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether da:46:1f:8a:dc:92 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::d846:1fff:fe8a:dc92/64 scope link
valid_lft forever preferred_lft forever
This is not what expected:

client and nse-2 has 2 ips from nse-1 and nse-2 expected from nse-2 only
It tooks too much time to switch

I think we need to react on networkservice change during connect refresh in nsc.
I see connection refresh is done often enough.
Just during refresh nsc should check if networksevice was changed and if yes start connections in the context of networkservice (new connection(s))
if not continue in context of existing connection(s) as it's done now.
Thanks.
Have a good day!!!

@barby1138 Hello!
Many thanks for testing!

Seems feature is not functioning as expected

Could you please attach the logs & deployments version and create a new ticket at https://github.com/networkservicemesh/deployments-k8s?

I think we need to react on networkservice change during connect refresh in nsc.

This option is a bit slower than the current solution. I feel we could start with checking logs and return to this option if we find some blockers in the current solution.

Hi Denis
I use resent version ref=4ee0befafb18c3ad5355c1a9ec3ae8c10e3616b6
I use modified usecase kernel2kernel with 1 nsc and 2 nse started - networkservice directs nsc to connect nse-1 initially
then I modify networkservice to direct nsc to connect nse-2 (described above)
and then check atractors interfaces with "ip addr" command
Also from nsc logs I see connection refresh is done a bit more often than 40 sec. - actually - if I understand correctly - it happens every 2 sec.
have a good time!!!

@barby1138

Also from nsc logs I see connection refresh is done a bit more often than 40 sec. - actually - if I understand correctly - it happens every 2 seconds.

Hmm.. It seems like it's happening because of the monitoring that we added.
But it seems like something is going wrong with reselecting ednpoint and clearing the previous datapath information.
So, any logs could be helpful.

Thank you and good luck!!!

@barby1138 I've created a separate ticket for this issue, because it looks like related to our healing feature. Lets continue discuss it there https://github.com/networkservicemesh/deployments-k8s/issues/9888


Flexibility in charge min / max current per vehicle

Let me state before, that I am currently evaluating whether evcc and a new charger could be a solution for me and so I do not have practical experience yet. So please apologize if some of the features exist already and I just didn't find it.
Problem statement
Different vehicles can have different charging characteristics. For example the Renault Zoe needs at least 10A and can charge up to 32A on one phase (when ignoring topics like "Schieflast"). While many other cars support the standard 6A - 16A.
So when one wants to charge multiple such vehicles on the same loadpoint, it is not sufficient to have a fixed min and max current, as either the Zoe would not load correctly or the other car would also start from 10A only.
Describe the solution you'd like
Ideally there should be a min/max-current configuration on the vehicle level.
evcc would auto-detect which vehicle is connected and adjust accordingly.
Describe alternatives you've considered
Other possibilites would be to have a manual switch in the application.
Or could evcc detect that a car is not charging correctly (e.g. the Zoe with too low current) and set the lower boundary itself?

For time being this sounds like a very specific requirement. Will reevaluate at a later time.

That's ok, it's not urgent either. But i would not say it is very specific, the Renault Zoe is a very popular car :-)

Current ZOE Versions (R) do charge fine in a range from 6 to 32A on a single phase. So there is no urgent need to change anything related to this.

OK cool, I didn't know that. As our Zoe is the most recent one, probably that problem does not exist at all for me! Thank you


Vault ssl cert resolver for stacks

Can be used to multiselect certificates from Kontena Vault.
Example:
variables:
  lb_certs:
    type: array
    required: false
    from:
      vault_cert_prompt: Select SSL cert secrets
services:
  lb:
    image: kontena/lb:latest
    ports:
      - 80:80
      - 443:443
    secrets:
      # {% for cert in lb_certs %}
      - secret: {{ cert }}
        name: SSL_CERTS
        type: env
      # {% endfor %}

secrets: # {% for cert in lb_certs %} - secret: {{ cert }} name: SSL_CERTS type: env # {% endfor %}

I would be curious to know how this kind of configuration with multiple identically named envs is implemented.

Docs?

Added some docs about this resolver.


Trigger container service deployment

Hey guys,
i have a web container service on azure and would like to trigger a deployment in our CI tool with a webhook.
I found the Manually triggering a deployment guide. But this didn't work for container services (I guess?).
I also tried to trigger the deployment with this webhook:
POST<EMAIL_ADDRESS>
This works (if the DOCKER_ENABLE_CI=true is set), but during the deployment no new docker image is pulled:
2017-12-15 15:59:24.575 INFO  - Issuing docker pull foo.azurecr.io/bar/baz:latest
2017-12-15 15:59:25.046 INFO  - docker pull returned STDOUT>> latest: Pulling from bar/baz
Digest: sha256:a30a064d660c8834206c7e1438f7270a9a4efa03ec571566e91d80f1df29ec6e
Status: Image is up to date for foo.azurecr.io/bar/baz:latest

Is it possible to trigger a new deployment with a webhook? Or how about the right way to trigger a deployment from an external CI tool?
Many thanks!

Hi @marcel-devdude,
It sounds like you've pushed a new container image and you want to get it running in your app, is that correct?
The deployment guide you linked is for deploying apps from source code via git or other SCM providers, that won't help here.
An app running a custom container will check the source repo for a changed image every time it starts up. The webhook that you mentioned simply triggers a restart of the app container, so that this check is run and a new image is loaded if one is available.
The message you got is "Image is up to date." Are you sure you pushed a new image to the same repo and tag? Your app is configured to run with only the image name you give it, it will not check for new/different tags.

Ah, ok. I thought the service will pick the last pushed Image. With the same tag it works.
But only with DOCKER_ENABLE_CI=true this feels a bit „hacky“. What is the „professional“ way to handle new deployments?

That setting isn't a hack at all, it's a "safety switch" that can be easily turned off if you want your app to stop reacting to webhooks you may have forgotten about or can't figure out how to turn off. Although you could always reset your publishing profile password instead.
The webhook is a first-class solution, but one could argue that the full-blast "professional" way of managing images and deployments is the following:

Disable the webhook.
Use a build/CI service like VSTS to build and push your Docker image in an automated way. Since your image powers a live site, your build process should manage your tags similar to build IDs: always push to a new tag with a unique identifier for traceability, keep old builds around for rollback/investigative purposes, and maybe publish to multiple tags for ease of use (like "latest", but configure your app with that).
Once the image is pushed, use the build service to push new configuration to your app via ARM to change the tag. This will trigger a restart and your new image will be pulled and run.

Thank you. Very helpful. I‘ll have a look at the VSTS solution.


Change icon for freeze columns

Maybe https://fontawesome.com/v6.0/icons/icicles ?

Or https://www.compart.com/en/unicode/U+2744 ?


Bluetooth: ISO: HCI ISO over USB

Is your enhancement proposal related to a problem? Please describe.
Currently it is not possible to transmit or receive HCI ISO data using e.g. the native_posix board on a board running the hci_usb or hci_usb_h4 samples.
Describe the solution you'd like
Make it possible to send and receive HCI ISO data over USB using the hci_usb or hci_usb_h4 samples.
Describe alternatives you've considered
N/A
Additional context
ISO USB from the core spec (version 5.3, vol 4, part B, 2.5:

2.5 ISOCHRONOUS ENDPOINTS EXPECTATIONS
These isochronous endpoints transfer synchronous data to and from the Controller of the radio.
Time is the critical aspect for this type of data. The USB firmware should transfer the contents of the data to the Controllers' synchronous FIFOs. If the FIFOs are full, the data should be overwritten with new data.
These endpoints have a one (1) ms interval, as required by Chapter 9 of the USB Specification, Versions 1.0 and 1.1.
The radio is capable of three (3) 64 kb/s voice channels (and can receive the data coded in different ways – 16-bit linear audio coding is the method that requires the most data). A suggested max packet size for this endpoint would be at least 64 bytes. (It is recommended that max packet sizes be on power of 2 boundaries for optimum throughput.) However, if it is not necessary to support three voice channels with 16-bit coding, 32 bytes could also be considered an acceptable max packet size.

@Thalley For USB operation native_posix relies on BlueZ to load the USB driver and forward the ISO data channel to the socket interface that Zephyr uses. Current Linux kernel do not have support for this - hence one would need to wait for support @Vudentz might be able to comment as he knows more about BlueZ than I do.
A workaround could be to have the hci_usb sample application use the ACL channel for ISO data and implement multiplexing in the native-posix zephyr build based on the connection handle - which will be different for an ACL and the ISO. Such a solution will not require BlueZ support for ISO data transport.
I have only ben using the hci_uart sample application.

@jhedberg @Vudentz If you have any input on this, please share :D

This is still valid


[Bug]:  SubQuestionQueryEngine error

Bug Description
While using SubQuestionQueryEngine for multiple index query im getting some un explainable error please take a look.
Version
0.7.11 post1
Steps to Reproduce
used GPTVectorStoreIndex to generate indexes for 2 documents. Then used SubQuestionQueryEngine for query.
Relevant Logs/Tracbacks
Traceback (most recent call last):
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/output_parsers/utils.py", line 19, in parse_json_markdown
    json_obj = json.loads(json_string)
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 5 column 1 (char 112)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/output_parsers/utils.py", line 26, in parse_json_markdown
    json_obj = yaml.safe_load(json_string)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/composer.py", line 58, in compose_document
    self.get_event()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/parser.py", line 118, in get_event
    self.current_event = self.state()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/parser.py", line 193, in parse_document_end
    token = self.peek_token()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/scanner.py", line 129, in peek_token
    self.fetch_more_tokens()
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/yaml/scanner.py", line 258, in fetch_more_tokens
    raise ScannerError("while scanning for the next token", None,
yaml.scanner.ScannerError: while scanning for the next token
found character '`' that cannot start any token
  in "<unicode string>", line 5, column 1:

    ^

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dhaval/llama_index/backup/multii.py", line 95, in <module>
    response = s_engine.query("What is the date of agreement for abbisko?")
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/indices/query/base.py", line 23, in query
    response = self._query(str_or_query_bundle)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/query_engine/sub_question_query_engine.py", line 123, in _query
    sub_questions = self._question_gen.generate(self._metadatas, query_bundle)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/question_gen/llm_generators.py", line 63, in generate
    parse = self._prompt.output_parser.parse(prediction)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/question_gen/output_parser.py", line 11, in parse
    json_dict = parse_json_markdown(output)
  File "/home/dhaval/llama_index/lam/lib/python3.10/site-packages/llama_index/output_parsers/utils.py", line 28, in parse_json_markdown
    raise OutputParserException(
llama_index.output_parsers.base.OutputParserException: Got invalid JSON object. Error: Extra data: line 5 column 1 (char 112) while scanning for the next token
found character '`' that cannot start any token
  in "<unicode string>", line 5, column 1:
    ```
    ^

I think it's due to the LLM outputting a response with bad format (e.g. missing a backtick).
The function calling models are much more reliable. You can do so by setting the LLM to use gpt-3.5-turbo or gpt-3.5-turbo"

I think it's due to the LLM outputting a response with bad format (e.g. missing a backtick).
The function calling models are much more reliable. You can do so by setting the LLM to use OpenAI gpt-3.5-turbo or gpt-3.5-turbo"

i'm using the open source llm by databricks. dollyv2-12b


Live mode demonstration on documentation site demo 'twitches'

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to synchrocharts.com
Open a seperate tab on your browser, and visit that tab, leaving the synchrocharts.com page in the background tab.
Wait 5 seconds
Switch back to the synchrocharts.com tab
Observe the live updating chart, it will 'jerk' everytime new data is provided to it

Expected behavior
Expect a smooth UX when live streaming data in
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: OSX 11.6.2
Browser: chrome
Version: 96.0.4664.110 (Official Build) (x86_64)

Additional context
Confirmed that this regression was introduced within https://github.com/awslabs/synchro-charts/commit/c1c1793fab8918f9e4bfd98313728e42eb5302c9

addressed by fixing the status-timeline, preventing it from creating new viewport references on every re-render


thebookisclosed.Vive version 0.3.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111060&drop=dogfoodAlpha

Close with reason: null;
This is a banned submission. Please see https://github.com/microsoft/winget-pkgs/pull/92418#issuecomment-1406903479 from @thebookisclosed


Gem for illumos

What version of gRPC and what language are you using?
1.18.0 - Ruby
What operating system (Linux, Windows, …) and version?
XStreamOS / illumos (OpenSolaris - Solaris 11)
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc 4.7
What did you do?
I could build all the grpc component from source, install everything in a proto area for packaging and published the component that is now installed on a running system.
Now I want this running system to "gem install grpc" without rebuilding any native stuff, because I already have everything from the built package : I would like it to use all my built stuff.
Trying to build the gem from the source tree gives errors inside the "third_party" tree, which is not used during the component build because I already have all as system libs.
What did you expect to see?
I would like to build a gem that reuse my built stuff and system libs.
What did you see instead?
Always trying to look for native stuff as third_party which I already have in the system.
Anything else we should know about your project / environment?
I also tried from the running system a gem install with "--use-system-libraries", but it will always try to build the third_party stuff.

We acknowledge this to be a valid feature request but since no one has come forward to implement this, we are going to close it for now while maintaining the label/Help wanted to indicate that this can be picked up as future work


Cypress v7.0.0 vs included Node Version

Node was updated to v14, but docker image node version was not.
https://github.com/cypress-io/cypress/pull/15292
https://hub.docker.com/layers/cypress/included/7.0.0/images/sha256-480b625a646a1bcf24041c2c04c25f289fec282349a51eb6c450ab2867715eca?context=explore

yeah, good question, we should have matched the included Node version

Typically we check the bundled Node version to be the same as the installed Node version in the included image. But since v7.0.0 Docker image kept crashing due to a shared dev memory issue https://github.com/cypress-io/cypress/issues/15814 we had to push the image manually bypassing this check. The next release 7.0.1 will go through the normal CI workflow and will prevent the mismatch.


Remove ClearPreviousSBRP target from repo-projects/source-build-reference-packages.proj

Publishing changes in arcade (https://github.com/dotnet/arcade/pull/14559) are replacing old model of propagating artifacts from repo build to shared VMR locations.
Remove ClearPreviousSBRP target once the arcade changes have flown to installer repo.
New publishing model also adds a new task for clearing previous SBRPs during inner-build - after building and before publishing.

Blocked by https://github.com/dotnet/installer/pull/19145


[BUG] Get-PnPUnifedGroup Doesn't Exist

Reporting an Issue or Missing Feature
Missing Feature
Expected behavior
Cmdlet Reference:
https://pnp.github.io/powershell/cmdlets/Get-PnPUnifiedGroup.html
Actual behavior
The term 'get-pnpunifiedgroup' is not recognized as a name of a cmdlet, function, script file, or executable program.
Steps to reproduce behavior
Connect to the SPO admin center
Run Get-PnPUnifiedGroup
What is the version of the Cmdlet module you are running?
2.5.0
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

The command has been renamed to Get-PnPMicrosoft365Group a while ago. You can use this command instead 😃
The page Get-PnPUnifiedGroup seems to be something old that has not been deleted yet (and should probably be deleted).

Thanks for bringing this up.
Have deleted this page.
The cmdlet to use is Get-PnPMicrosoft365Group.


Incorrect dependency version for React needed for React Native 0.43

React Native 0.43 has a peer dependency on React 16.0.0-alpha.6, but react-compat doesn't check for major versions greater than 15.
This has the lovely effect of having the app compile and run successfully, but all the tests fail because it enzyme resolves to<EMAIL_ADDRESS>It looks like this should be fairly straightforward. I could probably draft a PR tomorrow if need be.
Here's the full error:
react-addons-test-utils is an implicit dependency in order to support<EMAIL_ADDRESS>Please add the appropriate version to your devDepen
dencies. See https://github.com/airbnb/enzyme#installation
/Users/haynesn/code/CrimsonConnect/node_modules/enzyme/build/react-compat.js:143
      throw e;
      ^

Error: Cannot find module 'react-addons-test-utils'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at /Users/haynesn/code/CrimsonConnect/node_modules/enzyme/build/react-compat.js:133:21
    at Object.<anonymous> (/Users/haynesn/code/CrimsonConnect/node_modules/enzyme/build/react-compat.js:219:5)

[snip]

There are no react versions greater than 15, yet.

@ljharb Care to elaborate?

React 16.0.0-alpha.6 peer dependency in React Native 0.43
React-native 0.43 depends on React 16.0.0-alpha.6
React 16.0.0-alpha.3 tag

Alphas aren't releases; enzyme doesn't tend to support React alphas.
Since React 16 is only in alpha, React Native shouldn't be requiring it in a non-alpha release.

That may be true, but that's not how they manage compatibility between React and React Native. Depending on the alpha is intentional.
Still, it doesn't change that enzyme incorrectly identifies react major versions > 15 as 0.13-0.14.

I agree that the error message is unhelpful; the best we could do to improve it is determine that you're using React > 15, and throw immediately.

Any ETA on supporting react 16? It would help us make sure MobX supports React 16 when it is released :)

It has been a month and a half since Enzyme has become incompatible with the latest stable React Native releases.
It is one thing to say that @nicinabox is installing some random alpha version. He hasn't. He is using RN 0.43

This is a bug with react-native. An alpha should not be depended upon; and if it's stable enough to depend upon, it shouldn't be an alpha.
Please feel free to file a bug on react-native and/or react.

I apologize for this. I know it is frustrating, but unfortunately React 16 is a big change (basically a rewrite), and there’s a chicken and egg problem here.
React Native is tightly coupled to React, but unlike React DOM, has a much faster breaking change release cycle (a month rather than a year). As a result, while we’re able to batch all ReactDOM breaking changes in yearly releases, we can’t really do the same for React Native.
We have to dogfood 16 in order to fix issues in it, and we can’t let the open source version of RN diverge from an internal version because there’s so much more surface area, and a separate open source version would immediately go stale.
For this reason, RN uses an “alpha” version of the react package. It’s not really “alpha” in the sense of being unstable (we’re using it in production), but it does mean third party libraries are not guaranteed to be compatible with it, and it contains breaking changes compared to previous versions. Whether or not Enzyme is willing to support react@16 alphas is up to Enzyme’s maintainers, but an official stable release of 16 depends on many completely unrelated prerequisites (e.g. server rendering support) which means it will take a few more months while RN already uses it.

I guess I'd expect an RN that depends on a react alpha to be an alpha itself - npm maintains 2 versions at once (4, and 5 alpha), for example, so I don't see why RN couldn't do the same.
Server rendering is a pretty important use case for enzyme - render, for example - so that seems like it might be a blocker for v16 support, even if we choose to support it in alpha.

I guess I'd expect an RN that depends on a react alpha to be an alpha itself - npm maintains 2 versions at once (4, and 5 alpha), for example, so I don't see why RN couldn't do the same.

My impression is it just would not very practical, as it would effectively make all future releases of RN “alphas” for a few months even though they’re more stable than previous versions. React itself is such a tiny part of React (especially the react package itself) its version doesn’t reflect stability of RN itself. I understand this has ramifications for the community though.
Perhaps this is something you could discuss with @yungsters.

Doesn't seem like this issue is going to be resolved anytime soon.
What do we do in the meantime? I am working on a new project which uses RN 0.44, so I don't have any existing code which relies on enzyme. Should I downgrade to RN 0.42.3 or try to find some alternatives to enzyme (not even sure there are any)?

Issue is still there with latest and greatest RN releases :(
With https://github.com/airbnb/enzyme/issues/893#issuecomment-301558517 and enzyme not supporting alpha's we can be basically stuck for months more.
Like @andriichernenko .. any advice?

I entirely agree with pushing back against FB/React/RN's confusing abuse of the "alpha" label—3rd party lib/tool support for RN in general is shockingly chaotic, and I think this cavalier attitude to release labeling and discipline is no small part of it—however they've shown no signs of changing their bizarre behavior, so it appears that any lib/tool that wishes to support RN ought to accept it or drop that support (publicly and as loudly as possible if you do, please). This ongoing clash of pushing-insane-release-labeling versus firmly-insisting-on-sane-release-labeling is just making life difficult for developers (users) of RN and related projects.
In short, Facebook's entirely at fault for labeling their releases in a way that breaks convention, harms communication, erodes confidence/trust, and is generally and obviously poor practice for a bunch of good reasons, but having so many of the tools/libs that "support" RN always be several versions behind (and not always the same number of versions behind) RN stable really sucks for those of us trying to use it, regardless of whose fault it is.

I think calling it "abuse" is a bit too much given that React team literally spends months of effort on things that don't matter to Facebook but are significant to the open source community.
Yes, this particular case is unfortunate, and I'm open to suggestions on how we can make this better. What would you suggest we do instead?

It's not a bit too much to call the use of alpha to signify production-ready code which may be depended upon by non-alpha software abuse of the term alpha. That's exactly what it is. It's misleading to such a degree that it makes taking any meaning at all from their use of the term dangerous. It would be difficult to abuse a word more strongly than that. You may be reading something into my comment that's not there—I nowhere accused them of abusing humans, only language, which they are doing in such a way that it is clearly harming communication and collaboration, which are often primary aims of the use of language. The strength of the term I chose for what they've done to the utility of the term alpha in the context of the project is appropriate, as it's clearly being grossly misused.

The React team does amazing things, and I'm very glad Facebook and the React team are doing them - but that very statement, I think, represents the problem: that things being significant to the open source community don't automatically make them matter to Facebook as a whole.

In this situation, I think the only path for now is to wait on #1007; after which, I hope both the React and React Native teams will ensure that any release includes an enzyme adapter that is compatible with it. I think that any other tooling that has issues will probably need to develop their own adapter pattern.

I don't think this is relevant any more now that we're on v3 - a React Native enzyme adapter should address these issues.


Shortcut doesn't work or I just don't know how to set it up

Can't make the shortcut work.
I have tried
default settings
Command+Shift+O
command+shift+o
COMMAND+SHIFT+O
cmd+shift+o
CMD+SHIFT+O
command shift o
COMMAND SHIFT O
ctrl+shift+o

Literally none of them works.
Did I miss something?

Never mind,Fixed this in the app settings-shortcuts


Sample does not work - Returns no content.

I added my storage account name and Account key to top of file hit run and I get a empty console window with "press any key to continue."
no errors are reported.
I have done some basic debugging as follows:
in program.cs
Following The call to HttpClient().SendAsync(....)    on line 60  the StatusCode check on line 64 fails with the status code of "BadRequest"
I've traced this to uri formatting on line 37  - This should be httpS: not http:
I can see that you already have a Pull Request addressing this,  #11   so it seems like an easy fix 👍

In the documentation for this example, here: https://docs.microsoft.com/en-us/azure/storage/common/storage-rest-api-auth
it does suggest that you use http to walk through this sample so that fiddler can be used.  However I think the storage service must have since been updated to only allow https .


Desktop.Approach page: Our results section

Needs to implement:

Slider with items: {Title, result description, image, link, ...}
View case study redirect to internal project

Tested


How to configure the listening port?

Hi,
The configuration of the UI is quite confusing. Please, try to improve these points:

A box to configure the LISTENING port. When using the "http2socks5" (the main use of this tool, to HTTP-proxy using SSH), I can't do it. And the tool is using a (random?) port, i.e. 53600.
The first colum, without name is annoying. I feel it represents the #ID of the rule, and it's ordered. If this is true, then please improve it.
The software is detected as a potential backdoor by Chrome and Windows. I suggest to add the developer certificate to overcome this.

Regards.

@lars18th Thanks your test.

Yes, the tool is using a random port when set "http2socks5", I could draw a box to set the listening port.

Now the system proxy is first node and the tool is second node so i assigned them the same of random port.
But it seems you want a proxy chain? Your first node isn't system proxy and want the tool as the third, fourth...node?

You are right, I forgot to set #ID on the first ceil.
There may be some reasons caused the tool is detected:

The tool edits the registry value to set system proxy and auto-start.
Many viruses or malicious programs are written in go, which make the tool is detected more easliy.
......

You can temporarily add tool to your antivirus software's whitelist, I will try using a personal certificate to avoid detected.

Thank you for your effort @zhyonc .
My suggestion, regarding the UI, is to make it the most simple for the user to set this use case: enable HTTP proxy over a SOCKS proxy using a SSH connection. Perhaps you'll want to add a HELP inside the README for this particulara user case. You agree?

@lars18th I think i can separate them into inbound tag and outbound tag.

Inbound is system proxy set protocol is http/socks4/socks5/pac with forwardIP and forwardPort.
Outbound is a forwarding station that convert the inboud protocol to your proxy core.
For example:
If set inbound for system proxy:
protocol=http forwardIP=<IP_ADDRESS> forwardPort=8080
Follow outbound need to set:
srcProtocol=http srcIP=<IP_ADDRESS> srcPort=8080 and dstProtocol=socks5 dstIP=<IP_ADDRESS> dstPort=1080
So that you can forward http proxy over socks5 proxy.
If you don't need the system proxy, only need to set the outbound can forward any other http request.
At present, the above features only remains in conception.
The tool I developed before was only binding and forwarding the system proxy :)

@lars18th I think i can separate them into inbound tag and outbound tag.

That's a perfect solution. Clean and simple!
I'll wait impatiently for the new version. 😉

@lars18th Please try 0.1.1

Hi, @lars18th, nice to hear you say it's working well. :smile:

I used the "Inbound" and "Outbound" as models to design code, i don't agree to rename them to other names that make my code confusion.
Menu items doesn't refresh tag name until setting form is closed. In other words: saving the config, refreshing tag name, selecting the last seleted tag will be done after the form is closed, not need to restart the program.
The right-click icon pop-up menu item is the default behavior of the ui library, i found that the tray can set left-click function.
Maybe I can trigger enable/disable switch for inbound and outbound when left-click tray icon:

Enable is restore the last selected index of inbound and outbound.
Disable is to select the "disable" tag name for both inbound and outbound.

Hi @zhyonc ,
Thank you for the version 0.2.0. It work nice.
However, two comments to improve it a bit:

Inside the README I suggest these changes:

How to use
Inbound
The "inbound" setting represents the configuration of the System Proxy. Therefore the changes in this section will affect to all processes that uses the global Internet configuration.

Click Setting menu item to open inbound form
...

Outbound
The "outbound" setting represents the different proxy configurations of this program. You can forward the Inbound to any of these proxies, or use directly them from any process configured to use it.

Click Setting menu item to open outbound form
...

Inside the README I recommend also to describe the functionality of the files gfwlist.txt and pac.js. We don't have any description about them.

Regards.

Hi @zhyonc ,

If I have time I will add the copy feature.

:+1:

See gfwlist and PAC

I recommend that you put these links in the README to describe them. And regarding the GFWLIST file, perhaps you'll want to add the option to "use_it/don't_use". And then the tool could run without any gfwlist file. I understand the reason to support it, but I feel that not all users require to use it. What you think?


Issue Bad Request

Hi guys, when im trying to migrate from a TFS 2018 to an Azure DevOPS i get this error (it happens post validate the json)
2 work item(s) failed for this reason: BadRequest.

I am also getting the same issue.


update docker compose guide to v2

Describe the bug
Update docker guides to reflect the newer docker compose command structure instead of the legacy docker-compose structure.

@chrislusf -- this has a small plot twist and I need your guidance on where you want to take this.
The Makefile is also assuming the legacy command.
What are your thoughts on changing the Makefile to use docker compose?
grep -r 'docker-compose'
docker/README.md:docker-compose -f seaweedfs-compose.yml -p seaweedfs up
docker/README.md:docker-compose -f seaweedfs-dev-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-dev-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-dev-compose.yml -p seaweedfs up
docker/Makefile:	ENV_FILE="tls.env" docker-compose -f compose/local-dev-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-mount-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-mount-profile-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-k8s-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-registry-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-replicate-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-auditlog-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-nextcloud-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-cluster-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-clusters-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-sync-mount-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-hashicorp-raft-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/local-s3tests-compose.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/test-etcd-filer.yml -p seaweedfs up
docker/Makefile:	docker-compose -f compose/test-ydb-filer.yml -p seaweedfs up

Also, I'm not sufficiently familiar with your CI/Build process... if there are any tripwires around updating this, please advise.

reminder for myself, update the /docker/*-compose.yml files to a compliant version when this replace is done.
version: '2'

Current version is 3.8: https://docs.docker.com/compose/compose-file/compose-versioning/#version-3

This PR did not auto-tag for some reason:
https://github.com/seaweedfs/seaweedfs/pull/3705


Added hide for video views

As shown above, its working as intended.
However, if the goal is to prevent bias when choosing which content to watch
It should hide the view count for all recommended videos like these:

We could add another input for this, but i think we need to upgrade the structure to pass an array of selectors instead of just a single selector 🤔
Something like this:
{
    id: "video-views",
    selectors: [
        "(//div[@id='description']//div[@id='info-container']//yt-formatted-string[@id='info']//span)[1]",
        "(//ytd-compact-video-renderer//div[contains(@class, 'details')]//ytd-video-meta-block//div[@id='metadata-line']//span[contains(@class, 'inline-metadata-item')])[1]"
    ],
    checked: false,
    category: "Video",
    pageTypes: [PAGE_TYPES.VIDEO],
}

Hey @GabrielMottaDev , thank you for contributing!
I 100% agree that we should hide the views everywhere else. I was doing the OR operation in the selectors, but using an array sounds soo much cleaner, and probably opens possibilities regarding using query selector!
I'll merge this later today and work on implementing the arrays for every element, as well as hiding the views count on every page!


Unable to build

I am unable to build, I think I need some guidance. Do I need to set anything before I build?
"error CS0006: Metadata file '\gw2pao-develop\GW2PAO\bin\Debug\GW2PAO.exe'"

Have you taken a look at the How-to-Build Guide in the Wiki yet?
What version of Visual Studio are you using? Have you restored all of the nuget packages?

I was using the latest version (2017). I downloaded and installed VS Community 2015 instead, right clicked the solution and chose "Restore NuGet Packages" and built the solution after that. This time it worked. Thanks for taking the time to respond!


Another step to introduce  fields.Selector

@nikhiljindal @bgrant0607 @smarterclayton @lavalamp in my previous https://github.com/GoogleCloudPlatform/kubernetes/pull/5171 I simply forgot to move some part of the API.
Note tha in this PR I modified also pkg/client/request.go.  SelectorParam(string, labels.Selector) is now splitted in FieldsSelectorParam(fields.Selector) and LabelsSelectorParam(labels.Selector)

LGTM

LGTM, thanks!

Sorry, you need to rebase before I can merge.

Re-running tests.

rebasing... but it's not immediate

Rebasing done: but please have a look at this.
In my original PR SelectorParm was splitted in FieldsSelectorParam and LabelsSelectorParam. The idea was to remove the labels and fields const string during URL encoding.
Now after the https://github.com/GoogleCloudPlatform/kubernetes/pull/5233 the const string may change according to the version from Client.APIVersion() given as an input parameter to the XXXSelectorParam.
What is puzzling me is that in request we have also an apiVersion in request here https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/client/request.go#L113 .  Which one should we keep?

RESTClient's apiVersion is used as a default for Request's apiVersion. Where a Request exist, we should use Request's apiVersion.
I think it's like the code isn't always doing the right thing. For example, it looks to me like NewRequest isn't properly initializing apiVersion:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/client/request.go#L125

Hrm.... APIVersion should be stored with a RESTClient to allow consumers to reconstruct what version it was initialized with (in an opaque fashion).  It has to be opaque though because the meaning of an apiversion is only specific to Kubernetes (or the consumer) - my v1beta1 != your v1beta1.
----- Original Message -----

RESTClient's apiVersion is used as a default for Request's apiVersion. Where
a Request exist, we should use Request's apiVersion.
I think it's like the code isn't always doing the right thing. For example,
it looks to me like NewRequest isn't properly initializing apiVersion:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/client/request.go#L125

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/5493#issuecomment-82517013

@smarterclayton so  the code introduced with https://github.com/GoogleCloudPlatform/kubernetes/pull/5233 and modified in this PR (hopefully in the right way) is basically correct and the non initialized APIVersion pointed out by @bgrant0607 is only a bug?

No - that code is wrong (it assumes the api version passed to a generic object, the apiserver, applies to just Kube specifically).  That code check needs to be an interface that can be replaced by someone whose versions don't match kubes.
Apiserver and client/request and client/RESTClient should never call into an api.* method directly except through an interface.

Regarding apiVersion in request.go, it was added in PR https://github.com/GoogleCloudPlatform/kubernetes/pull/5233 and as I pointed out there, does not seem to be used anywhere. We should be able to delete it.
In this PR, we do not need to change how/where api.* functions are called. We can just split SelectorParam into LabelsSelectorParam and FieldsSelectorParam, such that both take the paramName as argument (as did SelectorParam).
In a separate PR, we should fix the "client directly calling api.* method" problem.

cc @brendandburns

Ah, it was on RESTClient.
----- Original Message -----

Regarding apiVersion in request.go, it was added in PR
https://github.com/GoogleCloudPlatform/kubernetes/pull/5233 and as I pointed
out there, does not seem to be used anywhere. We should be able to delete
it.
In this PR, we do not need to change how/where api.* functions are called. We
can just split SelectorParam into LabelsSelectorParam and
FieldsSelectorParam, such that both take the paramName as argument (as did
SelectorParam).
In a separate PR, we should fix the "client directly calling api.* method"
problem.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/5493#issuecomment-82580402

A brief sketch describing the layering of client libraries/interfaces would be helpful.

Done (squashed and rebased as well)

Thanks. LGTM.
Will merge on green.


BigQuery check if schema already exists before trying to create it

Description & motivation
Before trying to create a new dataset we should check if it already exists without using the CREATE statement.
It could be that the DBT SA or DBT user that runs the command does not has the permission to create a dataset.
Checklist

[x] I have verified that these changes work locally
[x] I have updated the README.md (if applicable)
[x] I have added an integration test for my fix/feature (if applicable)

@thomas-vl : Do we have a test that covers this scenario: a schema exists and dbt does not try to create it again

@dataders : could you merge this PR?
I discussed testing this with @thomas-vl, however, we would need a user in the CI that has permissions to create tables and not schemas. This is the situation Thomas is facing, though less likely in a testing setup. The change can not be covered with a additional (unit) test.

@dataders brought this up at our latest triage review, and it looks good to go! :)

I would add that not all users necessarily have access to INFORMATION_SCHEMA.SCHEMATA, especially if they don't have permission to create schemas. Is there a way to handle this without that access?

I would add that not all users necessarily have access to INFORMATION_SCHEMA.SCHEMATA, especially if they don't have permission to create schemas. Is there a way to handle this without that access?

I think that everyone one in security will have no problem giving out read access to INFORMATION_SCHEMA in favour of not giving out create access for datasets.


docker-compose version 3 postgres does not read environment variable

Sorry. After remove volume and instantiate the container again. The problem is gone.


[Java] Arrow deserialization performance is so poor in Java

Describe the usage question you have. Please include as many useful details as  possible.
We experimented with the same data and found that the performance of Arrow deserialization is only 1/3 of PB. Arrow cost 8s and PB just cost 3s.
test data set：(A total of 1000 lines, each line is a 20*2000 two-dimensional table.)
272M    Arrow_data
496M    PB_data
During the implementation process, Arrow uses flatbuf to serialize and deserialize, which should be faster in theory. but it is not.
Schema subSchema = MessageSerializer.deserializeSchema(new ReadChannel(Channels.newChannel(new ByteArrayInputStream(schemaBytes))));
ArrowRecordBatch subRecordBatch = MessageSerializer.deserializeRecordBatch(new ReadChannel(Channels.newChannel(new ByteArrayInputStream(dataBytes))), ArrowUtils.getAllocator());

VectorSchemaRoot subRoot = VectorSchemaRoot.create(subSchema, ArrowUtils.getAllocator());
VectorLoader subLoader = new VectorLoader(subRoot);
subLoader.load(subRecordBatch);
subRecordBatch.close();

I looked at the source code and found that The main time-consuming is divided into two parts:
one is :

the other is：
org.apache.arrow.vector.VectorLoader#load
Is there something wrong with my way of using it, or is the serialization performance of the java version of Arrow just poor?
Component(s)
Java

Hi @chenyuanxing sorry we didn't get to this in time. Did you figure out why it was slow?

em. yes .It is because the debug mode of BaseAllocator is enabled by default.

Okay. We are considering disabling it by default. Feel free to chime in on https://github.com/apache/arrow/issues/34338

by the way . Is there no filter function in java? @lidavidm

like the arrow::compute::Filter in C++.

The Java library doesn't really have compute utilities like that. @lwhite1 was there anything related to that in the Table work?

There's no support for filtering in Java until the substrait interface to Arrow C++ is completed. I suspect that will be in the next release or two.

okay.very thanks.


docs: Update twitter links in introducing-docusaurus blog post

Pre-flight checklist

[ ] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs

thanks 👍


Deliverable: Problem Statement and Development Plan

Tasks

[ ] Adam Podolak: Entire Problem Statement document
[ ] Christian Petricca: Team Charter section part of dev plan
[ ] Evan Sturmey: sections 1-4 of dev plan
[ ] Austin Bennett: sections 8-11 of dev plan
[ ] Jacob Kish: sections 5-7

Problem Statement

Dev Plan


🚀 Feature: List Teams in Account.get()

🔖 Feature description
I don't find a way to get the list of teams that the user belongs to, unless using Users.
I need to manage the logged user authorizations in my app, so I think it would be very useful if we can find out which Teams the user is a member of in the Account Object returned by Account.get().
🎤 Pitch
It will be very easy to manage authorizations in the application.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Doesn't
const promise = teams.list();
work for this?
docs says:
Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.

@trashcoder you are correct. While using client SDK, teams.list returns the teams current user is member of. @silentmado you should make a request, using teams service.


Latex translation of "continue on next page" not available in Chinese (zh_CN and zh_TW)

Problem
I have made two documents with Latex PDF using the RTD theme with zh_CN and zh_TW. When the code block is too large for the current page, it countines on to the next page. I would expect the "continue on next page" be translated into zh_CN and zh_TW, but it is not. Though the "continued from previous page" is translated correctly.
Reproducible Project
Project on RTD : latex2img
Project on GitHub : latex2img
Error Logs/Results

Expected Results
It should be translated as "繼續到下一頁 " for zh_TW and "继续到下一页" for zh_CN or similar.
Environment Info

Python Version: 3.7
Sphinx Version: 1.8.5
RTD Theme Version:  0.4.3

This is an issue of Sphinx' LaTeX output and is addressed by https://github.com/sphinx-doc/sphinx/issues/3791. It's not an issue of this theme, which only influences styling of HTML output.
Closing this.


Add Gregorian test data including negative dates

Extends tests of class DateTime to negative Gregorian dates

On Thu, Apr 29, 2021 at 11:24 Juan Julián Merelo Guervós <
@.***> wrote:

@JJ commented on this pull request.
Looks fine to me.

Thanks, JJ.

Do we have corresponding fixes in rakudo already?

On Thu, Apr 29, 2021 at 17:06 Vadim Belman @.***> wrote:

Do we have corresponding fixes in rakudo already?

Yes, these extend tests for additional coverage.

Ok, I'd let this PR to hang around for one day before merging to give a chance for more people to review.

On Thu, Apr 29, 2021 at 17:48 Vadim Belman @.***> wrote:

Ok, I'd let this PR to hang around for one day before merging to give a
chance for more people to review.

FYI, I plan to add more tests over a wider range of negative Gregorian and
Julian dates.


v4 On the fly compiling of Sass

Are there any plans to have a js compiler option to render Sass files on the fly in BS4?  Having to rely on a local compiler seems to counter the speed and value of Sass.  When going across various hosting environments and coding in live test cases,  it would be nice to have the /option/ to render Sass without access to the command line.

You could use sass.js: https://github.com/medialize/sass.js/

Nope, we have no plans to bring back the Customizer. It's highly likely that some community members will create better third-party customization webapps themselves once there's a stable v4 release though.

I understand, as an intermediate front-end developer who is trying to figure out the best way to work Sass into my work flow, the process to leverage Sass seems over kill to get going.  You just want to edit a file and be done, without hassle of compiling.   And a lot of times a simple find and replace seems to still work wonders.   I get the need to write less code from the core framework point of view, but i'm wondering the styling barriers secondary developers are going to have.

@mitcheal If uncomfortable with the command line, try using something like http://koala-app.com/.


Unguarded window.sessionStorage throws under certain Chromium configurations

Versions

nuxt:  v2.15.8
node:  any

Reproduction

I'm not sure how to force reproduction of it but I can share screenshots of Sentry reports of this happening to Chrome users.
Here is a public link for one, but it has scant details: https://sentry.io/share/issue/5b04b3dc45504c569403daac59a549f1/
Here is a screenshot of the full error with stacktrace and browser information:

I've been able to consistently reproduce the error by opening chrome://settings/cookies in Chromium based browser and setting the "Block all cookies (not recommended)" setting. Then open the devtools and simply try to access window.sessionStorage property and the SecurityError with throw.
The block of code at fault is here:
https://github.com/nuxt/nuxt.js/blob/777a4b7f5033c86c37cbd93008f3ca792e4af8bc/packages/vue-app/template/utils.js#L158
I believe the if condition and the call to setItem need to be wrapped in their own try/catch. I'm happy to open a PR for this but I'm unsure what to do in the catch clause. Should it just force a reload?

This still happens in our production app on a regular basis. Can a maintainer give advise on the correct solution so I can open a PR?

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

As far as I can tell from a quick search of sessionStorage access in the current codebase instances of it are wrapped in try/catch, so I don't think this is relevant for Nuxt 3.
The issue remains in Nuxt 2, and does ostensibly cause a crash, but is presumably not that common considering no one else has reported the issue (or left a :+1: or anything here).
https://github.com/nuxt/nuxt/blob/2.x/packages/vue-app/template/utils.js#L153-L167


feat: storing accounts locally after authentication

close #3

please rebase the branch to the current master

If you create a wallet from a seed using ethers, then this wallet does not contain a seed.
Ethers code: utils.HDNode.fromSeed(seed)
Such a wallet contains only the privateKey, publicKey, parentFingerprint, fingerprint, address, chainCode, index, depth fields.
Therefore, storing such a wallet, we still need to store the seed somewhere. And by storing only the seed, a wallet can be generated from it on the fly (but with the help it will not be possible to manage the account data).


Improve error message for ENOTDIR errors

Fixes #24749

LGTM. It might be nice to have a test partly as it is not clear what circumstances the user will get this and it would provide a reference...

@justincormack Yeah, I have a test to make sure it works but didn't commit it because I didn't want to have a test just to check the error message.

LGTM
@justincormack is this ok for you?

yes, the test doesn't matter.

@cpuguy83 let me know if you think this is important for 1.12

@thaJeztah It's not fixing a bug or anything, so not necessary IMO.

all green, merging


Add Remove-Entity from Cumulus to this module

Cumulus.Utilities has a Cmdlet Remove-Entity with which you can remove entities in a generic way. Import the Cmdlet into this module and adjust it to work with Appclusive.

solved by 6588689c0e2f0c53b35283436a042dd2d06009e3


Add Guess The Number Game in the Showcase Section. I want to contribute under GSSOC'24.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I have built a Guess The Number Game in HTML, CSS and Javascript.
Features : 1. Background Music option is provided.
2. The user can choose easy, medium or hard levels according to the choice.
Use Case
This will add a project under the Showcase section.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@ParnaRoyChowdhury777 can you share some screenshot or rough design of the number game

@ParnaRoyChowdhury777 can you share some screenshot or rough design of the number game

sure Sir,  here it is


Create cli

Would you like to implement that data verification that we have talked about? I mean, the verification for the OpenAPI key on the initialization instead of only on the usage.

I have noticed you committed the binary. To avoid it, you could add it to the .gitignore to avoid it.


clarified service account type

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6969

Dear @JohanFreelancer9,
kindly do the copy editor review for this PR.
Dear @nam31, for your information
Thank you

@mapalko  PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Do not create machine for node in RKE cluster

https://github.com/rancher/rancher/issues/13007

https://github.com/rancher/rancher/issues/13054


fix log output

Hi! Seems log output for errors should contain method name which it call. Please check my change

Codecov Report

Merging #5938 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #5938      +/-   ##
==========================================
+ Coverage   37.96%   37.97%   +<.01%
==========================================
  Files         329      329
  Lines       48406    48406
==========================================
+ Hits        18379    18383       +4
+ Misses      27386    27381       -5
- Partials     2641     2642       +1

Impacted Files
Coverage Δ

models/branches.go
43.33% <0%> (ø)
:arrow_up:

models/repo_list.go
63.29% <0%> (-1.27%)
:arrow_down:

routers/repo/view.go
47.3% <0%> (+1.19%)
:arrow_up:

models/unit.go
14.28% <0%> (+14.28%)
:arrow_up:

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 12ee544...1d47272. Read the comment docs.


Support watchOS through Carthage

Hey it would be awesome if you could get a version of this framework working with watchOS. I want to include it in my project and will be using it on the watch
From a little research I believe the only thing that needs to be done is to add a target in the Base32 library that targets watchOS
Support for this would be awesome and thanks in advance

A watchOS target was added in PR #96, and will be available in the 2.1 release.


change in data type

This matches https://github.com/esp8266/Arduino/blob/4b90db41fe1abf8f8dadf05ad2e462f59b32f5b5/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h#L119, any specific reasons you think this should be changed?


Cant loot

Hi,
I have done allot of tweaking on the fish bot. I can get it to move the mouse to the bouy but it dosent detect the bouy pops and its should loot. Any suggestions or tips?

I have the same problem, too.
I can't find a proper buoy image..


[WIP] fix peek on python3

fixes #113
requires #116
This is a first take at fixing it. No tests yet.
@mhils: feel free to work in this - I just wanted to keep the code from my trial runs...

fixed by #118


Switch gradle check to 15 max parallel runs

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Switch gradle check to 15 max parallel runs
Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2381 (9e8d7b1) into main (cbf57ab) will increase coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #2381      +/-   ##
============================================
+ Coverage     94.62%   94.83%   +0.20%
============================================
  Files           209      157      -52
  Lines          4316     4140     -176
  Branches         29       19      -10
============================================
- Hits           4084     3926     -158
+ Misses          226      214      -12
+ Partials          6        0       -6

Impacted Files
Coverage Δ

src/system/temporary_directory.py
85.71% <0.00%> (-11.43%)
:arrow_down:

src/system/os.py
93.75% <0.00%> (-6.25%)
:arrow_down:

...nkins/jobs/RpmDashboardsDistValidation_Jenkinsfile

tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile

.../jenkins/jobs/PromoteArtifacts_actions_Jenkinsfile

tests/jenkins/jobs/RunGradleCheck_Jenkinsfile

tests/jenkins/jobs/BuildFailureMessage_Jenkinsfile

...sts/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile

tests/jenkins/jobs/RpmMetaValidation_Jenkinsfile

tests/jenkins/jobs/BuildManifest_Jenkinsfile

... and 44 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


Sluggish crosshair after dynamic updates

Great library! Works well, except for sluggish performance after a while.  Any advice would be appreciated.
https://zenbot.s8f.org/

That's an interesting one. I observed the issue on that site, but when I attempt to inspect it becomes performant, even if i'm careful not to cause a redraw. Would be helpful if you could provide sample code of the isolated issue and any specific observations.
Nice color scheme btw

yeah, it's odd. Will see if I can reproduce the issue with minimal code. Thanks.

Page to reproduce the issue: http://bl.ocks.org/carlos8f/raw/ac8677ff6f6432b87b4d7fed25931e7d/
Minimal 1-line fix (comment out selection.call(indicator): http://bl.ocks.org/carlos8f/raw/19670ee08bde4111a5606d44c42623a1/
CPU profile: https://gist.github.com/carlos8f/8a0d617739f35f7aa7a9af064c9fc76c#gistcomment-1852166
working on this at https://gist.github.com/carlos8f/8a0d617739f35f7aa7a9af064c9fc76c

There's a perf. bottleneck in the scale() function. https://gist.github.com/carlos8f/8a0d617739f35f7aa7a9af064c9fc76c#gistcomment-1852195

Sluggish issue is still present after patch, although my CPU profiler is no longer showing scale() as bottlenecks

Nice pick up! Will give the pr a try see if it fixes for me.
Thank you.

Sluggish issue is still present after patch

Still a problem then?

still a problem after those date/string optimizations, just takes slightly longer to accumulate slowness.


app: quit on custom key shortcut.

My first pull request. :grin:

This fixes #681.
Though, like mentioned there: I'm mildly against having the default keybinding for quitting be Ctrl+Q due to its location typically (on qwerty) being near commonly used keys like Ctrl+W (close tab) and Ctrl+Tab (change tab). It is good to have a command for that, though.

Though, like mentioned there: I'm mildly against having the default keybinding for quitting be Ctrl+Q due to its location typically (on qwerty) being near commonly used keys like Ctrl+W (close tab) and Ctrl+Tab (change tab). It is good to have a command for that, though.

This, but also I'm strongly against that keybind because it's specific to one platform only (macOS) while other platforms have different defaults for such action (e.g. Windows - LAlt + F4)

it's specific to one platform only (macOS

Personally I've tried to quit the editor with Ctrl+Q on linux and was disappointed that it didn't work, but I understand if you all don't want it enabled by default.
Do we want to come up with an alternative binding or just leave it unbound by default?

Do we want to come up with an alternative binding or just leave it unbound by default?

It should be unbound by default but available for user to bind. There should be provided another keybind for platform specific implementation (macOS injects CMD+Q so no binding(?), on Windows LAlt + F4 needs to be manually binded by lapce, Linux (GNOME/KDE/etc.)???)

Well, I see where you're coming from, but I don't think it's such an issue for several reasons:

I've probably never hit Ctrl+Q accidentally in all the years I've been programming with Sublime Text. And if I did it was no biggie. The editor restores unsaved changes/files.
Many other applications have the Ctrl+Q and Ctrl+W bindings, for example: Firefox (Linux). Notably Chromium doesn't have a default binding for quitting.
Binding it to something else would go against the grain. I think I remember from my Windows days that Ctrl+Q was quite common.

So yeah, I can see the usability aspect but on the other hand it's pretty much standard and it's never been a problem. It should especially not be a problem once Lapce saves and restores files that haven't been saved yet.

Though, like mentioned there: I'm mildly against having the default keybinding for quitting be Ctrl+Q due to its location typically (on qwerty) being near commonly used keys like Ctrl+W (close tab) and Ctrl+Tab (change tab). It is good to have a command for that, though.

This, but also I'm strongly against that keybind because it's specific to one platform only (macOS, although CMD + Q is done by system already) while other platforms have different defaults for such action (e.g. Windows - LAlt + F4)

It's not just for macOS. I'm on Xfce Manjaro and there are a few apps that have that binding.
LAlt+F4 is also a common shortcut on Linux. It closes or should close the current window, but not the whole application. I think it behaves the same on Windows.
That's what I'm missing. Closing the app with a shortcut and having all windows + unsaved files restored on restart.

So yeah, I can see the usability aspect but on the other hand it's pretty much standard and it's never been a problem. It should especially not be a problem once Lapce saves and restores files that haven't been saved yet.

Just because it's mitigated doesn't mean we should introduce a behaviour that would reduce user UX.

I've probably never hit Ctrl+Q accidentally in all the years I've been programming with Sublime Text. And if I did it was no biggie. The editor restores unsaved changes/files.

It's only your experience but we should always think about all users.

Many other applications have the Ctrl+Q and Ctrl+W bindings, for example: Firefox (Linux). Notably Chromium doesn't have a default binding for quitting.

Firefox (Windows) = Ctrl + Shift + Q
Chromium-based browsers = no binding
VSCode = No binding, LeftAlt + F4 closes VSC window
Intellij = No binding

All on Linux
Firefox = Ctrl+Q
Discord = Ctrl+Q
vscodium = Ctrl+Q
atom = Ctrl+Q
These are all browser/electron based though, so maybe Ctrl-Q just originated from there?
I think we should do like a poll on discord or something to see what people want for the default, because that's ultimately what matters most: what the users want, right?

I think we should do like a poll on discord

I think not, ~25 users should not decide fate of rest of the userbase

or something to see what people want for the default, because that's ultimately what matters most: what the users want, right?

No, because not every user uses all platforms and we should not introduce a new behaviour onto a platform.

That's what I'm missing. Closing the app with a shortcut and having all windows + unsaved files restored on restart.

I'll give you an offer, remove the default keybind and the PR can get merged (almost) instantly.
We can discuss default keybind later under separate issue/discord.

Ok! I just left it in commented out if that's alright. I also added "Quit Editor" as the command's message, renamed "quit_app" and "QuitApp" to "quit"/"Quit" and moved the LapceWorkbenchCommand::Quit case to the bottom of the match statement. :+1:

I think without the defaults this PR should not be controversial and should be good to go.
(Side note: Interesting that I can't link #681 to this PR in the "Development" section to the right.)


Support OAUTHBEARER mechanism for KoP

This PR introduces OAUTHBEARER mechanism to KoP.
Two config items are added. One is the server callback handler to validate OAUTHBEARER token, the other is the properties configuration file that contains the server callback handler's configs. The default server callback handler is the same as Kafka, which validates unsecured JSON Web Tokens.
In addition, the authenticator is refactored that now it uses different SaslServer for different mechanisms to perform authentication.
Related tests are added to verify these configs and the default server callback handler:

KafkaServerConfiguration#testGetKopOauth2Configs: unit test for getKopOauth2Properties method.
SaslOAuthBearerTest: test OAUTHBEARER SASL mechanism with Kafka's default server callback handler.
CustomOAuthBearerCallbackHandlerTest: test custom AuthenticateCallbackHandler.

Mark this PR as WIP first. The failed spotbugs check and Codacy check need to fix. And I'll add a mocked server callback handler to verify if the config kopOauth2AuthenticateCallbackHandler works.

@jiazhai PTAL.
BTW, I found Codacy Static Code Analysis has a bug. It check the code from the diff file not the whole code. See the change of SaslAuthenticator.java and The Codacy report. I removed the fields authRole, authState, and authDataSource but they were reported as error. These fields were added when Codacy was not enabled, so the previous PRs passed the Codacy check but this PR doesn't.


fix: remove jdk version info

update class file header.
remove jdk info from class description

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yuanci seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


which paper/doc exactly describe the ideal

btw， good job

We will add some detailed docs in next several days. Thanks for your patience.


case Add chaos storage vault cases

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


(PUP-9309) Remove SubLocatedExpression

Commit caced6b59 changed how location information within a heredoc string was
calculated. As a result, the SubLocatedExpression AST class is no longer used.
This commit removes the class.

CLA signed by all contributors.

jenkins please test this with servertests


New package: ConstantFunctions v0.1.0

Registering package: ConstantFunctions
Repository: https://github.com/olivierverdier/ConstantFunctions.jl
Created by: @olivierverdier
Version: v0.1.0
Commit: 67a219730364712d1336f46ebe1a8e4bde1c5c49
Reviewed by: @olivierverdier
Reference: https://github.com/olivierverdier/ConstantFunctions.jl/commit/67a219730364712d1336f46ebe1a8e4bde1c5c49#commitcomment-145933398
Description: Constant functions

Hi! Congrats on the registration! I was just wondering how this differs from Returns?
julia> f = Returns(2)
Returns{Int64}(2)

julia> f()
2

Thank you for asking this, I was not aware of Returns.
The only difference it the multiplication operation: f = ConstantFunction(2); 2*f.
This is not worth a whole new package just for that. You can cancel this registration.

If we leave our comments here, registration won't proceed. I think there was a package for treating functions as elements of a vector space (adding and scaling them), I can't remember the name though.

Interesting, thank you!


Update Composer dependencies (2022-11-24-00-07)

Visual regression test passed!
View the visual regression test report


kapacitor 1.6.2 test build failure

👋  trying to upgrade the kapacitor formula to the latest release, v1.6.2, but run into some test build failure issue as below:
on the server side,
ts=2021-09-30T01:50:57.125-04:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get \"http://localhost:8086/ping\": dial tcp <IP_ADDRESS>:8086: connect: connection refused"

On the client side
$ kapacitor list tasks
Error: Get "http://localhost:9092/kapacitor/v1/tasks?dot-view=attributes&fields=type&fields=status&fields=executing&fields=dbrps&limit=100&offset=0&pattern=&replay-id=&script-format=formatted": dial tcp <IP_ADDRESS>:9092: connect: connection refused

Just want to confirm if with the latest release, does kapacitor need influxdb for test build now? Thanks!

You shouldn't need influx for to run the tests, but yes you need influx for kapacitor if you plan on using subscriptions etc.  However, the second error isn't from not having influx, but looks like maybe your firewall settings are messed up?

This is the test that we are doing kapacitor test (should not have any firewall issue?)
  test do
    (testpath/"config.toml").write shell_output("#{bin}/kapacitord config")
    inreplace testpath/"config.toml" do |s|
      s.gsub! "disable-subscriptions = false", "disable-subscriptions = true"
      s.gsub! %r{data_dir = "/.*/.kapacitor"}, "data_dir = \"#{testpath}/kapacitor\""
      s.gsub! %r{/.*/.kapacitor/replay}, "#{testpath}/kapacitor/replay"
      s.gsub! %r{/.*/.kapacitor/tasks}, "#{testpath}/kapacitor/tasks"
      s.gsub! %r{/.*/.kapacitor/kapacitor.db}, "#{testpath}/kapacitor/kapacitor.db"
    end
    begin
      pid = fork do
        exec "#{bin}/kapacitord -config #{testpath}/config.toml"
      end
      sleep 20
      shell_output("#{bin}/kapacitor list tasks")
    ensure
      Process.kill("SIGINT", pid)
      Process.wait(pid)
    end
  end

Ah by test you mean you are running kapacitor straight up?  If you have an influxdb specified in your config then you need an influxdb.


[WIP] dagger watch

Very broken POC around dagger call --watch

@aluzzardi is this PR going to solve this issue? https://github.com/dagger/dagger/issues/6990


Add RepoRegistry API and use it for Weldr API (+ bunch of unit tests changes)

This pull request includes:

[x] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[x] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

TODO after the discussion on this PR settles.

The main intention of this PR is to offload the work of loading and managing repo definitions from the composer and Weldr API code. A new internal package reporegistry is added for this purpose. There have been other changes done as a side effect of the work and most of them affects unit tests. More details below:

Extend the "Test Distro" implementation and definition to contain two architectures and make the second architecture contain two image types. Add New2() function returning another "Test Distro".
Modify the internal/store unit tests to reflect changes done to the "Test Distro".
Remove fedoratest distro and replace it with test_distro in all affected tests.
Separate the loading of repo definitions from JSON file from LoadRepositories() to a standalone function loadRepositoriesFromFile(), to make it easy to reuse it in the future.
Add unit tests for LoadRepositories() function.
Extend the RepoConfig structure to contain new field ImageTypeTags. Extend also other structures and functions as needed, to support loading repository definitions, which use this new field. The idea is that a repository should be used for building all image types, unless it has some ImageTypeTags defined. In such case, it should be used only for building the specific image types, which names are specified in the new field.
Add RepoRegistry as a higher-level API to load and manage repository definitions for each distribution. Currently it provides one method, which returns a set of repositories needed to build a given image type. The RepoRegistry uses the new ImageTypeTags field in the RepoConfig structure and returns all the needed repositories for the image type.
Modify rpmmd unit tests and add unit tests for RepoRegistry.
Add News entry describing the change done to RepoConfig and its JSON representation.
Modify composer to use RepoRegistry, instead of loading the host repositories, when initializing WeldrAPI.
Modify WeldrAPI to use RepoRegistry, instead of a map of repository definitions. Make sure that the RepoRegistry method specific to image type is used in Welder where appropriate. Specifically when depsolving a Blueprint, which is used to build a specific image type. Update Weldr API unit tests to reflect the change.
Add a new method to RepoRegistry, allowing to get list of repositories, which should be used for building an image for a given architecture, without specifying the exact image type. Add relevant unit tests.
Add New*HostDistro() to all distro definitions, accepting the name that should be returned by the distro's Name() method. This is useful mainly if the host distro is Beta or Stream variant of the distro.
Change the distroregistry.Registry to contain host distro as a separate value set when creating it using New() function. This value is returned by Registry.FromHost() method. Determining the host distro is handled by the NewDefault() function. Move the distro name mangling to distroregistry package. Add relevant unit tests.

Forgot to write: Thanks a lot for this! :)


Bandcamp as Source

Source Site
https://bandcamp.com/
Value Provided
Bandcamp (audio and music source) offers many works licensed under Creative Commons which are not indexed at all by the platform itself.
Licenses Provided
CC-BY, CC BY-SA, CC BY-ND, CC BY-NC, CC BY-NC-SA, CC BY-NC-ND, All being from Creative Commons 3.0 Unported
Implementation

[ ] 🙋 I would be interested in implementing this feature.

@miwafoxl Thanks for the suggestion! This is something we've looked into before but haven't been able to achieve a contact with Bandcamp to do this. They don't have an open API as far as we can tell or any other reliable way to find the CC licensed works on their platforms. If you, by chance, have contacts there that could help, and you could get us in touch, please let me know.
For now, I'm going to mark this issue as blocked because there's nothing else we can do while we try to contact folks there who would be able to make this possible for us.

I'm removing the ticket work required label as we know this issue is blocked and why. We need to find a contact at Bandcamp that could help us with this. Until then there's nothing else we can do.


Bump x86_64 dependency version to fix build on latest nightlies

rust-lang/rust#69171 was merged a couple of days ago, which finally dropped support of the old deprecated asm! syntax. uefi-services depends on an old version of x86_64, so that it won't be built successfully on latest nightlies.
Signed-off-by: imtsuki<EMAIL_ADDRESS>

Thanks for the PR!


Fix Spring Framework deprecations to unblock upgrade path

If we want to upgrade to Spring Boot 1.5 and above, we need to stop using the API already deprecated in 1.4.
This PR fixes all Spring Framework related deprecation warnings, except for this one in UrlaubsverwaltungApplication.java:
@SpringBootApplication(exclude = { VelocityAutoConfiguration.class })

But that can just be removed when we upgrade (Spring Boot 1.5 no longer has Velocity support built-in, so we also don't need to disable that anymore).

Wurde mit #490 gefixt


Changed $domains_being_blocked to point to gravity.list, instead of a…

Fix for #11
See:
https://github.com/jacobsalmela/pi-hole/issues/191#issuecomment-172497941

Tested the latter 2 commits locally and it works. Takes into account issue #8
Makes sense to run on gravity.list as the white and blacklisted domains are not added/removed until this point.

Does this take into account whether or not the user is using ipv6? If they aren't, it will show them as blocking half as many as they actually are.

Very good point. No, it was just a simple line change... perhaps pihole.2.eventHorizon.txt is the best place to be.. one moment please

You know what, scratch this. I think it's probably better to put the count in a seperate file that is worked out after the gravity.list is generated, so that we can take into account white and blacklisted domains.
Ignore everything!

This will work as a stopgap until I or someone else codes what I wrote in the above comment!

[no longer needed] (https://github.com/jacobsalmela/AdminLTE/pull/15)


CardArticle: Title not updating

Hi, I created a card with CardArticle type.
and when I tried to edit its title:
card.title = "New Title"
the app run successfully but the CardArticle stays the same as "The Art of the Impossible".
Note: The title is updatable if I'm using CardHighlight instead of CardArticle.
If there is a quick fix for that until a next update that would be great.
Again thanks for the amazing framework. 👌🏻

me too

Are you updating the title when the view is loaded or during the execution ?
Did you istantiated the card by code or with the storyboard ?


build: add go.mod to perf test Dockerfile

Description
Starting from Go 1.16, module-aware mode is enabled by default (i.e.
GO111MODULE=on). This commit adds the missing go.mod files that were
missed by the previous pull requests.
:bowing_man: I'm sorry for missing the go.mod files in the previous PR. My bad.
Issue reference

https://github.com/dapr/dapr/pull/3782#issuecomment-947942670
https://github.com/dapr/dapr/pull/3790

Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@yaron2 seems I can not trigger by ok-to-perf.

@artursouza how can we have @daixiang0 and the approvers group to be able to run perf tests?

/ok-to-perf


How can I insert a Key_value into HeaderMap from user input or database, and the input Header is'nt Standrad header

Headermap seems to only insert Key as a predefined standard header, So how can I insert a Non-standard header into HeaderMap

Key borrowed as a static lifetime value, so I can't insert a Key into HeaderMap from user input or database because a value from user input or database does not live long enough.
cargo check output:
20 |     headers.insert(&st[..], "example.com".parse().unwrap());
   |     ----------------^^-------------------------------------
   |     |               |
   |     |               borrowed value does not live long enough
   |     argument requires that `st` is borrowed for `'static`
...
43 | }
   | - `st` dropped here while still borrowed

my code:
    let mut headers = HeaderMap::new();
    // headers.append(key, value)
    let st = String::from("aa");
    headers.insert(&st[..], "example.com".parse().unwrap());
    headers.insert("aa", "123".parse().unwrap());

You can either insert a &'static str or a HeaderName. So if you have a name that came from a dynamic String, you need to convert it into a HeaderName, which checks there are no illegal characters.


Get rid of deprecated and redundant warnings in getDmmf

discovered in https://github.com/prisma/prisma/pull/16501#issuecomment-1330739089

I've discussed about this issue with @millsp.

[x] We won't be changing outdated warnings in BinaryEngine.ts, as basically no external user relies on the binary anyway
[x] I've already removed outdated warnings in getDmmf.ts during the Wasm-ification process

We can thus close this issue.

Follow-up discussion on Slack.


Hunter plugin

A plugin that tracks your traps like in osbuddy.
Currently it only works for box traps, deadfall traps and bird snares
Feedback is appreciated =)

Thanks!


Global scan_interval always 5 minutes, symbol scan_interval works

Using version 1.2.4

This is me experimenting with a symbol, you can see it has different refresh intervals. The symbol has a lot of trade volume today, so it's not that there wasn't a value change in between. Please ignore the spike at around 14:16, restarted HA there trying to make it refresh more often.
The first part with 5 minute interval refreshes is this:
yahoofinance:
  show_trending_icon: true
  decimal_places: 2
  scan_interval: 60
  symbols:
    - symbol: ADYEN.AS
    - symbol: O
      target_currency: EUR

While the second one is:
yahoofinance:
  show_trending_icon: true
  decimal_places: 2
  symbols:
    - symbol: ADYEN.AS
      scan_interval: 60
    - symbol: O
      scan_interval: 60
      target_currency: EUR

I have started with the official example in the docs, so using - minutes: 5 then changing it to 1 before restarting Home Assistant for the first time...

It is not clear to me what the issue is. The 2nd configuration has scan_interval defined for both symbols.

The issue is that in the first case the refresh interval is 5 minutes even though it's set to 60 seconds. The second case refreshes every 60 seconds as expected.

I am not seeing that behavior, there is nothing like 5 minutes in the integration.
However, there is a bug. If the symbols are defined in extended format and don't have  scan_interval defined, then the interval to 6 hours. You can see the times by enabling this in the logger
  logs:
    custom_components.yahoofinance: info


No desktop-style list box widget with keyboard navigation that keeps track of which item is selected and has proper screen reader support

Use case
First, I would like to display information in a list in a way that allows screen reader users to easily read the information on desktop platforms, preferably using standard platform conventions. I tried using a Flutter ListView widget with items as Text widgets with each Text widget wrapped in a Focus widget. I could navigate the list by pressing Tab and Shift+Tab on Windows and Linux, but the arrow keys behaved inconsistently, screen readers did not announce that this was a list, and I could not easily leave the list to move to other controls. Secondly, I would like to create a list that allows the user to select an item by moving to it with the arrow keys or with a mouse click, and change other parts of the window based on the current selection, perhaps by displaying information about the selected item in another part of the window. I would also like an easy way to move focus away from the list with the keyboard, so Tab and Shift+Tab should navigate away from the list and not change the selected item.
Proposal
A new widget could be implemented that appears as a single widget to the focus traversal system, mostly looks like a ListView widget visually, has state that stores which of its children is selected, lets the user change the selection with the up and down arrow keys, and has semantic information that informs screen readers that it is a list, its label, the number of items it has, and which item is currently selected. There could also be a widget that does this for a grid, by letting the user use the left and right arrow keys as well to navegate between columns. Examples of native widgets that implement this are List Box and List View on Win32, GtkListBox on GTK 3, and perhaps NSTableView on Cocoa.

@emassey0135
Thanks for the report. Implementing widgets specifically tailored for windows + accessibility may not be a feasible solution / proposal. Have you looked at https://pub.dev/packages/fluent_ui and https://pub.dev/packages/flutter_acrylic plugins that implements windows style design and check if it helps to achieve your use case ?

The flutter_acrylic package only changes window styles and does not have widgets, and the fluent_ui package has a drop down button widget and a combo box widget, but nothing that appears like a ListView widget and has the behaviour I am looking for. The drop down button and combo box are not suitable because they do not display all their items at once and must be expanded to see the items. It has a navigation pane that seems promising, but not a general list box widget. It has a list tile that says it is meant to be used with ListView, which seems to refer to the one in the material package. Should I report an issue on the fluent_ui package?

you may try that and see what the plugin owner comes up with. Also, you may look for similar community packages on pub.dev to check if any of them helps to address your proposal.
For now, I am going ahead and closing it. If you disagree, write in comments and I'll reopen it.


koord-descheduler: limits frequently migrated workloads

Signed-off-by: Joseph<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
The migrationJob controller in koord-descheduler supports freezing frequently migrated workloads

Add configuration field frozenGates to support control the frozen duration and thresholds.
Now just support frozen workload. By default if one workload's migrating Pods exceed the maxMigrating in the duration 90 seconds , the workload will be frozen in duration 5 minutes , and if maxMigrating  is 0, will use maxMigratingPerWorkload instead.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm

/lgtm

/approve


Add files via upload

Thank you for submitting the code. The input should be a file with the text content and the output should be a new file with text replaced


Static Gas Readings

Hello! Hope this finds you well. I've just had a try using the enviro+ to get the gas measures using the MICS6814. I've copied the example out of the files into a test script.
Unfortunately, I'm seeing something weird, which is a a constant value for oxidising, reducing, and NH3.
Oxidising: 25193.96
Reducing:  25193.96
NH3:       25193.96

I've not had a chance to look into it properly, but wanted to post here just in case anyone would happen to know what's going on. The python version reading the sensor seems to deliver the correct results (again, I've yet to investigate).
My sample code is here. I've been running this on a Pi Zero W with Enviro+ (Air quality as well).
Any help would be much appreciated!! If I have time to look into this more, I'll be sure to update this issue

I've looked a bit more into this and still no dice unfortunately.
As I purchased the envrio+ recently, I saw this on their site:

Notes
Due to exciting global electronic parts shortages, some Enviro +s manufactured in 2021 have an ADS1115 ADC instead of the usual ADS1015. Our Python libraries have been updated to automatically detect and adjust for this chip change.

Maybe that could've been the issues?! So I copy/pasted the source and switched it to use ads1x15.NewADS1115 instead of ads1x15.NewADS1015. I tried it and it didn't work unfortunately.
I tried to add some logging as well. The for loop via StartReading is working, refreshing data every second. It's just getting the incorrect value.
I have to dig a bit deeper as this is getting out of my depth. It looks to be something to do with potentially reading pins and their values incorrectly... I'm not sure...
It even could be in the end something on my end as I do run the python script alongside it. I've tested multiple different times with the python prometheus exporter stopped.

@rubiojr would you happen to have any ideas on this by chance?

@vernak2539 I lost access to my enviro+ a while ago, I'm afraid I can't help you debug this currently.
Sorry to leave you hanging there, missed the other notifications.