openapi: Combine both openapi markdown extension to a single extension.

Currently api_description and api_code_examples are the two markdown
extensions related to openapi. Combine them to a single markdown
extension created in the openapi folder for clearer understanding
of code and also for a better development of the future markdown
extensions related to openapi.

Merged as 3ffc9466c9d38e60dc3cca89deecd8951c369c52, after making the commit message more accurate (there's a third openapi extension this doesn't touch) and readable, and redoing that bit of line-wrapping.  Thanks @orientor!


🛑 Example: Broken Site is down

In 21fc583, Broken Site (https://thissitedoesnotexist.com) was down:
HTTP code: 0
Response time: 0 ms

Investigating: We are looking into the issue and will report back asap.

This test issue has been resolved.


cnf_cert | Updating certsuite call for HEAD version

TestDallasWorkload: tnf-test-cnf tnf-test-cnf:ansible_extravars=tests_to_verify:[]

[x] tnf stable (launched here) - https://www.distributed-ci.io/jobs/e8affb28-1e4e-442d-81cc-a8bd5b288d0f/jobStates?sort=date
[x] tnf unstable (launched from https://github.com/test-network-function/cnf-certification-test/pull/2181) - https://www.distributed-ci.io/jobs/a8ac738d-2c8d-4fe5-ab85-aa693bdba711/jobStates?sort=date

Adapting the code to the new way of launching certsuite, included in https://github.com/test-network-function/cnf-certification-test/pull/2181
Using an always clause to always retrieve the output from tnf exec
Removed extra arguments when building the tnf container image for PR testing, they seem to be no longer needed

Change is ready for merging but I'll wait for the merge of https://github.com/test-network-function/cnf-certification-test/pull/2181, these two changes need to be merged at the same time.


Added button for TinyMCE shortcodes with popup window

Closed the other PR because this branch has more.

This looks awesome! Definitely a great start to implementing shortcodes! Well done @colin-marshall!!!


IdentityTokenValidationEndpoint missing

Am I correct in assuming that IdentityTokenValidationEndpoint has not yet been implemented in IdentityServer4?
It exists as an option in EndpointOptions however the actual endpoint class does not seem to exist.
I am writing a Angular SPA application using the Implicit flow and would like to validate the identity token from the client. If this endpoint has indeed not yet been implemented is there a recommended work around to use?
Also when is it planned to be implemented?
Thanks for a brilliant product, you guys rock.

Yep - this endpoint is not implemented yet. No high prio plans to bring it back right now.
Use a JS lib that does local validation e.g. Brock's oidc-token-manager in the IdentityModel org.

OK thanks for the clarification and for the quick response!


dependencies - Bump k8s.io/cli-runtime from 0.27.2 to 0.28.2

Bumps k8s.io/cli-runtime from 0.27.2 to 0.28.2.

Commits

updated-dependencies:

dependency-name: k8s.io/cli-runtime dependency-type: direct:production update-type: version-update:semver-minor ...

OpenAPI issue ... See previous updates. Discard.


Stronghold.load() is slow

In my JS code, I run the following code:
appDataDir()
.then(async dir => {
  console.log(dir)
  const vaultPath = `${dir}/vault.hold`;
  const vaultPassword = 'vault_password';
  const stronghold = await Stronghold.load(vaultPath, vaultPassword);
  console.log("TEST");
})

The time between the first and second log is always somewhere between 1 and 2 minutes. Is there a reason why Stronghold.load() is so slow for me?

Nevermind. I'm still not sure what the issue was, but clearing the app's storage, though I had already tried that before, solved the issue for now.

Apparently, it only becomes slow after saving a value.

I'm having trouble with the underlying iota_stronghold being slow as well. Also typically between 1-2 minutes.

In case anyone else is struggling with this, I was able to get the underlying iota_stronghold working smoothly by downgrading the version to 1.0.5.

I also have this issue.

It seems that it is only slow for me in debug target, but not release. Is this also the case for you?

@gabriel-le Yes, it's the same here.

I went into IOTA's discord and found someone raising up the same issue, one of the members asked to run the program in --release mode, which does makes it faster. But didn't provide any other details

I went into IOTA's discord and found someone raising up the same issue, one of the members asked to run the program in --release mode, which does makes it faster. But didn't provide any other details

yes in release mode it's faster.

Running in release mode does make things a bit more inconvenient.
Just as a workaround, I created a simple class with getKey, setKey and removeKey methods. Using env variables to check if I'm in DEV or PROD if in DEV I use localStorage just to quickly test without having to wait, and only in PROD will be using stronghold.

Running in release mode does make things a bit more inconvenient.
Just as a workaround, I created a simple class with getKey, setKey and removeKey methods. Using env variables to check if I'm in DEV or PROD if in DEV I use localStorage just to quickly test without having to wait, and only in PROD will be using stronghold.

yes, this is very neat.


Muted players incorrectly steal the audio session

When using an audio app, opening an application using Letterbox for playback (with the player muted) stops playback of the first audio application. This should not be the case.
Issue type
Incorrect behavior
Environment information

Library version: Any
iOS version: Any
Device: Physical

Reproducibility
Always reproducible
Steps to reproduce

Play some audio with a dedicated app (e.g. Spotify).
Open Letterbox demo. Audio continues in the background
Open one of the Autoplay demos, for which players all are muted. Audio stops, but shouldn't.

AVPlayer playing with muted = YES has an active audio session.
To allow audio from other applications, the AVAudioSessionCategoryOptionMixWithOthers options has to be set to the category. this option is only available on some categories, included AVAudioSessionCategoryPlayback, the one we use.
Proposition 1 is to add a property on service to set or remove it.
I'm not convince to track all SRGLetterboxController instance to listen muted and playbackState change.

After a discussion with @fredhdroz, the application should manage the AVAudioSession itself.
Proposition 2:

Set AVAudioSessionCategoryPlayback with no option at the service initialisation, first time. It will cover most applications usage.
If the application wants to manage options, it's its responsabilty.
Don't change the category when disable a controller from the service, as it may not required by an application playing content.

disable on SRGService should be retested and documentation updated.
See feature/audio-session-muted.

Fixed. Audio session management has been entirely removed from Letterbox.


fix: Use annotation based column name

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Fixed some unit tests. Now only 4 left. testListUrnsForSoftDeletedAspect x2 testListUrnsOffsetPagination x2
Moved to use annotation based column. Deleted unused code.
Minor fix here and there.


Black screen after Actions.SCENE() with no transition

Version
Tell us which versions you are using:

react-native-router-flux v3.35.0
react-native v0.32.1
react-native-maps v0.8.2

Device
Sony Xperia T / Android 4.4.4 / CyanogenMod M12 (11-20141112)
Expected behaviour
Scene is being rendered properly
Actual behaviour
Scene screen is black, only little area in bottom left corner is visible
(check http://mss-clan.wbs.cz/black_screen.png)
Steps to reproduce

Go to scene containing <MapView ...> (component from react-native-maps package)
Now redirect to a scene without transition (<Scene ... duration={0} key="anotherScene">

Strange thing is that even i cant see almost anything, im still able to press underlying buttons, so the screen seems to be loaded but not rendered properly - it is like covered by black area.
After minimizing and maximizing the app, i can see whole target scene properly.
Anyone facing this issue ?
EDIT:
Just found out this is not happening on another (newer) device.

I am encountering the same problem with:
UMI Touch / Android 6

react-native-router-flux v^3.35.0
react-native v^0.33.0
react-native-maps v^0.8.2


Pyramid support

I've created https://github.com/niteoweb/pyramid_openapi3, where could we put that for people to notice, in the README?

Would you mind if the wrappers you've made are integrated here? I'm working on Django support myself.

I don't mind, but I see no compeling reason to do so - frameworks usually move at different paces, so maintaining all integrations at one place requires overhead.

@domenkozar imho it should be in README (Related projects section).


two issues

1  when build and cook linux server, there is lots warning like this:
[11:10:16][Step 5/6] UnrealBuildTool: We failed to find /fo, which may be a problem.
[11:10:16][Step 5/6] UnrealBuildTool: Action.CommandArguments:  -c -pipe -nostdinc++ -IThirdParty/Linux/LibCxx/include/ -IThirdParty/Linux/LibCxx/include/c++/v1 -Wall -Werror -funwind-tables -Wsequence-point -fno-math-errno -fno-rtti -fdiagnostics-format=msvc -Wno-unused-private-field -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-unused-local-typedef -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-unused-variable -Wno-unused-function -Wno-switch -Wno-unknown-pragmas -Wno-invalid-offsetof -Wno-gnu-string-literal-operator-template -Wshadow -Wno-error=shadow -Wundef -Wno-error=undef -Wno-unused-value -fomit-frame-pointer -gdwarf-3 -O2 -fno-exceptions -DPLATFORM_EXCEPTIONS_DISABLED=1 -D_LINUX64 -target x86_64-unknown-linux-gnu --sysroot="C:\v8_clang-3.9.0-centos7\x86_64-unknown-linux-gnu" -I"C:\BuildAgent\work\24c385fd8bd91eb\Engine\Source" -I"Runtime/RHI/Private" -I"Runtime/RHI/Public" -I"Runtime/RHI" -I"Runtime/Core/Public" -I"Runtime/Core/Public/Internationalization" -I"Runtime/Core/Public/Async" -I"Runtime/Core/Public/Containers" -I"Runtime/Core/Public/Delegates" -I"Runtime/Core/Public/GenericPlatform" -I"Runtime/Core/Public/HAL" -I"Runtime/Core/Public/Logging" -I"Runtime/Core/Public/Math" -I"Runtime/Core/Public/Misc" -I"Runtime/Core/Public/Modules" -I"Runtime/Core/Public/Modules/Boilerplate" -I"Runtime/Core/Public/ProfilingDebugging" -I"Runtime/Core/Public/Serialization" -I"Runtime/Core/Public/Serialization/Csv" -I"Runtime/Core/Public/Stats" -I"Runtime/Core/Public/Templates" -I"Runtime/Core/Public/UObject" -I"Runtime/Core/Public/Linux" -I"Runtime/Core" -x c++ -std=c++14 -include "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Linux\B4D820EA\NovaServer\Shipping\Core\SharedPCH.Core.h" -include "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Linux\B4D820EA\NovaServer\Shipping\RHI\Definitions.RHI.h" -o "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Linux\B4D820EA\NovaServer\Shipping\RHI\Module.RHI.cpp.o" "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Linux\B4D820EA\NovaServer\Shipping\RHI\Module.RHI.cpp"
[11:10:16][Step 5/6] UnrealBuildTool: We have no OutputObjectFileName. Bailing.
and
We failed to find /OUT:, which may be a problem.
then
UnrealBuildTool: FBuild: Error: BUILD FAILED: all
2 when build engine, sometimes failed to parse project header, like this:
[11:15:32][Step 5/8] UnrealBuildTool:   Running UnrealHeaderTool "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Nova.uproject" "C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Win64\Nova\Development\Nova.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
[11:15:33][Step 5/8] UnrealBuildTool: Error: UnrealHeaderTool failed for target 'Nova' (platform: Win64, module info: C:\BuildAgent\work\24c385fd8bd91eb\Projects\Nova\Intermediate\Build\Win64\Nova\Development\Nova.uhtmanifest, exit code: CrashOrAssert (3)).
[11:15:33][Step 5/8] CommandUtils.Run: Run: Took 2.5268628s to run UnrealBuildTool.exe, ExitCode=3
if I rebuild the engine, then it's OK.
thank for your help!

Hi there!
For the first issue I'm not sure which compiler is used to compile for Linux... on Windows? I haven't ever tried that! But it looks like it might be using clang, so to get that working you will likely want to add an additional build type so that it can parse out the parameters correctly. Starting with the orbis/PS4 configuration should get you most of the way there as it also uses clang!
The second issue I also haven't seen, but it vaguely looks like the UnrealHeaderTool is crashing during your build! I'm not sure why that would be, but if it happens reliably, I would start a debugging session of the UnrealHeaderTool with the same parameters it is using to see if there's something you can see.
I hope that helps!
Cheers,
Liam


Filter "custom-build" artifact kinds from automatching

If a project uses build.rs, cargo will add a "custom-build" artifact
kind to the build which is confusing information because we can only use
concrete compiled "bin" or "example" binaries for binutils, so let's
only admit real "bin" or "example" kinds into the auto matcher.
Fixes #81
Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

r? @adamgreig
(rust_highfive has picked a reviewer for you, use r? to override)

CC @ZeroErrors


Support component flattening

Improves Oswald build alignment with fontmake as run by gftools. See https://github.com/googlefonts/fontmake-rs/issues/250#issuecomment-1513807429.
Builds on #267.
Once this plus the PRs it builds on are merged the largest source of difference in glyf for Oswald is that we don't remove implicit on-curves.

it just occurred to me that, after flattening components, we may end up with orphan glyphs that are no longer used by composite glyphs and may also have no direct cmapping nor be substituted to from GSUB rules so they are basically dead weight, which a subsetter --unicodes='*' would surely get rid of, but maybe the compiler could/should be smarter and avoid them to be left in.
see https://github.com/googlefonts/ufo2ft/issues/692

after flattening components, we may end up with orphan glyphs ...

Good point, filed https://github.com/googlefonts/fontmake-rs/issues/270


@vision with local .png returns error 400

I have configured the api key and set openai o1-preview as model
and getting
2024-11-21 14:18:05.659 [error] Error: 400 Invalid content type. image_url is only supported by certain models.
at Function.generate (c:\Users\slaye.vscode\extensions\ms-vscode.vscode-copilot-vision-0.1.1\out\extension.js:9100:32)
at c.makeStatusError (c:\Users\slaye.vscode\extensions\ms-vscode.vscode-copilot-vision-0.1.1\out\extension.js:8783:33)
at c.makeRequest (c:\Users\slaye.vscode\extensions\ms-vscode.vscode-copilot-vision-0.1.1\out\extension.js:8808:138)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at create (c:\Users\slaye.vscode\extensions\ms-vscode.vscode-copilot-vision-0.1.1\out\extension.js:1722:21)
at Bk.y (c:\Users\slaye.vscode\extensions\ms-vscode.vscode-copilot-vision-0.1.1\out\extension.js:1894:27)
at Wg.$invokeAgent (file:///c:/Users/slaye/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:45819)
same issue if I try with other models.
also tried the pre release plugin versio and getting the same issue.
one note is my copilot user is different than the user providing the token for api consumption, if that makes any difference

v0.1.1
Published
2024-10-19, 05:24:55
Last released
2024-11-13, 17:51:13
Last updated
2024-11-21, 14:11:29
Identifier
ms-vscode.vscode-copilot-vision

I had the same issue. It worked for me when using
Model: gpt-4
Model version: vision-preview

looks like the issue is with the model - keep in mind that only certain deployments of gpt support vision!


[QUESTION] Is there a module-create function?

@hlissner I remember there is a module-create function which is used to create module.
but I can't find now. Could you tell me?

There is no module create command. The :editor file-templates module offers file templates for doom modules (config.el, packages.el and README.org), but otherwise you have to create the files and directory yourself.
General commands to assist with extending Doom in general are planned, but it will take a while for me to get there. I'll keep you posted.

@hlissner thanks


[BUG] Weird error when building docker image

Current Behavior
I get this error when i try to build my docker image, normal builds work
Expected Behavior
Should build image
Github Repo
No response
Steps to Reproduce

Nx Report
...

nx.json
...

Failure Logs
No response
Additional Information
No response

You'll need to copy node_modules/@nx-dotnet/core into your node_modules, or remove the boundaries check from your build process.

You'll need to copy node_modules/@nx-dotnet/core into your node_modules, or remove the boundaries check from your build process.

Thank you! it works on my end now.
I chose the latter approach, and it works, by removing this tag.
  <Target Name="CheckNxModuleBoundaries" BeforeTargets="Build">
    <Exec Command="node<EMAIL_ADDRESS>--project-root "$(MSBuildProjectDirRelativePath)""/>
  </Target>


Customer Table

Create a Customer table within the customer view
Instantiate a new customer within the table with dummy data.
Table columns should have
ID | Name | Active |Address | City | Country | Modify | Delete
Testing:
When logging-in to the application as the demo user
You should be able to

Click on the customers' button and see the table with all the instantiated demo customers.
Click on Add to add a new customer
Click on Modify to Modify an Existing Customer
Click on Delete to Delete a Customer

Customer view finished!


Completion admin into quickstart/thumbnails

Patch for https://github.com/firebase/functions-samples/issues/485

Thanks @bravotan !


golang filter: should not escape envoyGoFilterHttpDrainBuffer

Commit Message:
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

envoyGoFilterHttpDrainBuffer(void* r, unsigned long long int buffer, uint64_t length)

Oh, I don't think we need noescape for envoyGoFilterHttpDrainBuffer, since there are no arguments that will be escaping, *r is already in heap.


spelling mistake in README file

"Moongoose" instead of "Mongoose"
I want on this issue

Please assign me this issue so that I can resolve it under GSSOC-23

i can resolve this under GSSOC 23

sir can you assign this issue to me?


Create 0000-01-02-lorilynn37.md

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


Fix (I think) the --has-dap and --has-dap4 output

The has_dap4 define was missing trailing @.  I also added tests similar to other code to result in lowercase yes no for --has_dap4.
I'm not as sure about the --has-dap changes.  One place was outputting $has_dap which is never defined.  I think that the intent is that --has-dap returns the same as --has-dap2 so made changes that did that.  If that isn't the intent, then let me know and I will back out those changes and only leave the dap4-related change.

Current intent is that --enable-dap => dap2 and dap4. So, it is not supposed to be possible
to turn off dap4 separately from dap2. However for feature reporting purposes, I did
show dap4 separate from dap2.  Looks like I did not get it right. Let me review.

Ok, this looks correct.

I will merge this in to the 4.5.0 release candidate; we should have another (final, I hope) release candidate it out in short order!


Provide a "boxed" spacing / padding strategy

See @justineberger's suggestion over at grunt-svg-sprite #35.

As of release v1.2.2 shape.spacing.box takes "icon" as value which creates a set of same size shape tiles.


Enable GitHub SSO on premise

Hey!
I want to enable the GitHub SSO on my onpremise Docker-based installation of sentry. I couldn't make it work so far.
I added a new application to our GitHub organization. I'm passing GITHUB_APP_ID and GITHUB_API_SECRET to the containers with the docker-compose.yml.
I logged into the running worker container with docker-compose exec worker bash and executed the install
pip install https://github.com/getsentry/sentry-auth-github/archive/master.zip

Afterwards, I ran sentry upgrade.
I logged out, re-build the containers and nothing changed. I expected to see an item under http://<sentry-url>/settings/<org>/auth/
Is this repository still maintained? I also found that sentry-plugins supports a GitHub plugin but that seems to only link the repository? Is that correct?
Greetings
Hendrik

Yes this repo is maintained and used on Sentry.io. You need to install the dep in your container and afaik rebuilding a container would uninstall it unless you pinned it. Either way I’m closing this issue as it’s a usage question and not a but.
https://sentry.io/support.

Ok for anyone finding this: I managed to install this plugin inside of Docker by reading the docs about requirements.txt and then adding the repository URL to the requirements.txt like so:
# Add plugins here
git+https://github.com/getsentry/sentry-auth-github.git@master#egg=sentry-auth-github

@hpurmann could you write a short blog post about it and link to it or update the issue?
What did you do after adding this to the file?
This issue is a top hit on Google for 'sentry onpremis github sso'

how to install plugin from source   on my onpremise Docker-based installation of sentry?
I try these, but not work:
python setup.py  install
Greetings


How can I force use fullcalendar v3.9.0?

Hi!
I am having some issues with fullcalendar v4.0.0-alpha, so I need to fallback to 3.9.0.
How can I archieve this?
Best regards

Try installing<EMAIL_ADDRESS>

Thanks for the respense. I try with 3.0.0 and works fine now (fullcalendar 3.9.0)
Reading som other comments, I have the offset issue when you scroll the page, but It's an issue of v4, not from this package.
Best regards


python312Packages.dash: 2.15.0 -> 2.16.1

Description of changes
This PR bumps the version of the dash python package
Releases:

https://github.com/plotly/dash/releases/tag/v2.16.0
https://github.com/plotly/dash/releases/tag/v2.16.1

The package dropped support for python versions older than 3.8.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 295409 run on x86_64-linux 1

8 packages built:

das
das.dist
picosnitch
picosnitch.dist
python311Packages.dash
python311Packages.dash.dist
python312Packages.dash
python312Packages.dash.dist

LGTM


Zeolites environments centering does not work

When 'center' is on, the structure viewer centres on the centre of the molecule rather than the actual centre of the environment one considers.

That's really weird, since the CSD/chemical shielding example works fine ...

That's really weird, since the CSD/chemical shielding example works fine ...

Yes, exactly. I was surprised by that as well, but for some reason (at least on my machine) the zeolite one does not work.

I have further investigated this and found out the problem has to do with the number of replicated cells.
If it is odd, it just works, if it's even...


[FLINK-27386][hive] Fix assert exception when specific join hint in union statement

What is the purpose of the change
To fix  assert exception when specific join hint in union statement
Brief change log
When encounter a query hint token,  skip it directly just like what Hive does.
Verifying this change
// todo
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature?  no
If yes, how is the feature documented?  no

@luoyuxia , could you rebase the branch and maybe add a test for it ?

@luoyuxia , could you rebase the branch and maybe add a test for it ?

Done.


Update aks kollect command to use Periscope version 0.0.10

This updates the aks kollect command so that it uses the latest Periscope version, which includes enhanced support for Windows log collection (amongst other quality updates).

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

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

❤❤☕🪄 thank you so much for this @peterbom , and hiya @FumingZhang can you please help us to identify why this test is failing. ❤🙏 thank you.

aks

@peterbom Could you please resolve those conflicts?


using google-map Polymer JS element within a Polymer Dart element causes entire element to fail

This issue was originally filed by @terrasea

What steps will reproduce the problem?
After creating a Polymer Dar project

use bower to install polymerlabs/google-map
Create a polymer dart element and include the google-map element
include this element in the index.html page
run build build without any arguments
run a server which serves the files from the created build/web directory

What is the expected output? What do you see instead?
I should see the Polymer Dart element created, displayed in the browser, rendering a google map.
What I see is a blank page with no Polymer Element loaded and I get an error
Uncaught TypeError: Cannot read property 'element' of undefined
with the stack trace of
f.findTypeExtensionprototype.js:205
f.findTypeExtensionprototype.js:206
f.registerPrototypeprototype.js:190
f.registerprototype.js:26
JsFunction.apply$2$thisArgindex.html_bootstrap.dart.js:12848
_hookJsPolymer_registerDart.call$3index.html_bootstrap.dart.js:16605
Primitives_applyFunctionindex.html_bootstrap.dart.js:2553
_callDartFunctionindex.html_bootstrap.dart.js:12709
(anonymous function)index.html_bootstrap.dart.js:12698
d._registerpolymer-element.js:64
e.flushqueue.js:100
e.readyqueue.js:105
e.checkqueue.js:80
(anonymous function)queue.js:162
cHTMLImports.js:220
hHTMLImports.js:237
(anonymous function)HTMLImports.js:186
gHTMLImports.js:210
c
What version of the product are you using? On what operating system?
Dart Editor version 1.5.0.dev_04_15 (DEV)
Dart SDK version 1.5.0-dev.4.15
Gentoo Linux
Using Polymer >=0.11.0-dev.2 <0.12.0
Please provide any additional information below.
It seems the pub build removed any reference to google-maps from the produced entry page. I've attached a copy of a test project as a tar archive, that should give some more info.

Attachment:
test_polymer.tar.gz (1.17 MB)

This issue has been moved to dart-lang/polymer-dart#215.


sampleTerrainMostDetailed does not work for EllipsoidTerrainProvider

Following the recommendation to display polylines at height over terrain, I've been using the function sampleTerrainMostDetailed to compute the heights. However, I've found out that calling this function with an EllipsoidTerrainProvider fails.
While this bug it can be avoided by calling directly to sampleTerrain with a level, it's a bit unconvenient when switching between different terrain providers, since avoiding having to set the maximum tile level for each one.
The sandcastle example for terrain sampling shows this bug, just select the EllipsoidTerrainProvider and click the "Sample Most Detailed Everest Terrain" button, which silently fails. The rest of the features work as expected.
Searching for past issues, I found this comment (https://github.com/AnalyticalGraphicsInc/cesium/issues/4368#issuecomment-407089658), saying that sampleTerrainMostDetailed does not work since the terrain provider used doesn't support availability, which is needed by the function. This is also the case for EllipsoidTerrainProvider.

Hello @floonone, I just fixed this issue in #6824.  It will be included in the 1.49 release which will be published later today.  Thanks!

@floonone I believe your code should just check if terrainProvider.availability is defined before calling sampleTerrainMostDetailed and then you can handle it

Ah yeah, sampleTerrainMostDetailed requires the availability property or it throws a DeveloperError.  Also, if you know that you are using an EllipsoidTerrainProvider, the height on the globe will always be zero.

@mramato that's fair I guess, I had already found a workaround, and you're right, performing the check, and knowing the EllipsoidTerrainProvider will always provide zero height, this problem can be avoided. The intention after this issue was more about having a consistent behaviour with sampleTerrain, which doesn't throw an error, and allows for a more transparent integration, since it removes the need for the check.
I think I'm fine with the solution provided. Thank you both for your time and your work with Cesium!


flutter web The Method 'BlocProvider' isn't defined for the type

Hay, i found some error in my aplication (Flutter Web), when i was create some BlocProvider or BlocListener Widgets in my view and i found this message (error) :

i think this is error not from the package bloc, so i am ask here to find any solution,
this my code :
class HeaderHomeScreen extends StatefulWidget {
    @override
    _HeaderHomeScreenState createState() => _HeaderHomeScreenState();
}

class _HeaderHomeScreenState extends State<HeaderHomeScreen> {
    BalanceBloc balanceBloc;
    BalanceRepository balanceRepository;

    @override
    void initState() {
        super.initState();
        initRepository();
        initBloc();
    }

    void initRepository() {
        balanceRepository = new BalanceRepository();
    }

    void initBloc() {
        balanceBloc = new BalanceBloc(
            balanceRepository
        );
    }

    @override
    Widget build(BuildContext context) {
        balanceBloc.add(BalanceFetching());
        return BlocProvider(
            create: (context) {
                return this.balanceBloc;
            },
            child: BlocListener<BalanceBloc, BalanceState> (
                bloc: this.balanceBloc,
                listener: (BuildContext context, BalanceState state) {
                    if (state is BalanceFetchError) {
                        Scaffold.of(context).showSnackBar(
                            SnackBar(
                                content: Text('${state.error}'),
                                backgroundColor: Colors.red,
                            ),
                        );
                    }
                },
                child: BlocBuilder<BalanceBloc, BalanceState>(
                    bloc: this.balanceBloc,
                    builder: (BuildContext context, BalanceState state) {
                        if (state is BalanceFetchLoading) {
                            return buildCardHeader();
                        }

                        if (state is BalanceFetchSuccess) {
                            return buildCardHeader(balance: state.balance);
                        }
                    }
                )
            ),
        );
    }
}

this is my pubspec.yaml :
dependencies:
  flutter_web: any
  http: ^0.12.2
  equatable: ^1.2.0
  bloc: ^6.0.3
  crypto: ^2.1.5
  dio: ^3.0.9

dev_dependencies:
  flutter_web_test: any
  build_runner: any
  build_web_compilers: any
  test: ^1.3.4

dependency_overrides:
  flutter_web:
    git:
      url: https://github.com/flutter/flutter_web
      path: packages/flutter_web
  flutter_web_ui:
    git:
      url: https://github.com/flutter/flutter_web
      path: packages/flutter_web_ui
  flutter_web_test:
    git:
      url: https://github.com/flutter/flutter_web
      path: packages/flutter_web_test

flutter version :
Flutter 1.20.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fba99f6cf9 (11 days ago) • 2020-09-14 15:32:52 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2

flutter doctor :
[√] Flutter (Channel stable, 1.20.4, on Microsoft Windows [Version 10.0.18362.1082], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[!] Android Studio (version 3.5)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.49.2)
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Sorry this is my mistake


Error when running aerys based on amp v.2 in debug mode -  Class 'Amp\ByteStream\Message' not found

Hi! When I try to start aerys in debug mode, I get an error:
$ ./vendor/bin/aerys -c config2.php --debug
[2017-05-09 23:46:17] warning Running aerys in debug mode with assertions disabled is not recommended; enable assertions in php.ini (zend.assertions = 1) or disable debug mode (-d) to hide this warning.
[2017-05-09 23:46:17] info Using config file found at /var/www/aerys-test/config2.php
PHP Fatal error:  Class 'Amp\ByteStream\Message' not found in /var/www/aerys-test/vendor/amphp/aerys/lib/Body.php on line 5
PHP Stack trace:
PHP   1. {main}() /var/www/aerys-test/vendor/amphp/aerys/bin/aerys:0
PHP   2. Amp\Loop::run() /var/www/aerys-test/vendor/amphp/aerys/bin/aerys:126
PHP   3. Amp\Loop\Driver->run() /var/www/aerys-test/vendor/amphp/amp/lib/Loop.php:53
PHP   4. Amp\Loop\Driver->tick() /var/www/aerys-test/vendor/amphp/amp/lib/Loop/Driver.php:70
PHP   5. Amp\Coroutine->__construct() /var/www/aerys-test/vendor/amphp/amp/lib/Loop/Driver.php:119
PHP   6. Generator->current() /var/www/aerys-test/vendor/amphp/amp/lib/Coroutine.php:61
PHP   7. Aerys\Bootstrapper->boot() /var/www/aerys-test/vendor/amphp/amp/lib/Coroutine.php:61
PHP   8. Aerys\Bootstrapper->init() /var/www/aerys-test/vendor/amphp/aerys/lib/Bootstrapper.php:64
PHP   9. Aerys\Server->__construct() /var/www/aerys-test/vendor/amphp/aerys/lib/Bootstrapper.php:82
PHP  10. spl_autoload_call() /var/www/aerys-test/vendor/amphp/aerys/lib/Server.php:55
PHP  11. Composer\Autoload\ClassLoader->loadClass() /var/www/aerys-test/vendor/amphp/aerys/lib/Server.php:55
PHP  12. Composer\Autoload\includeFile() /var/www/aerys-test/vendor/composer/ClassLoader.php:322
PHP  13. include() /var/www/aerys-test/vendor/composer/ClassLoader.php:440
PHP  14. spl_autoload_call() /var/www/aerys-test/vendor/amphp/aerys/lib/NullBody.php:7
PHP  15. Composer\Autoload\ClassLoader->loadClass() /var/www/aerys-test/vendor/amphp/aerys/lib/NullBody.php:7
PHP  16. Composer\Autoload\includeFile() /var/www/aerys-test/vendor/composer/ClassLoader.php:322
PHP  17. include() /var/www/aerys-test/vendor/composer/ClassLoader.php:440
[2017-05-09 23:46:17] critical Class 'Amp\ByteStream\Message' not found in /var/www/aerys-test/vendor/amphp/aerys/lib/Body.php on line 5

Here is my composer.json
{
    "minimum-stability": "dev",
    "require": {
        "php": ">=7.1",
        "amphp/amp": "^2.0.0",
        "amphp/aerys": "*"
    }
}

Yes, Aerys isn't updated to the lastest amp_v2 changes in amphp/byte-stream yet.

Updated within https://github.com/amphp/aerys/commit/c57215700285bd131b1866650d19cf4113609bcf.


License information is inconsistent

According to the README.md file, this project is licensed under EDL-1.0. According to the information in the artifacts produced, they are licensed under EDL-1.0. But according to LICENSE.md and the "about" section in Github it is licensed under BSD-3-Clause license.
I suggest that LICENSE.md should be updated

EDL 1.0 is a BSD-3-Clause license, see ie https://lists.spdx.org/g/Spdx-legal/topic/request_for_adding_eclipse/67981884 for details


Convert access application

Description

Converts Access Applications to the ResourceContainer to simplify usage
Adds support for auto pagination for Access Applications

Has your change been tested?
Existing test pass
Screenshots (if appropriate):
Types of changes
What sort of change does your code introduce/modify?

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

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.
[X] This change is using publicly documented in cloudflare/api-schemas
and relies on stable APIs.

This started with me wanting to add pagination, but here we are.

The ListAccessIdentityProviders test is broken and still looking into why.

Codecov Report

Merging #1319 (a8d70d7) into master (74e0b34) will decrease coverage by 0.45%.
The diff coverage is 74.86%.

@@            Coverage Diff             @@
##           master    #1319      +/-   ##
==========================================
- Coverage   48.95%   48.50%   -0.45%
==========================================
  Files         135      133       -2
  Lines       13180    12959     -221
==========================================
- Hits         6452     6286     -166
+ Misses       5212     5161      -51
+ Partials     1516     1512       -4

Impacted Files
Coverage Δ

access_audit_log.go
79.31% <0.00%> (ø)

device_posture_rule.go
61.80% <ø> (ø)

options.go
61.01% <ø> (-3.05%)
:arrow_down:

teams_devices.go
52.63% <ø> (ø)

dns_firewall.go
7.69% <10.00%> (-13.74%)
:arrow_down:

tunnel.go
42.41% <66.66%> (+1.01%)
:arrow_up:

access_policy.go
73.45% <75.00%> (-2.87%)
:arrow_down:

access_mutual_tls_certificates.go
70.27% <76.47%> (-1.96%)
:arrow_down:

access_application.go
73.68% <76.78%> (-2.84%)
:arrow_down:

access_identity_provider.go
66.32% <78.00%> (-3.68%)
:arrow_down:

... and 8 more

... and 1 file with indirect coverage changes


TROCR: how to get the word level confidence score using the source code

Hi @wolfshow and all,
Thank you for your excellent work on text recognition.
I am trying to get the confidence of the word level with your source code without using the Hugging face transformer versions because it has some issues with their current git repo.
Can you please point me to some way that I can do in your "pic_inference.py"?
Thank you in advance!

Hi all and @liminghao1630,
Thank you again for your wonderful work!
I don't know whether we can get the word-level inference confidence from the source code. For example, in the "pic_inference.py", we can get the recognition results for words, but if some handwriting words were cursive, then, the recognition may not be right.
Do we have some way to tell whether the recognition result is good or not using some method, such as confidence?
Thank you in advance!

Hi @tairen99
did you find a way to get the confidence score?

Hi @tairen99 @acharjee07,
Is there any option of getting that confidence score??
Thanks all

@tairen99 @acharjee07 @mifuegon I would like to know how to get confidence score of TrOCR. Did you guys find a solutuon?

So, this answer is for getting confidence scores with HuggingFace, but people here may find it useful as well, so posting anyways.
When calling model.generate() on the TrOCR VisionEncoderDecoder model, you need to set both output_scores=True and return_dict_in_generate=True in order to obtain scores:
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-handwritten").to(device)
...
return_dict = model.generate(pixel_values, output_scores=True, return_dict_in_generate=True)

However, TrOCR by default uses greedy search to generate sequences, which does not provide a single score but a sequence of scores. See the HF docs on GreedySearchEncoderDecoderOutput: In the returned dictionary, 'sequences' is the returned sequence, and 'scores' is essentially the score for each token before softmax. However, I am not entirely sure how to construct an overall score for the whole sequence using these scores.
Instead, you can use beam search instead of greedy search in your model by changing the model config as such:
model.config.max_length = 10
model.config.early_stopping = True
model.config.no_repeat_ngram_size = 3
model.config.length_penalty = 2.0
model.config.num_beams = 4

Beam search also provides an additional 'sequence_scores' key in the returned dictionary that represents the confidence for the whole sequence. See the docs for BeamSearchEncoderDecoderOutput for more info. These sequence scores look like log-scores, so exponentiating them would give you the probabilities/confidence.
In short, you can get the confidence scores as follows (the config adjustments are from Niels Rogge's TrOCR fine-tuning tutorial):
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-handwritten")

# set special tokens used for creating the decoder_input_ids from the labels
model.config.decoder_start_token_id = processor.tokenizer.cls_token_id
model.config.pad_token_id = processor.tokenizer.pad_token_id
# make sure vocab size is set correctly
model.config.vocab_size = model.config.decoder.vocab_size

# set beam search parameters
model.config.eos_token_id = processor.tokenizer.sep_token_id
model.config.max_length = 10
model.config.early_stopping = True
model.config.no_repeat_ngram_size = 3
model.config.length_penalty = 2.0
model.config.num_beams = 4

pixel_values = processor(im, return_tensors="pt").pixel_values
return_dict = model.generate(pixel_values, output_scores=True, return_dict_in_generate=True)
ids, scores = return_dict['sequences'], return_dict['sequences_scores']
generated_text = processor.batch_decode(ids, skip_special_tokens=True)[0]

I'm fairly new to HuggingFace and VisionEncoderDecoder models as well, so I hope others improve on this answer, but hope this helps.

@semihcanturk
Even though my model is configured with the settings as you provided:
trocr_model.config.eos_token_id = trocr_processor.tokenizer.sep_token_id
trocr_model.config.max_length = 10
trocr_model.config.early_stopping = True
trocr_model.config.no_repeat_ngram_size = 3
trocr_model.config.length_penalty = 2.0
trocr_model.config.num_beams = 4
still for a batched input of(128 images at once), i still am getting the GreedySearchEncoderDecoderOutput and thus not receiving the scores. For a single image it is working fine though.

So, this answer is for getting confidence scores with HuggingFace, but people here may find it useful as well, so posting anyways.
When calling model.generate() on the TrOCR VisionEncoderDecoder model, you need to set both output_scores=True and return_dict_in_generate=True in order to obtain scores:
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-handwritten").to(device)
...
return_dict = model.generate(pixel_values, output_scores=True, return_dict_in_generate=True)

However, TrOCR by default uses greedy search to generate sequences, which does not provide a single score but a sequence of scores. See the HF docs on GreedySearchEncoderDecoderOutput: In the returned dictionary, 'sequences' is the returned sequence, and 'scores' is essentially the score for each token before softmax. However, I am not entirely sure how to construct an overall score for the whole sequence using these scores.
Instead, you can use beam search instead of greedy search in your model by changing the model config as such:
model.config.max_length = 10
model.config.early_stopping = True
model.config.no_repeat_ngram_size = 3
model.config.length_penalty = 2.0
model.config.num_beams = 4

Beam search also provides an additional 'sequence_scores' key in the returned dictionary that represents the confidence for the whole sequence. See the docs for BeamSearchEncoderDecoderOutput for more info. These sequence scores look like log-scores, so exponentiating them would give you the probabilities/confidence.
In short, you can get the confidence scores as follows (the config adjustments are from Niels Rogge's TrOCR fine-tuning tutorial):
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-handwritten")

# set special tokens used for creating the decoder_input_ids from the labels
model.config.decoder_start_token_id = processor.tokenizer.cls_token_id
model.config.pad_token_id = processor.tokenizer.pad_token_id
# make sure vocab size is set correctly
model.config.vocab_size = model.config.decoder.vocab_size

# set beam search parameters
model.config.eos_token_id = processor.tokenizer.sep_token_id
model.config.max_length = 10
model.config.early_stopping = True
model.config.no_repeat_ngram_size = 3
model.config.length_penalty = 2.0
model.config.num_beams = 4

pixel_values = processor(im, return_tensors="pt").pixel_values
return_dict = model.generate(pixel_values, output_scores=True, return_dict_in_generate=True)
ids, scores = return_dict['sequences'], return_dict['sequences_scores']
generated_text = processor.batch_decode(ids, skip_special_tokens=True)[0]

I'm fairly new to HuggingFace and VisionEncoderDecoder models as well, so I hope others improve on this answer, but hope this helps.

I got a tensor value, but when i try to convert using softmax function i always get a tnesor([1.]), maybe its for the gready search that TrOCR does


Problem with BLE transport

When trying to use ledgerjs (react-native-hw-transport-ble), the near application does not respond to any commands sent with near-ledger-js or APDU directly through the transport. At the same time, other applications like bitcoin, ethereum work fine. Through USB, everything works as it should.
Ledger Nano X (1.3.0)
Near App (1.1.6)

after update firmware up to 2.0.2 - all ok


Update the operator-sdk

Signed-off-by: Chunxi Luo<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/15549

@mprahl @JustinKuli  here the first pr is what I did before our yesterday discussion, I don't squash the second pr fix e2e testing for easier reviewing

health and readiness checks will be added another pr
https://github.com/open-cluster-management/governance-policy-spec-sync/pull/65

@mprahl
Don't get what should be matched with deploy/operator.yaml in ClusterRole, current role.yaml looks fine to me, you mean should use asterisk for referring all resources under policy.open-cluster-management.io? Updated the rest as the suggestions

@mprahl Don't get what should be matched with deploy/operator.yaml in ClusterRole, current role.yaml looks fine to me, you mean should use asterisk for referring all resources under policy.open-cluster-management.io? Updated the rest as the suggestions

I must have misread it. With your latest change with the RBAC kubebuilder markers and the CI verifying, this should be fine!

/unhold


feat: Set image digest on release

Signed-off-by: Anatolii Bazko<EMAIL_ADDRESS>What does this PR do?
What issues does this PR fix or reference?
feat: Set image digest on release
Is it tested? How?

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

Maybe a better approach is to do similar to what we do downstream, and set digests in the CSV during the bundle build, but not actually commit digests to the repo?

That is even better. Where is entrypoint to look at?

The build_index_image.sh script is responsible for building the bundle + index image. We could potentially look into replacing tags with digests before the bundle is generated by editing the relatedImages in ./deploy/bundle/manifests/devworkspace-operator.clusterserviceversion.yaml

Closing this PR, issue is resolved via https://github.com/devfile/devworkspace-operator/pull/1120


Release package

Closes #
📝 Description

Add a brief description

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Codecov Report
Attention: Patch coverage is 96.42857% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 99.18%. Comparing base (8f6ea12) to head (676a596).
Report is 15 commits behind head on release.

Files
Patch %
Lines

packages/phone-input/src/hooks/usePhoneInput.tsx
96.42%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           release      #88      +/-   ##
===========================================
+ Coverage    94.79%   99.18%   +4.38%
===========================================
  Files           19       19
  Lines          365      366       +1
  Branches       107      106       -1
===========================================
+ Hits           346      363      +17
+ Misses          19        3      -16

Flag
Coverage Δ

PhoneInput
98.36% <96.42%> (+8.75%)
:arrow_up:

useBreakpoint
100.00% <ø> (ø)

useClickOutside
100.00% <ø> (ø)

usePreserveInputCaretPosition
100.00% <ø> (ø)

usePrevious
100.00% <ø> (ø)

useSelectionRange
100.00% <ø> (ø)

useToggle
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


upgrade path?

Is there any recommended way, or is it possible at all, to upgrade one's local repository with the new releases?
What I mean is: I cloned this repository in January, initialized it with cookiecutter. Since then I've made some changes, mostly added stuff to the database models, crud and api. But the whole architecture has remained the same.
Is there any way for me to incorporate the updates from the master branch?

I realized it's probably I'm just not used to do merges with conflicting changes and it's somewhat of a silly question: I can just pull in the changes on a separate branch, change back to mine and do a merge right?
The next question then would be: is it worth it? What kind of updates go in the master branch in this repo?

Thanks for reporting back and closing the issue :+1:


Fixed relative code links.

Fixes relative code links.

Merging this to make sure the links are correct before the presentation; please feel free to comment and I apply them later.


[Issue 5468] fix duplicate code in CacheableRouterFactory

What is the purpose of the change
fix #5468
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #5565 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5565      +/-   ##
============================================
- Coverage     61.26%   61.21%   -0.05%
+ Complexity      422      420       -2
============================================
  Files           922      922
  Lines         37504    37503       -1
  Branches       5432     5432
============================================
- Hits          22975    22959      -16
- Misses        12049    12060      +11
- Partials       2480     2484       +4

Impacted Files
Coverage Δ
Complexity Δ

...ache/dubbo/rpc/cluster/CacheableRouterFactory.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
56.81% <0%> (-11.37%)
0% <0%> (ø)

...va/org/apache/dubbo/remoting/TimeoutException.java
22.22% <0%> (-11.12%)
0% <0%> (ø)

...che/dubbo/remoting/transport/mina/MinaChannel.java
43.42% <0%> (-10.53%)
16% <0%> (-1%)

...dubbo/remoting/exchange/support/DefaultFuture.java
82.88% <0%> (-3.61%)
0% <0%> (ø)

...e/dubbo/remoting/transport/netty/NettyChannel.java
52.27% <0%> (-3.41%)
19% <0%> (-1%)

...c/main/java/org/apache/dubbo/rpc/RpcException.java
80% <0%> (-3.34%)
0% <0%> (ø)

...rg/apache/dubbo/common/timer/HashedWheelTimer.java
63.44% <0%> (+0.34%)
0% <0%> (ø)
:arrow_down:

.../dubbo/remoting/transport/netty4/NettyChannel.java
68.31% <0%> (+0.99%)
0% <0%> (ø)
:arrow_down:

...org/apache/dubbo/rpc/protocol/rmi/RmiProtocol.java
61.66% <0%> (+1.66%)
10% <0%> (ø)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1aed3ae...b9dc3db. Read the comment docs.

thanks for your contribution


[WIP] update to haskell-src-exts-1.23

Thanks for the patch. Unfortunately, I no longer maintain this package.
CC @ip1981 @vshabanov who are maintaining it.


Improving Developer Experience For Email App Example

I followed the instructions in the email app README and was able to get it running properly after running a few commands which weren't explicitly specified. I added the commands to the README and made a couple notes.
I could not get the email app example to work properly on MacOS. The code compiles and the app runs, but the account creation process is broken. Upon pressing the "Create" button, the app takes the user back to the "Create new identity" page without the created account displayed.
If this is user error, please let me know. Otherwise, I can create an issue so it can be fixed.

 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.

Thanks a lot for the contribution, good documentation, examples etc. are what are needed the most for other devs right now.
This looks good to me, if you want to go ahead I think we should add the instructions to add wasm32-unknown-unknown target to the book itself, sicne is missing from there.
Maybe we should also comment in this readme about CARGO_TARGET_DIR, but we will probably change default behavior to mimic cargo.
About the MacOS specific issues, definitively a bug, behavior should be the same across platforms, you are not the first that mentioned this either. Also would be good to know what issues does fdev have with brew cargo installation to see if those can be addressed.


Project export modal

Overview
This PR adds an export modal that allows the user to select the zoom level at which they would like to export a selected project.
This uses a slider to select the zoom level as it seems like the most clear way to indicate min/max zoom levels and removes the need for more complex validation logic.
Checklist
~- [ ] Styleguide updated, if necessary~

[x] Swagger specification updated, if necessary
~- [ ] Symlinks from new migrations present or corrected for any new migrations~

Demo

Notes
The swagger spec in regards to the export statuses seemed to not match what the endpoint was actually expecting, so I updated it to match.
We want to specify zoom level, but it's not clear how we expect that to be provided in the request. rasterSize seemed like the closest option.
This hardcodes some assumed defaults for now:

visibility of PRIVATE
export type of S3
zoom range of 1 - 22

Testing Instructions

Open a project in the editor, and click the 'Export Project' button
Make sure the modal opens
Check that the default zoom level is the current zoom level of the editor map
Create an export or three and make sure that the exports are being posted properly and that you get an export object back -- make sure the zoom level is being updated and posted as expected

Closes #1534

For some reason there is a commit that shouldn't be here, fixing now.


Add basic tests for Fontfile

Added some basic tests for Fontfiles in tests/scene/test_fontfile.h. The file is included in tests\test_main.cpp.
The tests are to load a dynamic font, check that the fontfile was loaded, and checking that some character's glyph ids are valid.
This PR is related to issue #43440.

I changed to use Ref and also squashed the commits. Hopefully it all looks good now:)

Thanks! Congratulations on your first contribution! 🎉


Add optional filter to subscription config

I'm not convinced this is needed yet.  It may come back later.


Subdomain or endpoint for intentional SSL verification errors

I had a thought that, as a user, it would be nice to be able to test how my client will behave when encountering SSL verification issues.
requests.get('https://insecure.httpbin.org/status/200')  #  expected to fail
requests.get('https://insecure.httpbin.org/status/200', verify=False)  #  g2g

Alternatively, you could purposely give Flask an outdated cert and allow Flask to handle SSL for just a specific endpoint or url pattern like httpbin.org/insecure/status/200.
Thoughts?

https://badssl.com/ already does this a lot better than we could


BZ:1251358 Skipping unlock when RuntimeException is thrown in AbstractIOService.endBatch()

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1251358
Description of problem:
AbstractIOService.java
public void endBatch() {
if ( !batchLockControl.isLocked() ) {
throw new RuntimeException( "There is no batch process." );
}
    if ( batchLockControl.getHoldCount() > 1 ) {
        batchLockControl.unlock();
        return;
    }

    if ( !fileSystems.isEmpty() ) {
        cleanupClosedFileSystems();
    }

    for ( final FileSystem fs : fileSystems ) {
        unsetBatchModeOn( fs );
    }

    batchLockControl.unlock();
}

If an RuntimeException is thrown before "batchLockControl.unlock()", the lock is not released so subsequent threads will wait for the lock forever.
(for example)
RULE throwEx
CLASS org.uberfire.io.impl.AbstractIOService
METHOD unsetBatchModeOn
AT ENTRY
IF TRUE
DO throw new RuntimeException("dummy");
ENDRULE
Solution:
In  order to reproduce this, I've created a new test and a fix for it.
However, even if the lock is released the exception of the FS would leave the UF in an inconsistent state. Anyway, this PR raise an exception if this happens (and releases the lock).

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.


Add python-dev as a dronekit dependency on linux

Missing dependency. Thought I'd already added it but can't find a matching pull request.

:+1:


Did flutter-driver  support Python?

Ni Hao, truongsinh~
Did flutter-driver  support Python?

@0x88l we need to take this as feature as python binding is not yet available for appium-flutter-finder.
@truongsinh Could you please mark this as feature request.

Current we don't, PRs are welcome

To give more context, the expansion to other languages can exampled by this PR https://github.com/truongsinh/appium-flutter-driver/pull/35

@0x88l Now python finder is added in this repository. Please have a look.
@KazuCocoa Thanks.

@0x88l Now python finder is added in this repository. Please have a look.
@KazuCocoa Thanks.

How can i import the flutter library in appium test file ?

@nowo
It's available in pypi org.
Do
pip install Appium-Flutter-Finder to use the finder.

and https://github.com/truongsinh/appium-flutter-driver/blob/master/example/python/example.py is a simple example to import it


RC721-53 | AllowListWithAmount : decreaseAddressAvailableTokens: remove the exception and just don't allow the counter to go below 0

ALWAYS use brackets pls.


Feeds are limited to a Single Data Source.

Issue in help/using/features/audience-marketplace/marketplace-data-providers/marketplace-create-manage-feeds.md
It should be better highlighted that a Feed is limited to a single data source, it cannot have multiple data sources within a single feed.

Thanks for raising this, Jeffery!
I've updated the documentation to reflect this aspect.
"Select a data source from the Data Source options. Data feeds are limited to a single data source. You cannot assign multiple data sources to the same data feed. "


New theme for i3

I've created a new theme for i3 @ https://github.com/gkroon/dracula-i3.

Hey @gkroon :wave: Just sent you an invitation to join the org. After accepting it, you can transfer the theme to the organization and I'll set the right permissions so you can push changes directly to it. Let me know if you have any questions about the process 👍

@hacknug Thanks! I accepted your invitation, added a new repo and copied all my work to this new repo. I also deleted my own repo so everything is in your organisation now.

Thank you so much! You actually didn’t need to create a new one, only move it. That way GitHub would have created redirections for users looking for your repo haha. No problem though 👍


Unable to logon to some P100 devices in the last couple of days

I have a few P100 switches (U.K.) that are all V2 hardware on firmware 1.1.5 Build 230324 Rel.143956 and on the same SSID with fixed IP addresses issued by the router. I am using version 0.1.2 of PyP100
Some devices I can use fine from Python 3.9 (Debian bullseye) but on a couple I just get an error at the log-on stage:
Error Code: -1501, Invalid Request or Credentials
The only change to the tapo devices since they where all working is that I have loaded the app onto my MacBook Air (M1). At least one of the failing devices has worked since this install (unsure if the others have been used since then).
The previous change to the devices was the addition of a P105 and all devices worked post this change. The P105 had its firmware updated but all other devices have been stable since they where installed - all automatic firmware updates are turned off.
Access to the devices reporting the error from the iOS app (on three devices) works fine and all report the correct status if I change it one device (or from the Python programs for the ones that are responding).
Going through previous issues I have tried reverting the software to 0.0.25 with no effect. I have also tried changing the server to https://n-wap-gw.tplinkcloud.com/ again with no effect.
I have not changed my password on the Tapo application - it is a long password of 20 characters [a-z, A-Z, 0-9 and - only] but saved in Keychain so I know its correct. Given that the password for the Python code is stored in a .env file it is the same for working devices and none working devices.
Due to physical restrictions I'm unable to reset a device for a day or so but will update the issue once I've done so.

Quick update - just tried the same software on a slightly older Debian box (Raspberry Pi compared to x86) and the result is the same so it does not seem to be a recent OS update.

Managed to get to one failing unit and a full reset has allowed access again :-)

Remove device from app (light flashes red / green)
Hold the power button down for 10-15 seconds
Light goes green
Relay clicks once
Light starts flashing red / green
Add back to the app

Software works again - very odd...
Getting to the next one will mean stripping two servers out of the rack :-(

Updated instructions:

Remove plug from switch (got caught and had to power down a box)
Remove switch from app
Relay clicks to the ON setting
Add switch back into the device

Switch now allows software control again.


Badges and improve README.md

Add badges and improve README.md.

@Lucasosf @bezelga you can check how it is with this changes here: https://github.com/magnetis/caze/blob/badges/README.md

:ship:

Nive, :ship:


Support MIME type application/wasm

I can probably open a PR for this later today when I have some more time, but just wanted to write it down in case I forget. The ContentType enum in https://github.com/karlseguin/http.zig/blob/master/src/httpz.zig should have a WASM option, and the forExtension and other APIs should be enhanced to handle it.
Of course I can get around this now by adding the Content-Type header manually. Let me know if there is some specific criteria for which things should be in ContentType, or if it's just a convenience for common types.

Sure:
https://github.com/karlseguin/http.zig/commit/aace345f43c1e20c29c35304f7806b87181a07a0

Thank you!


Groups - add ability to leave a group and add more users

Task: The user should be able to leave the group chat, using the context menu or having a button to leave maybe have some thing in the title bar.
We also want to be able to add more people to the group
Screenshot:

Using RayGun::add_recipient and RayGun::remove_recipient would allow the creator of said group chat to add or remove members of that group. A user who leaves (eg delete the group conversation via RayGun::delete) would make the user "leave" the group.


Holding back livereload for the moment.

Changes

Commenting out references to livereload in run and emulate commands.
Removed livereload and devicesync from command help.
Removed livereload dependency.

:+1:  Assuming gulp clean && gulp run-tests work

I've added an additional commit removing livereload from the tests. I've verified that gulp clean && gulp run-tests runs cleanly.

You may want to remove "import livereload = require("taco-livereload");" from cordovaWrapper.ts in taco-utils. It does not seem to be used.

Good catch Meena.


what about multi-persons result?

I just learned that you directly predict all 14 points at diffirent 14 channels,but when there have multi-persons，how do you seprate them just by gauss points information?If you use a person detector or anything,thanks very much!!

Loop through each predicted bounding box or multi-threaded inference for each one of crops.

@uestcjackey
The HR-Net is a top-down method, which means you need to use object detection algorithms such as YOLO-v3 to detect people in an image at first. Then for each predicted bounding box which contains only one person, applying the HR-Net. @switchfootsid is correct.
This can be closed.


R settings file uses ~ to refer to project folder instead of documents folder

~ should always refer to the same folder, and I think it' supposed to be the documents folder.  That's what we use in the REPL working directory, but in the .rxproj, we refer to the settings files in the project folder using ~/.

Relates to #2091. I don't want to show long path. Something like [PROJECT]/Settings.R maybe ?

~/Settings.R?

Why not assume it's relative to the project.  It's stored in the .rxproj, and files referred from msbuild files are usually relative to the project file.  So just Settings.R.
~/Settings.R is what it is right now, and R (and us in other places) treat that as relative to documents folder.


Support more customization of AppMenu items

Currently the extraItems that can be provided to the AppBar via appMenuButtonOptions are always assumed to be a plain json object which are the props for a Blueprint MenuItem component. It should support being provided elements for more flexibility in the setup of the menu (like we do in other places), and it would be nice if it supported a shorthand for adding a separator like we have in context menus.
In general it seems there is a lot of room for improvement in how we are handling menus for desktop, and I think we could share of lot of things between desktop and mobile. The naming of classes and components in particular is very confusing. I would propose:

Action class

Would serve as a base class for RecordAction, but would not be Record specific
Would replace MenuItemModel in mobile, ContextMenuItem in desktop

ActionList class

Container for Actions, knows how to parse from json objects and string tokens for built-in items
Would serve as a base class for StoreContextMenu in desktop (maybe StoreContextMenu becomes RecordActionList?)
MenuModel in mobile would contain an ActionMenu?
Should allow extenders to specify the Action class to use for the actions (StoreContextMenu would use RecordAction) similar to what we do with Store and defaultFieldClass

Components would take a spec or instance of an action or list of actions

Components will usually be specific to the ui toolkit for each platform, so it's important to do as much of the action parsing/processing in a platform-independent way as we can so we limit the Action family of components to presentation details
ActionButton and ActionBar similar to RecordActionButton/Bar

This could result in replacing some of our special Button components with an action spec - actionButton({action: refreshAction})

ActionMenu - replaces ContextMenu
ActionMenuItem and RecordActionMenuItem probably make sense
Equivalent components for mobile
etc.

We should only use the Menu term for components, and stop using it for model/data classes

Closing this as I think #2400 is a better umbrella ticket for rethinking menus at this point.


Keeps optional question format consisten

Added a newline to keep separation of optional questions from required tasks consistent and easier to read.

Can one of the admins verify this patch?

LGTM @vrv


Update Helm 3 comment

Summary
Update the readme with informations regarding Helm v3 + Correct a small mistake in the naming of the chart.
Ticket Link
Fixes https://github.com/mattermost/mattermost-helm/issues/150

Thanks @geonux for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@geonux thanks for your PR, can you please bump the chart version?

I only made modifications on the README file. Is it really necessary to bump the chart version ?

@geonux yes

@geonux can you rebase and resolve the conflict then we can merge it

closing this
feel free to reopen


add no items componnet if no items exits

@evegufy  ok if we take it still in? Its not mandatory; but a nice to have

@evegufy ok if we take it still in? Its not mandatory; but a nice to have

@jjeroch yes, fine for me, the email address of the commits in regards to eca signing is alright.


tools helper; stubbing out remove; some cleanup

Codecov Report

Merging #369 into experimental will decrease coverage by 1.07%.
The diff coverage is 24.13%.

@@               Coverage Diff                @@
##           experimental     #369      +/-   ##
================================================
- Coverage          74.6%   73.52%   -1.08%
================================================
  Files                23       23
  Lines              1189     1205      +16
================================================
- Hits                887      886       -1
- Misses              302      319      +17

Impacted Files
Coverage Δ

vent/menu.py
22.69% <0%> (-0.33%)
:arrow_down:

vent/api/plugins.py
91.94% <100%> (ø)
:arrow_up:

vent/api/actions.py
63.54% <13.33%> (-4.77%)
:arrow_down:

vent/helpers/meta.py
50% <37.5%> (-1.03%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9807d67...98284fa. Read the comment docs.


Request for Examples of Pipeline Parallelism with Multiple Machines in PiPPy

I would like to use PiPPy for distributed inference with multiple machines and multiple GPUs. However, most of the test cases in the repository are for single-machine testing. Can you add examples for pipeline parallelism with multiple machines?
I tried modifying the example.py file to support multiple machines, by using two docker containers with four V100 GPUs. Each container uses two GPUs. Container 1 uses GPUs 0 and 1, while Container 2 uses GPUs 2 and 3.
The docker run command was:
docker run -itd --runtime=nvidia --shm-size=2gb --name $containername --network host pytorch/pytorch:latest
I used pippy.all_compile for compiling with multiple GPUs. However, I am not sure how to map multiple devices for multiple machines. According to my understanding, I set the rpc_backend_options for each worker as follows:
rpc_bk_options.set_device_map(f"worker0", {0: 0})
rpc_bk_options.set_device_map(f"worker1", {0: 1})

and
rpc_bk_options.set_device_map(f"worker0", {1: 0})
rpc_bk_options.set_device_map(f"worker1", {1: 1})

I have included the full code below. However, I received errors on both nodes.
Can you please help me with my issue and provide examples for pipeline parallelism with multiple machines?
# Copyright (c) Meta Platforms, Inc. and affiliates
import sys
sys.path.append("/host/code/pytorch/PiPPy/")
from typing import Any
import torch
import torch.distributed.rpc as rpc

import argparse
import os
import pippy
from pippy import split_into_equal_size
from pippy.microbatch import TensorChunkSpec

import logging
logging.getLogger().setLevel(logging.DEBUG)
logging.basicConfig(format='%(asctime)s %(levelname)s %(filename)s %(funcName)s %(lineno)d: %(message)s', level=logging.DEBUG)

os.environ["TORCH_DISTRIBUTED_DEBUG"] = "DETAIL"

class MyNetworkBlock(torch.nn.Module):
    def __init__(self, in_dim, out_dim):
        super().__init__()
        self.lin = torch.nn.Linear(in_dim, out_dim)

    def forward(self, x):
        x = self.lin(x)
        x = torch.relu(x)
        return x

class MyNetwork(torch.nn.Module):
    def __init__(self, in_dim, layer_dims):
        super().__init__()

        prev_dim = in_dim
        for i, dim in enumerate(layer_dims):
            setattr(self, f"layer{i}", MyNetworkBlock(prev_dim, dim))
            prev_dim = dim

        self.num_layers = len(layer_dims)
        self.output_proj = torch.nn.Linear(layer_dims[-1], 10)

    def forward(self, x):
        for i in range(self.num_layers):
            x = getattr(self, f"layer{i}")(x)

        return self.output_proj(x)

def main(args):

    world_size = args.world_size
    rank = args.rank
    device = args.rank

    os.environ['MASTER_ADDR'] = args.master_addr
    os.environ['MASTER_PORT'] = args.master_port

    split_policy = split_into_equal_size(world_size)

    rpc_bk_options = rpc.TensorPipeRpcBackendOptions(rpc_timeout=10.0, num_worker_threads=256)

    if rank == 0:
        os.environ["CUDA_VISIBLE_DEVICES"] = '0,1'
        rpc_bk_options.set_device_map(f"worker0", {0: 0})
        rpc_bk_options.set_device_map(f"worker1", {0: 1})

    elif rank ==1:
        os.environ["CUDA_VISIBLE_DEVICES"] = '2,3'
        rpc_bk_options.set_device_map(f"worker0", {1: 0})
        rpc_bk_options.set_device_map(f"worker1", {1: 1})

    rpc.init_rpc(f"worker{rank}", rank=rank, world_size=world_size,
                rpc_backend_options=rpc_bk_options)

    print(f"rpc init success for worker{rank}.")

    args_chunk_spec: Any = (TensorChunkSpec(0),)
    kwargs_chunk_spec: Any = {}
    output_chunk_spec: Any = TensorChunkSpec(0)
    mn = MyNetwork(512, [512, 1024, 256]).to(device)
    mn.eval()
    pipe_driver, stage_mod = pippy.all_compile(
        mn,
        num_ranks=world_size,
        num_chunks=2,
        split_policy=split_policy,
        schedule = 'FillDrain',
        args_chunk_spec=args_chunk_spec,
        kwargs_chunk_spec=kwargs_chunk_spec,
        output_chunk_spec=output_chunk_spec,
    )

    x = torch.randn(512, 512).to(device)

    if args.rank == 0:

        output = pipe_driver(x)
        print("output.")

        reference_output = mn(x)
        print("reference_output.")

        torch.testing.assert_close(output, reference_output)

        print(" Pipeline parallel model ran successfully! ".center(80, "*"))

    rpc.shutdown()

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "--world_size", type=int, default=int(os.getenv("WORLD_SIZE", 2))
    )
    parser.add_argument("--rank", type=int, default=int(os.getenv("RANK", 0)))
    parser.add_argument(
        "--master_addr", type=str, default=os.getenv("MASTER_ADDR", "xx.xx.xx.xx")
    )
    parser.add_argument(
        "--master_port", type=str, default=os.getenv("MASTER_PORT", "29500")
    )

    args = parser.parse_args()
    main(args)

error on rank0
Traceback (most recent call last):
  File "/host/code/pytorch_dp/pytorch_tutorials/pipeline_parallel/pippy_test/example_gpu/issue/example.py", line 136, in <module>
    main(args)
  File "/host/code/pytorch_dp/pytorch_tutorials/pipeline_parallel/pippy_test/example_gpu/issue/example.py", line 110, in main
    output = pipe_driver(x)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 2199, in forward
    local_results_and_last_grads = self._retrieve_output_values(
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 1657, in _retrieve_output_values
    return pippy.fx.node.map_aggregate(
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 620, in map_aggregate
    return immutable_list(map_aggregate(elem, fn, should_traverse_fn) for elem in a)
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 620, in <genexpr>
    return immutable_list(map_aggregate(elem, fn, should_traverse_fn) for elem in a)
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 627, in map_aggregate
    return fn(a)
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 1659, in <lambda>
    lambda a: a.wait() if isinstance(a, torch._C.Future) else a,
  File "/opt/conda/lib/python3.10/site-packages/torch/futures/__init__.py", line 76, in wait
    return super().wait()
  File "/opt/conda/lib/python3.10/site-packages/torch/futures/__init__.py", line 264, in raise_error
    raise fut_result
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/rpc/rref_proxy.py", line 58, in _complete_op
    result.set_result(fut.value())
RuntimeError: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)

error on rank1
Aborted (core dumped)

log in rank0:
Namespace(world_size=2, rank=0, master_addr='<IP_ADDRESS>', master_port='29500')
rpc init success for worker0.
DEBUG > WorkerInfo(id=0, name=worker0)
INFO > [PiPPy] Tracing model ...
DEBUG > Total model size: 1052938, per stage size: 526469
DEBUG > layer0_lin has params: {'weight': 262144, 'bias': 512}
DEBUG > layer1_lin has params: {'weight': 524288, 'bias': 1024}
DEBUG > layer2_lin has params: {'weight': 262144, 'bias': 256}
DEBUG > output_proj has params: {'weight': 2560, 'bias': 10}
INFO > Pipeline is in evaluation mode, backward pass not generated
DEBUG > {device(type='cuda', index=0): device(type='cuda', index=0)}
INFO > Found device cuda:0 for rank 0
device: cuda:0
INFO > GraphModule(
  (submod_0): PipeStageModule(
    (layer0_lin): Linear(in_features=512, out_features=512, bias=True)
  )
  (submod_1): PipeStageModule(
    (layer1_lin): Linear(in_features=512, out_features=1024, bias=True)
    (layer2_lin): Linear(in_features=1024, out_features=256, bias=True)
    (output_proj): Linear(in_features=256, out_features=10, bias=True)
  )
)

def forward(self, x):
    submod_0 = self.submod_0(x);  x = None
    submod_1 = self.submod_1(submod_0);  submod_0 = None
    return submod_1

# To see more debug info, please use `graph_module.print_readable()`
INFO > [PiPPy] Creating pipeline driver ...
INFO > [root] Creating pipeline driver with 2 workers: [0, 1]
DEBUG > [root] Sending stage_id = 0 mod to worker
INFO > [0] Instantiating RankWorker
DEBUG > [root] Sending stage_id = 1 mod to worker
INFO > Materializing submod_0 on cuda:0
INFO > Instantiating PipeStageExecutor for stage 0
DEBUG > [root] Waiting stage_id = 0 mod to be confirmed by worker
DEBUG > [root] Waiting stage_id = 1 mod to be confirmed by worker
x.
INFO > [root] Running pipeline with 2 micro-batches
DEBUG > [root] Instantiating microbatch interpreter for chunk 0
DEBUG > [root] RemoteInterpreter created with 4 nodes
DEBUG > [root] Instantiating microbatch interpreter for chunk 1
DEBUG > [root] RemoteInterpreter created with 4 nodes
DEBUG > [root] 2 instantiated
DEBUG > [0] Issue command to run %x : [#users=1] = placeholder[target=x]
DEBUG > [1] Issue command to run %x : [#users=1] = placeholder[target=x]
DEBUG > [0] Issue command to run %submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})
DEBUG > [root][0] Issuing Phase.FORWARD invocation for target submod_0 on stage 0
DEBUG > [0] Issue command to run %submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})
DEBUG > [root][0] Issuing Phase.FORWARD invocation for target submod_1 on stage 1
DEBUG > [1] Issue command to run %submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})
DEBUG > [0][0] Received invoke call for %submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})
DEBUG > [root][1] Issuing Phase.FORWARD invocation for target submod_0 on stage 0
DEBUG > [0][0] Invoke call found 0 ValueReference arguments
DEBUG > [0][0] Invoke instantiated WorkItem WorkItem(%submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})) with key 0_submod_0
DEBUG > [0][0] No RRef arguments. Scheduling directly as READY workitem
DEBUG > [0] Current ready runlist keys: dict_keys([])
DEBUG > [0] Dequeueing workitem from set of 1
DEBUG > [1] Issue command to run %submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})
DEBUG > [0][0] Got WorkItem WorkItem(%submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {}))
DEBUG > [root][1] Issuing Phase.FORWARD invocation for target submod_1 on stage 1
DEBUG > [0][1] Received invoke call for %submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})
INFO > [0] Running forward module for microbatch 0
DEBUG > [root] Retrieving output values from 2 chunks
DEBUG > [0][1] Invoke call found 0 ValueReference arguments
DEBUG > [0] Issue command to run return submod_1
DEBUG > [0][0] Executing transfer of value ValueReference(0, 0_submod_0) initiated by stage 1 for 0_submod_1
DEBUG > [0][1] Invoke instantiated WorkItem WorkItem(%submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {})) with key 1_submod_0
DEBUG > [1] Issue command to run return submod_1
DEBUG > [0][1] No RRef arguments. Scheduling directly as READY workitem
DEBUG > [0] Current ready runlist keys: dict_keys([])
DEBUG > [0][1] Executing transfer of value ValueReference(0, 1_submod_0) initiated by stage 1 for 1_submod_1
DEBUG > [0][0] Populating result of type <class 'torch.Tensor'> for 0_submod_0
DEBUG > [0] Dequeueing workitem from set of 1
DEBUG > [0][1] Got WorkItem WorkItem(%submod_0 : [#users=1] = call_module[target=submod_0](args = (%x,), kwargs = {}))
INFO > [0] Running forward module for microbatch 1
DEBUG > [0][1] Populating result of type <class 'torch.Tensor'> for 1_submod_0
[W tensorpipe_agent.cpp:940] RPC agent for worker0 encountered error when reading incoming response from worker1: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)
[W tensorpipe_agent.cpp:940] RPC agent for worker0 encountered error when reading incoming response from worker1: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)
[W tensorpipe_agent.cpp:726] RPC agent for worker0 encountered error when reading incoming request from worker1: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)
Traceback (most recent call last):
  File "/host/code/pytorch_dp/pytorch_tutorials/pipeline_parallel/pippy_test/example_gpu/issue/example.py", line 136, in <module>
    main(args)
  File "/host/code/pytorch_dp/pytorch_tutorials/pipeline_parallel/pippy_test/example_gpu/issue/example.py", line 110, in main
    output = pipe_driver(x)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 2199, in forward
    local_results_and_last_grads = self._retrieve_output_values(
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 1657, in _retrieve_output_values
    return pippy.fx.node.map_aggregate(
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 620, in map_aggregate
    return immutable_list(map_aggregate(elem, fn, should_traverse_fn) for elem in a)
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 620, in <genexpr>
    return immutable_list(map_aggregate(elem, fn, should_traverse_fn) for elem in a)
  File "/host/code/pytorch/PiPPy/pippy/fx/node.py", line 627, in map_aggregate
    return fn(a)
  File "/host/code/pytorch/PiPPy/pippy/PipelineDriver.py", line 1659, in <lambda>
    lambda a: a.wait() if isinstance(a, torch._C.Future) else a,
  File "/opt/conda/lib/python3.10/site-packages/torch/futures/__init__.py", line 76, in wait
    return super().wait()
  File "/opt/conda/lib/python3.10/site-packages/torch/futures/__init__.py", line 264, in raise_error
    raise fut_result
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/rpc/rref_proxy.py", line 58, in _complete_op
    result.set_result(fut.value())
RuntimeError: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)

log in rank1:
Namespace(world_size=2, rank=1, master_addr='<IP_ADDRESS>', master_port='29500')
rpc init success for worker1.
DEBUG > WorkerInfo(id=1, name=worker1)
INFO > [PiPPy] Tracing model ...
DEBUG > Total model size: 1052938, per stage size: 526469
DEBUG > layer0_lin has params: {'weight': 262144, 'bias': 512}
DEBUG > layer1_lin has params: {'weight': 524288, 'bias': 1024}
DEBUG > layer2_lin has params: {'weight': 262144, 'bias': 256}
DEBUG > output_proj has params: {'weight': 2560, 'bias': 10}
INFO > Pipeline is in evaluation mode, backward pass not generated
DEBUG > {device(type='cuda', index=1): device(type='cuda', index=1)}
INFO > Found device cuda:1 for rank 1
device: cuda:1
INFO > [1] Instantiating RankWorker
x.
INFO > Materializing submod_1 on cuda:1
INFO > Instantiating PipeStageExecutor for stage 1
DEBUG > [1][0] Received invoke call for %submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})
DEBUG > [1][0] Invoke call found 1 ValueReference arguments
DEBUG > [1][0] Invoke instantiated WorkItem WorkItem(%submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})) with key 0_submod_1
DEBUG > [1][0] Scheduling WorkItem as WAITING workitem
DEBUG > [1] Current waiting runlist keys: dict_keys([])
DEBUG > [1][0] Launching RPC data transfer for ValueReference 0 ValueReference(0, 0_submod_0)
DEBUG > [1][0] Requesting transfer of value ValueReference(0, 0_submod_0) for runlist item 0_submod_1 arg_idx 0
DEBUG > [1][1] Received invoke call for %submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})
DEBUG > [1][1] Invoke call found 1 ValueReference arguments
DEBUG > [1][1] Invoke instantiated WorkItem WorkItem(%submod_1 : [#users=1] = call_module[target=submod_1](args = (%submod_0,), kwargs = {})) with key 1_submod_1
DEBUG > [1][1] Scheduling WorkItem as WAITING workitem
DEBUG > [1] Current waiting runlist keys: dict_keys(['0_submod_1'])
DEBUG > [1][1] Launching RPC data transfer for ValueReference 0 ValueReference(0, 1_submod_0)
DEBUG > [1][1] Requesting transfer of value ValueReference(0, 1_submod_0) for runlist item 1_submod_1 arg_idx 0
DEBUG > [1][-1] Executing transfer of value ValueReference(1, 0_submod_1) initiated by stage root for collect
DEBUG > [1][-1] Executing transfer of value ValueReference(1, 1_submod_1) initiated by stage root for collect
Aborted (core dumped)


Support GoToTargets Request

Thank you @Trass3r for the initial work.
This PR will add in the GoToTargets request which can be used by the client to get instructionPointerReference from a file and line.
https://github.com/microsoft/MIEngine/pull/1042 will focus on implement GoToRequest (Jump to Line)

                    response.StackFrames.Add(new ProtocolMessages.StackFrame()

nit: While you are here, do you want to add the instruction reference here as well. That should finish off the feature.

Refers to: src/OpenDebugAD7/AD7DebugSession.cs:1565 in f37fe48. [](commit_id = f37fe48f6417c1525b29e30b8c4f238616bee8e6, deletion_comment = False)

                    response.StackFrames.Add(new ProtocolMessages.StackFrame()

nit: While you are here, do you want to add the instruction reference here as well. That should finish off the feature.

Refers to: src/OpenDebugAD7/AD7DebugSession.cs:1565 in f37fe48. [](commit_id = f37fe48f6417c1525b29e30b8c4f238616bee8e6, deletion_comment = False)

                    response.StackFrames.Add(new ProtocolMessages.StackFrame()

nit: While you are here, do you want to add the instruction reference here as well. That should finish off the feature.
Refers to: src/OpenDebugAD7/AD7DebugSession.cs:1565 in f37fe48. [](commit_id = f37fe48, deletion_comment = False)

This will be handled in another PR.

                    response.StackFrames.Add(new ProtocolMessages.StackFrame()

nit: While you are here, do you want to add the instruction reference here as well. That should finish off the feature.
Refers to: src/OpenDebugAD7/AD7DebugSession.cs:1565 in f37fe48. [](commit_id = f37fe48, deletion_comment = False)

This will be handled in another PR.


[View my events] 'Cancel join event' button is not replaced with 'Join event' button after clicking on the 'Cancel join event' button

Environment: Windows 10 Pro x64 21H2, Google Chrome 110.0.5481.178.
Reproducible: always.
Build found: 23.04.2023
Preconditions

https://www.testgreencity.ga/#/greenCity is opened
The user is authorized
There is at least one future event joined by this user

Steps to reproduce

Go to 'My space' tab
Go to 'My Events' tab
Scroll down to joined event
Click on the 'Cancel join event' button

Actual result
Frame of the button 'Cancel join event' changes the color.

Expected result
'Cancel join event' button is replaced with 'Join event' button.
User story and test case links
E.g.: "User story #3375
Labels to be added
"Bug", Priority ("pri: Medium"), Severity ("severity: Minor"), Type ("UI, "Functional").

the button 'Cancel join event' changed on button "Cancel Request"


Dashboard

I am not able to access the link to the dashboard. And I don't see any contact info on your website. Is your system still available for use?

Guys, I have the same problem.
Pricing and dashboard links are broken.


Lighthouse Summary on GitHub PRs

Is your feature request related to a problem? Please describe.
We've installed the netlify-lighthouse plugin, and would like to more deeply integrate it into our GitHub PR workflow by showing lighthouse stats on newly opened PRs. The plugin runs on deploy previews, but there doesn't seem to be a simple way to get that information into the GitHub PR in an automated way.
Describe the solution you'd like
I would be great if there was a way to comment the lighthouse stats on the PR, or provide in rich commit stats.
Describe alternatives you've considered
Alternatively, we can click the build log and check the lighthouse summary. Though that's less useful at a glance.
*Additional context
None

Hi @Jud, this sounds great to me, however it will require users to add an environment variable with a GitHub token so the plugin can access the repo.
Since it's opt-in I think that's ok.
Also if we do implement this, we should do it for all supported services (GitHub, GitLab, Bitbucket).

I'd like to suggest first starting with Github since that is the requested feature.

Any updates on the status of this? It's been almost two years since the issue was opened and this is a feature that would come in handy.


Question: How to make nvim-cmp auto insert the firsts item/when no other options remain like company-mode does?

Hi!
I am migrating from company-mode in emacs and it had this functionality that when the guess is fully correct/there are no other options in the window, it auto inserts the first item (aka the only item) and then only requires <tab> to be pressed to complete it.
Is this sort functionality doable with nvim-cmp if so how? Thank you.

https://github.com/hrsh7th/nvim-cmp/wiki/Example-mappings#confirm-candidate-on-tab-immediately-when-theres-only-one-completion-entry
This gets close to what I want. Still no ghost text-ability but this works.


zprint deletes lines

Testing w/ zprint-1.1.1.
{:list {:respect-nl? true}}

(def
  ^{:meta :x}
  ; one
  ; two
  ; three
  :body)

If you run zprint on this code, it will remove the "three" comment. If you run it again, it removes the "two" comment.

Thank you so much for reporting this!  Indeed, comments (or any newlines) in between meta-data and the object of the meta-data are mishandled, resulting in missing some of them.
While any bug that loses data is very serious, at least in this case the only loss is between the meta-data and the thing the meta-data is attached to.  The meta-data and the element to which it is attached are not involved in this particular bug.
The origin of this bug is that there is a separate indent specified for each of the "things" between the meta data and the element to which it is attached, and the routine that creates the indents only creates them for the non-newline elements.  But the routine that interprets them expects there to be one for every element, including newlines, even if they aren't used for the newlines.  Every comment has a separate newline following it.  So the count of indents falls short of the elements to be formatted, and the formatting stops because the formatting is happening in a map over several collections, and the map terminates when the shortest collection is consumed.  This doesn't affect the thing to which the meta-data is attached because it isn't involved in this map operation, it is formatted separately because it is the "rightmost" element in the collection.
Unfortunately, there isn't a workaround for this bug.  It will be fixed in version 1.1.2.  Until then, don't put comments between
the meta-data and the object to which it is attached.
Thanks again for noticing this, and taking the time to report it.  I really appreciate it!

This is fixed in 1.1.2:
zprint.core=> (print i187)
(def
  ^{:meta :x}
  ; one
  ; two
  ; three
  :body)
nil
zprint.core=> (czprint i187 {:parse-string? true})
(def ^{:meta :x}
     ; one
     ; two
     ; three
     :body)

Thanks again for reporting this!


feat: add the s3 retry config options for storage option

Add client_max_retries and client_retry_timeout of RetryConfig for S3 client.
If there are some server error of object store server, the object store module of arrow-rs will retry client_max_retries times and also the total execute time is not over client_retry_timeout.
Closes #3182

Codecov Report
Attention: Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.

Project coverage is 78.88%. Comparing base (f2906cf) to head (ab19994).
Report is 7 commits behind head on main.

Files with missing lines
Patch %
Lines

rust/lance-io/src/object_store.rs
81.81%
0 Missing and 4 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3268      +/-   ##
==========================================
- Coverage   78.97%   78.88%   -0.09%
==========================================
  Files         246      246
  Lines       86313    86548     +235
  Branches    86313    86548     +235
==========================================
+ Hits        68162    68272     +110
- Misses      15328    15446     +118
- Partials     2823     2830       +7

Flag
Coverage Δ

unittests
78.88% <81.81%> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


chore: update e2e to use TS 5

See #361

We're not trying to fix worker mode with TS 5 anymore, as rules_ts 2.0 disables workers by default.