Unable to edit with MathLive after block is created

I love this plugin, however, I seem to be unable to edit inserted math. I can use /math to start writing an equation and use [enter] to complete it, but selecting the block again doesn't make the MathLive editor come back as demonstrated in the GIF.
Is this a bug, or am I using the plugin wrong? I use the default theme and only have bullet threadings and tabs as plugins.

Do you mean something like this?

This looks like a bug in Logseq that sometimes selecting the block doesn't trigger the selection event. You have to click again on the selection to trigger the popup.
(I'll add this Logseq bug to README, and maybe report this to Logseq.)

Ah, yes looks like I do have to click again. Thank!

Dear Allan,
I have the same problem, but clicking on the selection does not make the popup appear again.
I'm using Logseq version 0.9.18. Is there anything I can do to debug this?

@arne-cl Logseq 0.9.18 has fixed that bug (https://github.com/logseq/logseq/issues/10106, https://github.com/logseq/logseq/pull/10113) and doesn't require an extra click. Please check if you are using the latest plugin, and also check the plugin settings in case you accidentally disabled this feature (post JSON from Edit settings.json if you are not certain).

Dear Allan,
thank you for your help! I didn't need to update or change any settings. It started working correctly after I rebooted my system.


CIF-1554: Referenced Images on CIF components are not activated with the page

Product / category images residing in AEM and not in the commerce engine need to be activated with the page along with the CIF components refrencing them.
Description
During the activation of a page containing CIF components configured with products/categories we need to collect all references to CIF assets if they reside in AEM. This is implemented by AssetsReferenceProvider using the following delegates implementing AssetsProvider interface:

ProductTeaserAssetsProvider
ProductCarouselAssetsProvider
CategoryListAssetsProvider
RelatedProductsAssetsProvider

The corresponding models (ProductTeaser, ProductCarousel, FeaturedCategoryList, RelatedProdducts) were amended to support adaptation from Resource.class.
Motivation and Context
Customers may use commerce solutions that allow references to assets stored elsewhere (AEM, Cloud). When these assets are located in AEM their references must also be activated during the page replication.
How Has This Been Tested?

Unit tests
Manual tests using Commerce core components library with mock GraphQL server returning products / categories referencing AEM images

Types of changes

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

Checklist:

[X] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[X] I ran all tests locally and they pass.

Closing the PR as we won't implement the feature in CIF


IE11 Support

Hey,
Does this package supports IE11? I have tried it today but can't make it work on IE11 due to an error. SCRIPT1006: Expected ')'
Not sure if it's my webpack setup breaking stuff or it just doesn't work currently on IE.
Thanks

Thanks for filing issue! Yeah it does work in IE11. How are you importing the package?  Maybe you can post your code here and what line the error is on here so I can see whats happening?

Hey,
Thanks for quick reply. I've created simple repo using random webpack starter.

@rkumorek Thanks for your repro, that really helped me understand what the problem was. This is fixed in #43. Do you mind pulling that down and making sure it fixes your issue? Thanks!


[Feature] Add a filter in stashes

Hello, It would be nice to have a filter for our stashes so that we could retrieve an element more easily, as with branches.
Thank you so much !

You can test this feature with this build https://github.com/sourcegit-scm/sourcegit/actions/runs/9711698284


Error compiling in phonegap build  PLAY_SERVICES_VERSION

What happens is that when I'm trying to compile in phonegap build, it tells me the following error:
BUILD FAILED

Total time: 0.773 secs
Error: /project/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* Where:
Build file '/project/build.gradle' line: 257

* What went wrong:
A problem occurred evaluating root project 'project'.
> Could not get unknown property 'PLAY_SERVICES_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

I already made the correction regarding the update that was made, adding the variable PLAY_SERVICES_VERSION = "11.8.0" in my config.xml being as follows:
<plugin name="cordova-plugin-googlemaps" spec="^2.2.2">
        <variable name="API_KEY_FOR_ANDROID" value="API-ANDROID" />
        <variable name="API_KEY_FOR_IOS" value="API-IOS" />
        <variable name="PLAY_SERVICES_VERSION" value="11.8.0" />
    </plugin>

I'm just uploading the www folder with the config.xml file inside it, and I know that the error is given to me by the plugin since if I remove it from the config.xml it lets me compile it normal in phonegap build.
Any help please, I need this urgent please

In order to reproduce your issue, please share your project files on github.

What file do you need to see?

Ok, i am sorry
Repo Git
the config.xml file I use for android is inside www
Thank you

Thank you for sharing your project. You use lots of plugin.
Some of the plugin you use need to access the Google Play Services SDK.
For example, it seems these plugins are

cordova-android-play-services-gradle-release
cordova-plugin-googlemaps
cordova-plugin-request-location-accuracy
... etc

And the cordova-plugin-request-location-accuracy plugin specifies play-services-location:11.+ instead of pin version.
https://github.com/dpa99c/cordova-plugin-request-location-accuracy/blob/915b178faebd874f8a1a8b37c14590f7efb5b846/plugin.xml#L32
That's why the platform/android/project.properties becomes like this
target=android-26
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:24.1.1+
cordova.system.library.2=com.android.support:support-v4:26.+
cordova.system.library.3=com.android.support:appcompat-v7:26.+
cordova.system.library.4=com.google.android.gms:play-services-location:11.+  <-- here is the problem
cordova.system.library.5=com.squareup.okhttp3:okhttp:3+
cordova.system.library.6=com.google.android.gms:play-services-maps:11.8.0
cordova.system.library.7=com.google.android.gms:play-services-location:11.8.0
cordova.gradle.include.1=cordova-android-play-services-gradle-release/simi-cordova-android-play-services-gradle-release.gradlemasas

You need to remove the line.

Well actually, you install too much plugins.
You can get the device location through plugin.google.maps.LocationService.getMyLocation()
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/ReleaseNotes/v2.2.0/README.md#locationservicegetmylocation-without-map

Hello
Look I did what you said, if you were right I had many plugins and delete what you told me and others, and even the problem persists, I put a few things of the plugin that are being installed:

and when I open the error log

but removing the google maps plugin means the cordova-plugin-googlemaps of the config.xml
<plugin name="cordova-plugin-googlemaps" spec="^2.2.2">
        <variable name="API_KEY_FOR_ANDROID" value="AIzaSyBJZvmtBkzgIFt4YKxn9YaFgFzow9wkTOk" />
        <variable name="API_KEY_FOR_IOS" value="AIzaSyBFxZQaz73onx2qvWPDLq0asFflKiuPb-s" />
        <variable name="PLAY_SERVICES_VERSION" value="11.8.0" />
    </plugin>

there is if it works, and I can not really remove that plugin because I need it and a lot, seriously I hope you can help me please

In that case, you need to ask to fix the problem to Adobe, not here.

create a new project adding only the google maps plugin with the configuration of PLAY_SERVICES_VERSION = "11.8.0" and I still send the error of PLAY_SERVICES_VERSION I see that with the update they did, something internal hurt, and the truth worries me because is the only way that I can compile the application by phonegap build

As I said, the problem is phonegap build, not this plugin. ** you need to ask to fix the problem to Adobe**.

Solved!

I found the solution. You need to specify these tags into your config.xml.
<preference name="android-build-tool" value="gradle" />
<preference name="phonegap-version" value="cli-8.0.0" />

https://github.com/mapsplugin/v2.0-demo/blob/master/config.xml

Further update. This is completely PhoneGap Build problem.
https://build.phonegap.com/current-support
If you specify cli-7.1.0, the build process is successful. cli-7.0.1, it is going to be fault.

I tackled with PhoneGap build whole day, and I archived to build the plugin on PhoneGap build.
The direct cause was you need to specify cli-7.1.0.
But I also updated the plugin in order to support both cordova-android@6 and cordova-android@7.
If you are still interested in the maps plugin, try<EMAIL_ADDRESS>

Btw im facing the same problem how can you solve this guys . Hope you help me coz its our project in our school. below is error message and my config.xml
FAILURE: Build failed with an exception.

Where:
Build file '/project/build.gradle' line: 254

What went wrong:
A problem occurred evaluating root project 'project'.

Could not get unknown property 'PLAY_SERVICES_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 1.335 secs
Command finished with error code 1: /project/gradlew cdvBuildDebug,-b,/project/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
Error: /project/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

Where:
Build file '/project/build.gradle' line: 254

What went wrong:
A problem occurred evaluating root project 'project'.

Could not get unknown property 'PLAY_SERVICES_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

----------------------------Config.xml---------------------

Mother Tongue

        Hello World sample application that responds to the deviceready event.

        PhoneGap Team

<plugin name="cordova-plugin-splashscreen" source="npm" />
<plugin name="cordova-plugin-whitelist" source="npm" />

 <platform name="ios">
     <splash src="res/screen/ios/Default~iphone.png" width="320" height="480"/>
<splash<EMAIL_ADDRESS>width="640" height="960"/>

<splash src="res/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash<EMAIL_ADDRESS>width="1536" height="2048"/>

<splash src="res/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/>
<splash<EMAIL_ADDRESS>width="2048" height="1536"/>

<splash<EMAIL_ADDRESS>width="640" height="1136"/>
<splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
<splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
<splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>


Application Completed

Coverage remained the same at 100.0% when pulling 282c9a603c0be595fb839a9cc2f59371d7dc334c on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 3469c7b9329e85320d604244f6adf0c69953a104 on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 7af31e42434636bc97aabe80039f98a1882524bf on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 51023145dac228475217abb806836d4e28f4df53 on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 51023145dac228475217abb806836d4e28f4df53 on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling ed8caa8e7f872cf0a9eba3817194b7439e71ea6c on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling ed8caa8e7f872cf0a9eba3817194b7439e71ea6c on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 8307bcc83067e72e65cc39b674c6edc05138cf9b on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.

Coverage remained the same at 100.0% when pulling 8307bcc83067e72e65cc39b674c6edc05138cf9b on feature/Searchallfiles into d02fed384e85aa4ed1aeb4c61c93d3d4359197bb on master.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c3q2ipbxpu/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_c3q2ipbxpu/clone/recipe/meta.yaml:26: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_c3q2ipbxpu/clone/recipe/meta.yaml:38: missing_dev_url: The recipe is missing a dev_url
Errors were found


gRPCTargets.cmake and gRPCTargets-noconfig.cmake are broken for cross compilation.

What version of gRPC and what language are you using?
1.16.0  C++
What operating system (Linux, Windows, …) and version?
Linux, Poky 2.5 (Sumo), Kernel version 4.9, aarch64
What runtime / compiler are you using (e.g. python version or version of gcc)
GCC (7.3)
What did you do?
Cross-compile a follow-on package dependent on gRPC that uses CMake to build with.   Cross-compilation, proper, with pretty much any toolchain where you may have two sets of sysroots, one native to provide non GCC/clang tools, and one for the target system will break with the current generated files.
What did you expect to see?
That the build honored my toolchain.cmake  and compiled and linked against the right gRPC from the TARGET sysroot.
What did you see instead?
The CMake that used your find_package helpers to find the gRPC libs attempting, incorrectly, against the NATIVE sysroot of the image build system.  This is primarily because the ground rules for CMake helpers isn't being followed and an improper method is being used to do this work.
The problem begins with this part of the gRPCTargets.cmake file:
# Compute the installation prefix relative to this file.
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
if(_IMPORT_PREFIX STREQUAL "/")
set(_IMPORT_PREFIX "")
endif()
There are very few contexts where this is a valid thing to do if you're trying to cross-compile.  You really don't want to base any pathing off of the current .cmake file like this because, except for a few exceptions in cross-compilation and compiling native on the desired target system (Python script generation...), this breaks all sorts of things.  Your scripting should not override the toolchain.cmake behaviors this way so that you can expect to have it cross-compile right under all conditions.
Anything else we should know about your project / environment?
Nothing other than Yocto, an up-reved copy of the current upstream recipe to 1.16.0 (which is minor editing work).  Not that you actually "need" to do this.  This will break upon just about ANY cross-compile environment because it doesn't honor the toolchain.cmake specification file for full cross-compilation support.

I seem to have the same problem. I have a custom Yocto recipe that I need to depend on gRPC. And it fails with:
recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake:180 (message):
|   The imported target "gRPC::gpr" references the file
|
|      "/usr/lib/libgpr.so.4.0.0"
|
|   but this file does not exist.  Possible reasons include:

Which is quite reasonable, I don't have /usr/lib/libgpr.so.4.0.0, yet I have oe-workdir/recipe-sysroot/usr/lib/libgpr.so.4.0.0. No idea what to do, CMake files are a bit complex to me.

As a workaround I was able to omit gRPC's CMake files from both toolchain and target (blacklisting them) and borrowing some CMake code from https://github.com/googleapis/google-cloud-cpp/blob/master/cmake/FindgRPC.cmake so that it "autodetects" gRPC libraries. Works for me now, but yes, official gRPC files are broken for cross-compilation still.

So, I'm not the only one side-stepping this sort of stuff.  I'd have said something a while back, but fire-drills and all...  X-D

CMake files are complex...?    X-D
Building up Yocto bitbakes against all sorts of broken build systems for stuff's the fun stuff...  X-D

Duplicate of https://github.com/grpc/grpc/issues/16675

@AspirinSJL sorry, but I think these issues are different. 1) environments: one is x86_64 and gcc 8.2 and CentOS, other is ARM and Yocto and GCC 7.1, 2) #17708 is not about boringSSL, it's about gRPC unavailable to link to using existing CMake files in cross-platform environment, 3) again, boringSSL is not relevant here

Do you have any more details on how to reproduce this? I managed to cross-compile gRPC and its helloworld example for ARM locally after tweaking gRPC's CMake rules to better handle host vs. target protoc (PR forthcoming soon). This leads me to believe that this might be a Yocto-specific issue.

get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)

These generated lines of code aren't something custom that gRPC is doing. They come directly from CMake here:
https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmExportInstallFileGenerator.cxx#L195

We have a cross-compiling distribtest now:
https://github.com/grpc/grpc/blob/master/test/distrib/cpp/run_distrib_test_raspberry_pi.sh
Unless we get more details, I think this issue is safe to close.


use s3gw backend with CI's tests

Describe your changes
changed CI to use s3gw backend with UI-backend tests
Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] CHANGELOG.md has been updated should there be relevant changes in this PR

Looks mostly good to me. I'm just wondering if it wouldn't be better to use a floating tag for the backend image tag instead of pinning it at v0.17.0?

unfortunately, this is currently necessary due to this issue we introduced with the latest version: https://github.com/aquarist-labs/s3gw/issues/617


[FLINK-21207][old csv version] Fix source table with 'csv.disable-quote-character' = 'true' can not take effect for old csv format version

What is the purpose of the change
Fix source table with 'csv.disable-quote-character' = 'true' can not take effect for old csv format version
https://issues.apache.org/jira/browse/FLINK-21207
Brief change log
Invoke disableQuoteChar of CsvSchema when 'disable-quote-character' is enabled
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/Mesos,
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? (not applicable)

Hi  @JingsongLi   , take a look when you have time.


[git] Fix 'git-hub-shorten-url' helper

Proposed Changes

Use git.io over 'https'
Add extra check to conform to *.github.com URLs
Use built-in _urls function for completion
Update readme with GitHub blog URL

Thanks for your contribution! Looks good!


Remove F from compendium client

We can't use F[_] or IO in compendium-sbt.

I think that, at some point we'll need to reintroduce it and only change it in sbt-compendium, but we can do that in the future.


Removed automatic zero-indenting for first item in generated list for TOC, not respecting the actual Markdown header formatting.

I know this might be considered a regression, but it bothers me that the rendered TOC does not respect the actual Markdown headers.
Currently a markdown list like:
a
b
Would render:

a

b

Because the first element would have indentation reset.

Some users might find this problematic depending on their use case, but I prefer to have the Markdown shape the decision on the actual indentation.
Thanks for a marvellous plugin btw.

This change is

Thank you for your PR!!
I can't remember why this line was needed. I check this markdown

Hi,
Well my assumption is that you would like to have an ordered and nicely looking TOC. The fix/removal makes it more literal. So if you have heading you do not want displayed in the TOC, place them above the TOC section. Well that is the use-case for me.

Ummm sorry, I cannot understand what you mean exactly...
In fact I couldn't find the behavior you mentioned.

Currently a markdown list like:
a
b
Would render:

a

b

Is it like below in your environment?
<!-- MarkdownTOC -->

- a
    - b

<!-- /MarkdownTOC -->

### a

### b

But it is like below in my environment.
<!-- MarkdownTOC -->

- a
- b

<!-- /MarkdownTOC -->

### a

### b

It's caused by this lines, I fix the shallowest depth to no indent.
Sorry for my bad english. 😵
Please explain more easy to understand, If you don't mind.


access app state within reducer.plugin slice

I have a select box in my form; its values are indices into a global state array.  I'd like to write a reducer.plugin to do things based on the select's value, but the state passed into my reducer is just the form slice.  How can I access the rest of the app state?  It's just for reading.

You can call Store.getState() to get the state.

It requires having access to a global store, which is something I was avoiding.
I also found that in the plugin reducer the select's value had already changed (that is, the state passed in is the new state after the change action) which isn't incorrect, but sucks if you need to know the previous value.
I ended up overriding the select's onChange to do the logic before calling the field's onChange.  This way I'm within the form component and thus have access to everything I need.  It's not very clean but it avoids any hacks and keeps things encapsulated.


How to skip all html attributes in search?

Hi friend,
Look this my example:
https://jsfiddle.net/1ou85bhk/4/
I must find element's by name or city or job position. All atributes must be in new line, that's why i used html in values. All is working but this script have one issue, when i write "b" it find html element , when i write "s", it's find , so it is possible to block search by html elements or do you know what is better  solution for searching by 3 values with new lines?

@Cross77
It should work by this way:

Dont include non-search element in name object such as the span of Poznan, Full-stack Developer.
Return it in separated object such as "city, "title" same as your "id".
Then include it on your custom template by item.city, item.title.

The autoComeplete only search for the "getValue" field.

Thank you.

How can we add extra content to getValue?

I dont think the plugin support that way so you can't @Keremtspnr, you can try custom template as i recommended for Cross77 above


Fix issue 122

Adds utility method AxisUtils.isSpatialCalibrationsIsotropic
AnisotropyWrapper now calls the above instead of its private method
Fixes exception behaviour in AxisUtils methods
Fixes issue #122
Updates tests
Formats code in affected files

@alessandrofelder When this PR is merged, you can use the utility method in your EllipsoidFactorWrapper

Setting the tolerance is not a user option yet. Here the tolerance for the warning to pop open is 0.01. Do you want to make the tolerance a user option for Anisotropy and other plug-ins that care about voxel calibration anisotropy?

I'll have to investigate why that image doesn't generate a warning. How did you test AnisotropyWrapper? Did you launch the project from IDE, or call mvn install -Dimagej.app.directory=my/path/Fiji.app? Does the calibration data in the image have units? If not, will the warning work if you add units to the calibration?

Tested by checking out fix-issue-122 branch, building on command line with install script, starting up Fiji from command line, opening the image and running Anisotropy from the menu. Tried again just now and now I get warnings every time, even when I've reset the pixel spacing to isotropic 0.01 mm, and below threshold and above threshold. Yes there are always units, I use mm by default.

OK, I'm able to repeat the issue, but I still think the code is correct. The issue happens if I:

Run Anisotropy with the supplied image (warning shows up correctly)
Make the calibration isotropic (Analyze > Set scale... and then Pixel aspect ratio = 1.0)
Run Anisotropy again

However, if in the same session I run the plug-in with another uncalibrated image such as bat-cochlea-volume.zip, or create a new image with isotropic calibration, the plug-in behaves as expected (warning does not display).
I've run to this problem in updating calibration info before, but have failed to report it. I think that this PR should be accepted and merged, and we should submit an issue to the imagej-legacy repository, unless it's already known. @ctrueden,@imagejan have you experienced problems with calibration metadata not updating when using legacy UI?

@imagejan Yes, I think it's definitely related to the synchronization issues already submitted. Maybe the most appropriate one should also have a mention about checking that metadata updates?

Not surprising that metadata does not sync in all desired situations. A (failing) unit test here would be helpful, so we have something to work towards.

@rimadoma It's OK to just file a new issue in imagej-legacy. Thank you very much!

@rimadoma @imagejan Please mention me in the synchronization related issues. Minimal examples very welcome. I consider working on this problems in the future.

Issue reported https://github.com/imagej/imagej-legacy/issues/195


Feature: add title to action execution errors to improve user experience

Description

add title to action execution errors to improve user experience

all errors in AppsmithPluginErrors
action execution related errors in AppsmithError : NO_CONFIGURATION_FOUND_IN_DATASOURCE, INVALID_ACTION, INVALID_DATASOURCE, INVALID_DATASOURCE_CONFIGURATION - as these are the likely errors in an action execution flow (excluding plugin specific flow) that might result from faulty action / datasource configuration by a user.
title is returned as part of ActionExecutionResult.
title is set in ActionExecutionResult on failure during action execution.

Some unrelated cleanup:

catch PoolInitializationException for Postgres plugin and return AppsmithPuginException
catch MongoTimeoutException and return AppsmithPluginException

Fixes 3660

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

JUnit TCs
Manual

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@sumitsum  Is it possible to abstract away details of how an error state is stored in ActionExecutionResult? Setting error codes and titles separately increases the responsibility of the developer for every new error that needs to be logged. Instead, if we use a method like ActionExecutionResult.setErrorState(AppsmithError), then all of the error handling translation can happen within it. This will make it easier to modify this structure in the future as well.

@sumitsum Is it possible to abstract away details of how an error state is stored in ActionExecutionResult? Setting error codes and titles separately increases the responsibility of the developer for every new error that needs to be logged. Instead, if we use a method like ActionExecutionResult.setErrorState(AppsmithError), then all of the error handling translation can happen within it. This will make it easier to modify this structure in the future as well.

@nidhi-nair I have added a method named setErrorInfo toActionExecutionResult to handle state assignment.

@sumitsum Is it possible to abstract away details of how an error state is stored in ActionExecutionResult? Setting error codes and titles separately increases the responsibility of the developer for every new error that needs to be logged. Instead, if we use a method like ActionExecutionResult.setErrorState(AppsmithError), then all of the error handling translation can happen within it. This will make it easier to modify this structure in the future as well.

@nidhi-nair  I have refactored code to introduce setErrorInfo() method in ActionExecutionResult class to set its attributes. Also, added a new BaseException class, so that both AppsmithException and AppsmithPluginException extend this base class. This was important since ActionExecutionResult class is defined in com.appsmith.external package and AppsmithException class is in com.appsmith.server package and a dependency from server package to external package could not be created.


Remove duplicated keybinding

Hey, great repo. I found a duplication.

Hi @sonofjon, thanks so much for your contribution! 🙏🏻


Switch to Tensorflow 2.x and tf.keras

Todo: remove the keras dependency and switch to tf.keras when Tensorflow 2.0 is released.

Any update of this?


Resume app to lockout screen if wallet is locked

Acceptance Criteria
Given the Holder has been locked out of the wallet
When the Holder opens the app
Then they are presented with the lockout screen
Given the Holder has been locked out of the wallet
When the Holder opens the app
And waits for the countdown to reach zero
Then the Try again button will be enabled
Given the lockout timer has reached zero
When the Holder selects "Try again" button
Then the holder will be presented with the PIN entry screen

this was resolved by: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/471


Insert migration state for CHW app.

@jpaidoussi ready for review.

@jpaidoussi ready for review again


Splitting code in subfolder

Is your feature request related to a problem? Please describe.
The main script is too long.
Describe the solution you'd like
While the ideal solution would be to split the code in subfolders/modules, my attempts to make it work in Slicer always end up with ModuleNotFoundError. This is usually easy to perform in standard Python scripts but not through Slicer. There is a post about this here but I was not able to make it work even after updating the path like so:
script_directory = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(script_directory, 'name_of_module'))

I have asked the 3D Slcier forum. Here is one answer: https://discourse.slicer.org/t/slicer-development-code-fragmentation/38516/3

[ ] To test!

Hi,
Issue 40 will be solved soon in @AcastaPaloma  pull requests. In addition, we found and tested how to use/split the code in different files in a subFolder.
Example of organization:

On the same level than the file SlicerCART.py (main script file), an additional folder is created (ie, subfolder), which contains one or multiple python files that have content to be re-used in the main script (SlicerCART.py file).
In the main .py file (e.g. SlicerCART.py), you use the following syntax: import subFolder.SlicerConfigurationWindows as aaa where:
subfolder is the name of the subfolder
‘SlicerConfigurationWindows’ is the name of the child python file
‘aaa’ is the abbreviation used in the main script to call the method
In a child python file (e.g. SlicerConfigurationWindow.py), you can insert your functions that you want to use in the main python script. You can also import the content of another child python file in the same subfolder by doing import subFolder.CheckFunctions as cf where:
subfolder is the folder location of this child python file
‘CheckFunctions’ is the name of the other python file to be re-used in this child python file
‘cf’ is the abbreviation used in this child python file to call the method
*Note that Slicer python interpreter will always consider the path from the main python file associated with the module. This means that if you want to import a child python file at the same level than another python file, you must specify the location according to the main python file. For example: to import subFolder.CheckFunctions.py in subFolder.SlicerConfigurationWindows.py, you must write import subFolder.CheckFunctions as cf in the code line of subFolder.SlicerConfigurationWindows (see image below).

In each child python file (e.g. CheckFunctions.py), it is recommended to add the following imports:
from slicer.ScriptedLoadableModule import *
from slicer.util import VTKObservationMixin

Thanks.

Thanks for your investigation.
This seems to be the standard Python way of modularizing code. Is there any specific item besides adding the 2 lines you mentioned at the end of your post ?
Few questions:

[ ] Should you add a __init__.py file in subFolder ?
[ ] What naming conventions should be used  for subFolder ? Per PEP8 it think modules should be lowercase but I know that Slicer uses C++/CamelCase also.
[ ] In the past I was able to split some of the code (e.g. qt components) outside of the main module script but each change to these separate scripts required a 3D Slicer restart instead of using the reload button : this is annoying when developing a module because of the time it takes to restart Slicer.

Question  related to the strategy approach for solving this issue (since preliminary testing worked).
@jcohenadad @laurentletg @AcastaPaloma
Is it better to commit a branch with a basic organization that shows it's working (e.g. with a python file in a subfolder that helps debugging), or fragment the code (e.g. according to classes, etc.) and create a PR that will be discussed at the next meeting, for example? (for my part, I'd tend to discuss with the team how we should divide the code rather than jumping right in, and then make an 'EPIC' PR given the big changes such a PR will have)
What do you think?
Thanks.

@mguaypaq @joshuacwnewton are more qualified to answer this question

The problem with "epic" PRs is that they're hard to make, but even harder to review. It's typically much easier to make and review incremental changes (for example, splitting off one class at a time).
Also, to decide how code should be organized, I find that up-front discussion is not very useful, because it always overlooks some small but impactful technical details (for example, circular dependencies, or forgetting that one part of the code calls a different part). It's usually much more productive for 1 or 2 people to sit down and make a prototype/proof of concept of the reorganization, and write down which constraints or trade-offs they encounter. It's very likely that the first prototype gets thrown away, but it can still inform the second try. And it's a concrete thing that can guide the discussion (if there's a discussion).

Hi @mguaypaq and team,
Thank you, a lot, for your insight, it is very appreciated!
Here is a scheme resuming the SlicerCart main python file for the module (image below).
Proposed approach for splitting the code in subfolder would consist of 2 main steps:

PR where modules to import, functions for checking and installing python packages and Global variables and function would be in other separate python files, from the actual main branch code.
2. A file where all import modules required for running the module would be there (1 line of code repeated in each file?)
3. Good idea to create a requirements.txt file?
PR would incrementally separate the different classes, as proposed, thereby reducing the length of the main SlicerCART.py file by executing classes from different files.

ToDo:

[ ] Discuss this approach at next Neuropoly Slicer meeting scheduled on Friday November 8th, 2024.

Note that the PR 98 is only intended to partially solve the issue 40. Will need other PR / resucommit to complete successfull code fragmentation.

Mini-Update related to this issue. Working on a branch. Almost done, but facing circular import issues. Will try to fix and PR once fixed (hopefully soon)


Rename Configuration to avoid conflicts with twitter gem

The Configuration class that was added conflicts with the twitter gem. This PR renames that class to avoid the naming conflict as described in #221

We went back and forth a bit on what we wanted to do and decided to move everything until Twitter::TwitterText to prevent future conflicts. Merged and 2.1 is now available. This is a breaking change, but hopefully not too bad of one.


Document that not all APIs support service accounts

This was a confusing onboarding experience with the YouTube API as following the SDK example for service accounts allows some, but not all YouTube data API calls. Hopefully this clears things up as it sounds like other APIs including AdSense don't fully support service accounts either.

I signed it!


IR Failing After GPUMultiBuffering Failed (iree-gpu-multi-buffering).

print-ir-before-all: https://gist.github.com/pashu123/c9c01d1397a820dad48ecdd01e9ae5d5
failed to run translation of source executable to target executable for backend #hal.executable.target<"vulkan", "vulkan-spirv-fb", {spirv.target_env = #spirv.target_env<#spirv.vce<v1.6, [Shader, Float64, Float16, Int64, Int16, Int8, StorageBuffer16BitAccess, StorageUniform16, StoragePushConstant16, StorageBuffer8BitAccess, UniformAndStorageBuffer8BitAccess, StoragePushConstant8, GroupNonUniform, GroupNonUniformVote, GroupNonUniformArithmetic, GroupNonUniformBallot, GroupNonUniformShuffle, GroupNonUniformShuffleRelative, GroupNonUniformClustered, GroupNonUniformQuad, VariablePointers, VariablePointersStorageBuffer, CooperativeMatrixNV], [SPV_KHR_16bit_storage, SPV_KHR_8bit_storage, SPV_KHR_storage_buffer_storage_class, SPV_KHR_variable_pointers, SPV_NV_cooperative_matrix]>, api=Vulkan, AMD:DiscreteGPU, #spirv.resource_limits<max_compute_shared_memory_size = 65536, max_compute_workgroup_invocations = 1024, max_compute_workgroup_size = [1024, 1024, 1024], subgroup_size = 64, min_subgroup_size = 32, max_subgroup_size = 64, cooperative_matrix_properties_nv = [#spirv.coop_matrix_props<m_size = 16, n_size = 16, k_size = 16, a_type = f16, b_type = f16, c_type = f16, result_type = f16, scope = <Subgroup>>]>>}>
    %4 = linalg.generic {indexing_maps = [#map, #map, #map], iterator_types = ["parallel", "parallel", "parallel"]} ins(%3, %0 : tensor<10x4096x4096xf16>, tensor<10x4096x4096xf16>) outs(%0 : tensor<10x4096x4096xf16>) {
         ^

Steps to reproduce your issue
Repro IR: https://gist.github.com/pashu123/4e8d358a9ad28cb547192fe32cc9f8e5
iree-compile  --iree-input-type=none --iree-vm-bytecode-module-output-format=flatbuffer-binary --iree-hal-target-backends=vulkan  --mlir-print-debuginfo --mlir-print-op-on-diagnostic=false --iree-llvm-target-cpu-features=host --iree-stream-resource-index-bits=64 --iree-vm-target-index-bits=64 --iree-util-zero-fill-elided-attrs -iree-vulkan-target-triple=rdna3-unknown-unknown --iree-flow-enable-padding-linalg-ops --iree-flow-linalg-ops-padding-size=32 --iree-flow-enable-conv-img2col-transform test.mlir
What component(s) does this issue relate to?
Compiler
Version information
No response
Additional context
No response

We need to remove the trivial loops before doing the multi-buffering.

The failure in multi-buffering is fixed by #11523, but it looks like this example fails later as the fused elementwise op doesn't get distributed.

it looks like there is a bug with the input IR, namely the fused elementwise op is taking an empty tensor as input
    %0 = tensor.empty() : tensor<10x4096x4096xf16> loc(#loc6)
    %4 = linalg.generic {indexing_maps = [#map, #map, #map], iterator_types = ["parallel", "parallel", "parallel"]} ins(%3, %0 : tensor<10x4096x4096xf16>, tensor<10x4096x4096xf16>) outs(%0 : tensor<10x4096x4096xf16>) {
    ^bb0(%in: f16 loc("/home/prashant/test.mlir":15:10), %in_1: f16 loc("/home/prashant/test.mlir":15:20), %out: f16 loc("/home/prashant/test.mlir":15:32)):
      %5 = arith.mulf %in_1, %cst : f16 loc(#loc18)
      %6 = arith.addf %in, %5 : f16 loc(#loc19)
      linalg.yield %6 : f16 loc(#loc20)
    } -> tensor<10x4096x4096xf16> loc(#loc14)

(good catch - tensor.empty values are good in the outs but invalid in ins)

Closing as this is fixed by #11523.


Handle coverage for installed packages

If a package is installed in a local tree, LuaRocks will find those installed modules before finding the code in the local directory (this is found in the modification of the bin scripts).
Since users will want to get coverage from their local source directory instead, add the source directory to the package.path.
Here's what I hacked into initialize_coverage to check this with atlas.
    package.path = config.cov .. "/?.lua;" .. config.cov .. "/?/init.lua;" .. package.path

This is a problem for more than just coverage. The runner needs to look for files all the time or else users will get confused when luatest does not seem to be picking up their changes (because there would be no change in the tree).


who can explain how to set param in sick_lms_5xx.launch

https://github.com/SICKAG/sick_scan_xd/blob/master/launch/sick_lms_5xx.launch
especially, how to set field ?

Hello,
currently, the field evaluation cannot be configured from the ROS driver. Please use the SOPAS Engineering Tool (SOPAS ET) for that.
Best regards,
Manuel

There is an error:
[Error]: cannot find parameter scanner_type in the param set. Please specify scanner_type.
but ,in the sick_lms_5xx.launch, the " scanner_type " is here:

Thanks for your feedback. I am closing the ticket for now. Please feel free to reopen the issue in case of further problems.


Failed to request external resourceRMErrorException: errCode: 11007 获取主Yarn resourcemanager异常

Before asking

[X] I have read the How to ask for help (我已阅读如何寻求帮助指引文档).

Your environment

Linkis version used: 1.1.2
Environment name and version:

阿里云-E-mapreduc
hadoop 3.2.1
hive-3.1.2
spark-2.4.7
scala-2.11.12
jdk 1.8.0_252
dss 1.1.0
linkis 1.1.1

Describe your questions

1，执行pyspark报错（Yarn地址能够直接访问）
ERROR Job with execId-IDE_root_spark_4 + subJobId : 51  execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: emr-header-3.cluster-254539:9101_0 Failed  to async get EngineNode MatchError: LinkisException{errCode=11006, desc='Failed to request external resourceRMErrorException: errCode: 11007 ,desc: Get active Yarn resourcemanager from : http://<IP_ADDRESS>:8088 exception.(从 http://<IP_ADDRESS>:8088 获取主Yarn resourcemanager异常) ,ip: emr-header-3.cluster-254539 ,port: 9101 ,serviceKind: linkis-cg-linkismanager', ip='emr-header-3.cluster-254539', port=9101, serviceKind='linkis-cg-linkismanager'} (of class org.apache.linkis.manager.common.exception.RMErrorException) ,ip: emr-header-3.cluster-254539 ,port: 9104 ,serviceKind: linkis-cg-entrance
2，通过linkis-cli的方式报错（Yarn地址能够直接访问）：
[root@emr-header-3 linkis]# sh ./bin/linkis-cli -engineType spark-2.4.7 -codeType sql -code "select * from stg.stg_base_area;"  -submitUser hadoop -proxyUser hadoop
=====Java Start Command=====
exec /usr/lib/jvm/java-1.8.0/bin/java -server -Xms32m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/DataSphere/linkis/logs/linkis-cli -XX:ErrorFile=/opt/DataSphere/linkis/logs/linkis-cli/ps_err_pid%p.log -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 -XX:+DisableExplicitGC    -classpath /opt/DataSphere/linkis/conf/linkis-cli:/opt/DataSphere/linkis/lib/linkis-computation-governance/linkis-client/linkis-cli/:/opt/DataSphere/linkis/lib/linkis-commons/public-module/: -Dconf.root=/opt/DataSphere/linkis/conf/linkis-cli -Dconf.file=linkis-cli.properties -Dlog.path=/opt/DataSphere/linkis/logs/linkis-cli -Dlog.file=linkis-client.root.log.20220823214054389933576  org.apache.linkis.cli.application.LinkisClientApplication '-engineType spark-2.4.7 -codeType sql -code select * from stg.stg_base_area; -submitUser hadoop -proxyUser hadoop'
[INFO] LogFile path: /opt/DataSphere/linkis/logs/linkis-cli/linkis-client.root.log.20220823214054389933576
[INFO] User does not provide usr-configuration file. Will use default config
[INFO] connecting to linkis gateway:http://<IP_ADDRESS>:9100
JobId:52
TaskId:52
ExecId:exec_id018032linkis-cg-entranceemr-header-3.cluster-254539:9104LINKISCLI_hadoop_spark_1
[INFO] Job is successfully submitted!
2022-08-23 21:40:55.040 INFO Program is substituting variables for you
2022-08-23 21:40:55.040 INFO Variables substitution ended successfully
2022-08-23 21:40:55.040 WARN The code you submit will not be limited by the limit
Job with jobId : LINKISCLI_hadoop_spark_1 and execID : LINKISCLI_hadoop_spark_1 submitted
2022-08-23 21:40:55.040 INFO You have submitted a new job, script code (after variable substitution) is
SCRIPT CODE
select * from stg.stg_base_area
SCRIPT CODE
2022-08-23 21:40:55.040 INFO Your job is accepted,  jobID is LINKISCLI_hadoop_spark_1 and jobReqId is 52 in ServiceInstance(linkis-cg-entrance, emr-header-3.cluster-254539:9104). Please wait it to be scheduled
job is scheduled.
2022-08-23 21:40:55.040 INFO Your job is Scheduled. Please wait it to run.
Your job is being scheduled by orchestrator.
2022-08-23 21:40:55.040 INFO job is running.
2022-08-23 21:40:55.040 INFO Your job is Running now. Please wait it to complete.
2022-08-23 21:40:55.040 INFO Job with jobGroupId : 52 and subJobId : 52 was submitted to Orchestrator.
2022-08-23 21:40:55.040 INFO Background is starting a new engine for you,execId astJob_6_codeExec_6 mark id is mark_6, it may take several seconds, please wait
2022-08-23 21:40:56.040 ERROR Job with execId-LINKISCLI_hadoop_spark_1 + subJobId : 52  execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: emr-header-3.cluster-254539:9101_1 Failed  to async get EngineNode MatchError: LinkisException{errCode=11006, desc='Failed to request external resourceRMErrorException: errCode: 11007 ,desc: Get active Yarn resourcemanager from : http://<IP_ADDRESS>:8088 exception.(从 http://<IP_ADDRESS>:8088 获取主Yarn resourcemanager异常) ,ip: emr-header-3.cluster-254539 ,port: 9101 ,serviceKind: linkis-cg-linkismanager', ip='emr-header-3.cluster-254539', port=9101, serviceKind='linkis-cg-linkismanager'} (of class org.apache.linkis.manager.common.exception.RMErrorException) ,ip: emr-header-3.cluster-254539 ,port: 9104 ,serviceKind: linkis-cg-entrance
2022-08-23 21:40:56.040 INFO job is completed.
2022-08-23 21:40:56.040 INFO Task creation time(任务创建时间): 2022-08-23 21:40:55, Task scheduling time(任务调度时间): 2022-08-23 21:40:55, Task start time(任务开始时间): 2022-08-23 21:40:55, Missionend time(任务结束时间): 2022-08-23 21:40:56
2022-08-23 21:40:56.040 INFO Your mission(您的任务) 52 The total time spent is(总耗时时间为): 365 ms
2022-08-23 21:40:56.040 INFO Sorry. Your job completed with a status Failed. You can view logs for the reason.
[INFO] Job status is not success but 'FAILED'. Will not try to retrieve any Result
[INFO] Job failed! Will not try get execute result.
============Result:================
TaskId:52
ExecId: exec_id018032linkis-cg-entranceemr-header-3.cluster-254539:9104LINKISCLI_hadoop_spark_1
User:hadoop
Current job status:FAILED
extraMsg:
errDesc: 21304, Task is Failed,errorMsg: errCode: 12003 ,desc: emr-header-3.cluster-254539:9101_1 Failed  to async get EngineNode MatchError: LinkisException{errCode=11006, desc='Failed to request external resourceRMErrorException: errCode: 11007 ,desc: Get active
[INFO] JobStatus is not 'success'. Will not retrieve result-set.
############Execute Error!!!########
3，数据库表：linkis_cg_rm_external_resource_provider
Yarn
default
{
"rmWebAddress": "http://<IP_ADDRESS>:8088",
"hadoopVersion":"3.2.1",
"authorEnable":false,
"user":"hadoop",
"pwd":"hadoop"
}

Eureka service list

Some logs info or acctch file

linkis-cg-linkismanager.log:

2022-08-23 21:04:19.360 [WARN ] [AskEngineService-Thread-1               ] o.a.l.r.e.s.i.ExternalResourceServiceImpl (180) [retry] - failed to request external resource provider, retryNum 0 org.apache.linkis.manager.common.exception.RMErrorException: errCode: 11007 ,desc: Get active Yarn resourcemanager from : http://<IP_ADDRESS>:8088 exception.(从 http://<IP_ADDRESS>:8088 获取主Yarn resourcemanager异常) ,ip: emr-header-3.cluster-254539 ,port: 9101 ,serviceKind: linkis-cg-linkismanager
log file:

linkis-cg-linkismanager.log

2022-08-23 21:04:19.371 [ERROR] [AskEngineService-Thread-1               ] o.a.l.r.e.y.YarnResourceRequester (280) [apply] - Get Yarn resourcemanager info error, No content to map due to end-of-input
 at [Source: (String)""; line: 1, column: 0] com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input

[root@emr-header-3 zmn]# curl http://<IP_ADDRESS>:8088/ws/v1/cluster/info

Error 401 Authentication required

HTTP ERROR 401
Problem accessing /ws/v1/cluster/info. Reason:
    Authentication required

yarn启用了Simple认证，需要加上认证用户
[root@emr-header-3 zmn]# curl http://<IP_ADDRESS>:8088/ws/v1/cluster/info?user.name=hadoop
{"clusterInfo":{"id":1640111027208,"startedOn":1640111027208,"state":"STARTED","haState":"ACTIVE","rmStateStoreName":"org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore","resourceManagerVersion":"3.2.1","resourceManagerBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum<PHONE_NUMBER>ad6ad216e5915e1442e18","resourceManagerVersionBuiltOn":"2021-03-26T12:16Z","hadoopVersion":"3.2.1","hadoopBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum a727b26fa21579ad1b194bc17821d8","hadoopVersionBuiltOn":"2021-03-26T12:13Z","haZooKeeperConnectionState":"CONNECTED"}}
1，http://<IP_ADDRESS>:8088/cluster?user.name=hadoop url上带上用户也会报同样的错误
2，{
"rmWebAddress": "http://<IP_ADDRESS>:8088",
"hadoopVersion": "3.2.1",
"authorEnable":true,
"user":"hadoop",
"pwd":"hadoop",
"kerberosEnable":false,
"principalName":"@PRINCIPAL_NAME",
"keytabPath":"@KEYTAB_PATH",
"krb5Path":"@KRB5_PATH"
}
authorEnable改成true配置用户，也会存在同样的问题
3，请问认证的信息应该配置在哪里才会生效

2022-08-23 21:04:19.371 [ERROR] [AskEngineService-Thread-1               ] o.a.l.r.e.y.YarnResourceRequester (280) [apply] - Get Yarn resourcemanager info error, No content to map due to end-of-input
 at [Source: (String)""; line: 1, column: 0] com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input

please try to excute curl http://<IP_ADDRESS>:8088/ws/v1/cluster/info ，the response is ok?
[root@emr-header-3 zmn]# curl http://<IP_ADDRESS>:8088/ws/v1/cluster/info

Error 401 Authentication required

HTTP ERROR 401
Problem accessing /ws/v1/cluster/info. Reason:
    Authentication required

yarn启用了Simple认证，需要加上认证用户
[root@emr-header-3 zmn]# curl http://<IP_ADDRESS>:8088/ws/v1/cluster/info?user.name=hadoop
{"clusterInfo":{"id":1640111027208,"startedOn":1640111027208,"state":"STARTED","haState":"ACTIVE","rmStateStoreName":"org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore","resourceManagerVersion":"3.2.1","resourceManagerBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum<PHONE_NUMBER>ad6ad216e5915e1442e18","resourceManagerVersionBuiltOn":"2021-03-26T12:16Z","hadoopVersion":"3.2.1","hadoopBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum a727b26fa21579ad1b194bc17821d8","hadoopVersionBuiltOn":"2021-03-26T12:13Z","haZooKeeperConnectionState":"CONNECTED"}}
1，http://<IP_ADDRESS>:8088/cluster?user.name=hadoop url上带上用户也会报同样的错误
2，{
"rmWebAddress": "http://<IP_ADDRESS>:8088",
"hadoopVersion": "3.2.1",
"authorEnable":true,
"user":"hadoop",
"pwd":"hadoop",
"kerberosEnable":false,
"principalName":"@PRINCIPAL_NAME",
"keytabPath":"@KEYTAB_PATH",
"krb5Path":"@KRB5_PATH"
}
authorEnable改成true配置用户，也会存在同样的问题
3，请问认证的信息应该配置在哪里才会生效

请参考以下文章
https://blog.csdn.net/weixin_30305735/article/details/102137099
Simple认证是根据执行的用户名、用户组进行验证的，无需任何配置和代码。


Request: Please include method to organize/remove decks from the "Decks" menubar item

Since I record every one of my arena decks in HSTracker, I am gathering a large number of arena decks, but I don't need them in the Decks menubar item after a given arena is over.
Also, I would like to be able to sort decks by class or theme using submenus. I.e. Decks > Mage > Tempo or Decks > Mage > Freeze; Decks > Playable Decks, Decks > Decks to Build, or Decks > Theorycraft, etc.
Thanks!

This is something I want to change, this is on my priority todo-list

Closing, I keep #76 opened


collect effect annotation errors in dictionary, only look up overlapping...

... transcripts and construct the Gene objects later

A few comments, but generally looks good to me!


Update app-only-auth-powershell-v2.md

Learn Build status updates of commit f62189b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


STM32L4x3 PAC missing USB_BCDR register

(Battery charging detector reg) Note: This is not present on some USB FS peripherals like on F3, which are otherwise the same. Offset 0x58.
Note that the stm32-usbd PAC does include it.

Closed by #580


Support git.deploymentEnabled

Make it possible to make new projects to be configured with deploymentEnabled false

please open this issue on https://github.com/vercel/terraform-provider-vercel
once it's added there we can implement it here


[WIP] include undo and apply functional options pattern for setting logger

Description
This change is in accordance with Proposal 2 for https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/36814
This change extends the Set method by:

returning the error and an undo function which is responsible for reverting GOMAXPROCS to its previous value.
Applies functional options pattern to allow for extending the config
Adds the WithLogger method which allows the client to add their own logger that adheres to Printf
Checks to see if GOMAXPROCS env variable is already set and then honors it.

Adds a new method IsECS to check if current process running in ECS.
NOTES
For anyone using Set this does break their current usage of Set. So we can either add this change as a new method and bump the minor version or update the existing Set method and bump the major version.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

gomaxecs.go
100.00% <100.00%> (ø)

internal/config/config.go
100.00% <100.00%> (ø)

internal/task/task.go
100.00% <100.00%> (ø)

maxprocs/maxprocs.go
100.00% <100.00%> (ø)

Hi @rdforte , I just used this implementation + an adaptation to my proposition change in the extension/cgroupruntime of opentelemetry-collector-contrib and it works like a charm, running in ECS of course !
Log output:
Dec 16, 2024 @ 18:39:10.773649964 | 2024-12-16T18:39:10.773Z	info	cgroupruntimeextension/extension.go:61	GOMEMLIMIT has been set	{"kind": "extension", "name": "cgroupruntime", "GOMEMLIMIT": 429496729}
Dec 16, 2024 @ 18:39:10.773259452 | 2024-12-16T18:39:10.773Z	info	cgroupruntimeextension/extension.go:50	GOMAXPROCS has been set	{"kind": "extension", "name": "cgroupruntime", "GOMAXPROCS": 1}


python3Packages.python-smarttub: 0.0.27 -> 0.0.28

Motivation for this change
Update to latest upstream release 0.0.28
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
21.11 Release Notes (or backporting 21.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.python-smarttub
python39Packages.python-smarttub


Features page: mark all active by default features

Currently, the page shows the default feature, but there is no easy way to see which features are transitively active by default.
This would require going through the features list and activate all that are transitively reachable from default. Also probably steer clear from infinite runtime due to cycles by some sort of visited marker or cycle detection.

resolved in #2532 too


Css adjustments

Two more tweaks to css.  Delivers Pivotal #105201914 and #122350001.
Manual test script
Compare the following in master vs this PR
http://mushroomobserver.org/comment/show_comment/124837
Master: table cells lack padding and text is vertically centered in cell
PR: cells are padded; text starts @ top of cell, except header rows
http://mushroomobserver.org/comment/show_comment/121733
Master: quoted text is larger than regular text.
PR: quoted text is same size (but still indented, with vertical bar on left).

Coverage remained the same at 84.507% when pulling 4f70c04952b6c61b43892b2ab4304edb3bb94628 on JoeCohen:css-adjustments into 5a7014163db169d391ba27c1ce13a3543ef8063d on MushroomObserver:master.


AoT build fails using multiple apps in own project with dependency between them

Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.4.4
node: 6.10.2
os: darwin x64
@angular/animations: 4.4.4
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/router: 4.4.4
@angular/cli: 1.4.4
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
typescript: 2.3.4

Repro steps.
https://github.com/CSchulz/angular-cli-multiple-apps-with-common
Start the project with npm start.
The log given by the failure.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/app.component.ngfactory.ts (10,21): Cannot find module '../../../src/app/common.component.ngfactory'.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/app/app.component.ngfactory.ts (11,21): Cannot find module './app.component'.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/app/common.component.ngfactory.ts (10,21): Cannot find module './common.component'.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/index.ngfactory.ts (10,21): Cannot find module './index'.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/index.ngfactory.ts (11,21): Cannot find module './app/app.component'.
ERROR in multiple-apps-with-common/showcase/$$_gendir/src/app.module.ngfactory.ts (12,21): Cannot find module '../../../src/app/app.component.ngfactory'.

Desired functionality.
The repository contains a common module, which is part of a library and the showcase should be used to show the functionality.

Heya, this is a duplicate of https://github.com/angular/angular-cli/issues/6387. You can find an explanation for why this doesn't work in https://github.com/angular/angular-cli/issues/6228#issuecomment-301024884.


Add Valentin and Elliot as code owners for LLVM_jll and several related JLLs

This will ensure that GitHub sends them a notification for any PRs that modify those JLLs.

Thanks!


P300 multichannel throwing erroneous tip errors when using transfer() and distribute() methods

overview

Adding and disposing of tips on p300 multichannel, regardless of that pipettes state (with or without tips) throws either a TipsNotAttached error or AssertionError tips already attached. To my knowledge, this error only occurs while using the transfer() and distribute() functions . Adding a remove_tips() command before the line throwing a tips attached error results in a TipsNotAttached error. The same occurs visa versa.
current behavior

The transfer and distribute functions are behaving like they should automatically pick up tips upon call and an error is thrown if you attempt to pick up tips, whereas when you don't attempt to pick up tips the functions don't actually pick up the tips resulting in a downstream TipsNotAttached error.
steps to reproduce

See attached screenshots for reproduction.
expected behavior

I would prefer to explicitly call pick_up_tip() and drop_tip() rather than implicit.

@ColtonGarelli If you want to do your own tip management, you can pass new_tip='never' to the transfer command:
p300.transfer(100, source=reservoir.wells()[0], dest=plate.wells()[:3], new_tip='never')`. Documentation for this can be found [here](https://docs.opentrons.com/v2/new_complex_commands.html#new-tip).

let me know if that solves the problem!

@ColtonGarelli as my colleague mentioned above, please use new_tip='never' to opt out of automatic tip handling.
In the latest released version of the software (3.14.1), the robot will attempt to do liquid handling actions even if it doesn't have tips attached, so please be careful to always pick up and drop tips yourself if you opt out of automatic tip handling. This bug (#4219) will be fixed in the next version of the software (3.15.0)
Regarding the specific issues you mentioned:

The transfer and distribute functions are behaving like they should automatically pick up tips upon call and an error is thrown if you attempt to pick up tips

I am unable to reproduce this behavior on our latest development version of the robot software (the soon to be released 3.15). What version are you running on your robot? It's possible that you're hitting a bug that has been or will be fixed.

the functions don't actually pick up the tips resulting in a downstream TipsNotAttached error

Ditto. In my testing, the automatic tip handling functions properly and pick up tips

I guess I had been doing manual tip handling without encountering an error prior to here and I missed the new_tip='never' in docs. My bad. Thanks for the quick response @sfoster1 !


No prompt to install ipython/ipykernel and automatic installation fails

Testing #11755
Tested on Codespace

create a new conda env on codespace
the new conda env is detected
switch to the conda env from the kernel picker
run a cell

There is no prompt to install ipykernel, however there is a notification for "installing ipykernel", at the end installation doesn't seem to happen I got an error in the cell

Duplicate of #12279


Getting region not found error while importing image

pvsadm version
Version: v0.1.1-alpha.4, GoVersion: go1.16.2
Region: osa21
Command used
pvsadm image import --pvs-instance-name ocp-cicd-osaka-21 -b ocp4-images-bucket --object $OBJECT_NAME --pvs-image-name $IMAGE_NAME --bucket-region us-south
Error:
Error: region not found for the zone, talk to the developer to add the support into the tool: osa21
Usage:
pvsadm image import [flags]
One more region needs to be updated mon01 montreal
Expected result : The import should be successful

/assign @bkhadars

@bkhadars lets add the support here - https://github.com/ppc64le-cloud/powervs-utils for this new region.
@Shilpi-Das1 are there any other regions included?

/kind feature

No This is the only new region

@bkhadars this is not scaling really well, will have to talk to the PowerVS folks and find all the possible extension and find the pattern and use that logic if possible!

reopened this issue to update the pvsadm tool with latest powervs-utils repo

Closed via #137

/close

@mkumatag: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

released with the fix - https://github.com/ppc64le-cloud/pvsadm/releases/tag/v0.1.1-alpha.5


Write a C++ program to find the transpose of a matrix

Description
Write a C++ program to find the transpose of a matrix
The transpose of a matrix is an operator which flips a matrix over its diagonal, that is it switches the row and column indices of the matrix by producing another matrix denoted as AT.
Input  :
1 2 3
4 5 6
7 8 9

Output :
1 4 7
2 5 8
3 6 9

How to contribute

Save the solution in program/FindTheTransposeOfAMatrix.cpp file
Add FindTheTransposeOfAMatrix.cpp file in find-the-transpose-of-a-matrix folder

Hey @surajrane42,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign

!assign


implement directly launching mpi applications with srun

Currently QCG-PilotJob launches mpi application as a single process where user must directly call the mpirun/srun with proper executable. In this mode the affinity binding is not precise, each process has access to all cores in allocation. The solution would be to implement a new 'mode', where QCG-PilotJob will directly launch user's mpi application with srun.

available in 0.9 release as 'srunmpi' execution model.


Num partitions in the topic

Hi,
Is it possible to get the number of partitions in the topic?
In Admin* headers I see that it is possible to retrieve topic names only

Hi, @alexeyeroshov,
It's quite simple, -- just with two steps,

fetchBrokerMetadata for a Kafka client, https://github.com/morganstanley/modern-cpp-kafka/blob/main/include/kafka/KafkaClient.h#L126
Get the size of partitions() (the map for partition->patitionInfo) from the BrokerMetadata, https://github.com/morganstanley/modern-cpp-kafka/blob/main/include/kafka/BrokerMetadata.h#L108

Ah, yes, super easy :) Thank you!


Feature Request: Ignore metadata (i.e., YAML front matter and tags)

I would love to be able to exclude YAML front matter and tags from the word count. I know I can select just the words I want to count, but that's inconvenient when I'm trying to count words for scenes on the fly.
Thanks!

I agree with this, this would be cool :)


unix/fs: a bit of cleanup around host-specific code

@bors r+

:pushpin: Commit 279dd350b9cc54cad5d69332ade13808b9acc4a7 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 279dd350b9cc54cad5d69332ade13808b9acc4a7 with merge 87a114aed71c539ece9a455a2e56c4fd9ef44d75...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 87a114aed71c539ece9a455a2e56c4fd9ef44d75 to master...