Sending photos

Hello,
i have problem with sending images.
When i try to send edited photo, app freezes and the error apears.
I/flutter (13938): Picture saved to /data/user/0/com.dominik_ilski.people_craft/app_flutter/Pictures/flutter_test/1610888362001.jpg
E/flutter (13938): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: type '_Uint8ArrayView' is not a subtype of type 'DrawPage' of 'result'
E/flutter (13938): #0      LocalHistoryRoute.didPop (package:flutter/src/widgets/routes.dart)
package:flutter/…/widgets/routes.dart:1
E/flutter (13938): #1      _RouteEntry.pop
package:flutter/…/widgets/navigator.dart:2483
E/flutter (13938): #2      NavigatorState.pop
package:flutter/…/widgets/navigator.dart:3825
E/flutter (13938): #3      _DrawPageState.build.<anonymous closure>
package:draw_page/src/draw_page.dart:275
E/flutter (13938): <asynchronous suspension>
E/flutter (13938): #4      _DrawPageState.build.<anonymous closure> (package:draw_page/src/draw_page.dart)
package:draw_page/src/draw_page.dart:1
E/flutter (13938): #5      _InkResponseState._handleTap
package:flutter/…/material/ink_well.dart:993
E/flutter (13938): #6      _InkResponseState.build.<anonymous closure>
package:flutter/…/material/ink_well.dart:1111
E/flutter (13938): #7      GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:183
E/flutter (13938): #8      TapGestureRecognizer.handleTapUp
package:flutter/…/gestures/tap.dart:598
E/flutter (13938): #9      BaseTapGestureRecognizer._checkUp
package:flutter/…/gestures/tap.dart:287
E/flutter (13938): #10     BaseTapGestureRecognizer.handlePrimaryPointer
package:flutter/…/gestures/tap.dart:222
E/flutter (13938): #11     PrimaryPointerGestureRecognizer.handleEvent
package:flutter/…/gestures/recognizer.dart:476
E/flutter (13938): #12     PointerRouter._dispatch
package:flutter/…/gestures/pointer_router.dart:77
E/flutter (13938): #13     PointerRouter._dispatchEventToRoutes.<anonymous closure>
package:flutter/…/gestures/pointer_router.dart:122
E/flutter (13938): #14     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter (13938): #15     PointerRouter._dispatchEventToRoutes
package:flutter/…/gestures/pointer_router.dart:120
E/flutter (13938): #16     PointerRouter.route
package:flutter/…/gestures/pointer_router.dart:106
E/flutter (13938): #17     GestureBinding.handleEvent
package:flutter/…/gestures/binding.dart:358
E/flutter (13938): #18     GestureBinding.dispatchEvent
package:flutter/…/gestures/binding.dart:338
E/flutter (13938): #19     RendererBinding.dispatchEvent
package:flutter/…/rendering/binding.dart:267
E/flutter (13938): #20     GestureBinding._handlePointerEvent
package:flutter/…/gestures/binding.dart:295
E/flutter (13938): #21     GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:240
E/flutter (13938): #22     GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:213
E/flutter (13938): #23     _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter (13938): #24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (13938): #25     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter (13938): #26     _invoke1 (dart:ui/hooks.dart:265:10)
E/flutter (13938): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
E/flutter (13938):

The differences in my code compared to the example are:
  @override
  Future getImage() async {
    List<Uint8List> images;
    // Coming soon
    // if (kIsWeb) {
    //   var file = await FilePicker.getFile();

    //   if (file != null) {
    //     var g = await _getHtmlFileContent(file);
    //     images = [g];
    //   }
    // } else {
    images = await Navigator.of(context).push<List<Uint8List>>(
        MaterialPageRoute(builder: (context) => CameraPage()));
    if (images != null && images.length == 1) {
      var image = await Navigator.of(context)
          .push(MaterialPageRoute<DrawPage>(builder: (context)
        => DrawPage(
            imageData: images[0] as Uint8List, loadingWidget: loadingWidget)
      ));
      if (image == null) return null;
      images = <Uint8List>[image.imageData];
      // }
    }

    if (images != null) {
      for (var image in images) {
        await sendImage(image);
      }
    }
  }

I am using analysis_options in my projest, so thats why i had to give lists a type
analyzer:
  strong-mode:
    implicit-casts: false
    implicit-dynamic: false

Hello,
i have problem with sending images.
When i try to send edited photo, app freezes and the error apears.
I/flutter (13938): Picture saved to /data/user/0/com.dominik_ilski.people_craft/app_flutter/Pictures/flutter_test/1610888362001.jpg
E/flutter (13938): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: type '_Uint8ArrayView' is not a subtype of type 'DrawPage' of 'result'
E/flutter (13938): #0      LocalHistoryRoute.didPop (package:flutter/src/widgets/routes.dart)
package:flutter/…/widgets/routes.dart:1
E/flutter (13938): #1      _RouteEntry.pop
package:flutter/…/widgets/navigator.dart:2483
E/flutter (13938): #2      NavigatorState.pop
package:flutter/…/widgets/navigator.dart:3825
E/flutter (13938): #3      _DrawPageState.build.<anonymous closure>
package:draw_page/src/draw_page.dart:275
E/flutter (13938): <asynchronous suspension>
E/flutter (13938): #4      _DrawPageState.build.<anonymous closure> (package:draw_page/src/draw_page.dart)
package:draw_page/src/draw_page.dart:1
E/flutter (13938): #5      _InkResponseState._handleTap
package:flutter/…/material/ink_well.dart:993
E/flutter (13938): #6      _InkResponseState.build.<anonymous closure>
package:flutter/…/material/ink_well.dart:1111
E/flutter (13938): #7      GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:183
E/flutter (13938): #8      TapGestureRecognizer.handleTapUp
package:flutter/…/gestures/tap.dart:598
E/flutter (13938): #9      BaseTapGestureRecognizer._checkUp
package:flutter/…/gestures/tap.dart:287
E/flutter (13938): #10     BaseTapGestureRecognizer.handlePrimaryPointer
package:flutter/…/gestures/tap.dart:222
E/flutter (13938): #11     PrimaryPointerGestureRecognizer.handleEvent
package:flutter/…/gestures/recognizer.dart:476
E/flutter (13938): #12     PointerRouter._dispatch
package:flutter/…/gestures/pointer_router.dart:77
E/flutter (13938): #13     PointerRouter._dispatchEventToRoutes.<anonymous closure>
package:flutter/…/gestures/pointer_router.dart:122
E/flutter (13938): #14     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter (13938): #15     PointerRouter._dispatchEventToRoutes
package:flutter/…/gestures/pointer_router.dart:120
E/flutter (13938): #16     PointerRouter.route
package:flutter/…/gestures/pointer_router.dart:106
E/flutter (13938): #17     GestureBinding.handleEvent
package:flutter/…/gestures/binding.dart:358
E/flutter (13938): #18     GestureBinding.dispatchEvent
package:flutter/…/gestures/binding.dart:338
E/flutter (13938): #19     RendererBinding.dispatchEvent
package:flutter/…/rendering/binding.dart:267
E/flutter (13938): #20     GestureBinding._handlePointerEvent
package:flutter/…/gestures/binding.dart:295
E/flutter (13938): #21     GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:240
E/flutter (13938): #22     GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:213
E/flutter (13938): #23     _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter (13938): #24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (13938): #25     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter (13938): #26     _invoke1 (dart:ui/hooks.dart:265:10)
E/flutter (13938): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
E/flutter (13938):

The differences in my code compared to the example are:
  @override
  Future getImage() async {
    List<Uint8List> images;
    // Coming soon
    // if (kIsWeb) {
    //   var file = await FilePicker.getFile();

    //   if (file != null) {
    //     var g = await _getHtmlFileContent(file);
    //     images = [g];
    //   }
    // } else {
    images = await Navigator.of(context).push<List<Uint8List>>(
        MaterialPageRoute(builder: (context) => CameraPage()));
    if (images != null && images.length == 1) {
      var image = await Navigator.of(context)
          .push(MaterialPageRoute<DrawPage>(builder: (context)
        => DrawPage(
            imageData: images[0] as Uint8List, loadingWidget: loadingWidget)
      ));
      if (image == null) return null;
      images = <Uint8List>[image.imageData];
      // }
    }

    if (images != null) {
      for (var image in images) {
        await sendImage(image);
      }
    }
  }

I am using analysis_options in my projest, so thats why i had to give lists a type
analyzer:
  strong-mode:
    implicit-casts: false
    implicit-dynamic: false

Sorry for the late reply.
Try like this:
@override
  Future getImage() async {
    List<Uint8List> images;
    // Coming soon
    // if (kIsWeb) {
    //   var file = await FilePicker.getFile();

    //   if (file != null) {
    //     var g = await _getHtmlFileContent(file);
    //     images = [g];
    //   }
    // } else {
    images = await Navigator.of(context)
        .push<List<Uint8List>>(MaterialPageRoute(builder: (BuildContext context) => CameraPage()));
    if (images != null && images.length == 1) {
      Uint8List image = await Navigator.of(context).push<Uint8List>(MaterialPageRoute(builder: (BuildContext context) {
        return DrawPage(imageData: images[0], loadingWidget: loadingWidget);
      }));
      if (image == null) return null;
      images = [image];
      // }
    }

    if (images != null) {
      for (var image in images) {
        await sendImage(image);
      }
    }
  }

Hello,
i have problem with sending images.
When i try to send edited photo, app freezes and the error apears.
I/flutter (13938): Picture saved to /data/user/0/com.dominik_ilski.people_craft/app_flutter/Pictures/flutter_test/1610888362001.jpg
E/flutter (13938): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: type '_Uint8ArrayView' is not a subtype of type 'DrawPage' of 'result'
E/flutter (13938): #0      LocalHistoryRoute.didPop (package:flutter/src/widgets/routes.dart)
package:flutter/…/widgets/routes.dart:1
E/flutter (13938): #1      _RouteEntry.pop
package:flutter/…/widgets/navigator.dart:2483
E/flutter (13938): #2      NavigatorState.pop
package:flutter/…/widgets/navigator.dart:3825
E/flutter (13938): #3      _DrawPageState.build.<anonymous closure>
package:draw_page/src/draw_page.dart:275
E/flutter (13938): <asynchronous suspension>
E/flutter (13938): #4      _DrawPageState.build.<anonymous closure> (package:draw_page/src/draw_page.dart)
package:draw_page/src/draw_page.dart:1
E/flutter (13938): #5      _InkResponseState._handleTap
package:flutter/…/material/ink_well.dart:993
E/flutter (13938): #6      _InkResponseState.build.<anonymous closure>
package:flutter/…/material/ink_well.dart:1111
E/flutter (13938): #7      GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:183
E/flutter (13938): #8      TapGestureRecognizer.handleTapUp
package:flutter/…/gestures/tap.dart:598
E/flutter (13938): #9      BaseTapGestureRecognizer._checkUp
package:flutter/…/gestures/tap.dart:287
E/flutter (13938): #10     BaseTapGestureRecognizer.handlePrimaryPointer
package:flutter/…/gestures/tap.dart:222
E/flutter (13938): #11     PrimaryPointerGestureRecognizer.handleEvent
package:flutter/…/gestures/recognizer.dart:476
E/flutter (13938): #12     PointerRouter._dispatch
package:flutter/…/gestures/pointer_router.dart:77
E/flutter (13938): #13     PointerRouter._dispatchEventToRoutes.<anonymous closure>
package:flutter/…/gestures/pointer_router.dart:122
E/flutter (13938): #14     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter (13938): #15     PointerRouter._dispatchEventToRoutes
package:flutter/…/gestures/pointer_router.dart:120
E/flutter (13938): #16     PointerRouter.route
package:flutter/…/gestures/pointer_router.dart:106
E/flutter (13938): #17     GestureBinding.handleEvent
package:flutter/…/gestures/binding.dart:358
E/flutter (13938): #18     GestureBinding.dispatchEvent
package:flutter/…/gestures/binding.dart:338
E/flutter (13938): #19     RendererBinding.dispatchEvent
package:flutter/…/rendering/binding.dart:267
E/flutter (13938): #20     GestureBinding._handlePointerEvent
package:flutter/…/gestures/binding.dart:295
E/flutter (13938): #21     GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:240
E/flutter (13938): #22     GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:213
E/flutter (13938): #23     _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter (13938): #24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (13938): #25     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter (13938): #26     _invoke1 (dart:ui/hooks.dart:265:10)
E/flutter (13938): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
E/flutter (13938):

The differences in my code compared to the example are:
  @override
  Future getImage() async {
    List<Uint8List> images;
    // Coming soon
    // if (kIsWeb) {
    //   var file = await FilePicker.getFile();

    //   if (file != null) {
    //     var g = await _getHtmlFileContent(file);
    //     images = [g];
    //   }
    // } else {
    images = await Navigator.of(context).push<List<Uint8List>>(
        MaterialPageRoute(builder: (context) => CameraPage()));
    if (images != null && images.length == 1) {
      var image = await Navigator.of(context)
          .push(MaterialPageRoute<DrawPage>(builder: (context)
        => DrawPage(
            imageData: images[0] as Uint8List, loadingWidget: loadingWidget)
      ));
      if (image == null) return null;
      images = <Uint8List>[image.imageData];
      // }
    }

    if (images != null) {
      for (var image in images) {
        await sendImage(image);
      }
    }
  }

I am using analysis_options in my projest, so thats why i had to give lists a type
analyzer:
  strong-mode:
    implicit-casts: false
    implicit-dynamic: false

Sorry for the late reply.
Try like this:
@override
  Future getImage() async {
    List<Uint8List> images;
    // Coming soon
    // if (kIsWeb) {
    //   var file = await FilePicker.getFile();

    //   if (file != null) {
    //     var g = await _getHtmlFileContent(file);
    //     images = [g];
    //   }
    // } else {
    images = await Navigator.of(context)
        .push<List<Uint8List>>(MaterialPageRoute(builder: (BuildContext context) => CameraPage()));
    if (images != null && images.length == 1) {
      Uint8List image = await Navigator.of(context).push<Uint8List>(MaterialPageRoute(builder: (BuildContext context) {
        return DrawPage(imageData: images[0], loadingWidget: loadingWidget);
      }));
      if (image == null) return null;
      images = [image];
      // }
    }

    if (images != null) {
      for (var image in images) {
        await sendImage(image);
      }
    }
  }

Thanks for the answer. The fix works and your package helped me a lot. From what I saw, your solution is the best available. I would like to support your work and thank you by buying you coffee. The same way it is done in others in other packages.

Thanks for the answer. The fix works and your package helped me a lot. From what I saw, your solution is the best available. I would like to support your work and thank you by buying you coffee. The same way it is done in others in other packages.


docs: fix/update readme

Uses updated example module proposed in  https://github.com/lucacasonato/esbuild_deno_loader/commit/37ac2f8c69c1bd10e4c919494b11762867334d2e

@lucacasonato It looks like one of the workflows is stuck on "Run tests" for more than a couple of hours. Can it be restarted?

@lucacasonato It looks like one of the workflows is stuck on "Run tests" for more than a couple of hours. Can it be restarted?

@lucacasonato Maybe closing and reopening will re-run the checks? 🤷

@lucacasonato It looks like there are some problems in the CI workflows that are not related to this PR. Let me know if there's anything needed from me.

I think this should be merged or something.


Localization in previously built map

Hi, I was able to build a map but I was wondering if your package makes it possible to localize in the saved map.
Thank you

That is not possible with this package.
For example, use the following
https://github.com/rsasaki0109/pcl_localization_ros2
https://github.com/autowarefoundation/autoware.universe/tree/main/localization

I will close this issue as the problem seems to have been resolved.


Delete ApiApplicationTests class in tests

Delete ApiApplicationApiTests class in tests because it is redundant.

@tupi2001 I feel like we should add some tests for it, but not sure how. Will check


Extension behavior does not match Quickstart resulting in inability to complete

Similar to issue #86992.
After step "2. Under the Static Web Apps label, select the plus sign."
for me step 3 prompt is:

"Enter the name of the new GitHub repository."
Already created the repository earlier in the quickstart... If I enter a new repository name here I then get 'Remote "origin" already exists in the local repository.'

What am I missing/doing wrong ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59b3b161-b559-f90b-1566-f18776a5f7da
Version Independent ID: 3e536234-16ad-2ed3-fb58-c128ba2faab2
Content: Quickstart: Building your first static site with the Azure Static Web Apps
Content Source: articles/static-web-apps/getting-started.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@mohrin-r3ry,  Thanks for the feedback! We are taking a look into this and will get back to you soon.

mohrin-r3ry, Apologies for the delay!
I'd followed the same instructions outlined in the doc and the steps are working/flowing fine.
Step -3

Step - 4

Steps 5:

Kindly verify that the right repo was selected and cloned. All the prerequisites are met and you're leveraging up-to-date version of VSC. If feasible, you may also test this on another system/VSC.


ci: Generate SBOM

This PR
Generates Software Bill of Materials (SBOM) as described in #159. Once https://github.com/NuGet/Home/issues/12497 is implemented, the SBOM file(s) should be embedded in the published nuget packages. Until then, I've added the SBOM as an asset under the release.
Known issue
The SBOM file lists the dependences for all target frameworks combined. Once the above NuGet issue is implemented, it should be changed, so there is one sbom created for each target framework with only the applicable references included.
Related Issues
Fixes #159
How to test
Unfortunately, this is somewhat cumbersome to test, as the logic in question only kicks in upon a release from the main branch. I've tested it myself this way:

Create new fork of this repo
Merge this branch to main in the new repo
Create a release in the new repo

Wow thanks @jenshenneberg ! I will review this carefully tomorrow.


[feat] Enable declarationMap for API packages

Describe the problem
Jump to function definition nows navigate to .d.ts files with function declarations.
Sometimes it helps if we can jump to the typescript source code to know the underlying code.
Describe the solution you'd like
https://www.typescriptlang.org/tsconfig/#declarationMap
Enable declarationMap in build process for @tauri-apps/api and the plugin apis.
Alternatives considered
No response
Additional context
No response

We don't distribute typescript source code in @tauri-apps/api package, only .js and .d.ts files.
You can Right Click, on the import and choose "Go to Source Definition" instead and it should work.


REQUEST: Topic on how exactly the update process of LND looks like

I myself consider me somewhere inbetween in terms of knowledge. I'm far from pro, but also little more than amateur I think. I don't know the exact steps to update your LND (copying files, replacing them, stopping it first, does it do automatically stop etc, all rather simple questions) and I caught myself not wanting to update in fear of breaking something.
With such alpha software and the generally slow process of adopting an update across the whole community/network, I feel that a dedicated section on how to update parts of the software (bitcoind / LND etc) would be a welcome addition and shouldn't be too much of a hassle to write, right?

Did you checkout this?
https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_faq.md#how-to-upgrade-lnd-bin-
No guide on updating for bitcoind yet, but their documentation is really good.

Wow now I feel dumb. I checked some time ago and didnt find anything and just thought why not open a ticket here. Sorry. That is sufficient. Although it doesn't include bitcoind :-/

No worries, we all learn. Maybe I should put a link to the FAQ directly on the LND page?
The upgrade notes for bitcoind are usually included in the release notes, but are not that exaustive. Can write something up.
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.16.1.md

I see. Having it all in once place surely would help. Thank you for your effort, it is so much appreciated!

All done, enjoy! :-)


Trường cao đẳng cộng đồng Hưng Yên

Trường cao đẳng cộng đồng Hưng Yên. Domain hycc.edu.vn

@truonggianghycc First stage of verification passed, official domain is hycc.edu.vn as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@truonggianghycc Regrettably, the information at the school website and in WHOIS data are controversial or incomplete.  I have to close the request without merging.
Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding!


Relpay failed activities

Hello,
Is there a features to replay only failed activities on the orchestrations?
Thanks

No it's not about a retry policy, i mean for example i have an orchestration with id xxxxxx,
that contain the 2 first activties was successed and 3 other failed,
when Replay all orchestration with ID, orchestration should start from failed acitivities,
it's like a restart orchestration but it should start from failed activities.

It s rewind

Indeed, this sounds like a description of the rewind API.

If you're taking a direct dependency on Microsoft.DurableTask.SqlServer, you can use the SqlOrchestrationService.RewindOrchestrationInstanceAsync() API for this.
If you're using Azure Durable Functions, you can use the rewind REST API or the language-specific SDK API to do the same.

This is exactly what i want , thanks you !


Implementation status

Working:

[x] toggl me
[x] toggl start
[x] toggl start [task name]

TODO (fixes in TimeEntry's models, for example?):

[ ] toggl get current
[ ] toggl get last [n]
[ ] toggl stop current
[ ] toggl start last

Desired:

[ ] toggl start [task name] [project]
[ ] toggl start [task name] [project] [tag1,tag2,...]
[ ] toggl projects
[ ] toggl tags

key feature for me would be offline usage .. sync with api as soon as I'm back online. Does it already have this feature?


Add translations for more languages

Languages requested by Medici
'fr-FR', 'es-ES', 'zh-ZH' (chinesisch), 'ja-JP‘ (japanisch), 'ko-KO' (koreanisch)
Hybrid solution: contribute parts to shoelace?

sick.com uses 17 languages, see internal page on https://mosaicplus.sick.com/x/NFRZIg
Maybe we should use them all?

Please keep in mind that we use shoelaces translations as a baseline and would have to add all missing languages manually in case they are not there, leading to bigger initial and maintenance cost. We also have custom translation styles that would have to be manually adjusted for each added language.
I personally think we should go step by step here. If frensh, spanish, chinese and japanese are the first ones, we will get a better understanding about the needed workflow.
For reference, here are the translation files ours are based on: https://github.com/shoelace-style/shoelace/tree/next/src/translations


Exclude self profile visits from count

Is there way to exclude self profile visits counts from total counts?

This is not possible because the requests are anonymized and proxied through GitHub servers. Here are the details: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls.


Custom Format create method firing twice with different values

What I am trying to do
Create a custom toolbar with buttons that format selected text with the same tag and but variable attribute values based on data passed into the handler on click (similar to the link blot). I believe I should be able to pass values into a blots create method (just like in the link blot being passed the url).
Issue
The value i pass into the blot works and the node gets created, HOWEVER the blots create function is immediately called again with a different value (i think just the blot name) and this value overrides the original attribute value / or maybe the node entirely.
Q: Why is the create method running twice, where is it being called from
Here is a codepen, check the console for logs.
Any help here greatly appreciated, going nuts trying to work it out atm
Cheers,
Paddy
Quill version

[ ] 1.0.0

@zenoamaro

Do you know if this is issue affects plain Quill or only React-Quill?

@alexkrolick thanks for getting back to me :)
I tried tried it with plain Quill and it didn't happen, so I believe it is an issue with React-Quill, hence logging the issue in this repo :)
I have found that it is something to do with the static formats and format functions and how they trigger calls on each other I have updated the codepen  to include more console logs, and its shows that static formats calls gets stuck in a loop calling itself. Also, not sure why the format function is being called with a null value? what is triggering that call?

alert is not a valid HTML tag - it seems to work if I change the tagName of the custom blot to something like b
https://developer.mozilla.org/en-US/docs/Web/HTML/Element

Did that fix your problem?

@alexkrolick  Hey, thanks for checking
I know that alert is not a valid HTML tag, however I was under the impression that you could add in custom tags by creating new blots. I need to be able to create these custom tags for the xml schema that I will be using the editor content with.
Unfortunately it seems that the requirements of my project don't quite match the current capabilities of quill so have moved onto using another editor tool.
Thanks for you help though.

For future reference:
You can create custom blots, but they have to have HTML tags as the base. You might be able to change the allowed tags using the Custom Elements spec: http://w3c.github.io/webcomponents/spec/custom/#element-definition


Merge release to master

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Split up tasks.py

tasks.py is too big to fail!
Split out task registry into its own file, and separate edge probing tasks into their own file. Add package-level definitions in src/tasks/__init__.py for common imports & constants.
Note that tasks.REGISTRY is a global object and that tasks are added to it at import time by calling register_task(...), so we need to make sure that any file with task definitions is imported before it can be used. We do this at the top of src/tasks/__init__.py, so that other code should need only do something like: from .tasks import REGISTRY to get access to everything.

Second part of addressing #420

Nudge.

Sorry! On vacation last week.
@W4ngatang : as crazy as you want to be. Since we can import in the __init__.py file it's easy to refactor this package without changing too much code in src/.


Cannot upgrade to newest SDK release

As seen in this dependabot PR upgrading the SDK from 4.0.0-pre.1 to 4.0.0-pre.3 results in a typescript build error.
https://github.com/tablelandnetwork/local-tableland/pull/182
As best I can determine this is the result of the sdk's upgrade of @tableland/evm from v3.x to 4.0.0-pre.x.
When this upgrade was made @tableland/evm changed to publishing the typechain-types *.ts files.  This is the correct behavior, but a bug in TypeChain means that we have to stop checking for unused locals in order to build.
TypeChain bug is here: https://github.com/dethcrypto/TypeChain/issues/721
There is a fix for the issue here: https://github.com/dethcrypto/TypeChain/pull/776
The PR has been open for a while now.  In the mean time we can work around the problem by no longer strictly checking for unused locals.

@dtbuchholz I can help with this, but just pinging you as a reminder to self.  Depending on how quickly TypeChain gets a fix for this, we might want to add something to the docs about using this workaround.

@joewagner gotcha, sounds good. So, we can monitor this being merged, and in N days from now, we go down the path of creating some docs? What sorta timeline are you thinking...maybe, check in 1 week from now, and if it's not merged, we create docs? Or maybe 2 weeks?

@joewagner following up here!

@dtbuchholz Thanks for the reminder! I'd say let's avoid cluttering the docs unless a user opens an issue.  I have alerts on for the TypeChain issue and PR, when there's a fix I'll be sure to upgrade here.

(Thanks to Notion!) Cool, sgtm


RedditTests.ControllerTests.WorkflowTests.SubredditTests.MonitorNewComments only detects the first comment

Not sure why this one is suddenly failing.  The test creates a post a monitors it for new comments, populating them into a dictionary.  The test then posts 10 comment replies to that post and waits up to a minute for the monitoring to pick them up.
For whatever reason, it's now only recording the first comment.  Needs further debugging.  May need to check other tests to make sure comments monitoring itself isn't broken somehow.

Fix merged into 1.6.


difficult to use

don't know how to add project, it keep saying not in a project if I run toggle_project.
prompt_project('add') doesn't work as expected, after use it to add ./apps/project-a, and switch to it, error happened, file not exists /Users/x/work/monorepo-a//./apps/project-a not exists.

Hey thanks for leaving some feedback, I'll try to answer as best as possible :)

You can use add_project() or prompt_project("add") to add a project. Remember that the "main" project is the one you start nvim in. You can run :pwd to see what that directory is.

Since ./apps/project-a and apps/project-a would be doing the same thing here, ./ doesnt work (although I'm looking at fixing it now)

Let me know if you have any other questions :)

fixed no. 2 in 64bd824


Librimix meta files

Hi, thank you for sharing these awesome codes!
Could you please tell me how to get the csv files of Librimix?
https://github.com/mpariente/asteroid/blob/68cb7a3a53afc4b509570e71711ed333ab938e42/asteroid/data/librimix_dataset.py#L14
Thank you!
Fei

Hi,
Thanks for your interest.
The LibriMix repo was made private for a small while (until we submitted the paper), we'll open it in the next week.
You'll be able to use the recipe under egs/LibriMix to have the csv files in the right place afterwards.
Just pinging @JorisCos because he'll open the repo.
We'll ping you when it's open (and link to the paper on Arxiv as well)

Great! Thank you!

Thanks for your patience !
The repo is public now, it's here.
You can follow the stage 0 of the librimix recipe to generate the data and the metadata files. Or directly use the script in the LibriMix repo.
Feel free to close the issue if it's solved

Great job! Thanks!


[BUG-275] Fix for UDS Sockets

Patch for : https://github.com/DataDog/dogstatsd-ruby/issues/275
This fixes unix domain socket writes.  The test cases on current master (9b3ae2dc) seem to give false positive test passes.  The existing code on master in uds_connection.rb does not work  in that calls to @socket.write do not send bytes to the domain socket for some reason:
  @socket = Socket.new(Socket::AF_UNIX, Socket::SOCK_DGRAM)
  @socket.connect(Socket.pack_sockaddr_un(@socket_path))

This patch changes the use of Socket to UNIXSocket which does seem to work when testing manually and bytes show up on the listening domain socket.

@remeh can you take a peek at this one?  It's a blocker for our EKS pods right now.
The only non-test related change is here:
https://github.com/DataDog/dogstatsd-ruby/pull/276/files#diff-0dbfa4a4b6690479c9ccb9a1fc6deeeb08c8dbfca8bda06c7af56edf4f824db5L30


What is the inverse operation of A.sequenceT?

The operation A.sequenceT allows to convert a sequence of typed Monads into a Monad of a typed tuple, such as in this Option example:
        const sequenceO = A.sequenceT(O.Apply);

        const o1: Option<number> = O.some(1);
        const o2: Option<string> = O.some("1");

        const o12: Option<[number, string]> = sequenceO(o1, o2);

what is the best representation of the inverse operation?
The best I could do as a special case for Option was:
        const unsequenceO = O.fold<[number, string], [Option<number>, Option<string>]>(() => [O.none, O.none], ([s1, s2]) => [O.some(s1), O.some(s2)]);

        const [u1, u2] = unsequenceO(o12);

but I wonder if there exists a concept (and more generic implementation) for this.

It’s not possible for arbitrary monad to have inverse function of ‘sequence’ since there is no deterministic(or even possible) way to decompose given monadic value with single effect into monadic value with serveral, chained effects. Just as it’s not possible to know what values were used to calculate given value that forms monoid. (1 + 9 is 10, but 2 + 8 and 3 + 7 is also 10, it’s not possible to naturally determine combination to be used as result of inverse function)
PS. Even for Option monad, it’s still not possible to implement inverse function of sequence.
sequenceO(none, some(1)) is none, but sequenceO(none, none) is none too.


Sharing hosts across environments

We are creating "sort of" PaaS based on Rancher for internal development purpose.

I would like to check if it is possible to share one host across multiple environments so can be used by multiple users.
Their docker containers inside the hosts should be always hidden ( isolated ) from other environments.

Closing and posting in right location. Sorry for the confusion.


TestRun list. Approve All button. the bottom of the line showing statistics kind of gets overlapped.

Also, observed one small cosmetic issue (very low priority) in 4.10.0 release version.

When there is Approve All button. the bottom of the line showing statistics kind of gets overlapped. Please add a little space or reduce the size of Approve all button to fix this :)
Originally posted by @priyankachaturvedi30 in https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/211#issuecomment-781345804

Unable to reproduce with the latest code.

@priyankachaturvedi30  Is there any specific browser or config I have to use to be able to reproduce?


How about creating a release note when pushing a git tag?

Congratulations on the release of version 1!
In this issue, I propose to create a release note at the same time when you push a git tag.
The kuma-ui repository currently has only git tags pushed, but by releasing the release note, it will be possible for people who are following your github user account to follow your release note,

By publishing a release note, people who follow your github user account will be able to know immediately on their github home page that you have released a new version.
※ I know that v1 of kuma-ui has been released is your tweet.

The changeset/action option for these automatic releases is on by default, so you may need to do some modification in the github actions.
https://github.com/changesets/action/blob/main/action.yml#L27-L30
Please consider this!

As an example, when you publish a release note, the following notification will be displayed on the github home screen

If the automatic generation doesn't work, you can also manually publish the release notes in the beginning.
Github will automatically create a release note if you select association with tags etc.
※Image is my hobby project
Go to this page and you should see a button for "draft a new release"

If you select "choose a tag", a list of git tags will be displayed. Press the "Generate Release note" button to automatically generate a release note

@u-yas  Thanks for rising this issue!  @kotarella1110 is working on this rn

This issue has been resolved 🎉


Add option to display close button on small viewports

Summary
This gives option to the consumers to opt out of the default close button behavior on small view ports in terra-clinical-action-header. https://github.com/cerner/terra-clinical/blob/terra-clinical-header%401.7.0/packages/terra-clinical-action-header/src/ActionHeader.jsx#L27
Additional Details
The default behavior is:
"On small viewports a back button will be displayed instead of a close button when a separate onBack callback is not set"
This change adds a new boolean prop keepCloseButton (you can suggest a better name) which when set true will disable the default behavior.

This is a fairly significant change from a requirements and workflow perspective. Has this change been discussed / approved by our UX and solution designers?

Yeah we need to check on this. I found out the other day that this is blocking us on using action header in the dialog. We need a close button in the modal in narrow screens. What was logic on switching to a back button and hiding the close button in the action header originally?

@StephenEsser I have not discussed this change with UX / SD. We are using the action-header but the back button in our case looks confusing. We needed an option to opt out of this behavior, otherwise we will have to switch to terra-clinical-header.

I agree with this change, I think it's a bit heavy handed to for the close back arrow functionality.

Tests should be added for this.

Functional review complete.  No issues identified.

This is available on<EMAIL_ADDRESS>


Can't setup collateral

I tried to set up collateral with my ledger, but it doesn't even let me confirm. My ledger is connected and it does work to send transactions.

Same

Same, this is trash, i can't even move my founds.

Any other option to a collateral wallet in cnft.io?

I've created a wallet trought ledger on ccvault.io and enabled collateral from there.

@alessandrokonrad any updates on Ledger support, as it's currently not working correctly.

I'd really like to see this feature / fix as well, since I like to use a Hardware Wallet!

I've created a wallet trought ledger on ccvault.io and enabled collateral from there.

@alessandrokonrad any updates on Ledger support, as it's currently not working correctly.

Just because you can add collateral does not mean you can use your hardware wallet for smart contracts. There is a reason why I disabled it for now in Nami. HWs can't sign transactions with smart contract related things yet. Ledger and Trezor software needs to be udpated first to support this functionality.

I've created a wallet trought ledger on ccvault.io and enabled collateral from there.

@alessandrokonrad any updates on Ledger support, as it's currently not working correctly.

Just because you can add collateral does not mean you can use your hardware wallet for smart contracts. There is a reason why I disabled it for now in Nami. HWs can't sign transactions with smart contract related things yet. Ledger and Trezor software needs to be udpated first to support this functionality.

I tried setting up the collateral with ccvault and they have a info message about this. It might be a good idea to add some sort of info message in nami as well.


Add model store managers

Add interface
Add implementation for local storage:
tf.io.browserLocalStorageManager()
Add implementation for IndexedDB:
tf.io.browserIndexedDBManager()
Add public API for

Listing models: e.g., tf.io.listModels();
Copying model: e.g., tf.io.copyModel('indexeddb://foo', 'localstorage://bar');
Moving model: e.g., tf.io.moveModel('indexeddb://foo', 'localstorage://bar');
Removing model: e.g., tf.io.removeModel('indexeddb://foo');

Each of the two implementation supports:

Listing all models: their paths and some meta data
(ModelArtifactsInfo), such as topology type,
byte sizes of topology and weights, etc.
Deleting a model by URL.
Copying a model by URL.

Change the IndexedDB to two tables (object stores) for
efficient look up of ModelArtifactsInfo:

One for ModelArtifactsInfo (faster access)
One for the actual artifacts (slower access)

Also, change "KerasJSON" to "JSON"
Towards: https://github.com/tensorflow/tfjs/issues/13

This change is

Review status: 7 of 9 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

src/io/indexed_db.ts, line 185 at r1 (raw file):

            });
            putModelRequest.onsuccess = () => {
              resolve({modelArtifactsInfo});

you can one-line this

src/io/indexed_db.ts, line 406 at r1 (raw file):

 * // Delete a model; list models again.
 * await manager.deleteModel('demo/local-storage-manager/model1');
 * console.log(await manager.listModels());

is the idea here that you're going to expand the API?
Why not just have a top-level list method that takes a storage mechanism and lists the model names. Then you can have another "remove" method that takes a the string path like tf.io.deleteModel('indexeddb://my-model');

src/io/io.ts, line 41 at r1 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
no need to expose these to the API. Instead expose global listModels/removeModel methods that take storage type as protocol prefix.

+1, see my comment above

Comments from Reviewable

Review status: 3 of 11 files reviewed at latest revision, 8 unresolved discussions.

src/io/model_management.ts, line 65 at r2 (raw file):

    }
    assert(scheme.length > 0, 'scheme must not be an empty string.');
    ModelStoreManagerRegistry.getInstance().managers[scheme] = manager;

protect against multiple managers attempting to use the same scheme?

src/io/model_management_test.ts, line 268 at r2 (raw file):

Successful moveModel between mediums

moveModel with identical src/dest medium has a special code path.  Is there a test that this works?  I could have missed it.

src/io/model_management_test.ts, line 316 at r2 (raw file):

to

nit: copying from invalid URL ...

src/io/model_management_test.ts, line 367 at r2 (raw file):

 done();

suggestion : test that the source has not been deleted in this case.

Comments from Reviewable

Great!   Some small comments.

Comments from Reviewable

Comments from Reviewable

Review status: 3 of 11 files reviewed at latest revision, 12 unresolved discussions, some commit checks pending.

src/io/model_management.ts, line 65 at r2 (raw file):
Previously, bileschi (Stanley Bileschi) wrote…
protect against multiple managers attempting to use the same scheme?

Done.

src/io/model_management_test.ts, line 268 at r2 (raw file):
Previously, bileschi (Stanley Bileschi) wrote…

Successful moveModel between mediums

moveModel with identical src/dest medium has a special code path.  Is there a test that this works?  I could have missed it.

Moving / copying model within the same medium is covered in the unit tests in local_storage_test.ts and indexed_db_test.ts.

src/io/model_management_test.ts, line 316 at r2 (raw file):
Previously, bileschi (Stanley Bileschi) wrote…

to

nit: copying from invalid URL ...

Done.

src/io/model_management_test.ts, line 367 at r2 (raw file):
Previously, bileschi (Stanley Bileschi) wrote…

 done();

suggestion : test that the source has not been deleted in this case.

Good suggestion! Done.

Comments from Reviewable

Review status: 3 of 11 files reviewed at latest revision, 9 unresolved discussions, all commit checks successful.

Comments from Reviewable


Bump Brotli4j from 1.7.1 to 1.8.0

Motivation:
Brotli4j 1.8.0 has been released with native support for the Apple Silicon M1 chip.
Modification:
Upgraded to 1.8.0
Result:
Latest Brotli4j version

@normanmaurer Should I re-enable the M1 chip tests which we disabled earlier?

Yes

Am 16.08.2022 um 08:30 schrieb Aayush Atharva @.***>:

@normanmaurer Should I re-enable the M1 chip tests which we disabled earlier?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


buildLinux: structuralize passthru.tests and kernelTests

Description of changes
Currently, both the kernelTests input argument of buildLinux and the passthru.tests attribute of the result kernel package are lists. This PR brings the structural, passthru.tests.<name> attribute set pattern to buildLinux. This includes:

Presenting passthru.tests of the result package as an attribute set instead of a list.

Making the input argument kernelTests accept an attribute set instead of a list.

Handling the previous override interface of kerneTests as a list with a warning message and transform the elements into an attribute set in the form passthru.tests.extra-kernel-test-<0-based index>.

If applied, one will be able to run a specific test case intuitively, without having to go through complex --expr specification.

Things done

Built on platform(s)

[X] x86_64-linux (no rebuild except nixos-install-tools)
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

@ofborg build linux linux.tests

Bump onto master and resolve merge conflict.

I rebased the changes and resolved merge conflicts.
@roberth, I restructured the two test cases as version-does-not-dependent-on-patches-etc-nixos and version-does-not-dependent-on-patches-etc. I excluded the former by commenting it out and prefixing it with a wall of number signs (#), but I wonder if this is the desired way to make it into the attribute set. Could you help take a look?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4332

#350008 surpassed this PR. I'll open a new, backportable PR to improve the overriding of configEnv.

Update: The new PR is #364679.


Change pagination to patternfly component (#5263)

Pull request opened by the merge tool on behalf of #5263

Merged in 3d82adb9ceff2f6b01797dad315cb10e1032d0a8


Validated eslintrc file

According to the Eslint documentation, no-unused-vars options should be written in Object ( {} ) with key args.
The parser from eslintrc.json will be resolved from the node_modules automatically. You must give the name of the parser only.
Signed-off-by: Moulik Aggarwal<EMAIL_ADDRESS>

You saved my day! Since this is my first time using ESLint I was just trying to figure out why it was giving me an error :sweat_smile:


MRG, ENH: Remove 15-char limit for FIF

[x] Get things working with the block-based method
[x] Get other projects on board (taken care of in #8348)
[x] Get https://github.com/mne-tools/fiff-constants/pull/33/ merged
[x] Update PR with newer fiff-constants commit, check 'bads' handling/replacement
[x] Add test where a file is written with long names, then monkeypatch to make the tag empty on read, ensure it can still be written and read
[x] Add to MNE-MATLAB

Closes #8348
Closes #8312

@agramfort this is ready for review from my end. Once we're happy with this, I can make the corresponding changes in MNE-MATLAB.
Should we try to get this into 0.22, or make it an early 0.23 PR? I'm leaning toward the latter so we at least get a few months in of dev use

let's merge this after the release

Agreed. @bloyl would you be interested in doing the companion PR to MNE-MATLAB?

Companion PR is in https://github.com/mne-tools/mne-matlab/pull/21, so these two are ready for review/merge from my end.

it took me some time to understand that's why I suggested to rename to
ch_names_mapping
?
also is there a way to hide this for any public function?

it took me some time to understand that's why I suggested to rename to ch_names_mapping

I'm not sure what you're referring to here -- I made this change...?
Pushed a change to preserve the API of read_ctf_comp. Failures are just pip pre

thanks @larsoner !


missing ; before statement

I have a clean install of an ember-cli project as well as ember-cli-livescript.
I followed the instructions under ticket #1 ( altering router.js and app.js to .ls ) and everything was working fine.
However when I decided to add my own route using:
ember g route test
And alterting the ouptutted file to a livescript format:
``import Ember from 'ember';``

``export default`` Ember.Route.extend do
	model: -> { id: 2 }

My application now gives me the following error in firebug:
SyntaxError: missing ; before statement (Line 122, col4)
I checked this in the javascript output file and it looks like an extra bracket is being added onto the end of the Ember.Route.extend function call:
...
define('dmp2-client/routes/test', ['exports', 'ember'], function (exports, Ember) {

  'use strict';

  // Generated by LiveScript 1.4.0
  exports['default'] = Ember['default'].Route.extend({
    model: function(){
      return {
        id: 2
      };
    }
  })); <==== Here

});
...

I believed my livescript was correct so I compiled my custom test.ls route file at livescript.net to check and it compiled without error:
import Ember from 'ember';
export default(Ember.Route.extend({
  model: function(){
    return {
      id: 2
    };
  }
}));

The compiler at livescript.net seems to like using export default as a function call rather than using default as a property assignment on export ( like it is in the ember-cli-livescript compiled example ) - and I have a feeling this is the reason behind the extra bracket.
Not sure if this is a bug or not but any help would be appreciated.
Keep up the excellent work.

[Closed]
Reason: If you backtick both the export default and the ember function call Ember.Route.extend together:
``export default Ember.Route.extend`` do

Instead of just export default:
``export default`` Ember.Route.extend do

Then the error will cease.
This seems like its more of a feature request of Livescript itself in supporting ES6.


Problem to upgrade my project

My project was running well until I upgrade my angular-cli recently.
OS?

Mac OSX 10.12.3

Current project package.json:
"dependencies": {
    "@angular/common": "2.2.3",
    "@angular/compiler": "2.2.3",
    "@angular/core": "2.2.3",
    "@angular/forms": "2.2.3",
    "@angular/http": "2.2.3",

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

@angular/cli: 1.0.0-beta.30
node: 7.5.0
os: darwin x64
@angular/common: 2.2.3
@angular/compiler: 2.2.3
@angular/core: 2.2.3
@angular/forms: 2.2.3
@angular/http: 2.2.3
@angular/platform-browser: 2.2.3
@angular/platform-browser-dynamic: 2.2.3
@angular/router: 3.2.3
@angular/compiler-cli: 2.2.3

Repro steps.

ng serve

Got the following error message:
This version of CLI is only compatible with angular version 2.3.1 or better. Please
upgrade your angular version, e.g. by running:

npm install @angular/core@latest

Then I upgraded by:

npm install @angular/core@latest

Got the follow message:
<EMAIL_ADDRESS>/Users/zhouhao/Projects/parse-live-query/ParseChat/angular-client
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>invalid
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ └── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>

Run project again

ng serve

Got the following error message:

ERROR in ./src/main.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
at Object.getNewLineCharacter (/Users/Projects/parse-live-query/myapp/angular-client/node_modules/typescript/lib/typescript.js:8062:20)
at Object.createCompilerHost (/Users/Projects/parse-live-query/myapp/angular-client/node_modules/typescript/lib/typescript.js:44978:26)
at Object.ngcLoader (/Users/Projects/parse-live-query/myapp/angular-client/node_modules/@ngtools/webpack/src/loader.js:341:33)
@ multi webpack-dev-server/client?http://localhost:4200/ ./src/main.ts

Any idea? Thanks.

We might want to make that message a bit clearer as @angular/core isn't the only package you will need to update. Try replacing your package.json with the following, where appropriate:
  "dependencies": {
    "@angular/common": "^2.4.0",
    "@angular/compiler": "^2.4.0",
    "@angular/core": "^2.4.0",
    "@angular/forms": "^2.4.0",
    "@angular/http": "^2.4.0",
    "@angular/platform-browser": "^2.4.0",
    "@angular/platform-browser-dynamic": "^2.4.0",
    "@angular/router": "^3.4.0",
    "core-js": "^2.4.1",
    "rxjs": "^5.0.1",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.7.2"
  },
  "devDependencies": {
    "@angular/cli": "1.0.0-beta.31",
    "@angular/compiler-cli": "^2.4.0",
    "@types/jasmine": "2.5.38",
    "@types/node": "^6.0.42",
    "codelyzer": "~2.0.0-beta.1",
    "jasmine-core": "2.5.2",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "protractor": "~5.1.0",
    "ts-node": "1.2.1",
    "tslint": "^4.3.0",
    "typescript": "~2.0.0"
  }
}

@zhouhao27 can you confirm that updating the @angular libs has worked for you?

@Brocco Thanks. It's working fine now.

I am also getting  the same error. When I tried to install the above mentioned packages mentioned by @delasteve, I am getting  No compatible version found<EMAIL_ADDRESS>@zhouhao27 can you please confirm if you could install angular-cli successfully? Thanks.

I had the same problem but now when i run ng build och ng serve i get:
"You have to be inside an angular-cli project in order to use the build command."
I am of course in my angular-cli project when I'm running this.

When I have tried to install npm install @angular/core@latest but it is doesn't installed. Please give me solutions.
<EMAIL_ADDRESS>/var/www/html/loyalty-dapp
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>invalid
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

Hello @riteshwaghela did you find a solution to your problem? Thanks

@delasteve  your package settings worked for me .
just had to replace "assets: "assets" to  "assets: [ "assets" ]  in angular-cli.json file


Added DeepestView property in MouseEvent

Why would this be used, as this should always be sent to the deepest view?

@migueldeicaza his idea have some logic that I used in the menu and textfield to notify which view the mouse is hover. And besides the view property I added two more, OfX and OfY to the MouseEvent struct.

Got it - is this now a repeat?   There are two conflicting files

@migueldeicaza, however the author deleted the branch and I was unable to change it. Can I do anything?

Can we close this?

Yes, I already implement it.


[Bug]: attempted to use melonloader with btd6, it crashs on loading screen

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[ ] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
log file : https://github.com/LavaGang/MelonLoader/files/11012065/MelonLoader_23-03-19_18-58-17.730.log
i installed melonloader with bloons td 6 and it loads without mods but when i tried to use it with mods but it gets up until the "Cpp2IL initializing binary" and and crashs.
i dont understand what "Was able to see the Start Screen." box means
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Use melonloader 0.6.0 for BTD6.

Use melonloader 0.6.0 for BTD6.

yo i made new issue


How to modify storage path with dynamic data ?

Hi,
I have an entity Product and I want to associate it files (images, pdf, word...).
Here is my config :
oneup_uploader:
   mappings:
      product_image:
         frontend: blueimp
         namer: app.product_image_namer
         storage:
            directory: %kernel.root_dir%/../web/images/products

      product_doc:
         frontend: blueimp
         storage:
            directory: %kernel.root_dir%/../web/docs/products

Is it possible to modify storage path in order to include product id ? Something like this :
storage:
    directory: %kernel.root_dir%/../web/docs/products/%product_id%

For images, I use a specific file namer because I name them like this : productid_indexnumber.jpg
The namer checks if a file already exists and increments the index number.
But for documents, I want to keep the original file name and save the document in a sub directory.

It is possible. Take a look at the Custom Namer section in the docs. As far as I remember you can also add a variable to the directory. Something like:
namespace AppBundle\Uploader\Naming;

use Oneup\UploaderBundle\Uploader\File\FileInterface;
use Oneup\UploaderBundle\Uploader\Naming\NamerInterface;

class CatNamer implements NamerInterface
{
    public function name(FileInterface $file)
    {
        $product = //...
        return sprintf('%d/%s, $product->getId(), grumpycat.jpg');
    }
}

Let me know if it worked.

Hi.
How i must use $product in Namer?

Hi
How can I pass for $id


repl: help() should not display "internal" lua modules

The "decorator.intern" module really shouldn't be imported by any modules other than "decorator" and "doc". So advertising it in the help() function is... not helpful.

Should have been closed automatically be #44 but I derped it.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_e6a911ad-bc15-4a3d-ad8d-25a76366449e/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_e6a911ad-bc15-4a3d-ad8d-25a76366449e.git

Docs Build status updates of commit af8c812:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-25-04-16-18 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


remove files

:white_check_mark: Build AElf <IP_ADDRESS>9 completed (commit https://github.com/AElfProject/AElf/commit/e6ee2dba6e by @loning)


[UPDATE] fix crashing bug, typo in settings, error handling

Description
Fixed a bug that caused crashes when extension was newly installed. More details can be found in this discussion about the issue.
Short summary: A preference setting wasn't checked for undefined before use.
Fix: Added undefined check. More error handling.
And a small typo fix.
Type of change

Bug fix / improvement for my extension

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

Hi @pernielsentikaer 👋
thank you, corrected them.

@pernielsentikaer
No Problem and thank you for the quick review processes.


Upstream model registration redux

A couple more fixes for https://github.com/jwills/dbt-duckdb/pull/125

Fix comma vs spaces causing empty test
Really ensure the models are getting created in this test
Use the upstream config to generate the upstream options.

Thank you so much @AlexanderVR !


alignment not centered?

Platform
No response
Node.js Version
16.13.2
MagicMirror Version
2.18.0
Module Version
91ecf0f5b6c785fb0f4f4f288f2cb0aa22a126f8
Description
Hi!
Just found this module and it's amazing! I'm also using MMM-Jast. Thank you for your work.
Unfortunately I've discovered a strange misalignment. Im using the module in the middle with the position "center" and it's not perfectly aligned when I set the mapwidth to 900px for example. If I set the mapwidth to 1200px its perfectly aligned. Any ideas what I could change?

Ah and I also tried to use the uncolored map but that didn't work. I changed it to https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png which works.
Expected behavior
centered alignment
Current behavior
not really centered
Possible solution
Propably something with the css
Steps to reproduce
change the position of the module to center
Log
No response
config.js
{
      module: "MMM-RAIN-MAP",
      position: "center",
      config: {
        animationSpeedMs: 400,
      colorScheme: 2,
        colorizeTime: true,
        defaultZoomLevel: 8,
        displayTime: true,
        displayTimeline: true,
        displayClockSymbol: true,
        displayOnlyOnRain: false,
        extraDelayLastFrameMs: 1000,
        extraDelayCurrentFrameMs: 3000,
        markers: [
          { lat: 49.41, lng: 8.717, color: "red" },
          { lat: 48.856, lng: 2.35, color: "green" },
        ],
        mapPositions: [
          { lat: 49.41, lng: 8.717, zoom: 9, loops: 1 },
          { lat: 49.41, lng: 8.717, zoom: 6, loops: 2 },
          { lat: 48.856, lng: 2.35, zoom: 6, loops: 1 },
          { lat: 48.856, lng: 2.35, zoom: 9, loops: 2 },
          { lat: 49.15, lng: 6.154, zoom: 5, loops: 2 },
        ],
        // mapUrl: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
        mapUrl: "https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png",
        mapHeight: "420px", // must be a pixel value (no percent)
        mapWidth: "1200px", // must be a pixel value (no percent)
        maxHistoryFrames: -1,
        maxForecastFrames: -1,
        substitudeModules: [],
        updateIntervalInSeconds: 300,
      }
    },

Additional info
No response

Hi @theskyisthelimit,
At the moment I have quite a shortage of time and unfortunately I can't take a look until next week at the earliest. If you find our more useful information to the solution until then, I'd be happy.

Hi @theskyisthelimit,
I can not reproduce your problem. Using MMM-RAIN-MAP standalone, it is perfectly aligned regardless of the mapWidth.
What's the name of module above on your screenshot?

Hi Jan
Thank you very much for your valuable time.
Above is the module MMM-WeatherChart
I deactivated the other module and MMM-RAIN-MAP was perfectly centred! (I've had almost the same trouble with MMM-Jast a while ago)
Maybe I'll find a similar fix within the css. I'll let you know.

@theskyisthelimit both are in position: "center"?

In my development environment, MMM-RAIN-MAP is still perfectly centered, but WeatherChart is not. Do you have any other modules installed?

       {
      module: 'MMM-WeatherChart',
      position: 'center',
      config: {
        apiKey: "4b231ce007d1ba8ed34c8940f40e78af",
        dataNum: 7,
        title: "",
        dataType: "daily",
        height: "400px",
        width: "1200px",
        lat: 46,
        lon: 7,
        showIcon: 'true',
        showRain: 'true',
        dailyLabel: 'days_of_week',
        nightBorderDash: [5, 5],
        fillColor: 'rgba(255, 255, 255, 0.1)',
        units: "metric",
        largeOpenWeatherIcon: true
      }
    },
    {
      module: "MMM-RAIN-MAP",
      position: "center",
      config: {
        animationSpeedMs: 500,
      colorScheme: 5,
        colorizeTime: false,
        defaultZoomLevel: 8,
        displayTime: true,
        displayTimeline: true,
        displayClockSymbol: true,
        displayOnlyOnRain: false,
        extraDelayLastFrameMs: 2000,
        extraDelayCurrentFrameMs: 2000,
        markers: [
          { lat: 46, lng: 7, color: "red" },
          // { lat: 48.856, lng: 2.35, color: "green" },
        ],
        mapPositions: [
          // { lat: 46.9334069, lng: 7.5038757, zoom: 10, loops: 1 },
          { lat: 46, lng: 7, zoom: 8, loops: 2 },
          // { lat: 48.856, lng: 2.35, zoom: 6, loops: 1 },
          // { lat: 48.856, lng: 2.35, zoom: 9, loops: 2 },
          // { lat: 49.15, lng: 6.154, zoom: 5, loops: 2 },
        ],
        // mapUrl: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
        mapUrl: "https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png",
        mapHeight: "420px", // must be a pixel value (no percent)
        mapWidth: "500px", // must be a pixel value (no percent)
        maxHistoryFrames: -1,
        maxForecastFrames: -1,
        substitudeModules: [],
        updateIntervalInSeconds: 300,
      }
    },

The trouble starts as soon as MMM-Weatherchart has a higher width as mapWidth in MMM-RAIN-MAP.


Remove claim button for clan leader at chuunin.

As per title. Alternatively, add an error message about how your rank is too low.

I believe there is an error on trying to claim it. Could probably add a temporary rank check for display. Full fix will likely come with the clan upgrades.


Fix the repos_file_branch macro and multiversion wf

otherwise the generated links were wrong in the jazzy version
multiversion workflow failed for PRs, because the base branch is not called "rolling" then

@saikishor CI is happy


Dart + LLVM / Improving Dart's performance?

Hi thanks for the wonderful language and sdk! I am interested in improving the performance of Dart. Is Dart welcomed for contributions? Are there some introductory level doc to learn?
By the way, I see an article in 2020 (https://zhuanlan-zhihu-com.translate.goog/p/189411332?_x_tr_sl=zh-CN&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp) mentioned:

Although the Dart AOT product has been optimized to the extreme, making its running performance comparable to that of old-fashioned languages such as Java and C++, there is still room for optimization in the entire compilation pipeline. By transforming the Dart compiler and using the LLVM compiler to generate small code size and high performance, we can effectively reduce the size of the engine product and improve the code running performance.
At present, arm32 and arm64 have passed all tests and are entering the final optimization stage, and they will be available for use soon.
At present, the official is also paying attention to the optimization work of our compiler, hoping to contribute to the community after the effect is achieved.

So I wonder how is the progress? Will Dart have LLVM in the future?

You should address this question to Alibaba team. Their most recent update is here.
We have evaluated LLVM before, including evaluating Alibaba's LLVM backend described in these articles, and don't think taking dependency on LLVM is warranted. We plan to continue monitoring this - including take another look at Alibaba's work.

Thanks for the reply!


native tcp to rpc

I just found rpc is a very good way for node communicate .
so change native tcp to rpc

replace finished


Action methods with async not triggering next Mutation Action.

How to reproduce : https://stackblitz.com/edit/ngxs-simple-uchv5v
this works if we remove async
import { Store, Action, Mutation } from 'ngxs';

export class Add {}
export class AddSuccess {}

@Store({
  defaults: {
    count: 0
  }
})
export class AppStore {
  @Mutation(AddSuccess)
  addSuccess(state) {
    state.count++;
  }

 @Action(Add)
  async add(state) {
    return new AddSuccess()
  }

}

workaround for my use case:  wrap the action function with fromPromise
import {Store, Action, Mutation} from 'ngxs';
import {OAuthService} from "angular-oauth2-oidc";
import {Login, LogoutSuccess, LoginSuccess, Logout} from "./auth.events";
import {fromPromise} from "rxjs/observable/fromPromise";

@Store({
  defaults: {
    isLoggedIn: false,
    profile: {}
  }
})
export class AuthStore {
  constructor(private oauthService: OAuthService) {
  }

  @Mutation(LoginSuccess)
  loginSuccess(state, {payload}) {
    state.isLoggedIn = payload.isLoggedIn;
    state.profile = payload.profile;
  }

  @Mutation(LogoutSuccess)
  logoutSuccess(state, {payload}) {
    state.isLoggedIn = false;
    state.profile = {};
  }

  @Action(Logout)
  logout(state, {payload}) {
    this.oauthService.logOut();
    return new LogoutSuccess()
  }

  //not working
  @Action(Login)
  async login(state, { payload }) {
    // this.oauthService.initImplicitFlow();
    const profile = await this.oauthService.fetchTokenUsingPasswordFlowAndLoadUserProfile('sumodemo', 'sumodemo');
    const isLoggedIn = true;
    return new LoginSuccess({isLoggedIn, profile});
  }

  @Action(Login)
  workAround(state, { payload }) {
    return fromPromise( this.login(state, { payload }))
  }
}

Thats odd cuz it calls forPromise under the hood. See: https://github.com/amcdnl/ngxs/blob/master/src/ngxs.ts#L83

@xmlking in your add method you don't have an await. Im not an expert with async functions but don't you need it to resolve or am I missing something?

@amcdnl hmmmm im not sure if that is the case. to the internet!

@amcdnl are you able to reproduce this issue ?

I'm having the same problem, I'm trying to fire a Mutation from within an action, but Mutation does not run.
import { Store, Mutation, Action } from 'ngxs';
import { AuthenticationService } from '../../shared/resources/authentication/authentication.service';
import { Login, LoginSuccess, LoginFailure } from '../actions/login.action';
import { LoginState } from '../reducers/login/login.state';
import { InitialState } from './login.state';

@Store({
  defaults: InitialState
})
export class LoginStore {

  constructor( private authenticationService: AuthenticationService ){}

  @Mutation(Login)
  load(state: LoginState, action: Login) {
    return {
      ...state,
      error: null,
      pending: true
    };
  }

  @Mutation(LoginSuccess)
  loginSuccess(state: LoginState, action: LoginSuccess) {
    return {
      ...state,
      error: null,
      pending: false
    };
  }

  @Mutation(LoginFailure)
  loginFailure(state: LoginState, action: LoginFailure) {
    console.log(state,  action);
    return {
      ...state,
      error: action.payload,
      pending: false
    };
  }

  @Action(Login)
  login(state, { payload }){
    return this.authenticationService.authenticate(payload)
      .then( (response) => { console.log(response); } )
      .catch( (error) =>  new LoginFailure(error.message)  ); // HE WILL NOT DISPATCH A MUTATION

  }

}

I wonder if its related to the error?

Side note: I'm gonna put in place a global error handling system

@amcdnl So it's similar, because my request this.authenticationService.authenticate(payload) also returns a promisse async

I'm also seeing this problem where a Mutation is not called if returned from an async / await Action.

Fixed in 1.5.3


Enhancement: Add Mistral AI service provider + model selection

What features would you like to see added?
Hello!
Recently Mistral AI, released its own OpenAI compatible API (so it should be easy to integrate). I think it would be great to add it to the list of service provider and add the preconfiguration for the 4 first models mistral-tiny/small/medium/embed
What do you think?
I can help for testing, I've access to the API if needed.
More details
List of models:
https://docs.mistral.ai/platform/endpoints/
API specs:
https://docs.mistral.ai/api/
Which components are impacted by your request?
UI, Endpoints
Pictures
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Not a bad idea, I may revisit this later on as Mistral is pretty awesome. However, going to prioritize #1344 as this update will allow naming your own custom endpoint, baseURL, models, etc.

Making progress with the Custom Endpoint (aka Dedicated Reverse Proxy Endpoint)


Add Github Action to Deploy to Web Stores

Hey @EuanRiggans, we made a Github action to make it easier to deploy to each of the web stores. This PR integrates Bulk Url Opener's browser extension to our Github action so you can deploy directly from the Github UI.
Currently supporting Chrome, Firefox, Edge, and Opera (Safari support coming soon too)
The only thing you would need to create is a SUBMIT_KEYS GitHub repository secret.
This secret is a JSON, with the schema defined here.
Here's a sample json blob of the keys you'll need to add to the Github secret:
{
  "$schema": "https://raw.githubusercontent.com/plasmo-corp/bpp/v1/keys.schema.json",
  "chrome": {
    "clientId": "123",
    "clientSecret": "456",
    "refreshToken": "789",
    "extId": "abcd"
  },
  "firefox": {
    "apiKey": "123",
    "apiSecret": "abcd",
    "extId": "foobar"
  }
}

You can find instructions on how to get those keys in the schema, or if you use vscode, the schema should provide hint/intelisense when hovering over the json properties. If you need any help in setting up the keys, feel free to @ me.
Otherwise, if this doesn't seem necessary, feel free to close the PR!

Thanks, this looks really useful.
I will have a better look at it when I get a chance.

Heya, looks like this PR will automatically be closed. Did you have a
chance to review it?
[image: twitter] https://twitter.com/stayfun_
[image: linkedin] https://linkedin.com/in/stefanaleksic
Stefan Aleksic
CEO & Co-Founder
Plasmo
@.***
www.plasmo.com
On Sun, May 01, 2022 at 1:27 AM, github-actions[bot] <
@.***> wrote:

This pull request is stale because it has been open 30 days with no
activity. Remove stale label or comment or this will be closed in 5 days
—
Reply to this email directly, view it on GitHub
https://github.com/EuanRiggans/BulkURLOpener/pull/203#issuecomment-1114082656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARJPHTXJLLVKQ3X346YYG3VHXFXPANCNFSM5PNKG6ZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Heya, looks like this PR will automatically be closed. Did you have a chance to review it? [image: twitter] https://twitter.com/stayfun_ [image: linkedin] https://linkedin.com/in/stefanaleksic Stefan Aleksic CEO & Co-Founder Plasmo @.*** www.plasmo.com
…
On Sun, May 01, 2022 at 1:27 AM, github-actions[bot] < @.> wrote: This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days — Reply to this email directly, view it on GitHub <#203 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARJPHTXJLLVKQ3X346YYG3VHXFXPANCNFSM5PNKG6ZQ . You are receiving this because you authored the thread.Message ID: @.>

Sorry I have a bot that automatically marks old pull requests as stale if there is no changes or contributions in 30 days.
I am planning on adding this as it will make deployment of new versions much quicker, I have just not had much time to work on this project for a while.


Improvement on cycles with harmonics calculation

Inspired from feedback in #159 and few points in #157.
The changes :

plots have shorter , more uniform names in preset to be called
Removed files which were not useful (fully integrated) in folder notincluded
New nomenclature : reduced system model files now begin with reduced (as they are not communicating with extensive one)
More doc for all the one I could fin in _core with types more explicit (network has to be improved, and pygemmes root also)
isneeded (equivalent of auxiliary) now possible to use in get_dparam
get_summary now gives auxiliary ODE and auxiliary Statevar together (Auxilliary are only the last element of the chain)

Cycles is debugged ! Now can be used when many systems are in parallel, calculate frequency, calculate the harmonics (Fourier Serie) for each cycles,
Plots has been improved, especially nyaxis which is now clearer and more compact. Few improvement on other plots

New plot for cycles, showing Harmonicity ( 1-C_0/sum(A_i) ) and frequency. Stabilisation or dissipation will be added soon

Network now handle filters ! You can remove auxiliary variables, or a list of explicit fields. The system will propagate their dependencies on other variables to keep the network. when asked hub.get_Network(filters=('Y','L'),auxilliary=True)

or with no auxiliary variables

Hello @DaluS! Thanks for opening this PR.

In the file pygemmes/_core.py:

Line 21:1: E302 expected 2 blank lines, found 1
Line 21:10: E231 missing whitespace after ','
Line 25:73: E231 missing whitespace after ','
Line 25:75: E231 missing whitespace after ','
Line 25:83: E202 whitespace before ')'
Line 25:85: E202 whitespace before ')'
Line 25:101: E501 line too long (108 > 100 characters)
Line 29:1: E303 too many blank lines (3)
Line 678:40: E231 missing whitespace after ','
Line 707:51: E231 missing whitespace after ','
Line 710:51: E231 missing whitespace after ','
Line 714:50: E231 missing whitespace after ','
Line 725:9: E303 too many blank lines (2)
Line 756:32: E231 missing whitespace after ','
Line 771:9: E303 too many blank lines (3)
Line 778:27: E128 continuation line under-indented for visual indent
Line 789:9: E303 too many blank lines (2)
Line 790:47: E231 missing whitespace after ','
Line 817:27: E203 whitespace before ':'
Line 825:5: E303 too many blank lines (2)
Line 829:5: E301 expected 1 blank line, found 0

In the file pygemmes/_models/_model_CamilleFullCES.py:

Line 49:101: E501 line too long (115 > 100 characters)

In the file pygemmes/_models/_model_G_PiInPhi.py:

Line 8:7: W605 invalid escape sequence '\d'
Line 8:14: W605 invalid escape sequence '\p'
Line 8:26: W605 invalid escape sequence '\p'
Line 8:41: W605 invalid escape sequence '\P'
Line 8:46: W605 invalid escape sequence '\l'
Line 8:55: W605 invalid escape sequence '\p'
Line 8:63: W605 invalid escape sequence '\p'

In the file pygemmes/_plots/_plot_timetraces.py:

Line 320:101: E501 line too long (104 > 100 characters)
Line 323:27: E701 multiple statements on one line (colon)
Line 323:32: E225 missing whitespace around operator

Do see the Hitchhiker's guide to code style

@chevaldemetal if you can have a sneak peek that'd be nice !


Repository guessing after updating to attributes mapping

Since I updated my entities mapping to PHP8 attributes, my repositories seems not to be recognised.
#[ORM\Entity(repositoryClass: ParametreRepository::class)]
class Parametre implements Stringable

Kind of error I get
class Exporter
{
    public function __construct(protected EntityManagerInterface $entityManager)
    {
    }

    public function getEntityManager(): EntityManagerInterface
    {
        return $this->entityManager;
    }

    protected function getParametreRepository(): ParametreRepository
    {
        return $this->getEntityManager()->getRepository(Parametre::class);
    }

  Line   Export/Exporter.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  57     Method App\Export\Exporter::getParametreRepository() should return App\Repository\ParametreRepository but returns Doctrine\ORM\EntityRepository<App\Entity\Parametre>.

My phpstan config
parameters:
  level: 5
  doctrine:
    objectManagerLoader: tools/phpstan-object-manager.php

Did I missed something ?

What's your phpstan-doctrine and PHPStan version?
What's \PHPStan\dumpType($this->getEntityManager())?

I pressed CTRL + ENTER by mistake, I didn't had time to complete the issue well.
I was on phpstan:1.5.4 & phpstan-doctrine:1.3.2
Just run the update
composer update phpstan/*
  - Upgrading phpstan/phpdoc-parser (1.4.3 => 1.4.4)
  - Upgrading phpstan/phpstan (1.5.4 => 1.5.7)
  - Upgrading phpstan/phpstan-doctrine (1.3.2 => 1.3.3)

And now everything seems to be OK !
Sorry for this


Outdated Readme

isn't it supposed to be
< SamlIdp::IdpController

instead of
include SamlIdp::IdpController

I've found exactly the same thing.

I've been writing up my progress by creating the wiki:
https://github.com/sportngin/saml_idp/wiki

Thanks! I got stuck on this - PR added ^^


OAuth Authorization Code Flow with Spotify

No tests were written or adapted yet so a clean build with tests might fail! Therefore a draft.
I have to give some context here so this will be some text:
I wanted to build the flow here just like it was, just without an http session (stateless so to speak) so I had to jump through some loops.

In the frontend I still use window.location.href to initiate the flow because when I switched to axios I get CORS erros. Unsure if a problem with my code or Spotify or maybe it is just like that. So href it is. Now when doing so it is not possible to send any headers, so from the backend's perspective the call is anonymous. To solve that I save the value I would put in the header on an axios call inside a Cookie.
That cookie is read in the OAuth2AuthorizationCodeSaveRequestFilter which saves the current user with a generated state to the database. This exact state is then also used for Spotify. To achieve that the OAuth2AuthorizationCodeStateGenerator is scoped per request. It generates one state per request. Later in the OAuth2AuthorizationRequestResolver the state in the request is overwritten with the value generate here (in OAuth2AuthorizationCodeSaveRequestFilter.
Spotify redirects to the backend and the OAuth2AuthorizationCodeLoginFilter checks for the state provided by Spotify (the one we sent in 2.). If found, the user in the database is loaded and authenticated. This leads to Spring's OAuth2AuthorizationCodeGrantFilter then being able to persist the authorized client and the user is forwarded to the Spotify configuration page.
What I am not sure about: if the cookie is the way to go here or if there is some other way. More on that in the frontend pull request. But changing this would only mean a different way of obtaining the current user in OAuth2AuthorizationCodeSaveRequestFilter so hopefully no big deal.

Frontend Pull Request

@DanielW1987 This is ready for review now. I now use the existing cookie instead of creating a new one.


Sections deleted on the shopify site

Problem
When I run theme upload, all the blocks in the sections previously set on the server are deleted.
Replication steps
I run a slightly custom worflow:
I run slate build, then theme upload so to not override all the files/assets on shopify - we need to keep the assets already uploaded on the site by the client when we do maintenance or development.

Create a section with blocks.
Add some blocks to the section on the Shopify shop.
Run theme upload

All blocks added are deleted.
More Information
Any help would be appreciate, thank you.

All you need to do is take advantage of the config.yml settings to ignore the settings_data.json file.  Then you can use slate start and make sure the settings file isn't overwritten in the process.
development:
  password: a000caaaa00ce00eb00000cb00c00b0f
  theme_id: 275480000
  store: fancy-store.myshopify.com
  ignore_files:
    - settings_data.json

Thank you!

You might want to double check how you have things set up.  When your client sets up a new section for the homepage, all of that data is stored by the theme editor in the config/settings_data.json file.  Since you're using some of Slate and some of Themekit (theme upload) you must have something set up that is overwriting the settings file, removing all the section, settings and block customizations.

Yep, for some reason, the ignore_files setting doesn't work. The config/.yml files are still copied to the dist/config directory. I just add a gulp task to delete dist/config/ before calling theme_upload.
Thans for the cue though! It runs perfectly now.

Slate's config.yml file, with the ignore_files, does not live inside the theme's /src directory.  Rather the config.yml file exists in the root directory.

The /src/config directory is where all of your theme settings live.


Added Licence, Code of conduct and Contributing files to adhere to Open Source criteria.

Added Licence, Code of conduct and Contributing files to adhere to Open Source criteria.
In Code of conduct, I added my own address as "community leader", since Dimitri's email would be a bit of a waste of his time and I might be the closest person to a "community leader".
Also, the Contributing file needs some input when it comes to versioning and publishing. I could not find enough info in our repo on how it's done at the moment and it's different from how it used to be in hydra, I think.

Merging "as is", we'll correct the Contributing stuff later.


modified for sjoukje-zaal

Docs Build status updates of commit c791045:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/sjoukje-zaal.yml
:warning:Warning
View
Details

rd/media/profiles/sjoukje-zaal.jpg
:white_check_mark:Succeeded
View

rd/sjoukje-zaal.yml

Line 15, Column 8: [Warning-file-not-found] Invalid file link: 'media/profiles/Sjoukje_Zaal.jpg'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit c791045:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/sjoukje-zaal.yml
:warning:Warning
View
Details

rd/media/profiles/sjoukje-zaal.jpg
:white_check_mark:Succeeded
View

rd/sjoukje-zaal.yml

Line 15, Column 8: [Warning-file-not-found] Invalid file link: 'media/profiles/Sjoukje_Zaal.jpg'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 374c28d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/media/profiles/sjoukje-zaal.jpg
:white_check_mark:Succeeded
View

rd/sjoukje-zaal.yml
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 374c28d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/media/profiles/sjoukje-zaal.jpg
:white_check_mark:Succeeded
View

rd/sjoukje-zaal.yml
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

this change is good to go.

this change is good to go.


Release v0.2.8 (Patch)

Note: This release has no code changes in comparison to version v0.2.7 and is to trigger a new publish to the vscode marketplace because previous publish was not validated successfully by the marketplace client.
Signed-off-by: Bernd Hufmann<EMAIL_ADDRESS>

The following 1 GitHub releases will be created once this pull request got merged.
Release v0.2.8 with changes since v0.2.7

Release v0.2.8 (Patch) c9d3559


no more data points from deconz server after update

If my deconz server, which is running in a docker container, is getting an update over night, the iobroker deconz adapter stops collectiong data from the deconz server. I need to restart the adapter manually to retrieve data again.

This is a known behavior. Actual without a soulution.

Fixed in version 1.2.2
Delete old version before installing new.


Please add web payment pointer

Please add web payment pointer to your blog so I can support you every time that I read your blog.

@phil-opp Has a sponsor button via GitHub, if that works?

I'm not sure what you mean with "web payment", but if you want to support me you can do so on GitHub, as jmcph4 mentioned. Thanks!


Map Control MoveToRegion() doesn't work on Android

I have a .NET MAUII app that uses the Map control embedded in a page.  On page launch, I centre the map on the user's current location using the following code:
Location position = new Location(currentLocation.Latitude, currentLocation.Longitude); Distance dist = Distance.FromKilometers(30); map.MoveToRegion(MapSpan.FromCenterAndRadius(position, dist));
This does not work.  The Map control is visible, but the layer is not displayed.  The current location shows up, but the Map does not move to its location.
Here is the XAML code for the Map:
<maps:Map x:Name="map" Grid.Row="1" HorizontalOptions="Fill" VerticalOptions="Fill" IsZoomEnabled="True" IsShowingUser="True"> <maps:Map.ItemTemplate> <DataTemplate> <maps:Pin Location="{Binding Position}" Address="{Binding Address}" Label="{Binding PlaceName}"/> </DataTemplate> </maps:Map.ItemTemplate> </maps:Map>
I have tested the app on both the Android Emulator as well as my Android Device running API 33.
I am running Visual Studio Professional 2022, Version 17.5.4

I have conducted more debugging and found that the issue is when Navigating to an AppShell page through Shell.Current.GoToAsync() the Map will not execute the MoveToRegion() event.  If I navigate to the page through the AppShell TabBar, the MoveToRegion() works.

Thanks for providing the answer here!
I think this is more an issue in .NET MAUI than with the sample, it might be good to report this to the .NET MAUI repo next time so we can act on this faster and hopefully fix it for you soon. Glad you got it to work, thanks!


created validate_oncotree_uri.py : for checking against topbraid

topbraid polled across version history
prior codes in use for each concept are accumulated until reaching version oncotree_candidate_release
current version parsed and compared against S-V-O triplet statements in uri mapping file
errors reported with appropriate exit status

@ao508 : I'm a little confused. You are suggesting that the uri mapping file should be moved out of the docs directory. But this file is not just mock data for unit testing ... it is actually the persistent definition of the mapping between concept ids and oncotree codes, and is (was I guess) used by the automated tool which would generate .rdf files for import into topbraid. (https://github.com/sheridancbio/oncotree-transformer).  So this file is considered the "source of truth" to which topbraid must conform. It keeps the concept URIs consistent across different oncotree versions.
There are also external users who have been looking at this file directly to understand the history relationships. The URIs are not guaranteed to be maintained (they are not part of the API interface), but some have found them helpful to understand the internal organization of oncotree.
If you would like to see the "docs" folder become primarily about resources for frontend presentation (.md5, images, etc) that would be fine with me. But I think this file .. and perhaps other non-presented documentation about the oncotree project should be kept in a place for us to reference and to share with people using oncotree. For instance, we have a bunch of google docs that are not visible to the outside world, but if we could render those in a distributable format (.pdf? .rtf?) we could put those along with other engineering documents in a folder for our (and other developer) reference.

@sheridancbio what if the uri mapping file was instead moved to /src/main/resources?
I do believe that the data_clinical_sample_test*.txt files however should definitely be moved to a separate directory specifically for test resources.

@ao508 ok, makes sense. We just had a conversation and decided:

the uri mapping file will move out of docs and into /resources
the data_clinical_sample_test* files will drop the "_test" part of the name and move down into a directory /docs/resources
the integration_tests data files will move down into directory integration-tests/data
I'll do these adjustments as part of this PR
The documentation for the oncotree_to_oncotree.py documentation needs to be updated for the change in test data file names and links as well.
cc: @averyniceday

also, I notice that running the mapping tool now with the arguments specified in the tutorial section does not produce matching output to the documents checked in. The documents should be updated or the tutorial adjusted to bring them in line with each other.

Corrections have been made to render a couple of section headers correctly. Also trailing whitespace has been cleaned up.

having anchor links within the tool documentation page is problematic. Other parts of the website use the "hash" part of the URL to open various tabs or show various oncotree versions, so the parsing of these hash tags and the configuration of the display is under javascript control now. using hashes for intra-page navigation is not automatic and we would need to program the javascript parser to do the proper navigation within this page. For now I have dropped all intra-page navigation.
The "A" element links are now shown in blue if unvisited, and black once already visited. hover-over is dark grey.
I've dropped the Additional resources section and put links in the appropriate places.