The current update for at least the EP600 renames the Bluetooth name to "PBOX".
This causes some problems with this software.
Thanks @KM011092 for this info in your Pull request.
@warhammerkid could you check if it is possible to differentiate the stations by their device_type field?
If I find some spare time I'll also look into this because it also causes my HA integration to no longer work for new devices.

The current update for at least the EP600 renames the Bluetooth name to "PBOX".
This causes some problems with this software.
Thanks @KM011092 for this info in your Pull request.
@warhammerkid could you check if it is possible to differentiate the stations by their device_type field? If I find some spare time I'll also look into this because it also causes my HA integration to no longer work for new devices.

Can you provide your steps to verify the bluetooth name?

You can check it if you open your Bluetooth settings on your phone

Interesting... I wonder if this is related to an issue I'm looking into for a friend. They updated their AC500 firmware on one unit and now they can't connect to their unit via bluetti-mqtt.
Did you ever resolve this?

I don't know how to resolve it in this repository, but I have a workaround in my HA integration (selecting the model manually). Next step would be to automate it again

Interesting... I wonder if this is related to an issue I'm looking into for a friend. They updated their AC500 firmware on one unit and now they can't connect to their unit via bluetti-mqtt.
Did you ever resolve this?

I don't know how to resolve it in this repository, but I have a workaround in my HA integration (selecting the model manually). Next step would be to automate it again

Which HA integration are you using? I'm just using the native bluetti-mqtt python app to send the data to MQTT. Is there a working integration now?

To use it with the PBOX update you'll need the latest Beta update

My integration is available in the HACS Store as "Bluetti BT". It only has controls for AC and DC outputs but I plan on getting some other Bluetti stations to test the other controls.

Ok, let me take a look. I was starting to write my own and got as far as connecting to the Bluetti device and started to to discover the Services and Chrematistics of the device.... but Ideally I didn't want to reinvent the wheel. It appears that yours is still based of this repository (bluetti-mqtt).  correct?

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ?

My integration is available in the HACS Store as "Bluetti BT". It only has controls for AC and DC outputs but I plan on getting some other Bluetti stations to test the other controls.

Ok, let me take a look. I was starting to write my own and got as far as connecting to the Bluetti device and started to to discover the Services and Chrematistics of the device.... but Ideally I didn't want to reinvent the wheel. It appears that yours is still based of this repository (bluetti-mqtt).  correct?

Yes. Currently it is based on this repository. But with future HA updates, one of the dependencies used will no longer work, so I'll have to switch to an own library.

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ? I assume you mean the HACS needs to be the beta?

You need the beta version 0.0.15 or 0.0.16 of the bluetti_bt integration (switch on when installing). You don't need HACS beta.

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ? I assume you mean the HACS needs to be the beta?

You need the beta version 0.0.15 or 0.0.16 of the bluetti_bt integration (switch on when installing). You don't need HACS beta.

Ok, I just added it and it did auto discovery all 6 bluetti devices... which one of them is the bluetti with the issue. However, after "configuring" the integration for that device all entities are 'unknown'. Instead of asking questions about your project here, I'll create an issue on your project so we can work together, as I have a total of 12 bluetti devices that we can test with.

Hi, I´ve been using bluetti_mqtt on a raspberry pi to get data from my EP600 and send it to my local mqtt broker. Unfortunately, I did update my bluetti´s iot thingie last week (yeah, stupid, I know... ), and now bluetti_mqtt --scan does not find any device.
According to pip, I have bluetti_mqtt version 0.15.0 installed. Can anybody direct me to what I need to do to get comms back? Is there some way to apply the above mentioned workaround to bluetti_mqtt? Thanks!

The biggest problem is, they name multiple powerstations the same way, so this software can't detect the type anymore. If you're using Home Assistant, you could use my integration, otherwise you can try to add the type detection to this software like I have it here

The biggest problem is, they name multiple powerstations the same way
I see. I´d be happy to set the device type manually (e.g. by some commandline parameter)

If you're using Home Assistant, you could use my integration,
Unfortunately I´m not; I am using NodeRed to process the data and show a dashboard, plus log into influxdb and use grafana for plotting

otherwise you can try to add the type detection to this software like I have it here
Thanks a lot, I´ll look into it. I´m not much of a python guy myself, but I´ll see if I can find my way around. (I´ll be grateful for any hints though!)

Is this a new issue or related to the rename of the EP600 to PBOX ? If itˋs caused by the rename to PBOX you may want to check the fork I am running on a RaspberryPi to monitor my EP600: https://github.com/KM011092/bluetti_mqtt.git. If this is a new issue, I better not update the IOT :-) and would be very interested if you found a way to fix it.

Is this a new issue or related to the rename of the EP600 to PBOX ? If itˋs caused by the rename to PBOX you may want to check the fork I am running on a RaspberryPi to monitor my EP600: https://github.com/KM011092/bluetti_mqtt.git.

Hi, I´d love to do that! Please ignore my ignorance, but how do I tell pip to install your fork instead of the original project? Both mention the same command (pip install bluetti_mqtt), so I don´t know how to switch?
Thanks a lot! brgds - tscher
If this is a new issue, I better not update the IOT :-) and would be very interested if you found a way to fix it.

Hi, try pip install git+ https://github.com/KM011092/bluetti_mqtt.git.

ok, did that; unfortunately, when running --scan, it still does not detect my EP600...

Mhhh, then this seem to be a new issue and I better not update my EP600 as long as everything is working for me. Sorry that this did not help.

Mhhh, then this seem to be a new issue and I better not update my EP600 as long as everything is working for me. Sorry that this did not help.

No worries, thanks for your and everybody´s great work in creating all this in the first place, and for all the support you are providing!


Discrepencies between Intel and ARM64 architectures making tests fail if Apple Silicon SoC (GitHub Action runner)

Context
We use the swift-snapshot-testing library to make UI tests on our components.
All the tests pass locally in our MacBook Pro computers, based on Intel architecture (e.g. Intel Core i9 and MacBook Pro 2019 16"). Our CI/CD internal chain, using also such computers with the same architecture, keeps all the tests green.
However, using the GitHub Action runners, some tests fail. Always the same. We ensure the macOS version was the same between each computer (i.e. macOS 15), and also the Xcode version (16.0), the simulator in use (iPhone 16 Pro), and its OS verison (iOS 18.0). The code base is the same, the tests base is the same, the only difference remains in the architecture of the computer.
Indeed, GitHub Actions exposes a macOS 15 runner (named macos-15) based on ARM architecture according to their documentation with M1 SoC and only on this environment some tests fail. It seems GitHub exposes, for free plans, only arm64-absed environments and not Intel-based anymore.
The runners based on Intel architecture are not available for us (i.e. "large runners"). It seems they did not plan to expose Intel-based macOS 15 now.
In few words, we are pretty sure some UI tests do not work anymore if the architecture behind is arm64, i.e. Apple SIlicon, and not Intel 😱
Expected behavior
Having our tests passing for whatever the architecture is, i.e. for both Intel-based and arm64-based architectures.
Environment

Xcode 16
Swift 6
iPhone 16 Pro simulator with iOS 18.0
swift-snapshot-testing version 1.17.6

Additional context

Our iOS project is open source here: https://github.com/Orange-OpenSource/ouds-ios
We created an issue about that topic: https://github.com/Orange-OpenSource/ouds-ios/issues/305
You can get the logs of the test here
We use Fastlane to start the tests (lane test_ui)
All the tests are in a dedicated Xcode scheme
We need this tool to prevent any regression (as explained here)
It seems some users got the same troubles (see https://github.com/pointfreeco/swift-snapshot-testing/issues/926 and https://github.com/pointfreeco/swift-snapshot-testing/issues/707)

Today we enable a condition accepting the tests fail in GitHub Action but that's not the expect workaround 😅

@stephencelis @mbrandonw I hope these details help :)
BTW your library is gorgeous <3


No method 'resource' available in Lumen

Lumen does not include some of the route methods available in Laravel, like resource(). Simple fix, but you'll want to update the docs with the proper lumen routes.

@adamkelso true. Thanks


Add waka explanation

Somehow forgot to explain the waka

:sheep: it!

Coverage remained the same at 85.335% when pulling 9bdeba5c5cf096969a994b38cae93b51c424f048 on mark/CORE-3385 into 4c8c1ad3997e85f05ad4e0fc74f1a38a5343b080 on master.


Can't create ingress when following the quickstart

Is this a BUG REPORT or FEATURE REQUEST?:
BUG
What happened:
I'm following along with the quickstart, and I'm trying to deploy a function using an Ingress controller(NGINX).
But for some reason it fails.
What you expected to happen:
I expected the ingress to be created, and I can access my function using the ingress controller.
How to reproduce it (as minimally and precisely as possible):
Try to create a ingress controller
Anything else we need to know?:
Logs from the http-trigger-controller:
time="2020-09-30T09:34:07Z" level=info msg="Processed update to HTTPTrigger: default/get-python" controller=http-trigger-controller
time="2020-09-30T09:37:25Z" level=info msg="Processing update to HTTPTrigger: default/get-python" controller=http-trigger-controller
time="2020-09-30T09:37:25Z" level=info msg="Adding ingress resource for http trigger Obj: default/get-python " controller=http-trigger-controller
time="2020-09-30T09:37:25Z" level=error msg="Failed to create ingress rule get-python corresponding to http trigger Obj: default/get-python due to: Unable to find the function internal service: &Service{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:get-python,GenerateName:,Namespace:default,SelfLink:/api/v1/namespaces/default/services/get-python,UID:be2d5de2-7090-4525-9e3b-da2afa39c8f1,ResourceVersion:21186297,Generation:0,CreationTimestamp:2020-09-30 09:33:39 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{created-by: kubeless,function: get-python,},Annotations:map[string]string{},OwnerReferences:[{kubeless.io/v1beta1 Function get-python 1576115b-aca7-45ce-a31a-d2c6ad6b7dd0 <nil> <nil>}],Finalizers:[],ClusterName:,Initializers:nil,},Spec:ServiceSpec{Ports:[],Selector:map[string]string{},ClusterIP:,Type:,ExternalIPs:[],SessionAffinity:,LoadBalancerIP:,LoadBalancerSourceRanges:[],ExternalName:,ExternalTrafficPolicy:,HealthCheckNodePort:0,PublishNotReadyAddresses:false,SessionAffinityConfig:nil,},Status:ServiceStatus{LoadBalancer:LoadBalancerStatus{Ingress:[],},},}: " controller=http-trigger-controller
time="2020-09-30T09:37:25Z" level=info msg="Processed update to HTTPTrigger: default/get-python" controller=http-trigger-controller

I've tried deploying a fresh test image using the ingress controller, and this works fine.
Existing ingress deploys also keep working as expected.
I'm running a RBAC K8s cluster.
Environment:

Kubernetes version (use kubectl version):

Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.0-rc.3", GitCommit:"aaf86f7c3a07cd29fa306370b50950f950d0f64d", GitTreeState:"clean", BuildDate:"2020-07-29T07:28:27Z", GoVersion:"go1.15rc1", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version):
Kubeless version: v1.0.7-dirty
Cloud provider or physical cluster:
Physical cluster running Talos

Additional info:
Running a Kube proxy works fine, and executing the function from the CLI works as expected.
Service is also created as expected:
NAME               TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
get-python         ClusterIP   <IP_ADDRESS>    <none>        8080/TCP   11m

Yes, Kubernetes +1.18 is not yet supported. See: https://github.com/kubeless/kubeless/issues/1130
Closing this as a duplicated issue, follow the linked ones to get updates.


CF7 marketplace fails with CF deployment version v12.42.0

Please fill out the issue checklist below and provide ALL the requested information.

[x] I reviewed open and closed github issues that may be related to my problem.
[x] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
[x] I attempted to run the command with CF_TRACE=1 to help debug the issue.
[x] I am reporting a bug that others will be able to reproduce.
[x] If this is an issue for the v7 beta release, I've read through the official docs and the release notes.

Describe the bug and the command you saw an issue with

As a CF developer running against a CF deployment version  v12.42.0
When running cf marketplace
I expect the marketplace to be displayed using V2 or V3 api is the minimum prereqs documented in https://github.com/cloudfoundry/cli#the-initial-ga-of-the-v7-cf-cli-is-opt-in is met:

The v7 CLI's minimum supported version of the CC APIs are v2.128.0 and v3.63.0 (published in CAPI release v1.74.0).

What happened
$ cf m
Getting all service offerings from marketplace in org osb-cmdb-backend-services-org-client-5 / space noop-ondemand as gberche...
The query parameter is invalid: Unknown query parameter(s): 'fields'. Valid parameters are: 'page', 'per_page', 'order_by', 'available', 'broker_catalog_ids', 'names', 'organization_guids', 'service_broker_guids', 'service_broker_names', 'service_instance_guids', 'service_offering_guids', 'service_offering_names', 'space_guids', 'include', 'label_selector', Invalid included resource: 'service_offering'. Valid included resources are: 'space.organization'
FAILED

$ CF_TRACE=true cf m
Getting all service offerings from marketplace in org osb-cmdb-backend-services-org-client-5 / space noop-ondemand as xxx ...
REQUEST: [2020-07-27T16:58:28+02:00]
GET /v3/service_plans?fields%5Bservice_offering.service_broker%5D=name%2Cguid&include=service_offering&space_guids=f81987fd-ad60-4e06-81b7-fa33b97a1f11 HTTP/1.1
Host: api.redacted-domain
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
User-Agent: cf/7.0.1+fb3f929c2.2020-06-24 (go1.13.8; amd64 linux)

RESPONSE: [2020-07-27T16:58:28+02:00]
HTTP/1.1 400 Bad Request
Content-Length: 569
Content-Type: application/json; charset=utf-8
Date: Mon, 27 Jul 2020 14:58:28 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Runtime: 0.004311
X-Vcap-Request-Id: ef70decc-e852-4670-6815-4e0715e4ed6a::4c7c7f3a-1ca4-47cf-97ae-ec84f9dc4fbe
X-Xss-Protection: 1; mode=block
{
  "errors": [
    {
      "code": 10005,
      "detail": "The query parameter is invalid: Unknown query parameter(s): 'fields'. Valid parameters are: 'page', 'per_page', 'order_by', 'available', 'broker_catalog_ids', 'names', 'organization_guids', 'service_broker_guids', 'service_broker_names', 'service_instance_guids', 'service_offering_guids', 'service_offering_names', 'space_guids', 'include', 'label_selector', Invalid included resource: 'service_offering'. Valid included resources are: 'space.organization'",
      "title": "CF-BadQueryParameter"
    }
  ]
}

$ cf curl v2/info | grep api_version
   "api_version": "2.147.0",

Expected behavior
Ideally, CF7 uses the V2 API matching the documented min v2 version ( v2.128.0) if it detects that v3 version is not matching min prereq
As a fallback, a clean error message such as this cli version does not support the backend CF server, please switch back to cf v6 version
To Reproduce
See detailed steps above
Provide more context

platform and shell details : ubuntu 18.04 bash
version of the CLI you are running: cf version : cf version 7.0.1+fb3f929c2.2020-06-24
version of the CC API Release you are on: CF deployment version  v12.42.0 capi-version: "1.92.0"

Hi @gberche-orange
Thanks for raising the issue.
I believe there is some miss information about the minimum required v3 API for the v7 CLI. There is an issue opened (#2008) about that. Apologies for the confusion.
The correct minimum version of capi that the v7 CLI supports is 3.85.0. This is part of capi-release v1.95.0 and part of cf-deployment v13.5.0
Moving to that version would fix your issue.
There is no fallback mechanism in any of the v7 commands since they are intended to be used only with v3 API. Only commands that need resources that have not been exposed in v3 API will be communicating to v2 API.
Thanks,
Felisia

thanks @FelisiaM /CC @heyjcollins
How does the CLI/SAPI teams envison supporting users that work with both recent CF deployments (e.g. PWS) and old CF deployments ?
The currently recommended version switching procedure is not possible in a number of scenarios similar to feedback provided by @ukabu at https://github.com/cloudfoundry/cli/issues/1974#issuecomment-657729669
Also, the lack of a user friendly message such as this cli version does not support the backend CF server, and requires a CF server with API version 3.85.0, please switch back to cf v6 version to proceed will imply higher support costs for CF admins and unsatisfied CF users :-(

Thanks for the response @gberche-orange
I understand that there are some use cases that have been made more complicated. I think it would be good to gather all opinions about the issues with the cf7 command being renamed to cf in issue #1974. That way us and the CLI team can gather all the necessary feedback.
Regarding the CLI version support, I believe there is a warning issued when the user is authenticated that explains that certain commands will not work correctly: Warning: Your targeted API's version (3.82.0) is less than the minimum supported API version (3.85.0). Some commands may not function correctly.

thanks @FelisiaM, I've commented #1974

Regarding the CLI version support, I believe there is a warning issued when the user is authenticated that explains that certain commands will not work correctly: Warning: Your targeted API's version (3.82.0) is less than the minimum supported API version (3.85.0). Some commands may not function correctly.

As a user upgrading to v7, I was not displayed this message since I was already logged in. I would expect many existing users to experience the same.
Should the warning message instruct users to use cf cli V6 instead ?


RPC failures and http.postBuffer: add git gc/maintenance recommendation

I just ran into this problem while pushing a large repo for the first time to the saas version of azure devops.
This was the error in my case:
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
send-pack: unexpected disconnect while reading sideband packets

Since none of these fixes, except for the discouraged config change, were applicable to me, I checked the repo's size:
> git count-objects -vH
count: 1400
size: 11.80 MiB
in-pack: 403396
packs: 19
size-pack: 1.25 GiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes

Then I ran git gc, size after:
count: 0
size: 0 bytes
in-pack: 214820
packs: 1
size-pack: 623.63 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes

1.25 GiB to 623.63 MiB
And then it worked, no config change needed.
So maybe it'd be a good idea to mention the garbage collection in this document as a less disruptive option to try. Do you think that makes sense? Honestly I don't understand the nature of the problem in detail, maybe it was a fluke, but from the outside it looks like it'd fit.

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

ID: 98c28154-3cc9-2184-bdf9-af8208e5b5be
Version Independent ID: 5a38725c-599d-81c8-29ff-a13acb461377
Content: RPC failures and http.postBuffer - Azure Repos
Content Source: docs/repos/git/rpc-failures-http-postbuffer.md
Service: azure-devops-repos
Sub-service: azure-devops-repos-git
GitHub Login: @vijayma
Microsoft Alias: vijayma

@stroborobo -- Bjorn, thank you for your feedback and suggestion.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@vijayma -- Vijay, please look into this issue.

I don't understand what you're trying to tell me. I solved my issue and don't require support, why post the root page of the docs I'm proposing a change to?


[Issue-1942] [Ledger] Support connect Ledger device for more chains

Related issue(s)

#1942

Is your feature request related to a problem(s)? Please describe.

[Ledger] Add some networks

Describe the solution you'd like

[Ledger] Add some networks

Describe alternatives you've considered

No

Additional context

No

🚀 Deployed on https://pr-1945--sw-web-runner.netlify.app


Email received, but no home app notification

Hey,
I followed your guide and manage to get the following in the logs: [19/01/2021, 13:35:18] [smtpMotion] [Door] Email received.
Only issue is I don't get home app notifications. I'm sending the email to<EMAIL_ADDRESS>My config file is like this:
{
   "platform": "smtpMotion",
   "smtp_port": 2525,
   "http_port": 8581
},
{
   "name": "Camera FFmpeg",
    "cameras": [
        {
          "name": "Door",
           "manufacturer": "Reolink",
           "model": "RLC-410",
           "motion": true,
         }
      ]
}

Thanks

Do you have alerts set up in the Home app? They’re off by default.

Do you have alerts set up in the Home app? They’re off by default.

Yes see attached

Yes see attached

I just noticed I don’t see the HTTP port set in your Camera FFmpeg config, if that’s actually missing you’ll need to add it.

I just noticed I don’t see the HTTP port set in your Camera FFmpeg config, if that’s actually missing you’ll need to add it.

That worked thanks, can we not attach a image to the notification too?

That worked thanks, can we not attach a image to the notification too?

Snapshots should be included in the notification if your camera responds to the request fast enough. If there is a way to get a still image directly from the camera, you can add it in stillImageSource, and that usually works. Otherwise it has to grab an image from the video stream, which often takes longer than iOS will wait before showing the notification.

Snapshots should be included in the notification if your camera responds to the request fast enough. If there is a way to get a still image directly from the camera, you can add it in stillImageSource, and that usually works. Otherwise it has to grab an image from the video stream, which often takes longer than iOS will wait before showing the notification.


Add new rust packages

Add:

Bat
Broot
Gitui
Joshuto

Wouah, I'm a bit of surprise here! Locally, I was able to build it:
> brioche install -p packages/gitui/
Build finished, completed (no new jobs) in 2.17s
Writing output
Wrote output to /root/.local/share/brioche/installed
Note: installation directory not detected in $PATH! Consider adding it:
  /root/.local/share/brioche/installed/bin

> /root/.local/share/brioche/installed/bin/gitui --version
gitui nightly 2024-07-03 ()

I wonder why we're not having the same behavior here. But I think I might know, my devenv does not embed git. So, the command in this build script could have been not executed (https://github.com/extrawurst/gitui/blob/master/build.rs).

I wonder why we're not having the same behavior here. But I think I might know, my devenv does not embed git. So, the command in this build script could have been not executed (https://github.com/extrawurst/gitui/blob/master/build.rs).

huh, that's still baffling to me... I have git installed locally, but the build gets run in a container so whether or not git is installed / available locally shouldn't impact the build. The output status isn't checked, so it looks like it will fail if the git command isn't found... meaning it looks like the git command somehow was found when you built it? Not really sure how to explain that

I can't explain either, on my side I'm sure the git command is not installed in my docker container:
[root@bb47e0028ffe workspace]# git
bash: git: command not found
[root@bb47e0028ffe workspace]# find / -name git
/root/.local/share/brioche/process-temp/01J1X0CC38RK8F9XQKYQN7ENF7/root/home/brioche-runner-f4abbe2f9e9591a1b125ac4143e1e8556e9b9255f38b23aa518ecdb47cacda6a/work/vendor/vergen/src/feature/git
/usr/lib/node_modules_20/npm/node_modules/@npmcli/git
/workspace/.git/git
[root@bb47e0028ffe workspace]# ls /usr/lib/node_modules_20/npm/node_modules/@npmcli/git
LICENSE  lib  package.json
[root@bb47e0028ffe workspace]# ls /root/.local/share/brioche/process-temp/01J1X0CC38RK8F9XQKYQN7ENF7/root/home/brioche-runner-f4abbe2f9e9591a1b125ac4143e1e8556e9b9255f38b23aa518ecdb47cacda6a/work/vendor/vergen/src/feature/git
cmd.rs  git2.rs  gix.rs  mod.rs
[root@bb47e0028ffe workspace]# ls /usr/lib/node_modules_20/npm/node_modules/@npmcli/git/lib
clone.js  errors.js  find.js  index.js  is-clean.js  is.js  lines-to-revs.js  make-error.js  opts.js  revs.js  spawn.js  utils.js  which.js


Add observed generation and samples.

Add support for ObservedGeneration.
Assuming that:

The controller will only run on Kubernetes 1.10+
We can avoid the need for the controller to ever update the Spec.

we can leverage the Status subresource which simplifies things a bit.
For example, the status update does not cause the Generation to be incremented so the ObservedGeneration can simply be set equal  to the Generation.

@jortel cool usage of status subresource. I guess because this controller doesn't need to work on OCP 3.x we can use it safely.


Support CANCELED trips

We need to do the same as what is described here for Android:
https://github.com/OneBusAway/onebusaway-android/issues/1033

Due to quirks of how OBA for iOS displays arrival/departure information, this isn't currently necessary.


Add an option to run pub in a directory other than the working directory

I'm working on integrating our build process with a third party. It would help tremendously if we could do something like pub build path/to/package. Reason: we're configuring what to run to build the app, via a web form. There's no concept of a current working directory, just a single line for a command to run.
Workaround I'm trying: cd /var/www && pub build
However, that's not working for their system.
Meanwhile, I'll try to work out if we can run multiple commands for them. But it would be helpful if I could provide the path to the package.
Thanks for listening!

This issue has been moved to dart-lang/pub#794.


HDFS-15652. Make block size from NNThroughputBenchmark configurable

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
20m 27s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 34s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
1m 11s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 57s

trunk passed

+1 :green_heart:
mvnsite
1m 23s

trunk passed

+1 :green_heart:
shadedclient
16m 56s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 24s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
3m  2s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 59s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 10s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
1m  7s

the patch passed

-0 :warning:
checkstyle
0m 42s
/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 2 new + 146 unchanged - 1 fixed = 148 total (was 147)

+1 :green_heart:
mvnsite
1m 12s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m 29s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 24s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
3m  6s

the patch passed

_ Other Tests _

-1 :x:
unit
97m 25s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

203m 22s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.server.namenode.ha.TestHAAppend

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.TestDFSOutputStream

hadoop.hdfs.TestFileChecksum

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2416

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux e9361a133da5 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 12c908c827c

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/1/testReport/

Max. process+thread count
4063 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.1.3

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Hi thanks for the patch. It would be the best if you can make the block size configurable from command argument as well. The replication factor is configurable through config as well as arguments.

OK. @jojochuang Thanks for review !
There is a checkstyle problem

./hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java:172:    protected int blockSize;:19: Variable 'blockSize' must be private and have accessor methods. [VisibilityModifier]
I keep the style the same as original code. If fix this, It's different from other code, looks strange. How to deal with it ?

I keep the style the same as original code. If fix this, It's different from other code, looks strange. How to deal with it ?

Thanks. That's fine. We'll leave it as is to make the code consistent.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 29s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 18s

trunk passed

+1 :green_heart:
compile
1m 18s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
1m 12s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 53s

trunk passed

+1 :green_heart:
mvnsite
1m 19s

trunk passed

+1 :green_heart:
shadedclient
16m 56s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 28s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
3m  3s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  1s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 10s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
compile
1m  2s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
1m  2s

the patch passed

-0 :warning:
checkstyle
0m 43s
/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 5 new + 143 unchanged - 4 fixed = 148 total (was 147)

+1 :green_heart:
mvnsite
1m 10s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m 35s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 20s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
3m  0s

the patch passed

_ Other Tests _

-1 :x:
unit
100m 22s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

185m 37s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.TestFileChecksum

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2416

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux fb54b649531f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 872440610f0

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/2/testReport/

Max. process+thread count
3818 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/2/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.1.3

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 46s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m  8s

trunk passed

+1 :green_heart:
compile
1m 37s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 58s

trunk passed

+1 :green_heart:
mvnsite
1m 27s

trunk passed

+1 :green_heart:
shadedclient
20m 40s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m  7s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 38s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
3m 36s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 33s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 16s

the patch passed

+1 :green_heart:
compile
1m 23s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
1m 23s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
1m 13s

the patch passed

-0 :warning:
checkstyle
0m 49s
/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 7 new + 136 unchanged - 11 fixed = 143 total (was 147)

+1 :green_heart:
mvnsite
1m 24s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
16m 31s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 26s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
3m  1s

the patch passed

_ Other Tests _

-1 :x:
unit
97m 58s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 45s

The patch does not generate ASF License warnings.

198m 58s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.TestGetFileChecksum

hadoop.hdfs.TestFileChecksum

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2416

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 1e61c2ce4e2f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 15a5f536736

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/3/testReport/

Max. process+thread count
4031 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2416/3/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.1.3

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Failed Tests are unrelated and They are tracked.
@jojochuang  Could you please take a look again? Thanks

@jojochuang @ayushtkn Thanks for review!


Foot Contact for KIT

Thank you for all your amazing work.
My KIT visualization looks weird.

Feet are moving
Hands are behind
Have you seen the same issues? Are these issues from the raw data itself?

Hi,
I obtained the KIT data from the git repository of Language2Pose. My
visualizations are also like this.
On Wed, Feb 15, 2023 at 7:38 PM EXIT @.***> wrote:

Thank you for all your amazing work.
My KIT visualization looks weird.

Feet are moving
Hands are behind
Have you seen the same issues? Are these issues from the raw data
itself?
[image: Animation]
https://user-images.githubusercontent.com/3590976/219253539-09e02fd6-8ae7-4a02-b5f9-da7fed23075b.gif

—
Reply to this email directly, view it on GitHub
https://github.com/EricGuo5513/text-to-motion/issues/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRYNB6Y4PPMR2MQQ55GC5TWXWHLBANCNFSM6AAAAAAU5S5CDQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for your information.


[SR-2083] Don't error if a directory contains only ignored files

This PR will make it easier to work on different branches, as git doesn't remove empty directories when switching. Empty directories will now be warned about, but won't result in an error.
It will catch Module.Error.noSources when iterating over possible modules. It will then issue a warning on the warningStream that the module has been skipped due to missing sources.

LGTM

Does this create any problem if the module is referred in manifest file?

If the module doesn't contain any sources, but is referenced from another Target in the manifest file, it would already be an error. The reported error changes, see:
Before the patch:
➜  sr-2083 swift build
error: the module at /[...]/sr-2083/Sources/B does not contain any source files
fix: either remove the module folder, or add a source file to the module

After the patch:
➜  sr-2083 ../swift-package-manager/.build/debug/swift-build
warning: module `B` does not contain any sources.
error: these referenced modules could not be found: B
fix: reference only valid modules

hmm this looks ok to me, can you also add a test for the second case

What should the unit test for the second case test? We already have a test for missing sources (modified in this PR), and one for missing references. You want a test for the combination of the two?

Yup, a test which refers a module which has no sources

I've added a test for this. I could not inspect the warning that's issued, because it's not made available to the unit tests. See the scope of warningStream -- it exits on the try. https://github.com/apple/swift-package-manager/blob/37f0f1a6a96eaa6697e73a6b47819200204ad56e/Tests/PackageLoadingTests/ConventionTests.swift#L982-L987

Thanks I fixed that here 65403f5419c18fe380a38c4624be0d8c13f8d3ef
you should be able to see the warning in diagnostics now

Ah quick fix 👍. I've updated the PR to work with this.

Thanks!
merged this via commandline here: https://github.com/apple/swift-package-manager/commit/61f81710ebf898c703835adfb3d4b097271123e2


Provide absoluteURL() and webSocketURL() functions to JavaScript reverse router

#116
Allows to compute absolute and web socket urls from the JavaScript reverse router by providing two methods similar to the ones of the Scala Call API.
Example
GET   /foo    controllers.Application.foo()

var route = javascriptRoutes.controllers.Application.foo();
route.url == '/foo';
route.absoluteURL() == 'http://yourdomain.com/foo';
route.webSocketURL() == 'ws://yourdomain.com/foo';
route.absoluteURL(true) == 'https://yourdomain.com/foo';
route.webSocketURL(true) == 'wss://yourdomain.com/foo';
// Alternative API
route.absoluteURL({secure: true}) == 'https://yourdomain.com/foo';
route.webSocketURL({secure: true}) == 'wss://yourdomain.com/foo';

Required a change over the current API: Routes.javascriptRouter method takes an additional implicit parameter of type play.api.mvc.RequestHeader.
This change is needed because the host name should not be resolved client side.  Actually, computing the host name client side (using window.location.host) can raise issues in some specific cases.
For example, consider a service located at http://service.com, which provides a JavaScript entry point (e.g. http://service.com/api.js) allowing to retrieve the URL of some streaming content. To use it in your application located at http://application.com, you just write the following in your HTML files:
  <script src="http://service.com/api.js"></script>
  <script>
    // `Service` is exported by `api.js`
    var streaming = new WebSocket(Service.streamingUrl);
    streaming.onmessage = function (msg) {
      // ...
    };
  </script>

If the streamingUrl was computed using window.location.host to resolve the host name, it would return “ws://application.com/streaming” instead of “ws://service.com/streaming”. Computing the host name from the server solves this problem.

I really like the idea of JavaScript routes and have been doing much the same thing in my own project.  I'd suggest however that this outputs a file which can be included as input to the JavaScript compiler.  That has several advantages such as reducing the number of JS files that need to be downloaded by the client and elimination of unreferenced routes by the compiler.


static_ips_config not working as expected

I'm currently using this in my inventory:
f21-h15-000-r640 bmc_address=<IP_ADDRESS> mac=bc:97:e1:7c:d7:c1 ip=<IP_ADDRESS> mac2=bc:97:e1:7c:d7:c0 ip2=<IP_ADDRESS>
f21-h17-000-r640 bmc_address=<IP_ADDRESS> mac=bc:97:e1:7d:14:81 ip=<IP_ADDRESS> mac2=bc:97:e1:7d:14:80 ip2=<IP_ADDRESS>
f21-h18-000-r640 bmc_address=<IP_ADDRESS> mac=bc:97:e1:7c:d8:c1 ip=<IP_ADDRESS> mac2=bc:97:e1:7c:d8:c0 ip2=<IP_ADDRESS>

[masters:vars]
role=master
vendor=Dell
bmc_user=quads
bmc_password=rdu2@876
mask=24
gateway=<IP_ADDRESS>
dns=<IP_ADDRESS>
mask2=24
gateway2=<IP_ADDRESS>
dns2=<IP_ADDRESS>

and no static_ips_config is sent to the API. I am also seeing an error about the api_vip not being defined.
I have reverted to the static-ip branch which @a1bokhari used for a previous deployment and can see the ips in the payload:
http://pastebin.test.redhat.com/976605

Post and response from current master:
http://pastebin.test.redhat.com/976684

With extra verbosity it does seem like the ips are getting posted:
http://pastebin.test.redhat.com/976687

ount\",\"status\":\"failure\",\"message\":\"Clusters must have exactly 3 dedicated masters. Please either add hosts, or disable the worker host\"}],\"network\":[{\"id\":\"api-vip-defined\",\"status\":\"failure\",\"message\":\"The API virtual IP is undefined and must be provided.\"},{\"id\":\"api-vip-valid\",\"status\
":\"pending\",\"message\":\"The API virtual IP is undefined.\"},{\"id\":\"cluster-cidr-defined\",\"status\":\"success\",\"message\":\"The Cluster Network CIDR is defined.\"},{\"id\":\"dns-domain-defined\",\"status\":\"success\",\"message\":\"The base domain is defined.\"},{\"id\":\"ingress-vip-defined\",\"status\":\"
success\",\"message\":\"The Ingress virtual IP is defined.\"},{\"id\":\"ingress-vip-valid\",\"status\":\"pending\",\"message\":\"Hosts have not been discovered yet\"},{\"id\":\"machine-cidr-defined\",\"status\":\"pending\",\"message\":\"Hosts have not been discovered yet\"},{\"id\":\"machine-cidr-equals-to-calculated
-cidr\",\"status\":\"pending\",\"message\":\"Hosts have not been discovered yet\"},{\"id\":\"network-prefix-valid\",\"status\":\"success\",\"message\":\"The Cluster Network prefix is valid.\"},{\"id\":\"no-cidrs-overlapping\",\"status\":\"pending\",\"message\":\"At least one of the CIDRs (Machine Network, Cluster Net
work, Service Network) is undefined.\"},{\"id\":\"ntp-server-configured\",\"status\":\"success\",\"message\":\"No ntp problems found\"},{\"id\":\"service-cidr-defined\",\"status\":\"success\",\"message\":\"The Service Network CIDR is defined.\"}],\"operators\":[{\"id\":\"cnv-requirements-satisfied\",\"status\":\"succ
ess\",\"message\":\"cnv is disabled\"},{\"id\":\"lso-requirements-satisfied\",\"status\":\"success\",\"message\":\"lso is disabled\"},{\"id\":\"ocs-requirements-satisfied\",\"status\":\"success\",\"message\":\"ocs is disabled\"}]}",

For versions of assisted installer/service after v<IP_ADDRESS> the stucture of the JSON blob required to configure static IPs changed.
https://github.com/openshift/assisted-service/blob/master/docs/user-guide/restful-api-guide.md

For versions of assisted installer/service after v<IP_ADDRESS> the structure of the JSON blob required to configure static IPs changed.
https://github.com/openshift/assisted-service/blob/master/docs/user-guide/restful-api-guide.md

Thanks, I deployed v<IP_ADDRESS> and had the same problem. Have reverted to OCP 4.6 deployment with some fixes from the static-ip branch and this is working.

Looks like v<IP_ADDRESS>  will be work for the current master branch


Enable tests runs in drone build

Need a way to evaluate unit test failures
Need to put in a version check for OpenMPI since "-bind-to none -map-by node" is hardcoded
Need Gaussian RNGs without MKL
See also #11 and #12.

Unit test failures now generate a nonzero exit code.
The arguments to OpenMPI stay that way, now exposed to the user. These arguments seem to do the right thing on most platform we test on, though a minimum version 1.8? (1.10.0 definitely works) of OpenMPI is required.


Add Contribution Guidelines and Code of Conduct

This is looking great. Did we rename this repo recently? I'm sorry I haven't caught up with the changes here fully. Where is this project being discussed, Discord?
I have left a few comments which might lead to some discussion. Should I hop onto discord for that?

Nope. The repo hasn't been renamed.
You can hop onto Discord or we can discuss this on Messenger group as well. I have discussions at both places to take input from Alumni as well.

Since no one has left any reviews, I'm hoping everyone is fine with the present state of the Contribution Guidelines and Code of Conduct. I'll be merging it now. Thanks to everyone who reviewed it.


Bower.json file doesn't contain a main property

Hi all,
When we install the library using Bower, the .bower.json file of socket.io-client doesn't contain a main property. This property is needed by other tools like [wiredep] (https://github.com/taptapship/wiredep) to work correctly.
For instance, in our app, we use Gulp + Wiredep to automatically inject dependencies when running unit tests. However, the socket library isn't loaded because Wiredep doesn't know which file to load and then our tests fail.
Thank's !

Duplicate of https://github.com/Automattic/socket.io-client/pull/752
Unfortunately, we don't support Bower officially for now.

Oh ... =/
So for those who are in front of the same problem you could overwrite the main property of a Bower package in your main bower.json.
Example:
{
  "name": "yourApp",
  "dependencies": {
    "socket.io-client": "~1.3.5"
  },
  "overrides": {
    "socket.io-client": {
      "main": ["socket.io.js"]
    }
  }
}


Allows MutableSpan to be used directly with Zipkin Reporter

This shows how a direct (zero conversion) async reporter can exist in
the next version of Zipkin Reporter. This test should be left around so
that people don't accidentally break it!
Incidentally, this can be leveraged in other libraries as well.
See https://github.com/openzipkin/zipkin/issues/3005

the json writer code and ID normalization was yanked from Zipkin. I'll move the unit tests over meanwhile.

holy grail https://github.com/openzipkin/zipkin-reporter-java/pull/174

thanks for the look.
test flake is the one from MVC which I've still not pinned down. tempted to roll back to Jetty 8 but  haven't given up yet

tested even in spring XML
--- a/webmvc25/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/webmvc25/src/main/webapp/WEB-INF/applicationContext.xml
@@ -16,8 +16,7 @@
   </bean>

   <!-- Configuration for how to buffer spans into messages for Zipkin -->
-  <bean id="spanReporter" class="zipkin2.reporter.beans.AsyncReporterFactoryBean">
-    <property name="encoder" value="JSON_V2"/>
+  <bean id="zipkinSpanHandler" class="zipkin2.reporter.beans.AsyncZipkinSpanHandlerFactoryBean">
     <property name="sender" ref="sender"/>
     <!-- wait up to half a second for any in-flight spans on close -->
     <property name="closeTimeout" value="500"/>
@@ -72,7 +71,7 @@
         <property name="scopeDecorators" ref="correlationScopeDecorator"/>
       </bean>
     </property>
-    <property name="spanReporter" ref="spanReporter"/>
+    <property name="spanHandlers" ref="zipkinSpanHandler"/>
   </bean>

   <!-- Allows someone to add tags to a span if a trace is in progress, via SpanCustomizer -->

so in release notes, it will be simple. just do this to move off deprecation (as noted in the javadoc)

AsyncReporter -> AsyncZipkinSpanHandler
builder.spanReporter -> builder.addSpanHandler

thanks so much for all the epic help this release @anuraaga


Flutter Firebase messaging crash when click on notification iOS

Bug report
When I receive an remote notification and when I click on notification it calls for navigation to particular screen.Then app crashes
Steps to reproduce
Steps to reproduce the behavior:

Move app in background.
Click on notification.
App will crash with error Thread 1: EXC_BAD_ACCESS (code=2, address=0x16b20fff8)

Expected behavior
App should have navigated to particular screen by calling appDidReceiveMessage
Additional context
After debugging I have found that appDidReceiveMessage is getting called multiple times.Around 6000 times then it got crashes.
Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.9.0-1.0.pre.173, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.63.2)
[✓] Connected device (2 available)
    ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
    ! Error: iPhone (3) is not connected. Xcode will continue when iPhone (3) is connected. (code -13)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
dependencies:
- amazon_cognito_identity_dart_2 1.0.3 [convert crypto http]
- awesome_notifications 0.6.19 [flutter platform intl]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- connectivity 3.0.6 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- crypto 3.0.1 [collection typed_data]
- cupertino_icons 1.0.4
- device_info 2.0.3 [flutter device_info_platform_interface]
- dio 4.0.4 [http_parser path]
- equatable 2.0.3 [collection meta]
- firebase_analytics 9.0.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 1.10.6 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.4.4 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_dynamic_links 4.0.3 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 11.2.5 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_facebook_login 3.0.0 [flutter collection]
- flutter_html 2.2.1 [html csslib flutter_layout_grid video_player chewie webview_flutter chewie_audio flutter_svg flutter_math_fork collection numerus flutter]
- flutter_image_compress 1.1.0 [flutter]
- flutter_io_socket 0.0.7 [js]
- flutter_local_notifications 9.2.0 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_slidable 0.6.0 [flutter]
- fluttertoast 8.0.8 [flutter flutter_web_plugins]
- geocoder 0.2.1 [meta flutter]
- google_sign_in 5.2.1 [flutter google_sign_in_platform_interface google_sign_in_web meta]
- http 0.13.4 [async http_parser meta path]
- image_cropper 1.4.1 [flutter]
- image_picker 0.8.4+4 [flutter flutter_plugin_android_lifecycle image_picker_for_web image_picker_platform_interface]
- intl 0.17.0 [clock path]
- json_annotation 4.4.0 [meta]
- package_info 2.0.2 [flutter]
- path_provider 2.0.8 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- permission_handler 8.3.0 [flutter meta permission_handler_platform_interface]
- photo_view 0.13.0 [flutter]
- pin_code_fields 7.3.0 [flutter]
- provider 6.0.2 [collection flutter nested]
- rxdart 0.27.3
- shared_preferences 2.0.11 [flutter meta shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 3.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- simple_animations 4.0.1 [flutter flutter_lints collection]
- store_redirect 2.0.0 [flutter]
- stripe_payment 1.1.4 [flutter]
- url_launcher 6.0.17 [flutter meta url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- webview_flutter 2.8.0 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- args 2.3.0
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.0
- charcode 1.3.1
- chewie 1.1.0 [cupertino_icons flutter video_player wakelock]
- chewie_audio 1.3.0 [cupertino_icons flutter video_player]
- clock 1.1.0
- collection 1.15.0
- connectivity_for_web 0.4.0+1 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.2.1+2 [flutter connectivity_platform_interface]
- connectivity_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- csslib 0.17.1 [source_span]
- dbus 0.6.6 [args ffi meta xml]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.0.3 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+4 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.2.3 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.11 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_dynamic_links_platform_interface 0.2.0+3 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_layout_grid 1.0.3 [flutter collection meta quiver]
- flutter_lints 1.0.4 [lints]
- flutter_local_notifications_linux 0.4.1+1 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_math_fork 0.5.0 [flutter flutter_svg provider meta collection tuple]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_svg 0.23.0+1 [flutter meta path_drawing vector_math xml]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- google_sign_in_platform_interface 2.1.0 [flutter meta quiver]
- google_sign_in_web 0.10.0+3 [flutter flutter_web_plugins google_sign_in_platform_interface js meta]
- html 0.15.0 [csslib source_span]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image_picker_for_web 2.1.4 [flutter flutter_web_plugins image_picker_platform_interface meta]
- image_picker_platform_interface 2.4.1 [flutter http meta plugin_platform_interface cross_file]
- js 0.6.3
- lints 1.0.1
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- nested 1.0.0 [flutter]
- numerus 1.1.1
- octo_image 1.0.1 [flutter flutter_blurhash]
- path 1.8.0
- path_drawing 0.5.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.2.1 [vector_math meta]
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.4 [ffi flutter meta path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.4 [flutter meta path_provider_platform_interface]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.4 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.0 [meta]
- process 4.2.4 [file path platform]
- quiver 3.0.1+1 [matcher]
- shared_preferences_android 2.0.9 [flutter meta shared_preferences_platform_interface]
- shared_preferences_ios 2.0.8 [flutter meta shared_preferences_platform_interface]
- shared_preferences_linux 2.0.3 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.2 [flutter flutter_web_plugins meta shared_preferences_platform_interface]
- shared_preferences_windows 2.0.3 [file flutter meta path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.1 [flutter sqflite_common path]
- sqflite_common 2.0.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.8.0 [path]
- tuple 2.0.0 [quiver]
- typed_data 1.3.0 [collection]
- url_launcher_android 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_ios 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_linux 2.0.2 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.5 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- uuid 3.0.5 [crypto]
- vector_math 2.1.1
- video_player 2.2.10 [flutter meta video_player_platform_interface video_player_web html]
- video_player_platform_interface 5.0.0 [flutter plugin_platform_interface]
- video_player_web 2.0.5 [flutter flutter_web_plugins meta pedantic video_player_platform_interface]
- wakelock 0.5.6 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- webview_flutter_android 2.8.2 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 1.8.0 [flutter plugin_platform_interface]
- webview_flutter_wkwebview 2.7.1 [flutter webview_flutter_platform_interface]
- win32 2.3.3 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.3.1 [collection meta petitparser]

@mohammedHussainSTV
Can you provide us the entire crash log ? Also provide us the code for onBackgroundMessage and how you are handling when you receive the notification and then tap on it, ie, the navigation code as well.

onBackgroundMessage message
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
Future.delayed(Duration(seconds: 2), () {
      NotificationUtils.dismissAllNotifications().whenComplete(() {
        NotificationUtils.createMessagingNotification(
            channelKey: 'chats',
            groupKey: 'Test',
            chatName: 'Demo',
            username: 'userName',
            message: 'test',
            payload: Map<String, String>.from(message.data));
      });
    });
}

Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
}

Navigation code
Navigator.push(navState.currentContext,
    MaterialPageRoute(builder: (context) => Text()));

@mohammedHussainSTV
Can you also provide the entire crash log as requested earlier ? Also provide your onMessageOpenedApp code too. Are you sending a data-only payload ?  Also, try using the plugin official example and use your navigation code snippet in it and see if you still get the same crash or not.

same issue

Logs for issue
`Received an invalid notification content
Received an invalid notification content
Received an invalid notification content
Received an invalid notification content
Received an invalid notification content
2022-01-19 15:23:51.283976+0530 Runner[63198:8106639] flutter: socket receive: type "message", data "2["receiveMessage_61d6e21ade36acc1fb47b5a3",{"message":"👋 hi 👋 👋 👋 👋 👋 👋 👋 👋 hi 👋","message_type":1,"chat_id":"61d6e21ade36acc1fb47b5a3","sender_type":3,"receiver_type":1,"sender_id":"61cc45008012e78699bb3863"}]"
Received an invalid notification content
Received an invalid notification content
Received an invalid notification content
Received an invalid notification content`
onMessageOpenedApp app code
FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) {
    String data = jsonEncode(message.data);

    handleNotificationClick(data);

    // Navigator.pushNamed(context, '/message',
    //     arguments: MessageArguments(message, true));
  });

handleNotificationClick(String dataStr) {
  Map<String, dynamic> map = jsonDecode(dataStr);
  switch (int.parse(map["notification_type"])) {
    case 1:
      Navigator.push(navState.currentContext,
          MaterialPageRoute(builder: (context) => AccountSetupScreen()));
      break;
      }}

@mohammedHussainSTV
Since you seem to be also using awesome_notfication plugin, I doubt if there's any conflict / interference between it and messaging. Can you try the same scenario without using that plugin and see if it helps ?

@darshankawar Issue is resolved now after removing awesome_notfication plugin.
Can you let me know what was the actual issue.

@mohammedHussainSTV
You may need to reach out to awesome_notification plugin owner for this. https://github.com/rafaelsetragni/awesome_notifications/issues
Closing from here as this isn't a messaging plugin issue.


Parameter names are not sanitized

Description
Parameters that are not valid Python names are not handled gracefully at the moment. E.g. OData query parameters ($skip, $top, $filter) are only passed to the controller if it uses **kwargs.
Expected bahaviour
Parameter names should be sanitized by stripping invalid characters.
Actual behaviour
If the controller does not have **kwargs there is no way for the parameters to be passed as arguments.
Steps to reproduce
Create a swagger.yaml that declares a parameter with a name that is not a valid argument name in Python, such as $top.
Additional info:
Output of the commands:

python --version
Python 2.7.12

pip show connexion | grep "^Version\:"
Version: 2016.0.dev1

git describe --always
1.0.88-234-g10a0c15

Coverage remained the same at 100.0% when pulling dc57bc3aa697c7d5355a4676e5c7d94533483691 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Thanks for the PR. Can you add tests?

@hjacobs Done, updated the PR.

Scratch that, I only test for query parameters, will update. Give me 5 mins.

Coverage remained the same at 100.0% when pulling 84ff53567ce21fa936ff613c9168374e2b94dc2c on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Sanitization now handles query and form parameters and the body name. Path parameters are validated by werkzeug (invalid names are rejected instead of sanitized). Headers are also already mangled, so also no sanitization there.

Coverage decreased (-0.3%) to 99.738% when pulling 410f0ec4c8bebb5ec96c442a1d3ab339b9965c03 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Coverage remained the same at 100.0% when pulling f5d82a06cd718ee4c195e41414e0e108405a1145 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Coverage remained the same at 100.0% when pulling dd6dbea9aaf5bf63afd9b9ff5e413c54074e1c69 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Coverage remained the same at 100.0% when pulling dd6dbea9aaf5bf63afd9b9ff5e413c54074e1c69 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Coverage remained the same at 100.0% when pulling dd6dbea9aaf5bf63afd9b9ff5e413c54074e1c69 on themiwi:bugfix/334-sanitize-parameter-names into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

And finally it also passes the tests on python 3...

@themiwi Thank you for the PR, seems very useful. I just think that would be nice to mention this in our documentation. This is something that might lead to people spending some time with code trying to get what is going on. Even thought it sounds obvious sanitation, it might not be so obvious to everyone.

👍


faster norm/normall code

Use template specialization to avoid unnecessary pow, switch to float form.
Speedup for normall (2-norm):
old code

tensor size
time (ms)

10000
0.19192695617676

100000
0.18906593322754

1000000
0.31685829162598

10000000
1.3060569763184

100000000
11.244058609009

new code

tensor size
time (ms)

10000
0.12993812561035

100000
0.15497207641602

1000000
0.14400482177734

10000000
0.34999847412109

100000000
2.2017955780029

fixed now, and test checks for that with negative numbers (fails without the change)

Thanks!


use link to .html instead of .md

Changing relative link to point at .html and not .md file.
Same way it is done here.
Alternative would to have non-relative link to https://tempo.readthedocs.io/en/latest/overview/quickstart.html but I am not convinced this is best idea. Can change if that would be better.

After discussing with @cliveseldon adjusted to point at the main docs page for now such that it works both from notebooks and website.


Usage with Webpack + CSS + PostCSS (No SASS)

Is your feature request related to a problem? Please describe.
I have a project that does not use SASS. Instead, we prefer to use CSS with PostCSS. I think this is a really cool project that has been missing in my arsenal of frontend development. However, there is no clear guide on how to use this package with PostCSS.
Describe the solution you'd like
Here is my best attempt at integrating this package into a Webpack + CSS + PostCSS project:
Requirements

wepback
style-loader
css-loader
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Note: I added postcss* versions because the version matching is pretty fragile.
webpack.config.js
module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/,
        use: [
          { loader: 'style-loader' },
          { loader: 'css-loader', options: { importLoaders: 1, modules: true } },
          { loader: 'postcss-loader' },
        ],
      },
    ],
  },
};

postcss.config.js
module.exports = {
  plugins: [
    'postcss-import',
    ['postcss-url', { url: 'inline' }],
  ],
};

This particular solution will inline the fonts with the CSS payload. There is a way to extract the CSS + fonts into their own files but that is beyond the scope of this guide.
some.css
@import "fontsource-open-sans/400.css";
@import "fontsource-open-sans/600.css";

:root {
  --font-family: 'Open Sans', sans-serif;
}

Describe alternatives you've considered
Another helpful guide would be to extract the CSS and/or fonts into their own asset with Webpack.

Just out of curiosity, aren't you able to use css-loader in Webpack to just import the Fontsource CSS into your project? Or is that not an option?
I'm not a hundred percent sure what's the best way to import with PostCSS otherwise. I'd love some additional community input on that.

Just out of curiosity, aren't you able to use css-loader in Webpack to just import the Fontsource CSS into your project? Or is that not an option?

I may have misconfigured my css-loader:
AFAIK, css-loader parses @import expressions as relative files. So an @import fontsource-open-sans/400.css resolves to Unable to import file "./fontsource-open-sans/400.css" from "some/css/file.css".
I used postcss-import to "inline" the @imported file.
Then I needed something to parse the url(...) files -- postcss-url.
Then I needed to determine whether I wanted to bundle the fonts with my CSS payload or extract them as separate files. The easiest was to inline the woff/woff2 files as base64 encoded strings.

I don't see why you're importing through CSS when you could import it via your web/page components instead as per the main instructions shown on the readme?
That way, Webpack can handle all the file bundling and whatnot without PostCSS through css-loader.

That is true.
This is all based on my opinion that my CSS should be encapsulated in the CSS files -- very similar to how the README add "SASS support".
If we think it's better to import the font via JS then we can close this. Though, I find it weird to also support loading through SASS.
If we think it's okay to support loading through CSS then we can continue digging through this. I realized my PostCSS guide might be outdated. It looks like css-loader should be able to recursively manage @import statements. I am still digging around for the "optimal setup" -- more to come!

We support SASS out of coincidence and never had to add any additional code for it.
I'm fine with leaving this issue open to see alternatives! I fully intend Fontsource to be as flexible and accessible as possible to all developers and I'm sure there may be other similarly minded developers as you.
I'll need to start considering editing search-directory to have a dedicated documentation section to accommodate the expanding installation methods (especially with SASS soon to be overhauled). The README might be getting too long.

After much investigation,

I don't see why you're importing through CSS when you could import it via your web/page components instead as per the main instructions shown on the readme?
That way, Webpack can handle all the file bundling and whatnot without PostCSS through css-loader.

is the way to go (as the current state of Webpack + CSS processing).
Aside for future readers: @import statements are not treated as idempotent modules (like JS modules) because they are technically "not pure". You will want to use a JS file and manage your application-level CSS manually.


Fix outer loop permission issues

Signed-off-by: Scott Kurz<EMAIL_ADDRESS>Fixes #81

Closing as superseded by #83

Going to use this to just ship the stack image Dockerfile change, so we can proceed to build it.


add Svelte 4 to peerDependencies

I'll hold this one for now until Svelte 4 is released in case there's something that needs to be changed here.


Migrate zstbi to own repo

Migrates zstbi to https://github.com/zig-gamedev/zstbi
DO NOT MERGE

Moving to uber migration PR https://github.com/zig-gamedev/zig-gamedev/pull/668


Prediction on binary classification with softmax

I have a binary classification network with a softmax layer at the end:
predictions = Dense(2, activation='softmax')(x)
When I do model.predict() I get results as below. How do I interpret this array? If 0.00673855 is the probability for class 0 and 0.0016871 is the probability for class 1. Shouldn't they add up to 1.0 ?
[[ 0.00673855  0.0016871 ]]

Hi,
Your network is not correct, you should only have one output neuron, i.e., Dense(1, ...). Then with model.predict() you'll have a value between 0 and 1, which can be interpreted as the probability to belong to class 1.

@Fuerril Thanks for the help. It doesn't matter that the output is 2 because I am using categorical_crossentropy  instead of binary_crossentropy.  I forgot to mention it.
So I managed to figure out the issue: instead of using softmax I was using sigmoid. Again my mistake. Many hours on the screen...

I have only one output neuron,but I don't know how to get the label from the result ,my label is 'normal' and 'abnormal'


error TS1005: ',' expected

After installing this package in a Angular 10.2 with Typescript 3.9.7 project I just get a load of error TS1005: ',' expected errors:
It looks like I need the latest version of typescript but I am not ready to update my project to v4+ yet.
ERROR in node_modules/skia-canvas/lib/index.d.ts:88:17 - error TS1005: ',' expected.

88 type Offset = [x: number, y: number] | number
                   ~
node_modules/skia-canvas/lib/index.d.ts:88:28 - error TS1005: ',' expected.

88 type Offset = [x: number, y: number] | number
                              ~
node_modules/skia-canvas/lib/index.d.ts:128:22 - error TS1005: ',' expected.

128 type QuadOrRect = [x1:number, y1:number, x2:number, y2:number, x3:number, y3:number, x4:number, y4:number] |
                         ~
node_modules/skia-canvas/lib/index.d.ts:128:33 - error TS1005: ',' expected.

128 type QuadOrRect = [x1:number, y1:number, x2:number, y2:number, x3:number, y3:number, x4:number, y4:number] |
                                    ~
node_modules/skia-canvas/lib/index.d.ts:128:44 - error TS1005: ',' expected.
...

Sorry, for not responding for such a long time. As typescript 5 is already released and 4 has been out for over 3 years already I will close this issue.


Services dropdown doesn't work

When clicking the 'Services' dropdown, I see a list of "blank" services.
Expected Behavior
Show me the services :-)
Current Behavior
See screenshot
Screenshots (if appropriate):
https://imgur.com/a/cELOl
Your Environment

Franz Version used: 5 13.316
Operating System and version: OS X 10.13.1

Are just the labels missing or is a click on the service broken as well?

Just the labels missing. Clicking seems to work.


what's error with the cascade ,help me please!

Hi, nice to see you , Genius!
I follow the guide
https://volkanceylan.gitbooks.io/serenity-guide/content/howto/how_to_setup_cascaded_editors.html
and code it. but got error like the picture

and the second dropdownlist  said no matches found

is the step necessary？

The follow is my step
First  of all,I generate code for two tables using Sergen
the first table is like this

and the second table is

Second,  I add the two table LookupScript()
Third, I  add ForeignKey,and LookupInclude like this

And finally, I add LookupEditor in myCustomForm

But it doesn't work, error is that I mention at the first.
Is there I miss something or do something error?
I'm looking forward to your kind advice.

Your CascadeFrom should be ArticleType not ArticleTypeId

oh my god! it work effectively !!! Sincerely thank you, that's wonderful !
I just code like this

Maybe I should write the detials like the issue than before ,

I also want know CascadeFrom = "ArticleType"  , what's the mean of the "ArticleType" ,  is part of the  "ArticleTypeRow" Name or others?

Your first lookup editor is on property ArticleType

Sorry! I still can't understand ,  is there? which number is?
No1   at the first of ArticleTypeRow

No2  at  the end of ArticleTypeRow

No3 at ArticleSecondTypeRow
[DisplayName("Article Type Id"), NotNull]
[ForeignKey("[dbo].[ArticleType]", "ID"), LookupInclude]
public Int32? ArticleTypeId
{
get { return Fields.ArticleTypeId[this]; }
set { Fields.ArticleTypeId[this] = value; }
}

Man look at properties where you put LookupEditor attribute in your form definition, cascadeFrom is name of property or editor that an editor will attach to

If I only have one table ,to store my data about "country" "province" "city".  Can I use it for my CustomerForm with Cascade
the table have a column "ParentId" , that Self association.
like this

First, I generate code for the tables using Sergen
Second, I add LookupScript at the first of BAreas

Third, I add ForeignKey and lookupInclude

And finally I edit in myCustomerForm

Is there I code error? or something miss?
or We can't use one table to make cascade relation

Are you really reading what i wrote? CASCADEFROM IS PROPERTY NAME IN YOUR FORM!
So,
[LookupEditor(typeof(Entities.BAreasRow)), CascadeFrom = "Country", CascadeField= "ParentId")]
public Int32 Provice { get; set; }

Please someone speaking Chinese, explain him

Oh,Oh...Sorry..I finally understand it,  really thanks for your patient teach!

You know, all the areas data are in the "BAreas" table .  In the ”country“ column,  the dropdownlist data has some of the province and city data.  How can I filter them?    Is the filterField of the LookupEditor can be used ?  how can I use it

You might need to write a custom lookup editor for it. See samples in Serene.

Is like this picture?

and it works perfectly,  Thans for you genius answer!

You're welcome. You could also write a custom editor instead of custom lookup, but this is also fine.


Add CHANGELOG notes for v6.6.2 Go modules changes

This simply adds missing CHANGELOG notes for the Go modules changes that went into v6.6.2, as mentioned here.

@xtreme-shane-lattanzio: Here are the CHANGELOG notes we talked about earlier.

@miquella Thanks again for all your valuable insight and help!

Thank you for helping work through this with me!
As a reminder, if you'd like these notes to show up in the corresponding release, I think they'll have to be copied over to the release manually :smiley:


Added ICM SB RAS institute.

@dampir I am sorry, JetBrains does not generally grant free subscriptions to academic institutes. They are initially designed for colleges and universities. Do you have a lot of PhD students studying in the institute? If yes, how many of them approximately?

@philipto ICM SB RAS is part of Federal research centre
"Krasnoyarsk scientific center
Siberian branch of the Russian Academy of Sciences». So you can check the amount of PhD Students here https://career.krasn.ru/postgraduate-doctoral/portfolio-postgraduate/
There is about 80 PhD students.

@dampir Thank you for the clarification. Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


[ATIP] Rename debug files and add uiautomator env

Rename webdriver_config to bdd_config to compatible with uiautomator
Add uiautomator env in set_env.sh
Rename json files

Rename webdriver_config to bdd_config to compatible with uiautomator

Does that mean webdriver is something a kind of bdd?

webdriver is just like a backend of bdd, a way to implement bdd.

Merge as-is.


Removing david.reporter causes issues with previously-working code

FYI - this change to the API is breaking, so it might be worth considering a major version bump. I'm strongly suggesting this because this causes currently working builds to die.
The error looks like this, in case anyone else is searching:
TypeError: Cannot read property 'on' of undefined
    at Checker.Readable.pipe (_stream_readable.js:481:7)
    at Gulp.<anonymous> (gulpfile.babel.js:45:6)
    at module.exports (/Users/jsheeley/git/lumen/api/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/jsheeley/git/lumen/api/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/jsheeley/git/lumen/api/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/jsheeley/git/lumen/api/node_modules/orchestrator/index.js:134:8)
    at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
    at nextTickCallbackWith0Args (node.js:452:9)
    at process._tickCallback (node.js:381:13)
    at Function.Module.runMain (module.js:449:11)
    at startup (node.js:139:18)
    at node.js:999:3

The fix is removing .pipe(david.reporter) from your gulpfile.

I'm following the Semantic Versioning. As my project is still in major version zero (0.y.z), I only have to increment the Y version component when I introduce some breaking changes.
This is what I've done in the last release : the version number raised from 0.3.x to 0.4.x.

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

If no new issue come in the next month, maybe I'll release the first 1.x version :sweat_smile:


Initialize the request just once

We currently initialize the Request singleton twice: the first time it's initialized here, and after we re-initialize it here.
What about removing this second initialization?

Nope, we need that second creation...


Support values written as quoted node labels since >4.6.1

Describe the bug
Handling of reading newick trees with support values (numeric values as internal node names) somehow changes after release 4.6.1.
Expected behavior
reading and writing a newick tree should result in the same representation.
This was also the behavior for Dendropy <= 4.6.1
To Reproduce
nw_str = "(A:0.36827875,B:0.186986942,(C:0.156890492,D:0.175861009)1.000:0.163375071);"
tree = dendropy.Tree.get(data=nw_str,schema="newick")
assert nw_str == tree.as_string("newick").strip()

Computational environment

OS: linux / macosx
Python version 3.11
DendroPy version >4.6.2

Additional context
Add any other context about the problem here.

Hi @alpae , thanks for the report! I’ll look into this shortly and follow up

Could you share an example Newick string where this occurs and, if possible, a few lines of runnable Python to demonstrate the issue?

The output string in this case is
(A:0.36827875,B:0.186986942,(C:0.156890492,D:0.175861009)'1.000':0.163375071);

with 1.000 quoted

Seems potentially related to #144

Hi @alpae --- found the issue and fixed. (Nexus and Newick serialization share logic, and Nexus is more eager about quoting certain characters than Newick). I just tagged v5.0.1 with the bug fix, which should release onto PyPI in about half an hour.
Thank you for the report!


18238 Added org-person middleInitial/middleName workaround

Issue #: bcgov/entity#18238
Description of changes:

app version = 4.7.5
moved director workaround to LegalServices
moved parties workaround to LegalServices
removed workaround from Change
removed workaround from Conversion
updated unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-541-pu6ujz6g.web.app

Ping! Could you guys please review this PR? Thanks!


quick and easy typo fixes for building docs on my ext4 fs

Yep!
You can't build docs on ext4 fs (or any other case sensitive fs, I suppose) without fixing this typos.
Hope this help.

It should be Taginput on every reference

Fixed


Flutter in_purchase not working release mode

I have test flutter official in purchase plugin issue was in this plugin it was working fine on internal test but not working on production release mode

Hi @joshua750
Please provide the information indicated below:

What is the version of in_app_purchase plugin are you using?
The affected device information (OS, model)
The output of flutter doctor -v (flutter version which was used to deploy the app)
Reproduction steps, Expected results, Actual results

Thank you!