FocusNode used after being disposed

I am saving automatically when focus leaves the TextField:
Focus(
  onFocusChange: (hasFocus) async {
    if (!hasFocus && email.value != projectUser.userEmail) {
      try {
        projectUser.userEmail = email.value;
        await projectUser.save();
        emailError = null;
        setState(() {});
        }
      } catch (e) {
        emailError = e.toString();
        setState(() {});
      }
    }
  },
  child: FormBuilderTextField(
    name: 'email',
    decoration: InputDecoration(labelText: 'Email'),
    onChanged: (String? val) async {
      email.value = val ?? '';
    },
    validator: FormBuilderValidators.compose([
      (_) => emailError,
      FormBuilderValidators.required(context),
      FormBuilderValidators.email(context),
    ]),
    keyboardType: TextInputType.emailAddress,
    initialValue: projectUser.userEmail ?? '',
  ),
),

Unfortunately I keep getting this error:
E/flutter (20344): Once you have called dispose() on a FocusNode, it can no longer be used.
E/flutter (20344): #0      ChangeNotifier._debugAssertNotDisposed.<anonymous closure>
package:flutter/…/foundation/change_notifier.dart:117
E/flutter (20344): #1      ChangeNotifier._debugAssertNotDisposed
package:flutter/…/foundation/change_notifier.dart:123
E/flutter (20344): #2      ChangeNotifier.notifyListeners
package:flutter/…/foundation/change_notifier.dart:234
E/flutter (20344): #3      FocusNode._notify
package:flutter/…/widgets/focus_manager.dart:1052
E/flutter (20344): #4      FocusManager._applyFocusChange
package:flutter/…/widgets/focus_manager.dart:1800
E/flutter (20344): #5      _rootRun (dart:async/zone.dart:1346:47)
E/flutter (20344): #6      _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter (20344): #7      _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
E/flutter (20344): #8      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
E/flutter (20344): #9      _rootRun (dart:async/zone.dart:1354:13)
E/flutter (20344): #10     _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter (20344): #11     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
E/flutter (20344): #12     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
E/flutter (20344): #13     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (20344): #14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

I am using flutter_form_builder in version 6.0.1.
Seems related to https://github.com/danvick/flutter_form_builder/pull/799. But that should be merged into version 6.0.1, I think.

I have the same and I am using version 6.0.1

I do have same error with my FormBuilderChoiceChip

Same issue here using FormBuilderTextField. @barbalex have you found a work around?

@zsyphon I am not using form_builder any more.

@barbalex What package you are using then?

On version 6.1.0+1 the validation method cause the "Once you have called dispose() on a FocusNode". because if force to get the first invalid field.

Same issue here using FormBuilderTextField. @barbalex have you found a work around? This is happening to me on the web currently.

Somehow, the app build with newest version. should force it to previous version. :(

This still an issue?

Due to lack of response and an old error, I will close this issue.
If the bug still exists, feel free to open a new issue


Check for unpushed commits

🤔 What's changed?

added a failing test to check for unpushed local commits, to avoid surprises

⚡ What's your motivation?
So users don't accidentally push local commits when they run this tool.
🏷 What kind of change is this?

:zap: New feature (non-breaking change which adds new behaviour)

♻ Anything particular you want feedback on?
I've deliberately only added a failing test so far. I'm thinking that maybe @aurelien-reeves can try implementing the behaviour so he can get a bit familiar with the codebase. I've added the good-first-issue label! 😁
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[ ] I've changed the behaviour of the code

[x] I have added/updated tests to cover my changes.

This text was originally generated from a template, then edited by hand. You can modify the template here.

I wanted to give it a try. Here's what happened:

I cloned the repo and checked out the branch
Ran ./polyglot-release-test

More tests are failing than expected. Here's my stdout:
$ ./polyglot-release-test
check-for-changelog.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
check-for-local-commits.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual output output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.expected.output
/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.actual.output

1,5c1,86
< You have local commits on this branch which are not on origin yet:
<
< * Add some-file
<
< Please push these changes manually before releasing.
\ No newline at end of file
---
> [main 0be0dd4] Add some-file
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 some-file
> Package manager manifests and CHANGELOG.md updated for 1.0.0
> Here's what changed:
> diff --git a/CHANGELOG.md b/CHANGELOG.md
> index 5c5d610..e849b16 100644
> --- a/CHANGELOG.md
> +++ b/CHANGELOG.md
> @@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
>
>  ## [Unreleased]
>
> +## [1.0.0] - 2000-01-01
>  ### Fixed
>  - This is a test
>
>  ## [0.0.1] - 2000-01-01
>
> -## [0.0.0] - 2000-01-01
> +## 0.0.0 - 2000-01-01
>
> -[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
> +[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v1.0.0...main
> +[1.0.0]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
>  [0.0.1]: https://github.com/cucumber/polyglot-release/compare/v0.0.0...v0.0.1
> diff --git a/java/pom.xml b/java/pom.xml
> index 1ddc4c5..6879b6c 100644
> --- a/java/pom.xml
> +++ b/java/pom.xml
> @@ -5,13 +5,13 @@
>
>      <groupId>com.example</groupId>
>      <artifactId>project</artifactId>
> -    <version>0.0.1-SNAPSHOT</version>
> +    <version>1.0.0</version>
>      <packaging>jar</packaging>
>
>      <scm>
>          <connection>scm:git:git://github.com/cucumber/polyglot-release.git</connection>
>          <developerConnection>scm:git:git@github.com:cucumber/polyglot-release.git</developerConnection>
>          <url>git://github.com/cucumber/polyglot-release.git</url>
> -        <tag>HEAD</tag>
> +        <tag>v1.0.0</tag>
>      </scm>
>  </project>
> diff --git a/javascript/package-lock.json b/javascript/package-lock.json
> index 2a19e31..67dba24 100644
> --- a/javascript/package-lock.json
> +++ b/javascript/package-lock.json
> @@ -1,12 +1,12 @@
>  {
>    "name": "@example/project",
> -  "version": "0.0.0",
> +  "version": "1.0.0",
>    "lockfileVersion": 2,
>    "requires": true,
>    "packages": {
>      "": {
>        "name": "@example/project",
> -      "version": "0.0.0"
> +      "version": "1.0.0"
>      }
>    }
>  }
> diff --git a/javascript/package.json b/javascript/package.json
> index 806abfd..c37a94d 100644
> --- a/javascript/package.json
> +++ b/javascript/package.json
> @@ -1,4 +1,4 @@
>  {
>    "name": "@example/project",
> -  "version": "0.0.0"
> +  "version": "1.0.0"
>  }
> diff --git a/ruby/VERSION b/ruby/VERSION
> index 77d6f4c..3eefcb9 100644
> --- a/ruby/VERSION
> +++ b/ruby/VERSION
> @@ -1 +1 @@
> -0.0.0
> +1.0.0
> Files committed to to git and tagged 'v1.0.0'
> Post-release changes committed to to git
> All commit(s) pushed to origin/main
> Release commit (tagged with v1.0.0) pushed to origin/release/v1.0.0

Actual git-log output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.expected.git-log
/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.actual.git-log

0a1,3
> Prepare for the next development iteration  (HEAD -> main, origin/main)
> Prepare release v1.0.0  (tag: v1.0.0, origin/release/v1.0.0)
> Add some-file

Examine files in /tmp/tmp.4gnCqVbVVi

check-local-tags.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
check-pwd-is-git-root--in-subdir.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
check-pwd-is-git-root--no-git.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
help.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual output output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/help.sh.expected.output
/home/aurelien/cucumber/polyglot-release/tests/help.sh.actual.output

7a8
>   --quiet                don't log progress messages

Examine files in /tmp/tmp.I7pE1ANvpF

missing-version--show-unreleased-changes.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual output output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/missing-version--show-unreleased-changes.sh.expected.output
/home/aurelien/cucumber/polyglot-release/tests/missing-version--show-unreleased-changes.sh.actual.output

1,8c1
< Missing MAJOR.MINOR.PATCH argument. Please specify a version to release.
<
< Usage: polyglot-release [OPTIONS] MAJOR.MINOR.PATCH
< OPTIONS:
<   --help                 shows this help
<   --no-git-push          do not push to git
<   --no-git-commit        do not commit git
<   --only-release         do not update versions after release
---
> Please specify a version to release. Use --help to show usage instructions.

Examine files in /tmp/tmp.6XqC6kKefJ

only-release-javascript.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
only-release-java.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
only-release--no-git-commit.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
only-release-ruby.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual git-diff output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/only-release-ruby.sh.expected.git-diff
/home/aurelien/cucumber/polyglot-release/tests/only-release-ruby.sh.actual.git-diff

13,18d12
< diff --git a/VERSION b/VERSION
< --- a/VERSION
< +++ b/VERSION
< @@ -1 +1 @@
< -0.0.0
< +1.0.0

Examine files in /tmp/tmp.LVfr4sfpmD

only-release.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
release--no-git-commit.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
release--no-git-push.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
release.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
✅
try-to-release-ruby-but-no-version-file.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual output output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/try-to-release-ruby-but-no-version-file.sh.expected.output
/home/aurelien/cucumber/polyglot-release/tests/try-to-release-ruby-but-no-version-file.sh.actual.output

1c1,23
< This looks like a Ruby project, but there is no VERSION file
---
> Package manager manifests and CHANGELOG.md updated for 1.0.0
> Here's what changed:
> diff --git a/CHANGELOG.md b/CHANGELOG.md
> index 5c5d610..e849b16 100644
> --- a/CHANGELOG.md
> +++ b/CHANGELOG.md
> @@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
>
>  ## [Unreleased]
>
> +## [1.0.0] - 2000-01-01
>  ### Fixed
>  - This is a test
>
>  ## [0.0.1] - 2000-01-01
>
> -## [0.0.0] - 2000-01-01
> +## 0.0.0 - 2000-01-01
>
> -[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
> +[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v1.0.0...main
> +[1.0.0]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
>  [0.0.1]: https://github.com/cucumber/polyglot-release/compare/v0.0.0...v0.0.1

Actual exit-status output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/try-to-release-ruby-but-no-version-file.sh.expected.exit-status
/home/aurelien/cucumber/polyglot-release/tests/try-to-release-ruby-but-no-version-file.sh.actual.exit-status

1c1
< 1
---
> 0

Examine files in /tmp/tmp.Cpvn34ef7Q

So, I took a look at the main branch to see if tests are passing there:
$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

$ ./polyglot-release-test
./polyglot-release-test: line 4: shellcheck: command not found

shellcheck: nothing tells us about that in the readme. Fine. I'll install it as I saw in the GHA workflows. Tests are going well.
I go back to check-for-unpushed-commits and try to run a single test, the one I want to act on. No documentation on how to do so, I tried a few different commands until I finally find the good one:
$ ./polyglot-release-test tests/check-for-local-commits.sh
check-for-local-commits.sh Branch 'main' set up to track remote branch 'main' from 'origin'.
 🔴

Actual output output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.expected.output
/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.actual.output

1,5c1,86
< You have local commits on this branch which are not on origin yet:
<
< * Add some-file
<
< Please push these changes manually before releasing.
\ No newline at end of file
---
> [main da0fa28] Add some-file
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 some-file
> Package manager manifests and CHANGELOG.md updated for 1.0.0
> Here's what changed:
> diff --git a/CHANGELOG.md b/CHANGELOG.md
> index 5c5d610..e849b16 100644
> --- a/CHANGELOG.md
> +++ b/CHANGELOG.md
> @@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
>
>  ## [Unreleased]
>
> +## [1.0.0] - 2000-01-01
>  ### Fixed
>  - This is a test
>
>  ## [0.0.1] - 2000-01-01
>
> -## [0.0.0] - 2000-01-01
> +## 0.0.0 - 2000-01-01
>
> -[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
> +[Unreleased]: https://github.com/cucumber/polyglot-release/compare/v1.0.0...main
> +[1.0.0]: https://github.com/cucumber/polyglot-release/compare/v0.0.1...main
>  [0.0.1]: https://github.com/cucumber/polyglot-release/compare/v0.0.0...v0.0.1
> diff --git a/java/pom.xml b/java/pom.xml
> index 1ddc4c5..6879b6c 100644
> --- a/java/pom.xml
> +++ b/java/pom.xml
> @@ -5,13 +5,13 @@
>
>      <groupId>com.example</groupId>
>      <artifactId>project</artifactId>
> -    <version>0.0.1-SNAPSHOT</version>
> +    <version>1.0.0</version>
>      <packaging>jar</packaging>
>
>      <scm>
>          <connection>scm:git:git://github.com/cucumber/polyglot-release.git</connection>
>          <developerConnection>scm:git:git@github.com:cucumber/polyglot-release.git</developerConnection>
>          <url>git://github.com/cucumber/polyglot-release.git</url>
> -        <tag>HEAD</tag>
> +        <tag>v1.0.0</tag>
>      </scm>
>  </project>
> diff --git a/javascript/package-lock.json b/javascript/package-lock.json
> index 2a19e31..67dba24 100644
> --- a/javascript/package-lock.json
> +++ b/javascript/package-lock.json
> @@ -1,12 +1,12 @@
>  {
>    "name": "@example/project",
> -  "version": "0.0.0",
> +  "version": "1.0.0",
>    "lockfileVersion": 2,
>    "requires": true,
>    "packages": {
>      "": {
>        "name": "@example/project",
> -      "version": "0.0.0"
> +      "version": "1.0.0"
>      }
>    }
>  }
> diff --git a/javascript/package.json b/javascript/package.json
> index 806abfd..c37a94d 100644
> --- a/javascript/package.json
> +++ b/javascript/package.json
> @@ -1,4 +1,4 @@
>  {
>    "name": "@example/project",
> -  "version": "0.0.0"
> +  "version": "1.0.0"
>  }
> diff --git a/ruby/VERSION b/ruby/VERSION
> index 77d6f4c..3eefcb9 100644
> --- a/ruby/VERSION
> +++ b/ruby/VERSION
> @@ -1 +1 @@
> -0.0.0
> +1.0.0
> Files committed to to git and tagged 'v1.0.0'
> Post-release changes committed to to git
> All commit(s) pushed to origin/main
> Release commit (tagged with v1.0.0) pushed to origin/release/v1.0.0

Actual git-log output different to expected!

/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.expected.git-log
/home/aurelien/cucumber/polyglot-release/tests/check-for-local-commits.sh.actual.git-log

0a1,3
> Prepare for the next development iteration  (HEAD -> main, origin/main)
> Prepare release v1.0.0  (tag: v1.0.0, origin/release/v1.0.0)
> Add some-file

Examine files in /tmp/tmp.dtzRlJ0sbU

The failure is actually not what I would have expect.

As I work on that shell script, I realize that Windows users will have a hard time trying-out to figure how to run it 🤔

So, I decide to merge main, and voilà! 🎉
All tests are green, job done 💪
😅
(should I mention that I absolutely did not implement the requested check?)

Yes, sorry we didn't leave this branch in a great state, and in fact the tests on main weren't working properly as you discovered. That's fixed in https://github.com/cucumber/polyglot-release/pull/50
As for the docs, there are some instructions for running individual tests here but perhaps those should move into a CONTRIBUTING.md guide now that the README has got longer?
I guess we should also add some docs on what tools you need installed in order to run the tests successfully: basically all the tools the script itself requires, plus shellcheck

@mattwynne you can't review this because you made the MR, but can you review it anyway?

LGTM!

@mpkorstanje you have to review it yourself for the robot bureaucrats to let us merge it!

It won't let me add a review.

\o/

Want to push the button?

Done!
We hope you found this email of interest; however, click here if you wish to unsubscribehttp://www2.smartbear.com/SubscriptionCenter.html?utm_source=outlook&utm_medium=email&utm_content=emailsig or manage your email preferences. Privacy Policy.https://smartbear.com/privacy/
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.


UseHub is in the wrong namespace

UseHub is in the Microsoft.AspNetCore.SignalR namespace and it should be in the Microsoft.AspNetCore.Connections namespace (matching the IConnectionBuilder namespace).
/cc @muratg @anurse

@davidfowl was this missed in the API review? Or was it contentious?

Please send the template

Missed in the API review

We should do this in RTM.

This would have to be an RTM fix, but it was declined by shiproom. Closing.

Lame... 😢


Return Bodhi update alias and URL when creating one

Related to packit/packit-service#1890
RELEASE NOTES BEGIN
N/A
RELEASE NOTES END

recheck

recheck


Building on Fedora 32

missing dependencies fontconfig-devel and libasan
/usr/bin/ld: cannot find /usr/lib64/libasan.so.6.0.0
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking

checking for tgetent()... configure: error: NOT FOUND!
          You need to install a terminal library; for example ncurses.
          Or specify the name of the library with --with-tlib.
    Makefile:302: auto/config.mk: No such file or directory
    make: *** [Makefile:1672: auto/config.mk] Error 1
    error: command failed: 'bash' '-c' 'build/build-posix.sh' (exited with 2)
    esy-build-package: exiting with errors above...

  building<EMAIL_ADDRESS>esy: exiting due to errors above

Package ncurses-6.1-15.20191109.fc32.x86_64 is already installed.

Fedora 32 build works following updated documents and dependencies.


Migrate from XPBD to Avian if Avian is ready

Greetings, as xpbd is being discontinued, I've been migrating my new foxtrot template (recommended to me by a video helping folks get started on the Bevy Game Jam) based app to avian and Oxidized Navigation (& therefore the template too) is the last dependency I have that doesn't have an avian based version. Thanks for putting in the effort to migrate when you do! :D

Next version will drop support for XPBD and switch to Avian instead.

@TheGrimsey any chance you could take a look into it?

Yes, I admittedly have been focusing on other projects but I just committed switching to Avian. WIll get a release out as well.

Thank you a lot!
Just migrated, can confirm that everything works as expected.


Modify the herb patch timer to enable toggling patches on/off

For growing herb patches most players do not use the harmony patch. A helpful feature would be to hide this patch from the herb patch timer interface. This could be done with a setting interface that lets the user toggle which patches are displayed on the herb patch timer interface.

We can just push the harmony patch to bottom instead of adding "toggles"  for individual patches you dont like

I don't know whether that's a good fix. I personally don't use the Kourend patch, would you also push the Kourend patch to the bottom? What if I do use the Harmony patch and not the Kourend patch?
Adding toggles for every patch (trees, herbs, flowers, ..) in the settings would probably result in a lot of clutter, but perhaps we could have some kind of "edit mode" in the timers plugin where you can disable timers you would not like to see?

I personally think this is really not an issue though, but perhaps someone can add it if they really want to.

I would do compromise and just push the really common ones at top, e.g mostly the no req ones, and then push the ones with reqs lower as less people use it (what is also the kourend one)

What about automatically detecting if the patch is unlocked or not?
Could check My arm's big adventure, Making friends with my arm, Morytania elite diary, Kourend favour

Well an edit mode would be the cleanest option. ShaunDreclins suggestion would also work very well; and in fact would require no user input and on top of that it would automatically update for each account on login.

Yeah i like @ShaunDreclin 's suggestion a lot

hmm if I may weigh in on this... I would like to have the disease free patches able to be listed next to eachother.  Kourend, Harmony, Troll stronghold, and the new Weiss.  Also REALLY you don't use Kourend oplosthee?
But really ye this isn't actualy needed.  Perhaps we could have some way to show that this patch doesn't get infected.  Perhaps the herb icons could have an outline or back drop to high light is as different.  and then same outline/ backdrop for the other un-infectable patches in Kourend.

Well the kourend one is only disease free after a certain amount of hosidius favour iirc

What about dynamically moving all patches that have weeds in them/or are empty to the bottom of the list (and/or greying them out)?  This way, all patches would show in the list, but people who don't use certain patches would not have them in the middle of the patches they do use often.

@sirlaige Perhaps they coud be listed at the top or have some kind of indication that they're disease free. I'm using ranarr and snapdagon seeds only in the disease free patches.
The kourend patch is disease free with 75% favour but you may as well get the 100% and lock it in, takes less than 1 hour.
@johnhamilto That's a really good idea. Eventually the patches you don't use will move to the bottom.
I agree that it isn't actually needed, it's more of an OCD thing for me and it's a quality of life update rather than something that will have a dramatic change in game play, but at this point most players are farming herbs and with the addition of the extra herb patch it'd be nice to tidy up the interface in some way.
Thanks everyone for the suggestions, all of these are really good ideas.

@ShaunDreclin 's suggestion seems like a logical option because it would be all automatic and would also clean up the interface without having any user input.

Shaun I didn't realize Kourend wasn't always disease free.  I looked it up and you are right it is only free after 50% H-favor.
I do not yet have Harmony unlocked so I looked up that one as well.  You get it in the elite Mortania diary but it doesn't say it is disease free =( I may have been mistaken about that one as well, sorry.

Ohh yes it's actually 50% hosidius  favour. and yes it turns out the harmony one isn't disease free which seems odd given the requirements for using it :.

This is an example of what I would think an icon outline (Kourend) and icon background (Troll) that could show that these patches wont get disease. I think I like the outline the bast.
Other things that will never get disease are poison ivy, the falador tree patch (diary), grapes, and then also allotments that have the correct flower grown it protects them.    Example of the allotments would be watermelons won't die if nostrums are full grown in the flower patch nearby.
Good Tip is that with these flowers you do not even need to water the allotment(wish I knew that when I started).

I think that is unnecessary because why do you need to know if they never disease if you already know that?

Compost does more than reduce disease rates, it also increases yield.
If you're going to be farming in any capacity you'll know what patches are protected so there's no reason to clutter the UI with information that becomes obsolete.

Alex doesn't have the increased yield on all plants and as for the your farming method it depends on the player.  Like iron men, and then too those that worry about $-xp ratio.  Compost add up fast mitigating loss of coin is valuable.

I don't know what that means.

any plant with a variable yield will be affected by the additional lives given by adding compost.  Its the individuals decision whether to use compost or not, so let that individual make that choice on their own don't force your decision on everyone that uses the client.

I'm not sure what you mean, who would be forced to do what?  Yes everyone has a choice on their farming methods.  You have your way and this wouldn't be helpful to you, You think this useless, but there are more than just your farming method.  I believe it is useful for my method and others methods.  Does this even need to be said?  I'm only saying this for that fact I don't understand what you mean by forcing people/ or taking away choices, not to attack you.
Now as for the compost, we don't think the same on compost.  I don't want to have a war over when it is and isn't good to use.  There has been some farming changes recently that changed the usefulness of compost, but then compost isn't the topic of this thread anyways.
Fairy christened one response with OCD and I too share his enthusiasm.  His suggestion of being able to reorder the patches would aid me as I would reorder them put the disease free patches together and suggest an alternate way of show these safe patch. Thus taking away my need to reorder them.

So you want this because of OCD? Gotcha.

You read all that and all you got out of it was OCD?  LOL why are you here?

IMO we should:

Push patches containing weeds to the bottom
Grey out patches that the player hasn't unlocked

To do this we would need to add tracking for the varbits related to diarys/quests, similar to autoweed.
Discussion about a diseased indicator should go in a separate issue.

There Abextm is on topic.

I would probably not push patches with weeds at bottom as that means the interface would be reordered quite often, can be confusing.


Coping folder content to one of its sub-folders

In the Files Tree View, when coping folder "A" into one of its sub-folders "A/B"; Atom gets into an infinity loop in which the same content  of the main folder "A" will be duplicated in the target sub-folder "A/B/A" (the first time is as desired) then again copies itself into the newly created sub-sub-folder (A/B/A/"B").. and goes on and on...
E.g: Coping folder FONTS/ into FONTS/FA will produce: "FONTS/FA/FONTS/FA/FONTS/FA/FONTS/FA/FONTS/FA/..." and will not stop until you close Atom.

Would you mind moving this to https://github.com/atom/tree-view?


MD013: Incorrect count on lines with multi-byte unicode characters

Hi, I copied a paragraph from a PDF and it contained hardcoded unicode italic characters which take 4 bytes in UTF-8 or 2 bytes in UTF-16. After pasting that to a markdown file and saving it in a file in UTF-8 encoding I started receiving Line length [Expected: 80, Actual: 85] warning, even though there are only 74 unicode characters displayed on the line (stored as 107 bytes).
- $\forall 𝑣_1, 𝑣_2, \ldots, 𝑣_𝑛 \in 𝑇_𝑛: 𝑣_1, 𝑣_2, \ldots, 𝑣_𝑛 \in 𝐾 \iff

(I assume the intention of the rule is to consider the "visual count of characters" as rendered in the editor - 74 in this case)
I may be missing some context or detail of the implementation but I think the issue is a combination of JS handling everything as UTF-16 rather than UTF-8 (that is the seemingly incorrect .length of the line reported) and the usage of regular "unicode-unaware" regular expressions, where . again matches on UTF-16 character.
So I think the correct way to handle these would be [...line].length to get the total length of the line and the inclusion of the u flag for the regular expressions to switch them to unicode mode.

Related: #564


VEGA Research HMI

DC Edit: The background is that PyCIEMSS is producing a VEGA-like output, this is an investigation to whether we can/should use it or whether we should just render our own.
Please note there are VEGA, and VEGA-lite ... it isn't clear which one is being sent from PyCIEMSS.
Implement VEGA, a visualization grammar, within the Human-Machine Interface.

Research notes here: https://docs.google.com/document/d/11_jSRyn8Y1bUW7HJnCZNfLVmdDX0t6l5sWJU_arZX70/edit


feat: add volar.fix.diagnostics

Duplicate diagnostic messages in ts files when using "Take Over Mode". Maybe it's a language server side problem, but I'll consider addressing it on the client side.
I will now proceed with verification and implementation.

Reproduced in "VSCode". Report an issue to upstream.

Fixed in upstream. https://github.com/johnsoncodehk/volar/commit/90d370e82817afe011c8b8bd0a7d645464d45101


About FreeRDP version 3.1.0 Android client build Enviroment issue

I download FreeRDP stable version 3.1.0 to build freerdpcore jar for a android client. after I follow the doc Readme_Android,I get the Studio work project for sample app project which directory is /FreeRDP/client/Android/Studio.but when I intended build this Studio project , the Gradle of my AndroidStudio was collapsed at the step of "freeRDPCore:buildCMakeDebug[]",and the log show me ''Task :freeRDPCore:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: error: 'E:/App_WorkSpace/Studio/freeRDPCore/src/main/jniLibs/arm64-v8a/libfreerdp3.so', needed by 'E:/App_WorkSpace/Studio/freeRDPCore/build/intermediates/cxx/Debug/6l5n6p66/obj/arm64-v8a/libfreerdp-android.so', missing and no known rule to make it", I check the directory ,the file libfreerdp-android.so is not there,it seems ninja(cmake) has something wrong with it.I did not change any files,all the files of Studio project is created by script.
the os of my desktop is win10 and I tried Ubuntu18 to build it ,problem is still there.
my ndk is ndk_r24,
my jdk is jdk_11,
my gradle is 7.5.
i didn't know how to figure it out ,I hope the developer can see my issue to give me a favor .
Thank you.

you need to run ./scripts/android-build-freerdp.sh, but windows is not supporeted by these.
see https://github.com/freeRDP/freeRDP/wiki/Compilation#android-specifics


Fix docstring formatting of init parameter of UMAP class

The docsting is a bit hard to read without this:

I'm not certain that it is fixed now, one should check that first.

Thanks!


Static files

Describe the bug
The static files are not being loaded on the 'live' webpage.

fixed.


Add eslint-disable and prettier-ignore

Describe the feature
I believe these two annotations should be added at the top of the generated d.ts file to prevent conflicts with the project configuration.
Additional information

[X] Would you be willing to help implement this feature?

Sure, PR welcome

It seems that the code generation logic is not in unplugin. If i want to implement this feature in unplugin, it might be a bit breaking change.


Add link to web app code pattern

Add a README section linking to the example web app.

I've made a couple updates and put in the link to the code pattern that will work once it's live. This is good to merge once the pattern is published as long as everyone is ok with the text

LGTM

@lresende this can't be merged yet the code pattern isn't published, this was a WIP

nvm, it'll be published within the next 24hr so I guess its fine


v0.1.4

Changed PushState.pretty_print() signature from argument annotation to default.
Removed variable annotations from codebase to make pyshgp compatible with Python 3.5 again.
Fixed overflow error in dup_times instructions (#108)
TakesStateInstruction allows for tuple return values
If push program input value is Atom subtype, it will no longer be wrapped in a Literal.
Removed incorrect numpy string types.
All exceptions when evaluating atoms will be caught and raised after printing which atom was being evaluated.
Added documentation article on instructions.
Added documentation showing all core instruction docstrings.
Tuned string tutorial examples to take less time for CI testing.
Fixed typos in README.md
Added a release notes page

The code for this PR was rebased directly into master.


Suggestions

Is it possible to make an App Store app to use on a mobile phone? I know I'd be willing to pay a few £/$/Euros for this convenience.

Is it possible to put a dialogue box for 'How many Turnips purchased'? This could then show you later in the page the projected potential total profit at a glance.

Great work & thank you.

(sorry if I posted this in the wrong section!)

Is it possible to make an App Store app to use on a mobile phone? I know I'd be willing to pay a few £/$/Euros for this convenience.
I have no plans to deal with app stores.

However, this is set up as a Progressive Web App, so you should be able to load up the site on your phone, and install it as an app, no store required :)

Is it possible to put a dialogue box for 'How many Turnips purchased'? This could then show you later in the page the projected potential total profit at a glance.
This isn't something that I think is in scope for this project - for one thing, the next request will be "I bought turnips at different prices, can I have multiple fields for this" etc.

Thank you for the feedback and comments though :)

Hi,

Ah yes, perfect! I'll try this.
Yes, that makes sense.
Thank you for the quick reply.


Can't type at blinking cursor

I am using Fedora Workstation 37 with Wayland and I can't type at the cursor, however I can type into ImGUI elements. If you need more information let me know. Also the program does not run without "env SDL_VIDEODRIVER=x11". Without that I get this error:
Could not find box16.ini in the following locations:     box16.ini     /home/atrt7/Documents/programming/X16/box16/build/box16/box16.ini     /home/atrt7/.local/share/Box16/Box16/box16.ini Using rom at /home/atrt7/Documents/programming/X16/x16-rom-r41/build/x16/rom.bin     -rom sourced from: Command-line parameter  INFO: Audio buffer is 1024 bytes Unable to initialize GL: Unknown error box16: ../src/imgui/imgui_impl_opengl2.cpp:114: void ImGui_ImplOpenGL2_NewFrame(): Assertion bd != __null && "Did you call ImGui_ImplOpenGL2_Init()?"' failed. Aborted (core dumped)

Fixing the OpenGL implementation to support Wayland is going to take a while.
Meanwhile, my memory has been kickstarted by one of the other Discord users and the typing issue is probably a result of using the r41 rom with the latest source code for Box16. While the README does say that this might work, it also says that this is not guaranteed. In particular, after the r41 rom, several breaking changes went in and Box16 had to make changes to accommodate it. Please build the latest rom source and try again.

Actually, you don't technically need to build the rom yourself, new builds are created automatically when folks make changes to the rom. As of this writing, the latest rom can be downloaded at https://github.com/commanderx16/x16-rom/actions/runs/3866296501.

If you've managed to get the latest rom working (either built yourself or grabbed the build target), would you be willing to try the latest source code of Box16 to see if it resolves the other issue you had with Wayland and needing to set that environment variable?

As fate would have it, things transpired that freed up a bunch of space in my home office. Which also means I could dust off one of my old PCs. A PC that now runs Fedora 37, and Wayland, and I've been able to verify that Box16 now runs correctly on a basic install that seems to be using Wayland. (echo $XDG_SESSION_TYPE prints wayland).


Fix color in kubens success message when using fzf

Kubens was displaying color codes when returning from fzf.

%q is by design.
Are you using windows?

Yes, I'm on Windows.
I was going to ignore this issue until I noticed kubectx/fzf.go uses %s, and the colors work.

As far as I know color printing on windows is fixed in master. Can you compile master and see if it works?

I did #220. 🙂 It works everywhere except this one place.
I went ahead and quoted %s so that it's consistent with the other places where %q is used, but the color still works. This was the only place where the %q verb was used with a colored argument.
fatih/color is no longer maintained, so I can't fix it upstream.

Ok let me take a closer look at this.
As the caller, we cannot possibly know not to use %q everywhere and we’ll keep making mistakes.

I agree. If you want to leave this open or create an issue to track it, I'll take another look when I get a chance.
Some ideas I had:

Replace %q with \"%s\" in the printer
Fork fatih/color, and fix it there

I went ahead an implemented the first idea. The %q works properly now. I also changed kubectx to use %q to so it's consistent with kubens.
I noticed while testing that the output for InteractiveSwitchOp differs from SwitchOp. Should we use color for both?

I noticed while testing that the output for InteractiveSwitchOp differs from SwitchOp. Should we use color for both?

This might’ve been an oversight, I don't recall tbh.
Regarding your current patch: Have you been able to figure out why is %q causing a problem with windows? As far as I know, setting the stdout/stderr to color.Output and color.Error should be fixing the problems.

As far as I can tell, the Windows behavior is actually correct. According to
I wrote a sample without using any libraries.
package main

import "fmt"

const red = "\x1b[31mRed\x1b[0m"

func main() {
	fmt.Printf("%s\n", red)
	fmt.Printf("%q\n", red)
}

According to the fmt docs, %q should escape non-printable characters.

🤔 if this was the case, I'd expect it to also do the same on mac/linux, but it isn't doing that.
What I was expecting was that the color package would render the color at the last minute (e.g. just before printing to the screen).
So I probably need to take a closer look at this, I’ll be busy for a bit, but hoping to get back to this PR soon, thanks for your effort.

xxxxcxZczX

vcbcbnb

dfvdsvfs

xcvxzcv

Same happens to me in Linux, doesn't happen on Mac, using on both systems zsh, oh-my-zsh, fzf.

@lopezator strange, for me it's not working on either Linux and Mac. kubectx prints the context in green while kubens shows the escape characters. Looking briefly at the docs I would agree with @jdharmon that this is the intended behavior of %s and %q.

I can also confirm that at least on Mac (with version 0.9.1) I see the escape characters:

I can reproduce this problem in fzf 0.17.5, kubens 0.9.1, Debian 10. But kubectx is worked as expected.

Happens on macOS, iTerm (latest) and fish (latest) as well.

@ahmetb I replaced all occurrences of %q with "%s". Tested on Windows and WSL.

Can you restore the deleted files?

I just tripped over this, also on mac. Something to add:
$ kubens kube-system
✔ Active namespace is "kube-system"
kbarret8@kbarret8-mbp:~/projects/pa/personnel-actions (kubernetes-canary)$ kubens
✔ Active namespace is "\x1b[32mkube-public\x1b[0m".

The first invocation of "kubens" uses a parameter, prints fine.
The second invocation goes through fzf, selecting a namespace from the list. This one comes back with color codes printed as literal escape characters. I haven't been through the source to see why that might be, but it seems like it might help someone with better command of the code narrow this down faster to have better detail in the steps to reproduce.

@kingdonb this patch fixes both of them, I've built my fork with it to verify - https://github.com/caarlos0/kubectx
if you want to try: brew install caarlos0/tap/kubectx

also, @ahmetb my fork also have the needed changes to remove the bash stuff, I can open a PR with that if you want (mostly deletes and the goreleaser config).

@caarlos0 It looks like your main branch does several different things, I would suggest submitting each of them separately as a different PR, since some of that might not be merged.
I'm not gonna run those binaries for example, just seems like asking to get owned, but I see your change translates %q to \"%s\" in a number of places, and I'm happy to review the source changes just as soon as I can figure out how to compile from your branch.
Matter of fact since you've done the work for me and I'm the one that thinks the commits should be reordered, let me copy your work and then go ahead and do that on my own, and I'll submit the PR. (Sec...)

Confirming this issue still exists in the master branch:
$ kubens
✔ Active namespace is "\x1b[32mcert-manager\x1b[0m".

binary is built from 9527e30 2020-11-14
With the changes @caarlos0 mentioned, in kingdonb/kubectx branch: testing, it indeed resolves the issue:
$ kubens
✔ Active namespace is "dash".

The "dash" is green text, which you can't see here, but it looks like those control characters are being interpreted correctly. My testing was done on MacOS in iterm2.
Submitting as PR #275

Sorry I didn't jump in earlier. This PR should fix the issues everyone's having.
@caarlos0 @kingdonb Can you confirm that this works correctly on Mac? I've tested on Windows and WSL.

I'm using it on macOS, works great 👍

Thanks!


madb start extracts incorrect intent for Flutter hello_services project

It's not a typical Android project setup, so maybe it's not worth fixing, but it might be an interesting edge case.
Console:
[05157df530fbb53b]	Success
[05157df530fbb53b]	Stopping: null
[05157df530fbb53b]	Starting: Intent { cmp=null/com.example.flutter.ExampleActivity }
[05157df530fbb53b]	Error type 3
[05157df530fbb53b]	Error: Activity class {null/com.example.flutter.ExampleActivity} does not exist.

Project link
Manifest

madb start run from the android folder (after gradle wrapper; ./gradlew build)

I'll take a look at it. Thanks for reporting!

Turns out it's not specific to the FlutterView setup. I'll post a fix soon.


Include Azure SQL Managed Instance in Applies to

As most SQL Server Agent features are supported in Azure SQL Managed Instance, please include MI in Applies to.
Kind regards, Inge

Docs Build status updates of commit b5f5a4a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/ssms/agent/alerts.md
:white_check_mark:Succeeded

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

@ingebeumer - to be able to test the includes, you'll need to use the private repo. Thanks.


python311Packages.anthemav: init at 1.4.2

Description of changes
Python asyncio module to interface with Anthem AVM and MRX receivers
https://github.com/nugget/python-anthemav

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

5 packages built:

home-assistant-component-tests.anthemav
python310Packages.anthemav
python310Packages.anthemav.dist
python311Packages.anthemav
python311Packages.anthemav.dist


Add a three node example

Example of installing OMERO using three seperate nodes:

PostgreSQL
OMERO.server
OMERO.web

:+1: Now we'll need to all collectively remember to come back to this repo when bumping related versions.


Release?

Hi there!
At B-Open we would like to start testing and using this datatree implementation for a couple of projects.
I think it would be better if we work with a released version. Are you planning to make a release soon?
If there's anything we can do to help with it, feel free to ping @aurghs, @alexamici, and myself.
cc: @joshmoore

Hi! I'm happy to do an alpha release, even though I think there are some things that should be changed soon.
I made a v0.0.1 release tag, but my upload to pypi (twine upload dist/*   - I'm following these instructions) fails with
Error during upload. Retry with the --verbose option for more details.
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
'0.0.2.dev0+g2844661.d20220321' is an invalid value for Version. Error: Can't use PEP 440 local versions. See https://packaging.python.org/specifications/core-metadata for more information.

which is confusing because in setup.py I have
version="0.0.1",

so I'm not sure where the git version string is coming from. (I've never actually released a package built from scratch before so this might be a dumb question :sweat_smile: )

I tend to follow the Dask release proceedure steps which seem to work quite well.
I would make the following changes before publishing:
setup.py
-    version="0.0.1",
- ...
-    setup_requires="setuptools_scm",
-    use_scm_version={
-        "write_to": "datatree/_version.py",
-        "write_to_template": '__version__ = "{version}"',
-        "tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
-    },
+    use_scm_version={'version_scheme': 'post-release', 'local_scheme': 'dirty-tag'},
+    setup_requires=['setuptools_scm>=3.4', 'setuptools>=42'],

datatree/__init__.py
+from pkg_resources import DistributionNotFound, get_distribution
+
+try:
+    __version__ = get_distribution(__name__).version
+except DistributionNotFound:  # noqa: F401; pragma: no cover
+    # package is not installed
+    pass

xpublish has this all fairly dialed which may be a good template to follow.

I could be wrong but I think the datatree/_version.py is not supposed to be committed and should be added to .gitignore. At least that's how I typically do it.

I also wouldn't use the get_distribution logic. It slows down import a lot in any environment with a lot of packages (like those used by data scientists).

Thanks @TomNicholas!
In most of my projects I follow the structure we are using in cf-xarray, but I'm no expert in packaging.
You might have to change the name though... It looks like a datatree package already exists: https://pypi.org/project/datatree/

What do we think about xarray_datatree for the pypi package name? We could optionally change the import package name as well.

Thanks everyone for your help, and sorry for not fixing this earlier.
So it took me a few false starts but I think this is now on pypi as xarray-datatree 0.0.3.
I tried installing it in a fresh conda environment (but using pip) and that seems to work...

Thanks @TomNicholas!


how to handle backslash and other special character in mailboxfolderidparamer

add-mailboxfolderpermisson  "user:\cases\github\office " -user jdoe -accessrights reviewer

there is a folder named cases
a subfolder name: github\office
the above PowerShell command won't work since it cannot find the folder
Question: how to handle backslash in subfolder name, so the above PowerShell can process "gitHub\office" as a subfolder name?
Thanks

@bpw320 Please indicate which document you are referring to. Thanks

@bpw320, sorry, I get it now.
I created a folder under the Cases folder named "a\b"
When I run the command Get-MailboxFolder bob:\Cases -GetChildren I get really weird results:
PS C:\Users\bob> Get-MailboxFolder bob:\Cases -GetChildren | fl

Name                      : a\b
Identity                  : bob:?Cases?a\b
ParentFolder              : bob:\Cases
FolderStoreObjectId       : LgAAAAAJCg7D9RH7RoGJ6ej7bk8sAQAennTJ5bNGSo2zZHZQQ344AAWXiKQ/AAAB
FolderSize                : 0
HasSubfolders             : False
FolderClass               : IPF.Note
FolderPath                : {Cases, a\b}
AssociatedDumpsterFolders :
DefaultFolderType         : None
ExtendedFolderFlags       :
MailboxOwnerId            : bob
IsValid                   : True
ObjectState               : Unchanged

Name                      : GitHub
Identity                  : bob:\Cases\GitHub
ParentFolder              : bob:\Cases
FolderStoreObjectId       : LgAAAAAJCg7D9RH7RoGJ6ej7bk8sAQAennTJ5bNGSo2zZHZQQ344AAWXiKQ8AAAB
FolderSize                : 0
HasSubfolders             : True
FolderClass               : IPF.Note
FolderPath                : {Cases, GitHub}
AssociatedDumpsterFolders :
DefaultFolderType         : None
ExtendedFolderFlags       :
MailboxOwnerId            : bob
IsValid                   : True
ObjectState               : Unchanged

See the Identity value bob:?Cases?a\b? Those question marks are really the "U+FFFE noncharacter" character.
I tried \\ and <backtick>\ to escape the blackslash character, and it didn't work. I even tried using the FolderStoreObjectId value, and that didn't work either.
Other than opening a support ticked and asking, I think the conclusion is: don't use the backslash character in the folder name.

And, I also tried:
-Identity "bob:\Cases\a0x2Fb"

-Identity "bob:\Cases\a\b"

-Identity "bob:\Cases\a0x2Fb"

-Identity "bob:\Cases\a\b"

And none of those worked, either.

Thank you Chris.  In my work environment, a user has almost 1600
folder/subfolders, and a lot of names have backslash.
On Fri, Mar 3, 2023 at 4:36 PM Chris Davis @.***> wrote:

And, I also tried:
-Identity "bob:\Cases\a0x2Fb"
-Identity "bob:\Cases\a\b"
-Identity "bob:\Cases\a0x2Fb"
-Identity "bob:\Cases\a\b"
And none of those worked, either.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/office-docs-powershell/issues/10536#issuecomment-1454159118,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6AGIGLWBBBIL4XS2J5AADW2JP4ZANCNFSM6AAAAAAVLIMZ44
.
You are receiving this because you were mentioned.Message ID:
@.***>

@bpw320, it looks like this has been a problem since time immemorial (back to Exchange 2007) where Outlook allows creating folder names with backslashes, yet back-end cmdlets don't work with those folders. It's also a problem in public folder names.
I found this similar issue where the trouble was with "/" in the folder name, and the (rather bizarre solution) was to change them to "".
But, perhaps you can use the approach in the answer to script-o-matically change the "" to "-" or some other benign character?

Thanks Chris. I ended up creating a custom console app using exchange web
services. to enumerate folder/subfolders recursively and apply permissions
On Mon, Mar 6, 2023 at 12:25 PM Chris Davis @.***>
wrote:

@bpw320 https://github.com/bpw320, it looks like this has been a
problem since time immemorial (back to Exchange 2007) where Outlook allows
creating folder names with backslashes, yet back-end cmdlets don't work
with those folders. It's also a problem in public folder names.
I found this similar issue
https://community.spiceworks.com/topic/2215674-how-to-rename-folders-and-subfolders-with-in-shared-mailbox-using-powershell
where the trouble was with "/" in the folder name, and the (rather bizarre
solution) was to change them to "".
But, perhaps you can use the approach in the answer to script-o-matically
change the "" to "-" or some other benign character?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/office-docs-powershell/issues/10536#issuecomment-1456579782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6AGIHHJEDF2PW2DZ4WSHLW2YMZ3ANCNFSM6AAAAAAVLIMZ44
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Suggestion] Make the Warden not attack sculk mobs

It kind of makes sense, after all. The Warden is the classic sculk mob. Maybe they can defend the ancient sculk brain node in the mature stage or something. If the ancient sculk brain node becomes some kind of final boss, like the command block in CWSM, not only would that be awesome, but the warden could be a crucial part of the fight as well.

The warden and sculk horde are separate entities. Feel free to speculate on what that means in terms of the lore. Also the warden was not made to be balanced for combat, using it as a unit is unbalanced.


Fix for WFCORE-1901. Don't swallow exception in try/catch/finally

I am proposing to use the "suppressed Exception" feature of the Exception class.
When the Finally exception is thrown, it is suppressing the try or catch exception that could have been previously thrown.
When an Exception is printed to the console, the suppressed exceptions are also printed.
Added unit tests to cover this feature.

@aloubyansky please approve

Looks good. Thanks!

Linux Build 4682 outcome was FAILURE using a merge of 9a3d42303fabd150c60ca34df4d4c84bd3f36589
Summary: Tests failed: 2 (2 new), passed: 3923, ignored: 57 Build time: 00:49:39
Failed tests
org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase.reloadServer: java.lang.RuntimeException: java.io.IOException: java.util.concurrent.CancellationException: Operation was cancelled
	at org.jboss.threads.AsyncFutureTask.operationCancelled(AsyncFutureTask.java:70)
	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:267)
	at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:57)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
	at org.wildfly.core.testrunner.ManagementClient.executeForResult(ManagementClient.java:234)
	at org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase.reloadServer(PreparedResponseTestCase.java:99)
------- Stdout: -------
 [0m04:10:13,988 INFO  [org.jboss.as.test.integration.management.extension.blocker.BlockerExtension] (management-handler-thread - 2) block requested by unknown for undefined/undefined(SERVICE_STOP)
 [0m [0m04:10:13,989 INFO  [org.jboss.as.test.integration.management.extension.blocker.BlockerExtension] (management-handler-thread - 2) will block at SERVICE_STOP for 3000
 [0m [0m04:10:14,007 INFO  [org.jboss.as.test.integration.management.extension.blocker.BlockerExtension] (MSC service thread 1-6) BlockService blocking in stop
 [0m04:10:14,020 WARN  [org.jboss.as.protocol.connection] (Remoting "management-client" task-6) WFLYPRT0018: No such request (2) associated with channel Channel ID 91024ae6 (outbound) of Remoting connection 004dc743 to /0:0:0:0:0:0:0:1:9990 of endpoint "management-client" <8a2b3a>

org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase: java.lang.RuntimeException: java.io.IOException: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://[0:0:0:0:0:0:0:1]:9990. The connection failed
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:321)
	at org.xnio.nio.WorkerThread.run(WorkerThread.java:567)
	at ...asynchronous invocation...(Unknown Source)
	at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:294)
	at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:276)
	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:393)
	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:381)
	at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:149)
	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:114)
	at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
	at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
	at org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.getChannel(ManagementClientChannelStrategy.java:162)
	at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:145)
	at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:64)
	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:139)
	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:114)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
	at org.wildfly.core.testrunner.ManagementClient.executeForResult(ManagementClient.java:234)
	at org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase.stopContainer(PreparedResponseTestCase.java:81)

Linux Build 4685 outcome was FAILURE using a merge of 9a3d42303fabd150c60ca34df4d4c84bd3f36589
Summary: Tests passed: 2364, ignored: 40; exit code 1 (new) Build time: 00:07:53

Linux Build 4686 outcome was FAILURE using a merge of 9a3d42303fabd150c60ca34df4d4c84bd3f36589
Summary: Tests passed: 2364, ignored: 40; exit code 1 Build time: 00:07:43

Core - Full Integration Build 3643 outcome was FAILURE using a merge of c4d76ecf552960231fed6b40c39d08749ea5e734
Summary: Tests failed: 1 (1 new), passed: 3539, ignored: 179 Build time: 01:08:16
Failed tests
org.jboss.as.test.integration.domain.mixed.eap620.SimpleMixedDomain620TestCase.test00009_SecurityTransformers: 	at org.jboss.as.test.integration.domain.mixed.SimpleMixedDomainTest.test00009_SecurityTransformers(SimpleMixedDomainTest.java:196)
------- Stdout: -------
[Host Controller] 06:32:41,651 INFO  [org.jboss.as.host.controller] (management-handler-thread - 3) JBAS010923: Stopping server server-one
06:32:41,652 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012018: Stopping process 'Server:server-one'
[Server:server-one] 06:32:41,675 INFO  [org.apache.coyote.http11] (MSC service thread 1-5) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/0:0:0:0:0:0:0:1%lo:8080
[Server:server-one] 06:32:41,676 INFO  [org.apache.coyote.http11] (MSC service thread 1-5) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/0:0:0:0:0:0:0:1%lo:8080
[Server:server-one] 06:32:41,679 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 12) MODCLUSTER000002: Initiating mod_cluster shutdown
[Server:server-one] 06:32:41,681 INFO  [org.apache.catalina.core] (MSC service thread 1-5) JBWEB001079: Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
[Server:server-one] 06:32:41,692 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
[Server:server-one] 06:32:41,698 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 27) JBAS011605: Unbound messaging object to jndi name java:/jms/queue/ExpiryQueue
[Server:server-one] 06:32:41,702 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-8) JBAS010410: Unbound JCA ConnectionFactory [java:/JmsXA]
[Server:server-one] 06:32:41,704 INFO  [jacorb.poa] (POADestructor) POA Naming destroyed
[Server:server-one] 06:32:41,684 WARN  [org.jboss.modcluster] (ServerService Thread Pool -- 12) MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument
[Server:server-one] 	at java.net.PlainDatagramSocketImpl.send(Native Method) [rt.jar:1.8.0_74]
[Server:server-one] 	at java.net.DatagramSocket.send(DatagramSocket.java:693) [rt.jar:1.8.0_74]
[Server:server-one] 	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.interruptDatagramReader(AdvertiseListenerImpl.java:209)
[Server:server-one] 	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.stop(AdvertiseListenerImpl.java:228)
[Server:server-one] 	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.destroy(AdvertiseListenerImpl.java:244)
[Server:server-one] 	at org.jboss.modcluster.ModClusterService.shutdown(ModClusterService.java:220)
[Server:server-one] 	at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.destroy(CatalinaEventHandlerAdapter.java:277)
[Server:server-one] 	at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.stop(CatalinaEventHandlerAdapter.java:129)
[Server:server-one] 	at org.jboss.as.modcluster.ModClusterService.stop(ModClusterService.java:135)
[Server:server-one] 	at org.jboss.as.clustering.msc.AsynchronousService$2.run(AsynchronousService.java:113)
[Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_74]
[Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_74]
[Server:server-one] 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_74]
[Server:server-one] 	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]
[Server:server-one]
[Server:server-one] 06:32:41,704 INFO  [jacorb.poa] (POADestructor) POA IRPOA destroyed
[Server:server-one] 06:32:41,709 INFO  [jacorb.poa] (POADestructor) POA RootPOA destroyed
[Server:server-one] 06:32:41,711 INFO  [jacorb.orb] (ServerService Thread Pool -- 12) prepare ORB for shutdown...
[Server:server-one] 06:32:41,711 INFO  [jacorb.orb] (ServerService Thread Pool -- 12) ORB going down...
[Server:server-one] 06:32:41,714 INFO  [org.apache.coyote.ajp] (MSC service thread 1-7) JBWEB003048: Pausing Coyote AJP/1.3 on ajp-/0:0:0:0:0:0:0:1%lo:8009
[Server:server-one] 06:32:41,715 INFO  [org.apache.coyote.ajp] (MSC service thread 1-7) JBWEB003051: Stopping Coyote AJP/1.3 on ajp-/0:0:0:0:0:0:0:1%lo:8009
[Server:server-one] 06:32:41,719 INFO  [jacorb.orb] (ServerService Thread Pool -- 12) ORB shutdown complete
[Server:server-one] 06:32:41,719 INFO  [jacorb.orb] (ORB Run Thread) ORB run, exit
[Server:server-one] 06:32:41,722 INFO  [jacorb.orb.iiop] (ServerSocketListener) Listener exited
[Server:server-one] 06:32:41,728 INFO  [org.hornetq.ra] (ServerService Thread Pool -- 1) HQ151003: HornetQ resource adaptor stopped
[Server:server-one] 06:32:41,755 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 1) HQ221002: HornetQ Server version 2.3.12.Final (2.3.12, 123) [7db0b37c-9f6e-11e6-b9a8-c9bbf9c41e28] stopped
[Server:server-one] 06:32:41,761 INFO  [org.jboss.as.controller] (MSC service thread 1-8) JBAS014774: Service status report
[Server:server-one] JBAS014776:    Newly corrected services:
[Server:server-one]       service jboss.remoting.server.http-remoting-connector (no longer required)
[Server:server-one]
[Host Controller] 06:32:41,767 INFO  [org.jboss.as.host.controller] (Remoting "build28-el7:MANAGEMENT" task-1) JBAS010926: Unregistering server server-one
[Server:server-one] 06:32:41,785 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) stopped in 84ms
06:32:42,144 INFO  [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) JBAS012010: Process 'Server:server-one' finished with an exit status of 0
[Host Controller] 06:32:42,185 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) JBAS010926: Unregistering server server-one
[Host Controller] 06:32:42,227 INFO  [org.jboss.as.host.controller] (management-handler-thread - 3) JBAS010922: Starting server server-one
06:32:42,351 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one'
[Server:server-one] Java HotSpot(TM) Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
[Server:server-one] Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0


Notification Bar not opening app

Android 5.X+ When the app is in the background and a message is received, I get a notification in the notification bar but when clicking the notification, the app does not open.

Same issue here

yes I did, and then changed to this one. why do you ask?
On 17 Apr 2017 15:53, "Almya"<EMAIL_ADDRESS>wrote:

Did you use FCM plugin before ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arnesson/cordova-plugin-firebase/issues/233#issuecomment-294489548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHSgOplpVjUMm_1YPGLKhbUudp7OPRQ5ks5rw27YgaJpZM4M4jI-
.

Because I had the same issue. If you use http on your server to send your notifications don't forget to remove the click_action from your message object.

ah brilliant. let me give it a try and will revert.
On 17 Apr 2017 20:18, "Almya"<EMAIL_ADDRESS>wrote:

Because I had the same issue. If you use http on your server to send your
notifications don't forget to remove the click_action from your message
object.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arnesson/cordova-plugin-firebase/issues/233#issuecomment-294549259,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHSgOlbBcfje9N72XbylkjL_BN2OXP2Dks5rw6zcgaJpZM4M4jI-
.

And first prize goes to Almya!! Thank you so much. The issue is resolved!

@pedrodagraca you're welcome ;)

Yep, the server side had:
    $n = new Notification($title, $body);
    return $n->setClickAction("FCM_PLUGIN_ACTIVITY")->setIcon('fcm_push_icon')-

setSound('default');

I changed it to:
    return $n->setIcon('fcm_push_icon')->setSound('default');

And now it works as expected

But what if you have the app in production.
if you remove the click_action old version wont open the app on notification tap, how would we go about defining a click action in cordova?

Same problem here


Add more latlongs to our locations db.

Description of proposed changes
Import more location latitude/longitudes into our database nightly.

So are we going to have a nightly push into this file in this repo? (and I'll leave it to you whether to delete your working branch). I'll leave some comments on the tread on ncov but this attempt is great overall!!

Yep. Once we merge the CZGE PR that adds lat/long support, this file will be imported into our locations database every night


Get filled forms

Attach (recommended) or Link to PDF file here:
Configuration:

last version chrome
windows10:
last version:
Is a browser extension:

Steps to reproduce the problem:

i change forms value, but annontationStorage is null
how can i get changed form's value and download filled form

i used to cdn links

Configuration:
* last version chrome
* windows10:
* last version:
* Is a browser extension:

When opening an issue, please remember to fill out the "Configuration" section completely and also include all relevant version numbers.

Steps to reproduce the problem:
[...]

Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.


Add student to project link is hard to find

Could be a (green) button instead of a link to make it easier for users to find this option

Thanks for the comment!


Prevent text overspill on objective cards

This works OK, but I'd like 2 lines for the Title and One for the description as 1 line is too short...I think arrangement works fine with the mouse-over text.

This works OK, but I'd like 2 lines for the Title and three for the description as 1 line is too short for the title, and the leader and the due date available in the mouse-over content.


Run with least permissions in Linux

Basically, investigate and document which capabilities are needed to run the executable without requiring full privileged mode. Provide some examples for e.g. Docker and Kubernetes deployments.

You can replace full privileges by individual capabilities, but it requires mounting the shared maps in the filesystem, as far as I see, only the already overloaded CAP_SYS_ADMIN have the rights for mounting.
It might be slightly safer than full privileges but definitely I would have preferred to restrict the requirements to CAP_PTRACE, CAP_BPF and few more capabilities.

I've been investigating by manually running the otelauto process and manually assigning the capabilities and it still requires the CAP_SYS_ADMIN capability to pin the BPF maps. Even premounting the /sys/fs/bpf and giving total access to the nonprivileged users, the library complains when loading/pinning the maps.
I tried later by using unpinned maps, but I still get a different error that only goes off when setting the CAP_SYS_ADMIN:
setting uprobe: creating perf_uprobe PMU: token /proc/2388/exe:0x2b61a0: opening perf event: permission denied" function=net/http.HandlerFunc.ServeHTTP

I tried with the following capabilities (many of them aren't needed, just trial-and-error) and only adding cap_sys_admin solves the issue:
cap_sys_resource,cap_dac_override,cap_bpf,cap_perfmon,cap_net_admin,cap_fowner,cap_dac_read_search

Closing, but at some point we could reopen it if future versions of the kernel increases granularity of capabilities.


Dashboard not crashing without Redis

Looks good, handles the non happy path when the redis connections fail and updates the dashboard accordingly


[Driver] Begin testing -driver-show-incremental

SR-2855 describes additional functionality to be added to -driver-show-incremental. That option is not currently tested anywhere. Using the option does not interfere with existing incremental compilation tests, so begin adding it to tests, starting with mutual dependencies tests.
I considered adding new, isolated tests for this option, but adding it to existing tests results in less setup code and test boilerplate.

A first step in addressing SR-2855.

@jrose-apple I thought adding some tests for -driver-show-incremental would be a good start. What do you think of adding it to the existing tests? If that sounds good, I'll add it to more tests, then update the CHECKs once I've implemented SR-2855.

Cool, thanks! I'll go ahead and merge this. In a future pull request this week, I'll add many more of this sort of test. Then, I'll make changes that address SR-2855, adding additional CHECK verifications to the tests as I go.

@swift-ci please test and merge

@swift-ci Please test and merge

I don't actually expect SR-2855 to intersect much with other tests; those are the cases where nothing incremental is happening!

Ah, hmm, good point. Then I guess this is sort of tangential -- although it is helping me understand -driver-show-incremental, so I'll do it anyway. :)
The build failures are due to an unrelated error in SwiftPM. I'll try to merge again later.

@swift-ci please test and merge

@swift-ci please clean test and merge


Bug (Description) Fix failing tests

This fixes failing tests by refactoring the  code
It also adds missing classes in views.py, GetOrders  and SingleOrders that need to be tested
[finishes #160789805]

Pull Request Test Coverage Report for Build 128

32 of 34 (94.12%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+16.4%) to 96.97%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/api/v1/views.py
13
15
86.67%

Totals

Change from base Build 123:
16.4%

Covered Lines:
96

Relevant Lines:
99

💛  - Coveralls


Vendor krew's own manifest file (krew.yaml) for iteration

We should bring krew.yaml to this repository and put it in the release .zip file.

This could help offline/self-contained installation of krew (#67)
We will have a versioned krew.yaml along with krew itself.

On a new release, we can just copy it to krew-index.

Allows us to iterate on krew.yaml multiple times during the dev phase (between two releases).

Fixed in #80.


Bigger detach.bin

Are you sure you read the readme? Yes
Android version and skin (MIUI etc... is MIUI still a thing? idk): Android 14 (Google Pixel)
Screenshot of Play Store page of the app you are trying to detach:
Screenshot of the helper CLI showing detached apps (from Option 2):
Logs taken with su -c logcat -d -s "zygisk-detach" > /sdcard/log.txt:
Not providing this information will get your issue closed
Can we please have a bigger detach.bin?
Being unable to detach more than 11 apps is very limiting for such a useful and versatile module.
Thanks for your hard work, much appreciated!

there is no limit in v1.11.0


Missing examples for using bindgen! async, imports and resource in host

Feature
There are no examples about using bindgen! with async: true, imports and resources in Rust hosts. Please add examples to do that.
A bit of background
I have a string.wit and a guest component.
package component:big-string;

interface large-string {
  resource largestring {
    constructor();
    push: func(s: string);
    get: func() -> string;
    clear: func();
  }
}

world big-string {
  import large-string;
  import print: func(s: string) -> bool;
  export manipulate-large-string: func() -> string;
}

I want to run this component in a Rust host. It took me quite a while to debug and inspect the generated code with cargo-expand to implement this. The code is much more complicated than the and there's no way for IDE to help.
I didn't have any clues how to write the code until I cargo-expanded the macro.
You should at least add an example in bindgen_example to give a first impression to newcomers about the complexity.
And probably you can simplify the traits of the async version with latest Rust async functions in traits.
Benefit

Adding an example in bindgen_example can give a first impression to newcomers about the complexity
Probably simplifying it in bindgen with latest Rust async functions in traits can ultimately remove these annoying lifetimes, Pin and Box in function signatures, which will enable IDE to autocomplete and help better.

Implementation
I can make a PR to submit my code to be an example.
Full Code
use crate::utils::get_component_linker_store;
use crate::utils::{bind_interfaces_needed_by_guest_rust_std, ComponentRunStates};
use wasmtime::component::bindgen;
use wasmtime::component::Resource;
use wasmtime::Engine;

mod sync_version {
    use super::*;

    bindgen!({
        path: "../wit-files/string.wit",
        world: "big-string",
        with: {
            "component:big-string/large-string/largestring": LargeString
        }
    });

    pub struct LargeString {
        pub storage: String,
    }

    impl BigStringImports for ComponentRunStates {
        fn print(&mut self, string: String) -> bool {
            println!("from print sync host func: {}", string);
            true
        }
    }

    impl component::big_string::large_string::Host for ComponentRunStates {}

    impl component::big_string::large_string::HostLargestring for ComponentRunStates {
        fn new(&mut self) -> Resource<LargeString> {
            self.resource_table
                .push(LargeString {
                    storage: String::new(),
                })
                .unwrap()
        }

        fn push(&mut self, resource: Resource<LargeString>, s: String) -> () {
            let large_string = self.resource_table.get_mut(&resource).unwrap();
            large_string.storage.push_str(s.as_str());
        }

        fn get(&mut self, resource: Resource<LargeString>) -> String {
            let large_string = self.resource_table.get(&resource).unwrap();
            format!("sync: {}", large_string.storage)
        }

        fn clear(&mut self, resource: Resource<LargeString>) -> () {
            let large_string = self.resource_table.get_mut(&resource).unwrap();
            large_string.storage.clear();
        }

        fn drop(&mut self, resource: Resource<LargeString>) -> wasmtime::Result<()> {
            let _ = self.resource_table.delete(resource)?;
            Ok(())
        }
    }
}

mod async_version {
    use futures::executor::block_on;

    use super::*;
    use core::future::Future;
    use core::pin::Pin;

    bindgen!({
        path: "../wit-files/string.wit",
        world: "big-string",
        async: true,
        with: {
            "component:big-string/large-string/largestring": LargeString
        },
    });

    pub struct LargeString {
        pub storage: String,
    }

    impl BigStringImports for ComponentRunStates {
        fn print<'life, 'async_trait>(
            &'life mut self,
            s: String,
        ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            // TODO: make a PR for this
            Box::pin(async move {
                println!("from print async host func: {}", s);
                true
            })
        }
    }

    impl component::big_string::large_string::Host for ComponentRunStates {}

    impl component::big_string::large_string::HostLargestring for ComponentRunStates {
        fn new<'life, 'async_trait>(
            &'life mut self,
        ) -> Pin<Box<dyn Future<Output = Resource<LargeString>> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            Box::pin(async {
                self.resource_table
                    .push(LargeString {
                        storage: String::new(),
                    })
                    .unwrap()
            })
        }

        fn push<'life, 'async_trait>(
            &'life mut self,
            resource: Resource<LargeString>,
            s: String,
        ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            Box::pin(async move {
                let large_string = self.resource_table.get_mut(&resource).unwrap();
                large_string.storage.push_str(s.as_str());
            })
        }

        fn get<'life, 'async_trait>(
            &'life mut self,
            resource: Resource<LargeString>,
        ) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            Box::pin(async move {
                let large_string = self.resource_table.get(&resource).unwrap();
                format!("async: {}", large_string.storage)
            })
        }

        fn clear<'life, 'async_trait>(
            &'life mut self,
            resource: Resource<LargeString>,
        ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            Box::pin(async move {
                let large_string = self.resource_table.get_mut(&resource).unwrap();
                large_string.storage.clear();
            })
        }

        fn drop<'life, 'async_trait>(
            &'life mut self,
            resource: Resource<LargeString>,
        ) -> Pin<Box<dyn Future<Output = wasmtime::Result<()>> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait,
        {
            Box::pin(async {
                let _ = self.resource_table.delete(resource)?;
                Ok(())
            })
        }
    }

}

In general, adding an example of async bindgen! would be great!
On the particulars of what the example is doing and whether your given example is best, I don't have super strong opinions. A timer might be smaller and more realistic? Not 100% clear to me.
Maybe @alexcrichton has opinions.

Thanks!
Regarding this long function signature, do you know any ways to simplify it? I thought the stabilized async functions in traits might help. I don't know if async-trait crate can help, either.
-> Pin<Box<dyn Future<Output = SomeReturnType> + Send + 'async_trait>>
        where
            'life: 'async_trait,
            Self: 'async_trait

Definitely feel free to add an example with a PR, it would be most welcome!
All of wasmtime's async support was designed before async functions were available in traits, and yes nowadays we should remove the need for #[async_trait] ideally. That'll require using -> impl Future<...> + Send in the trait definitions (can't just use raw async fn just yet I think), but the trait implementors can still use async fn ... in that case.
If you're up for it a PR to remove #[async_trait] would be most welcome, but I suspect that would be a pretty involved PR as well.

Definitely feel free to add an example with a PR, it would be most welcome!

I will make a PR with a modified example that makes a bit more sense.

All of wasmtime's async support was designed before async functions were available in traits, and yes nowadays we should remove the need for #[async_trait] ideally

So, bindgen indeed uses #[async_trait] internally? I couldn't see this when I just did cargo-expand which expands all macros recursively. If so, I think the users/implmentors can also leverage #[async_trait] to simplify the impl block.

That'll require using -> impl Future<...> + Send in the trait definitions (can't just use raw async fn just yet I think), but the trait implementors can still use async fn ... in that case.

We can use trait_variant mentioned in the Announcing async fn and return-position impl Trait in traits so we don't even need to write -> impl Future<...> + Send in bindgen's implementation ourselves. Just something like
#[trait_variant::make(HostLargestring: Send)]
pub trait LocalHostLargestring {
    async fn new(&mut self) -> Resource<LargeString>;
    // ...
}

If you're up for it a PR to remove #[async_trait] would be most welcome, but I suspect that would be a pretty involved PR as well.

Yeah, this may take a while. I will just make a PR to add an example first. Then I will open another tracking issue for this.

Using trait_variant makes sense to me yeah! And yes bindings use #[async_trait] which is why generated docs aren't great.


Make DICSS even smaller

Provide minified version alongside the big DICCS.

I've heard small DICSS is extremely unpopular.

Why would you want smaller DICSS? I don't think it would be able to handle heavy loads.

I've read on some paper that the size of DICSS doesn't really matter. What really matters is the performance.


wlcs: 1.6.0 -> 1.6.1

Description of changes
https://github.com/MirServer/wlcs/releases/tag/v1.6.1
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

5 packages built:

mir
mir.dev
mir.doc
miriway
wlcs


Update Logger for multi-driver/multi-channels at once

When the logger is interacted with, it can be beneficial for these messages to go to multiple places.
An example is I work as a PHP contractor, and connect logging into my Company Slack, but my client may also wish to know when an error occurs.
Multi-channel/Multi-driver support enables multiple logs being called without a copy/paste

This is not necessary. You can already use the stack logger.

https://laravel.com/docs/8.x/logging#building-log-stacks

@GrahamCampbell Thanks - I didn't know that was an option.
I can see how it can be a duplicate feature, but there's a million ways to do the same things in Laravel that are completely unnecessary and bloat the framework. I don't see how this can be considered unnecessary, when Laravel has a lot of unnecessary additions.
In addition to this, the stack logger is hidden in documentation, whereas this feature is visible when you're typing from your IDE.

The stack logger is used in every app, out of the box, and is the default when you go into the logging configuration. I wouldn't call that hidden away. https://github.com/laravel/laravel/blob/8.x/config/logging.php#L20

I think one can consider string-based config files to be overused and obscure in the Laravel framework.


[Incremental] Rename a file.

Rename FineGrainedDependenciesSourceFileDepGraphConstructor.cpp to SourceFileDepGraphConstructor.cpp.
More appropriate now that the fine grained dependencies are the norm.

@swift-ci please smoke test


Segmentation Fault

When I use convert in onnx-coreml, segmentation fault arises.
My codes are:
import sys
from onnx import onnx_pb
from onnx_coreml import convert
model_in = sys.argv[1]
model_out = sys.argv[2]
model_file = open(model_in, 'rb')
model_proto = onnx_pb.ModelProto()
model_proto.ParseFromString(model_file.read())
coreml_model = convert(model_proto, preprocessing_args={'image_scale': 1 / 255.}, image_input_names=['0'], image_output_names=['258'], deprocessing_args={'image_scale': 255.})
coreml_model.save(model_out)

Are there any ideas to avoid segmentation fault?
My environment is like this:
python (3.5.2)
Click (7.0)
numpy (1.15.2)
onnx (1.3.0)
onnx-coreml (0.3.0)

Do you get an error message?
Please provide more information to reproduce the issue.

Error messages are  like this:
$ python convert_onnx_to_coreml.py  /home/nutszebra/Downloads/prizma/gogh_e_2/gogh_e_2.onnx /home/nutszebra/Downloads/test.mlmodel
Segmentation fault (core dumped)

My pip list:
asn1crypto (0.22.0)
backcall (0.1.0)
cffi (1.10.0)
Click (7.0)
conda (4.5.11)
ConnPlotter (0.7a0)
coremltools (2.0)
cryptography (1.8.1)
decorator (4.3.0)
idna (2.6)
ipython (6.5.0)
ipython-genutils (0.2.0)
jedi (0.12.1)
mkl-fft (1.0.6)
mkl-random (1.0.1)
numpy (1.15.2)
onnx (1.3.0)
onnx-coreml (0.3.0)
packaging (16.8)
parso (0.3.1)
pexpect (4.6.0)
pickleshare (0.7.4)
pip (9.0.1)
prompt-toolkit (1.0.15)
protobuf (3.6.1)
ptyprocess (0.6.0)
pycosat (0.6.3)
pycparser (2.18)
pycrypto (2.6.1)
Pygments (2.2.0)
PyNEST (2.8.0)
pyOpenSSL (17.0.0)
pyparsing (2.2.0)
PyYAML (3.11)
requests (2.14.2)
ruamel-yaml (-VERSION)
setuptools (40.4.3)
simplegeneric (0.8.1)
six (1.11.0)
Topology (2.8.0)
traitlets (4.3.2)
typing (3.6.6)
typing-extensions (3.6.6)
wcwidth (0.1.7)
wheel (0.29.0)

My environments:
Ubuntu 14.04 LTS
Python 3.5.2
miniconda3-4.1.11

Not sure what's causing it.
Hard to say without looking at the model and reproducing the issue.

I uncommented mlmodel = MLModel(builder.spec), but still segmentation fault arises at onnx-coreml==0.3.0.
I find that onnx-coreml==0.1.1 works properly without segmentation fault.

I have same error as above.
I tried https://github.com/onnx/onnx-coreml/issues/346#issuecomment-431247960 solution and nothing changed.
I also tried same onnx => mlmodel conversion script on my Mac environment, but the result was the same.
I think this problem comes from Upsample operator, since other onnx model which has exactly the same architecture except Upsample could convert correctly.

@nutszebra Does the error occur with a many onnx models or with a particular model?
Which Mac version do you have?
I have not come across this behavior. It would be great if you can provide a a tiny model that reproduces the issue.
@h-shib I believe we have tests running with upsample layer. I'll double check.

@aseemw thanks for your reply.
I'll share the both ONNX files. base.onnx is able to convert to base.mlmodel, but base+upsample.onnx isn't.
Could you check those?
https://www.dropbox.com/sh/loieailoyjtxujw/AACv9h_47yLCdH_H02u1IJxia?dl=0

Okay, it seems the base+upsample.onnx model causes a crash at https://github.com/onnx/onnx-coreml/blob/53d7c434037d23f28f48f23abf50d6574477d917/onnx_coreml/_shapeinference.py#L8
which is the shape inference code for onnx. @smessmer any idea on what could be causing this?
@h-shib My suggestion would be to open an issue on the onnx repo since the crash is related to the shape inference method in onnx.

@aseemw thank you for quick reply.
OK, I'll open an issue on ONNX repo and will share the result on this issue.

hey, I had the same issue, and fix it. you can see the fix in a PR I just opened.  https://github.com/onnx/onnx-coreml/pull/349

@h-shib PR #349 is merged, can you check again, after building from top of master,  if your issue is resolved ?

My problem was solved. Thank you so much! @aseemw @yuvdar


Network drives not appearing in file explorer after script execution

Executing the script in an elevated command prompt hides the share drives from the normal user. researching options to change this behavior.

Network drives only appear under the userspace where they were originally mapped, moved the relevant portions of the script to a standalone file for execution under the user account.


Remove editor specific code from the graphics folder

Editor is no longer being worked on, and has been removed from the repo. Closing.


perf: Input field for nested pages is not working(is seizing) on BB10 Device

Type: perf
Platform: desktop browser
Hi all , first and foremost Kudos to Ionic Team, you guys are surprising with designs and concepts, nice work!
I've been working on an app and...I made a deployment for Android , iPad (iPad Air) and BB10 (Blackberry Q5 Device), it works perfectly, rendered as expected, but one thing i took note later on BB10 Device. Inside some nested Pages, the Input field is seizing, if I try typing some texts it would not appear, untill I click on another object on the screen and drag the page, then it would start typing. I've try all my best to fix this out...I need HELP, ANY SOLUTION. Kudos Once again to Ionic Team and the forks at large, looking forward to hearing from you guys.

Greetings @litunny!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @litunny!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Remove the null replacement in computePredicate

This small PR is to remove the  null replacement in GpuConditionalExpression.computePredicate.
Since the issue https://github.com/rapidsai/cudf/issues/3856 mentioned in its comment has been fixed already by the PR https://github.com/rapidsai/cudf/pull/3911.
closes https://github.com/NVIDIA/spark-rapids/issues/2468
Signed-off-by: Firestarman<EMAIL_ADDRESS>

build

build