Warning: Native component for "VRTSceneNavigator" does not exist

When i try to run app on device or emulator i see

Hi, @frayeralex,
1)To get rid of the warnings run the script setup-ide.sh in the root directory of the project. This will properly link react-viro with your ios and android project.
2)Regarding the emulator, react-viro currently doesn't work in the emulator. You'll need to build to an ios or android device.
Let me know if you have any more questions. Also, here's a full guide to get xcode up and running:
http://docs.viromedia.com/docs/starting-a-new-viro-project-1

Closing due to inactivity.
If you still have issues, feel free to re-open this issue or create a new one.
The latest releases are here:
React Viro - https://docs.viromedia.com/docs/releases
ViroCore - https://virocore.viromedia.com/docs/releases
Thanks for using Viro!

@VikAdvani followed your first suggestion above, results in:
Task 'installDebug' not found in root project 'ViroSample'. Some candidates are: 'installGvrDebug', 'installOvrDebug'.

Hi @dokwon,
It sounds like you're building from command line? If so, then you'll have to use either 'installGvrDebug' or 'installOvrDebug' because our setup-ide.sh script adds 2 build flavors. You should use the Gvr flavor if you want anything other than Oculus VR for Gear VR.

I ran
'gradle installGvrDebug'
and got the following error:
Caused by: java.lang.NoSuchMethodError: com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
at com.android.build.gradle.tasks.factory.JavaCompileConfigAction.execute(JavaCompileConfigAction.java:131)
at com.android.build.gradle.tasks.factory.JavaCompileConfigAction.execute(JavaCompileConfigAction.java:39)
at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:148)
at com.android.build.gradle.internal.TaskContainerAdaptor.create(TaskContainerAdaptor.java:59)
at com.android.build.gradle.internal.scope.AndroidTaskRegistry.create(AndroidTaskRegistry.java:47)
at com.android.build.gradle.internal.scope.AndroidTaskRegistry.create(AndroidTaskRegistry.java:89)
at com.android.build.gradle.internal.TaskManager.createJavacTask(TaskManager.java:1102)
at com.android.build.gradle.internal.ApplicationTaskManager$13.call(ApplicationTaskManager.java:248)
at com.android.build.gradle.internal.ApplicationTaskManager$13.call(ApplicationTaskManager.java:241)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.internal.ApplicationTaskManager.createTasksForVariantData(ApplicationTaskManager.java:238)
at com.android.build.gradle.internal.VariantManager.createTasksForVariantData(VariantManager.java:485)
at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:293)
at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:290)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:286)
at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
at com.android.build.gradle.BasePlugin$$Lambda$127/1154582025.execute(Unknown Source)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:91)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:80)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42)
at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:230)
at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:149)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)
... 88 more

Hi @dokwon,
Assuming you've created a React Viro project and have run setup-ide.sh --android from within your React Viro project (if you haven't follow the steps in our quick start and our Android Studio setup guide), try the following steps:
cd <your_project>/android
./gradlew installGvrDebug
that should build & install the debug apk to your device, however to use the application, you need to set up 1) your packager server and 2) reverse TCP to tether your device to your laptop.
To start your packager server, simply run the following commands:
cd <your_project>
npm start
In another terminal window, run the follow command:
adb reverse tcp:8081 tcp:8081
Then start the app you previously installed on your device, after accepting the permissions (React Native requires the "draw over other apps" permission for its debug menu) a red bar should appear at the top as the JS files are transferred over the tethered connection you set up with the adb command.
To make changes in JS, simply make the changes, and either "shake" the device and tap reload, or from the terminal type adb shell input text 'rr'.
--
Alternatively, you can simply build in release, but it'll take longer as it has to bundle the JS files & resources.
To do this, simply run:
cd <your_project>/android
./gradlew installGvrRelease
Then simply launch the app. The packager server and reverse tethering isn't needed in this case because the app is in release mode w/ all the JS assets/code bundled in the APK itself.
--
Finally, it's strange that you couldn't find the installGvrDebug gradle task above. To see all the available gradle tasks, you can run gradle tasks (or ./gradlew tasks if you have a gradle wrapper, like in our project).
Let us know if you have any other questions or run into any issues with the above instructions!
Andy

A couple of clarifications:

react-native run-android (which equates to cd android && gradlew installDebug) could not find the build flavor installDebug, not installGvrDebug.

The 'setDependencyCacheDir' issue I highlighted in my second comment occurs when I follow all the steps you outlined above. After some googling, I discovered that some react native projects are not compatible with the newer versions of gradle. See this related issue in a different project: https://github.com/oblador/react-native-keychain/issues/68

I followed the solution outlined in the link I shared, and the project builds fine.
Instead of building ViroSample, if I wanted to add ViroReact to one of my own projects, do I simply copy over setup_ide.sh to the root directory of my project and run it? Or do I need to perform additional configuration besides?

Hi @dokwon,
In response to your clarifications:

Ahh, yes, because we have multiple product flavors the "default" installDebug task is not available and so, the react-native run-android command won't work.

Interesting, thanks for bringing this to our attention. We'll try to repro the issue with a new version of gradle and we'll add a bug to our backlog.

I wouldn't copy over setup_ide.sh because it's got a few "hardcoded" line numbers and such. However, we do have instructions on how to add React Viro to an existing Android project here which is exactly what the script does itself.
Thanks again and feel free to reach out if you run into any issues.
Andy


Add Theia L2A products to the list of supported providers for get_data method

Original report by Baptiste Meylheuc (Bitbucket: bmeylheuc, ).

For S2 products  :
L2A products provided by Theia have Sentinel2A or Sentinel2B as  sensing_platform attribute, and no sensor attribute. It results in a "NoDriver" driver, as expected in eodag when it doesn't match.
Furthermore, the tree structure of L2A products is different from L1C (no MTD_MSIL1C.xml file, there are no subfolders apart from a mask folder) and must be managed separately.

Fixed with #26


ARROW-2467: [Rust] Add generated IPC code

I generated the IPC code after installing the flatbuffers release available via conda but still had to manually modify the code to make it compile due to these issues with flatbuffers:
https://github.com/google/flatbuffers/issues/5052
https://github.com/google/flatbuffers/issues/5053
https://github.com/google/flatbuffers/issues/5054
I think this is the best we can do for now.

@sunchao @paddyhoran @kszucs Please take a look when you have time

I'm merging it, thanks @andygrove!
Do We have any missing pieces to add rust to the format integration tests https://issues.apache.org/jira/browse/ARROW-3690?
Rust implementation grows pretty quickly and We should ensure that it is compatible with the rest of the implementations.

Rust implementation grows pretty quickly and We should ensure that it is compatible with the rest of the implementations.

Agreed, I plan to start looking at this when I get a chance.

Cool, thanks @paddyhoran. The first step is to implement the appropiate commands on rust side, then I can help with adding it to the python testing script.


Update tests.yaml

Codecov Report

Merging #26 (8300265) into main (00a22d6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   84.55%   84.55%
=======================================
  Files          28       28
  Lines         602      602
  Branches        2        2
=======================================
  Hits          509      509
  Misses         92       92
  Partials        1        1

Flag
Coverage Δ

unittests
84.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 00a22d6...8300265. Read the comment docs.


resolutionStrategy.componentSelection.all requires non intutive call to be used

The issue is detailed here:
https://github.com/gradle/gradle/issues/987
TL;DR This is a very non intuitive API call:
val schemaLookup = configurations.create("customizations-schema-lookup") {
    it.resolutionStrategy
        .componentSelection
        .all(object : Action<ComponentSelection> {
            @Mutate
            override fun execute(selection : ComponentSelection) {
                println("Executing")
                println(selection)
            }
        })
}

Blocked by #8.

I mean, this isn't quite superseded, isn't the goal for the JVM to call the Action?
So the underlying problem of needing to annotate the action method with a @Mutate annotation is a simple fix.

The Kotlin compiler is selecting the wrong overload. It should be selecting the Action taking version but it's selecting the Object taking one which expects a rule source argument, that's why adding @Mutate fixed the problem.

Proven to be fixed in 4eba4f44c97a768f16c50c1e3842a115a22c2489.

I'm experiencing this issue. Not sure if I'm doing something wrong or if this is still a bug.
Please see this branch for where I'm configuring a custom resolution strategy.
https://github.com/peter-evans/gradle-auto-dependency-updates/blob/exclusion-rules/build.gradle.kts#L62-L71
If I change the above code to the following, it fails with the same error described in this issue.
configurations.all {
    resolutionStrategy
        .componentSelection
        .all({ selection : ComponentSelection ->
            excludeSelectionByRegex(selection, "org\\.jetbrains.*", ".*", ".*-(eap|M).*")
        })
}

@peter-evans can you open an new issue against gradle/gradle for this?

Can't you move this issue? 🤔 😁
On Tue, Jun 16, 2020, 2:39 PM Jonathan Leitschuh<EMAIL_ADDRESS>wrote:

@peter-evans https://github.com/peter-evans can you open an new issue
against gradle/gradle for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/kotlin-dsl-samples/issues/196#issuecomment-644736206,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ66HZKGKXVHQE4AJNQDRW5RXHANCNFSM4CY6A37A
.


Add NAT Pool to VMSS Create

Special PR! This was my submarine's hull number :)

Execute P0s before any change to VMSS Create OR VM CREATE is merged

Did we do this?

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:4 in cf1bc67. [](commit_id = cf1bc67484a3ed0564c428abcecce28acae1b172, deletion_comment = False)

Delete test_vm_scaleset_create_options.yaml

Seems like we should add the NAT pool option to this test at least.

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:24 in cf1bc67. [](commit_id = cf1bc67484a3ed0564c428abcecce28acae1b172, deletion_comment = False)

Why are we removing the nat_rules subtemplates and capabilities?

Execute P0s before any change to VMSS Create OR VM CREATE is merged

Yep :)

In reply to: 243494813 [](ancestors = 243494813)

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:4 in 16fb4a2. [](commit_id = 16fb4a21b78be4b80c83807a4cab31d2649b1c8a, deletion_comment = False)

Delete test_vm_scaleset_create_options.yaml

nat pool is always added, so the existing tests cover it

In reply to: 243494930 [](ancestors = 243494930)

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:24 in 16fb4a2. [](commit_id = 16fb4a21b78be4b80c83807a4cab31d2649b1c8a, deletion_comment = False)

They are merged into the LB create.  Nat rules and pools are created there.

In reply to: 243495445 [](ancestors = 243495445)

Execute P0s before any change to VMSS Create OR VM CREATE is merged

Why aren't the updated recordings part of the PR then? I guess you could discard them, but then this question comes up!

In reply to: 243503997 [](ancestors = 243503997,243494813)

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:4 in cf1bc67. [](commit_id = cf1bc67484a3ed0564c428abcecce28acae1b172, deletion_comment = False)

Execute P0s before any change to VMSS Create OR VM CREATE is merged

this was an internal server-side only change, so the recordings didn't need to be saved.  I had to record them in batches, so I didn't have them ready all at once

In reply to: 243514355 [](ancestors = 243514355,243503997,243494813)

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:4 in 16fb4a2. [](commit_id = 16fb4a21b78be4b80c83807a4cab31d2649b1c8a, deletion_comment = False)

Execute P0s before any change to VMSS Create OR VM CREATE is merged

I get that. In the future though we should probably include the updated recordings as part of the PR so that anyone reviewing it can know that we re-ran the tests live. It's easy to forget to otherwise and the CI can't enforce it. :)

In reply to: 243614296 [](ancestors = 243614296,243514355,243503997,243494813)

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/mgmt_vmss/azuredeploy_test.md:4 in cf1bc67. [](commit_id = cf1bc67484a3ed0564c428abcecce28acae1b172, deletion_comment = False)

Only had the last little comment on the template parameter order, but otherwise LGTM. :shipit:


[BUG] Feature request issue template bug

🐛🐛 Bug Report
Feature request issue template's line "related to an existing issue" has a bug..
The link embedded in the word "issue" has some extra ../'s
⚗ Current Behavior
Just appending issue number to the link gives 404.
Expected behavior/code
Appending the issue number should link to the desired issue.
🧰 Possible Solution  (optional)
Remove the extra ../'s

Hey:) I created a pull request (#378) to fix this issue.


Hello, I'm a student of Tsinghua University. I found that running unet2_ test. The values of the image generated by py file are not all 0 and 255, but also some values between 0 and 255. I want to ask why. Usually, the segmentation result is not only two values, that is, 0 or 255

Hello, I'm a student of Tsinghua University. I found that running unet2_ test. The values of the image generated by py file are not all 0 and 255, but also some values between 0 and 255. I want to ask why. Usually, the segmentation result is not only two values, that is, 0 or 255

The saliency map generated by model is between 0 and 1 (*255 to be 0 to 255). If you want saliency map to be binary, you should set a threshold(>threshold be 255, <threshold be 0).

usually, probability maps are generated. you need to binarize them.
On Tue, Jul 19, 2022 at 12:35 AM xianglei3 @.***> wrote:

Hello, I'm a student of Tsinghua University. I found that running unet2_
test. The values of the image generated by py file are not all 0 and 255,
but also some values between 0 and 255. I want to ask why. Usually, the
segmentation result is not only two values, that is, 0 or 255
—
Reply to this email directly, view it on GitHub
https://github.com/xuebinqin/U-2-Net/issues/319, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORMBXURVR6DCVFXA4JTVUZLDTANCNFSM5365VWDA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/


Update for Muse

What does this PR do?
some minor fixes...
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

I think it should say in the description that this is cherry picking 2721a2f
This helps the reviewer.

You are right, it is just not sure what all needs to be picked, so switching back to draft...

also we need to get #14972

Although it's for pytorch portion, it is needed since doctests for app are importing pytorch portion as well


Websocket API

Hi
What is Websocket api port for client?

What is the client config?

https://github.com/teamgram/teamgram-tt
for this


Push Button Dummy Event Channel for Testing

As a keptn service developer I want to test the event > service workflow on demand, rather than forcing an event into one of the "proper" event channels.
In short, I want a way to create my service, configure the event channel subscription and run a "test integration" command to see if my service works or not.

Currently, triggering a test only is not supported yet. But we see the need and will consider this.

We provide a postman collection of CloudEvents that you can use for local testing. Once we have the KeptnEngine we can think about providing a test-topic to quickly check new integrations. This is out of scope right now.


Consumer cannot consume messages when key_shared mode  and subscriptionKeySharedUseConsistentHashing

Describe the bug
Key_shared mode is configured as ConsistentHashingStickyKeyConsumerSelector, When I use three consumers with the same consumerName, if one consumer is closed, the other two consumers will no longer be able to consume messages.
To Reproduce
Steps to reproduce the behavior:

config the 'conf/standalone.conf' subscriptionKeySharedUseConsistentHashing=true

./bin/pulsar standalone
Start 3 consumers with the same cosumerName.

        PulsarClient client = PulsarClient.builder()
                .serviceUrl("pulsar://localhost:6650")
                .build();

        org.apache.pulsar.client.api.Consumer consumer = client.newConsumer()
                .topic("my-topic")
                .subscriptionName("my-subscription")
                .consumerName("one")
                .subscriptionType(SubscriptionType.Key_Shared)
                .subscribe();

Start a producer send messages.
All 3 consumers can consume messages.
Close one consumer, and the producer send messages again.
The other two consumers cannot consume new messages

Expected behavior
The other two consumers can continue to consume new messages(Refer to step 7 above).
Additional context
https://github.com/apache/pulsar/blob/e19f6472183ac93dc058a96f7ac0537c22d90e18/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ConsistentHashingStickyKeyConsumerSelector.java#L93
I think the problem is due to the above code, which removes all consumers with the same name.

Perhaps this is related to #13965 ?

@sourcelliu @lhotari

Perhaps this is related to #13965 ?

No, it's not related to that (and #13965 is just a test issue, not a code issue).
The consumer name is expected to be unique (eg: if you don't pass one, it will be auto-generated).
Having said that, the check here is wrong, as we should compare the consumer instance and not just the name.


Rename models that do not follow the naming convention

Reported by dietmarw on 14 Sep 2011 14:05 UTC
Looking at the MSL there exist several models that don't quite follow the naming convention as pointed out in Modelica.UsersGuide.Conventions.ModelicaCode.Naming
So far I found that the following models need to be corrected once a new version with conversion script will be released:
Modelica.Blocks.Interfaces.partial*

Migrated-From: https://trac.modelica.org/Modelica/ticket/609

Comment by otter on 30 Mar 2013 14:39 UTC
The attachment "classeswithclosescases.txt" is no longer present

Changelog removed by otter on 30 Mar 2013 14:39 UTC

Comment by dietmarw on 1 Apr 2013 12:51 UTC
Attachment recovered.

Comment by dietmarw on 1 Aug 2015 21:36 UTC
Milestone renamed

Comment by dietmarw on 1 Aug 2015 21:39 UTC
Milestone renamed

Based on the discussion in #2478 it perhaps is a good idea to go away from the partial prefix all together and rather call those base classes with a `Base´ postfix.

Based on the discussion in #2478, Icon style guide: missing information on libraries' colors it perhaps is a good idea to go away from the partial prefix all together and rather call those base classes with a `Base´ postfix.

I agree that the current "Partial" prefix is not ideal, but I am not sure if Base-prefix is always the correct solution - even if it often is an improvement. Basically "XBase" may sound as the base-class for "X"-functionality, whereas "PartialX" sounds as a partial "X" and they are not necessarily the same. However, I don't have a better alternative, and e.g. "XInterface" would be worse (since that would imply that it were only an interface). We might also skip some of the changes (in particular PartialMedium) if we view it as too impactful for users (even with conversion scripts) - compared to the gain.
BTW: We also have to give better name to Modelica.Mechanics.MultiBody.Sensors.Internal.PartialCutForceBaseSensor and Modelica.Mechanics.MultiBody.Sensors.Internal.PartialCutForceSensor

That sounds like a clean solution if applied. I wonder how one then would distinct this from the Modelica.Icons.InternalPackage which also is often use to collect models that should not be used directly.

To me InternalPackage and BasePackage are different.
BasePackage contain partial models - they can be used by users directly as base-classes - but clearly not as components in simulation models.
InternalPackage should not be used directly by users - at all; neither as base-classes nor as models for components.
Models from both packages can be used indirectly by users.

Hm. I do not really understand the discussion about "PartialXXX" and "XBase". These are different things. "PartialXXX" clearly indicates in its model name, that it is a partial class and the only useful operation on it is inheritance (and using it as a base class of a replaceable component). I find this very useful information: So it makes no sense to drag a "PartialXXX" from the package browser into the model, whereas all other components in the package browser can be dragged in a model!
XBase just means it is a building block to build higher level models. An "XBase" model needs not to be a partial class.

There are multiple variants being discussed here.
One is naming "PartialX", "XBase" or ..., and another is whether the name of the class should contain this information at all - or whether it should be implicit from the package (and then it is a matter of the name of that package).
In many cases it is more implicit - in e.g. Modelica.Electrical.Analog.Interfaces we have partial models and non-partial connectors. Those model names don't contain "Partial" or "Base" - but it is still clear from context that they are partial models - and one could even guess this from names such as "TwoPin".
Modelica.Mechanics.MultiBody.Interfaces is different - all the partial models have "Partial" in their name, and there is also one non-partial model. However, even without "Partial" one would guess that "TwoFlanges" is partial.
Similarly Modelica.Mechanics.MultiBody.Sensors.Internal could be separated into a sub-package for the base-classes - and thus remove the need for "Partial" in "PartialAbsoluteSensor"
This also made me realize that we have both
Modelica.Mechanics.MultiBody.Interfaces.PartialAbsoluteSensor and Modelica.Mechanics.MultiBody.Sensors.Internal.PartialAbsoluteSensor - and it is the Internal-variant that is used in models, whereas the one intended to be used by users isn't used.
I believe the internal-one is cleaner and that we should replace
Modelica.Mechanics.MultiBody.Interfaces.PartialAbsoluteSensor by Modelica.Mechanics.MultiBody.Sensors.Internal.PartialAbsoluteSensor; (and similarly for other sensors).

I believe we cannot get this sorted out for MSL v4.0.0. Therefore, removing milestone.


Update pyHS100 to 0.3.4

Description: Fixes Home Assistant gui not being able to set red hues on bulbs controlled by pyHS100
"The hue range for light bulbs is fixed" - https://github.com/GadgetReactor/pyHS100/releases/tag/0.3.4
Tested locally and working fine - my office is now a charming shade of pink.

## Checklist:
  - [x] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
  - [x] There is no commented out code in this PR.

If the code communicates with devices, web services, or third-party tools:
  - [x] New dependencies have been added to the `REQUIREMENTS` variable ([example][ex-requir]).
  - [x] New dependencies are only imported inside functions that use them ([example][ex-import]).
  - [x] New or updated dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.
  - [ ] New files were added to `.coveragerc`.

Hi @StefanBCN,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Thanks!


Causing

Steps to Reproduce
I think it's problem in 2 files: app.dart and login_page.dart

Some exceptions started after using Google Sign in Template (Deleted it because of I want to solve it after all another problems), so, may be this could help
As I understand this is because I try to navigate from LoginPage to HomePage, whose are marked as possible routes in app.dart. So, look at the code (It's too big, don't want to insert it here).
After compiling and running it on smartphone I get exception (more in logs)

P.S. Google Sign in always threw an exception "Missing Plugin Exception". Like here #14137
Logs
Launching lib/main.dart on SM A520F in debug mode...
Built build/app/outputs/apk/debug/app-debug.apk.
I/flutter (30785): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (30785): The following assertion was thrown building TravelMetApp(dirty):
I/flutter (30785): If the home property is specified, the routes table cannot include an entry for "/", since it would
I/flutter (30785): be redundant.
I/flutter (30785): 'package:flutter/src/material/app.dart': Failed assertion: line 109 pos 10: 'home == null ||
I/flutter (30785):          !routes.containsKey(Navigator.defaultRouteName)'
I/flutter (30785):
I/flutter (30785): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (30785): more information in this error message to help you determine and fix the underlying cause.
I/flutter (30785): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (30785):   https://github.com/flutter/flutter/issues/new
I/flutter (30785):
I/flutter (30785): When the exception was thrown, this was the stack:
I/flutter (30785): #2      new MaterialApp (package:flutter/src/material/app.dart)
I/flutter (30785): #3      TravelMetApp.build (file:///home/anyan/VS%20Code%20Projects/Flutter%20Projects/travelmet/lib/app.dart:8:16)
I/flutter (30785): #4      StatelessElement.build (package:flutter/src/widgets/framework.dart:3708:28)
I/flutter (30785): #5      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3655:15)
I/flutter (30785): #6      Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
I/flutter (30785): #7      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
I/flutter (30785): #8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
I/flutter (30785): #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
I/flutter (30785): #10     Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
I/flutter (30785): #11     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:857:16)
I/flutter (30785): #12     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:828:5)
I/flutter (30785): #13     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:774:17)
I/flutter (30785): #14     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2235:19)
I/flutter (30785): #15     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:773:13)
I/flutter (30785): #16     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:662:7)
I/flutter (30785): #17     runApp (package:flutter/src/widgets/binding.dart:704:7)
I/flutter (30785): #18     main (file:///home/anyan/VS%20Code%20Projects/Flutter%20Projects/travelmet/lib/main.dart:4:16)
I/flutter (30785): #19     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19)
I/flutter (30785): #20     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter (30785): (elided 2 frames from class _AssertionError)
I/flutter (30785): ════════════════════════════════════════════════════════════════════════════════════════════════════
D/libGLESv2(30785): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.travelmet
Application finished.

Can't do that because "Command not found" (even if I have it in $PATH).

So, only flutter doctor (without -v)
[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.5.6, on Linux, locale ru_RU.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] Android Studio (version 3.2)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.25.0)
[!] Connected devices
    ! No devices available

yeah, I'm sorry, but I just can not do anything else (Here I used command from VSCode)
Also, I'm working on Ubuntu 16.04.

I think it's caused by https://github.com/arsensaruhanyan2611/TravelMet-Flutter/blob/master/app.dart#L21
https://docs.flutter.io/flutter/material/MaterialApp/onGenerateRoute.html says

If this returns null when building the routes to handle the specified initialRoute, then all the routes are discarded and Navigator.defaultRouteName is used instead (/). See initialRoute.

This is what the error message says is not allowed. If home: is provided no route / must exist.

No, I don't understand :( Can you please explain?..

Sorry, don't have deep understanding here myself yet.
Just checked the docs and that looked related.

Okay, then I'll try to do something else (or literally wait for somebody else). But in any case, thanks for the help.

@zoechi oh, I'm sorry, I forgot to change name

Apparently the compiler realized that it's impossible to just start the application without spending extra time. No, seriously, I deleted Google Sign-in from the list of dependencies 6 hours ago and here it is like nothing happened with lib.
imgur
P.S. Sorry for cyrillic. A red block with exception is "An exception occurred", block with hashcode, runtimeType and message is "Variables" and the last block on the right place is "Call stack".


[CSSimplify] Fix a bug where the omitted projected value label was missing as an acceptable parameter label for property wrappers

To allow for unnamed property wrapper projected values, the omitted label $_ needs to be included in the list of valid argument labels for property wrappers. This PR adds the missing label in Param::matchParameterLabel(),  includes a test for $_ as a valid argument label and minor code rewrites to use existing member functions.

Resolves SR-15031.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test Windows platform


add a new container for new version of GUI

We want to keep an old version of the GUI available.
Instead of deleting the old version for now, we will just add a container for the new GUI.

Duplicate of #905


ItemTouchDropped not called

Hi,
I migrated to the latest version and wanted to change the reaction of a Drag'n Drop, so that the code of finally storing the positions of the items when the callback itemTouchDropped has been called. I scanned posible issues in your project, but didn't find any clues of what the problem might be. Do you have an idea of what my issue is?
Thanks in advance.
PS.: Maybe it's important to state that I use EventHooks to initiate the drag

@sparkitny did it work before? Did you have a look into the samples?

Hi,
no, it didn't work before. I tried it you first introduce it, but I thought it may be a bug or my fault. Here you see my code, where I try to to use it. I deleted unnecessary code
`public class RoutineDetail extends Fragment implements
EditTextView.OnTextChangeListener, ItemTouchCallback {
private static final String TAG = "RoutineDetail";
@BindView(R.id.routine_detail_view_routine_name_value)
protected EditTextView routineName;
@BindView(R.id.exercise_list)
protected RecyclerView exerciseList;
private FastItemAdapter<ExerciseItem> adapter;
private ItemTouchHelper touchHelper;
private SimpleDragCallback dragCallback;
private boolean dirty = false;

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
                         Bundle savedInstanceState) {

    View view = inflater.inflate(R.layout.fragment_routine_detail, container, false);

    ButterKnife.bind(this, view);

    routine = FitNavDrawer.db.getRoutineById(routineId);

    adapter = new FastItemAdapter<>();

    exerciseList.setAdapter(adapter);
    exerciseList.setLayoutManager(new LinearLayoutManager(getActivity()));
    exerciseList.setItemAnimator(new ScaleUpAnimator());

    dragCallback = new SimpleDragCallback(this);
    dragCallback.setIsDragEnabled(true);

    touchHelper = new ItemTouchHelper(dragCallback);
    touchHelper.attachToRecyclerView(exerciseList);

    adapter.withEventHook(getMoveHook());

    return view;
}

private TouchEventHook<ExerciseItem> getMoveHook() {
    return new TouchEventHook<ExerciseItem>() {

        public boolean onTouch(View v, MotionEvent event, int position, FastAdapter<ExerciseItem> fastAdapter, ExerciseItem item) {

           ExerciseItem.ViewHolder viewHolder = item.getCurrentViewHolder();

            touchHelper.startDrag(viewHolder);
            return true;
        }

        public View onBind(RecyclerView.ViewHolder viewHolder) {
            if (viewHolder instanceof ExerciseItem.ViewHolder) {

                return ((ExerciseItem.ViewHolder) viewHolder).moveButton;
            }
            return null;
        }
    };
}
public boolean itemTouchOnMove(int oldPosition, int newPosition) {

    Collections.swap(adapter.getAdapterItems(), oldPosition, newPosition);

    adapter.notifyAdapterItemMoved(oldPosition, newPosition);

    dirty = true;

    return true;
}

public void itemTouchDropped(int oldPosition, int newPosition) {

    Log.d(TAG, String.format("Stored routine %s", routine.getName()));
    Log.d(TAG, String.format("Old: %s New: %s", oldPosition, newPosition));

    storeRoutine();
}

}
`

Hi Mike,
I figured out my fault. I forgot to implement the interface IDraggable<,>. Now, it works smoothly.
Thanks anyway
Sebastian


Render failed, failed to render template

Description
Problem to access TAB Packages after upgrade from 1.21.7 to 1.21.8.
Render failed, failed to render template: repo/packages, error: template error: builtin(bindata):package/shared/list:23:16 : executing "package/shared/list" at <.FullWebLink>: can't evaluate field FullWebLink in type *packages.PackageDescriptor
				{{.Package.Name}}
				           ^

Gitea Version
1.21.8
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
No response
Operating System
Docker (gitea/gitea:1.21.8)
How are you running Gitea?
Docker image: gitea/gitea:1.21.8
Database
SQLite

Sorry for the inconvenience.

Known Issues

Browsing "packages" pages might cause 500 error, it could be fixed by updating to pre-1.21.9:

Docker image: use gitea/gitea:1.21-nightly and gitea/gitea:1.21-nightly-rootless
Binary: download from https://dl.gitea.com/gitea/1.21/

Fixed by #29764

New release should be forthcoming soon.


Tracking existing/published landscapes built off of the cncf landscape app

Hi,
Thank you so much for the incredible work on the CNCF landscape, it is an incredible resource and compilation :)
I was just curious, is there a list anywhere or a smart way to search the web for existing published landscapes using the app? I think it would be cool to add these to the readme.... I have seen the below, but not sure if there are more or not:

https://landscape.cncf.io/
https://landscape.lfai.foundation/
https://landscape.openmainframeproject.org/

Anyhow, its an awesome app! Thanks so much!
Rajko

See landscapes.dev
On Sat, Oct 9, 2021 at 9:37 PM Rajko Radovanovic @.***>
wrote:

Hi,
Thank you so much for the incredible work on the CNCF landscape, it is an
incredible resource and compilation :)
I was just curious, is there a list anywhere or a smart way to search the
web for existing published landscapes using the app? I think it would be
cool to add these to the readme.... I have seen the below, but not sure if
there are more or not:

https://landscape.cncf.io/
https://landscape.lfai.foundation/
https://landscape.openmainframeproject.org/

Anyhow, its an awesome app! Thanks so much!
Rajko
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cncf/landscape/issues/2311, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPSILJ44XW7T2EAFKPXJLUGD355ANCNFSM5FV6GOCQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Cheers,
Chris Aniszczyk
https://aniszczyk.org

Hi!
We've just migrated the CNCF landscape to v2. You can find some landscapes built with landscape2 here.
Will close this issue for now, please feel free to reopen if needed 🙂


Update for Pydantic v2

Closes #16.
This PR includes all commits from PR #21.
I suggest accompanying this change with a minor version bump, but I'm not going to do that at the moment, as there are other PRs with their own versions to release first.

@AlmightyYakob Ping.

@AlmightyYakob Rebased.


Make IHttpClient not being there not break stuff

For #9799
Also had an error like so show up:
extension.web.bundle.js:4

       Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object
    at eval (extension.web.bundle.js:4:1453946)
    at t.populateTelemetryWithErrorInfo (extension.web.bundle.js:4:1454022)
    at f (extension.web.bundle.js:4:1591407)
    at h (extension.web.bundle.js:4:1590568)
    at eval (extension.web.bundle.js:4:1592187)

So fixing that too. Don't need to use instanceof.

Codecov Report

Merging #9832 (da9ae6f) into main (b649d71) will decrease coverage by 0%.
The diff coverage is 50%.

:exclamation: Current head da9ae6f differs from pull request most recent head 30030cb. Consider uploading reports for the commit 30030cb to get more accurate results

@@         Coverage Diff          @@
##           main   #9832   +/-   ##
====================================
- Coverage    63%     63%   -1%
====================================
  Files       203     203
  Lines      9810    9810
  Branches   1556    1556
====================================
- Hits       6213    6210    -3
- Misses     3100    3101    +1
- Partials    497     499    +2

Impacted Files
Coverage Δ

src/platform/errors/index.ts
74% <50%> (-6%)
:arrow_down:


fix(front): 按服务模板中当前业务暂无服务模版无法跳转配置平台 (closed #207)

Codecov Report

Merging #223 (d0b5667) into v1.0.20-rc (4b2abf6) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           v1.0.20-rc     #223   +/-   ##
===========================================
  Coverage       53.55%   53.55%
===========================================
  Files             182      182
  Lines            8975     8975
===========================================
  Hits             4807     4807
  Misses           4168     4168

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


Mat-select lacks disabled (readonly) option

Reproduction
Steps to reproduce:

Create a project
Add Angular material to the project
Create a form with fieldset in it and mat-select in it (form -> fieldset -> mat-select)
Add [disabled] to fieldset inside form tag to be true on submit
Force disabled to become true
Observe mat-select that user can interact with even though they should not

Expected Behavior
Selector should be disabled.
Actual Behavior
It is not.
Additional info
I've read that mat-select has no readonly state because "native select doesn't have it", HOWEVER I want to point that when you make fieldset disabled the native selector disables and the user CANNOT modify value on form sumit. BUT when using Angular material user CAN change the value during submit even though it is inside fieldset[disabled].
This makes it tricky to work with forms non-stop (for example when you can submit form, then form needs to be locked until it's submitted, after that you enable form and reset it's submitted state and let the user change/save the form again).

I would like to solve this issue. Can it be assigned to me? Thanks!

There was a PR for this a very long time ago and we decided against it. See https://github.com/angular/components/pull/4334.

@crisbeto but whereas regular inputs are implemented in Angular material as inputs (they are still inside though hidden) the mat-select doesn't contain a native input selector and therefore IMHO it IS in scope of Angular material, since this field is not wrapped around the native field.

Moreover, readonly state is different from disabled state. When form is being submitted fields are readonly. (disabled ones look different)

Please add readonly to mat-select!!

Add pointer-events: none

pointer event can't prevent keyboard control.
disabled is different from read-only.
I think it is a reasonable demand.

Closing this since the underlying issue is tracked on https://github.com/angular/angular/issues/35309


CORE-6168 increase timeout for test due to occasional slow runs of combined worker e2e tests

This test has passed all weekend on a cron job with the increased timeout


Store streetview images in a subdirectory in the Google Cloud bucket.

Describe the task
Currently, Google streetview images are generated and stored in the root directory of the GCP bucket.  They should be in a subfolder like streetview_images/ for better organization.
Acceptance Criteria
The streetview service is defined the docker-compose.yaml file.  Update the code run by the service to write the image files to a sub-directory.
Update the front-end code to find images in the new sub-directory rather than in root.
Additional context
None

I have a draft PR up for this issue, but I have other things that are higher priority for me to address. Will leave this for another dev to handle. See PR #894. I'll leave it up as a starting point until we get this issue addressed.

Not a priority right now--will tackle after the pipeline + database rewrite.


Is it possible to Log downstream calls made by the application

We have a SpringBoot application which makes downstream calls to external services, would be possible to log these external calls as well?
Detailed Description

We would like to log the downstream calls made to the external services. And later use those to mock the downstream calls. Would it be possible to achieve this using Logbook?
Context

It would greatly help in running tests quickly, if the ability to mock downstream services is available.
Possible Implementation

Your Environment

Version used:
Link to your project:

Yes, that's already built-in, but it depends on your client technology. What do you use to make requests? RestTemplate? Which HTTP library do you use under the hood?

Logbook has support for several client technologies:

Apache HTTP Client: https://github.com/zalando/logbook#http-client

this can be used with Spring's RestTemplate in combination with HttpComponentsClientHttpRequestFactory

JAX-RS: https://github.com/zalando/logbook#jax-rs
OkHttp: https://github.com/zalando/logbook#okhttp-v3x

Hi, thanks a lot for your quick response.
I have two more queries :

Is it to also possible to mock the downstream calls (similar to how WireMock works)
Could you please provide any metrics related to the latency/performance degradation introduced by logbook

Thank you.

Is it to also possible to mock the downstream calls (similar to how WireMock works)

This is not related to Logbook anymore. Why not just use WireMock? https://github.com/rest-driver/rest-driver would also work.

2. Could you please provide any metrics related to the latency/performance degradation introduced by logbook

There is pending issue #99 to do this. One bottleneck was already identified, see #425. The next 2.x release should give you a lot more control to not buffer the request/response body in the first place. But it's not there yet and even then we still don't have any hard numbers. We use it at Zalando and the penalty is not noticeable or at least not significant enough.


Mixed integer variables

Thanks for the work.
Does current TFOCS allow Mixed Integer variables, i.e., mixed integer disciplined convex programming (MIDCP)?

Hi samiit,
Unfortunately MIDCP is not supported. To my knowledge Matlab TFOCS (on which TFOCS for Spark is based) does not support this either.

Thanks.

Thanks.


Consider publishing generated capnp and uhdm_types.h as release artifacts

As mentioned in #484 a potential way to use UHDM is to take only the capnp and uhdm_types.h files and write the databases yourself without needing the extra C++ wrapper layer that is generated. As part of a versioned release process it would be nice to publish these as outputs, and to consider reducing uhdm_types.h to the bare minimum enum definition (moving the other code out of it to somewhere else).

First step: With recent change #488, the UHDM.capnp is part of the install and shows up in lib/uhdm (though maybe share/uhdm/UHDM.capnp might be another possible choice.

$PREFIX/lib/uhdm/UHDM.capnp
$PREFIX/include/uhdm/uhdm_types.h

Still todo:

[ ] actually create regular releases that allow to download the build artifacts
[ ] Reduce stuff in uhdm_types to just the enum


feat: small changes to structure after implementation

I'm happy we these. If @paulmsmith is too then we can merge and make the changes in frontend too

All good, merged.


Any way to make Expand/Collapse

Thanks for this wonderful plugin, I'm using it in almost my every Project.
But now I have to implement Expand/Collapse in Listview(Single Column) and Expand/Collapse in GridView(Multi Column). Any way/or performer work around to achieve this ?

There are many ways to achieve this.
It depends what you really want

Hi,
It's straight, how other app is doing.
Expandable Listview
and Expandable Gridview.
Please let me know how to achieve, I will also find image and send you.
On Fri, Oct 19, 2018, 1:06 PM vlkam<EMAIL_ADDRESS>wrote:

There are many ways to achieve this.
It depends what you really want
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daniel-luberda/DLToolkit.Forms.Controls/issues/219#issuecomment-431272702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIdg7DSwDDEzVc1XRuHXbln7s04Im_RPks5umYDogaJpZM4XsqtN
.

I'd put the content of row inside a layout,  for example Xamarin.Forms.Grid and then change height of the layout to reflect the state of row.


Text field or text area contents are not displayed in the shopping cart

Used Shopware Version: <IP_ADDRESS>
Description:
Text field or text area contents are not displayed in the shopping cart.
Environment:
SW <IP_ADDRESS> and CP 4.1.0
Steps to reproduce:
Add a text field or text area to the setting of CP.
Then configure this field in the storefront.
Expected result:
The content of the configured text field or text area should be displayed just like the content of number fields, for example, when you click on "Show configurations".
Actual result:
The content of the text field or text area is not displayed in the shopping cart.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/CUS-633.
[created from CUS-633, comment 484976]


Transfer learning freeze layers

❓ Questions and Help
Hello,
I would like to perform transfer learning and that is bu freezing part of the layers.
For example if I use R-50-FPN net I know that Resnet-50 has 50 layer so Iwan to be able to freeze first 40 layers and train only latest 10.
I tried to do it here:
# Add StopGrad at a specified stage so the bottom layers are frozen
_C.MODEL.BACKBONE.FREEZE_CONV_BODY_AT = 2

but there are only 4 layer.
Am I missing something?
How can I do that?

Hi,
By default and for simplicity, we freeze entire resnet stages, see https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcnn_benchmark/modeling/backbone/resnet.py#L112-L113 for an example.
You can modify that part of the code to better suit your needs, but if you are ok training the last 9 layers (instead of 10) you can just set FREEZE_CONV_BODY_AT = 3, and you'll train the last two resnet stages, which sums up to 9 layers.

FREEZE_CONV_BODY_AT = 3

what is the difference when FREEZE_CONV_BODY_AT set to 3 or 4 or 5
I do not know FREEZE_CONV_BODY_AT actually doing what?

If you check the link I sent, it is actually setting requires_grad = False to the parameters.
This means that gradients won't be computed for those layers, and they will be kept frozen / fixed during training.

As you can see from here, if you want to only train starting from stage 4, you should set FREEZE_CONV_BODY_AT = 4

As you can see from here, if you want to only train starting from stage 4, you should set FREEZE_CONV_BODY_AT = 4

I remember training last four stage means training starting from stage 2 ?

If you want to train the last 4 stages, then yes, you should start from stage 2, as is the default in the config.


Image query is not working

Please brother 🙏

Hi @robinai1212
Can you provide more information on what error you're getting? I can't seem to be able to reproduce such issue. Btw, if you're still using the _U cookie, keep in mind that it has been replaced and the README has been updated with new instructions!

File "c:\Users\robin\Music\Playlists\AI Jarvis Using Python Tut\sydney.py", line 286, in _upload_attachment
raise ImageUploadException(
exceptions.ImageUploadException: Failed to upload image, Copilot rejected uploading it
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000019E5C202A90>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x0000019E5C27E040>, 17450.718)]']
connector: <aiohttp.connector.TCPConnector object at 0x0000019E5C276490>
import asyncio
from sydney import SydneyClient
from Body.Speak import Speak
import nest_asyncio
nest_asyncio.apply()
async def main() -> None:
async with SydneyClient() as sydney:
response = await sydney.ask("What does this picture show?", attachment="img.jpg")
print(response)
if name == "main":
asyncio.run(main())

Help please
File "c:\Users\robin\Music\Playlists\AI Jarvis Using Python Tut\sydney.py", line 286, in _upload_attachment
raise ImageUploadException(
exceptions.ImageUploadException: Failed to upload image, Copilot rejected uploading it
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000019E5C202A90>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x0000019E5C27E040>, 17450.718)]']
connector: <aiohttp.connector.TCPConnector object at 0x0000019E5C276490>
import asyncio
from sydney import SydneyClient
from Body.Speak import Speak
import nest_asyncio
nest_asyncio.apply()
async def main() -> None:
async with SydneyClient() as sydney:
response = await sydney.ask("What does this picture show?", attachment="img.jpg")
print(response)
if name == "main":
asyncio.run(main())

Hi @robinai1212
To be clear, is "img.jpg" a URL or a file path in your case? It should be a URL

Update: I can see indeed that very often Bing Chat does not return a response when using this feature, I will try to investigate a bit more to see what's the root cause.
@robinai1212

Latest version contains a fix for this, will close this one for now


[windows-2022] WSL fails to install Ubuntu image in GitHub Actions and Azure DevOps Pipelines

Description
Running a pipeline which attempts to install and run a WSL distro on windows-2022 is seeing failures.
Platforms affected

[X] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Azure DevOps Pipelines: https://dev.azure.com/azure-sdk/public/_build/results?buildId=2061298&view=logs&j=62f96420-69e0-55c5-87e4-47c3c06a1c78&t=e9d05e54-e4c3-4068-b939-70402bb7e376&l=11
GitHub Actions: https://github.com/danieljurek/actions-testbed-public/actions/runs/3789275973/jobs/6442878070
Is it regression?
It might be. We've seen success with image version 20221204.3 and earlier and now we are consistently experiencing failure.
Expected behavior
Run a pipeline which attempts to install a WSL image like Ubuntu-20.04 on windows-2022
Actual behavior
Azure DevOps Pipelines
Result of running wsl --install -d Ubuntu-20.04
Installing: Ubuntu 20.04 LTS

An error occurred during installation. Distribution Name: 'Ubuntu 20.04 LTS' Error Code: 0x8000ffff

In previous runs of pipelines with roughly similar WSL code using the Microsoft hosted agent pool (image version 20221204.3), the install succeeds and we can move to the next step.
We've seen failures in images with later versions like 20221215.2.
GitHub Actions
Result of running wsl --install -d Ubuntu-20.04
wsl --install -d Ubuntu-20.04
Installing: Ubuntu 20.04 LTS

An error occurred during installation. Distribution Name: 'Ubuntu 20.04 LTS' Error Code: 0x[80](https://github.com/danieljurek/actions-testbed-public/actions/runs/3789275973/jobs/6442878070#step:2:81)00ffff

Repro steps
Azure DevOps Pipelines
jobs:
  - job: TryWsl
    pool:
      name: Azure Pipelines
      vmImage: windows-2022

    steps:
      - pwsh: |
          Write-Host "wsl --status"
          wsl --status

          Write-Host "wsl --list --online"
          wsl --list --online

          write-host "WSL install of ubuntu."
          Write-Host "wsl --install -d Ubuntu-20.04"
          wsl --install -d Ubuntu-20.04

          Write-Host "wsl --list --all --verbose | out-string"
          $wsl = wsl --list --all --verbose | out-string
          write-host $wsl

          $checkCount = 0
          while ($wsl -notmatch 'Ubuntu-20.04.*running') {
            $checkCount++
            if ($checkCount -gt 30) {
              Write-Host "Failed to detect start in time"
              exit 1
            }
            start-sleep -seconds 1
            Write-Host "wsl --list --all --verbose | out-string"
            $wsl = wsl --list --all --verbose | out-string
            write-host $wsl

            Write-Host "wsl --status"
            wsl --status
          }
          write-host "Ubuntu installed."
        displayName: Install WSL

GitHub Actions
name: wsl

on:
  pull_request:
    branches: [main]
  push:
    branches: [main]
  workflow_dispatch:

jobs:
  run-wsl:
    runs-on: windows-2022
    steps:
      - name: Run WSL
        shell: pwsh
        run: |
          Write-Host "wsl --status"
          wsl --status
          Write-Host "wsl --list --online"
          wsl --list --online
          write-host "WSL install of ubuntu."
          Write-Host "wsl --install -d Ubuntu-20.04"
          wsl --install -d Ubuntu-20.04
          Write-Host "wsl --list --all --verbose | out-string"
          $wsl = wsl --list --all --verbose | out-string
          write-host $wsl
          while ($wsl -notmatch 'Ubuntu-20.04.*running') {
            start-sleep -seconds 1
            Write-Host "wsl --list --all --verbose | out-string"
            $wsl = wsl --list --all --verbose | out-string
            write-host $wsl
            Write-Host "wsl --status"
            wsl --status
          }
          write-host "Ubuntu installed."

+1, we're hitting similar problems that are blocking us, albeit with 1ES images

Hi @danieljurek! We'll take a look on it.

Hello @danieljurek, recently Microsoft moved WSL to the Microsoft store to make more close to end-users, and since that, we cannot update it using the windows update feature. And for installing it we are using the inbox version as well.
As a workaround, you can update WSL in your run using wsl --update --web-download  and check the updated WSL with the wsl --version command. You should get something like that:
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.20348.1366

Example run:
name: test WSL

on:
  workflow_dispatch

jobs:
  wsl_run:
    runs-on: windows-latest

  - shell: pwsh
        run: |
            $wslupd = wsl --update --web-download | Out-String
            $wslupd
            if ($wslupd) {
              wsl --version
              wsl --set-default-version 1
              wsl --install --distribution Ubuntu-20.04 --web-download --no-launch
            }

https://github.com/baldcorp/publictest/actions/runs/3799926258/jobs/6462906221

@Alexey-Ayupov -- Thanks for the advice! This does unblock us for now. Where would we find documentation for these kinds of changes so that we're not opening up bugs in the future?

Hi @danieljurek,
We are glad we can help you. To track WSL development you can use this GitHub repo. Some useful links are located at the end of the readme file. Please feel free to contact us if you have another questions.


Add type hint for result object in lattice.py

Add type hint for result_object in covalent/_workflow/lattice.py inside the _server_dispatch method.
Issue: https://github.com/AgnostiqHQ/covalent/issues/60

 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.

Done!


zeroctl list vdisks raises an error if no vdisks are found

I have a block storagecluster (config in etcd, and running ardbs only), when running zeroctl list vdisks myblockcluster --config <IP_ADDRESS>:2379 without having any vdisks created it raises an error not just return an empty list/string. I thing the default behavior should be an empty list or string not raising an error
Error: redigo: nil returned
Usage:
  zeroctl list vdisks (clusterID|address[@db]) [flags]

Flags:
      --config SourceConfig   config resource: dialstrings (etcd cluster) or path (yaml file) (default config.yml)
  -h, --help                  help for vdisks
      --name string           list only vdisks which match the given name (supports regexp)

Global Flags:
  -v, --verbose   log available information

redigo: nil returned

The config I have in my etcd is below
myblockcluster:cluster:conf:storage
===========================
servers:
- address: <IP_ADDRESS>:2000
- address: <IP_ADDRESS>:2000

Raising an error is indeed expected, but not the error that you are receiving, it should be more of a custom error as one is explicitly triggered at https://github.com/zero-os/0-Disk/blob/1a9472d6166921908214e657291c2c664a29d948/zeroctl/cmd/list/vdisks.go#L65-L73. So you are encountering a bug here.
Also I think you're right that just returning nothing makes more sense than an error in case no vdisks were found. I'll do the following:

track down why you are getting this redigo Nil error instead of the triggered error from above;
I'll demote the triggered error from above to an info log, so you're at least aware why nothing was returned;

Also why are you using this command @khaledkbadr? Because this command is seriously slow on a cluster with a lot of data. So I hope you're not using this for anything performance-critical.

Also why are you using this command @khaledkbadr?

We're using it to track orphan disks (disks in the storage but has no service), we know it's slow and we only use this command every 24hr in a periodic ays action

Seems to be an issue that is triggered when using ardb instead of redis or ledisdb. Will investigate it. When using ardb I get the same Error: redigo: nil returned error. But when using redis I get the error I triggered myself (Error: no vdisks could be found ...).


Travis requires the travis.yml to be in the root of the project.

The reactor extension is setup with Travis but the travis.yml file is in a sub directory.
The cron and build is most likely not triggering because the travis.yml isn't in the root.
https://stackoverflow.com/questions/31768540/how-to-use-travis-without-a-travis-yml-file-in-the-root-folder-of-a-repository#:~:text=Travis CI uses .,it%2C or configure it elsewhere.

I don't think react-spectrum wants you to publish their code to an open source repo.


database: Fix ApplyConnectionsConfig

Fixing a minor copy/paste flub.

Codecov Report

Merging #209 (3c69c82) into master (8aa0ad8) will decrease coverage by 0.40%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #209      +/-   ##
==========================================
- Coverage   80.88%   80.48%   -0.41%
==========================================
  Files          29       28       -1
  Lines        1015      948      -67
==========================================
- Hits          821      763      -58
- Misses        132      133       +1
+ Partials       62       52      -10

Impacted Files
Coverage Δ

database/database.go
36.84% <0.00%> (-7.90%)
:arrow_down:

database/migrator.go
50.00% <0.00%> (-12.00%)
:arrow_down:

database/sqlite_cgo.go

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 8aa0ad8...3c69c82. Read the comment docs.


Level 2 midpoint tool bug

In level two the midpoint tool is unlocked before the level is solved.

Level 7 too

L2 has been fixed in master and L7 is being addressed in #373


New aligment for x axis ticks

Feature Proposal
In case if chart have only 2 ticks on horizontal axis many users preffer to aling this ticks: 'start" for first (left) tick and 'end' for last (right) tick, otherwise they will go out of bounds:

To do so I modified chart,js core adding new align type for options.scales['x'].ticks namespace which named 'left-right'.

I am ready to upload this correction via pull request if you don`t mind
Possible Implementation
Adding new align type 'left-right' for options.scales['x'].ticks namespace described in pull request: #10105

#https://github.com/chartjs/Chart.js/pull/10106

Done in #10106


Application Public Cloud - $locationProvider - remove default value for the prefix

Is your feature request related to a problem? Please describe.
If we pay attention to the URL prefix we still have /!#/url.
Describe the solution you'd like

Remove existing prefix '!'.

  .config(/* @ngInject */ $locationProvider => $locationProvider.hashPrefix(''))

Describe alternatives you've considered

None.

Additional context

All control panel (also known as Manager) doesn't have any prefix.

ref: https://docs.angularjs.org/api/ng/provider/$locationProvider

It's now fixed. Will be available on the next release (cf:  #732)


spack: own py-sphinx-multiversion no longer needed

PR Summary
Since our testing Spack upstream is now Spack v0.18+ this spackage is no longer needed

PR Checklist

[ ] Any changes to code are appropriately documented.
[ ] Code is formatted.
[ ] Install test passes.
[ ] Docs build.

Oh also please add changelog. ;)

Oh also please add changelog. ;)

What does this mean in this repository? I don't see a changelog.

Oh also please add changelog. ;)

What does this mean in this repository? I don't see a changelog.

Oh oops this is ports-of-call, which doesn't have a changelog. Nevermind on that. :)


Update README.rst

fix Transifex link in README.rst

Description
simple doc fix
Motivation and Context
Current link redirects to https://explore.transifex.com/ instead of project page.
How Has This Been Tested?

Screenshots (if appropriate):

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:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@claudep thanks and done

Just update the commit message and it will be good to go!

@bmihelac Thanks! Please next time create branches on a fork instead of directly in the package repo.

@claudep sure, thanks and sorry for that - I did not noticed I am not creating a branch on my fork until I needed to rebase it.


[osg] build failure

Describe the pull request

What does your PR fix? Fixes #14994
Iconv does not provide the IconvConfig.cmake file and cannot use the config mode for searching, so need to delete the CONFIG parameter in find_package (Iconv CONFIG REQUIRED)

All features have tested successfully in the following triplets:

x86-windows
x64-windows
x64-windows-static

Isn't Iconv::Iconv provided by the config file? I think the missing config file is the source of the problem that must be addressed, not one of the downstream consumers here.

Isn't Iconv::Iconv provided by the config file? I think the missing config file is the source of the problem that must be addressed, not one of the downstream consumers here.
@BillyONeal , the cmake file provided by us before osg was written by nmake, but the cmake provided by myself was deleted in the subsequent version submitted. Now iconv does not have a configuration file that can be used

@JonLiu1993 If there's no config file where does  Iconv::Iconv come from?

Robert points out that Iconv::Iconv is a cmake builtin module. Sorry for the confusion and thanks!


Re #439:

Today smoltcp has full control over the "device" (phy) - it reads and writes from/to it
and removes/adds encapsulations etc.. But in many scenarios the packet handling has to
be a lil more flexibly done outside the control of smoltcp. So provide a phy which is
just a simple Rx/Tx queue
For more details, please see examples/README.md section "smoltcp as a proxy"

I'm not convinced this is something that should be in core smoltcp, because:

smoltcp provides the Device trait so users can implement their own, with any buffer management strategy they desire.  You could simply have thisimpl in your crate. There's no requirement that Device implementations be in the smoltcp crate, so having this in smoltcp doesn't unlock any new use cases (it doesn't allow doing something that was impossible before).
It is specific for a very particular use case: it requires alloc, it provides for a fixed-size lower-layer header which seems to be tracked per packet, queues can grow indefinitely. smoltcp does provide tap/rawsocket Device impls because they're required for examples and benchmarks and are likely useful for a big fraction of the userbase, but this is not the case for PacketQ.

I agree with @Dirbaio.

Makes sense, I will just use the packetQ from my code base.
Would you like the README.md (I can reword the proxy section mentioning how to add a device trait to do that etc..) - I think it will save a new user at least a day or two trying to investigate and re-discover the same things mentioned in the readme.

I think this would work better if you documented in your project how you're using smoltcp. Then we could link to that from smoltcp's README.

I have it already documented in my project :), but my project is not planned to be open source at the moment. No worries, we can discard this MR, at least the one thing if you could take from this readme and put it back in some readme somewhere in smoltcp is the below that I mentioned in the UDP section - could save a couple of hours of debugging for someone else
2. The Rx buffer for UDP is basically a ring buffer .. But if we call send_slice(), smoltcp will
   try to find a 'contiguous' are of the ring to enqueue the entire data passed in send_slice().
   Remember this is UDP and we cant sent partial data, so we need to send all or nothing, but the
   ring buffer contiguity enforcement means that if we allocate say 1500 bytes of buffer and then
   send 200 bytes of data, after the 200 bytes is transmitted the ring buffer advanced by 200 bytes,
   and now the only contiguous buffer available is 1300 bytes.  So for UDP, make sure we
   allocate two times the size of the largest data packet we plan to send, so we always have one
   max-data-packet worth of contiguous buffer always available.

And by the way I have to really thank smoltcp and the people behind it again - before I knew about smoltcp, I was initially thinking I will have to wrap lwip in rust and use that, that would have taken me a good couple of weeks worth of effort at the least, with smoltcp I had to spend maybe two or three days to get a hang of how to use it and then I dint face any further issues


Overlap with Tabletop Tweaks: Base

Hey, just wanted to point out that "tabletop tweaks: base" adds its own version of the "inflict pain" spell. So when using both mods together you get two versions of the spells. Its a nonissue, but I noticed that you have toggles for other spells in the mod, so you may want to add one for "inflict pain."
Thanks for your hard work!

I don't disable my spells as it would mess with other linked features like domains.
Plus I added mine first :P


Code Duplication Throughout PowerSimulations

This is an issue to track instances of code duplication in PowerSimulations.jl that aren't new and aren't a top priority but should be fixed at some point.

In https://github.com/NREL-Sienna/PowerSimulations.jl/blob/main/src/devices_models/devices/common/add_to_expression.jl, there is a lot of duplication between methods of add_to_expression!, making it tedious to implement systematic changes like https://github.com/NREL-Sienna/PowerSimulations.jl/pull/1033/files#diff-f58cd1b5ce8435e93d2afbd31851717b14b829c25d93383227b2d2a5063e7e8bR223.

In src/network_models/powermodels_interface.jl, the two methods of powermodels_network! are nearly identical.

Lots of duplication between the _make_system_expressions! methods of src/core/optimization_container.jl

The two branch_rate_bounds! methods in https://github.com/NREL-Sienna/PowerSimulations.jl/blob/d2ba9484cb2ba62d96da79906224c4f85e8904bd/src/devices_models/devices/AC_branches.jl#L103
are nearly identical

The add_constraints! method at https://github.com/NREL-Sienna/PowerSimulations.jl/blob/d2ba9484cb2ba62d96da79906224c4f85e8904bd/src/devices_models/devices/AC_branches.jl#L269 and the one right after it are nearly identical

(Probably not all of these are a good first issue, but some of them are)

Lots of duplication in core/optimization_container.jl — has_container_key, etc. My first thought is that an approach like this could help.

Duplicate block starting https://github.com/NREL-Sienna/PowerSimulations.jl/blob/757b45cbe25f0645108a24310d3d26a10aae6531/test/test_services_constructor.jl#L31

The various write_model_*_results! functions in store_common.jl. This speaks to a trend of code duplication across [variables, expressions, duals, etc.] — even if we decide that it's necessary to have separate functions in the public interface for each of these, we don't need nearly as much duplication in the underlying implementations.

Same thing at https://github.com/NREL-Sienna/PowerSimulations.jl/blob/ff8d9ffca3c8b44e6a1988b08034a96ca5f535ad/src/simulation/simulation_results.jl#L327

https://github.com/NREL-Sienna/PowerSimulations.jl/blob/03f72e0dc9304961a05c3bc2e9666d4706f064e8/test/test_network_constructors.jl#L370 just twice but still, got an error caused by find-and-replace that implies this shouldn't be duplicated

The two methods of get_time_series_values! at
https://github.com/NREL-Sienna/PowerSimulations.jl/blob/03f72e0dc9304961a05c3bc2e9666d4706f064e8/src/operation/time_series_interface.jl#L1
are nearly identical


Fixing a typo in the add-a-get-note-api.md

Fixing a typo where it says that noteId is hardcoded and the userId is passed through the request.

Thank you!

Thank you!


Use LTS NodeJS 18.12.1

About this change - What it does
Current NodeJS version is 18.11.0 which is not LTS.
The first 18.x LTS is 18.12.0 more details are here https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#2022-10-25-version-18120-hydrogen-lts-ruyadorno-and-rafaelgss
Also 18.12.1 is a security release including some security fixes (a list is available at https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#2022-11-03-version-18121-hydrogen-lts-juanarbol)

@SmuliS hope it is ok ?

Looks good to me. @SmuliS  should we update the node version range in .npmrc, too? Currently we're pretty generous with it.


Added sync on_resolve extension.

Looks good, I'll make a couple of changes if you don't mind - I think it should be possible to add both (sync and async) on_resolve methods to an extension class, so on_resolve should be renamed to on_resolve_async.
There are also some minor formatting issues but I can fix them myself (or you can install taskfile to run all the tasks and fix them yourself too.

@trollfot Just pinging you in case you didn't see the message, I can merge the branch and change some things that I want, if you don't mind.

@ThirVondukr Hey. Sorry, I got swamped today. I can try and do the changes tomorrow !

"I can merge the branch and change some things that I want, if you don't mind."  If you feel like it's not a problem for you to spend time on it, please go for it, i'm happy either way

No, it's not a problem, gonna finish it tomorrow


Fix #33 with retry mechanism

I just tested the code and itseems to work. will report back if there are intermittent errors anymore

If someone on @electron/wg-ecosystem with some knowledge of notarization can take a look at this, it would be much appreciated.

Given this CLI tool isn't API stable and apple commonly have outages / incidents with the upload service retrying the upload 5 times automatically in this case is not ideal.  It will mean that while the service is experiencing issues we'll upload every app 6 times which is not ideal and will not make apple happy at all.

We see this issue more often than not. It typically works with a few retries. It's not as if the service has periodic outages and we see spates of failures on certain days, we get failures of this nature every day. Could we consider making this an option, even if it isn't the default?
I'd like to debug why we get these failures, but the tools provided by Apple appear to be quite opaque. This is the output we get every time: ```Error: Failed to upload app to Apple's notarization servers
2020-01-06 02:27:24.773 altool[83423:5303691] *** Error: Server returned an invalid MIME type: text/plain, body: Unauthenticated
Request ID: X65LFQ4IQZPHAAOF6WC4SP5X.0.0
2020-01-06 02:27:24.928 altool[83423:5303684] *** Error: Failed to authenticate for session:
"Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later." UserInfo={NSLocalizedRecoverySuggestion=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedDescription=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedFailureReason=App Store operation failed.}"
) Unable to upload your app for notarization.```

It is also my experience. It fails more often than it succeeds the first time. It seems this is how their tool works, it fails the first time, and then creates some kind of state (a session token) which causes it to succeed the next time. Maybe we can at least retry once?

Maybe we could match the text, something like Error: Server returned an invalid MIME type: text/plain, body: Unauthenticated, Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 or Please try your request again later and iff we get that text, we can sleep like one minute and try again once? I think this issue collectively wastes so many hours of developers lives around the world, having to wait for a complete rebuild every time.


Implemented new CellProcessor in order to convert Date in Time Object

Hi,
I created this new CellProcessor because I need read a value from csv file in a bean' s field of type java.sql.Time.
I hope this can be useful to others.
Pietro

Great many thanks! I cannot help but wonder if it was more natural if the processor would handle strings as well as Date ? It will also make it easier for users to use as they do not need to wrap it into another processor.. I guess both types could be accepted. What are your oppinions @dmitry87 @ZioberMichal

Yep, it would be better if it handled Strings too. At least other Processors try.

Ok,  I will do it in this week
Il giorno mar 6 ott 2015 18:29 dmitry87<EMAIL_ADDRESS>ha
scritto:

Yep, it would be better if it handled Strings too. At least other
Processors try.
—
Reply to this email directly or view it on GitHub
https://github.com/super-csv/super-csv/pull/74#issuecomment-145919900.

It is a good idea to add String. You can check how FmtDate class it is implemented.

I' m thinking to change ParseTime as sub class of ParseDate (public class
ParseTime extends ParseDate { )
because the execute method will be the same (Only the effective return type
will not )
than I will create a FmtTime as suggested by Michael and I will add a field
to PersonBean of type Time (maybe birthTime?) to complete the example with
the new Processor.
It's ok for you?
2015-10-07 16:45 GMT+02:00 Michał Ziober<EMAIL_ADDRESS>
It is a good idea to add String. You can check how FmtDate class it is
implemented.
—
Reply to this email directly or view it on GitHub
https://github.com/super-csv/super-csv/pull/74#issuecomment-146216830.

--
Pietro Aragona

I don't think we should use inheritance for code reuse  like this. Then it's better to create an abstract class that both ParseDate  and ParseTime can inherit from. This is cleaner and more reusable.

@pietroaragona  sorry for the long wait. I want to merge in these changes. All we need in this PR is to update the documentation pages.


nnir bug fix

reading from graph.nnir: Reads a list to find int/float values. Changed from looking for numerical digits to count(.) in floats.

@LakshmiKumar23 This passed the smoke tests that I ran. Should be fine to merge.

@kiritigowda Pavel ran the smoke tests. Can you merge this?


[BUG]  Crashing during headless processing a folder of 3D z stacks

Describe the bug
This crash happens consistently segmenting specific 3D images in a folder with cellpose 3.1.0 . The 3d segmentation of the exact same image works fine with the GUI using same settings so this appears to only occur with headless processing mode.
To Reproduce
Steps to reproduce the behavior:
python -m cellpose --verbose --use_gpu --dir \networkdrive\C2_EGFP_zlibcompressed --pretrained_model cyto3  --restore_type denoise_cyto3 --z_axis 0 --stitch_threshold 0.5 --diameter 80 --flow_threshold 0.0 --cellprob_threshold 0.0 --chan 0 --save_tif --no_npy --min_size 10000 --savedir \networkdrive\CPMask_80_CP310_-1_DefaultIntNorm
Run log
cellpose version:       3.1.0
platform:               win32
python version:         3.12.7
torch version:          2.5.1
2024-10-31 14:21:45,152 [INFO] 0%|          | 0/101 [00:00<?, ?it/s]
2024-10-31 14:21:45,199 [INFO] No cell pixels found.
C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\dynamics.py:508: UserWarning: The use of x.T on tensors of dimension other than 2 to reverse their shape is deprecated and it will throw an error in a future release. Consider x.mT to transpose batches of matrices or x.permute(*torch.arange(x.ndim - 1, -1, -1)) to reverse the dimensions of a tensor. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\TensorShape.cpp:3687.)
return pt[..., [1, 0]].squeeze().T
2024-10-31 14:21:47,714 [INFO] 41%|####      | 41/101 [00:02<00:03, 16.00it/s]
2024-10-31 14:21:47,714 [INFO] 10%|#         | 23/223 [09:54<1:26:13, 25.87s/it]
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose_main.py", line 358, in
main()
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose_main.py", line 205, in main
out = model.eval(
^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\denoise.py", line 583, in eval
masks, flows, styles = self.cp.eval(
^^^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\models.py", line 534, in eval
masks = self._compute_masks(x.shape, dP, cellprob, flow_threshold=flow_threshold,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\models.py", line 620, in _compute_masks
outputs = dynamics.resize_and_compute_masks(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\dynamics.py", line 839, in resize_and_compute_masks
mask = compute_masks(dP, cellprob, niter=niter,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\dynamics.py", line 906, in compute_masks
mask = get_masks_torch(p_final, inds, dP.shape[1:],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derekt.conda\envs\cellpose3.1.0\Lib\site-packages\cellpose\dynamics.py", line 757, in get_masks_torch
coo = torch.sparse_coo_tensor(pt, torch.ones(pt.shape[1], device=pt.device, dtype=torch.int),
~~~~~~~~^^^
IndexError: tuple index out of range

Might be related to parsing arguments since it apparently is not finding the z axis dim argument in headless mode.  2024-11-01 12:01:35,609 [WARNING] z_axis not specified, assuming it is dim 0
2024-11-01 12:01:35,609 [WARNING] if this is actually the channel_axis, use 'model.eval(channel_axis=0, ...)'
2024-11-01 12:01:35,609 [INFO] multi-stack tiff read in as having 101 planes 1 channel

thanks, I'd really appreciate a PR for this, sorry for the issues

@carsen-stringer I made a PR and included a minimal change dynamics.py version that addresses the index error as well as an optimized dynamics.py with additional performance optimizations.

Hello,
I encountered the same error as described above on a particular 3D z stack, that works on the GUI but not on the command line.
Thanks for the PR!
Jorge

Hi, I also have run in to similar problem where I am trying to process a large image by tiling and segmenting the tiles individually. One or two of my tiles would throw similar errors outlined above. Has this been completely resolved? if so would you recommend just reinstalling cellpose through github? Thanks~


⚠ Jenkins Plugins Artifactory has degraded performance

In a682c9a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1224 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 686f6d7 after 44 minutes.


Lordaeron issues, refactoring, documentation

#201
#200
#198
#197
Also refactored and documented all other Lordaeron quests

Absolutely awesome. I'll give it a proper test tomorrow evening, but at a glance it all looks perfect. Thanks for being so thorough with the documentation, I really appreciate it.


Fix: Style Guide Broken Links

Links to headers within the style guide didn't link to the sections they needed to - fixed the references.

LGTM!


negative period convergence

During model convergence due to sine to cosine shift, a negative period is observed in some cases. While mathematically/computationally this is not an issue, the intuition behind the parameter interpretation requires it to be a positive value.
This issue has been first observed 8/29/2023. An update to the software will be soon released to lock negative value finder.

the solution is not included in v.1.1.
changelog


Import Error:cannot import name 'build_optimizer' from 'mmcv.runner'

When I run the generation of image demo with " python demo/generation_demo.py configs/example_config.py work_dirs/example_exp/example_model_20200202.pth demo/demo.jpg demo/demo_out.jpg", and it shows that cannot import name 'build_optimizer' from 'mmcv.runner' (/home/user/miniconda/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/init.py), how can i slove this problem?

Hi! Can you provide more information on how you install mmcv?

use pip install mmcv, and it's version is 0.5.1

Hi, MMEditing has requirement mmcv-full>=1.0.0. You can check out install.md for installation instruction.


[Improvement] Improve accessibility for screen reader users

Insomnia Version: latest, 6.4.3
Operating System: Windows 10 1809__

Insomnia works fairly well out of the box, since most elements read correctly, but there are some things that could be improved.
All testing done with the NVDA screen reader.
Offscreen content is still visible to screen readers
There is some content that is visually hidden that still shows up for me with NVDA. After the preview pane that shows the received response, I'm seeing the following:

A
loading
, followed by a "cancel request button"
Some sort of find dialog that shows "No match :(" if no matches are found. This field also keeps stealing keyboard focus periodically, making it harder to use the app.
Some extra information about recently received responses, e.g "The request has succeeded. 1203.000 milliseconds Read 73.4 KB Content"

Contents of editable fields can't be read
Nothing is announced when using the arrows while moving about through editable fields such as when entering url, or when reading the received response, which looks like a problem caused by how CodeMirror uses the DOM

Thanks for taking the time to write this up! I will add aria-hidden attributes to the hidden content right now since that is straightforward.
For the editable fields, we might be blocked on this CodeMirror issue: https://github.com/codemirror/CodeMirror/issues/4604

Since this offscreen content is meant to b hidden for everyone, i suggest using the hidden attribute instead.
There is a recemt firefox patch that fixes the code mirror issue. Will look for it
Sent from my iPhone

From: Gregory Schier<EMAIL_ADDRESS>Sent: Thursday, April 18, 2019 6:09 AM
To: getinsomnia/insomnia
Cc: Dickson Tan; Author
Subject: Re: [getinsomnia/insomnia] [Improvement] Improve accessibility for screen reader users (#1436)
Thanks for taking the time to write this up! I will add aria-hidden attributes to the hidden content right now since that is straightforward.
For the editable fields, we might be blocked on this CodeMirror issue: codemirror/CodeMirror#4604https://github.com/codemirror/CodeMirror/issues/4604
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/getinsomnia/insomnia/issues/1436#issuecomment-484279807, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD5VPGTR6QKU2Y4MSI4OBM3PQ6NYVANCNFSM4HF2PREA.

Ah, thanks! I didn't know about the hidden attribute.

@gschier thanks for being willing to help with this.
forgot to also mention that display: none would have worked too. See this article on hiding content for more info.
Pending CodeMirror 6 which should fix the editor, there is a workaround implemented in Firefox now to allow codemirror editors to work - this is the MR introducing the change and the associated tracking bug. This works by loading code that adds a new input style, and using it when configuring CodeMirror.

I just had a play with the latest Insomnia as well. While I haven't quite found the issues @Neurrone  describes, I did find a number of controls that aren't labeled or could use some ARIA love in the request creation UI:

The HTTP VERB selector doesn't currently indicate that it can be expanded. It just lists as a button with the label "GET" which can be anything really. Adding aria-expanded  to this and toggling it with JS when it toggles would already fix this.
Various buttons in, for example, the headers tab, as well as various edit fields currently have no label that screenreaders can immediately discover. If there are labels in the UI, aria-labeledby="your_element"here"  would already fix this issue. If not, consider adding labels, or add aria-label="blah" to controls that currently only have an icon.

Insomnia is already much, much easier to use than some alternatives, and these fixes really are super low-hanging fruit. Me and many others would really appreciate some of these things getting fixed.
As for the CodeMirror input fields, the last I've heard on that is that the new version would address accessibility concerns, but it has been a while since I've heard about any progress on that front. I'll go check on that after I'm done here :-) For an anternative, Monaco might be an option which is significantly more accessible, but I realize that isn't exactly a small ask :)

Plaintive bump? :)
@gschier I added some feedback on this issue two weeks ago, just making sure you saw it? :)

Hey @zersiax so there has been a UI update since I have last used this client. #3183 #3178
I think I have figured out how to address the issue of adding aria-expanded attributes to the drop-down components but overall I feel discouraged now since there are even more navigation problems with the app.
I've been searching for an accessible HTTP client that I can comfortably recommend to people to download and use and I'm not sure if I will recommend Insomnia anymore. In the meantime, I can write down instructions for how to try out my branch and navigate to the parts of the app that have drop-downs -- can you test to check if the aria-expanded attribute is helping to indicate that there is a drop-down?


feat: get more insights about using the AWS config

First of all thanks for the beneficial tool.
Until I discovered all the options the tool provided, I wondered why my custom AWS configuration didn't work well. After a while, I put the following environment variables:

AWS_PROFILE
AWS_REGION

and I was decided to create a PR to help others get the info faster.

Hi there! Thanks for the contribution. I have added some clarification to the README, but I don't believe it's worth adding new print statements, because many people don't use profiles but instead rely on something aws-vault.


[FEATURE] Adding Community Patch DLC for all the patches

We need to install Community Patch DLC all the time for each patch

Should be fixed


Test failure, test_system_stack_trace.cpp

1: /CppCommon/tests/test_system_stack_trace.cpp:36: FAILED:
1:   REQUIRE( frame.address != nullptr )
1: with expansion:
1:   nullptr != nullptr
1: test cases:   173 |   172 passed | 1 failed
1: assertions: 10877 | 10876 passed | 1 failed

Please try the most recent version of CppCommon. It is build on Ubutu, MacOS, Windows and all tests passed without errors:


Duplicate in composer.json

From launching "composer validate" on fresh installation:

symfony/monolog-bundle, symfony/twig-bundle are required both in require and require-dev, this can lead to unexpected behavior

I got the same problem when using --unpack, see https://github.com/symfony/flex/issues/597
and maybe related: https://github.com/symfony/flex/issues/654

Closing as a duplicate of https://github.com/symfony/flex/issues/654


Add heatmap example

This adds a minimal example for a Heatmap layer, currently a work in progress. The main motivation is to provide an easy, reusable scenario to debug the Lonboard upgrade to Deck.gl v9.
Changes:

Upgraded Deck.gl to v9.0.27
Added a Heatmap example based on the Point example

I added two scenarios for instantiating the GeoArrowHeatmapLayer component:

Scenario 1: No properties other than id and data are passed. Given that the type definition for the props did not raise errors, I would expect this to render something. However, the console instead displays deck: initialization of HeatmapLayer({id: 'geoarrow-heatmap-geoarrow-heatmap-geoarrow-heatmap-0'}): buffer is null TypeError: buffer is null.

Scenario 2: In this issue, others reported a similar problem, and the fix that worked for some was related to the getWeight parameter. I set it to return a random positive number, which:

Did not result in a constructor error.
Printed Model "geoarrow-heatmap-geoarrow-heatmap-geoarrow-heatmap-0-triangle-layer: Ignoring constant supplied for unknown attribute "instancePickingColors" to the console.
Did not render a heatmap.

It is not clear to me if the buffer fix PR is available in v9.0.27. The author mentioned it depends on the UBO work PR, which hasn't been merged yet.
@kylebarron please let me know if you have any thoughts on this.

It is not clear to me if the buffer fix PR is available in v9.0.27. The author mentioned it depends on the UBO work PR, which hasn't been merged yet.

Well it looks like there was a separate fix here: https://github.com/visgl/deck.gl/pull/9037. In general it's kinda hard to tell sometimes when PRs are also cherry picked to the release branch. Just because it's been merged to the master branch doesn't mean it's included in the 9.0 release branch.

See my comment here https://github.com/visgl/deck.gl/issues/8960#issuecomment-2284791644 where I forked the previous HeatmapLayer repro that someone else had reported, updated to the latest deck.gl version, and am still getting the same issue. Let's follow that thread and see what other maintainers say about that


[VCQ][DevDiv_VSO][VSCode][Meaning check: hook]

MS PM
Daniel Ye

MOR PM
Jan Baltus (Moravia IT)

String Resource ID
0; "extensions/git/dist/commands.confirm no verify commit"

Source String
You are about to commit your changes without verification, this skips pre-commit hooks and can be undesirable.\r\n\r\nAre you sure to continue?

Subtenant
VSCode

Source Control Link

Filename
vscode-extensions\git.xlf

Question
Please clarify the meaing of "hook" in this context. Does it mean something like "processor" or "interceptor"?
0; "extensions/git/dist/commands.confirm no verify commit"
0; "extensions/git/package.config.allowNoVerifyCommit"

Additional details

Core Team Response

@danyeh Yes, it means something like "interceptor".