undos and redos saved the Drawing with background  and stroke image that might caused a memory increase issue

I noticed that the undo and redo arrays saved the background and stroke images. I tried to repeat to insert background images from album with a high quality , with Instruments, the memory quickly increase to 1GiB+.

Sorry for late reply.
I'll check it.
Thanks!


prefs to disable things due to CVE's need to be reenabled

The javascript.* stuff all got fixed in March 2015.  I don't know if it makes sense to completely disable something that had a temporary bug.

Can you been a little more specific? CVE's come and go. Just because it was fixed once, doesn't mean it stays incident free. An example is graphite (1408). This pref gfx.font_rendering.graphite.enabled was set as disabled in the user.js back in FF49 when it Zilla flipped it back on. And voila ... https://www.mozilla.org/security/advisories/mfsa2017-15/#CVE-2017-7778  .. another exploit almost a year later.
AFAIK, none of the "javascript" options (are we talking about section 2400?) that are currently active and disabled - cause any real issues. Ion and baseline JIT are inactive. ASMJS seems fine being disabled. The only one is WASM which is pretty new - see earthlng who shot me down in flames over that one.
CVEs in the js:

1408 graphite
2301 workers (4 of them, but we disable workers for a different reason)
2420 asm.js
2421 Ion & Baseline JIT (inactive)
2669 remove paths when sending URLs to PAC scripts (this is enforced at default)
2672 puncode

That's the entire list of what we have that have CVE's referenced.


Stopped working today

Extension cannot activate upon startup of vscode. I've had been using this for many months without any problems, I was using it a couple hours ago too, but now this morning it gives an error and does not activate. Was there an update or something?
Heres the errors i get in the output panel
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:717:15)
at Module._load (internal/modules/cjs/loader.js:622:27)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:918:348)
at Function.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:887:754)
at Function.n._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:884:63)
at Module.require (internal/modules/cjs/loader.js:775:19)
at n (/usr/share/code/resources/app/out/vs/loader.js:15:524)
at TextMateLoader.getNodeModule (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/textMateLoader.js:106:16)
at TextMateLoader.loadOniguruma (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/textMateLoader.js:112:32)
at new TextMateLoader (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/textMateLoader.js:19:31)
at new Settings (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/settings.js:10:31)
at new DocumentDecorationManager (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/documentDecorationManager.js:9:25)
at activate (/home/felix/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.1.1/out/src/extension.js:6:37)
at Function._callActivateOptional (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:788:244)
at Function._callActivate (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:787:909)
at /usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:786:960
at async Promise.all (index 0)
at async h.$activate (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:793:297)

Looks like it's due to the recent change to fix VS Code 1.45. What version of VS Code are you using?

Hmm looks like my recent PR does break compatibility with previous versions of VS Code, I've put up a new PR to fix the issue (#265), but in the meantime if you click the settings button for this extension in VS Code's extension list and choose "Install Another Version" and downgrade to 0.0.29 then it should be fixed. Alternatively you could update VS Code to 1.45.

Upgrade from 0.1.1 to 0.1.2 worked for me. 👍
VS Codium 1.44.2

@mogzol Yeah I'm still on 1.44. Indded, its a good idea to keep compatibilty for at least one or two previous version when trying to support new vscode features... some people do not update as soon as new vscode version are released.
In the meantime i'll just reactivate the plugin in a day or two when I upgrade vscode to 1.45 :)
In any case, thanks for your contributions to those open source tools! You rock!

hmm not sure if my issue is related, but I'm on vscode 1.45 and plugin version 0.1.2 and the plugin still doesn't work for me. reported in


EMR resource needs to call describe_security_configuration to determine encryption compliance

a call to describe_security_configuration is required to assess the encryption configuration for an emr cluster, however the current emr resource doesn't do it, and search failed to find any other code calling it.

I've constructed a regex based event filter on the CreateSecurityConfiguration cloudtrail event which detects what I want, however still need a way to delete the SecurityConfiguration resource.


Tenant Cluster in Unavailable state where the Super Rancher setup is on 2.6.3 and Tenant Rancher is 2.5.12

Rancher Server Setup

Rancher version: Managed Rancher (Super is 2.5.3 and Tenant 2.5.12)
Installation option: Helm

If Helm Chart: k3s both Super and Tenant with k8s v1.20.12+k3s1

Proxy/Cert Details: External TLS termination (Layer 7 Load balancer nginx)

Information about the Cluster

Kubernetes version: v1.20.12+k3s1
Cluster Type:  k3s on local and downstream

Imported k3s (Tenant cluster)

User Information

What is the role of the user logged in? Admin

Describe the bug
The Tenant cluster is in Unavailable state after Rancher 2.5.12 is installed in the cluster
The Tenant Rancher UI is accessible through the Server URL and no evident errors are observed.
The Tenant cluster is marked as Unavailable in the Rancher UI with this error: Cluster agent is not connected
To Reproduce

Configure k3s cluster with Rancher 2.6.3 HA (three master nodes)

Options used: External TLS termination, Valid certificates, External Datastore (Postgres)

Create a new k3s cluster with the same options as the super and import it (wait for the Active state in the UI)
Install Rancher 2.5.12 in the Tenant

Result
The Tenant cluster is in Unavailable state after Rancher 2.5.12 is installed in the cluster
The Tenant Rancher UI is accessible through the Server URL and no evident errors are observed.
The Tenant cluster is marked as Unavailable in the Rancher UI with this error: Cluster agent is not connected
Expected Result
Rancher Tenant cluster 2.5.12 is in Active state after installing Rancher and is browsable in the Super Rancher 2.6.3 UI
Screenshots

Additional context
Error log in Rancher Super 2.6.3
[DEBUG] Skip updating cluster condition ready - cluster agent for [c-m-vvhswcxp] isn't connected yet

Cattle cluster agent logs in the Tenant Rancher 2.5.12:
INFO: https://<REDACTED>/ping is accessible
INFO: <REDACTED> resolves to <REDACTED>
time="2022-01-27T22:33:50Z" level=info msg="Listening on /tmp/log.sock"
time="2022-01-27T22:33:50Z" level=info msg="Rancher agent version v2.6.3 is starting"
time="2022-01-27T22:33:51Z" level=info msg="Connecting to wss://<REDACTED>/v3/connect/register with token starting with 9c572jrngrckpmkrb2wp5xhn6kh"
time="2022-01-27T22:33:51Z" level=info msg="Connecting to proxy" url="wss://<REDACTED>/v3/connect/register"
time="2022-01-27T22:33:51Z" level=info msg="Starting /v1, Kind=Service controller"
E0127 22:37:09.698824      40 reflector.go:139] pkg/mod/github.com/rancher/client-go@v1.22.3-rancher.1/tools/cache/reflector.go:168: Failed to watch *v1.Service: the server is currently unable to handle the request (get services.meta.k8s.io)
E0127 22:37:13.048197      40 reflector.go:139] pkg/mod/github.com/rancher/client-go@v1.22.3-rancher.1/tools/cache/reflector.go:168: Failed to watch *v1.Service: failed to list *v1.Service: services is forbidden: User "system:serviceaccount:cattle-system:cattle" cannot list resource "services" in API group "" at the cluster scope
time="2022-01-27T23:18:27Z" level=error msg="Remotedialer proxy error" error="websocket: close 1006 (abnormal closure): unexpected EOF"
time="2022-01-27T23:18:37Z" level=info msg="Connecting to wss://<REDACTED>/v3/connect with token starting with 9c572jrngrckpmkrb2wp5xhn6kh"
time="2022-01-27T23:18:37Z" level=info msg="Connecting to proxy" url="wss://<REDACTED>/v3/connect"
time="2022-01-27T23:18:45Z" level=error msg="Remotedialer proxy error" error="websocket: close 1006 (abnormal closure): unexpected EOF"
time="2022-01-27T23:18:55Z" level=info msg="Connecting to wss://<REDACTED>/v3/connect with token starting with 9c572jrngrckpmkrb2wp5xhn6kh"
time="2022-01-27T23:18:55Z" level=info msg="Connecting to proxy" url="wss://<REDACTED>/v3/connect"
time="2022-01-27T23:18:55Z" level=error msg="Failed to connect to proxy. Response status: 503 - 503 Service Unavailable. Response body: Service Unavailable" error="websocket: bad handshake"
time="2022-01-27T23:18:55Z" level=error msg="Remotedialer proxy error" error="websocket: bad handshake"
time="2022-01-27T23:19:05Z" level=info msg="Connecting to wss://<REDACTED>/v3/connect with token starting with 9c572jrngrckpmkrb2wp5xhn6kh"
time="2022-01-27T23:19:05Z" level=info msg="Connecting to proxy" url="wss://<REDACTED>/v3/connect"

@izaac I would be interested to see the cattle-cluster-agent deployment on the downstream cluster here. In other situations I have seen the cluster agent not connect, the cause was the CATTLE_FEATURES environment variable was not set.

This is expected when Rancher v2.6.x is managing a cluster with Rancher < v2.6.x.
Here is the detailed explanation:
When the cattle-cluster-agent runs without Rancher running on the downstream cluster, then the cattle-cluster-agent will run an embedded Rancher instance which runs some controllers and makes another websocket connection ([stv-cluster-CLUSTER_ID]) which the UI uses to display information.
If Rancher is already running on the downstream cluster, then Rancher is already running these controllers. So, the existing instance of Rancher only needs to make the websocket connection. The cattle-cluster-agent will look for the rancher service in the cattle-system namespace and not run these controllers because they would be running twice on the downstream cluster.
The issue is that in Rancher v2.5.12, Rancher will not make this websocket connection to the management cluster. So the cattle-cluster-agent won't run the controllers (which means it will not make the websocket connection) and Rancher will not make the websocket connection. This appears in the dashboard as the cluster agent is disconnected.
This is not the case if the downstream cluster is running Rancher v2.6.x. Also, in the case of the downstream cluster running v2.5.x, the cluster can be managed from the host Rancher via the old (Ember) UI.

Closing as wontfix.
This is working fine with Rancher installations on Tenant (downstream) clusters of version 2.6 and Rancher 2.6 as the Rancher manager (super Rancher).


Fixes #764 to allow the AbstractJaxRsConformanceProvider to support the DSTU2_HL7ORG, DSTU2_1, and R4 FhirContexts

Adds support for the DSTU2_HL7ORG, DSTU2_1, and R4 FhirContexts in AbstractJaxRsConformanceProvider

It would be kind of nice if there could be a Conformance Provider class in each of the various resource structure modules. That way, the hapi-fhir-jaxrsserver-base module could have the dependencies on the resource structure modules marked as optional so that a project that pulls in the hapi-fhir-jaxrsserver-base artifact wouldn’t be forced to pull in all of the resource structures transitivily. But I think unfortunately breaking changes would be required to make that happen.

This looks great- merging now.
I'm not sure I understand your comment though:

It would be kind of nice if there could be a Conformance Provider class in each of the various resource structure modules.

There is a conformance provider in each structure module. E.g. this one for hl7org-dstu2. What am I missing?


Starter items menu not buying/closing

When opening the menu to buy items for the first time when you load into the game, the menu doesn't close and the bot clicks around it but never does anything, this causes me to get afk kicked unless I intervene. Let me know if there is anything I can provide to help debug

you running in a vm?

No. I'm running on windows 11. My monitor is 2660 x 1440

This issue might be similar to #7. Does the bot push mid?

Yes! After i close the shop myself the bot functions perfectly fine

Yea, im not sure what could be causing this because the bot opens/closes the shop by sending the keypress 'p' so if it can open the shop it should be able to close it. Something about your setup is causing it to miss one of the 'p' keypresses.

Is it possible that it could be missing the purchase button? As it clicks on an item, then right above the purchase button, back and forth until afk kicked.

you could try moving the shop up a little then. But the shop should close and the bot should just play without any items.

Alright i'll report back to you with more info.


Fix materialize-css dependencies

Wrong package name was listed in dependencies
The package currently listed is https://www.npmjs.com/package/materializecss which has a dependency for Angular2, causing following warnings (also present in #4 ) :
npm WARN deprecated<EMAIL_ADDRESS>This version of Angular has been deprecated. Use @angular/core instead.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

The right package is this one : https://www.npmjs.com/package/materialize-css

Thanks


trilium-desktop: 0.57.3 -> 0.57.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for trilium-desktop is: "Hierarchical note taking application with focus on building large personal knowledge bases"
meta.homepage for trilium-desktop is: "https://github.com/zadam/trilium"
meta.changelog for trilium-desktop is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.57.5 with grep in /nix/store/ab3lbx1j7dsxflbfsppihv13nlckca3c-trilium-desktop-0.57.5
found 0.57.5 in filename of file in /nix/store/ab3lbx1j7dsxflbfsppihv13nlckca3c-trilium-desktop-0.57.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
trilium-desktop
trilium-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ab3lbx1j7dsxflbfsppihv13nlckca3c-trilium-desktop-0.57.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trilium-desktop https://github.com/r-ryantm/nixpkgs/archive/0dc1361b7735d7c4fb1e44a1bfc032ccded70ae3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ab3lbx1j7dsxflbfsppihv13nlckca3c-trilium-desktop-0.57.5
ls -la /nix/store/ab3lbx1j7dsxflbfsppihv13nlckca3c-trilium-desktop-0.57.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

trilium-desktop
trilium-server

Maintainer pings
cc @FliegendeWurst for testing.

@ofborg test trilium-server


How to change the highlighting color of commands like cd and ls

How to change the highlighting color of commands like cd and ls.
I couldn't figure out to which category it belongs in main
please help

https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md
in which category ls and cd belongs

Currently, it is in the default color green.


[MacOS, Linux] NuGet writes the NuGet.Config in ~/.config folder, but dotnet restore reads from ~/.nuget

When using NuGet to add a private feed, NuGet Sources Add writes in ~/.config/NuGet/NuGet.Config file. But when using dotnet restore the ~/.nuget/NuGet/NuGet.Config file is used to read the packageSources and packageSourceCredentials.
This issue forces users to manually copy and paste all necessary information instead of having that generated automatically by the NuGet CLI.
NuGet repo issue: https://github.com/NuGet/Home/issues/4413

This is best tracked in the linked issue. Going to close it here.


Build Zone Management  Functionality

[x] Create a GET method that retrieves all Zone entries from the database
[x] Create a GET method that will retrieve one Zone from the database based on the ID parsed through
[x] Create a POST method that will create a new Zone entry on the database
[x] Create a PATCH method that will update an existing Zone entry on the database
[x] Create a DELETE method that will delete an existing Zone entry on the database
[x] Add a private method in the API that checks if a Zone exists (based on the ID parsed through) before editing or deleting an item
[x] Create a GET method that retrieves all devices within a specific zone based on the zone ID that is parsed through)

Completed


Nonsticky-session support: Check/implement listener notification on swapOut of sessions at the end of the request

From martin.grotzke on January 06, 2011 00:58:32
When a session is removed from the local session map (for non-sticky sessions) session listeners must be notified accordingly.
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=76

From martin.grotzke on January 05, 2011 16:01:45
Related: when a session is refreshed/replaced listeners also need to be notified.

From martin.grotzke on January 24, 2011 15:24:36
(No comment was entered for this change.)
Labels: Milestone-Release1.4.1

From martin.grotzke on January 27, 2011 14:34:55
(No comment was entered for this change.)
Labels: -Milestone-Release1.4.1 Milestone-1.4.1

From martin.grotzke on February 28, 2011 12:56:47
With commit 76e0419c: Session.passivate (notifies HttpSessionActivationListeners via sessionWillPassivate) is invoked for non-sticky sessions at the end of the request when the session is removed from the local session map.
Session activation is already working correctly when a session is loaded.
session.tellNew() is now only invoked when a session is new.
Status: Fixed
Labels: -Milestone-1.4.1 Milestone-1.4.0


drag and drop demo

I'm very impressed with the ability to drag/drop new windows, as shown in your online example:
https://golden-layout.com/examples/#d508753b29c3001c24218bf3a6b25141
I tried adding several windows and it looked good. But, when I resized browser window, I was expecting it to behave gracefully, scaling things as appropriate. Instead, the window reset, and all the created windows just disappeared. For a large, complex application, this won't work. I need something that will behave like an IDE. Am I missing something? This is the type of mechanics I was expecting:
http://www.dockspawn.com/demos/ide/dock_spawn_demo_ide.html
(but, that project seems defunct)
John

Just try using golden layout in your own code, you will see it resizes fine when you hook it up to window.onresize event.
window.onresize = function() { 	goldenLayout.updateSize(); };
The reload upon resize in the example will be probably related to the example being loaded from Codepen.

In CreateAndDrag demo, if create many window from same link, it seems that all the created window share same state,  if one changed all the created window changed. Is there anyway to avoid it by when init a window , generate a new variable? (the same problem is in create window by click demo, but it is easy to fix  by using an factory design)


Thank you

Hey,
I just want to spread love and say thank you for this awesome tutorial. Keep it up and hope you will continue this project.
Regards,
deltax

Cheers 😁


Add random derangements

Make use of Martínez, C., Panholzer, A., and Prodinger, H. (2008). Generating Random Derangements. In 2008 Proceedings of the Fifth Workshop on Analytic Algorithmics and Combinatorics (ANALCO), (Society for Industrial and Applied Mathematics), pp. 234–240.


DRAFT: Collection of charges in ChargeCommand

Description
Multiple ordered operations for a charge can be submitted in one CIM/XML. To ensure correct processing of the operations we must handle the operations in the order they were received, which is achieved with the addition of an ordered list of operations on the ChargeCommand that is passed on throughout the charges domain.
With this strategy we

[X] Preserve the order in which operations are handled within the charges domain
[x] Preserve the order of operations in the confirmation flow
[ ] Preserve the order of operations in the rejection flow
[ ] Preserve the order of availability notifications (@x-platformcoder)
[ ] Preserve the order in inter-domain communication
[ ] Inject ChargeOperationDto in unittests (@prtandrup)

References

#1151
#1143

 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.0 out of 2 committers have signed the CLA.:x: prtandrup:x: HenrikSommerYou have signed the CLA already but the status is still pending? Let us recheck it.


Display some label when there is no reviews for product

To be discussed:
Id there is not a single review for product/variant we should display some label instead of grayed stars. Maybe something like: "No reviews yet".

Simple solution with label looks good for PLP:

However, I'm not fully convinced about PDP view and labels next to each other:

QA steps:

go to any PLP page
look for product without reviews

Expected result:

on PLP there should be "No reviews yet" label visible for products without reviews
on PDP there should be "No reviews yet" label visible and link "Show reviews" should be hidden

QA done, working as expected.


RDK-29718 : Implemented ScreenCapture for Realtek platform.

On Realtek there is vncframebuffer lib, which can be used for getting screnshots.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Do not modify CMAKE_FIND_LIBRARY_PREFIXES  and CMAKE_FIND_LIBRARY_SUFFIXES  on Windows

🦟 Bug fix
Summary
CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES are variables that are used by
CMake to change the behaviour of the find_library calls. Changing CMAKE_FIND_LIBRARY_SUFFIXES to .lib;.dll in the CMake config file of every ignition project affect silently any downstream project that calls find_package(ignition-<pkg>), even if transitevely, leading to subtle bugs, such as the one investigate in https://github.com/conda-forge/libignition-gazebo-feedstock/issues/30#issuecomment-951942168 .
I tried to investigate why that code was there in the first place, and I tracked it back to https://github.com/ignitionrobotics/ign-cmake/commit/c9beb6bcf931792e4040a8696f5c6811cae153ae#diff-ca85e9f4b24c567606682737f2466b715279730d7960ab5a5dd2a140f6ba2907R39 on the ign-cmake side, and back to https://github.com/ignitionrobotics/ign-common/commit/a0d286d6f495e8eb80069c5c62d70a280f10bf55#diff-c4216ffdb6192d9b0e30753bc4b385b7a38716c1dd6d73439e9b4f3c9b51fdddR37 on the ign-common side from which the ign-cmake code was copied. It seems that this was more a leftover rather then something that was actually fixing something, but I may be missing something fyi @nkoenig @mxgrey .
If a change in CMAKE_FIND_LIBRARY_SUFFIXES is actually needed, it should be done close to the actual affected find_library call, and the previous value of CMAKE_FIND_LIBRARY_SUFFIXES should be restored as soon as possible.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Updated documentation (as needed)
[x] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Another try

Another try

The build failed due to a bug in cmake for an old vcpkg snapshot. Seems like the change is not afffecting in anyway the procedure to find dependencies. Sounds good enough to me to go.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1


symbolic complexity of analytical forms

Currently we are using Mathematica scripts to evaluate the determinant of jacobian, its curvature and the integration region velocity, then copying the code to Julia. More complex models yield symbolic complexity where it is no longer feasible to do so.

We would like an autodiff way - ideally using Zygote.jl of computing the following

Check this out: https://github.com/JuliaInterop/MathLink.jl

now implemented using pure autodiff


Don't run exists checks when the format is not a file format

This is actually not possible to implement, I'll add some warnings to the docs telling the users to not add exists to schemas without any file format in it


Fixed spelling mistake

@Rodigee Thank you for correcting this spelling mistake! We really appreciate your contribution.


Set up External Portal Application Authentication with Azure AD OIDC

See https://konghq.atlassian.net/browse/DOCS-1294. @aaronhmiller has provided the content in this google doc https://docs.google.com/document/d/1xXES9d-kzyLnj5U7oEbLXhy_70upuH7KhY4dJuH8ZBQ/edit#
Direct review link:
https://deploy-preview-2300--kongdocs.netlify.app/enterprise/2.1.x/developer-portal/administration/application-registration/azure-oidc-config/
Update: This ticket was logged by @skibum https://konghq.atlassian.net/browse/DOCS-1237, and Reza has requested a more generic documentation approach to 3rd-party IdPs for app reg auth. cc: @Jlawlzz

@aaronhmiller can you please review and verify the cURL examples with your setup?

LGTM!

Thank you @lena-larionova!


[flutter_test] Widget-testing a FutureBuilder fails when verifying file existence asynchronously

Steps to Reproduce

Run flutter create my_app.
Update the files as follows:

/lib/main.dart
import 'package:flutter/material.dart';
import 'package:my_app/my_widget.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Title',
      home: MyWidget(),
    );
  }
}

/lib/my_widget_test.dart
import 'dart:async';
import 'dart:io';
import 'package:path/path.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class MyWidget extends StatefulWidget {
  MyWidget();

  @override
  MyWidgetState createState() => MyWidgetState();
}

class MyWidgetState extends State<MyWidget> {
  Future<void> runOnCreate;

  @override
  void initState() {
    super.initState();
    runOnCreate = onCreate();
  }

  Future<void> onCreate() async {
    //await Future.delayed(Duration(milliseconds: 10));

    final filePath =
        join(dirname(Platform.script.toFilePath()), "widget_test.dart");
    final file = File(filePath);

    final fileExists = await file.exists();
    //final fileExists = file.existsSync();

    print("${file.absolute}: $fileExists");
  }

  @override
  Widget build(BuildContext context) {
    return FutureBuilder(
      future: runOnCreate,
      builder: (context, snapshot) {
        print("CONNECTION STATE ${snapshot.connectionState}");
        if (snapshot.connectionState == ConnectionState.done) {
          print("DONE");
          if (snapshot.hasError) {
            print(" - ERROR");
            return Text("Error while running onCreateFuture");
          }
          print(" - SUCCESS");
          return Center(
            child: SingleChildScrollView(
              child: Column(
                children: <Widget>[
                  RaisedButton(
                    onPressed: () async {},
                    child: Text("Button text"),
                  ),
                ],
              ),
            ),
          );
        } else {
          return Container();
        }
      },
    );
  }
}

/test/widget_test.dart
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:my_app/main.dart';
import 'package:my_app/my_widget.dart';

void main() {
  testWidgets('My widget test', (tester) async {
    final myapp = MyApp();

    await tester.runAsync(() async {
      await tester.pumpWidget(myapp);
      await tester.pumpAndSettle();
    });

    final myWidget = find.byType(MyWidget);
    expect(myWidget, findsOneWidget);

    final button = find.widgetWithText(RaisedButton, "Button text");
    expect(button, findsOneWidget);
  });
}

Run flutter test.

Expected results:
My understanding is that, when I check the existence of a file asynchronously fileExists = await file.exists(),  I should get the same result as if checked synchronously fileExists = file.existsSync(). The test should pass and have this output:
File: '/Users/raluca/CMIC/Development/FlutterLab/test_widgets_futurebuilder/my_app/test/widget_test.dart': true
CONNECTION STATE ConnectionState.waiting
CONNECTION STATE ConnectionState.done
DONE
 - SUCCESS
00:02 +1: All tests passed!

Actual results:
The FutureBuilder's future does not finish and the test fails:

logs
00:02 +0: My widget test
CONNECTION STATE ConnectionState.waiting
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure object was thrown running a test:
  Expected: exactly one matching node in the widget tree
  Actual: _AncestorFinder:<zero widgets with type "RaisedButton" which is an ancestor of text
"Button text">
   Which: means none were found but one was expected

When the exception was thrown, this was the stack:
#4      main.<anonymous closure> (file:///Users/raluca/CMIC/Development/FlutterLab/test_widgets_futurebuilder/my_app/test/widget_test.dart:20:5)
<asynchronous suspension>
#5      main.<anonymous closure> (file:///Users/raluca/CMIC/Development/FlutterLab/test_widgets_futurebuilder/my_app/test/widget_test.dart)
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:146:29)
<asynchronous suspension>
#7      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart)
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:784:19)
<asynchronous suspension>
#11     TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:764:14)
#12     AutomatedTestWidgetsFlutterBinding.runTest.<anonymous closure> (package:flutter_test/src/binding.dart:1173:24)
#13     FakeAsync.run.<anonymous closure>.<anonymous closure> (package:fake_async/fake_async.dart:178:54)
#18     withClock (package:clock/src/default.dart:48:10)
#19     FakeAsync.run.<anonymous closure> (package:fake_async/fake_async.dart:178:22)
#24     FakeAsync.run (package:fake_async/fake_async.dart:178:7)
#25     AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:1170:15)
#26     testWidgets.<anonymous closure> (package:flutter_test/src/widget_tester.dart:138:24)
#27     Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:175:19)
<asynchronous suspension>
#28     Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart)
#33     Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:173:13)
#34     Invoker.waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:231:15)
#39     Invoker.waitForOutstandingCallbacks (package:test_api/src/backend/invoker.dart:228:5)
#40     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart:383:17)
<asynchronous suspension>
#41     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart)
#46     Invoker._onRun.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart:370:9)
#47     Invoker._guardIfGuarded (package:test_api/src/backend/invoker.dart:415:15)
#48     Invoker._onRun.<anonymous closure> (package:test_api/src/backend/invoker.dart:369:7)
#55     Invoker._onRun (package:test_api/src/backend/invoker.dart:368:11)
#56     LiveTestController.run (package:test_api/src/backend/live_test_controller.dart:153:11)
#57     RemoteListener._runLiveTest.<anonymous closure> (package:test_api/src/remote_listener.dart:256:16)
#62     RemoteListener._runLiveTest (package:test_api/src/remote_listener.dart:255:5)
#63     RemoteListener._serializeTest.<anonymous closure> (package:test_api/src/remote_listener.dart:208:7)
#81     _GuaranteeSink.add (package:stream_channel/src/guarantee_channel.dart:125:12)
#82     new _MultiChannel.<anonymous closure> (package:stream_channel/src/multi_channel.dart:159:31)
#86     CastStreamSubscription._onData (dart:_internal/async_cast.dart:85:11)
#120    new _WebSocketImpl._fromSocket.<anonymous closure> (dart:_http/websocket_impl.dart:1145:21)
#128    _WebSocketProtocolTransformer._messageFrameEnd (dart:_http/websocket_impl.dart:338:23)
#129    _WebSocketProtocolTransformer.add (dart:_http/websocket_impl.dart:232:46)
#139    _Socket._onData (dart:io-patch/socket_patch.dart:2044:41)
#148    new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1580:33)
#149    _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1076:14)
(elided 111 frames from dart:async and package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/raluca/CMIC/Development/FlutterLab/test_widgets_futurebuilder/my_app/test/widget_test.dart line 20
The test description was:
  My widget test
════════════════════════════════════════════════════════════════════════════════════════════════════
00:02 +0 -1: My widget test [E]
  Test failed. See exception logs above.
  The test description was: My widget test

00:02 +0 -1: Some tests failed.

Analyzing my_app...
No issues found! (ran in 1.7s)

[✓] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.5 19F101 darwin-x64, locale en-CA)
    • Flutter version 1.22.6 at /Users/raluca/Flutter/flutter
    • Framework revision 9b2d32b605 (11 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/raluca/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (1 available)
    • iPad Pro (9.7-inch) (mobile) • D3BC1704-E9FD-4B76-B981-1BD5FF58D21C • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

• No issues found!

Expected: exactly one matching node in the widget tree
Actual: _AncestorFinder:<zero widgets with type "RaisedButton" which is an ancestor of text
"Button text">
Which: means none were found but one was expected

Hi @Raluca1
Your tests seems to be failing due to the test not being able to find a widget and this does not seems to be related to verifying a file existence.

Hi @pedromassango
MyWidget’s future gets stuck in “waiting” phase and does not return the widget the test is looking for.
If in onCreate() method, I replace await file.exists() with file.existsSync() the same test passes.

If in onCreate() method, I replace await file.exists() with file.existsSync() the same test passes.

Yes, probably because you are not using a Future anymore.

MyWidget’s future gets stuck in “waiting” phase and does not return the widget the test is looking for.

I think that is because your Future did not completed yet.  Please see https://stackoverflow.com/questions/52813572/flutter-test-future-builder

logs
/Users/pedromassango/Code/flutter_beta/bin/flutter --no-color test --machine --start-paused --plain-name "My widget test" test/widget_test.dart
Testing started at 07:47 ...

CONNECTION STATE ConnectionState.waiting
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure object was thrown running a test:
  Expected: exactly one matching node in the widget tree
  Actual: _AncestorFinder:<zero widgets with type "RaisedButton" which is an ancestor of text
"Button text">
   Which: means none were found but one was expected

When the exception was thrown, this was the stack:
#4      main.<anonymous closure> (file:///Users/pedromassango/dev/Projects/flutter_example/test/widget_test.dart:22:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)
...

This was caught by the test expectation on the following line:
  file:///Users/pedromassango/dev/Projects/flutter_example/test/widget_test.dart line 22
The test description was:
  My widget test
════════════════════════════════════════════════════════════════════════════════════════════════════

Test failed. See exception logs above.
The test description was: My widget test

flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.2 20D64 darwin-x64, locale en)
    • Flutter version 1.25.0-8.3.pre at /Users/pedromassango/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (3 weeks ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.146

• No issues found!

Yes, I’ve seen that post on Stack Overflow.
Why is the future not completing? My understanding is that await tester.runAsync(...) should run the asynchronous code and complete the future.
The code I’ve sent is a simplification of a more complex situation, where I need async code to be executed while testing the FutureBuilder.

Hi 😄
I have the same issue, in my case I am loading an image in a FutureBuilder and the complete state is never reached.
I need the image to be loaded for a golden test.
Is there any way to make the tester wait for this future ?

Verified on latest versions and confirmed that the originally reported behavior persists.

 console error log

Testing started at 6:52 PM ...
/Users/dhs/Documents/Fluttersdk/flutter/bin/flutter --no-color test --machine --start-paused test/widget_test.dart

CONNECTION STATE ConnectionState.waiting
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: exactly one matching node in the widget tree
  Actual: _AncestorFinder:<zero widgets with type "ElevatedButton" which is an ancestor of text
"Button text">
   Which: means none were found but one was expected

When the exception was thrown, this was the stack:
#4      main.<anonymous closure> (file:///Users/dhs/Documents/NCFlutter/test_app/test/widget_test.dart:22:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/dhs/Documents/NCFlutter/test_app/test/widget_test.dart line 22
The test description was:
  My widget test
════════════════════════════════════════════════════════════════════════════════════════════════════

Test failed. See exception logs above.
The test description was: My widget test

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.3 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (4 days ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-18.0.pre.28, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.8.0-18.0.pre.28 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 25712d95d3 (2 hours ago), 2023-02-28 19:31:23 -0800
    • Engine revision 46ee3209b9
    • Dart version 3.0.0 (build 3.0.0-277.0.dev)
    • DevTools version 2.22.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Maybe the FutureBuilder doc can explain this.. Specifically this part below -

Timing
Widget rebuilding is scheduled by the completion of the future, using State.setState, but is otherwise decoupled from the timing of the future. The builder callback is called at the discretion of the Flutter pipeline, and will thus receive a timing-dependent sub-sequence of the snapshots that represent the interaction with the future.
A side-effect of this is that providing a new but already-completed future to a FutureBuilder will result in a single frame in the ConnectionState.waiting state. This is because there is no way to synchronously determine that a Future has already completed.

It the stackoverflow link above, the future is being completed at a later stage, which is why the test works. Hope that helps.


Simplify and Modularize Azure Deployment Scripts

The default should be minimal. Extra features should be separate and modular.
Having it default to turning on everything makes it extremely fragile.
I am spending hours on a deployment script that doesn't work for features I didn't even want in the first place.
The resulting deployment is very expensive and burns through the average developer's monthly MSDN credits in a couple days.

I second that and created a similar issue.
https://github.com/microsoft/chat-copilot/issues/487
Plus more e2e and performance autotests would be great to have.

This has been done for the most part now.


Accessibility issue with screen readers

Changing the input value on focus creates a nightmare scenario for screen readers.

Is it possible to reopen this issue? We found an issue on safari for screen readers when the value is empty. VoiceOver reads the first character of the mask even with label and the input id are set properly.
How to simulate (v2.0.4):

On Safari desktop goes to https://l91y6.csb.app
Enable VoiceOver (cmd + F5)
With the tab key, focus on the input

Expected: The screen reader reads "Content selected, Telephone, edit text"
Actual: The screen reader reads "Open parenthesis"
Looking into the code and found out that this is happening because the library use the defer() for setting the selection.  Code line, removing the defer the screen reader reads it properly.
Maybe we could run the defer only for androids.


Consider switching from Travis CI to GitHub Actions

GitHub Actions is first-class citizen in GitHub and is "more free" than Travis CI.

It also would be cool to learn as this project needs an easier pipeline than the other projects (single-page-react-vertx-howto/Protelis-Web and ISS-2018-Final-Task) tried before.

Here are some existing GitHub Actions to compile LaTeX documents:

[ ] xu-cheng/latex-action
[ ] ppaulweber/github-action-latex
[ ] shinsumicco/latex-github-actions
[ ] vinay0410/tectonic-action


LEGO: Pull request from lego/hb_bffd58c1-56d2-478d-96be-20bc98f118aa_20211219174935263 to main

LEGO: Pull request from lego/hb_bffd58c1-56d2-478d-96be-20bc98f118aa_20211219174935263 to main with localized lcls

Superceded by #665


Fix pyproject.toml

I have no directory structure so pip install dumps everything into site-packages without even a folder.

CLosed via 7beac68


Expanded README

Closes #9
Closes #14
Closes #25
Closes #28
Closes #49

I pushed two changes to @ArtemSokolov branch. Looks great.
My only discussion point would be to introduce -w already in the first example, so people don't run it locally first. It's something that happened to every person working with the pipeline so far.

@DenisSch : It's really only an issue for O2, right? For local runs, it probably doesn't matter, since every location is part of the same single hard drive.

@ArtemSokolov A lot of our users will execute the pipeline without even knowing where it is located, so they will not even see the work directory until there computer is full...

@DenisSch Take a look at the latest commit. I moved the -w introduction to the "Pipeline execution" section. I wanted to draw attention to the fact that work/ exists, while maintaining that it's optional to specify the alternative with -w.
I suspect most users will be running the pipeline without an explicit -w once they understand that it exists.

@ArtemSokolov Looks great to me!


Scope exclusive features

My use case
I have an application with companies and users that belong to them. I want to define feature flags that control which companies have access to certain application modules and flags that control how those modules work for certain users.
Problem
Currently, the only way to do this (that I know of) is to define all feature flags for users and check user's company when resolving value for module flags:
Feature::define('module',
    fn (User $u) => in_array($u->company->type, ['...']));

Feature::define('module-behavior',
    fn (User $u) => in_array($u->role, ['...']));

However, with this approach code for changing feature flags from admin panel becomes a lot more complicated, since when user disables a module, I have to reset or edit module flag for all users from that company.
Proposed solution
When defining a feature flag, specify which scope they can be used with, and extend default scope resolver to accept name of the scope it has to resolve. This way we could have feature flags that get resolved and stored only for certain scopes, and we wouldn't need to specify scopes explicitly for those features.

@xwillq I don't fully understand the scenario you are working within, but could you apply the feature flag to the company instead of the user?
Feature::define('module', function (Company $company) {
    return in_array($company->type, ['...']);
});

Feature::for($user->company)->active('module');

Then if you disable the feature for the company it is disabled for all users within the company?

My use case is that different companies use our application, and we want to control which of them have certain features enabled. Inside those companies, we have different departments, and they must have different logic for the same action. Something like regular and simplified flow for creating invoices, while some companies don't have invoice functionality entirely.
If i change example from before to this:
Feature::define('module',
    fn (Company $c) => in_array($c->type, ['...']));

Feature::define('module-behavior',
    fn (User $u) => in_array($u->role, ['...']));

This will cause some other problems:

I cannot use EnsureFeaturesAreActive middleware for both feature flags, since it uses default scope resolver, which can either resolve User or Company, but not both.
I cannot use Feature::for($company)->all(), because it will pass company to resolvers of all features, and I will get TypeError.

First problem can be circumvented with defining separate middlewares for company and user level feature, but I'm not sure if second one could be solved outside of the library.

@xwillq the middleware is intentionally simple and only focus on the default scope - the same goes for the blade directive.
If you need more complex requirements I would recommend creating your own middleware...
<?php

namespace App\Http\Middleware;

use Laravel\Pennant\Feature;

class EnsureCompanyFeaturesAreActive
{
    public function handle($request, $next, ...$features)
    {
        Feature::for($request->user()->company)->loadMissing($features);

        if (Feature::for($request->user()->company)->someAreInactive($features)) {
            abort(400);
        }

        return $next($request);
    }
}

I would also recommend not using the all method but instead passing a specific scope of features you want returned. This is the documented way of retrieving multiple feature flag values.
Feature::for($company)->values(['module']);

Okay, I can understand why creating my own middleware is intended solution for my case. But for this:

I would also recommend not using the all method but instead passing a specific scope of features you want returned. This is the documented way of retrieving multiple feature flag values.

Documentation says

The values method allows the retrieval of multiple features for a given scope
[code example]
Or, you may use the all method to retrieve the values of all defined features for a given scope

So, to me it looks like documentation contradicts your last statement.

You are correct; that is present in the docs. I don't know how I missed that when I looked.
I've made a note to look at improving the way we resolve features for incompatible feature signatures. For now I would recommend using Feature::values.


Upgrade to use @rollup/plugin-sucrase

Coverage remained the same at 97.619% when pulling 658fccdcbceefad3d7f9c0a6133e49957b2dd4ff on sucrase into 83f87f498e1eaef945a35cb8b4243141cfbe049b on master.


debugging in simulator not working if run with create option network as host

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@initmahesh Thank you for your feedback. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

@initmahesh Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.

@initmahesh Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


[Hub Generated] fix RangeObject property types in Maps Creator preview/2.0

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[X] Fix property types in Map Creator's featurestate RangeObject definition

When you are targeting to deploy new service/feature to public regions?
Services are already deployed. This fixes the inconsistency with the actual response json returned.
When you expect to publish swagger?
ASAP
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.
No data-plane SDKs are onboarded yet, so no refresh required.

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[X] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes:
Submitted new intake: https://msazure.visualstudio.com/One/_workitems/edit/10449739

@jhendrixMSFT: This swagger breaking change fixes the inconsistency in the definition of RuleObject against Rule originally from StyleRule.cs:L73
This has popped up when testing golang SDK for subsequent onboarding since json parser is strict and will fail when string are encountered when float64 are expected: https://github.com/Azure/azure-sdk-for-go/commit/71dd086cdceb52d41488adac3abffaf9b677de96

@jhendrixMSFT can we please approve and merge this PR? It is blocking SDK generation now. Thanks!

@johanste is the breaking change acceptable?

@ambientlight is this to make the swagger consistent with what the service sends over the wire?

@jhendrixMSFT I think @johanste is familiar with the process Azure Maps is going through to adopt this new process of SDK generation, but I'll let him answer. @ambientlight is an engineer in my team and he's on vacation this week, but I can confirm that this is the case.
This is the actual documentation of the API payload sent down the wire: https://docs.microsoft.com/en-us/rest/api/maps/v2/feature-state/list-stateset
"keyName": "s2",
            "type": "number",
            "rules": [
              {
                "range": {
                  "minimum": null,
                  "maximum": null,
                  "exclusiveMinumum": null,
                  "exclusiveMaximum": "50"
                },
                "color": "#343deb"
              }

@ambientlight is this to make the swagger consistent with what the service sends over the wire?
Yes, exactly that, RangeObject will contain string properties in response (not floating-point numbers).

Thanks for confirming.  Once the magic Approved-BreakingChange label is added by @johanste I can merge.

This is addressing an incorrect description of the service. Not an actual service API breaking change (no changes to the service API)


settings: Make list header sections consistent.

This affects any settings panel (personal or org) that has some kind of list of items, so the best way to QA it is to log in as Iago and hit every panel.

On the emoji panel, we should be consistent on whether we use "emoji" or "emojis" as the plural of "emoji". Either one is accepted, but I think I prefer "emoji" in our context. So let's change "Custom emojis" and "Filter emojis" accordingly.

How about we make the placeholder text in the filter always match the table heading?

Default streams: Filter streams -> Filter default streams
Uploaded files: Filter uploads -> Filter uploaded files

Other than that, looks good to me!

Both of Alya's wording suggestions sound good to me.

How about we make the placeholder text in the filter always match the table heading?
* Default streams: Filter streams -> Filter default streams

* Uploaded files: Filter uploads -> Filter uploaded files

Fixing.

This is ready for review again. I re-worded the two filters, changed the "emojis" spelling, and changed "Export data" to "Export organization".  For all the other comments, I explained my reasoning above.

Cool, looks good to me.

I changed the <div> tags to <h4> tags.  The <h4> tags are a tad too big, and using <h3> tags here would just be ugly.
I think I changed the correct CSS rule for "Deactivated Users" to be less picky about h3 vs. h4, but please double check that in particular.

@alya I think we need your input on the H3 vs H4 question. Here's what this now looks like:

My view is these two headings should be the same size; we already have multiple H3s (aka the larger style) on various settings pages by design, and using a smaller size for the table headings both looks off to me and also suggests that it's inside the "Add an X" heading, which I think isn't what we want.

Yeah, I think we should stick with the H3s, at least for now.
Do we use the H4s anywhere besides the Create stream menu?

I'd be open to using another heading style for the table, I guess, but I also just don't think the currently H4 styling looks very good.

Ok, back to H3 headings.  Ready for another round of review.

Great, merged after the tiny change noted above.  Thanks @showell!


Wrong ogre library loaded at runtime when Ogre1.x and Ogre2.x are both installed

Original report (archived issue) by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).

Description
Compilation works fine and the correct version of ogre libraries are linked but the wrong version of ogre library gets loaded during run time. It always loads the first libOgreMain.so it finds in the path, resulting in memory corruption when a test or a demo is run.
Steps to Reproduce

Install ogre 1.9 (e.g. libogre-1.9-dev)

install ogre 2.1 (e.g. from source into $HOME/local)

build ign-rendering

run make test

Expected behavior:
tests run without crashing
Actual behavior:
test crashes with a msg about memory corruption

The tests are being moved to ogre2 on #83


refactor: simplify browser state

#583  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


Consolidate Headers causing completely wrong paper headers to show up

I am using the web service, and testing this pdf doc: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6571572/pdf/jcm-08-00590.pdf
When I run "Process Fulltext Document" with the 'consolidate headers' option on, the title that gets extracted is "High-dose versus standard-dose daunorubicin in induction therapy for young patients withde novoacute myeloid leukaemia: a meta-analysis of randomised trials". I am not sure where it is getting this title from, as it (or the doi) are not even mentioned in the uploaded pdf?
Any idea what is going on? I saw the same thing with another pdf file as well. Should I just run without consolidating headers?
Thanks!

Hello !
Interesting error, thank you David. Actually it's working more or less okay when the consolidation service is CrossRef.
Here is the reason of this weird error:

GROBID extracts almost everything well, including the DOI and the authors, only the title is a bit incorrect: "Clinical Medecine" is concatenated to the rest of the correct title.

With CrossRef as consolidation service, the DOI matches and provides a corrected title, however the author names on CrossRef do not have fornames, so it's not very good neither

With biblio-glutton as consolidation service (as with the web service demo), the DOI is not matched because the article is too recent... biblio-glutton is built with a snapshot of crossref from September 2018, the article is from April, 29th, 2019

as fallback, biblio-glutton tries to match a DOI record based on the extracted title and first author, and the best it finds is an article with this completely wrong title and authors and so on

Unfortunately the post-validation, where we check that the DOI record found by soft matching is not too far from the extracted title and first author name is not activated and does not filter out this bad result, and we have this completely wrong consolidation.

So one way to fix this issue is to force a post-validation, this would avoid such a completely wrong consolidation to appear. I am going to fix that, but overall I would need to improve the consolidation of headers (better merging of what is extracted and what th consolidation service provides).
Another aspect would be to try to be more up-to-date with CrossRef data in biblio-glutton (at least in the online web service).
We could also use CrossRef as fallback when glutton fails or for recent publication dates (the publication date is correctly extracted so we would know that it's too recent for biblio-glutton), or limit the usage of CrossRef to header metadata, and keep glutton for bibliographical references (biblio-glutton is faster, more scalable and more reliable than crossref for matching).
Sometimes freshness is more important that speed and accuracy :)

I push a fix with 9a203381985cc9d9759ae98efd7b5c1cebea7afc
Post validation is now applied as expected, avoiding the wrong paper metadata to be used.

Great - Thanks a lot for your speedy reply and resolution! :)


Offline mode not always working

From @JOpsDev on September 25, 2015 8:39
Depending on the device and the browser the offline mode is sometimes not working.
For example the default browser on a HTC One Mini displays a warning once and does not work afterwards.
Also Firefox 40.0.3 on Fedora Linux either tries to load forever if you click on the details page or it shows a details page without any content filled in.
HTC One Mini:
First click after enabling "flight mode":

What is displayed after that:

Clicking on "Talks" again:

If the network connection is back the next click will make everything work properly again.
Copied from original issue: dukecon/dukecon#17

@JOpsDev thanks for the report! For the HTC device: Could you please tell us which browser version it has and if any alternative browser is available there which is able to run in offline mode with DukeCon? Which one?
I fear both devices are currently to exotic to further investigate this, but we will maybe even list a number of devices where problems where reported.

Please reopen if necessary!


FIle not found.

I would love to understand more about the "file not found" issue. What in practical sense do I need to do to make this work. The situation is I have a published Editor Add-On, which I'm updating with ReDriveApp. What would be the additional required process for my users in order to make the old files usable?
Also very basic question. I am working on the new version of the Add-On in the different project. It was Test Deployed with full drive scope. What do I need to do to make ReDriveApp work? It seems like whatever file ID i'm trying to get - it sees none of them on my Drive.
Thanks

"The situation is I have a published Editor Add-On, which I'm updating with ReDriveApp. What would be the additional required process for my users in order to make the old files usable?"
User's would need to select the files with the Drive file picker. Be sure your app's App ID (GCP project number) is passed when constructing the picker: https://developers.google.com/drive/picker/guides/sample
"Also very basic question. I am working on the new version of the Add-On in the different project. It was Test Deployed with full drive scope. What do I need to do to make ReDriveApp work? It seems like whatever file ID i'm trying to get - it sees none of them on my Drive."
It should work as-is on files it creates after you switch to the /drive.file scope and start using ReDriveApp. For files created prior, you'll need to have them selected via Drive File Picker (see above).
Basically for one of my Add-ons, after I migrated to /drive.file and ReDriveApp, I added code to detect if my Add-on could not open a file from Drive that it normally should have been able to. In those cases, I send the end-user an email (via Mail app) notifying them of the issue, and directing them to a help page on my Add-on's website instructing them on what to do (i.e. create or select a new input file, or use the Drive file Picker to re-select the old one).


Add confirmation prompt to skip stacking button

Hopefully to prevent people from accidentally skipping while they did not want to


Go through TODOs in generated code

Description

Looking through the TODO functions in https://github.com/sigstore/timestamp-authority/blob/main/pkg/generated/restapi/configure_timestamp_server.go, the TODOs are around mostly server configuration.  I'm not sure there is any other configuration to add at the moment. Looking at the Rekor equivalent of this file, there aren't any configurations in Rekor that we are not currently using. Below is a breakdown of the TODOs:

Configuring flags for API server options here

currently our server CLI arguments are accounted for in https://github.com/sigstore/timestamp-authority/blob/main/pkg/generated/restapi/server.go. Are there other flags you were thinking of setting?

Swagger docs UI has been disabled here. Is there a reason to keep this disabled?
Configuring custom TLS is here

Rekor does not set any custom TLS configurations either. Is there any kjind of custom configuration we wanted to start using across any of the components?

Configuring server here

I don't think there's anything else we to configure here beyond the command line options already accounted for

Setting up middleware here

This is for setting middleware for handler executors
All of our middleware is already accounted for in setupGlobalMiddleware
Following the comments on both of these functions, I think our middleware functionsshould remain in the function they are initialized in. Is there any other middleware we want to add?

I think these empty configuration functions can be left as is for now.

Are there other flags you were thinking of setting?

Nope, good as is!

Swagger docs UI has been disabled here. Is there a reason to keep this disabled?

We are hosting it on a separate endpoint (https://www.sigstore.dev/swagger/), so we should keep it disabled. I have added an issue to figure out how to hook up the swagger output here to this though

Is there any kjind of custom configuration we wanted to start using across any of the components?

No, we shouldn't support TLS for now, I think we should expect TLS termination is done via a proxy or ingress.

I don't think there's anything else we to configure here beyond the command line options already accounted for

SGTM

Setting up middleware here

Middleware LGTM

So the only other TODO I found that's relevant is https://github.com/sigstore/timestamp-authority/blob/main/pkg/generated/client/timestamp/timestamp_client.go#L61 and https://github.com/sigstore/timestamp-authority/blob/main/pkg/generated/client/timestamp/timestamp_client.go#L98
However, I'm not sure how to fix those because they're in generated code. Also, there is nothing to validate - CertChain takes no params, and Response will fail if the request is not valid a asn1 timestamp request. So I think this issue should be good to close

Great, I'll go ahead and close it.


When using my own custom voice, I get random words at the start of each line

When I use my own custom voices, It adds random words at the beginning of each line of the script.
How can I stop this from happening?
Thanks

Hello. Could you please explain the issue you encountered in more detail? It would be helpful if you could attach the input text and output audio. Please help us resolve the issue more quickly.


fix(example): fix README on car-trade

Describe the bug
The README on example/car-trade lacks some information
To Reproduce
Fix README

@takeutak Can this issue be closed now that the linked PR has been merged?


ci(coverage): set codecov token

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

Project coverage is 30.02%. Comparing base (0037fc7) to head (249720c).
Report is 59 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #237      +/-   ##
==========================================
+ Coverage   28.58%   30.02%   +1.43%
==========================================
  Files          42       41       -1
  Lines        1046      996      -50
  Branches       71       36      -35
==========================================
  Hits          299      299
+ Misses        733      697      -36
+ Partials       14        0      -14

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


history glitch in chrome

same history item is added on every /history visit
fix needed

f589d5b04ac1cf5d438b4125bbb2800cb41bdba6

cant close until updated on website

fedc71217f082edb6d9e0a469b7a68d9a0cee67d


Upgrading from 3.0.0-rc3 to 3.0.0 causes loss of all Spaces and users don't have access to their own personal files

Describe the bug
Upgraded from 3.0.0-rc3 to 3.0.0 to see if a bug was fixed that caused multiple folders to show up after creating one.
After running the new docker container with same settings as before, my personal user has lost access to all personal files, and all Spaces have been deleted.
Steps to reproduce
Steps to reproduce the behavior:

Running 3.0.0-rc3
deploy new 3.0.0 container
login

Expected behavior
I expect all files to still be present
Actual behavior
All Spaces were deleted, and users have no access to files.
Setup
I am using basic OCIS docker config behind Caddy 2
Additional context
Rolling back to rc3 allows me to access my user files again, but all Spaces are still missing.

Those errors do exist in my logs.
I do not have any of the 3 envvars that are listed in the upgrade documentation.  I guess that since rc3 was still using xattrs, I need to go through the same steps as if I were upgrading from 2.0 to 3.0?

Shouldn't be necessary if you had a running 3.0.0-rc.3. But I'm wondering why it failed on the upgrade for you.
Could you try running 3.0.0 with OCIS_DECOMPOSEDFS_METADATA_BACKEND="messagepack"`?

WOW.
Reverted back to rc3 again....now EVERYTHING is gone, except my users.  FML.  I guess I get to restore user files from my RCLONE jobs now.

You need to change OCIS_DECOMPOSEDFS_METADATA_BACKEND to xattrs if you want to use rc3 again. My guess is that something went wrong in metadata migration.
You can also try running 3.0.0 with xattrs backend

and now it won't start.

The upgrade documentation strongly recommends to do a full backup first, which is neessary to avoid data loss when a revert is needed. Partial reverting is not allowed nor possible. Could you do a full restore from backup, follow the upgrade guide and tell where the issue occurs?

I'm rolling back my zfs snapshot to last known good working configuration.  I will begin testing from there.

Rolling back to a ZFS snapshot has gotten me back to normal.
I will snapshot and proceed to try another upgrade, utilizing the ENVVARS as discussed.

:+1: Probably something went wrong during xattrs->messagepack migration. It happens automatically when you start 3.0.0 for the first time. Keep an eye on the logs maybe it tells us what went wrong the first time.

Which error are you talking about? What happens on initial start of 3.0.0 ? You should see a log like
"Migrating to messagepack metadata backend..."

probably followed by an error.

Which error are you talking about? What happens on initial start of 3.0.0 ? You should see a log like
"Migrating to messagepack metadata backend..."

probably followed by an error.

The same errors I previously mentioned:
https://github.com/owncloud/ocis/issues/6518#issuecomment-1591371900
I never saw anything about messagepack, but that could be because as soon as it started, it started the other 2 errors and spammed everything.

I never saw anything about messagepack, but that could be because as soon as it started, it started the other 2 errors and spammed everything.

Strange. It shouldn't try to get an user when nobody tries to login.

{"level":"error","service":"idp","error":"ldap identifier backend get user error: user does not exist or too many entries returned","time":"2023-06-14T14:44:13.172535732Z","line":"github.com/owncloud/ocis/v2/ocis-pkg/log/logrus_wrapper.go:50","message":"IdentifierIdentityManager: fetch failed to get user from userID"}

This is the important error, the other one is just a follow-up.
Does it start to throw this error directly when you start ocis? I mean before you login?

It is likely throwing the error immediately because I have an RCLONE webdav connection to my server, and I have the app on my phone, so multiple devices trying to login immediately when it comes back online.  I would have to pull my devices off, wife, kid, etc, so that nothing is trying to login to quiet the logs.  It's a huge coordinated effort, sadly.  I'll see if I can find some time to run through the scenarios this weekend.
All I wanted was a self hosted Google Drive replacement...and I love the simplicity of configuring OCIS (and the speed without the overhead of all the different components), but man, when it fails, it fails.

I see. This could be the problem. If someone logs in during xattrs -> messagepack migration it could potentially break the respective user.
I'll try to reproduce this tomorrow...

I may have time tomorrow as well to try and get everyone logged out and try again.

I could not reproduce so far by spamming the server with requests. But I still think something goes wrong during migration.
If you don't want to log out all your users you can try running ocis with OCIS_RUN_SERVICES: "storage-users,nats". This will only start storage-users service (which does the migration). Your clients still can't connect as proxy is not running. Maybe we can see migration logs then, they should tell us what went wrong.
If there are no errors, remove the envvar and restart ocis. If the problem is still there it was not the messagepack migration.

OK.  I configured that ENVVAR and started it up (after doing a snapshot with OCIS off, of course)
I finally see the migrating to messagepack message.
{"level":"info","root":"/var/lib/ocis/storage/users","time":"2023-06-16T12:21:49.441395153Z","caller":"github.com/cs3org/reva/v2@v2.14.0/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:45","message":"Migrating to messagepack metadata backend..."}

That seems like a good sign that I can actually see that, and not the errors spamming the logs.  That's helpful, thank you.
How long would this process take?  I only have a couple hundred GB of data in there, but lots of small files.  Should I see a message when completed that it's done?

Yes there should be a log like
{"level":"info","time":"2023-06-16T12:30:05.267986656Z","caller":"github.com/cs3org/reva/v2@v2.14.0/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:106","message":"done."}`

Unfortunately I can't give you an ETA. But the size of the files doesn't matter. Only the amount is relevant as it needs to rewrite metadata for each.

perfect.  Thank you.
I will wait and see what happens.

Thank you for all your assistance.
It appears the cause of my problems was that I didn't know when migration was working, or complete.  After over 5 hours, it finally finished, I removed that ENVVAR and fired it back up normally.  Everything is as it should be at this time.  I thought I was going to have to start over.

@flamingm0e thanks for your input. I will asap file an update to our upgrade guide with the info provided.

Addon, mind to tell how many files have been affected for upgrading?

I have a ton of files.  I don't know how many.  Is there a quick way to figure that out?


[editor]: Support pyc in preview

Please add support for .pyc files to the editor preview.
Generated by adamraichu.zip-viewer

It appears that pyc files are not text files. Rather, they contain bytecode. As such, I will not be supporting previewing them in this extension, unless you can show me some information that convinces me otherwise.


{Compute} az vm/vmss create: Update notification message for Trusted Launch by default

Related command

az vm/vmss create
az disk create
Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute


RG353M won't boot

Hello. I downloaded the latest ArkOS image, but my RG353M unit doesn't start at all. Just black screen

I used different SD cards
Used both Apple Pi and balena for flashing
Default SD boots
JELOS boots fine (from the first attempt)

I found some related threads for other devices:

https://github.com/christianhaitian/arkos/issues/515
https://github.com/christianhaitian/arkos/issues/439

Also tried dd under Linux. I was able to mount ext4 partition, so I think the flashing was fine. Any way to enable some kind of debug log of boot process?
Partition table looks like
/dev/sdc1     16384    24575     8192    4M unknown
/dev/sdc2     24576    32767     8192    4M unknown
/dev/sdc3     32768   237567   204800  100M unknown
/dev/sdc4<PHONE_NUMBER>3167 14745600    7G Microsoft basic data
/dev/sdc5  14983168 15521791   538624  263M Microsoft basic data

I was not able to mount three first partition though

Do you get a logo screen at all?  Does it at least do the initial setup?

somehow, pressing power button for some long/short time I was able to boot into logo, but it hang
I restarted the device and it continued to boot normally
the next day device died (?) no led, doesn't react to power button, so I send it back

Perhaps, faulty device

Did you make sure to fully charge the device first?


Change default value of agent-get-resource-backoff config option

Description
This PR changes the default agent backoff time from five to three seconds.
Self Check:

[ ] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches master in 4de1e94ca4e3c72e7081a7a53e13d39577473b5e


Incremental file saved incrementally during execution rather than whole thing at the end

Is your feature request related to a problem? Please describe.
If a mutation testing run is interrupted prematurely the results up to that point are lost.
Describe the solution you'd like
It would be nice to have an option to update the incremental file after X number of mutations (maybe not after every mutation passes/fails). That way you could still make progress towards completing a large increment even if you need to interrupt the process.
Describe alternatives you've considered
I have attempted to write a node function which will mutate a file at a time but I am having trouble getting it  to correctly update the files at the end of each run for some reason. Also, there is the overhead of startup for each file.

Hmm, this is a great feature 👏.
As an alternative, we could also add a register an unexpected exit handler. So when you exit (for example, by pressing CTRL+C) we could write the intermediate file to disk.
Do you want to work on this feature?


no escape for quotes, wrong semicolon inside and there is no semicolon at the end of console.log

Why uppercase? where is the semicolon? Escape charater for qoutes? Example at line 28, 29, Opportunity to replace (maybe in settings) curretn line $1 with console.log($1);
current behavior:
![console-log-issue](https://cloud.githubusercontent.com/assets/2714036/18203298/d4c8a2c0-711e-11e6-8977-19f7df75b59d.gif)
expected behavior:
![console-log-issue](https://cloud.githubusercontent.com/assets/2714036/18203491/fe9e8596-711f-11e6-9a17-56709c848db8.gif)

@designofhumanity,
re: the uppercase, that is a default behaviour, i chose it to make the identifier standout. There is actually a configuration in the package that should let you choose the case of the identifier (refer image)
same thing for semicolons, the linter I tend to use does not really care about semicolons, but it is a configuration.

@designofhumanity ,
good point about escape character for quotes, and ignoring a semicolon at the end, I'm a bit strapped for time so if you want to submit a PR that would be great, or I shall look into this a bit later. I'm going to close this and open a new bug with these two points for clarity.


Anemometer

Added support for an anemometer based on digital hall effect sensor or reed switch that counts number of turns the anemometer cups rotate for a given period of time

Revert 'main' merge + reset merge + fetch/rebase


No API to update application custom attributes

Is an API missing or it doesn't exist yet?
https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/user-management-rest-api?locale=en-US

Hi @mperumalswamy,
Thanks for your question. Could you please clarify what do you mean by custom attributes here and if possible give an example?
BR,
Valentin

In the PUT API from help page which I mentioned is not in api.sap.com. Then this API can be used to update different fields/attributes of IAS actually but only status attribute is mentioned in the documentation. I would also be happy to give a PR with the improvements.

Hi @mperumalswamy,
Thanks for the clarification. You can update the different user attributes via the https://api.sap.com/api/IdDS_SCIM/path/updateUser api. Have you already checked it?
The API that you have commented is for the deactivation of an SP (service provider) user, that's why it contains the status attribute  with its values active and inactive.
BR

Hi @ValAta , we would like to update the spCustomAttributes. So the current PUT API which I mentioned should also work for it. Correct?

Hi @mperumalswamy , the PUT SP User Deactivation is only for the update of the status attribute, and not for other attributes.
BR,


Move polyglot functionality too features/Items

it would be nice if we could add polyglot to items/features

https://github.com/League-of-Foundry-Developers/fvtt-module-polyglot/issues/123


[Bug report] In the early morning, ES migration data multiple ES nodes stuck on CFS for about 5 minutes

Describe the bug
In the early morning, ES migration data multiple ES nodes stuck on CFS for about 5 minutes，I checked：

[X] Network traffic
[x] DN load

Environment
cfs-client -v
ChubaoFS Client
Version : v2.1.0
Branch  : master
Commit  : 1c7f69a77f8d136a5c1c4d71e47156dcea44b403
Build   : go1.12.6 linux amd64 2020-08-12 14:12

cfs-server -v
ChubaoFS Server
Version : v2.1.0
Branch  : master
Commit  : 820b4b58094baa49d9cf0ba9507d5656424dc8aa
Build   : go1.12.6 linux amd64 2020-08-28 07:29

To Reproduce
In the early morning, a large amount of data was migrated from the SSD ES node to the CFS ES node of the SATA disk，About 5-6 nodes out of more than 100 ES nodes will get stuck
Expected behavior
The local disk ES does not have this problem. CFS did not appear before, it seems to appear after updating the DN version and turning on automatic repair
Additional context
client_warn.log

After closing all DN AutoRepair, it did not appear again last night

caused by write error, fixed by https://github.com/chubaofs/chubaofs/pull/867

I'm going to close this issue based on the comments before. @zcola please feel free to re-open it if you find it still happens.