fix select group at profile page

What does this PR do?
There was a problem with the casing that made the button to switch groups at someone's profile page not to work.
Links to related issues
Checklist

[ ] added a test, or explain why one is not needed/possible...
[ ] no unrelated changes
[ ] asked someone for a code review
[ ] joined chat.foodsaving.world/channel/karrot-dev
[ ] added an entry to CHANGELOG.md (description, pull request link, username(s))

It seems you somehow changed the yarn.lock file, could you reset it?

Oops! I was wondering about that... It might have happened when I had to update yarn, because it wasn't working here anymore. I'll take a look into it. Any tips to spare me some time? :)

So I just copy-pasted the file from the master branch. But still wondering how/why that change happened.

(btw you are free to merge when ready!)

Cool, pressing the Merge button for the first time! :)


Create test for quota exceeding k8 quota

If requested quota is greater than k8 quota, the AppWrapper should successfully schedule, but no pods should be created due to k8 enforced limits.
Files used:
k8-tiny-quota.yaml
apiVersion: v1
kind: ResourceQuota
metadata:
  name: example
  namespace: test1
spec:
  hard:
    requests.cpu: '1m'
    requests.memory: 1Mi
    limits.cpu: '1m'
    limits.memory: 1Mi

testing-forest.yaml
apiVersion: ibm.com/v1
kind: QuotaSubtree
metadata:
  name: context-root
  namespace: kube-system
  labels:
    tree: quota_context
spec:
  children:
    - name: context-root
      quotas:
        hardLimit: true
        requests:
          cpu: 2000
          memory: 8000Mi
---
apiVersion: ibm.com/v1
kind: QuotaSubtree
metadata:
  name: context-root-children
  namespace: kube-system
  labels:
    tree: quota_context
spec:
  parent: context-root
  children:
    - name: alpha
      quotas:
        hardLimit: false
        requests:
          cpu: 1000
          memory: 4000Mi
    - name: beta
      quotas:
        requests:
          cpu: 1000
          memory: 4000Mi

exceeed-k8-quota.yaml
apiVersion: mcad.ibm.com/v1beta1
kind: AppWrapper
metadata:
  name: fail-for-k8
  namespace: test1
  labels:
    quota_context: "alpha"
spec:
  service:
    spec: {}
  resources:
    metadata: {}
    GenericItems:
      - metadata: {}
        replicas: 1
        custompodresources:
        - replicas:  1
          requests:
            cpu: 500m
            memory: 2000Mi
          limits:
            cpu: 500m
            memory: 2000Mi
        generictemplate:
          apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
          kind: StatefulSet
          metadata:
            name: fail-for-k8
            namespace: test1
            labels:
              app: fail-for-k8
          spec:
            selector:
              matchLabels:
                app: fail-for-k8
            replicas: 1
            template:
              metadata:
                labels:
                  app: fail-for-k8
                  size: "1"
              spec:
                containers:
                  - name: fail-for-k8
                    image: registry.access.redhat.com/ubi8/ubi:latest
                    command:
                      - /bin/sh
                      - -c
                      - while true; do sleep 10; done
                    resources:
                      requests:
                        cpu: "500m"
                        memory: "2000Mi"
                      limits:
                        cpu: "500m"
                        memory: "2000Mi"

Expect
An event indicating that a pod cannot be scheduled due to resource limits being exceeded, i.e.:
create Pod fail-for-k8-0 in StatefulSet fail-for-k8 failed error: pods "fail-for-k8-0" is forbidden: exceeded
quota: example, requested: limits.cpu=500m,limits.memory=2000Mi,requests.cpu=500m,requests.memory=2000Mi,
used: limits.cpu=0,limits.memory=0,requests.cpu=0,requests.memory=0,
limited: limits.cpu=1m,limits.memory=1Mi,requests.cpu=1m,requests.memory=1Mi

#359


manifest.json missing on production environment

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
Nill
Link to runnable example
No response
Steps to reproduce
Nill
Expected behavior
Nill
Actual behavior
Nill
Runtime
Other (please specify in steps to reproduce)
Package manager
pnpm
OS
No response
Build and bundle tools
Next.js

Fix: #13


Support for uploading iPad 10.5" screenshots with fastlane deliver

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Apple now allows you to upload screenshots for the iPad 10.5" Display
Screenshots for the iPad 10.5" display use resolution of 2224x1668.
Because deliver doesn't recognize that resolution and therefore doesn't upload those screenshots. The workaround is to manually upload them or to have it default to using 12.9" display screenshots.
It would be great if you can add support for it. Thanks!
Complete output when running fastlane, including the stack trace and command used
$ fastlane deliver
[14:40:29]: Successfully loaded '/Users/thon/projects/myapp/Deliverfile' 📄

+-------------------------+---------------------------+
|        Detected Values from './Deliverfile'         |
+-------------------------+---------------------------+
| app_identifier          | com.example.myapp         |
| skip_binary_upload      | true                      |
| skip_screenshots        | false                     |
| skip_metadata           | true                      |
| skip_app_version_update | true                      |
+-------------------------+---------------------------+

[14:40:29]: To not be asked about this value, you can specify it using 'username'
[14:40:29]: Your Apple ID Username<EMAIL_ADDRESS>[14:40:32]: Login to iTunes Connect<EMAIL_ADDRESS>[14:40:34]: Login successful

+--------------------------------------+---------------------------+
|                      deliver 2.70.1 Summary                      |
+--------------------------------------+---------------------------+
| username                             |<EMAIL_ADDRESS>        |
| screenshots_path                     | ./screenshots             |
| metadata_path                        | ./metadata                |
| app_identifier                       | com.example.myapp         |
| edit_live                            | false                     |
| platform                             | ios                       |
| skip_binary_upload                   | true                      |
| skip_screenshots                     | false                     |
| skip_metadata                        | true                      |
| skip_app_version_update              | true                      |
| force                                | false                     |
| submit_for_review                    | false                     |
| automatic_release                    | false                     |
| phased_release                       | false                     |
| overwrite_screenshots                | false                     |
| run_precheck_before_submit           | true                      |
| precheck_default_rule_level          | warn                      |
| ignore_language_directory_validation | false                     |
| precheck_include_in_app_purchases    | true                      |
+--------------------------------------+---------------------------+

[!] Unsupported screen size [2224, 1668] for path './screenshots/de-DE/iPad Pro (10.5-inch)-0-Floorplan.png'

Environment
✅ fastlane environment ✅

### Stack

| Key                         | Value                                       |
| --------------------------- | ------------------------------------------- |
| OS                          | 10.12.6                                     |
| Ruby                        | 2.4.1                                       |
| Bundler?                    | true                                        |
| Git                         | git version 2.15.0                          |
| Installation Source         | ~/.rvm/gems/ruby-2.4.1/bin/fastlane         |
| Host                        | Mac OS X 10.12.6 (16G1114)                  |
| Ruby Lib Dir                | ~/.rvm/rubies/ruby-2.4.1/lib                |
| OpenSSL Version             | OpenSSL 1.1.0f  25 May 2017                 |
| Is contained                | false                                       |
| Is homebrew                 | false                                       |
| Is installed via Fabric.app | false                                       |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version               | 9.2                                         |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   |             |   |
| LANGUAGE |             |   |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.70.1  | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.1.0        |
| executable-hooks          | 1.3.2        |
| bundler-unload            | 1.0.2        |
| rubygems-bundler          | 1.4.4        |
| bundler                   | 1.16.0       |
| io-console                | 0.4.6        |
| CFPropertyList            | 2.3.6        |
| public_suffix             | 2.0.5        |
| addressable               | 2.5.2        |
| babosa                    | 1.0.2        |
| claide                    | 1.0.2        |
| colored                   | 1.2          |
| colored2                  | 3.1.2        |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.5        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20170404 |
| dotenv                    | 2.2.1        |
| excon                     | 0.60.0       |
| multipart-post            | 2.0.0        |
| faraday                   | 0.13.1       |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.12.2       |
| fastimage                 | 2.1.1        |
| gh_inspector              | 1.0.3        |
| jwt                       | 2.1.0        |
| little-plugger            | 1.1.4        |
| multi_json                | 1.12.2       |
| logging                   | 2.2.2        |
| memoist                   | 0.16.0       |
| os                        | 0.9.6        |
| signet                    | 0.8.1        |
| googleauth                | 0.6.2        |
| httpclient                | 2.8.3        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| uber                      | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.1        |
| google-api-client         | 0.13.6       |
| json                      | 2.1.0        |
| mini_magick               | 4.5.1        |
| multi_xml                 | 0.6.0        |
| plist                     | 3.4.0        |
| rubyzip                   | 1.2.1        |
| security                  | 0.1.3        |
| slack-notifier            | 1.5.1        |
| terminal-notifier         | 1.8.0        |
| unicode-display_width     | 1.3.0        |
| terminal-table            | 1.8.0        |
| tty-screen                | 0.6.3        |
| word_wrap                 | 1.0.0        |
| nanaimo                   | 0.2.3        |
| xcodeproj                 | 1.5.4        |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.2.8        |
| xcpretty-travis-formatter | 1.0.0        |

*generated on:* **2017-12-18**

Duplicate of https://github.com/fastlane/fastlane/issues/9651

Noticed old issue has been closed. Re-opening this one.

Thanks for reporting this, taking a look at it now, I'll keep you posted https://twitter.com/Cocoanetics/status/944266078120759298

@krausefx nice work!


Use postParameterEncoding also with PUT

Usually APIs use the same parameter encoding for methods POST and PUT

@stami Thanks a lot :)


"Quick Start Guide" link doesn't link to a guide

Description

There's a link in the README that points to https://korigan.github.io/Vue2Leaflet/, which to me seems to be a collection of examples, yet the link is called "Quick Start Guide"

@towc we are working on a documentation full rewrite :) thank you for taking the time to write an issue!

For a Vue beginner, that's me, some very basic examples would be very useful.  The equivalent of a 'Hello World' example please.

@BryTack the examples are already there! but they will be enhanced in the new docs!

FYI: The link to "Examples" doesn't work from https://korigan.github.io/Vue2Leaflet/#/: https://korigan.github.io/examples/

@dewey thank you for letting me know!

@dewey fixed the link, a refresh and it should work, closing this!

The quick start guide link on the readme (https://github.com/KoRiGaN/Vue2Leaflet/blob/master/quickstart.md) seems not to be working again.

@maratumba thanks fixed the link!


Question about the stages

Hi! I have some questions about the training stages.
In the outputs, we have three weights: 1) baseline, 2) stage 1, and 3) stage 2.
Is it the baseline for only class-agnostic 3D detector training (in the paper, also denoted as distillation)?
And stage 2 is for 3D-NOD, and stage 3 is DCMA?
For me, it is hard to directly connect each stage (baseline, stage 1, stage 2) and the notations described in the paper.
Thank you in advance!

Hi! I have some questions about the training stages.
In the outputs, we have three weights: 1) baseline, 2) stage 1, and 3) stage 2.
Is it the baseline for only class-agnostic 3D detector training (in the paper, also denoted as distillation)? And stage 2 is for 3D-NOD, and stage 3 is DCMA?
For me, it is hard to directly connect each stage (baseline, stage 1, stage 2) and the notations described in the paper.
Thank you in advance!

Hi, CoDA has two training stages. Stage 1 represents the 'distillation' and stage 2 represents '3D-NOD + DCMA'.
baseline is not CoDA, but the method ('3DETR + CLIP') we compare with CoDA.


Specify simpler alternative

I know this doesn't help this project per-se, but it would help people stumbling upon it if a simpler alternative was documented here:
git config --global alias.praise blame

Just saw that this was already suggested in a previous issue.
I think the right thing to do would be to document the alternative (via config), and then specify what this library adds to the solution that would otherwise not be possible.


Update prodpad-tutorial.md

Updates to the ProdPad configuration steps - these were out of date and misleading to users

@microsoft-github-policy-service agree [company="createshift"]
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree company="createshift"

@jeevansd
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@Gicheha
PRMerger will only accept sign off from the listed 'author'. However, if you are a Microsoft employee authorized to update this content, you can send a request to<EMAIL_ADDRESS>for this PR to be merged.  Include your role, and an explanation of why the PR should be merged without approval from the listed author.

#please-close


xds_override_host LB: add basic support for overriding host

This PR does not include the logic to take the subchannel state into account. That will come in the next PRs.

@markdroth thanks. I accepted the suggested changes.


create-react-app hangs/freezes on Windows 10 in system protected folders such as user Documents

Describe the bug
When using npx create-react-app on Windows in User Documents directory, the command gets stuck forever without any error output.
Did you try recovering your dependencies?
No.

Which terms did you search for in User Guide?
Windows 10

Environment

PS C:\Users\xxx\Documents> npx create-react-app --info

Environment Info:

  current version of create-react-app: 4.0.1
  running from C:\Users\xxx\AppData\Roaming\npm\node_modules\create-react-app

  System:
    OS: Windows 10 10.0.19042
    CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
  Binaries:
    Node: 14.15.4 - C:\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.11 - C:\nodejs\npm.CMD
  Browsers:
    Chrome: 87.0.4280.141
    Edge: Spartan (44.19041.423.0), Chromium (87.0.664.75)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

PS C:\Users\xxx\Documents>

Additionally, system runs default Windows 10 virus protection without any third party security software.
"Controlled folder access" is turned on. (Might be relevant)

Steps to reproduce

Install nodejs with node *.msi 64bit installer for Windows 10.
Open PowerShell in current user's Documents folder
Try create-react-app following the User Guide
Observe that:

PS C:\Users\xxx\Documents> mkdir abc
mkdir : Could not find file 'abc'.
At line:1 char:1
+ mkdir abc
+ ~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\xxx\Documents\abc:String) [New-Item], FileNotFoundException
    + FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand

PS C:\Users\xxx\Documents> npx create-react-app abcdefg

(Program hangs here forever, without error output.)

Expected behavior

For the create-react-app itself, since this is possibly a permission or special security protection issue, it's OK that the creation fails, but I expect some error output similar to what mkdir does in this case.
For User Guide, a special reminder may be added for Windows 10 user to avoid system protected folders, if (1) cannot be fixed easily, or the OS error codes are difficult to understand for average users.

Actual behavior
Program hangs forever without error output explaining if any underlying OS command or API failed.

(Write what happened. Please add screenshots!)
Reproducible demo
No, I cannot produce a demo since I cannot produce the project folder.

(Paste the link to an example project and exact instructions to reproduce the issue.)

References
https://github.com/PowerShell/PowerShell/issues/8857

I am experiencing the same thing.

Same Issue!!!!

I am having the same issue. No matter what i tried I cant solve this. Tried cleaing cache, installing 32-bit version and older node versions and even tried using yarn to create react app. But its the same result of being stuck without any error msg.
Had anyone solved the issue?


Description
A Documentation on Socket.io:
The following concepts is to be included in this documentation:

What is Socket.io?
Installation of Socket.io
Different types of Events in Socket.io
Features of Socket.io

Domain
JavaScript_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Add ItemNullValueHandling to JsonContainerAttribute

Most of the time I use NullValueHandling.Ignore globally as I don't have a need for null to be represented in the json. However, now working on an api client library which needs nulls I find it inconvenient to have to specify NullValueHandling.Ignore on each property of whole classes that can't have serialized null properties. I would appreciate it if an ItemNullValueHandling property was added to JsonContainerAttribute that controls the NullValueHandling for each property. I would suppose it should work for collections as well.
Current
class ClassWithNoSerializedNulls
{
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public string A { get; set; }
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public ConsoleColor? B { get; set; }
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public DateTime? C { get; set; }
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public Version D { get; set; }
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public Uri E { get; set; }
}

Would Like
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
class ClassWithNoSerializedNulls
{
    public string A { get; set; }
    public ConsoleColor? B { get; set; }
    public DateTime? C { get; set; }
    public Version D { get; set; }
    public Uri E { get; set; }
}

That would be a worthwhile feature. Should also add ItemNullValueHandling to JsonPropertyAttribute at the same time.

I'm working on a large project and would save me a lot of pain.

+1 for this. Wouldn't naming it NullValueHandling rather than ItemNullValueHandling help it match the same property on JsonSerializerSettings and JsonPropertyAttribute? I don't think the Item prefix is necessary as since the attribute is at the class level that would imply that the setting applies to its members. (In other words, if the object itself were null, the attribute wouldn't apply anyways.)
And @JamesNK - JsonPropertyAttribute already has NullValueHandling. What would the difference of ItemNullValueHandling be?

@paulirwin The name ItemNullValueHandling refers to the NullValueHandling of the items or properties of a type and matches the existing ItemTypeNameHandling and ItemReferenceLoopHandling properties. Naming it NullValueHandling would imply that when serializing objects of the given type the serializer would use the specified NullValueHandling.

@TylerBrinkley I disagree with the last sentence but the first one about consistency makes sense and is good justification for the name. I'll update the PR.


 Please copy report this issue below on our github account. You can also try refreshing page to see if the issue persists. Once you leave this page, all of your wallets will be closed.
request https://monitor.oasis.dev/data/transactions?account_id=oasis1qq6v73y25axdysk6g5zpfypf97hg80g8kyw6uvug status 500
The above error occurred in task vr
created by vr
created by takeEvery(account/fetchAccount, vr)
created by xr
Tasks cancelled due to error:
takeEvery(account/fetchAccount, vr)
Or
Error: request https://monitor.oasis.dev/data/transactions?account_id=oasis1qq6v73y25axdysk6g5zpfypf97hg80g8kyw6uvug status 500
at n. (https://wallet.oasisprotocol.org/static/js/main.1cb68546.chunk.js:1:7482)
at f (https://wallet.oasisprotocol.org/static/js/2.48cea8b1.chunk.js:2:490496)
at Generator._invoke (https://wallet.oasisprotocol.org/static/js/2.48cea8b1.chunk.js:2:490284)
at Generator.next (https://wallet.oasisprotocol.org/static/js/2.48cea8b1.chunk.js:2:490921)
at n (https://wallet.oasisprotocol.org/static/js/2.48cea8b1.chunk.js:2:44538)
at u (https://wallet.oasisprotocol.org/static/js/2.48cea8b1.chunk.js:2:44741)

Oasis monitor was down yesterday. Duplicate of #403. Reopen, if error still persists today please.


Document that Service CIDR cannot be changed after cluster is created.

It MUST be documented that the Service CIDR cannot be updated after cluster is created. I think it goes in this section - https://docs.microsoft.com/en-us/azure/aks/configure-azure-cni#plan-ip-addressing-for-your-cluster

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

ID: 37ba0343-7e43-6e2e-e564-5d3a0f523a75
Version Independent ID: 0ba581a1-3e4a-27b4-c667-4a9b969a3ade
Content: Configure Azure CNI networking in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/configure-azure-cni.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

@vermacodes,
Thank you for your feedback. We will investigate and update the thread further.

@zr-msft, Could you please review this feedback and confirm if we can add this statement to the mentioned section?

Thank you @vermacodes for the feedback!
We've added an item to our backlog and will prioritize accordingly.
#please-close


Tools 97 part2 update schema

@jahilton @liaanym
I've ran 3 of the jun-li datasets with the new cell ID logic, and so far they've passed the validator.
I'm thinking it will be good to merge this to main in case we need to rerun the flattener next week for some reason.

Thanks for the review! @jahilton  :) PR has been merged.


handle relations missing type tag

fixes #208

Coverage increased (+0.3%) to 92.685% when pulling 9aedbe5e4036f8bbc7c2089e1c8cce4182b02454 on feature into 370901528c1709fa8af47ebb33ae1ba3282a67f4 on master.


A more extensive and updated project intro in the README

I'd love to use and contribute with maintenance of this project, but I struggle to understand enough about it to feel confident on how to install it etc.
Here are some points that i think could be addressed within the README:

[ ] TightVNC is mentioned, but it is TigerVNC that is vendored in (a fork of TightVNC).
[ ] websockify is a required dependency, but that is not documented

pip install of websockify doesn't seem to cut it, but conda install -c conda-forge does. Perhaps that is why it is not listed under install_requires in setup.py?

[ ] __init__.py points to share/xstartup, which in turn does exec /usr/bin/dbus-launch xfce4-session, making me think that the apt packages dbus-x11 and xfce4-session are strictly required.
[ ] What apt packages are required?
As xfce4-session is required, perhaps is xorg (x11?) and other xfce4 packages strictly required as well?
[ ] A "how it works" section like in jupyterhub-idle-culler's README
Having an explanations of how it works technically could help me a lot to use and contribute to this project!
[ ] Is the Dockerfile supposed to be used for binderhub, or is it a published artifact?
[ ] Is the Python package published?
If it is or should be, we should use a badge
If it is not, why isn't it published and should it be soon?
[ ] What is supposed to be exposed via the /panel path?

The README is a bit out of date, I'll work on it!
/panel: Nothing to do with this repo, do you have some other extension installed?

Thanks @manics! /panel confusion resolved
In [4]: from importlib import metadata
   ...: metadata.entry_points()["jupyter_serverproxy_servers"]
Out[4]:
(EntryPoint(name='panel', value='panel_server:setup_panel_server', group='jupyter_serverproxy_servers'),
 EntryPoint(name='desktop', value='jupyter_desktop:setup_desktop', group='jupyter_serverproxy_servers'))

Ah, found it to be related to https://github.com/holoviz/jupyter-panel-proxy being installed.

I wrote https://github.com/yuvipanda/binder-desktop-app-template as a template that can be used to generate repos to launch specific GUI apps.


Ce 1.6.1

Compatibility with magento CE-1.6.1
removed app/code/local/Mage/Core/Model/File/Uploader.php

I want merge into new branch CE-1.6.1, not master

If you want to develop 1.6.1 compatibility, that's great, but, as a starting point, you should really look into code from <IP_ADDRESS> branch, instead of master, which is for 1.9.3...


dilithium deterministic keys

 async generate() {
    const keyPtr = this.instance._dilithiumGenerate();
    const keyPair = this.getCString(keyPtr, KEYPAIR_BYTES_B64 * 2, true);
    return JSON.parse(keyPair);
  }

it would be nice to be able to pass a secureRandom function that we could link up to mnemonics or other dangerous sources of low entropy... for testing purposes.

Use the cloudflare go library, don't use js libraries for dilithium


Update README

With v5 the default behaviour for unsupported or unknown values changed from returning null instead of -1.
This change was not reflected in the README section that explained the behaviour of operations which return results / sec.

@akaroly fixed it already - also in documentation website


Expose flow as header on servlet response

Description
Expose flow (id) as x-flow-id header in servlet response.
Motivation and Context

aligning response header with propagation matrix of https://github.com/zalando/tracer#usage
ensuring backwards compatibility (tracing based on x-flow-id header)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

Shouldn't this be dependent on whether we received a flow id to begin with?

I was following the matrix of https://github.com/zalando/tracer#usage, but now I see that Riptide has an option to enable/disable by client.
Someone sending a flow id sounds like a good heuristic to detect a "legacy" client.

:+1:

:+1:


No module named 'stereo.image.segmentation.seg_utils'

Tried to import and use the Tissue_Segmentation as listed in here
https://stereopy.readthedocs.io/en/latest/Tutorials/Tissue_Segmentation.html
I met this error. ModuleNotFoundError: No module named 'stereo.image.segmentation.seg_utils'

However, I have installed the necessary modules and versions.

using pypi to install stereopy instead of conda resolve the problem for me.

Yes. Thank you I try to use pypi to install stereopy. But I met a new error.

However, I have installed the necessary modules and versions.


Feature Request: Add compatibility with Forge MultiPart CBE covers.

https://minecraft.curseforge.com/projects/forge-multipart-cbe has cable covers that would be nice to be able to use with RS cables.

Can we know why?


release arm binaries

is it possible to release arm6/7 binaries along with the existing ones

For what operating system? I could release ARM binaries, but there are also a large number of combinations of operating system + architecture, so I stuck with the "top 3". It's very easy to build them yourself, though, due to Go's cross compiling. Just install Go on your host system and type something like:
GOOS=linux GOARCH=arm GOARM=7 go build   # to build for ARM7

See more here: https://github.com/golang/go/wiki/GoArm


Dataset Viewer issue for mozilla-foundation/common_voice_11_0

Link
https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0
Description
The dataset viewer for Portuguese Language is not working for dataset mozilla-foundation/common_voice_11_0.
Error details:
Error code:   ResponseNotReady

Thanks for the patience. The jobs queue was under pressure, the dataset viewer is now working.

Thank you very much !! It's working perfectly.


Add side panel to show selected tree details or new tree controls

Add /map route to access the new behavior.
Add MapLayout component to manage the map and tree details.
Add Map component to render the mapbox and controls.
Show a selection state for the current tree on a separate layer.
Update Address section in new tree panel as the marker is dragged around.
Save changed notes to the backend after a short delay or on loss of focus.
Create useNewTree() hook to handle NewTreePanel interactions via a context.
Add MapboxControlPortal to wrap a Mapbox control created with React, and use it with the Plant and Adopt buttons.
Show the adoption directions in a dialog instead of a drawer from the left or inline in the details drawer.
Add ErrorBoundary.js to show an alert at the bottom of the screen.  Closing the alert will reload the page.
Set react-query to not refresh the queries when the window is refocused.
Refactor createUseQuery() to take an options param and enable a query to modify the request before it's passed to useQuery(), so that it can filter out certain requests to avoid server errors, like /trees?currentTreeId=null returning a 500.
Create Like, Liked, Adopt, Adopted checkboxes with appropriate fill colors.
Move maintenance buttons and notes field into a dialog.
Move Edit link to same row as like and adopt.
Add Map.css to include mapbox style overrides
Add npm run docker script to start docker-compose.
Add use-debounce and react-error-boundary packages.

Things to do and see:

Open http://localhost:3000/map to see the new features, as the current behavior remains on the standard routes.
Click a tree to see its details in a drawer that slides in from the right.  Click an empty part of the map to clear the selection and close the drawer.  The map will shift if necessary to keep the selected tree visible after the drawer opens.
Click Plant and then click the marker to open the new tree flow in the drawer.  This acts modally, with Add/Cancel buttons at the bottom, and disables tree selection while it's open.
On mobile, the details and new tree panels open in a modal dialog, as before.
The Notes field is saved automatically after the user stops typing for a second.
The Maintain Tree button opens a modal dialog with the action buttons and a field for maintenance notes.
The Plant and Adopt buttons are rendered as map controls, as in the other two corners, but this could be changed.
The icons on the Maintain Tree and Remove buttons were just whatever was closest in the MUI icon gallery.

To do, probably in a later PR:

[ ] When moving the mouse quickly, it's possible to move it over the tooltip.
[ ] Disable tooltips while dragging the new tree marker.
[ ] The add tree panel snaps open without animating.

Use useImperativeHandle() to get ref to map from child to MapLayout? Or maybe useRef is enough.

Please change for consistency and for ease of integrating new vector tiles as I already have a branch open on that:
Can you add your new slide out features, any new map code into the mapper folder component and the new tree into addtree keeping the same folder structure/file naming that currently exists in development?

Once we're happy with the drawer stuff, I was going to remove the addtree, mapper and treedata directories, so that everything under pages/ actually maps to a page with that name on the site.  We could merge the vector tile changes first, and I could copy over any needed changes.

Can you leave comments in queries.js so its easy to understand immediately?

I'll add some JSDoc comments on the create functions.  Or is it more about react-query in general?

Thanks for adding error boundaries!! We've needed that for a while!

Right now it only wraps the side panel, but I can wrap the whole app instead.

Personally I prefer having separate stylesheets than styled-components as I like less dom clutter. Worth more discussion so we are consistent? I know a lot of people enjoy styled-components and most pros and cons internet articles love styled components.

By dom clutter, do you mean the inline MUI sx props?  I've mainly used use them in one-liners to adjust spacing.  The nice thing about them is you can do something like { my: 2 } to set top and bottom margins to twice the standard spacing offset specified in the theme.  That way, you don't end up with lots of random spacing values and can adjust them all in one place.
If it's the styled('div')`...`-type calls, they can be extracted into their own files and then imported where needed.

Please move the remove button to the bottom of the tree inspector so it’s not as easily visible.

Is it the color or position of the button, or both?  It's not as eye-catching if it's not red:

Layout-wise, it seemed nice to have the buttons that affected the whole tree clustered at the top, and it avoided a blank space to the right of the Maintain button.  But it's easy to move to the bottom.
Actually, I wonder if it should be part of the maintenance dialog?  Removing a tree is sort of its Final Maintenance.

Please make Tree history text larger. Lotta reading glasses people are tree planters! I think I may need them.

Yeah, the theme sets it to .875rem, and the body text is set to only 12px, so it's fairly small.

I think controls should be on left under the add tree so it doesn’t slide on every tree selection. Sliding is fancy and slick but possibly distracting? What do you think? Did you already try it over on left? It looks good on right when sliders not open.

The drawer should only slide open when changing from no selection --> selection.  Changing from one selected tree to another should leave the drawer open.
The smooth transition came from a MUI example I just copied and pasted.  It's also possible to have the drawer just snap open with no animation, which might be less distracting.

When adding a tree, and then deciding to unclick plant button, the new tree window should close.

Easy fix.

I just added a commit that removes the drawer animation, so you can see if that's better.  The Remove Tree button is moved to the bottom of the panel.  And the History and Info tables are set to 1rem instead of .875rem.  I also set the MUI theme to use the font stack specified in App.css instead of using Roboto, so that may have a small effect on the font size, too.

In terms of the directories, the new code doesn't quite map into the current structure, as it sometimes appears in a drawer vs. a dialog.  I was also trying to follow some best-practices articles for file organization, keeping the top-level directories in pages/ mapping to actual routes, vs. UI elements that would only ever appear within one route.  But happy to chat more about it.

I slightly prefer the animation, but thought the controls on the right might be less distracting if the drawer just snapped in.
I quickly hacked smaller buttons in with everything on the left.  Might work, though I don't know if the icons would be immediately clear.
Speaking of icons, the adopt icon is different in the drawer vs. the top-left button.  Should they be the same?

I actually modified an MUI icon to make an SVG version of the droplet, as the CSS version was difficult to resize.  So it could be easily swapped out for another icon.
Speaking of icons, are the original source file for the favicon, maintenance icons, etc. anywhere?  Probably would be worth checking them in somewhere in case changes or new versions needed to be made.
Definitely agree about not wanting to stomp on files others are working on, and that's part of why I limited the changes to a new path.  I took a quick look at the feature/new-vector-tiles branch.  This PR shouldn't interfere with those changes, and I think they can be merged in either order.  I'm happy to migrate over any required changes once the new vector tiles are ready.
For the new vector source, is the plan to keep the existing source in parallel with the new one, or just switch everything?  If the former, then I think the legend would need to be reworked, since there'd be 2 layers with good trees, 2 with fair, etc.

I just added some fixes, so I think the PR is ready to go.


Add specific note about ubiquiti cameras

I think this would be helpful to have it noted in the docs so we can point users at this when they are using go2rtc with ubiquiti cameras. Feel free to reword or add more info

I have this note already in the RTSP section

I have this note already in the RTSP section

Ah whoops I missed that, that is perfect then.


[cli] Add randombootid to help identify openthread restart

Like linux boot id file /proc/sys/kernel/random/boot_id, here we introduce a random boot id which will change every time the daemon restarts.
Sometimes we are unable to identify a reboot of openthread, using uptime can partially solve the problem, but it requires that comparing timestamp with host machine time, which is not always accurate, especially when there are multiple reboots in a short period.
use ot-ctl to verify the random boot id
% sudo ./build/posix/src/posix/ot-ctl
> randombootid
457a7f5f
Done
> randombootid
457a7f5f
Done
> randombootid
457a7f5f
Done
> randombootid
31264bff
Done
> randombootid
31264bff
Done
> randombootid
31264bff
Done

Closing stale PR.


thermoplus_bla as ESPHOME sensor component

Your HA component works like a charm, but have a few ESP32 devkit boards with BLE spread around the house for better coverage (some of the Freeleben units are too far away from my Rpi running HA), so was wondering if you can adapt this to be included as a sensor in ESPHOME..

I hadn't heard of ESPHome at all, but it looks like a really cool project!  I happen to have some ESP devices kicking around, so I might look in to this when I next have some free time to dedicate to it.
In the meantime, though, if you (or anyone else) would like to contribute to the project then that would be very welcomed too.

I hadn't heard of ESPHome at all, but it looks like a really cool project!  I happen to have some ESP devices kicking around, so I might look in to this when I next have some free time to dedicate to it.
In the meantime, though, if you (or anyone else) would like to contribute to the project then that would be very welcomed too.

Hey Andrew, good to see your quick response.
Maybe this project can serve as inspiration to get going on porting your code to ESPHOME: https://github.com/ahpohl/xiaomi_lywsd03mmc
Rgds, Joost

Hey Andrew, good to see your quick response.
Maybe this project can serve as inspiration to get going on porting your code to ESPHOME: https://github.com/ahpohl/xiaomi_lywsd03mmc
Rgds, Joost


enh(ws): support new endpoints

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (eda28ad) 80.79% compared to head (cbd37e8) 80.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #239   +/-   ##
=======================================
  Coverage   80.79%   80.79%
=======================================
  Files          20       20
  Lines        2708     2708
=======================================
  Hits         2188     2188
  Misses        520      520

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


style: escape brackets

just realized I didn't escape <> in https://github.com/marsble/statically/pull/33. While browser can render it just fine, html-minifier (if used) would error out.

Looks like there is auto escape/unescape, so this might not be needed. I figure it might be safer this way.


Some python libraries bypass the nscd cache for DNS queries and increse the load to the central DNS at CERN

Impact of the bug
All of the systems which need some communication which is not just by IP, but includes any kind of name resolution. The GlobalWorkqueue is basically generating the biggest pressure.
Describe the bug
It was a bug announced in a mail thread started by the http-group. Some of the central services generate increased traffic to the DNS at CERN. The biggest load comes from the GlobalWrokqueue when it has workflows to process. Some more details regarding our findings are pasted in the comments bellow. All of the cmsweb frontends and backends are running nscd as a caching service, which includes DNS cache too. nscd itself is developed based on libc and exposes its cache through a socket which should exist in:
/var/run/nscd/socket
If the upper layer service/library in python is developed towards another c library and knows nothing about this socket, it simply cannot benefit from the DNS cache while making name resolutions and sends queries directly to the DNS. This is in total contrast with the behavior of a full system level DNS cache, like named, which affects how the system itself does the name resolution and always goes first through the cache then sends the queries to the DNS. The latter is not unfeasible solution, but we'd better try to fix the use of ncsd. The low level python module that is developed based on libc and is using the nscd cache correctly is socket [1]. So if a python library is using this one as an underlying interface it should be fine.
The current issue is created just to track the progress of the activities.
[1]
https://docs.python.org/3/library/socket.html
How to reproduce it
Currently I am in the process of creating a test function to bypass the cache explicitly. For direct monitoring of the ill behavior a simple tcpdump for port 53 on any of the backends should be enough.
Expected behavior
First use
/var/run/nscd/socket
And then (if needed) open /etc/resolv.conf and send queries to the DNSs noted there.
Additional context and error message

Todor, why not to use direct IP addresses to avoid ANY DNS look-ups? How many URLs GlobalWorkqueu use? If it is only a few why not to change them to IPs?

Hi Valentin. There is basically only one query that the services are doing. It is just for resolving cmsweb.cern.ch itself [1]. The problem if we start to use direct IPs will be that we need to reimplement the load-balance ourselves. Which in the current situation comes with the Round-robin DNS load balancing [2].
[1]
...
19:44:34.829824 IP <IP_ADDRESS>.50708 > <IP_ADDRESS>.domain: 25660+ A? cmsweb.cern.ch. (32)
19:44:34.829909 IP <IP_ADDRESS>.50708 > <IP_ADDRESS>.domain: 42441+ AAAA? cmsweb.cern.ch. (32)
19:44:34.830172 IP <IP_ADDRESS>.domain > <IP_ADDRESS>.50708: 25660* 4/2/2 A <IP_ADDRESS>, A <IP_ADDRESS>, A <IP_ADDRESS>, A <IP_ADDRESS> (174)

[2]
...
;; ANSWER SECTION:
cmsweb.cern.ch.		60	IN	A	<IP_ADDRESS>
cmsweb.cern.ch.		60	IN	A	<IP_ADDRESS>
cmsweb.cern.ch.		60	IN	A	<IP_ADDRESS>
cmsweb.cern.ch.		60	IN	A	<IP_ADDRESS>

The following comment is just for historical purposes.
Here is how Muhammad and Lina tracked the process which was generating the load (Thanks for that):
stap -e 'probe netfilter.ip.local_out {
  if (dport == 53) # or parametrize
      printf("%s[%d] %s:%d\n", execname(), pid(), daddr, dport)
}' > traffic_detail

 [root@vocms0740 ~]# cat traffic_detail | sort | uniq -c
     50 nscd[3916] <IP_ADDRESS>:53
      6 python[5563] <IP_ADDRESS>:53
     22 python[5579] <IP_ADDRESS>:53
     72 python[5595] <IP_ADDRESS>:53
   6588 python[6100] <IP_ADDRESS>:53

Here [2] is the strace of the one thread out of the 30 [1] python threads that was generating the load (the unneeded lines were truncated), and the interpretation is as follows:
[2] 99 -  a communication start with opening the service certificate
What should have happened next is to open /var/db/nscd/socket and read the cached
record for cmsweb.cern.ch from there, but what happens instead is:
[2] 101 - it opens /etc/resolv.conf
[2] 108 - reads the sequence at which the resources should be used for hostnames to ip addresses resolution
[2] 155 - creates a socket for connecting to the DNS
[2] 156 - sends the request
[2] 166 - receives the reply
[2] 172 - opens another socket for connecting to ipv6: 2001:1458:201:a4::100:262 at port 443
Which btw happens to be vocms0164.cern.ch - one of the frontends of cmsweb.cern.ch
[2] 258 - starts the communication between vocms0740.cern.ch <--> vocms0164.cern.ch
[2] 746 - the socket is closed
[2] 751 - a new iteration starts
[1]
[root@vocms0740 strace]# ps auxH -T |grep -e "^USER" -e workqueu
 ...
_workqu+  6100  6782  0.0  0.8 4074448 534404 ?      Sl   Nov05   0:00 python /data/srv/beHG1911c/...workqueue/1.2.8.pre3/...
_workqu+  6100  6882  8.6  0.8 4074448 534404 ?      Sl   Nov05 1924:21 python /data/srv/beHG1911c/...workqueue/1.2.8.pre3/...
_workqu+  6100  6885 11.1  0.8 4074448 534404 ?      Sl   Nov05 2481:26 python /data/srv/beHG1911c/...workqueue/1.2.8.pre3/...

[2]
...
99 stat("/data/srv/current/auth/workqueue/dmwm-service-cert.pem", {st_mode=S_IFREG|0440, st_size=2870, ...}) = 0
...
101 open("/etc/resolv.conf", O_RDONLY)      = 12
108 open("/etc/nsswitch.conf", O_RDONLY)    = 12
...
155 connect(12, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
156 sendto(12, "\273x\1\0\0\1\0\0\0\0\0\0\6cmsweb\4cern\2ch\0\0\1\0\1", 32, MSG_NOSIGNAL, NULL, 0) = 32
...
166 recvfrom(12, "\273x\205\200\0\1\0\4\0\2\0\2\6cmsweb\4cern\2ch\0\0\1\0\1"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 174
...
172 connect(12, {sa_family=AF_INET6, sin6_port=htons(443), inet_pton(AF_INET6, "2001:1458:201:a4::100:262", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress)
...
258 write(12, "\26\3\1\2\0\1\0\1\374\3\3\364\243\343\260\36p\25\3143\306\346\357\24\\D\315\251\372\37\326\r"..., 517) = 517
...
746 close(12)
...
751 stat("/data/srv/current/auth/workqueue/dmwm-service-cert.pem", {st_mode=S_IFREG|0440, st_size=2870, ...}) = 0

It'd be a bit ... esoteric for Python libraries to include their own DNS resolver.  Not saying it's impossible, but would be quite surprising.
Other possibilities include:

Can glibc stop using nscd if there are too many errors?  Does GQ continue to query DNS directly if restarted?  (N.b. - nscd has a pretty lousy reputation for errors and lockups.  Is sssd an option?)
curl can optionally be compiled with the c-ares backend which includes an asynchronous DNS resolver that will bypass the system cache.  However, all uses of libcurl would see this.

Not saying that python libraries are building their own mechanism for DNS caching, It is simply that they may ignore the nscd socket on the go. And indeed, pycurl is our major suspect here. Not yet proven though, but I am heading in that direction. The other one that is mostly used for communication around is urllib3, which from this post [1], I conclude is already using the underlying socket module from python. And I tested this module  - it does call /var/run/nscd/socket, before anything else. So I believe urllib3 is out of the picture for the moment.
[1]
https://github.com/urllib3/urllib3/issues/925
https://github.com/urllib3/urllib3/blob/e4e49128ac68e4b56e20482cd2bef1700ff30fd9/urllib3/util/connection.py#L75

Todor,
I understand the desire to figure this out, but at the end this simple code can solve all the issues:
import socket
import random

def host_ips(host, port):
    "Return IP addresses from provide host name and port number"
    addr = set()
    for item in socket.getaddrinfo(host, int(port)):
        # each item is (family, socktype, proto, canonname, sockaddr) tuple
        # so we tack 4th element sockaddr
        # for IPv4 sockaddr is (address, port)
        # for IPv6 sockaddr is (address, port, flow info, scope id)
        # we are interested only in address
        addr.add(item[4][0])
    return list(addr)

ips = host_ips('cmsweb.cern.ch', 443)
# get random IP
idx = random.randint(0, len(ips)-1)
srv = ips[idx]
print(srv)

You can wrap it further if you want into single function which will return random IP for the host/port pair. And of course IPs can be cached for as long as you want. This solution does not require any tweaking with dependency stack which may be not trivial at the end.

This solution does not require any tweaking with dependency stack which may be not trivial at the end.

Except you break things like TLS, right?  Host certificates use hostnames and not IP addresses.
Writing one's own DNS resolver and caching inside python seems a harrowingly bad idea, especially you have to break into every layer of the stack and find what dependencies are lurking on hostnames.  This is an incredibly tricky layer.

It is simply that they may ignore the nscd socket on the go.

That's not possible unless they're writing their own DNS resolver, which seems unlikely.  Skipping or not skipping the NSCD socket is something only glibc can decide to do.
You can check pycurl by simply seeing which libcurl you compiled against and what backend it is loading.

Brian,
TLS is a very good point and I didn't think from this angle.
On  0, Brian P Bockelman<EMAIL_ADDRESS>wrote:

This solution does not require any tweaking with dependency stack which may be not trivial at the end.

Except you break things like TLS, right?  Host certificates use hostnames and not IP addresses.
Writing one's own DNS resolver and caching inside python seems a harrowingly bad idea, especially you have to break into every layer of the stack and find what dependencies are lurking on hostnames.  This is an incredibly tricky layer.

It is simply that they may ignore the nscd socket on the go.

That's not possible unless they're writing their own DNS resolver, which seems unlikely.  Skipping or not skipping the NSCD socket is something only glibc can decide to do.
You can check pycurl by simply seeing which libcurl you compiled against and what backend it is loading.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/dmwm/WMCore/issues/9435#issuecomment-558614771

In case it helps:
>>> pycurl.version
'PycURL/7.19.3 libcurl/7.35.0 OpenSSL/1.0.1r zlib/1.2.8 c-ares/1.10.0'

so that's a ~6 years old version of the pycurl library. Thus I'd suggest to:

first, create a snippet/gist such that we can easily reproduce this problem
then, work on the pycurl spec (the py3 too) and bring it to the latest stable release:
https://github.com/cms-sw/cmsdist/blob/comp_gcc630/py2-pycurl.spec

Given that that's going to be a quite wide change, we ought to wait until beginning of January to push these changes in in CMSWEB. A bunch of services rely on the pycurl library, including CRAB and DBS @belforte @yuyiguo

I have no objection to updating pycurl, of course. It is indeed important to be up to date on all those things and be able up update "routinely". Let's hope we do not end like with sqlalchemy !
But from what I read here it is not clear to me if the origin of the problem is fully understood and hence if a pycurl update will fix it.  I fully agree with not writing our own resolver+DNS-casher.

Note that c-ares is a DNS resolver that is an optional plugin to libcurl. Using that is guaranteed to bypass the system C library.  I think Alan found our culprit.

Here is how I reproduce it [1]. In the doc string there are few lines of instructions how to run and trace this simple script. The use of either the broken versions of libraries from cms repository or the native OS installed pycurl/libcurl versions is controlled by this variable [2]. The behavior of these both cases is pasted in [3].
[1]
https://github.com/todor-ivanov/auxiliary/blob/master/tests/testPycurl.py
[2]
https://github.com/todor-ivanov/auxiliary/blob/master/tests/testPycurl.py#L52
[3]
With useExternals=True:

pycurl version: PycURL/7.19.3 libcurl/7.35.0 OpenSSL/1.0.1r zlib/1.2.8 c-ares/1.10.0
And the strace is a one to one repetition of what I was observing in vocms0740

With useExternals=False:

pycurl version: PycURL/7.43.0 libcurl/7.52.1 GnuTLS/3.5.8 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3

And the strace clearly shows that the cmsweb-testbed.cern.ch was fetched from 'nscd':
...
[pid 12538] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
[pid 12538] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0
[pid 12538] sendto(3, "\2\0\0\0\16\0\0\0\27\0\0\0cmsweb-testbed.cern."..., 35, MSG_NOSIGNAL, NULL, 0) = 35
...

Upgrading the pycurl library to the latest version and recompiling libcurl without the c-ares flag solves the problem. Here [1] is the commit to cmsdist that does the job. And here is the system trace that shows that shows that the name 'cmsweb-testbed.cern.ch' was actually resolved from the nscd cache.
[1]
https://github.com/cms-sw/cmsdist/pull/5420
[2]
========================================================================
pycurl version: PycURL/<IP_ADDRESS> libcurl/7.35.0 OpenSSL/1.0.1r zlib/1.2.8
========================================================================
...
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0
sendto(3, "\2\0\0\0\16\0\0\0\27\0\0\0cmsweb-testbed.cern."..., 35, MSG_NOSIGNAL, NULL, 0) = 35
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "\2\0\0\0\1\0\0\0\2\0\0\0\10\0\0\0\27\0\0\0\0\0\0\0", 24) = 24
read(3<EMAIL_ADDRESS>33) = 33
close(3)                                = 0
...


Adding json string serialization/deserialization for startree

Codecov Report

Merging #2133 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2133      +/-   ##
==========================================
+ Coverage    69.8%   69.81%   +0.01%
==========================================
  Files         826      826
  Lines       39157    39173      +16
  Branches     5277     5277
==========================================
+ Hits        27333    27350      +17
- Misses      10019    10020       +1
+ Partials     1805     1803       -2

Impacted Files
Coverage Δ

.../linkedin/pinot/common/data/StarTreeIndexSpec.java
97.5% <100%> (+1.66%)
:arrow_up:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
77.77% <0%> (-17.78%)
:arrow_down:

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
84.9% <0%> (-13.21%)
:arrow_down:

...e/operator/dociditerators/BitmapDocIdIterator.java
60.71% <0%> (-3.58%)
:arrow_down:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
84.48% <0%> (-3.45%)
:arrow_down:

...e/operator/dociditerators/MVScanDocIdIterator.java
63.63% <0%> (-3.04%)
:arrow_down:

.../impl/dictionary/LongOffHeapMutableDictionary.java
87.27% <0%> (-1.82%)
:arrow_down:

...lix/core/realtime/PinotRealtimeSegmentManager.java
72.31% <0%> (-1.13%)
:arrow_down:

...pby/NoDictionarySingleColumnGroupKeyGenerator.java
91.91% <0%> (-1.02%)
:arrow_down:

...data/manager/offline/AbstractTableDataManager.java
91.5% <0%> (-0.95%)
:arrow_down:

... and 8 more

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 f251e27...c98ff54. Read the comment docs.


[Autocomplete] Add props resetInputValue

fixes: https://github.com/mui/material-ui/issues/36085

[ ] I have followed (at least) the PR section of the contributing guide.

Closing per https://github.com/mui/material-ui/issues/36085#issuecomment-1468024330


No error messages on failing consume flow

Expected Behavior
GET FILE should succeed. If not, a popup should display, or some other feedback should appear.
Current Behavior
After successfully signing in MetaMask, and getting Payment was OK in console.log, the infinite progress bar circle keeps cycling, but no download initiates. No other feedback, after waiting >5 mins.

Technically correct because technically it is not failing. We just pass through what's coming from the components. And if it never aborts, we can't know when it's not successful. So nothing to show.
More message feedback is in https://github.com/oceanprotocol/commons/pull/110
So this issue is pretty much like https://github.com/oceanprotocol/commons/issues/86 or is it implying we should have a timeout and show an error then?


[workloadmeta] Add ListContainersWithFilter func

What does this PR do?
This PR adds the possibility to use a filter when listing the containers stored in workloadmeta.
One of the filters defined allows the caller to receive only containers that are running. This helps us simplify some parts of the code that until now were listing all the containers and then discarding the ones that weren't running.
Describe how to test/QA your changes
The features that rely on listing containers from the workloadmeta store should keep working as before and without reporting data from containers that are not running. Those features are: the container check, the process-agent and the security-agent.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

I've rebased on top of main to fix conflicts with https://github.com/DataDog/datadog-agent/pull/12355


Abot.Util.RateLimiter.ExitTimerCallback Exception "Object reference not set to an instance of an object"

While crawling the websites, the following exception is raised in Abot. Since it's uncaught, it crashes the application completely. The crash happens at random points of the crawling.
We're using MinCrawlDelayPerDomainMilliSeconds = 70 to limit the no. of requests/s. The crawling is on a single domain, but we're downloading few at the same time, using separate instances of the crawlers. Configuration object is re-used, but not shared between domains.
Abot version: <IP_ADDRESS>. We've also tried version <IP_ADDRESS>, but it was crashing the application even more often.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Abot.Util.RateLimiter.ExitTimerCallback(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Would you please be able to fix the issue or recommend a workaround?

Do you found any workaround?

Somehow I didn't see GH notification about your comment. I switched to non-async version of even handlers. That seems to work OK in my other project.

Async event handlers have been removed in version 2.0


Add voronoi grid

The following lines provide a simple way to make grid landscape using voronoi tesselation. It's working but need to be reframe to fit package requirement.
Computing the voronoi is done using VoronoiCells.jl and then the rasterization is by using ArchGDAL.jl.
Digging into both dependencies, I should be able to make things clearer.
using VoronoiCells
using GeometryBasics
using ArchGDAL
using Distributions
using Plots

const VC=VoronoiCells
const GB=GeometryBasics
const AG=ArchGDAL
const DB=Distributions

I created 3 functions. The 2 first create the set of polygones
function voronoitess(min_x, max_x, min_y, max_y, nCell::Int)
    rect = VC.Rectangle(GB.Point2(min_x, min_y), GB.Point2(max_x, max_y))
    points = [GB.Point2(rand(DB.Uniform(min_x, max_x)), rand(DB.Uniform(min_y, max_y))) for _ in 1:nCell]
    return (tess=VC.voronoicells(points, rect),rect,points)
end

vortess = voronoitess(0, 1, 0, 1, 100)

function polygonset(tess)
    tc = tess.tess.Cells
    poly = [ArchGDAL.createpolygon([(tc[i][j][1], tc[i][j][2]) for j in vcat(1:length(tc[i]),1)])
    for i in 1:length(tc)]
    return (poly, tess.rect, tess.points)
end

polyset = polygonset(vortess)
plot(polyset[1])

And the last is making a rasterization providing some features:

# Create a grid over the map
function rasterize(polygonset, nrow, ncol,feature)
    w = rect.UpperRight[1] - rect.LowerLeft[1]
    h = rect.UpperRight[2] - rect.LowerLeft[2]
    gridcell_x=w/ncol
    gridcell_y=h/nrow
    gridX=(rect.LowerLeft[1]:gridcell_x:(rect.UpperRight[1]-gridcell_x)) .+ (gridcell_x/2)
    gridY=(rect.LowerLeft[2]:gridcell_y:(rect.UpperRight[2]-gridcell_y)) .+ (gridcell_y/2)

    gridX_seq=repeat(gridX,inner=nrow)
    gridY_seq=repeat(gridY,outer=ncol)

    gridCell = fill(0,nrow,ncol)
    for j in 1:length(gridCell)
        for i in 1:length(polygonset[1])
            if AG.contains(polygonset[1][i],
                AG.createpoint((gridX_seq[j], gridY_seq[j]))
            )
            gridCell[j] = feature[i]
            end
        end
    end
    return gridCell
end

feature = rand(0:3,length(polyset[1]))
nrow, ncol = 200, 10

gridCell = rasterize(polyset, nrow, ncol, feature)
Plots.heatmap(gridCell)

So is this a suggestion to add the functionality or to put this in the docs?
I wouldn't be keen to add an ArchGDAL dep to this repo. VoroniCells might be OK (it adds Colors, GeometryBasics, VoronoDelaunay, GeometricalPredicates and RecipesBase).

Well I don't know what you can do with that 😄 . Just that voronoi tesselation would be nice to have so I propose to work on it if it's something you think is relevant.
Basically, Voronoi is only made from GeometryBasics and VoronoDelaunay, so I just need to remove dependency with ArchGDAL, finding a better algorithm to rasterize.

@virgile-baudrot you see my dependency concerns are widespread in the Julia world ;)
But this would be great, but without ArchGDAL.

Just for clarity - isn't rasterized voronoi just nearest-neighbor from a grid to the set of points? We have nearestneighbors.jl as a dep already.

E.g.
pts = rand(1.:1000, 2, 30)
tr = KDTree(pts)
mat = [knn(tr, [i, j], 1)[1][1] for i in 1:1000, j in 1:1000]

The heatmap:

I think it's a good improvement if we don't need ArchGDAL - I think @mkborregaard suggestion makes sense!

Wait, so is it NearestNeighborElement? I've added an option to set various values of k, but for k=1, this is a Voronoi tessellation?

I was wondering if it wasn't just that yes. But couldn't tell from the code last night - I was heading home late on the train and was beer coding 😅

But voronoi is just a vector format nearest neighbor yes

Oh great. I didn't know that. So fantastic if it's already there!

Let's be explicit and add a VoronoiGrid type or something, as a thin wrapper on NearestNeighborElement? @virgile-baudrot do you want to do this? Happy to give feedback.

ok, I'll try to implement it and PR

This was closed by #46


setImmediate incompatibility with Electron

Hi,
Metro uses setImmediate in several functions, and since it's not a standard function, there seems to be inconsistencies between environments.
Metro don't work on Electron v9 (didn't tested with older versions), and when debugging I noticed that the setImmediate callback is never called.
I saw that there is a polyfill in m4q but since electron have it already defined, the polyfill isn't used.
I used a quick fix just to make it running under electron by adding this
//checking electron env
if (typeof process != 'undefined' && process.versions && process.versions['electron']) {
    window.setImmediate = function (fn) {
        setTimeout(fn)
    }
}

I'm not sure if this is a bug, or is there some specific initialization I should use with electron.

Metro 4 designed for web, and not tested for non browsers environment. Please create issue for m4q for adding this enhance.

Thanks for the feedback, added support for process and web workers in 4.3.8


Is there a type definition for this library?

Is there a type definition for this library?

not yet @darewreck54

@dennybiasiolli @darewreck54 I've submitted a pull request to DefinitelyTyped for this. Please take a look if you can, thanks! DefinitelyTyped/DefinitelyTyped#21154


Doesn't support view type for ItemView?

It seems only support 4 types, TYPE_ITEM, TYPE_HEADER, TYPE_GHOST_HEADER or TYPE_FOOTER, so what could I do if my TYPE_ITEM has different sub types?

That's not a use case I thought through, to be honest. I'm open to adding it if there's a graceful way to do it, but I know there's a lot of animated discussion out there about best practices for heterogenous view types in recyclerview.

so,it can not support some other types?

I've implemented multiple item types in a fairly robust way. Hopefully it's useful to you.
https://github.com/ShamylZakariya/StickyHeaders/releases/tag/v0.7.0


[WIP] Zoom from Mouse Position

Hi @qiyunzhu ,
I have wrote the functionality for zooming from the mouse position. Additionally, I have noticed that you closed the issue. But however when I try to test the new zoom function it is not working and it is still continuing to zoom from the center of the canvas.

@AbhinavChede Thanks for working on this!
I closed the issue because I implemented something myself. Previously, it always zooms from the center of the dataset. Now it zooms from the center of the screen, which is much better. Note: the screen is the current viewport, not the entire dataset. Therefore I think the issue is temporarily solved.
However, the current solution is still not perfect, because it does not zoom from the mouse position, which Google Maps does. You are making a very good attempt! I guess e.x should be e.clientX. Other than that, you may read my code (see above) and think about a solution.


bug: Inconsistent service name in search filters

Affected module
UI / Search
Describe the bug
I have a Trino database service registered with 'DAP IPC Datasources' set as display name. When in explore view, I click on 'Service name' filter to select this service for filtering the results. The name 'DAP IPC Datasources' appears twice with different uppercase/lowercase approach:

I checked and the numbers (amount of entities for each service name) reflect amount of tables (first line - lowercase) and schemas (second line - uppercase) ingested in this service respectively. When I filter by first one I only get tables from this service, when I click on second one, only schemas are returned.
To Reproduce
Create a database service with uppercase characters in display name, reindex all data.
Expected behavior
Same exact value for service name is used regardless whether it's schema or table level.
Version:

OS: [e.g. iOS]
Python version: 3.10
OpenMetadata version: [e.g. 0.8] 1.5.4
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ] 1.5.4

Additional context
Add any other context about the problem here.

cc @dechoma

The above issue is resolved in 1.5.9 OM release


v4.0 unavailable though mentioned in README.md, ETA?

You mention v4.0 in README.md, but NuGet only shows v3.0.4 available. Do you have an ETA when v4.0 will be published?

I just saw the pre-release version on NuGet, should've checked that first. You can close this unless you have an ETA other than "when it's done". :) Thanks for the work on this!


visual studio

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

It's not clear what issue is here. Can you please provide more information?


Move next send time earlier for low latency mode.

Closing this change because min_packet_limit_ is set to kDefaultMinPacketLimitLowLatency in constructor.


add options for changing title and htmlMessage for initialise session

Change to
export type InitialiseSessionOptions = {
  callbackUrl: string;
  redirectPath?: string;
  message?: string;
  htmlMessage?: string; #new
  title?: string; #new
};

you will only be allowed to set message or htmlMessage, not both. 400 error should be sent if so.
message will remain in the inset text component, however htmlMessage should be escaped html to allow for more customisation.
(I've done this so that I don't need to issue a breaking change)

closed by: #961


typeerror

Hello, I encountered the following error when reproducing the training code, and I don't quite understand what's going on.
-- Process 3 terminated with the following error:
Traceback (most recent call last):
File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
fn(i, *args)
File "/data/SphereFormer/train.py", line 410, in main_worker
loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, model, criterion, optimizer, epoch, scaler, scheduler, gpu)
File "/data/SphereFormer/train.py", line 579, in train
allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10)
TypeError: 'int' object is not iterable

This error may be caused by an incorrect data root. You may check whether the data path follows the instructions in the README file.

Hello, I encountered the following error when reproducing the training code, and I don't quite understand what's going on.
-- Process 3 terminated with the following error: Traceback (most recent call last): File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap fn(i, *args) File "/data/SphereFormer/train.py", line 410, in main_worker loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, model, criterion, optimizer, epoch, scaler, scheduler, gpu) File "/data/SphereFormer/train.py", line 579, in train allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10) TypeError: 'int' object is not iterable

Hello, I encountered the following error when reproducing the training code, and I don't quite understand what's going on.
-- Process 3 terminated with the following error: Traceback (most recent call last): File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap fn(i, *args) File "/data/SphereFormer/train.py", line 410, in main_worker loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, model, criterion, optimizer, epoch, scaler, scheduler, gpu) File "/data/SphereFormer/train.py", line 579, in train allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10) TypeError: 'int' object is not iterable

I had the same problem as you. How did you solve it?


Docs: update "Transactions" to make clear what options we support

Add a new section at top that list the options, then break each section down with an example for each. Rename "Limitations" to be the normal Considerations section and list all notes there.
See https://github.com/prisma/docs/pull/2642 for good convo.

👋 we're cleaning up our backlog of issues and are closing everything older than two years. If you still feel that this issue is relevant, please feel free to re-open and our team will take a look. Thank you!


Bug: pixman_region32_init_rect: Invalid rectangle passed

Sudden alert that appeared in one instance when running mediainfo-gui on Linux:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

Screenshot can be found here. The error appears severally.
After restarting terminal, bug no longer appears. Screenshot here

Does it prevent the usage of the GUI or is it "only" a message?

GUI seemed to be working fine


Go path returns error

go get github.com/bwmarrin/discordgo
golang.org/x/crypto/poly1305
/usr/local/go/src/golang.org/x/crypto/poly1305/sum_amd64.s:8 6a: No such file or directory: textflag.h
github.com/gorilla/websocket
/usr/local/go/src/github.com/gorilla/websocket/compression.go:95: undefined: sync.Pool
How do I fix this? Did I do something wrong?

You might be using an older version of go. You could try updating.
Type go version to see the version you're on right now.
I see go version go1.9.3 windows/amd64

I uninstalled Go and tried it again. But i get this output for version:
go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64
Perhaps I missed a step?

Ahh.... I have two types of go's
sudo apt-get remove gccgo
worked and i had to rego the PATHs

I get:
warning: GOPATH set to GOROOT (/usr/local/go) has no effect
Now, is that an error

Yeah, you can't download packages to the same place your root go files are installed.
So you need to set your GOPATH to something else, like ~/godata

So I change
export PATH=$PATH:/usr/local/go/bin
to something like:
export PATH=$PATH:/var/Something

You need to export GOPATH=/home/something

Thanks!

Make sure your terminal is in the right directory and that the package you're building has package main at the top of all the go files if you want to build an executeable.
I will get the same error if I try to use go build in my home directory, which contains no go files.
Usually when working on projects you will want to create them under your github name or something in your GOPATH.
So a good project directory would be something like
`$GOPATH/src/github.com/yourname/project

Where is the right directory? For example I go get..
go get github.com/bwmarrin/discordgo
go get github.com/joho/godotenv
where would i go to compile it? I think I am not trying to build an executable. Pardon if I can not post other git links here but I'm just trying to do follow "https://github.com/FactoKit/FactoCord"

When you go get github.com/FactoKit/FactoCord it should build an executeable and place it in $GOPATH/bin.
Otherwise you would have to
cd "$GOPATH/src/github.com/FactoKit/FactoCord"
go build

which would produce an executeable called FactoCord in the current directory.

Ahh I see... So i did the following and tried to do it on my own but i did:
$ sudo gedit ~/.bashrc
Added the following config
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/var/Server/go;
export PATH=$PATH:$GOPATH/bin;
$ source ~/.bashrc
$ go get github.com/bwmarrin/discordgo
I then look at : /var/Server/go/bin
And its empty.
I do see /var/Server/go/src/github.com/FactoKit/FactoCord"
and continue to..
$ go build
and it returns:
main.go:17:2: local import "./commands" in non-local package
main.go:18:2: local import "./commands/admin" in non-local package
main.go:16:2: local import "./support" in non-local package.
When I look in /var/Server/go/src/github.com
All I see is FactoKit and the other go gets are not there,
Did i do something incorrectly?

Could you explain what a Library issue is, so i can further understand?

Import paths should be in the form of github.com/yourname/project/package

Ahhh! I see them now, strange it took a while to show up.

So where do I navigate now to "go build"?

Enter the FactoKit directory and type go build

Ahh thankyou soooo much @Necroforger !!!
Everything built except the factocord which returned the same error:
main.go:17:2: local import "./commands" in non-local package
main.go:18:2: local import "./commands/admin" in non-local package
main.go:16:2: local import "./support" in non-local package.
Perhaps I should try an older pull  of factocord..
Can I buy you a coffee?

You should just need to replace the lines at
https://github.com/FactoKit/FactoCord/blob/master/main.go#L16
with
"github.com/FactoKit/FactoCord/support"
"github.com/FactoKit/FactoCord/commands"
"github.com/FactoKit/FactoCord/commands/admin"

To get it working

That did it!
Once again I thank-you!

If you need any more help you could check out the golang discord channel
https://discord.gg/5UsRjb


Typo

The second section of this page has the word "dingle" where I assume it is meant "single".

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

ID: ee907a51-a7f2-16b6-7c61-e5b09f14229f
Version Independent ID: 4725a038-dcf1-efee-bc9e-86d3322d52d0
Content: Security with identity and access management (IAM) in Azure - Azure Architecture Center
Content Source: docs/framework/security/design-identity.md
Service: architecture-center
Sub-service: well-architected
GitHub Login: @PageWriter-MSFT
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#302235

@The-Violinist Thanks for catching that! We have worked up a PR to address this, which once merged should reflect in a couple of hours.


Natural Language Interface Web Components

Placeholder epic, details TBD.

After multiple conversations, it was decided that the Watson Assistant team will be taking on the responsibility of delivering the Chat functionality as well as integration support for M2W3 teams before THINK 2024. This essentially can be removed as a phase 2 responsibility for the Carbon team, but can be considered in backlog for other contributors to take on, as I still see a potential need for this outside of THINK and also the M2W3 initial cohort within IBM Software.

@jeffchew thank you. I'll close this as "not planned" for the Carbon team. If the Watson Assistant wants to build open source, in this repo, we can get new issues going for that effort.


Auto-focus search field in Install extension section

Navigating to Install extension section should auto focus the search field.
This is painful mainly after navigating with a shortcut.

It does for me. Can you please provide exacts steps to repro and a gif/video would be great

search_input_select.webm
Oh, sorry it was not a shortcut, but a command with Ctrl+Shift+P

I can't see the attached video, can you please provide the steps to reproduce

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Open any file for editing
Hit Ctrl+Shift+P and select Install Extensions
When you type now, the cursor is focused to file editor and not to the install plugin search field


Update CTAs on events search page

What is the reason behind this change?

Usability I imagine, clarifying the call to actions. The change came from TR.


embassy-rp: failed to select a version for the requirement embedded-hal-nb = "=1.0.0-alpha.2"

Happens when I run cargo check in /embassy-rp
I'm a little bit confused, the package seems to exists on crates.io

This seems to be some problem with the new http-based registry protocol? If I force the old git-based protocol, it works fine

Yes, crates.io decided to sabotage the 1.0.0-alpha.2 release. It's being investigated: https://github.com/rust-lang/cargo/issues/11939

Ah just saw your issue. Nothing to do here, I guess


ng-map only opens remote KML file but not local file?

Current behavior
I'm using Ionic and ng-map. I have to display different KMLs (one at a time and on user request). The KML loads on the map but only for remote KMLs. So this one works:

    <ng-map center="41.876,-87.624" zoom="15" map-type-id="HYBRID" style="display:block; width: 100%; height:100%;">
        <kml-layer url="http://googlemaps.github.io/js-v2-samples/ggeoxml/cta.kml"></kml-layer>
    </ng-map>

Expected/desired behavior
My local KMLs are in a kml folder inside www directory in my Ionic app.

And I'm loading a local KML file like this (same syntax as the remote KML file):

  <ng-map center="41.876,-87.624" zoom="15" map-type-id="HYBRID" style="display:block; width: 100%; height:100%;">
    <kml-layer url="./kml/cta.kml"></kml-layer>
  </ng-map>

But the KML lines don't show up like the remote KML file. The map is loaded but just without the lines specified in the KML.
So, does ng-map require a remote KML to load the KML specs? Is this a bug? Is this a bug on ng-map or Ionic directories?
I don't get any errors or anything indicating that there's anything wrong except that the local KML file can't seem to be read that the specs won't show up on the map unlike the remote KML file.

No. NgMap does not require remote KML. Basically it does nothing regarding this url. It's just a simple wrapper of Google Maps API.
Please take a look at your network inspector and make it sure you are loading the correct KML file.
I strongly suggest to set url path  starts with // or / to set the correct path of your KML file.


Upstream qarminer

Do you have any plans to upstream qarminer into godot and/or oss-fuzz?

Not really

repo uses GDScript and Godot runs it as normal project(which is quite slow), so cannot be used directly in oss-fuzz which require C/C++ integration with project because Godot is not enough modular to only test certain functions from C/C++ and needs other parts of engine to be properly initialized to run properly.
already part stripped version of fuzzer is used in Godot CI as test project to check for memory corruption, leaks, crashes but only with  same set of parameters(to be able to easily reproduce problems) - https://github.com/godotengine/regression-test-project/.
Theoretically, the project could try to be added the official Godot repo, but it consumes a lot of CI time(for me it's not a problem, but Godot tries to reduce these times as much it is possible) but above all, Godot's developers are unlikely to see a special need for it, since it usually detects quite unusual problems and the most basic and critical ones are detected by the project in CI


Compressed Archive failing in .Net Core Console App

Hi Team,
I have a .Net Core 3.1 Console App with Dependency Injection configured. I have configured NLog and logging works fine. However, the Compressed Archive does not happen. I have the same configuration working in Asp .Net Core 3.1 Web API.
Please help.
NLog version:

Platform: .Net Core 3.1
Current NLog config:

<?xml version="1.0" encoding="utf-8" ?>
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xsi:schemaLocation="NLog NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      internalLogLevel="Info"
      internalLogFile="${basedir}/Logs/internal-nlog.txt">

  <variable name="Layout"
            value="${date:format=dd-MM-yyyy HH\:mm\:ss.fff}|${level:uppercase=true}|${logger}|${message}"/>

  <!-- the targets to write to -->
  <targets>
    <!-- write logs to file -->
    <target xsi:type="File"
            name="allfile"
            fileName="${basedir}/Logs/Auto_ZDEmailIntegration_${date:format=ddMMyyyy}.log"
            archiveFileName="${basedir}/Logs/Archive/Auto_ZDEmailIntegration_Archive_{#}.zip"
            archiveEvery="Day"
            archiveAboveSize="10485760"
            archiveNumbering="Date"
            archiveDateFormat="ddMMyyyyHHmm"
            maxArchiveDays="7"
            enableArchiveFileCompression="true"
            layout="${Layout}" />

    <!-- write to the void aka just remove -->
    <target xsi:type="Null" name="blackhole" />
  </targets>

  <!-- rules to map from logger name to target -->
  <rules>
    <!--All logs, including from Microsoft-->
    <logger name="*" minlevel="Trace" writeTo="allfile" />

    <!--Skip Microsoft logs and so log only own logs-->
    <logger name="Microsoft.*" minlevel="Trace" writeTo="blackhole" final="true" />
  </rules>
</nlog>

What is the current result? Archive and Old log file deletion doesnt happen.
What is the expected result? Old Log files should be Compressed and should be archived.
Did you checked the Internal log? Yes, No errors found.
Please post full exception details (message, stacktrace, inner exceptions): No exceptions found.
Are there any workarounds? No
Is there a version in which it did work? It worked with ASP .Net Core 3.1 Web API.
Can you help us by writing an unit test?

This issue is a duplicate of this. #3807 (That is a duplicate of many others).
The issue is this (Using of dynamic ${date}):

fileName="${basedir}/Logs/Auto_ZDEmailIntegration_${date:format=ddMMyyyy}.log"

Dynamic archive logic doesn't work together with static archive logic:

archiveFileName="${basedir}/Logs/Archive/Auto_ZDEmailIntegration_Archive_{#}.zip"

See also https://github.com/NLog/NLog/issues/3807#issuecomment-587661413

This issue is a duplicate of this. #3807 (That is a duplicate of many others).
The issue is this (Using of dynamic ${date}):

fileName="${basedir}/Logs/Auto_ZDEmailIntegration_${date:format=ddMMyyyy}.log"

Dynamic archive logic doesn't work together with static archive logic:

archiveFileName="${basedir}/Logs/Archive/Auto_ZDEmailIntegration_Archive_{#}.zip"

See also https://github.com/NLog/NLog/issues/3807#issuecomment-587661413

Hope this answers your question?

Hope this answers your question?


Add plot like "SmED Assessments" but with absolute numbers

Please no new card but switch within card

What exactly means "absolut numbers" in this context?
And it is a good idea to switch it and not add a new plot, I will go with that

Aaah okay - ich verstehe :)


Add linkify blog post

To review:

bundle install && bundle exec jekyll serve
Click here to view in your browser

It might be useful to explain really early on that the initial screen is presented in a textview.

Does the string your textview is displaying include an http:// prefix?

Presumably you remove the textview xml attribute for autolinking when setting the linkify stuff programmatically?

All comments in, otherwise this is a :sweet_potato: post!

It might be useful to explain really early on that the initial screen is presented in a textview.

Good call. I will include a code example to show that CardView layout hierarchy.

Does the string your textview is displaying include an http:// prefix?

It does not. That would be good to explain about the Patterns.WEB_URL regular expression mentioned in the post and how Android will parse URLs without a URI scheme (like http).

Presumably you remove the textview xml attribute for autolinking when setting the linkify stuff programmatically?

I do. Thanks for pointing that out - I will be more explicit in setting that scenario up.
Thank you, @stkent!

:+1: :dart:


[SPIKE] How to handle programmatic link checking

Problem statement
We have created a programmatic way to check all links on the ReportStream website #14004, but we have not determined how to monitor, resolve, and trigger blockers when it finds broken links.
What you need to know

#14004

Acceptance criteria

[ ] Meet with rest of FE team and Tech Lead to determine:

[x] What should trigger an error vs a warning
[x] How the errors and warnings will be monitored (and who is responsible)
[x] What needs to be fixed, by whom, on what timeline

[ ] Document the resolution in this ticket
[ ] Create follow-on ticket (if necessary) to implement solution

Victor: Internal Links throw an error, external links throw a warning
Penny and Joseph agree.

This program is run with every pull request.
Victor: Is there any existing documentation?
Joseph: Teams other than FE likely will not trigger an error on internal links.
If error occurs:

Person merging is responsible for fixing. If cannot fix, pair with FE on-call person to fix.

If warning occurs:

Person merging is responsible for notifying the FE team that a warning exists. FE team will take ownership to fix. Proceed as usual.

Chris to align with Etan when he is back

Meeting Wed 6/5 to finish the discussion

Ok @chris-kuryak @pstonebu @victor-chaparro
Experience discussed this async via Slack and conclude that this is how we should handle console.warn within this programmatic link checking end-to-end test (and maybe other warn-based tests as well):

go through the e2e test
when there's a non 200 response from a link, console.warn within the e2e test
within the playwright test, create a file called test-warnings.log and output all the warnings there
alternative implementation: write the warnings to an envar, and then read it later ie: process.env.PLAYWRIGHT_WARNINGS = warnings.join("\n");
once the e2e test is complete, we have a github action that reads the .log file (or envar), and creates a PR comment with the broken link clearly visible

This solution both makes the link-checking non-blocking but also VERY obvious when something is broken. I don't think we should differentiate between internal vs. external links, as our e2e tests will catch anything truly broken with our actual pages, and shipping any piece of website with broken links, regardless of internal or external, it needs to be fixed.

I like this approach, prevents broken links from holding up a release, but still makes them actionable


Changed tab focus style to only appear when focus is needed

One line fix: This makes it so that the very bold focus style for tabs only appears on :focus-visible, which the UA determines (not on mouse use). This behavior is something that @samitron7 wanted.

Hey @pbakaus, I have a PR coming for this to make sure the tabs are keyboard accessible (right now only the focused tab is), and to add some missing aria attributes to it. So if you don't mind, I'll close this in favor of that

Btw, focus-visible is only supported on firefox and most likely should not be used yet.

Replaced with #544

ah good catch re: focus-visible. SGTM, thanks.


Hugging Face Runtime error: Failed to initialize platform (azure-c-shared). Error: 2176

Hello, I'm trying to create a service on Hugging Face but when I try to use Microsoft Speech services I get this error:
Error:  "Runtime error: Failed to initialize platform (azure-c-shared). Error: 2176".
Does anyone know how to fix this on Hugging Face? Please feel free to ask me for any relevant information. I'm not sure what would be helpful.

Hi @aikitty123 shall we have more details for this problem, for example the repro steps?
How did you attempt to integrate Microsoft Speech services? Did you use a specific SDK or API?
Which programming language are you using? And which version of Microsoft Speech services are you working with?
Have you followed any official documentation or guides from Hugging Face for integrating the service? If so, could you provide the relevant links?
Have you tried reconfiguring your environment or reinstalling dependencies to address this issue? If so, could you describe the steps you've taken?

Thank you for your response. Here are the details for the problem I am encountering:

Integration Approach:
I attempted to integrate Microsoft Speech services using the Azure Cognitive Services Speech SDK. Specifically, I used the Python SDK for speech services.

Programming Language and SDK Version:
I am using Python as the programming language. Initially, I tried using the latest version of the Azure Cognitive Services Speech SDK using Speech SDK 1.30.1, which I specified in the requirements.txt file.

Documentation and Guides:
I tried to follow the official documentation from Microsoft for the Azure Cognitive Services Speech SDK. I also referred to general Hugging Face Spaces documentation for deploying applications but didn't find specific guides for integrating Microsoft Speech services on Hugging Face.

Here are the links to the documentation I followed:

Microsoft Azure Cognitive Services Speech SDK for Python: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-pronunciation-assessment?pivots=programming-language-python
Hugging Face Spaces documentation: https://huggingface.co/docs/hub/spaces

Steps Taken to Reconfigure Environment:

Specified the required dependencies in the requirements.txt file, using the latest version.
Verified the compatibility of the specified versions with Hugging Face Spaces.
Updated the app.py file to match the configurations suggested by the official Microsoft documentation.
Ensured that unnecessary dependencies were removed from the requirements.txt file to avoid conflicts.

Despite these steps, I continue to encounter the "Runtime error: Failed to initialize platform (azure-c-shared). Error: 2176" error.
I appreciate any any further guidance or suggestions to resolve this issue.
Thank you for your assistance.
Best regards,
aikitty123
P.S. Here is my app.py file, if that helps:

import gradio as gr
import azure.cognitiveservices.speech as speechsdk
def assess_pronunciation(audio_file, reference_text):
try:
# Configure Azure Speech Service
speech_key = "MYKEY"
service_region = "westus"
speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
    # Set up the audio configuration
    audio_config = speechsdk.audio.AudioConfig(filename=audio_file)

    # Create pronunciation assessment config
    pronunciation_config = speechsdk.PronunciationAssessmentConfig(
        reference_text=reference_text,
        grading_system=speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
        granularity=speechsdk.PronunciationAssessmentGranularity.Phoneme
    )

    # Create the recognizer
    recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config)
    pronunciation_config.apply_to(recognizer)

    # Recognize speech and assess pronunciation
    result = recognizer.recognize_once()

    # Debug information
    print(f"Recognition result reason: {result.reason}")

    if result.reason == speechsdk.ResultReason.RecognizedSpeech:
        pronunciation_result = speechsdk.PronunciationAssessmentResult(result)

        # Extract and format the results
        accuracy_score = pronunciation_result.accuracy_score
        fluency_score = pronunciation_result.fluency_score
        completeness_score = pronunciation_result.completeness_score
        prosody_score = pronunciation_result.prosody_score

        return {
            "Accuracy": accuracy_score,
            "Fluency": fluency_score,
            "Completeness": completeness_score,
            "Prosody": prosody_score
        }
    elif result.reason == speechsdk.ResultReason.NoMatch:
        print("NOMATCH: Speech could not be recognized.")
        return {"Error": "Speech could not be recognized. Please try again with a clearer audio."}
    elif result.reason == speechsdk.ResultReason.Canceled:
        cancellation_details = speechsdk.CancellationDetails(result)
        print(f"CANCELED: Reason={cancellation_details.reason}")
        print(f"CANCELED: ErrorDetails={cancellation_details.error_details}")
        return {"Error": f"Speech recognition canceled: {cancellation_details.error_details}"}
except Exception as e:
    print(f"An error occurred: {str(e)}")
    return {"Error": f"An unexpected error occurred: {str(e)}"}

Create Gradio interface
interface = gr.Interface(
fn=assess_pronunciation,
inputs=[
gr.Audio(type="filepath"),  # Audio input
gr.Textbox(label="Reference Text", placeholder="Enter the reference text you are pronouncing")  # Reference text input
],
outputs="json",
title="Chinese Pronunciation Checker"
)
if name == "main":
interface.launch()

Does anyone have any ideas?

Speech SDK 1.30.1

This is very old, please use the latest SDK release which is 1.40.0 as of this writing.
Ensure that the OS environment where the application is run meets the Speech SDK platform requirements.
If you still have issues then open a new bug report with full details.