Feature - trigger functions

Refs #38 ,

implements trigger functions
added a test for checking correct generation
re-used decoration syntax used for volatility (//@plv8ify-trigger)

Thanks for the contribution, this is live in 0.0.53


[KeyVault] Keyvault access is broken in newer version on Managed Identity

Package Name: @azure/identity
Package Version: 4.4.0
Operating system: Windows 10
[x] nodejs

version: 8.17

[ ] browser

name/version:

[x] typescript

version: 3.9.5

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
When using DefaultAzureCredential on a Managed Identity machine(azure vms), the credentials throw error while trying to access keyvault.SecretClient(url, cred). This makes complete inaccessibility of keyvault secrets.
To Reproduce
Steps to reproduce the behavior:

On a managed identity use the following code to reproduce the issue.

const identity = require("@azure/identity");
const keyvault = require("@azure/keyvault-secrets");
const credentials = new identity.DefaultAzureCredential();
const vaultName = <yourVaultName>;
const vaultUrl = `https://${vaultName}.vault.azure.net`;
try{
  const client = new keyvault.SecretClient(vaultUrl, credentials);
  const secretValue= await client.getSecret(<secretName>);
} catch (e) {
  throw new Error("Failed accessing secrets from Key-vault: ", e);
}

Expected behavior
The above code snippet should not throw any errors, when all the resources are aligned properly.
Note that the above snippet gives error in v4.4.x while v4.3.x works like charm.
Screenshots
N/A
Additional context
The sdk is tested on a managed identity machine, and previous version seems to be working file.
NB: for Microsoft support team, you can refer to a ticket with TrackingID#2204050050000883, without disclosing further details.(confidential)

@sadasant / @KarishmaGhiya I wonder if this has something to do with multi-tenant support that was recently added to Identity?
I'm not too familiar with these changes so hopefully you could offer some guidance? https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/CHANGELOG.md#features-added-1
@ashut0shk turning on verbose logging could hopefully help here by providing detailed logs from @azure/identity - could you run the same scenario with the azure logger in verbose mode? Instructions can be found here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#logging
You can either set an environment variable AZURE_LOG_LEVEL to "verbose" or set the log level in code as per instructions.
Is there anything in the verbose logs that might help narrow down the problem?

Hello @ashut0shk I have tried the above code snippet with @azure/keyvault-secrets (v 4.4) and @azure/identity (v2.0.4) and it worked, provided the access policies are set correctly.
In order to help with the above issue, let's try a few things -
First, I want to see the exact error message you are seeing on your end. Make sure you don't have any env variables set while doing this, since you want to use managed identity. For that, can you modify your code so that the error message is getting printed on a new line and share that with me?
const identity = require("@azure/identity");
const keyvault = require("@azure/keyvault-secrets");
const credentials = new identity.ManagedIdentityCredential();
const vaultName = "kaghiya-kv";
const vaultUrl = `https://${vaultName}.vault.azure.net`;

async function main(){
  try{
    const client = new keyvault.SecretClient(vaultUrl, credentials);
    const value= await client.getSecret("secretName");
    console.log(value);
  } catch (e) {
    console.log(e);
    throw new Error("Failed accessing secrets from Key-vault");
  }
}

main().catch((err)=>{
  console.error(err);
  process.exit(1);
});

Second,  can you verify the following:

On the keyvault resource, Go under "Access Policy" -> Add an access policy. Under this you can select the required permissions for the keyvault resource and under the "Principal" select your VM resource that you have created. After you click apply, make sure to click "Save" on the "Access Policy" page.
On the VM resource,  Go under "Identity" -> select "System Assigned Managed Identity" -> Switch it to "On". On this same page, under Permissions, click "Azure Role Assignments" -> Add Role Assignment and add the appropriate Azure Role you want to assign to the keyvault resource you want to access

@maorleger The multi-tenant feature was added through these two PRs:

[Identity] Support for tenant Id Challenges / tenant discovery in ClientCredentials #15837
[Identity] Removed allowMultiTenantAuthentication #17915

To disable it, one can set the environment variable AZURE_IDENTITY_DISABLE_MULTITENANTAUTH. That could help us identify whether the multi-tenant feature is at fault.

Hi @sadasant, I tried rechecking with setting up the variable AZURE_IDENTITY_DISABLE_MULTITENANTAUTH but with no luck. The same error is still there.

Hi @KarishmaGhiya, thank you for the suggestion. I have captures the exact output of the above code snippet.
PS: there aren't any environment variable setup on the machine.

Error: The challenge authorization URI 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is invalid.
at ChallengeBasedAuthenticationPolicy.parseWWWAuthenticate (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1226:19)
at ChallengeBasedAuthenticationPolicy.regenerateChallenge (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1333:36)
at ChallengeBasedAuthenticationPolicy.sendRequest (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1391:21)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
Error: Error: The challenge authorization URI 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is invalid.
at main (C:\test\test.js:14:11)
at
at process._tickCallback (internal/process/next_tick.js:189:7)

Meanwhile I re-verified the appropriate role as well as access policy assignments. The error is same as appeared previously.

In case verbose logging information is needed, please refer below.
@maorleger thank you for the suggestion.

azure:identity:info EnvironmentCredential => Found the following environment variables:
azure:core-client:warning The baseUri option for SDK Clients has been deprecated, please use endpoint instead.
azure:core-client:warning The baseUri option for SDK Clients has been deprecated, please use endpoint instead.
azure:identity:info VisualStudioCodeCredential => Failed to load the Visual Studio Code configuration file. Error: ENOENT: no such file or directory, open 'C:\Users\<username>\AppData\Roaming\Code\User\settings.json'
azure:core-client:warning The baseUri option for SDK Clients has been deprecated, please use endpoint instead.
azure:core-http:info ServiceClient: using custom request policies
azure:keyvault-secrets:info Request: {
"streamResponseStatusCodes": {},
"url": "https://<vault-name>.vault.azure.net/secrets/<secret-name>/?api-version=7.3",
"method": "GET",
"headers": {
"_headersMap": {
"accept": "application/json",
"user-agent": "azsdk-js-keyvault-secrets/4.4.0 core-http/2.2.5 Node/v8.17.0 OS/(x64-Windows_NT-10.0.17763)",
"x-ms-client-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx25"
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx25"
}
azure:keyvault-secrets:info Response status code: 401
azure:keyvault-secrets:info Headers: {
"_headersMap": {
"cache-control": "no-cache",
"content-length": "97",
"content-type": "application/json; charset=utf-8",
"date": "Mon, 16 May 2022 07:23:01 GMT",
"expires": "-1",
"pragma": "no-cache",
"strict-transport-security": "REDACTED",
"www-authenticate": "Bearer authorization="https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", resource="https://vault.azure.net"",
"x-content-type-options": "REDACTED",
"x-ms-client-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx25",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=xxx.xxx.xxx.xxx;act_addr_fam=InterNetwork;",
"x-ms-keyvault-region": "eastus",
"x-ms-keyvault-service-version": "1.9.395.1",
"x-ms-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx5f"
}
}
Error: The challenge authorization URI 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is invalid.
at ChallengeBasedAuthenticationPolicy.parseWWWAuthenticate (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1226:19)
at ChallengeBasedAuthenticationPolicy.regenerateChallenge (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1333:36)
at ChallengeBasedAuthenticationPolicy.sendRequest (C:\test\node_modules@azure\keyvault-secrets\dist\index.js:1391:21)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
Error: Error: The challenge authorization URI 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is invalid.
at main (C:\test\test.js:14:11)
at
at process._tickCallback (internal/process/next_tick.js:189:7)

I currently believe the error comes specifically from this line in the code: https://github.com/Azure/azure-sdk-for-js/blob/e6dbd47cfda9973c4550ee63e712e8728cbef462/sdk/keyvault/keyvault-common/src/parseWWWAuthenticate.ts#L68
However, I can't imagine why the code within the try statement would be a problem. If I try this locally it works:
> parsed = { authorization: https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
> parsed = { authorization: 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' }
{
  authorization: 'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
}
> parsed.authorization
'https://login.windows.net/34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
> tenantId = new URL(parsed.authorization).pathname.substring(1)
'34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
> parsed.tenantId = tenantId
'34xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

I wonder two things:

I wonder if the authorization URI in the logs is incorrect (since the information is incomplete). @ashut0shk do you mind trying locally to see if you have any problem parsing the pathname of the authorization URI you see in the logs? I'd also recommend logging the error in the built code, to see if you spot something that we're currently missing.
I also wonder if there's another error in our source code that has the same string pattern, @KarishmaGhiya

Hi @maorleger
That is a viable catch. I wonder, however, how the previous version manages to circumvent the issue.
Meanwhile, I'll try to confirm the issues' regeneration with latest node LTS, that I believe could shed some light on it.

@ashut0shk Checking with you if updating the node version resolves the issue you are having?

@KarishmaGhiya I have not been able to upgrade the node on the managed identity machine (mainly because of a lot of dependencies) to validate the existence of the issue with latest one. I, however, tried to reproduce the same on a regular machine and it appears that it does vanish away with latest Node LTS, i.e., v16.15.xx
NB: On regular machine with Node v8.xx, I was still hitting the same error. As if it's a underlying node library issue.
Wouldn't it be nice to have a little more specific error message, I wonder.

I can definitely try to capture the original error message where we are using the URL class and throw that error message. Thanks!

Has this issue been resolved? Currently running into it now.

Hey @GregorieCalderon! The original issue here stemmed from the use of Node 8, which we no longer support (see above). If you're using an unsupported Node version, my recommendation would be to upgrade to a supported version, if possible. This would hopefully resolve the underlying issue for you, although the problem with the misleading error message persists for the time being.


When user identity is requested, terminate association if identity incorrect

Plus test coverage for same.
There should be an option to require user identity, however I think it should be defaulted to ignoring UI requests.

User Identity Negotiation should be left to the end user (ae.on_user_identity_negotiation perhaps?). In the included apps, any UIN requests should be ignored and the Association accepted by default (unless there are other reasons to reject, of course)


Cache pickposition

fixes #5117

Thanks @ateshuseyin!  It looks like you have a jsHint error:
Specs/Scene/SceneSpec.js
line 852  col 68  Unnecessary semicolon.

You can run jsHint locally with npm run jsHint
@lilleyse do you want to review this?

Yes, I should be able to review today.

fixed belong to review.

Thanks for this contribution, @ateshuseyin!
@lilleyse please ping me when you think this is ready, I'd like to take a quick look before merging into master.

Thanks cesium. It is great work.
I think all done.

@lilleyse I think this is last commit :)

@pjcozzi this is ready for you to look at.

Just that comment.  Thanks again @ateshuseyin, nice job with the tests!

@pjcozzi done

This looks ready to me, @pjcozzi do you want to merge?

Looks good, but are we sure about all the changes to the .idea/* files that came in with 435496178be223b5b9fb6742bfe5ea5ca3f02c5d?

I think those are related to the recent Webstorm update, which haven't been incorporated into 3d-tiles yet. I'll merge master into 3d-tiles first to be sure.

They aren't in master, so I just reverted those changes.

Thanks @ateshuseyin @lilleyse!


[Bug] Hard crash on app start (versions 4.5.26+)

Steps to reproduce

Download the release zip from https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/releases
Unzip the zip file using 7zip
Execute NuGetPackageExplorer.exe from Windows Explorer

Result
The program immediately crashes with the following error message: The application was unable to start correctly (0x0000005). Click OK to close the application.
Note
Also had the same result when executing version 4.5.46 installed via Chocolatey.
Reproduced with versions
4.5.26
4.5.27
4.5.46
Eventvwr log
Faulting application name: bad_module_info, version: <IP_ADDRESS>, time stamp: 0x00000000
Faulting module name: unknown, version: <IP_ADDRESS>, time stamp: 0x00000000
Exception code: 0x00000001
Fault offset: 0x00000000
Faulting process id: 0x3164
Faulting application start time: 0x01d46e4375c0e675
Faulting application path: bad_module_info
Faulting module path: unknown
Report Id: 501ba2ed-61f5-4906-866a-67617c16194d
Faulting package full name:
Faulting package-relative application ID:
Is there a version in which it did work?
Version 4.5.9 seems to work
systeminfo
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.16299 N/A Build 16299
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Product ID:                00329-10180-00000-AA554
Original Install Date:     11/22/2017, 6:52:08 PM
System Boot Time:          10/22/2018, 4:44:08 PM
System Manufacturer:       Dell Inc.
System Model:              Precision 3510
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 94 Stepping 3 GenuineIntel ~2400 Mhz
BIOS Version:              Dell Inc. 1.12.6, 2/7/2017
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume4
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     16,266 MB
Available Physical Memory: 9,032 MB
Virtual Memory: Max Size:  18,698 MB
Virtual Memory: Available: 10,540 MB
Virtual Memory: In Use:    8,158 MB
Page File Location(s):     C:\pagefile.sys
Hotfix(s):                 13 Hotfix(s) Installed.
[01]: KB4048951
[02]: KB4053577
[03]: KB4054022
[04]: KB4056887
[05]: KB4073120
[06]: KB4074595
[07]: KB4088785
[08]: KB4103729
[09]: KB4131372
[10]: KB4132650
[11]: KB4287903
[12]: KB4457146
[13]: KB4457136
Network Card(s):           3 NIC(s) Installed.
[01]: Intel(R) Dual Band Wireless-AC 8260
Connection Name: Wi-Fi
DHCP Enabled:    Yes
DHCP Server:     <IP_ADDRESS>
IP address(es)
[01]: <IP_ADDRESS>
[02]: fe80::71e7:a426:2556:68c4
[02]: Intel(R) Ethernet Connection (2) I219-LM
Connection Name: Ethernet
Status:          Media disconnected
[03]: Bluetooth Device (Personal Area Network)
Connection Name: Bluetooth Network Connection 3
Status:          Media disconnected
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes

I'm not sure here and I can't repro it. Looking up bad_module_info appears to affect other programs, mainly games, as well. You might want to try some of their suggested fixes and report back if anything worked.
One thread here mentions some 3rd party software from Razer might be a cause:
https://help.daybreakgames.com/hc/en-us/articles/360000660427-What-causes-Bad-module-info-errors-
Not sure what I can do here specifically.

On Monday I'll check with some co-workers who have similar workstations to see if they run into the same problem.

Looks like its just my machine =\

Obviously it's not just your machine, I've got exactly the same problem. And Version 4.5.9 seems to work for me also.


Deduplicate template code using jade blocks

Widgets and panels share a lot of common jade code, at a minimum they tend to share the same format, for example:
sourceInfoWidget.jade
datasetInfoWidget.jade
These could be abstracted using jade's inheritance capabilities.

Outdated.


Metrics/BlockLength doesn't exclude when using default global config

We use global configuration for Rubocop, which is used by Rubocop by default -- ~/.rubocop.yaml . This file contains only inheritance from remote config, which contains all the configurations for cops.
This file contains also
Metrics/BlockLength:
  Exclude:
    - 'Gemfile'
    - 'Rakefile'
    - 'spec/**/*.rb'

By kinda spartian debugging I find out, that this translates to
{"Description"=>"Avoid long blocks with many lines.",
 "Enabled"=>true,
 "CountComments"=>false,
 "Max"=>25,
 "ExcludedMethods"=>[],
 "Exclude"=>
  ["/Users/mailo/Gemfile",
   "/Users/mailo/Rakefile",
   "/Users/mailo/spec/**/*.rb"]}

Check the exclude for AllCops
Exclude:
  - 'node_modules/**/*'
  - 'vendor/**/*'

produces
"Exclude"=>["/Users/mailo/Ruby/gem/forwarder/vendor/**/*"],

Code for checking the excludes
rubocop-0.48.1/lib/rubocop/cop/cop.rb:84
def initialize(config = nil, options = nil)
  if self.class.name == 'RuboCop::Cop::Metrics::BlockLength'
    require 'pp'
    pp config
  end
  @config = config || Config.new

Then run rubocop /tmp/weeee && less /tmp/weeee in project which has lot of specs and serch for BlockLen.
This behaviour changes between versions 0.47.1 (works ok) and 0.48.1 (broken).

Expected behavior
I would expect the items from Exclude are relative to current directory and not global config file which is expected to be in home dir
Actual behavior
Metrics/BlockLength evaluates excludes relatively to global rubocop config (~/.rubocop.yml)
Steps to reproduce the problem

Pickup project with large specs
In global Rubocop configuration put

Metrics/BlockLength:
  Exclude:
    - 'Gemfile'
    - 'Rakefile'
    - 'spec/**/*.rb'

Use no other configuration file (can be checked at output beginning of rubocop --debug)
Install only Rubocop 0.47.1 -- gem uninstall rubocop && gem install rubocop -v 0.47.1
Run rubocop --display-cop-names
You should see NO ofenses in spec/ regarding large blocks
Install only Rubocop 0.48.1 -- gem uninstall rubocop && gem install rubocop -v 0.48.1
Run rubocop --display-cop-names
You should see SOME ofenses in spec/ regarding large blocks

RuboCop version
 $ rubocop -V
0.47.1 (using Parser <IP_ADDRESS>, running on ruby 2.3.1 x86_64-darwin16)

 $ rubocop -V
0.48.1 (using Parser <IP_ADDRESS>, running on ruby 2.3.1 x86_64-darwin16)

Expected behavior
I would expect the items from Exclude are relative to current directory and not global config file which is expected to be in home dir

The following documentation seems to indicate that this is intentional.

The Include and Exclude parameters are special. They are valid for the directory tree starting where they are defined. They are not shadowed by the setting of Include and Exclude in other .rubocop.yml files in subdirectories. This is different from all other parameters, who follow RuboCop's general principle that configuration for an inspected file is taken from the nearest .rubocop.yml, searching upwards.
https://rubocop.readthedocs.io/en/latest/configuration/#includingexcluding-files

@jaredbeck : How can You then exclude these files in all projects?

Just above the section that @jaredbeck quoted we find:

In .rubocop.yml and any other configuration file beginning with .rubocop, files and directories are specified relative to the directory where the configuration file is. In configuration files that don't begin with .rubocop, e.g. our_company_defaults.yml, paths are relative to the directory where rubocop is run.

So there's your answer, @roolo. Rename the common configuration file so it doesn't begin with .rubocop.


added aliases for Ids on select models

added aliases for Ids on select models to prevent null Ids.

}

why not same here?

Refers to: MSBot/src/models/qnaMakerService.ts:15 in e19d9d9. [](commit_id = e19d9d9e01d341c0b16e46b7ad71f2a03e7ecdb4, deletion_comment = False)


"tl-card-contents" position issue in compressed version

I've try compressed version & non-compressed version both, and got different result. It seem that a  position bug in compressed version.
I spend lots of time to check my js/css code with using compressed version , and finally find this issue.
Non-compressed version works fine for me. thx!.

Thank you for your report 😄 . I'll patch this problem.

Fixed at 1.0.11


[WIP] update(docs): update modern bpf documentation

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area documentation
What this PR does / why we need it:
This PR updates the documentation of the modern bpf probe -> no more experimental
Which issue(s) this PR fixes:
Special notes for your reviewer:
This is for Falco 0.35

What is the current status of the userspace kernel events? I believe it is currently not maintained. If that is the case, I suggest removing it from the main table, reducing its size, and moving it to the end of the list. What do you think?

What is the current status of the userspace kernel events? I believe it is currently not maintained. If that is the case, I suggest removing it from the main table, reducing its size, and moving it to the end of the list. What do you think?

Completely agree with you! WDYT? @leogr

Totally agree 👍

:+1:  for me; but please let's get this merged ASAP since doc is out of sync :)

LGTM label has been added.  Git tree hash: 09e45442edfb13c0601d6f7438c8539b6d543241

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Andreagit97, please, if anything is missing, open a follow-up PR.
Thank you! :pray:


[Code health] Simplify applying window inset to components

The main activity subscribes to window inset changes and all fragments listen to that and apply padding/margin/translationY to adjust themselves accordingly.
A lot of code, dedicated for this purpose can be replaced with tuning the xmls directly by separating the components that need adjustment from rest and setting fitsSystemWindows to true

Hi @shobhitagarwal1612 can we close this now?

One or two instances are still remaining. See the linked PR for details

HomeScreenFragment and FeatureDetailsFragment could also use similar refactoring.

Closing this as obsolete.


Functional tests: Create postman requests for Confirmation of funds availability

Description
Implement the proper functional tests to cover the Confirmation of funds availability resource flow Here
Tasks

[x] Test coverage Confirmation of funds availability
[x] Test coverage Confirmation of funds availability expected errors
[x] Add gradle group task to run only the Confirmation of funds tests v3.1.8, v3.1.9, v3.1.10

Acceptance criteria

[x] All current functional tests pass.
[x] The Confirmation of funds functional tests pass.
[x] As a developer I can run the a task to run only the iConfirmation of funds functional tests v3.1.8, v3.1.9, v3.1.10

Hey team! Please add your planning poker estimate with Zenhub @dbadham-fr @jorgesanchezperez


New package: iMobieInc.AnyTrans version <IP_ADDRESS>

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

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

Microsoft Reviewers: Open in CodeFlow

Should this be a portable package?

Should this be a portable package?

Screenshot of validation please

Should this be a portable package?

Can I see a screenshot running normally without any flags? This may either be portable or an interactive only installer.

Please test your packages in your own testing environment.


Clarify vector memory operations under RVTSO

RVTSO is not ratified, but should explain how vector memory instructions would operate under TSO.

For public review at least, declining to specify behavior under RVTSO, as this has not been ratified.  Can tackle this after v1.0.


move kube deploy setting for data pipeline to backends/k8s folder

This needs to be included under backends/k8s folder
https://github.com/UNDP-Data/geohub-data-pipeline/tree/main/deployment
┆Issue is synchronized with this Wrike task by Unito

This issue was implemented by PR #1312, #1313, #1314, #1315, #1316 and #1317.


Guest Access and Shared Permissions

Support guidelines

[X] I've read the support guidelines

I've found a bug and checked that ...

[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem

Description
I am encountering persistent issues with configuring the CrazyMax Samba container in Portainer to provide guest accounts with full read/write access. Despite following the documentation and testing multiple configurations, the container fails to initialize properly, Samba shares are inaccessible, and port 445 is reported as closed. Additionally, shared directory permissions conflict with other containers like Plex and SABnzbd, resulting in inaccessible files.
Expected behaviour

The Samba container initializes without errors.
Samba shares are accessible via guest accounts with full read/write permissions.
Port 445 is open and accepting connections.
Permissions for shared directories are consistent across containers (e.g., Plex, SABnzbd, and Samba).

Actual behaviour

The Samba container logs repeated initialization errors, such as mkdir: cannot create directory '/var/lib/samba': File exists.
Port 445 is reported as closed (445/tcp closed microsoft-ds) despite being exposed in docker-compose.yml.
Attempts to access the Samba share result in Error NT_STATUS_CONNECTION_REFUSED.
Files created by Plex or SABnzbd are not accessible via Samba, even when using force user and force group.

Steps to reproduce

Deploy the container using the following docker-compose.yml:
version: '3.8'
services:
  samba:
    image: crazymax/samba:latest
    container_name: samba
    restart: unless-stopped
    hostname: samba
    environment:
      # System
      - TZ=America/Los_Angeles
      - S6_LOGGING=0
      - DISABLE_SOCKLOG=1
      # Samba Core
      - SAMBA_WORKGROUP=WORKGROUP
      - SAMBA_SERVER_STRING=Samba Server
      - SAMBA_LOG_LEVEL=3
      # Security
      - SAMBA_HOSTS_ALLOW=<IP_ADDRESS>/0
      - SAMBA_HOSTS_DENY=
    volumes:
      # Config and data directories
      - /appdata/samba:/config
      - /appdata/samba/data:/data
      # Persistent directories
      - /appdata/samba/lib:/var/lib/samba
      # Shared folder
      - /media/samsung:/samba/samsung
    ports:
      - "445:445"
    cap_add:
      - NET_ADMIN
      - NET_RAW
    command: |
      sh -c 'rm -rf /config/* /data/* /var/lib/samba/* /run/samba/* || true &&
      mkdir -p /config /data /var/lib/samba/private/msg.sock /run/samba || true &&
      [ -d /var/lib/samba ] && chmod 755 /var/lib/samba &&
      [ -d /var/lib/samba/private ] && chmod 700 /var/lib/samba/private &&
      [ -d /var/lib/samba/private/msg.sock ] && chmod 700 /var/lib/samba/private/msg.sock &&
      echo "[global]
      workgroup = WORKGROUP
      server string = Samba Server
      security = USER
      map to guest = Bad User
      guest account = share
      bind interfaces only = no
      interfaces = <IP_ADDRESS>/0
      unix extensions = no
      local master = no
      server min protocol = SMB2
      server smb encrypt = desired
      smb ports = 445
      create mask = 0664
      directory mask = 2775
      force create mode = 0664
      force directory mode = 2775
      vfs objects = fruit streams_xattr

      [samsung]
      path = /samba/samsung
      browseable = yes
      read only = no
      guest ok = yes
      writable = yes
      force user = share
      force group = share
      create mask = 0664
      directory mask = 2775" > /config/smb.conf &&
      testparm -s /config/smb.conf || exit 1 &&
      exec /init'

Attempt to access the Samba share:
smbclient //<IP_ADDRESS>/samsung -U guest%

Verify port 445 status:
nmap -p 445 <IP_ADDRESS>

Docker info
# Output from `docker info`

Logs
Container logs consistently show the following errors:
tcp   LISTEN 0      4096         <IP_ADDRESS>:445        <IP_ADDRESS>:*
tcp   LISTEN 0      4096            [::]:445           [::]:*
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-config.sh: executing...
Setting timezone to America/Los_Angeles
Initializing files and folders
cp: cannot stat '/var/lib/samba/*': No such file or directory
rm: cannot remove '/var/lib/samba': Resource busy
Setting global configuration
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

# Global parameters
[global]
	disable netbios = Yes
	disable spoolss = Yes
	dns proxy = No
	local master = No
	map to guest = Bad User
	pam password change = Yes
	printcap name = /dev/null
	security = USER
	server role = standalone server
	server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
	server string = Samba Server
	smb1 unix extensions = No
	smb ports = 445
	usershare allow guests = Yes
	winbind scan trusted domains = Yes
	fruit:time machine = yes
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:veto_appledouble = no
	fruit:posix_rename = yes
	fruit:model = MacSamba
	fruit:metadata = stream
	idmap config * : backend = tdb
	create mask = 0664
	directory mask = 0775
	force create mode = 0664
	force directory mode = 0775
	hosts allow = <IP_ADDRESS>/0
	hosts deny = <IP_ADDRESS>/0
	printing = bsd
	strict locking = No
	vfs objects = fruit streams_xattr
	wide links = Yes
[cont-init.d] 01-config.sh: exited 0.
[cont-init.d] 02-svc-smbd.sh: executing...
[cont-init.d] 02-svc-smbd.sh: exited 0.
[cont-init.d] 03-svc-wsdd2.sh: executing...
[cont-init.d] 03-svc-wsdd2.sh: exited 0.
[cont-init.d] ~-socklog: executing...
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
mkdir: cannot create directory ‘/var/lib/samba/private’: No such file or directory
[cmd] sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-config.sh: executing...
Setting timezone to America/Los_Angeles
Initializing files and folders
cp: cannot stat '/var/lib/samba/*': No such file or directory
rm: cannot remove '/var/lib/samba': Resource busy
Setting global configuration
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE
# Global parameters
[global]

	disable netbios = Yes
	disable spoolss = Yes
	dns proxy = No
	local master = No
	map to guest = Bad User
	pam password change = Yes
	printcap name = /dev/null
	security = USER
	server role = standalone server
	server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
	server string = Samba Server
	smb1 unix extensions = No
	smb ports = 445
	usershare allow guests = Yes
	winbind scan trusted domains = Yes
	fruit:time machine = yes
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:veto_appledouble = no
	fruit:posix_rename = yes
	fruit:model = MacSamba
	fruit:metadata = stream
	idmap config * : backend = tdb
	create mask = 0664
	directory mask = 0775
	force create mode = 0664
	force directory mode = 0775
	hosts allow = <IP_ADDRESS>/0
	hosts deny = <IP_ADDRESS>/0
	printing = bsd
	strict locking = No
	vfs objects = fruit streams_xattr
	wide links = Yes
[cont-init.d] 01-config.sh: exited 0.
[cont-init.d] 02-svc-smbd.sh: executing...
[cont-init.d] 02-svc-smbd.sh: exited 0.
[cont-init.d] 03-svc-wsdd2.sh: executing...
[cont-init.d] 03-svc-wsdd2.sh: exited 0.
[cont-init.d] ~-socklog: executing...
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
mkdir: cannot create directory ‘/var/lib/samba/private’: No such file or directory
[cmd] sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-config.sh: executing...
Setting timezone to America/Los_Angeles
Initializing files and folders
cp: cannot stat '/var/lib/samba/*': No such file or directory
rm: cannot remove '/var/lib/samba': Resource busy
Setting global configuration
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

# Global parameters
[global]
Server role: ROLE_STANDALONE

	disable netbios = Yes
	disable spoolss = Yes
	dns proxy = No
	local master = No
	map to guest = Bad User
	pam password change = Yes
	printcap name = /dev/null
	security = USER
	server role = standalone server
	server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
	server string = Samba Server
	smb1 unix extensions = No
	smb ports = 445
	usershare allow guests = Yes
	winbind scan trusted domains = Yes
	fruit:time machine = yes
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:veto_appledouble = no
	fruit:posix_rename = yes
	fruit:model = MacSamba
	fruit:metadata = stream
	idmap config * : backend = tdb
	create mask = 0664
	directory mask = 0775
	force create mode = 0664
	force directory mode = 0775
	hosts allow = <IP_ADDRESS>/0
	hosts deny = <IP_ADDRESS>/0
	printing = bsd
	strict locking = No
	vfs objects = fruit streams_xattr
	wide links = Yes
[cont-init.d] 01-config.sh: exited 0.
[cont-init.d] 02-svc-smbd.sh: executing...
[cont-init.d] 02-svc-smbd.sh: exited 0.
[cont-init.d] 03-svc-wsdd2.sh: executing...
[cont-init.d] 03-svc-wsdd2.sh: exited 0.
[cont-init.d] ~-socklog: executing...
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
mkdir: cannot create directory ‘/var/lib/samba/private’: No such file or directory
[cmd] sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
s6-log: warning: unable to read from stdin: Bad file descriptor
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-config.sh: executing...
Setting timezone to America/Los_Angeles
Initializing files and folders
cp: cannot stat '/var/lib/samba/*': No such file or directory
rm: cannot remove '/var/lib/samba': Resource busy
Setting global configuration
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE
# Global parameters
[global]

	disable netbios = Yes
	disable spoolss = Yes
	dns proxy = No
	local master = No
	map to guest = Bad User
	pam password change = Yes
	printcap name = /dev/null
	security = USER
	server role = standalone server
	server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
	server string = Samba Server
	smb1 unix extensions = No
	smb ports = 445
	usershare allow guests = Yes
	winbind scan trusted domains = Yes
	fruit:time machine = yes
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:veto_appledouble = no
	fruit:posix_rename = yes
	fruit:model = MacSamba
	fruit:metadata = stream
	idmap config * : backend = tdb
	create mask = 0664
	directory mask = 0775
	force create mode = 0664
	force directory mode = 0775
	hosts allow = <IP_ADDRESS>/0
	hosts deny = <IP_ADDRESS>/0
	printing = bsd
	strict locking = No
	vfs objects = fruit streams_xattr
	wide links = Yes
[cont-init.d] 01-config.sh: exited 0.
[cont-init.d] 02-svc-smbd.sh: executing...
[cont-init.d] 02-svc-smbd.sh: exited 0.
[cont-init.d] 03-svc-wsdd2.sh: executing...
[cont-init.d] 03-svc-wsdd2.sh: exited 0.
[cont-init.d] ~-socklog: executing...
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
mkdir: cannot create directory ‘/var/lib/samba/private’: No such file or directory
[cmd] sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Error response from daemon: Container 35c76c3def3b6a8478e9201d0abde7e30064c2746bec8866e114de0e75ed1313 is restarting, wait until the container is running

smbclient //dockerlxc/samsung -U guest% -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (256) to minimum Windows limit (16384)
Can't load /usr/local/etc/smb.conf - run testparm to debug it
added interface en5 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
added interface en0 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
Client started (version 4.21.2).
resolve_lmhosts: Attempting lmhosts lookup for name dockerlxc<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name dockerlxc<0x20>
Connecting to <IP_ADDRESS> at port 445
convert_string_handle: E2BIG: convert_string(UTF-8,CP850): srclen=17 destlen=16 error: No more room
Connecting to <IP_ADDRESS> at port 139
do_connect: Connection to dockerlxc failed (Error NT_STATUS_CONNECTION_REFUSED)
-----
smbclient //<IP_ADDRESS>/samsung -U guest% -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (256) to minimum Windows limit (16384)
Can't load /usr/local/etc/smb.conf - run testparm to debug it
added interface en5 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
added interface en0 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
Client started (version 4.21.2).
Connecting to <IP_ADDRESS> at port 445
convert_string_handle: E2BIG: convert_string(UTF-8,CP850): srclen=17 destlen=16 error: No more room
Connecting to <IP_ADDRESS> at port 139
do_connect: Connection to <IP_ADDRESS> failed (Error NT_STATUS_CONNECTION_REFUSED)
-----
nmap -p 445 <IP_ADDRESS>
Starting Nmap 7.95 ( https://nmap.org ) at 2024-12-11 09:36 PST
Nmap scan report for dockerlxc (<IP_ADDRESS>)
Host is up (0.053s latency).

PORT    STATE  SERVICE
445/tcp closed microsoft-ds

Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds

Additional context
I have attempted the following troubleshooting steps without success:

Verified permissions for /appdata/samba and /media/samsung.
Ensured port 445 is not blocked by the host system's firewall.
Tested the configuration with testparm and validated the generated smb.conf.
Manually started smbd in debug mode to identify potential issues.
Confirmed no conflicting services are using port 445 on the host.

Similarish issues:

smbd - Failed to load config file
More share properties

At this point, I am abandoning crazy-max/docker-samba in favor of another solution. However, if a fix is provided, I will still test it for the community.


Training WordPiece vocabulary

Hello, thanks for releasing this code! I need to pretrain a BERT model for non-English language using my own (domain-specific) data. I noticed that the training code for WordPiece vocabulary is not released, although there are a couple open source implementations mentioned in the README. It is however stated that "these are not compatible with our tokenization.py library". May I know whether this means I can't simply feed in the vocab file generated by an external WordPiece library (e.g. tensor2tensor's) as an argument for --vocab_file?

Correct, you can't use tokenizer.py with any of the three libraries I mentioned. You should use the code included in the library to do the tokenization instead. You will also have to do the [CLS] and [SEP] insertion, but that isn't done in tokenizer.py right now anyways.


HTTP endpoints' module sometimes show as 'SpringMVC' but sometimes show as 'Tomcat Http'

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
HTTP endpoints' module sometimes show as 'SpringMVC' but sometimes show as 'Tomcat Http',and when it was shown as SpringMVC,it could aggregate as one endpoint name when I used PathVariable,and not aggregate when it shown as Tomcat Http

Bug

Which version of SkyWalking, OS, and JRE?
skywalking-8.5.0,Linux,java8

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.

You could simply remove the Tomcat plugin. If you want to understand details, you should read how your SpringMVC filter works.


=tck #279 improve completion latch error message

Minor error message improvement which should help implementers understand what actually failed if this timeout is hit.
Refs #279

LGTM, thanks @ktoso!
ping @reactive-streams/contributors, wdyt? I think it'll be a great assistance for implementors.

:+1:

Thanks @ktoso! Except that I ended up chucking a tonne of debug into my tests, and finding out the problem that way :)

@ktoso Saw this now, is this ready to be merged?

This is ready to merge, yes. Please push the button :)


Fix benchmarks on windows

Now that I have a little Intel NUC to use for testing Windows, I manually tested and noticed a small problem with the benchmarks. This should fix that and also enable testing with it. Since I have only one Windows machine, I have also trimmed the work done on Windows vs Linux to try and reduce an increase in latency. I have also forced the normal testing path to use Linux so it doesn't accidentally clog up the Windows machine's queue.

Not sure how much of this slowdown is due to Windows, how much is due to this being a NUC (though it's good a good SSD, 32GB of RAM, etc...), etc, but the benchmarks take 50% more time and the test suite is about 150% slower, and these two have to run sequentially, taking the testing time up from 4 minutes to 11 minutes. :/
But it works!


Nibiru devnet, testnet, and mainnet information

Needs IBC info

@k-yang @CalicoNino please review this

hi! thank you :)
we'll have to update it from data in cosmos/chain-registry

hi! thank you :) we'll have to update it from data in cosmos/chain-registry

Hey, I didn't see a place to put devnet/testnet info there

cosmos/chain-registry

Please see network type on this one: https://github.com/cosmos/chain-registry/blob/2eaab04a72bc0273121d71a597aca4ef31d12420/beezee/chain.json#L5C3-L5C29

And there seems to be a testnet folder for all testnet and devnet in cosmos chain registry:
https://github.com/cosmos/chain-registry/blob/2eaab04a72bc0273121d71a597aca4ef31d12420/testnets/neutrontestnet/chain.json#L5


Avoided some ZeroDivisionErrors

PR for issue  #140

@GuillemGSubies thank you for this. I think we should fix up the inconsistency in linsear_write_formula. Other than that, looks good!

By the way, I just noticed that linsear_write_formula takes only the first 100 words of the string, is this an intended behaviour?
https://github.com/shivam5992/textstat/blob/84d0bb4d90f9a76ef1cb64ea586aaaf6c2e92303/textstat/textstat.py#L298

By the way, I just noticed that linsear_write_formula takes only the first 100 words of the string, is this an intended behaviour?

It is intended. Linsear write "runs on a 100-word sample".
Now, whether that's up to the user of textstat to only supply a 100-word sample, or if we're right in cutting at the first 100 words, or if we should try and be a bit more random with our sample, it could be argued any way I think.


[guide] troubleshooting / known issues

ARC commander

[ ] access token
[ ] Messed up the ARC (ISA), how to undo

undo (unregister, remove) studies, assays, etc. via ARC Commander

SWATE

[ ] use of undo/redo buttons: Excel undo buttons don't help
[ ] Renaming swate building blocks

generally not recommended
can be done, but be carful for correct writing (typos produce a Swate error)

DataHUB

[x] full undo: revert commit

Partly deprecated or solved (e.g. via ARCCtrl and ARCitect)


0.10.1 bug: incorrect "ValueError: Circular reference detected" with multiple empty dictionaries

This only affects the latest version (0.10.1) and is fine in previous versions.
Example file that will cause the error (taken from the toml-lang/toml readme):
# [x] you
# [x.y] don't
# [x.y.z] need these
[x.y.z.w] # for this to work

[x] # defining a super-table afterward is ok

The fourth line here ([x.y.z.w]) will cause the new ValueError: Circular reference detected exception in toml.dumps.
Example:
With version 0.10.0:
>>> import toml
>>> toml.dumps({'x': {'y': {'z': {'w': {}}}}})
'[x.y.z.w]\n'
>>>

With version 0.10.1:
>>> import toml
>>> toml.dumps({'x': {'y': {'z': {'w': {}}}}})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".../toml/encoder.py", line 67, in dumps
    raise ValueError("Circular reference detected")
ValueError: Circular reference detected
>>>

I had a similar problem.
I thought it was an issue with OrderedDict and dots (.) on TOML keys.
But the weird thing is: it works for some cases and fails on very specific cases.
Check this gist: toml raises "ValueError: Circular reference detected" on some specific root keys.
For some reason, the id() function is returning the same value for different dict/OrderedDict objects: https://github.com/uiri/toml/blob/9c9d4beb2b7747ef80bf3a374bb1a4c0d60bfc30/toml/encoder.py#L62-L67

I'm seeing the same issue on Python 3.7 and 3.8. I'm using regulars dicts and just started getting the circular reference error after updating to 0.10.1.  I think it has to do with id returning the same value for different objects somehow?  What's even weirder is I added some tracking by using a dict of  {id(section) : section} then the issue goes away and I can't replicate it the error.

This appears to be a bug in the fix for #217 , which was introduced between 0.10.0 and 0.10.1

I'm running into the same issue. I've been working around it, but it would be nice to have a fix.
To that end, I would like to suggest using gc.get_referents() instead of trying to use id() which definitely behaves weirdly on {}, [] and others. Garbage collection with dependency cycles is why the gc module exists, so it should be safe to assume the implementation of get_referents() is reliable.
Illustrative example:
from gc import get_referents

def has_cycle(obj, visited=()):
    if obj in visited:
        return True
    return any(
        has_cycle(ref, visited + (obj,))
        for ref in get_referents(obj)
    )

d = { '1': { '2': { '3': { '4': {} } } } }
print(d, has_cycle(d))  # {'1': {'2': {'3': {'4': {}}}}} False
try:
    import toml
    toml.dumps(d)
except ValueError as e:
    print('false cycle detected:', e)  # false cycle detected: Circular reference detected
d['1']['2']['3']['4'] = d
print(d, has_cycle(d))  # {'1': {'2': {'3': {'4': {...}}}}} True

I'm seeing the same issue on Python 3.7 and 3.8. I'm using regulars dicts and just started getting the circular reference error after updating to 0.10.1. I think it has to do with id returning the same value for different objects somehow? What's even weirder is I added some tracking by using a dict of {id(section) : section} then the issue goes away and I can't replicate it the error.

I can confirm this issue too. I also added a dictionary that contains the pair of {id(secion): section} and the issue goes away. Below is my workaround in toml/encoder.py. Notice that I didn't even use the dict I build. I simply constructed it.
def dumps(o, encoder=None):
    """Stringifies input dict as toml

    Args:
        o: Object to dump into toml
        encoder: The ``TomlEncoder`` to use for constructing the output string

    Returns:
        String containing the toml corresponding to dict

    Examples:
        ```python
        >>> import toml
        >>> output = {
        ... 'a': "I'm a string",
        ... 'b': ["I'm", "a", "list"],
        ... 'c': 2400
        ... }
        >>> toml.dumps(output)
        'a = "I\'m a string"\nb = [ "I\'m", "a", "list",]\nc = 2400\n'
        ```
    """

    retval = ""
    d = {}
    if encoder is None:
        encoder = TomlEncoder(o.__class__)
    addtoretval, sections = encoder.dump_sections(o, "")
    retval += addtoretval
    outer_objs = [id(o)]
    while sections:
        section_ids = [id(section) for section in sections]
        for section in sections:
            d.updaet({id(secion): section})
        for outer_obj in outer_objs:
            if outer_obj in section_ids:
                raise ValueError("Circular reference detected")
        outer_objs += section_ids
        newsections = encoder.get_empty_table()
        for section in sections:
            addtoretval, addtosections = encoder.dump_sections(
                sections[section], section)

            if addtoretval or (not addtoretval and not addtosections):
                if retval and retval[-2:] != "\n\n":
                    retval += "\n"
                retval += "[" + section + "]\n"
                if addtoretval:
                    retval += addtoretval
            for s in addtosections:
                newsections[section + "." + s] = addtosections[s]
        sections = newsections
    return retval

I didn't see this issue yet, but I was running into the same problem and created a pull request that
should fix this issue as lijunzh mentioned. For my project, it would also be great if it could be merged and deployed soon.

Hi @uiri, we encounter this issue quite a bit in our setup, and we are therefore pinned to 0.10.0. But now that other dependencies (like black) are requiring toml 0.10.1 this is starting to hold us back a bit.
Do you have time to make a new release of toml in the near future?


No Battery Usage Info

I can't view my battery usage information in settings.
To Reproduce
Go to Settings
Tap Battery
It won't load any information
Screenshots

Device (please complete the following information):

iOS Version: 13.3
iOS Device: iPhone 11
unc0ver Version: 4.0.0

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[idk] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs

Same here

The jailbreak just came out I’m sure it will be fixed

Can confirm, iPhone11,6 13.3

Same here, iPhone12,1 - iOS 13.3

Fixed with 4.0.1

fixed Closed the case Please thanks

Fixed for me in 4.01
iPhone 11 IOS 13

fixed in 4.0.1
iPhone xs max(China) 13.3

now please closed the issue


[FFM-10801]:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: jcox250:x: akiraqb:x: rssnyderYou have signed the CLA already but the status is still pending? Let us recheck it.


'float' object has no attribute 'get'

    The minion function caused an exception: Traceback (most recent call last):
      File "c:\salt\bin\lib\site-packages\salt\minion.py", line 1412, in _thread_return
        return_data = executor.execute()
      File "c:\salt\bin\lib\site-packages\salt\executors\direct_call.py", line 28, in execute
        return self.func(*self.args, **self.kwargs)
      File "c:\salt\var\cache\salt\minion\extmods\modules\nebula_osquery.py", line 104, in queries
        'data': [{'uptime': __salt__['status.uptime']().get('seconds', __salt__['cmd.run']('uptime'))}],
    AttributeError: 'float' object has no attribute 'get'

Message above is returned when trying to get nebula.queries day from a windows machine.

Thanks for the report, we'll modify that fallback query so that it works on windows as well.


Change TOSA->TTIR to use dialect conversion API

Fixes #178
Added conversion lib that implements conversion from TOSA to TTIR. Did not add new coverage of TOSA ops, it still supports only add, mul, sub, geq ops. Type conversion is still a no-op.
Removed old conversion.
Added MLIRTTConversions lib that links all conversion libs and is linked against TTMLIR.

LGTM! Make sure you rebase, Ogi has added dialect conversion for ttir->ttnn.


Update README.md

Although I agree with using chronological header numbers (1, 2, 3..), I chose h3 for the sub-headers because they do not have underlines like h1 and h2. I could always make the main header h2, but I feel as though that text is too small. I didn't want the two underlines clashing. I think I'm going to leave it as is for now... closing this PR.


Replace stacked bars with box plot in overall survival sort.

or half a violin plot orrr bubbles rising to the top of the chart!


[1.x] Test failure seen in recently introduced intgemm test

Description
A test_contrib_intgemm.py:test_contrib_intgemm_prepare_data failure was seen in pipeline:
https://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/unix-cpu/branches/PR-19186/runs/3/nodes/293/steps/515/log/?start=0
Not sure if this repros the error, or if the error is also present on master:
MXNET_TEST_SEED=704110622 nosetests --verbose -s tests/python/unittest/test_contrib_intgemm.py:test_contrib_intgemm_prepare_data

Test was recently introduced into 1.x by backport PR https://github.com/apache/incubator-mxnet/pull/19099
@kpuatamazon ?
FYI @samskalicky

I am able to reproduce.  Investigating.

Ugh sorry, at least it's a test issue rather than a code issue.  I've submitted PRs to fix in both branches.


Excessive Platform Resource Consumption within a Loop in Kubernetes

Package (gopkg.in/yaml.v2)  (Go) < 2.2.8
The Kubernetes API Server component in versions 1.1-1.14, and versions prior to 1.15.10, 1.16.7 and 1.17.3 allows an authorized user who sends malicious YAML payloads to cause the kube-apiserver to consume excessive CPU cycles while parsing YAML.

Hi, can you please provide more details? For example, does this relate to Iroha 1, or the (in-development) version of Iroha 2? Steps to reproduce?

No details provided, likely Iroha 1, therefore closing


Metrics should include the number or workers reachable per queue

As ...
Patti - Platform Admin
I want ...
to be alerted when the number of available workers drops below a threshold
So that ...
I can take corrective action
I know this is done when...
I can query a Nautobot endpoint (likely /metrics) to determine the number of available workers.  I can then use this information to create alerts in my telemetry stack
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[ ] IPAM
[X] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
NA
External Dependencies
NA

Please note capacity metrics used to provide a nautobot_queue_number_workers metric however this is only applicable to RQ workers and I feel like "capacity" metrics shouldn't really be operational metrics like this

This is related to https://github.com/nautobot/nautobot/issues/1545 and in general we need a better Celery worker healthcheck for docker so this process can be handled automatically

https://github.com/nautobot/nautobot/pull/4128 currently includes this. I might just reduce the scope of that PR to just this and put a docs recommendation to use flower alongside.

Because this is covered in #4128, we will close this out.


feat: support miniblock with binary data

This PR enables miniblock encoding with binary data type.

This is great. We will need test cases though. For fixed width data we just extended the 2.0 tests to run on 2.1 as well:
    #[rstest]
    #[test_log::test(tokio::test)]
    async fn test_value_primitive(
        #[values(LanceFileVersion::V2_0, LanceFileVersion::V2_1)] version: LanceFileVersion,
    ) {
        for data_type in PRIMITIVE_TYPES {
            log::info!("Testing encoding for {:?}", data_type);
            let field = Field::new("", data_type.clone(), false);
            check_round_trip_encoding_random(field, version).await;
        }
    }

You can probably do the same thing using the tests in physical/binary.rs.

actually, the check_round_trip_encoding_random and other test functions in rust/lance-encoding/src/testing.rs has many problems dealing with PrimitiveStructuralEncoder right now, I will see how to integrate them

after merging PR #3101, I tried to get rid of https://github.com/lancedb/lance/blob/cdedc02a787aa73547748c4a3d1ceeec7903c85d/rust/lance-encoding/src/encodings/physical/binary.rs#L662
and misalignment panic still happens when executing
https://github.com/lancedb/lance/blob/cdedc02a787aa73547748c4a3d1ceeec7903c85d/rust/lance-encoding/src/encodings/physical/binary.rs#L663
will deal with it in a separate PR.


⚠ ClamAV has degraded performance

In 4406337, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 65 ms

Resolved: ClamAV performance has improved in 4a40fa9 after 5 minutes.


Enable parallel tests in ballerina-unit-tests

Purpose
Enable parallel tests in ballerina-unit-tests

Codecov Report

Merging #15266 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #15266   +/-   ##
=========================================
  Coverage     46.47%   46.47%
  Complexity     5065     5065
=========================================
  Files           889      889
  Lines         33735    33735
  Branches       5380     5380
=========================================
  Hits          15680    15680
  Misses        16317    16317
  Partials       1738     1738

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 b1600f4...2f5e30b. Read the comment docs.


Support for Android 13

It would be great, if the package support Android 13, tiramisu.

I don't have a physical device to test with, but a customer just showed me that my app (built with this library) crashes during the scan operation on Android 13.  Is a fix even possible?

I'm able to run this on Android 13 now.  The problem was not with this library.  The permissions related to BLE changed in Android.
It was crashing on a scan attempt.  With 13 and up, you'll need additional permissions in your manifest:
This is the combination of permissions that worked for me:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:minSdkVersion="29"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:minSdkVersion="31" android:usesPermissionFlags="neverForLocation"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
In addition to those changes, I also have to request these permisstions at runtime:
bluetoothScan
bluetoothConnect
locationWhenInUse (precise)

I've made a pull request which is aimed to solve the somewhat outdated MultiPlatformBleAdapter dependency and thus the permission issues. The pull request is merged in master and can be used in your Flutter applications by using the following in your pubspec.yaml.
  flutter_ble_lib_ios_15:
    git:
      url: https://github.com/davejlin/flutter_ble_lib_ios_15.git
      ref: master

Please note that I have only validated the functioning of my app, which includes the following functionality:

Scanning of peripherals
Stopping of scanning
Connecting of one or more peripherals
Observing connection state
Discovering of services and characteristics
Monitoring of characteristics
Stopping of monitoring of characteristics
Disconnecting from peripherals

Please test the updated dependency and let me know if any issues pop up!

i am having this issue:
`* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations$ReflectSdkVersion found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.internal.jdk8.JDK8PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.io.path.ExperimentalPathApi found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.io.path.PathRelativizer found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.io.path.PathsKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.io.path.PathsKt__PathReadWriteKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.io.path.PathsKt__PathUtilsKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.jdk7.AutoCloseableKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
Duplicate class kotlin.random.jdk8.PlatformThreadLocalRandom found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.streams.jdk8.StreamsKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$1 found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$2 found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$3 found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$4 found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.text.jdk8.RegexExtensionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)
Duplicate class kotlin.time.jdk8.DurationConversionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.5.30 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30)

 Go to the documentation to learn how to Fix dependency resolution errors.`

Can you help me @Peterkrol12 please?

Hi @ogabrielinacio-embtech,
This seems unrelated to the BLE package, perhaps it is due to something else in combination with this package.
Could you share both your build.gradle located in /android and /android/app (of course removing sensitive information)?

Sure, i was thinking the problem was the combination between my package and yours. Here are the the builds gradles:
####################
####################
from package:
/android:
`group 'com.tuanpm.esp_provisioning'
version '1.0'
buildscript {
repositories {
google()
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.5.0'
}

}
rootProject.allprojects {
repositories {
google()
jcenter()
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
defaultConfig {
    minSdkVersion 19
}
lintOptions {
    disable 'InvalidPackage'
}

}
############################## ############################### from app example: /android:buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
    classpath 'com.android.tools.build:gradle:7.2.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
example app too: /android/app:def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
    jvmTarget = '1.8'
}

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    // applicationId "com.example.app"
    applicationId "com.embriel.esp_ble_provisioning"

    // You can update the following values to match your application needs.
    // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
    minSdkVersion flutter.minSdkVersion
    targetSdkVersion flutter.targetSdkVersion
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
    // minSdkVersion  19
    minSdkVersion  21
    targetSdkVersion 31
}

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}
lintOptions {
    disable 'InvalidPackage'
}

}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
`
@Peterkrol12  thanks for the help :)

Thanks for sending them over!
/android:
I notice two differences between your build.gradle and mine, the versions of the dependencies.
Could you try the following and then do a flutter clean and run your app:
ext.kotlin_version = '1.9.0'

The other build.gradle file from /android/app doesn't contain any note worthy differences, so I think the above stated Kotlin version could be the one. Let me know if that works!

It worked!! Thanks for your help @Peterkrol12 ;)

Good to hear, no problem!


Are users able to add tags to posts?

In version 0.6.4, are users able to add tags to posts in the editor?

@jyek This doesn't look like version 0.6.4. This looks like Zelda, which is the new admin interface and isn't quite ready yet, which is why it is on the master branch of the repository. If you are using the Github repository, please use the stable branch :smile:
In the master branch, though, there isn't the ability to add tags to posts yet. There's a work-in-progress PR for it that will hopefully be finished soon.

Hi @jyek,
You seem to be running master and not 0.6.4. Master is currently heavily being worked on and has many UI changes - not all of which have been implemented yet. If you have questions about Ghost, please join our slack community. GitHub is for tracking problems with the software itself.

Thanks so much guys.


Refactor espresso avail

I received a 404 error on /nonce.

I received a 404 error on /nonce.

fixed


Get 'visible sites' for rivers, as written code only works for sites within a polygon (waterbody)

Closing, using Pekel to determine visibility


Support 32bit Windows hosts

This is a little cumbersome to test without a release but I ran both the shell script and the PowerShell script on a Windows 10 32bit host and checked it tries to download the correct binary. Afterwards, I copied the 32bit jabba binary manually to ~/.jabba/bin/jabba and verified it works.

Thanks for contributing this @saschpe, changes look good to me. An excellent point around the testing of builds being a bit manual.
The way I've been doing it is using the make install command in the makefile. It installs the latest git tag locally, so I create a git tag and then run make install. I have raised a task to review the install procedure (though I've not done anything with it yet!)


Interoperability of UAF client with other authenticators

Hi there,
Thanks for sharing the source code.
We could build APK and run it on Samsung Galaxy S6 to use the Finger print reader for doing the authentication. But it didn't work with other Authenticators. Basically it shows all other options but it doesn't work/open other authenticators to perform the authentication. it just opens the built in authenticator activity.
Would you please consider that and help us at your earliest convenience?
Another quick point: Also in registration in "UAF_OPERATION_RESULT", "errorCode" must be included.
Thanks
Bam

Hi Bam,
Thanks for reaching out, and thanks for you feedback.
Let me check if I understand the issue. You have tested with the Samsung S6 with the built in UAF client, and that worked. Did I get this part right?
Could you elaborate on the Authenticators: What authenticator did you use? Do you refer to ASM (Authenticator Specific Module) interface as described here:
https://fidoalliance.org/specs/fido-uaf-v1.0-ps-20141208/fido-uaf-asm-api-v1.0-ps-20141208.html
Please, share more details.
Thanks in advance,
Neb.

Thanks Neb for quick reply, we are in middle of FIDO interoperability test and your help will be much appreciated.
Yes you're right. To elaborate more: During the test we got 3 APK from different vendors. Client RP , Client and authenticator.
We cannot show any authenticator/ASM in the list when we press discover. but the app shows all the Clients and is able to communicate with them but there are some error in communication. One common error is the Client  or ASM is not trusted. Do we need to add authenticator metadata to our RP?
More importantly, the desired scenario is our app as a client should be able to communicate with different ASM directly. I can share different APK with you via email . Would you please send me an email here<EMAIL_ADDRESS>Appreciate your help.
Thanks
Bam

Thank you for clarifying.
As you have noticed the provided app is the Relying Party Test App that is used to demo how the UAF Client can be used with our UAF server implementation.
ASM is different API from UAF Client API. Our goal was to use the UAF Client API, since this is the way how apps should be integrating.
For this reason, this is not a real issue, since the RP Test App is working well with the FIDO UAF clients, as you have been able to confirm.
In order to test the authenticator, you will need to use some UAF Client that can be configured to use different ASM. This is at a moment out of scope of this project.
For FIDO Interop testing, you could use the following setup:

Our FIDO UAF server implementation
Our RP Test App
Some UAF Client (Like LG UAF Client)
Some ASM (I guess this is the object of your attention)

Please, let me know if I've missed anything.

Thanks Neb.,
Problem is the client RP app works with built in Client and trusted authenticator/ASM which is Galaxy s6 Fingerprint sensor, but it doesn't work with other client and supported authenticator.
I have other RP apps installed on the same device that are able to work with other Clients and authenticator.
Any idea bout the ErrorCode in RegReq to server? I've got this feedback from two other vendors that implemented UAF server.
I would be happy to share more info/log/picture/APKs if that helps to solve the problem for future use.
Bam

As we have discuss this in more detail in the chat (https://gitter.im/eBay/UAF) I believe we can conclude that this is not an issue.
It is required to white-list the new AAID in the server in order to start using it.
I'll go on and close this, and if you find any other issue, related or not, please, go on and open a new one.
Thanks,
Neb.


Add document which describes how to build each of the calico components

Added doc to describe how to build the various Calico components - primary focus on k8s deployment (KDD)

Can we add links between this document and repo-structure?
http://docs.projectcalico.org/v2.2/reference/repo-structure

If this is going to be a raw markdown doc please add it to excludes:
https://github.com/projectcalico/calico/blob/master/_config.yml#L10

http://docs.projectcalico.org/v2.2/reference/repo-structure

Personally I think there's a good case for removing that doc from the docs.projectcalico.org site and combining it with this one, or turning it into its own markdown file.
I think developer-focused docs shouldn't go in docs.projectcalico.org, just user-focused docs.

@ozdanborne :  I tend to agree that I'm not sure I like the Repo Structure doc being in the docs (or at least not in it's current guise as it's not really anything to do with repo "structure").

@ozdanborne @caseydavenport  final review?


Using over the internet

If I want to use it over the internet I've heard that I have to open ports of my router (eg.4444) but I do not have any router, I just have a broadband connection......then how can open any port ??? and where will I open any port ? and how will I open any port ?  pls help!!!

Yes in order to use it on internet you need to forward your routers ports to your computer, if you don't have access to router you can't use it over the internet, there is two simple solution to this first one is you can rent a web host and run ARCANUS on that host via ssh, if you do that you don't need to forward any ports.Second you can use your mobile phones hotspot, this app allows you to forward ports https://play.google.com/store/apps/details?id=at.bherbst.net


[FR] Add TF2 models from tensorflow/models to the model zoo

The FiftyOne Model Zoo currently only contains TF1.X models from https://github.com/tensorflow/models. However, in July, tensorflow/models upgraded its zoo to support TF2 and contain a number of shiny new TF2 models.
We should upgrade the https://github.com/voxel51/models fork of https://github.com/tensorflow/models to support the new TF2 models, and add them to the zoo. This should be doable in such a way that both the new TF2 models and the existing TF1 models are still usable (with appropriate tensorflow reinstalls in between).

@ehofesmann this is something that would be great for you to take a look at


Zinc 157: fix handling of anonymous java classes

Fix for #157 and more including:

fix enums handling
fix problem with 1 ms file changes
create external logging mechanism for e.g. IDE integration

For certain reasons this time I have to paste the below disclaimer:
THIS PROGRAM IS SUBJECT TO THE TERMS OF THE BSD 3-CLAUSE LICENSE.
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR
ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.
 NO OTHER SOFTWARE CODE OR MATERIALS ARE A CONTRIBUTION.

Hi @romanowski,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.lightbend.com/contribute/cla

Hi @romanowski,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.lightbend.com/contribute/cla

LGTM


Delete/Update old context in a chat.

Version
1.95.3
Describe the bug
If I give Cody context, then I change it manually, and want Cody to see the new stuff, I have to mention it in context again... This is ok... but now with gemini 2 flash, It keeps looking back to the oldest version for some reason (I think). So I think the old context should be deleted or updated.
Expected behavior
N/A?
Additional context
No response

Hey @blazgocompany
What can help here with Gemini Flash is to explicitly mention the changes made during the conversation. If it is too tedious, you can use that instruction in the pre-instruction settings for the chat, found in the Cody settings.
Another option is to start a new chat and mention the changed file.
Thank you


repo parameter does not work

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:: 6.0.3
Ruby: integrated
Distribution: Debian Jessie Latest, Debian Stretch Latest
Module version: latest

How to reproduce (e.g Puppet code you use)

require apt-transport-https to be installed on all hosts
set apt source outside of jenkins module
set jenkins::repo: false in hiera
duplicate declaration of apt-transport-https appears error during puppet run

2nd issue:

require all your hosts to run apt update on puppet pass
add module to host
observe dependency cycle during puppet run

In order to make it run you have to hard code $repo to false in init.pp and remove running apt update from all hosts

Please disregard issue 2: last apt module update requires apt-transport-https to be installed.
1st issue still valid.

This sounds like it could be an issue with hiera rather than the puppet module. Could you provide a minimal repo that mimics this?

This is solved in master.


end-points: add public whitelistPaths.

Description
In order to enable public endpoints
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Codecov Report
Base: 36.89% // Head: 36.89% // No change to project coverage :thumbsup:

Coverage data is based on head (c353c7b) compared to base (ad673a8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1517   +/-   ##
=======================================
  Coverage   36.89%   36.89%
=======================================
  Files          59       59
  Lines        8930     8930
=======================================
  Hits         3295     3295
  Misses       5219     5219
  Partials      416      416

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Added feature for short-lived tokens support using refresh tokens

Added support for short-lived tokens (Can use the previous long-lived access tokens as well)
Function to periodically refresh ( get new) access token using the refresh token.
Added parameter Expiry time to identify life span of  the access token currently used.

Dropbox no longer supports creation of long-lived tokens since September 30th, 2021. Long-lived access tokens created before this date will still work. Dropbox now uses short-lived access tokens which can be refreshed using 'refresh tokens'. To use 'refresh tokens' in your app, set token_access_type to offline.

How to used short-lived access tokens and refresh these tokens?

First, configure your app so that it uses short-lived access tokens.

// configuring Dropbox Application and Service
$app = new DropboxApp( "client id", "client secret");
$dropbox = new Dropbox($app);

//DropboxAuthHelper
$authHelper = $dropbox->getAuthHelper();

//Callback URL
$callbackUrl = "https://{my-website}/login-callback.php";

// Additional user provided parameters to pass in the request
$params = [];

// Url State - Additional User provided state data
$urlState = null ;

// Token Access Type
$tokenAccessType = "offline";

Fetch the Authorization/Login URL

//Fetch the Authorization/Login URL
$authUrl = $authHelper->getAuthUrl($callbackUrl, $params, $urlState, $tokenAccessType);

Use this URL to redirect the users to Authorization server of dropbox. After logging in, they would get a code. Using this code, we can get the AccessToken

$code = 'code-presented-directly-to-the-user';

//Fetch the AccessToken
$accessToken = $authHelper->getAccessToken($code);

If the current AccessToken expires, we can get new AccessToken (refreshed access token) using code below.

$accessToken = $authHelper->getRefreshedAccessToken($accessToken);

@kiranadh1452 thanks for the PR. Could you address the requested changes and add some documentation around how to refresh the access token in the wiki

I've tagged a new version for this feature: v0.4.0 and updated the documentation as per your PR.
good work @kiranadh1452!


IGNITE-16040 Bump calcite version to 1.31.

New calcite version contains fix for queries with several correlated sub-queries in select list.

@korlov42 all done


Follow up from last week's digitization meeting: specific use case

This issue stems from the previous week’s taxonworks meetings, where I asked about the best way to export specific bits of data from my taxonworks project. @mjy asked me to post what exactly I wanted to export; maybe I just need to read up more on stringing together and filtering results from API calls.
As a user, I have a set of OTUs in an observation matrix. For each of these OTUs, I want to export the following bits of data related to it for a print catalogue. The limits to the project isn't a specific taxa and all its descendants or taxa in a specific asserted distribution;  I want the export limited to data related to OTUs in the observation matrix.

The taxon name tied to that OTU. For this, I want:
-The original combination Genus species subspecies (if present) author, year: page

If the current combination is different from the original, the current combination and the original citation for the transfer.
-If the taxon name tied to the OTU is invalid, just the specific relationship/reason why it is invalid. (e.g., Subjective synonym of XXXXX in XXX, XXXX)

For the taxon name tied to the OTU, there is a digitized collection object; a type specimen. For this, I want:

The specimen catalogue number
Buffered collecting event
Buffered other labels
Type of type
Source (if one is associated with the type)

Back to the observation matrix, I have some columns with data to export:

sex (qualitative)
higher grouping (qualitative)
Published photos (free text)
Remarks (free text)

Followed your advice; "sex" now included as a biocuration attribute in my project.

@kandakoj, almost have this, but need some clarification:

What do you mean by "Current citation"?  Is this the original citation of the currently valid name?
Source (if one is associated with the type) Is this a Citation on a TypeMaterial record or a Citation on the Protonym?
In section 3, can you provide the descriptor ids of the columns you are referencing?  I can't, for example, find descriptors named like those columns.  If the intent is to reference more than one descriptor (like your image descriptors for example) please clarify?

I meant the citation for the combination that is currently used; if you were running tests on my data, I don't know if I have actual examples where I included the citation for the first use of the currently accepted combination.
For this I meant citation on a typematerial (e.g., for subsequent lectotype, neotype designations); again haven't digitized the data for this in my dataset.
Sorry I hadn't created some of the columns yet. Anyways, there is some data in the following columns:

Higher groupings: 1409; Published photos: 1482; Remarks: 1453; Sex I added to as a biocuration group in my project.

@kandakoj script is up.  I don't think it's perfect, but it should give you something to chew on.  See if you can find your way through https://github.com/SpeciesFileGroup/taxonworks_api_scripts.

The new endpoint used here is /taxon_names/123/status.  It will likely be further namespaces /taxon_names/123/inventory/status in the future.


Create Portfolio “2023-12-27-segundo-post”

Automatically generated by Netlify CMS

👷 Deploy Preview for driveclean-teste processing.

Name
Link

🔨 Latest commit
36caf5739ec1cee125614243d1bdbc56b0525bac

🔍 Latest deploy log
https://app.netlify.com/sites/driveclean-teste/deploys/658c04ae978df700082c988a


Clarify documentation of MBEDTLS_SSL_{MAX/IN/OUT}_CONTENT_LEN

Summary: This PR  improves the documentation of the compile time configurations MBEDTLS_SSL_{MAX/IN/OUT}_CONTENT_LEN, fixing #2062.
Internal Reference: IOTSSL-2565.

Fixed a typo @andresag01 spotted.
@andresag01 @AndrzejKurek Please re-review.

@AndrzejKurek There was another instance of the typo that @andresag01 spotted, which I fixed by amending the latest commit. Could you please have another look?

Just for the record - this PR does not need backporting.


request an option to use feet coord instead of eye coord

as i think some of the players like me is used to the feet coordinate,
and might have some confusion between F3 coord and the mini map coord
it might be a minor issue
but i think having such option will make people like me feel a bit more comfortable
it will be great if you can implement this feature
thanks.

in minecraft 1.8 this is automaticly done, becouse minecraft/forge changed every thing to feet coords.
and thus i dont think it's off much use to fix this in 1.7.10.


microphone.is_event() stops responding after a few events

This program sees LOUD at startup. After 3 more loud events, it's stuck on QUIET.
from microbit import *

display.clear()

while True:
    if microphone.is_event(SoundEvent.LOUD):
        display.show(Image.SQUARE)
    elif microphone.is_event(SoundEvent.QUIET):
        display.show(Image.SQUARE_SMALL)
    else:
        display.clear()

Thanks Martin, I can replicate this in MicroPython 2.0.0-beta.1.
Could you try the same programme in CODAL C++ and see if it replicates there as well?

This is related to the semantics of microphone events, #36 .  The point is that the event history (L from that issue) gets full and so no more events come in and it gets stuck (until microphone.get_events() is called).
To make this work try:
from microbit import *

display.clear()

while True:
    if microphone.was_event(SoundEvent.LOUD):
        display.show(Image.SQUARE)
    elif microphone.was_event(SoundEvent.QUIET):
        display.show(Image.SQUARE_SMALL)

I don't know how to replicate this in CODAL. I've only seen the LEVEL_THRESHOLD_HIGH/LOW events and can test "is loud" with levelDetector->getValue() > levelDetector->getHighThreshold().
I was testing is_event, so can't use was_event instead!
I was expecting is_event and was _event to behave like button is_pressed and was_pressed, but looking at #36, I think the test shows is_event is behaving as intended.

This should be fixed by c57910ce1d6957dda43d5a8e4596d511be20b446


Is there a way to make the script work outside the LAN?

Hi,
The library works just fine for me as long as the device and the script are under the same LAN.
Nevertheless I would like to execute the script from an external internet connection.
It may be possible because my smartphone can handle the connection even if the devices are not under the same LAN.
Is there a way to make this work?
Thank you very much in advance. Have a nice day.
Ginés.

Hi,
At the moment it isn't possible as nobody had found the APIs that the app uses to control the plugs externally. It may be possible in future if someone discovers these APIs however.

Thanks a lot! Have a nice day 😄


coalescing plugin handler is not optional any more

If you compile a simple test app without building hpx-plugins first (only linking against libhpx and libhpx_iostreams for example), then the application will fail at runtime with an exception
{what}: attempt to create message handler plugin instance of invalid/unknown type: \
    coalescing_message_handler: HPX(bad_plugin_type)

It seems that the attempt to load the plugin should fail gracefully, but instead triggers an abort.

After doing some more experiments, it appears to be a problem with release builds that come from external applications built against the hpx tree. I'm a bit confused, but I can delete the parcel_coalescing plugin from the build tree and debug works fine, but release it broken, whether it is present or not.
I will continue to experiment.

@biddisco I have it reproduced locally, even in a debug build. Will investgate...

On this subject, last I tried building HPX the parcel plugins were not in the dependency chain of make tests, which led to an 86% test failure rate. Did that get resolved and might the lack of a suitable dependency be part of this?


spacemacs markdown - include installing vmd as part of install

Spacemacs markdown layer uses vmd a node package for viewing markdown files. The setup script should install this package.

might be cool to include entr as part of implementing this


Sampler playing paused when window.print()

Describe the bug
I work with project that plays audio and tonejs sampler notes together.
However, when I open window.print(), audio buffer is playing but sampler's playing sound stops.
After I close the print window, sampler's sounds resume again.
Is this intended situation ? Or the bug ? Or there is any solution for handling this issue ?
To Reproduce
Tone.Transport with synced audio buffer Player and Sampler.
play and window.print()
Expected behavior
Audio buffer Player and Sampler both play together even if I open print window.
What I've tried
How have you tried resolving/debugging this issue? This can be helpful context for getting to the heart of the issue faster and not duplicating effort.
Additional context
Add any other context about the problem here.

This seems like probably has to do with the way that browser's pause javascript execution when a dialog like the print dialog is open. I'm not sure if there's anything we can do on the Tone.js-side of things to deal with this.


ref: add missing exp subcommands for lang highlighter

per https://github.com/iterative/dvc.org/pull/2901#pullrequestreview-773554412

@jorgeorpinel, on the sidebar, exp is show in capitalcase (as Exp). Not sure why.

p.s. fixing + discussing in https://github.com/iterative/dvc.org/pull/2907


Vision Query Extraction for Custom dataset

Vision Query Extraction in the code is only compatible with the COCO dataset etc, but does not support custom datasets.

Yes, the code's data loaders only support datasets with annotations in the COCO format. If you have customized datasets, you can try formatting the annotation files according to COCO standards to ensure compatibility.


Optional 'average' flag

Adds average flag to queue script. Defaults to true so existing uses of the script will continue to behave as normal. If set to false, performance metrics are returned as the sum of the messages on each queue for each metric.

+1 for this feature... This makes a lot more sense to me than averaging by the number of queues, especially on platforms where the dev team have added a ton of queues that aren't even being used.


RMessagePositionTop displaying not correctly when double height status bar

Can I do something about this? I want to correctly display RMessage below Navigation Bar when double height status bar occurs

Probably not, But I can! :). Give me a bit of time to see If I can issue a fix. Kinda busy today so most likely tomorrow.

thank you @donileo :)

@sssandyad Can you give more details on how to reproduce this issue. In the simulator I select Hardware-> Toggle In Call Status Bar to reproduce what you see above but RMessage displays fine under multiple scenarios.

I created a new blank project to reproduce this issue. Please try the scenario when using UITabBarController @donileo

I put the testing project in this repo:
https://github.com/sssandyad/testRMessage

looks like this issue has been solved in version 2.3.0 :)


Query lost part of its parameter if this parameter contains symbol &.

Example: search result for
“Bikini & Swim Bottom”
turns into result for phrase
“Bikini ”
and is not the one that was expected.
According to World Wide Web Consortium, there are reserved symbols that can be used in URL and have their own purpose. To define the interpretation of URL, all symbols that have been reserved must be converted. Symbol & should be converted to %26 in URL query if it was passed inside query message.
I would like to pass search phrase as a query parameter. Current Jagger URL parser cannot recognize sign & inside query parameter and cannot turn it into %26 as required. Instead of Bikini%20%26%20Swim%20Bottom, it return Bikini%20&%20Swim%20Bottom.
That means that my search phrase “Bikini & Swim Bottom” turns into “Bikini ” and return wrong query result.
There could be an another problem if I would have some boolean parameter "clear”: “clean&clear" query search phrase could turn from clean%26clear into clean&clear  with "clean" search result and action to clear some data.
This issue makes it not possible to process query message if it contains sign &. Please consider implementing of correct URL parser in order to correspond  World Wide Web Consortium.

fixed in 2.0.1-m3