OptimisticLockingException is retryable

we have two issues :
OptimisticLockingException in councurrent  use case and single user use case.

when the same node is getting updated i.e adding more edge/updating properties by two different session/thread
getting OptimisticLockingException however were expecting TransientException.

Does OptimisticLockingException is retryable ?

in single user usecase

node is existed in db .

read the node and added properties
later part of the tx read the same node and along with other node using cypher query.
node with same id exists but with different object [ hashCode is different] i.e two node exist with the same nativeid in the session
due to which updating on one node version changes is not reflecting on the other object  so when we save the other object is causing OptimisticLockingException with version mismatch .
root cause is due to two different object ( different hasCode) exist in the heap with the same native id change in version in one object didnt reflect in another object in the heap . when saving another object which generated cypher with older version due to that getting OptimisticLockingException with version mismatch

Java version:1.8
Neo4j version : 4.3.2
OGM Version (The version of this software): 3.2.28
OGM Transport used (One of Bolt, HTTP or embedded): Bolt

Maybe I don't get the question / issue, but yes, the OptimisticLockingException is retryable.
Exactly how you described it, you would have to fetch the fresh state from the database and apply the changes again, if you retry it.

there is a case had observed  that

Read the node with id 123 from db ,version =1
in the same session later part of the code flow  .read the same node with id 123 from db
updated properties and invoked session save, version has incremented to 2
the object which got at step 1. added relation and updated properties
invoked session(same tx) save failed with OptimisticLockingException version mismatch
because version increment happened at step 2 didnt reflect here.
at step2 got different object [verified by hashCode]

its all happening in same session(same tx).
Please note that its occuring in expectional cases.

I wonder how you store the read object in step 1. How should Neo4j-OGM be aware "where" you have references to the old state of the object?
Basically I do not see anything wrong but only the missing OptimisticLockingException handling in step 3.

Thanks for reaching out to us @Hashdhi.
The feature works as expected, I added a test recreating what you describe. If I did get this wrong, please re-open and attach a reproducer similar to the test here: https://github.com/neo4j/neo4j-ogm/blob/fb9af2a26786087c99fb82c7e2186998766f1bab/neo4j-ogm-tests/neo4j-ogm-integration-tests/src/test/java/org/neo4j/ogm/persistence/examples/locking/NodeOptimisticLockingTest.java#L176


refactor: reader internal structure and scalafix

Codecov Report

Merging #134 (e08be23) into master (b022d6c) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #134   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines           89        89
=========================================
  Hits            89        89

Impacted Files
Coverage Δ

...src/main/scala/zio/spark/sql/DataFrameReader.scala
100.00% <100.00%> (ø)

new/src/main/scala/zio/spark/sql/Pipeline.scala
100.00% <100.00%> (ø)

...ew/src/main/scala/zio/spark/sql/SparkSession.scala
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add "About" content

what
add content saying what this does, why I made it
possibly new page, or on the home page
why
so people know what this does, and why they should care

Usage instructions
Have something to do? Click "Add" and write what you need to do. Before you can add it, you have to say something nice to yourself, too!
(coming soon), use the "priority" dropdown to suggest how often the app should show you this task
Background

long todo lists suck and sometimes do more harm than good
this harnesses the productive, healing power of self-affirmations, to put you in the right frame of mind


Add a cli endpoint to the osc-transformer-presteps repo

SImiliar to the following project we want to add a cli entrypoint for PyPi:
https://github.com/lfit/releng-python-one-password
This uses Typer:
https://typer.tiangolo.com/

[x] Add a cli endpoint to pyproject.toml
[x] Add a cli.py to the repo including Typer
[x] Think about which functionality could be added, similiar to credentials.py in the above mentioned repo.
[x] Implement the functionalities
[x] Test locally that everything works as expected (python -m build and then import --> then test)
[x] Bring to PyPi

Implemented in the last commit and is available on PyPI
https://pypi.org/project/osc-transformer-presteps/0.1.0/


SMS communication

Just like we currently support both inbound email for service requests, and, two-way communication around service requests, we are now implementing the same feature set and UX (to the extent reasonable) via SMS.
This integration is possible due to the extensive APIs that Twilio provides for SMS and phone number management (similar to how we leverage SendGrid, also a Twilio product, for email). Therefore, SMS support requires a direct dependency on Twilio - we are not designing an abstraction for potential use with other SMS backends.
At a high level, we plan to expose the following features:

Enable submission of new service requests via SMS. The submitter sends a message to a dedicated Phone Number for a given Jurisdiction.

We can support an arbitrary number of Phone Numbers for a Jurisdiction, and Phone Numbers are routed into the system using the existing Routing Table with the same routing rules that are currently available for Inbound Emails ref.. This means that, if needed, there can be Phone Numbers for routing to a specific Department, a specific Service, a specific Assignee, and any combination thereof.

When a Service Request is made via SMS, and, when a Service Request is submitted with Phone Number information, allow two-way communication around the Service Request with the Submitter.

Still deciding: Issue a dedicated Phone Number per Service Request - provides identical UX and data management flows to the current email integration, OR, have a "single" Phone Number, and a (more complex) disambiguation process to ensure two way communication is routed correctly to a given existing Service Request (will write about this a bit further below)

All the same communication flows that currently exist for Email can apply for SMS - for the server, messages are dispatched via essentially the same data flow, and the difference is "only" the broadcast channel. This provides further basis for the development of more broadcast and input channels (WhatsApp, etc.)
Jurisdictions can control if and how messages are sent to submitters, and if two-way communication is enabled. The flags for this on the Jurisdiction Model that currently exist, work in the same way for SMS as they do for email (and any other future communication channel).
Two-way SMS is not only with Submitters. GovFlow should support the exact same flow with Staff Users (again, a near 1:1 feature parity with email). However, we are still a bit undecided on this for our current use cases. Will update as we progress with implementation - may not fully expose this, or, hide it via a Jurisdiction config.
Unsubscribe management - Just like we integrate with SendGrid to keep up to date on which recipients have unsubscribed, bounced, etc., we need the same or similar routines for SMS, using the ChannelStatus model.

References
Some links to docs on the inbound email, and two-way email, implementation:

govflow/inbound-email.md at main · govflow/govflow
govflow/two-way-email.md at main · govflow/govflow
govflow/email-delivery-management.md at main · govflow/govflow

A bunch of related docs fro Twilio:

Track delivery status and description and list of possible statuses
SMS Webhooks
Twilio opt-out keywords

We are separating this issue out:

The foundations and inbound SMS support - shipping in https://github.com/govflow/govflow/pull/67
The actual two-way logic and implementation - moved to #68
Tracking subscription status - moved to #69

Closed by https://github.com/govflow/govflow/pull/67


Copy-to-clipboard does not select DataTable Headers

Steps To Reproduce

run the template project
attempt to Ctrl+A, Ctrl+C, Ctrl+V the data into a google doc

Environment
npm -v
9.8.1
node -v
v20.6.1
<EMAIL_ADDRESS><EMAIL_ADDRESS>

OS: MacOS Ventura
Browser: Firefox, Chrome

Expected Behavior
Whole table is copied including headers
Actual Behaviour
Only the body rows are copied. header rows are not copied

I suspect https://github.com/evidence-dev/evidence/blame/e22a6592cc97af0e5972a49562b6f9db1bdd8b49/packages/core-components/src/lib/unsorted/viz/DataTable.svelte#L827

@archiewood I will work on this, Could you please assign this to me?

It's yours!

Closed by #1226


Swarm Manager errors seen

I'm seeing errors like the following when I join 3 nodes to a consul backend, start a manage process on that cluster (separate machine), remove those nodes from consul (via my own script because there is no leave or housekeeping), join 3 new nodes with the same path in consul backend, stop the manage process , start the manage process again.
ERRO[1061] ID duplicated. BLRC:LDFG:NT7R:ATNF:DHI7:TNPB:F5IT:BJQJ:C4HS:ICMN:7NDX:EQNN shared by XXX.XXX.XXX.XXX and YYY.YYY.YYY.YYY
ERRO[1061] node was already added to the cluster
The errors happens over and over again, I get correct nodes from swarm list, and docker commands seem to run correctly. Just concerned over all the junk in my logs. Is this a real issue or just spurious errors? When will we see housekeeping become a priority?
Thanks for all the good stuff, just want more I guess.

The docker ID is generated by docker the 1st you launch the daemon.
Here 2 machines have the same ID. It is likely because you installed docker on a VM -> the install start the daemon -> generated an ID and then you make copies of the VM.
So all of your machines have the same ID.
You need to remvove ~/.docker/key.json or /root/.docker/key.json and restart the daemon.
Please tell us if you have any other issue.

Thank you! That's what I needed.

These solutions did not work for me on Centos7. There is no ~/.docker file and no key file. While all of my docker daemons do in fact run on VM's, docker was installed by hand on each VM /after/ the VM was imaged.
Where is the ".docker" folder on Centos7?

It's at /etc/docker/key.json


Add Sound Action to Features

Adds ability to notify user from a sound action.

you may want to update your commit messages to use the semantic message syntax ( https://seesparkbox.com/foundry/semantic_commit_messages)
(e.g., feat(sound): new files)

In addition to using the semantic commit message syntax, please also be a little more descriptive with the intent of the commit. Example:
feat(featureactions): Added a new action to play a sound when a feature is loaded.

The code looks good. I approved prior to seeing Kevin's comments.  Obviously you'll want to address the commit messages and his comments before merging.  :)


Dynamic theme

Ex
flatpickr("#myID", {
  theme: {
    backgroundColor: "#FFFFFF",
    fontSize: "14px",
    textEnabled: "#000000",
    textDisabled: "#F1F1F1",
    currentMonth: {
      backgroundColor: "rgba(113, 89, 193, 0.8)", // or #7159c1
      textColor: "#FFFFFF",
      prevMonth: '<ion-icon name="arrow-dropleft-circle"></ion-icon>',
      nextMonth: '<i class="fa fa-arrow-right text-white"></i>',
    },
    weekdays: {
      foo: "bar"
    }
  }
});

@traleluia that's an interesting idea, and you are welcome to achieve this by creating a plugin. Check the plugins directory here for examples.
I'm not going to make this a core feature because CSS-based overrides and themes are sufficient for 99% of our users. Thank you for understanding.


Searching for the docs

Hi @ddm7018 , Thanks for this library. I strongly believe docs are needed for this nice library.

已收到您的邮件，谢谢您，我将尽快给您回复。


[Xray] Improve API

Todo:

[ ] Rework xray.nodes so it contains key value pair (node to look for, node to replace with)
[ ] Rework API to add_node(node_find, node_drop)

...

Other things to add

[ ] This should make a single specific node named xray:some_nodes_name where it uses an invisible texture and customizes drop.
[ ] add_node would make the xray node right then and there (not sure if Minetest supports dynamically creating nodes with drops after loading mods)
[ ] Build a GUI to interact with what's made visible or invisible at what time. (Button for visible or not, button for adding or removing a node from the list)


Make JS snippets in docs more discoverable

It's awesome that I can see the Javascript code samples with that little button on the top right of the docs site, but that button is super easy to miss. It was only after I'd downloaded and was looking through the source of the docs site to see how things worked that I noticed that it was there.
How about defaulting to Javascript and/or having the JS/Coffee buttons near each code sample?

The project is defaulted to Javascript now :) Hope this helps.


Integration Test - Release - 2022/03/11 08:33:47

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#please-close

#unassign PRMergerTest1

#unassign NonAllowedUser


Error: Type Query not found

When running the command, I get a "Type Query not found" error after it adds the schema.  Any guidance on next steps would be greatly appreciated.
neptune-for-graphql
--input-graphdb-schema-neptune-endpoint XXX:8182
--create-update-aws-pipeline
--create-update-aws-pipeline-name xxx_api
--output-resolver-query-https
--create-update-aws-pipeline-neptune-IAM

Getting Neptune schema from endpoint: XXXX:8182
  Found node: xxxx
  ... many of these
  Found edge: XXX
  ... many of these
Got nodes and edges via Neptune Summary API.
  Added property to node: SKILL_SUBCATEGORY property: name type: String
  ... many of these
  Found edge: XXX  direction: XXX -> YYY
  ... many of these
Execution time: 15.73 seconds

Inferencing GraphQL schema from graphDB schema
Pascal case is not applicable, duplicate names types.

Wrote GraphQL schema to file: ./output/xxx_api.schema.graphql
Wrote GraphQL schema to file: ./output/xxx_api.source.schema.graphql
Wrote Neptune schema to file: ./output/xxx_api.neptune.schema.json
Wrote Lambda resolver to file: ./output/output.resolver.graphql.js
Wrote Javascript resolver to file: ./output/xxx_api.resolver.graphql.js

Creating AWS pipeline resources

Check if the pipeline resources have been created
⚠ Pipeline does not exists.
Get Neptune Cluster Info
✔ Got Neptune Cluster Info
Create ZIP
✔ Created ZIP File: XXX
Create Lambda execution role
✔ Role ARN: arn:aws:iam::XXXX
✔ Attached AWSLambdaBasicExecutionRole to Lambda Role
✔ Neptune query policy ARN: arn:aws:iam::XXXX
✔ Attached Neptune Query Policy policies to Lambda Role
Create Lambda function
✔ Lambda Name: xxx_apiLambdaFunction ARN: arn:aws:lambda:usXXXX:function:xxx_apiLambdaFunction
Create AppSync API
✔ Lambda invocation policy ARN: arn:aws:iam::XXXX
✔ Lambda invocation role ARN: arn:aws:iam::XXXX
✔ Attached policy to role
✔ Created API id:  XXX name: xxx_apiAPI
✔ Created API key: XXX
✔ Created DataSource: xxx_apiDataSource
✔ Created Function: xxx_apiFunction
✔ Added schema
✖ Error creating resources: NotFoundException: Type Query not found
Rolling back resources.
✔ Deleted API id: XXX
✔ Lambda function deleted: xxx_apiLambdaFunction
✔ Detached policy: arn:aws:iam::XXXX-role/AWSLambdaBasicExecutionRole from role: xxx_apiLambdaExecutionRole
✔ Detached policy: arn:aws:iam::XXXX-role/AWSLambdaBasicExecutionRole from role: xxx_apiLambdaExecutionRole
✔ Deleted policy: arn:aws:iam::XXXX
✔ Deleted role: xxx_apiLambdaExecutionRole
✔ Detached policy: arn:aws:iam::XXXX from role: xxx_apiLambdaInvocationRole
✔ Deleted policy: arn:aws:iam::XXXX
✔ Deleted role: xxx_apiLambdaInvocationRole

Done

Hello @marc-hughes the error you are seeing could be a result of an issue with the generated graphQL schema. Can you provide the xxx_api.schema.graphql and xxx_api.source.schema.graphql with sensitive data redacted?
I just recently made changes in the main branch which outputs logs to a file (you can turn on verbose logging with --log-verbose). If you are willing to check out the source code in the main branch, package, and install, it could provide more insight into the error you are receiving.

The main branch outputs a log similar to the output above, but with this extra bit:
[2024-10-21 18:33:25] INFO: Uploading schema ...
[2024-10-21 18:33:31] INFO: Added schema
[2024-10-21 18:33:31] INFO: Attaching resolvers
[2024-10-21 18:33:31] ERROR: Error creating resources
{
    "name": "NotFoundException",
    "$fault": "client",
    "$metadata": {
        "httpStatusCode": 404,
        "requestId": "a0050a34-c80f-424e-ad34-737dbdcf835f",
        "cfId": "e014apha3eQRr3qDFefQ5yXUjT-WCdj3qNsQrSKdRFgmojkTGfnL4A==",
        "attempts": 1,
        "totalRetryDelay": 0
    }
}
[2024-10-21 18:33:31] ERROR: Rolling back resources.
[2024-10-21 18:33:31] INFO: Deleting AppSync API ...

I'm checking with the company if I can share the full schema, but I did take that schema, ran it through a graphql schema validator, and got this output:
Invalid GraphQL schema provided:
There can be only one type named "SKILL_SUBCATEGORY".

Field "SKILL_SUBCATEGORY._id" can only be defined once.

There can be only one type named "EMPLOYER".

Field "EMPLOYER._id" can only be defined once.

There can be only one type named "EMPLOYERInput".

In the schema, I do see some double-entries
type SKILL_SUBCATEGORY {
  _id: ID!
  name: String
  skillSKILL_SUBCATEGORYsIn(filter: SKILLInput, options: Options): [SKILL]
  skill_categoryCATEGORY_SUBCATEGORYIn: SKILL_CATEGORY
  SKILL_SUBCATEGORY: SKILL_SUBCATEGORY
  CATEGORY_SUBCATEGORY: CATEGORY_SUBCATEGORY
}

(a lot of stuff between these)

type SKILL_SUBCATEGORY {
  _id: ID!
}

Side note: Current main branch fails if the output folder doesn't exist. Previously it would create it.

Thanks for the information. I can take a look to see why the schema might have duplicate entries. I have also opened a quick PR to fix the output folder issue, thanks for pointing that out.

The problem ended up being we had a vertex and an edge that had the same label. Once that was removed, everything is working.


Ongoing multi-day events

This adds a multiDay flag to events, so that multi-day events can be treated slightly differently.  In the current code, ongoing multi-day events always occur "Today".  This code excludes multi-day events from that code block, causing them to fall down into the ongoing event code.  That renders them as "Ends in X days" until the last day of the multi-day event, then renders them as "Ends in X hours".
My preference would have been to reuse the code at line ~402 to get "Ends Today", "Ends Tomorrow", "Ends Thursday", etc. but the string in the translations file in "Ends in {time}" and I wasn't able to massage Moment to produce something that looks right without getting into multi-language world. Maybe an area for future work.

Thx for your PR. But isnt it displayed already in the format you describe? My Mirror shows the current ongoing event as ending in two days...

Hm, you're right, it should be doing that....  I just switched back to develop and confirmed that the event that made me investigate is no longer perpetually showing "Today", because event.today is now false.  Displaying "Today" on the first day, then "Ends in...." on subsequent days seems perfectly reasonable behavior.
What I'm failing to understand then is why event.today was true when I started investigating this yesterday, two days into the multi-day event. But I suppose that will have to be something to debug if/when I have another repro.
For now, this isn't the right fix.  Thanks for the catch!

Ah, I found a little more detail.  On master prior to the most recent release, event.startDate gets set to today's date, at least for this particular event. That doesn't occur in develop or in the newly released version.  It appears that this was another manifestation of #2685; with that fixed, no further change is necessary!


[AutoPR resources/resource-manager] Minor updates to description properties to improve docs

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3209

Codecov Report

Merging #2718 into restapi_auto_resources/resource-manager will increase coverage by 0.1%.
The diff coverage is n/a.

@@                             Coverage Diff                             @@
##           restapi_auto_resources/resource-manager    #2718      +/-   ##
===========================================================================
+ Coverage                                    55.01%   55.11%    +0.1%
===========================================================================
  Files                                         7612     6369    -1243
  Lines                                       165354   141253   -24101
===========================================================================
- Hits                                         90968    77855   -13113
+ Misses                                       74386    63398   -10988

Impacted Files
Coverage Δ

...-monitor/azure/mgmt/monitor/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...osmosdb/azure/mgmt/cosmosdb/models/resource_py3.py
45.45% <0%> (-54.55%)
:arrow_down:

...ure-mgmt-sql/azure/mgmt/sql/models/resource_py3.py
55.55% <0%> (-44.45%)
:arrow_down:

...-sql/azure/mgmt/sql/models/tracked_resource_py3.py
62.5% <0%> (-37.5%)
:arrow_down:

.../azure/mgmt/monitor/models/rule_data_source_py3.py
66.66% <0%> (-33.34%)
:arrow_down:

...or/azure/mgmt/monitor/models/rule_condition_py3.py
66.66% <0%> (-33.34%)
:arrow_down:

...nitor/azure/mgmt/monitor/models/rule_action_py3.py
75% <0%> (-25%)
:arrow_down:

...mt-sql/azure/mgmt/sql/models/proxy_resource_py3.py
83.33% <0%> (-16.67%)
:arrow_down:

...mt/logic/models/integration_account_certificate.py
45.45% <0%> (-11.69%)
:arrow_down:

...eduler/models/job_history_definition_properties.py
38.46% <0%> (-11.54%)
:arrow_down:

... and 1818 more

Continue to review full report at Codecov.

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

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2570


ScrollBar moves with an offset if cursor leaves flutter application.

This issue is reproducible on both the stable and master branch, and affects both desktop and web applications. I checked the behaviour with web apps such as YouTube and the chrome browser and it seems that they take into consideration the position of the cursor when deciding as to whether to move the ScrollBar.

video of bug in Flutter:
https://user-images.githubusercontent.com/73116038/179329223-c0bf6738-3cfa-4f8f-bcdc-6a88b5e9e6bb.mp4

video of expected behaviour in YouTube:
https://user-images.githubusercontent.com/73116038/179329228-da40bd35-8cb1-43fb-80b3-fe756663769d.mp4

Reproducible code:
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const Center(
          child: MyStatefulWidget(),
        ),
      ),
    );
  }
}

class MyStatefulWidget extends StatefulWidget {
  const MyStatefulWidget({Key? key}) : super(key: key);

  @override
  State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
  final ScrollController _firstController = ScrollController();

  @override
  Widget build(BuildContext context) {
    return Scrollbar(
      thumbVisibility: true,
      controller: _firstController,
      child: ListView.builder(
          controller: _firstController,
          itemCount: 100,
          itemBuilder: (BuildContext context, int index) {
            return Padding(
              padding: const EdgeInsets.all(8.0),
              child: Text('Scrollable 1 : Index $index'),
            );
          }),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1633, on LMDE 5 (elsie)
    5.10.0-16-amd64, locale en_GB.UTF-8)
    • Flutter version 3.1.0-0.0.pre.1633 on channel master at
      /home/henryr/Dev/SDK/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 95a5a8d741 (2 days ago), 2022-07-13 09:53:40 -0700
    • Engine revision 20038216ac
    • Dart version 2.18.0 (build 2.18.0-272.0.dev)
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /home/henryr/Android/Sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at:
      /home/henryr/Dev/SDK/AndroidStudio/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/henryr/Dev/SDK/AndroidStudio/android-studio
    • Flutter plugin version 69.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • LMDE 5 (elsie) 5.10.0-16-amd64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @whiskeyPeak, thanks for filing the issue.
This issue is reproducible on the latest stable and master channels with provided sample code in https://github.com/flutter/flutter/issues/107765#issue-1306662763
The list is still scrolling even though the cursor is outside the Flutter application.
This issue is happening on both Web and Desktop applications (see in demo)

Demo
https://user-images.githubusercontent.com/104349824/179463231-9a6cc1ac-d6b9-488b-a494-7ce344295c4f.mp4
https://user-images.githubusercontent.com/104349824/179464437-3f8c4b2a-9aa0-4ee2-8ab7-0d5c330da028.mp4

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.5 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 hours ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1698, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.1.0-0.0.pre.1698 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a4ba62fd9d (17 hours ago), 2022-07-17 05:48:06 -0400
    • Engine revision b438edfd1a
    • Dart version 2.19.0 (build 2.19.0-5.0.dev)
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

CC @Piinks

Looking at the native behavior on Mac, it looks like you can scroll the scrollbar outside of the window as long at the cursor is parallel to the scrollbar in the cross axis, but not if it is above/below it in the main axis.
We should look into the other desktop platforms to confirm the expected behavior. This should be relatively easy to fix once defined, since we know the location of the pointer throughout the drag activity.

Removed the web label as the issue doesn't look web-specific.

This is getting reverted due to regression, I'll reland with a regression fix/


endInteraction lives behind another intent

For some reason the object Google returns for endInteraction is data.intent.intent.endInteraction and not data.intent.intent.endInteraction
With apologies for the lateness - I thought I did this last week!

Thanks @digitaltoast !


fix readme

change some 'Request' to 'goreq.Request'

seems legit, nice catches! :+1:
@marcosnils i'm gonna merge this without waiting for tests, it's just a readme fix :)

:+1:


Changes to audit log module needed before publishing

    // Determine user role based on if user has admin role.     $role = in_array("admin", $this->currentUser->getRoles()) ? "ADMIN" : "USER";
Is this used anywhere?


Explicit tooling support or documentation for out-of-band migrations

I'm exploring options for hosting side projects super cheaply, so fly.io + LiteFS seem like a great route to take. I have a very simple Python/Flask app.
A very common thing to do while developing web apps is change the database schema outside the application process, often completely separately from a deploy. It seems like this is very challenging to do with LiteFS, because there's no way to temporarily claim ownership of write operations and apply migrations safely.
I added some code to my app that tries to run whatever migrations it can on startup, but I worry that this is some combination of buggy, flaky, dangerous, and error-prone. I have no idea if it's the right thing to do.
So my request is, could we have some documentation on best practices for running migrations, or maybe some tooling support? I love the idea of running SQLite in production for a small web site, but worrying about this is pointing me back toward Postgres just to get a somewhat normal and safe database migration workflow.

@irskep Running one-off transactions like migrations is a pain right now. I'm actually working on write forwarding (#56) right now to solve this issue. It'll allow you to run write transactions from any node by temporarily borrowing the write lock, updating the database, and then sending the change set for the transaction back to the primary. It'll be released with v0.4.0 in the next few weeks.
I'm keeping this open and tagging it to that release to remind me to write up docs about best practices on this too. Thanks!

It sounds like getting a shell where you can run your migrations will still be an exercise for the reader. If that's the case, it looks like my fly.io app is better off just using SQLite with a persistent volume and taking the performance hit. Assuming that's all true, it might be worth an additional callout in the docs. The fly.io blog pushes LiteFS pretty aggressively, so it would be helpful to have tempered expectations if certain workflows are complicated to implement.
(Still a cool project though, I am watching this space!)

Correcting myself: looks like write forwarding will solve this after all, since you can just flyctl ssh console in and do whatever. Sorry for the noise!

Got a bit farther; I assume the fly.io workflow will ultimately be something to do with flyctl ssh console

Yes, that's correct.
Right now, you'll need to ssh into the primary node which is not terribly intuitive from the CLI. Once write forwarding is done, you'll be able to ssh into any node and run your script.

it's still not clear to me how you'd be able to run a script inside litefs mount in a container, since the container has already bound the web process to the port it would use to communicate

I'm not quite clear on this point. Once you fly ssh console in you'll be in a regular shell inside your VM. You can execute any scripts you need from here. If you need to upload a script, you can use fly sftp shell to perform SFTP commands (like put).

Thanks for the detailed instructions! I really appreciate the time you're taking to help me work through my misunderstanding.
I think I understand where my confusion came from. The litefs-example Dockerfile runs the entry point inside litefs mount. I think I misunderstood this to mean that in order for LiteFS to work, it needs to run the service in a subprocess. But what the comment actually says is that running the service inside litefs mount just ensures that the litefs filesystem is mounted before the service runs.
I brought up the bound port because I tried to run litefs mount -- <a script> and got an error related to that. But I could have just run the script directly (assuming write forwarding was implemented, or I was on the primary already) and it would have worked fine, because the litefs filesystem was already mounted.
I hope this gives you some insight into the misunderstandings and misconceptions medium-competent learners might have when reading your docs. :-) My expertise is in application code and I only dabble in deployment.

@irskep Thanks for the explanation. It really helps to hear about where folks have issues in detail. That's an easy thing to get tripped up on. I'll get that clarified in the docs.


Dumb question.

Is it possible to have the bot running on my computer and have it on multiple servers?
I guess I would need multiple instances of it with the appropriate config.py info and all that, right?
I'm completely ignorant about python, do you have any suggestions on how to keep the bot 24/7 without my computer being on all the time? A server or something?

Searching google I ended up here: https://wiki.python.org/moin/FreeHosts
do you recommend https://www.pythonanywhere.com/ ?

Yes, it is possible, in fact, that's the way I've been designing it. My instance is running on 4 servers tracking 3 different worlds.
That's why you gotta use /setworld when you install it, cause that sets the world for that server. To add it to another server, just follow the install instructions again, just the part where you invite the bot to your server. Note that for it to appear there, you must be the server owner or have Administrator permissions.
Other people can use the link to invite your bot if you have the Public bot option marked in your application's page.
About keeping it 24/7, I do have a server, a really small one, a Raspberry Pi 2.
I really don't have any recommendations for free hosting, I've been thinking in renting a cheap one.
I'm going to leave this quote from Discord API's server:

Need to run your bot 24/7? Get a cheap VPS.
Linux hosting:
https://www.scaleway.com/ - Incredibly cheap but powerful VPSes, owned by https://online.net/, based in Europe.
https://www.digitalocean.com/ - US-based cheap VPSes. The gold standard. Locations available world wide.
https://www.ovh.co.uk/ - Cheap VPSes, used by many people. France and Canadian locations available.
https://www.time4vps.eu/ - Cheap VPSes, seemingly based in Lithuania.
https://www.linode.com/ - More cheap VPSes!
https://www.vultr.com/ - US-based, DigitalOcean-like.
Windows hosting:
(To be honest, you should probably just use a linux box.)
https://azure.microsoft.com/en-gb/ - Microsoft-owned. Not on the cheap end, however.
Others:
https://aws.amazon.com/ - Amazon Web Services. Free for a year (with certain limits), but very pricey after that.
https://cloud.google.com/compute/ - AWS, but Google.
http://lowendbox.com/ - A curator for lower specced servers.
Self-hosting:
You can always self-host on your own hardware. A Raspberry Pi 2 B will be more than sufficient for small to medium sized bots.
For bigger bots, you can build your own server PC for usage, or buy a rack server.
Any modern hardware should work 100% fine.
Free hosting:
No. There is no good free VPS hoster, outside of persuading somebody to host for you, which is incredibly unlikely.

I've used digitalocean before. I guess $5 a month is ok. It would be around 17-20 BRL.
I'll see if any of my guild mates want to help me pay for it.
Thanks a lot.


The referencecategory should be PACKAGE_MANAGER

The referenceCategory should be PACKAGE_MANAGER, not PACKAGE-MANAGER. The SPDX standard version 2.2 defines

OTHER, SECURITY and PACKAGE_MANAGER

as valid values for referenceCategory, see https://github.com/spdx/spdx-spec/blob/2dffb51097904e03d5e9b19782e9d1b5cd7c9682/schemas/spdx-schema.json#L273, whereas version 2.2.2 allows

OTHER, PERSISTENT-ID, PERSISTENT_ID, SECURITY, PACKAGE-MANAGER, and PACKAGE_MANAGER

see https://github.com/spdx/spdx-spec/blob/e3a5c7bb395c7c8b4bb55e7eaf9cb42661de9872/schemas/spdx-schema.json#L320.
As sbom-tool creates version 2.2 SPDX files and for better portability, PACKAGE_MANAGER should be used. The use of PACKAGE-MANAGER leads to parsing errors when parsing SBOM files with cyclonedx-dotnet-library. Other tools might be affected as well.
This relates to issue #108. (There might be a mismatch between the written SPDX documentation and the SPDX schema.)

Based on this issue in the spdx-spec repo, it looks like this is a known discrepancy, and they now accept either format as interchangeable, even in 2.2.
If you disagree with this interpretation, please re-open this issue! Thanks much.

@jlperkins Thanks for clarifying the history of the PACKAGE_MANAGER-vs.-PACKAGE-MANAGER issue. To my understanding, the bottom line of the whole story is that spdx parsers should be less rigorous and accept both variants.

Yes, that's my understanding as well. :)


Typos

We can list all typos there:

[ ] An inveractive Jupyter Notebook

Typos that were listed in the Google Doc by Nikola and Ilana were resolved in commit 1a3c6ab.


Improve GCP Integration : GCP HTTPS Load balancer

To allow offloading the SSL handling and configurations to GCP, it would be nice to add some support for :

Google HTTPS Load balancer (in place of the TCP load balancer) : https://cloud.google.com/load-balancing/docs/https/setting-up-https

Big plus : This would also allow compatibility with Google Cloud CDN (which is basically an extra option set on the GCP HTTP(S) loadbalancer) : https://cloud.google.com/cdn/docs/

Google managed certificates : https://cloud.google.com/load-balancing/docs/ssl-certificates#managed-certs

Absence of this, for the reasons you mentioned, plus not being able to use Global anycast IP are why my team ended up not using Voyager's Ingress :(


Add Linting

@reqyl sry for making a new PR. All credit to you : )

Heh no problem I'm just happy you found use for it ;)


The documentation of this gem is troubling

Pretty simple code: @base.deals.create name: lead.email, contact_id: contact.id, stage_id: stage_id, tags_joined_by_comma: 'vk-onboarding'
There's absolutely no documentation on how to add tags to deal, leads and contacts. I found tags_joined_by_comma in one of the tickets. I found tag_list in a different one. None of this works.
The documentation of this gem is troubling. Also, I can pass any garbage (e.g. tag_list which doesn't look to be supported) and that field is silently ignored. The API should throw an exception when an unmatched parameter is found (if you use Rails on the backend, it'd be config.action_controller.action_on_unpermitted_parameters = :raise).

Hi @Nowaker,
what version of the official client library do you use ? Once you have a client instantiated it's as simple as calling:
client.deals.create(contact_id: test_contact.id,
                    name: "test deal",
                    value: 100,
                    currency: "USD",
                    tags: ["test_1", "test_2"])

I've changed a title of this issue to drag your focus on the real problem. Stripe API gem is a perfection, this one is just the opposite.


Stylegan model conversion doesn't work

Hi,
I am using a pretrained stylegan trained on ffhq, but the manipulation just shows weird coloring on images (see attached). Any idea why this can happen? Can it be a problem when converting the tf model to pytorch?
Thanks.

Sorry, I haven't seen errors like this before, so I am unfortunately unable to help with this.


chore(core): Remove unused dependencies

This PR just removes a few dependencies we don't need anymore after switching back to Sentry CLI.
I made a small adjustment to our captureMinimalError function which treated Axios errors differently from other errors (we could also see this as a first step for #99)

Actually, I think I have to make a change here because we could right now capture undefinde. Also, I'll add a few tests to for different kinds of errors


AuthTriggerCustomLambdaStack error in Amplify Hosting using Amplify CLI 10.6.2

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
19.0.1
Amplify CLI Version
10.6.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no changes to backend
Describe the bug
made changes to frontend on dev and qa. dev deploys just fine, qa fails on backend build
Expected behavior
both environments should deploy without issue
Reproduction steps
amplify env checkout
git checkout
push code and wait to deploy
Project Identifier
5940205a-065b-4669-a951-5a8e4b54757a
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @adcanis :wave: thanks for raising this! As we begin to look at this issue in more depth, what sort of issues are you receiving when attempting to build the other environment?

hey @josefaidt. The only issue i have with the QA build is AuthTriggerCustomLambdaStack. But this environment has been working up until now.

Hey @adcanis thanks for clarifying! It appears you may be experiencing an issue similar to one of the issues mentioned in this thread: https://github.com/aws-amplify/amplify-cli/issues/11704
Taking a further look at this one.

@josefaidt Thanks!. #11704 seems to be experiencing the same issue with a cognito trigger. I'd like to know why this isn't replicated on the other environments though.

Hey @adcanis I posted an update on #11704 with a workaround. Locally, upgrade your CLI to latest (10.6.2) and push manually with amplify push -y. For the other environments did you push beforehand?

Copying my notes here and using this issue to track the Cognito Triggers issue separate from Google OAuth

I was able to reproduce the error you are receiving using the following steps. The oauth capabilities may not be necessary here but I wanted to simulate the setups described in this thread

install Amplify CLI 9.1.0
amplify init -y
amplify add auth > manual
add facebook, google
add PostConfirmation and Pre-Signup triggers
amplify push -y we want to be sure we've pushed with an older version of the CLI
create git repo and push git init; gh repo create --source . --public; git add .; git commit -m '🚀'; git push -u origin main
add hosting with Amplify Hosting amplify add hosting
the above step will trigger an automatic build which will fail looking for OAuth env vars
add the OAuth env vars
redeploy the failed build (Amplify Hosting by default will use the latest CLI version - 10.6.0)
observe build failure with:

2023-01-05T22:12:42.651Z [INFO]: UPDATE_COMPLETE auth117045ba02d0b            AWS::CloudFormation::Stack Thu Jan 05 2023 22:12:40 GMT+0000 (Coordinated Universal Time)
UPDATE_FAILED   AuthTriggerCustomLambdaStack AWS::CloudFormation::Stack Thu Jan 05 2023 22:12:42 GMT+0000 (Coordinated Universal Time) Output 'LambdaExecutionRoleArn' not found in stack 'arn:aws:cloudformation:us-east-1:814763596509:stack/amplify-11704-dev-134934-function117045ba02d0bPreSignup-19T64TCCNSPTS/b703fad0-8d43-11ed-991a-0ad83960a94d'

Upon encountering the error related to AuthTriggerCustomLambdaStack please upgrade your Amplify CLI locally and run amplify push manually. From here you will notice a few changes, and further pushes to git will successfully build in Amplify Hosting

@josefaidt This worked for the dev env, but again failed on qa. This time the issue is coming from my custom resolvers. session identifier:  be092b85-46bd-4957-a50a-43c787220d36
Maybe removing the amplify folder and the aws-exports.js, pulling the backend back in?

Hey @adcanis what issue are you seeing with your custom resolvers?

@josefaidt the same issue. Iamplify push -yand it fails to update saying not in stackUpdateComplete. Again only on the QA environment which has had no updates to backend resources.

@josefaidt @akshbhu problem still persists.

I am also getting this error, however this is not related to hosting, but Cognito trigger AuthTriggerCustomLambdaStack. Happened after upgrading from 10.4 to 10.6. Any fix?

2023-01-10 21:35:27 UTC+0100
AuthTriggerCustomLambdaStack
UPDATE_FAILED
Output 'LambdaExecutionRoleArn' not found in stack 'arn:aws:cloudformation:eu-north-1:XXXXXXXX:stack/amplify-xxxx-dev-xxxxx-functionAdaAuthPreSignup-xxxxxx/xxxxxxxx

Hey @maziarzamani thanks for chiming in here!

Hey @maziarzamani thanks for chiming in here!

So the thing is I have been away from the code for several months. I upgraded cli, then I pulled my environment and just wrote "amplify push" which then showed me that all functions were updated (they aren't), so I proceeded with the update and then it eventually failed.

I'm also encountering this issue on Amplify Version > 10.6.0. If downgrading to 10.5.1, it works.

I'm also encountering this issue in Amplify Version > 10.6.0. If downgrading to 10.5.1, it works.
2023-01-11T15:48:52.583Z [INFO]: CREATE_FAILED AuthTriggerCustomLambdaStack AWS::CloudFormation::Stack Wed Jan 11 2023 15:48:49 GMT+0000 (Coordinated Universal Time) Output 'LambdaExecutionRoleArn' not found in stack 'arn:aws:cloudformation:eu-central-1:xxxxx:stack/amplify-xxx-circs-151102-functionxxxxPreSignup)'

I will try the downgrade, seems a bit better than any other workarounds at the moment. Thanks!

Alternate Workaround:
To continue working with latest CLI version. Please change the function's template output section to include the 'LambdaExecutionRoleArn' parameter which is expected by CLI version > 10.6.0
Edit the function CloudFormation template ('xxxxPreSignup-cloudformation-template.json' under 'amplify/backend/function/') so that the output section looks like below.
...
 "Outputs": {
    "Name": {
      "Value": {
        "Ref": "LambdaFunction"
      }
    },
    "Arn": {
      "Value": {
        "Fn::GetAtt": [
          "LambdaFunction",
          "Arn"
        ]
      }
    },
    "LambdaExecutionRole": {
      "Value": {
        "Ref": "LambdaExecutionRole"
      }
    },
    "LambdaExecutionRoleArn": {
      "Value": {
        "Fn::GetAtt": [
          "LambdaExecutionRole",
          "Arn"
        ]
      }
    },
    "Region": {
      "Value": {
        "Ref": "AWS::Region"
      }
    }
  }
  ...

Please note that the output key ‘LambdaExecutionRoleArn’ won’t be present and you need to add the following key value pair to match the above output.
"LambdaExecutionRoleArn": {
  "Value": {
    "Fn::GetAtt": [
      "LambdaExecutionRole",
      "Arn"
    ]
  }
},

Once done, commit the code changes so that the amplify CI/CD build triggers again.
Also make sure to update local Amplify CLI to latest version so that old CLI updates does not make further changes to stack.

Alternate Workaround:
To continue working with latest CLI version. Please change the function's template output section to include the 'LambdaExecutionRoleArn' parameter which is expected by CLI version > 10.6.0
Edit the function CloudFormation template ('xxxxPreSignup-cloudformation-template.json' under 'amplify/backend/function/') so that the output section looks like below.
...
 "Outputs": {
    "Name": {
      "Value": {
        "Ref": "LambdaFunction"
      }
    },
    "Arn": {
      "Value": {
        "Fn::GetAtt": [
          "LambdaFunction",
          "Arn"
        ]
      }
    },
    "LambdaExecutionRole": {
      "Value": {
        "Ref": "LambdaExecutionRole"
      }
    },
    "LambdaExecutionRoleArn": {
      "Value": {
        "Fn::GetAtt": [
          "LambdaExecutionRole",
          "Arn"
        ]
      }
    },
    "Region": {
      "Value": {
        "Ref": "AWS::Region"
      }
    }
  }
  ...

Please note that the output key ‘LambdaExecutionRoleArn’ won’t be present and you need to add the following key value pair to match the above output.
"LambdaExecutionRoleArn": {
  "Value": {
    "Fn::GetAtt": [
      "LambdaExecutionRole",
      "Arn"
    ]
  }
},

Once done, commit the code changes so that the amplify CI/CD build triggers again.
Also make sure to update local Amplify CLI to latest version so that old CLI updates does not make further changes to stack.

The workaround works. In my case, I had do do the same fix also for postConfirmation lambda trigger.

We are experiencing this same issue on Amplify CLI 10.6.1 when trying to add a field to an AppSync model -- seemingly an unrelated change.
Neither of the above workarounds works for us (downgrading to 10.5.1 caused even more errors, and adding LambdaExecutionRoleArn output to our functions fails with error "Parameters [...] must have values".
Note that we are unable to upgrade to latest Amplify CLI 10.6.2 due to unrelated error https://github.com/aws-amplify/amplify-cli/issues/11825, so I cannot test this on latest version.
Project identifier 277e04d4c8c29e7767a630177599f562

This is breaking on v10.7.0 again.


Add covers for both games and releases

Releases should have covers and fallback to the parent Game cover if the release has no release-specific cover.
The problem would be displaying this in a way that's both performant and makes sense to the user.

I think I'll keep this to just games, releases don't really need a separate cover image for now.


Chunk position methods use full block location, not relative location within chunk

Issues occur that a Location for block within a Chunk, relative to the 0,0 of the Chunk since not all chunks contain 0,0,0.

It was decided not to use relative positions for chunks to simplify generators (which almost always use the world coordinate space, especially for noise generation) and provide a homogeneous system across worlds and chunks, which lets you substitute the two easily. This means that the BlockVolume, BiomeArea and by extension Extent all use world coordinate space. Since Location is a pointer in an Extent, it uses the world coordinates.

On Jul 3, 2015, at 4:52 PM, Gabriel Harris-Rouquette<EMAIL_ADDRESS>wrote:
Issues occur that a Location for block within a Chunk, relative to the 0,0 of the Chunk since not all chunks contain 0,0,0.
—
Reply to this email directly or view it on GitHub.

I'm completing the world access API after Minecon. This will allow users to get relative views from any Volume or Area
Location location = chunk.relativeView().getLocation(0, 0, 0);
location.getPosition() // prints (0.0, 0.0, 0.0)

The relative view could even be cached in chunks for practically zero object cost.


[Suggestion] Further README Badges

@tobealive
There are four further badges I would like to add to the README:

total downloads of Wthrr
status of the documentation on docs.rs
license of this repository
last commit

Which of them would you consider useful?

Lets go with No. 4.
For me, simplicity is the preference here. When it comes to documentation, there is just the readme file, and the license is nicely displayed on GitHub and crates.to in the sidebars.

Okay, I will prepare the changes. :+1:
By default, I would configure the badge as a Markdown link rather than using the explicit HTML syntax which is used, at the moment.  Shall I rather continue with the current style or simplify the other two badges to the shorter Markdown syntax?

Please stay with HTML. If I recall it right, the nit it is used, is that it was possible to slightly increase the spacing. In markdown, adding the <br>  would make the spacing too big, while not having it is just a regular line break which is to little.


Document all of the json users see in the console events

Summary

Let's

Very clearly link to the data formats documentation in the console and somewhere in the getting started docs
Add missing json information to that documentation. For example, what are the gateway metrics? What metrics do UDP gateways provide vs LBS?

Why do we need this ?

It's not obvious what most of the data reported in event view means

Can you do this yourself and submit a Pull Request?

I can add the information to the docs. @kschiffer , what's the best way to serve this info to users in context?

Let's add this information to the event details panel on the right. We can add a message saying For more information on specific event message types, please see our <DocLink>Data Formats</DocLink> documentation. This should be added below the json.
@benolayinka it would be nice if we could also link to individual message types.

Let's add this information to the event details panel on the right. We can add a message saying For more information on specific event message types, please see our <DocLink>Data Formats</DocLink> documentation. This should be added below the json.
@benolayinka it would be nice if we could also link to individual message types.

Can you do <DocLink>/reference/data-formats#join-accept-messages</DocLink> documentation

Let's add this information to the event details panel on the right. We can add a message saying For more information on specific event message types, please see our <DocLink>Data Formats</DocLink> documentation. This should be added below the json.
@benolayinka it would be nice if we could also link to individual message types.

Can you do <DocLink>/reference/data-formats#join-accept-messages</DocLink>

@benolayinka you can take a look at screenshot how it will look now in this pr https://github.com/TheThingsNetwork/lorawan-stack/pull/3859. Do you want any changes?

Can you do <DocLink>/reference/data-formats#join-accept-messages</DocLink>

We could do that but I think we would need to restructure the docs a little for that. It should be possible to have a hashlink for every message type name, e.g. Successfully processed data message -> /reference/data-formats#successfully-processed-data-message or Drop data message -> /reference/data-formats#drop-data-message.


Lighting bug is still not resolved

The bug is still there

I wasn't sure what to do since that issue was closed #12  so I created a new one

even hinges are showing this glitch

trapdoors seems ok but doors have the glitch

Fixed in 2.0.0


Move docs to top level dir

Summary of the changes / Why this improves CrateDB
we have just added an "edit on GitHub" button to our docs theme. for this to work as the feature is currently implemented, the docs for each project must be located under docs/ at the top level of the repository
this PR swaps the docs symlink at the top level with the blackbox/docs directory. the end result is that the docs live at docs/ and all of the tests and scripts under blackbox/ continue to work
admittedly, it's a little awkward having to run ./blackbox/bin/sphinx dev to build the docs that live under ./docs, but this discrepancy will be gone once I get around to upgrading this repository to use the still-in-beta Crate Docs Utils (which will switch it to a Makefile based workflow so you can just cd into ./docs and run make dev)

@mechanomi we have buildDocs gradle task, isn't it usable?

@mechanomi we have buildDocs gradle task, isn't it usable?

it is. the Crate Docs Utils is a standard set of tools and a standard way of working with the documentation across all of our projects
when I bring it over to crate/crate, I will take care to update the buildDocs task so that it hooks into the same system and continues to work (just like how at the moment it hooks into the underlying Sphinx build tools)

addendum: what I mean to say is that at the moment, you can build the docs with the buildDocs task if you wish. or you can use the lower-level bin/sphinx command directly
with the introduction of the Crate Docs Utils, nothing much will change. you will still be able to use the buildDocs task. or you will be able to use the lower level make system (see https://github.com/crate/croud/blob/master/DEVELOP.rst#working-on-the-documentation for some info about what it looks like in practice)
the benefit here is that make dev is baseline functionality for every docs directory for every one of our public projects

which will switch it to a Makefile based workflow so you can just cd into ./docs and run make dev

I'm not really happy with introducing another build tool into this repo. The build system we've in place is already complicated enough as it is. Adding another build tool to our build will make things even more complicated.
I'd rather we find a way to integrate the docs utils we want in a way that integrates better with the existing tooling we have within this project.

the Makefile is just a fancy wrapper around the sphinx-build executable. we already have a wrapper around that tool, written in shell, at blackbox/bin/sphinx. so all we've done is change the language of the wrapper from shell to make
in fact, the Makefile sets up the Python environment necessary to run that executable. at the moment, we have a script called bootstrap.py to do that. so, in fact, we're going from two shell scripts to one Makefile
I've already written a fairly featureful integration for versioned stule guide linting (RST syntax, Vale style guides, etc) in make. I don't want to have to repeat that work in another language just for crate/crate and then maintain two separate versions of it. that doesn't seem like a good trade-off to me when the only benefit is that we avoid the use of make
hooking Gradle into the standard docs build interface the Crate Docs Utils provides should be very simple. and it's just as many layers of build indirection (i.e., three) as we had before
before:

Gradle ->
our custom shell script ->
sphinx-build

after:

Gradle ->
our custom Makefile->
sphinx-build

also, I should note: we don't have to solve this problem right now. I am nowhere near close to bringing the Crate Docs Utils to crate/crate. I am introducing it one project at a time, and I plan do do crate/crate last, once the wrinkles are ironed out
for the purposes of this PR, the only thing to note is that the build infrastructure for Sphinx still lives under blackbox/ -- which, even if the Crate Docs Utils do not land in crate/crate as set out above, still makes sense to me. everything works exactly as it did before

retest this please
> Task :blackbox:gtest

test_graceful_stop_concurrent_queries (test_decommission.TestGracefulStopDuringQueryExecution) ... FAIL

======================================================================

FAIL: test_graceful_stop_concurrent_queries (test_decommission.TestGracefulStopDuringQueryExecution)

----------------------------------------------------------------------

Traceback (most recent call last):

  File<EMAIL_ADDRESS>line 351, in test_graceful_stop_concurrent_queries

    self.assertEqual(errors, [])

AssertionError: Lists differ: [ProgrammingError('SQLActionException[ShardNotFoundException: no such shard]')] != []

First list contains 1 additional elements.

First extra element 0:

ProgrammingError('SQLActionException[ShardNotFoundException: no such shard]')

- [ProgrammingError('SQLActionException[ShardNotFoundException: no such shard]')]

+ []

----------------------------------------------------------------------

Ran 1 test in 40.430s

FAILED (failures=1)

> Task :blackbox:gtest FAILED


Get content raw media type

Hi, I'm using the get content api to get a specific file, however I have seen you can use a media type so that the raw file data is returned can you advise how I would use the media type in the call?
 github.repos.getContent({         owner: owner,         repo: repo,         path: path     }, function (err, res) {         console.log(err, res);     });

You can add an accept header to the params of the request, so:
github.repos.getContent({
    owner: owner,
    repo: repo,
    path: path,
    headers: {
        "Accept": "application/vnd.github.v3.raw"
    }
}, function (err, res) {
    console.log(err, res);
});

Many thanks that sorted it.

In case someone else comes along, it needs to be lowercase accept - example

@orta thanks for sharing and sorry you run into this :( I'm quite sure header names will become case insensitive via #742, I’ll make sure to add a test

Apologies for reviving this thread but I have a related question/issue:
Even though the raw content type is specified, the returned data.content is still stringified so it's unsuitable to use with binary data it seems. For example, if requesting an image, the binary data will be mangled.
Is there any way to get around this with octokit/rest? The only way I found was to set             mediaType: { format: "object" } and then un-base64 encode the returned content, which obviously is not optimal.
Otherwise, I may just fetch the raw data directly bypassing octokit/rest.
If anyone sees this and happens to reply, much appreciated! 🍺

Hey @andrewcarter, I think this is a legit problem. Could you please create a new issue to track it?

Done #1575! Thanks for the quick reply 🍻


add reverse mappings from value to name on enums exported from rust/wasm

This PR adds reverse mappings to enums exported from Rust, so that the string corresponding to a particular integer value can be obtained easily. This matches what TypeScript does for enums defined directly by TypeScript code.
I’ve updated the corresponding tests to take this into account.
This goes some way towards resolving #2045, albeit the approach is still a little different - I’ve kept the Object.freeze call that wasm-bindgen performs on its enums (whereas TypeScript does not seem to return a frozen object at all). Here’s an example of how they compare:
// TypeScript output
var Shape;
(function (Shape) {
    Shape[Shape["Circle"] = 1] = "Circle";
    Shape[Shape["Triangle"] = 3] = "Triangle";
    Shape[Shape["Rectangle"] = 4] = "Rectangle";
})(Shape || (Shape = {}));

// wasm-bindgen output
module.exports.Shape = Object.freeze({ Circle:1,"1":"Circle",Triangle:3,"3":"Triangle",Rectangle:4,"4":"Rectangle", });

Nevertheless, having reverse mappings still makes it more compatible with TypeScript code.

Sounds reasonable to me! CI thinks this may need a rebase though?

I am very confused - it's just one commit based off the current tip of the master branch, GitHub claims it's mergeable, and my other PR didn't have this issue (albeit it did fail on the rustfmt phase, which I've just fixed).
This page claims it can be fixed by closing and reopening the PR, so I suppose I'll try that... https://help.appveyor.com/discussions/problems/4830-stuck-on-appveyor-was-unable-to-build-non-mergeable

This has gotten further, but one of the jobs has failed with a SSL error involving fetching the crates.io index, which feels like it’s unrelated to the PR itself.
I’ve not used AppVeyor before; is there a way to fix this that doesn’t involve pushing an unnecessary new commit or doing another ugly close/re-open cycle?

Ah those are just spurious errors, no need to worry about them!


Model parameters being marked as orphan when using KFAC optimizer

I was trying to use KFAC optimizer to train the FermiNet, a well-designed PINN for solving atoms and molecules. But when I was trying to add the parity constrain to it, I noticed that some of the parameters was labeled as 'orphan', though the calculation was proceeding normally.
I wonder what 'orphan' means, and is this a normal circumstance? Could these parameters labelled as 'orphan' being updated while trainning normally? I mean even though it finally yielded a correct results, there still was a lot of normally-labelled parameters which ensured the model is trainable.
The following picture contains all my changes to FermiNet. I've only modified the networks.py file.

Thank you for your assistance !

That would be great! Thanks for your assistance!
Best,
Zixiao Zhang

------------------ Original ------------------
From: "James Spencer";
Date: 2024年9月24日(星期二) 晚上6:38
To: "google-deepmind/ferminet";
Cc: "Zack @.***>; "Author";
Subject: Re: [google-deepmind/ferminet] Model parameters being marked as orphan when using KFAC optimizer (Issue #80)

It's harmless; it just means KFAC is using a default for handling those layers rather than specialised algorithm (which are used if supported layers are detected -- see KFAC documentation and papers for more details).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


No such file or directory while signing APK

Python version: 2.7 (Venv)
Traceback:

[I] Aligning APK
[I] APK alignment verified
[I] Signing APK
Traceback (most recent call last):
File "apk_builder.py", line 197, in
sign_status = subprocess.check_output(["apksigner", "sign", "--verbose", "--ks", "appmon.keystore", "--ks-pass", "pass:appmon", "--out", signed_apk_path, aligned_apk_path])
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

I've followed this and installed everything menstioned here.

Path of apksigner is not added to the $PATH environment variable.  Follow the steps properly to fix it.

There's no mention of apksigner in the mentioned link for Setup on Android[Non Rooted]


Generate a cluster map based on dirents

Implement an option to generate a cluster map based on the location and size fields in dirents, while also un-deleting any deleted dirents. FATXTools already recovers files based on dirents when using the orphan analysis/metadata analyzer, so dirents should work well for this purpose.
Usually, when a formatted drive is received, the cluster map has been reset. This feature would effectively automate most of the busywork involved in the proper recovery of fragmented files, i.e. creating a new cluster map. Rather than having to set up an entire cluster chain manually to recover a file, only the fragments would need to be taken care of. This is likely a necessary prerequisite to #10 as the recovery of fragmented files would require the same busywork regardless of the existence of a cluster map editor.

Cluster chain's are already generated for any deleted dirent's. Deleted dirent's are assigned a generated cluster chain while active (undeleted) files retain their original cluster chains from the FAT.
https://github.com/aerosoul94/FATXTools/blob/de05bd5b283ed4590f2f06599aea7f97e08a8a75/FATXTools/Database/FileDatabase.cs#L214-L221
Just for further explanation, we can see here how the cluster chains are generated by FATXTools. For directories, its a bit more dangerous to assume anything about its cluster chain, so we only assign a single cluster using the dirent's FirstCluster field. As for files, we generate a cluster chain of contiguous clusters starting from FirstCluster using FileSize / ClusterSize as the number of clusters.
https://github.com/aerosoul94/FATXTools/blob/de05bd5b283ed4590f2f06599aea7f97e08a8a75/FATXTools/Database/FileDatabase.cs#L157-L173
Btw, I also added a cluster chain editor although at current state, I'll admit it is a little unstable and definitely needs more testing. It's purpose is to allow a user to virtually modify the cluster chain without touching the FAT in the hdd image. But you can access it by right clicking a file and then clicking Edit Cluster Chain.

That makes sense, not sure why I thought cluster chains weren't being generated. It's identical to what I've been doing manually, which is nice to see.
The idea behind opening this issue was to be able to save cluster map changes to the image in order to properly recover fragmented files, but that's not necessary anymore as the cluster chain can be generated/modified and have the changes saved without altering the image. (For reference, the last time I used FATXTools was when the only usable version was written in python, so I'm very out of the loop.)
That said, there is a potential use case for saving changes to the image, that being to restore a repaired version of an image to a hard drive. However, this is a very niche use case, and one I personally wouldn't use, so I understand if it doesn't get implemented. Up to you whether you want to pursue it; if not, this issue can be closed.
About the new cluster editor, I tested it and have a couple ideas for it, but will save those for a different thread. It works well enough at the moment, though.

Closing this. If anyone wants the aforementioned suggestion of saving changes to an image implemented, a new issue can be opened.


Alpha 141 seems have some bugs in arm macos

Hi,
I download version Alph 141 and installed in arm macOS.
But I can't start the app.
The App look like below and I can't terminate it (only use force to close it).
Someone have any idea about this issue?

Hi, I have the same behavior with the versions 139 and 140 on Apple M1.
It freezes directly after the start

Fixed in the nightly.


module added for websocket and polling for windows

seems login on windows needs the package installed.
tested on linux, seems not to beak tests

Testimages needs updates first

looks like we'd need <3.10 or so, for the time being?

I hope I catched it now, it is a problem in the test trying to install a package. The test docker image is fine, reverted the old state.


What is this?

I saw this on the awesome nvim repository and I am wondering what it does. Screenshot and better description appreciated.

thanks. updated da851d8


Example code is out of date?

Cannot find class mentioned in the example
125,256 results for "recovery services backup management client" in Azure SDK for .NET
We couldn't find any results matching "RecoveryServicesBackupManagementClient"

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

ID: 2f36ab87-a10d-8f30-35a7-1a7c02cee54c
Version Independent ID: b9180df8-0292-e2da-e052-b78a216c40fc
Content: Azure Recovery Services and Backup libraries for .NET - Azure for .NET Developers
Content Source: api/overview/azure/recovery-services.md
Service: backup
GitHub Login: @CamSoper
Microsoft Alias: casoper

Please can all example code include the namespaces of any classes used

Thank you for your feedback.  Tagging and routing to the team best able to assist.

@pratimaupadhyay02: can you please check this?

The class name is actually "RecoveryServicesBackupClient". We will update the example code to reflect the correct class name

Closing the issue as the PR is merged


Question: Plans to support loaned-messages shared-memory APIs?

Hi! I've running some ROS2 benchmarks on rmw_zenoh using the iRobot ros2-performance framework, and it looks promising. However I noticed the lack of support for loaned messages APIs like:
https://github.com/ros2/rmw_zenoh/blob/c76c9627ca8cf8c133124368f2f1ad06092b7027/rmw_zenoh_cpp/src/rmw_zenoh.cpp#L758-L767
It seems zenoh-c already supports shared memory: https://github.com/eclipse-zenoh/zenoh-c/pull/156, https://zenoh.io/blog/2023-06-05-charmander2/, which should be present in the version used on rmw_zenoh.
So I'm wondering what's missing to fully implement shared memory on ROS2 systems, and if there is a plan in the roadmap to do so? This feature is key for performant multi-process applications.

Hello @mauropasse, would you mind sharing the benchmarks results with us? Just for curiosity :)
In the meantime I'll check with the rest of the team regarding your question

So I'm wondering what's missing to fully implement shared memory on ROS2 systems, and if there is a plan in the roadmap to do so? This feature is key for performant multi-process applications.

We haven't prioritized loaned messages, mostly because they are disabled by default in Rolling and Jazzy (as they are currently unsafe to use).
At the moment, we don't have a plan to implement them, but it would be great to complete the API in this way.  If you are interested in looking into it, we'd be happy to review patches.  Otherwise, it will probably be a long-term goal.

Hi guys! I've been working on a PR https://github.com/ros2/rclcpp/pull/2624 that aims to re-enable the use of loaned messages on rclcpp.
It contains a unit test to verify correct memory handling when the last owner of the loaned message is either the:

User (storing messages beyond the subscription callback).
Subscription (storing messages until it is executed).
Publisher (storing messages for late joiner subscriptions).

By correctly memory handling I mean, memory should not be reused until all entities had returned the loans (all messages went ouf scope).
The test currently pass with CycloneDDS & FastDDS. I didn't test Zenoh since rmw_zenoh_cpp doesn't yet implement the loaned APIs.
My question is, supposing that the APIs were implemented, would Zenoh correctly handle the situations described above? Or that would depend actually on the implems on the missing APIs, described here https://design.ros2.org/articles/zero_copy.html
Besides that, are there any updates on using zenoh-c > v1.0.0, which comes with support for shared memory?


The neon buttons should have more color options rather than just green

Describe the solution you'd like
Add more classes to _neon.less.
And required examples should be added to the index.html as well.
Additional notes
Should at least have support for all the current color combinations.
Currently Working On It
Yes

I like the idea. Please work on it!


invalid binding！

After I added this style to the xaml file, my binding was invalid ...
After testing, I found that after removing the reference to the svg file, the binding worked again.
I think this is not the root cause, because I have loaded svg files on other pages, and this problem has not occurred. The reference to load the svg file is "http://sharpvectors.codeplex.com/svgc/"
program.txt

Are you sure this is a Stylet issue?
If you are, please provide the code necessary to understand your problem. I don't what "the xaml file" or "my binding" are.

Closing as no response


ZenMode.hideTabs set to false still hiding tabs

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:57:00.652Z)
OS Version: Linux x64 4.9.0-3-amd64
Extensions: none

Steps to Reproduce:

In settings, set     "zenMode.hideTabs": false,
Try to open multiple tabs at once in the same pane, see that only one tab can be open per pane.

Expected Behavior:

If zenMode.hideTabs is false, expect to be able to have multiple tabs open per pane.

EDIT: Restarting vscode after changing the zenMode.hideTabs settings fixes the issue. Unsure if warrants looking into.

@komali2 I can not reproduce this. Everything works fine for me even without a vscode restart.
Can you try reproducing with latest vscode insiders from here https://code.visualstudio.com/insiders/
Also make sure you do not have 	"workbench.editor.showTabs": false in your settings.


Is there an alternative method to restore MMS from Gmail account?

I find without this feature supported, It makes restoration of long, MMS-heavy conversations useless.
I can see all of the MMS messages on the Gmail account - is there another app/program/method to getting them onto a messaging app? Perhaps someone knows of an Android messaging app that supports restore from Gmail, I would consider changing from Android Messages to something else so I can restore these conversations..

I don't think there is, sorry!


Nested navigation Get.result doesn't work

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
Not getting the result when navigating back between children's pages.
Also, since the documentation for the nav2 is inexistent it became almost impossible to find a solution
**Reproduction code
example:
 static final routes = [
    GetPage(
      name: "/",
      page: () => const RootView(),
      participatesInRootNavigator: true,
      preventDuplicates: true,
      children: [
        GetPage(
          name: Paths.LOGIN,
          page: () => AuthenticationPage(),
        ),
        GetPage(
          name: Paths.HOME,
          preventDuplicates: true,
          page: () => const HomeView(),
          binding: HomeBinding(),
          showCupertinoParallax: false,
          transition: null,
          children: [
            GetPage(
              name: Paths.DASHBOARD,
              transition: null,
              showCupertinoParallax: false,
              page: () => const Dashboard(),
            ),
            GetPage(
              name: Paths.CALENDAR,
              showCupertinoParallax: false,
              page: () => const Dashboard(),
            ),
            GetPage(
              name: Paths.PATIENTS,
              preventDuplicates: true,
              binding: PatientsBinding(),
              transition: null,
              showCupertinoParallax: false,
              page: () => Patient(),
              children: [
                GetPage(
                  name: Paths.ADD_PATIENT,
                  preventDuplicates: true,
                  binding: NewPatientBinding(),
                  page: () => const NewPatient(),
                  showCupertinoParallax: false,
                ),
                GetPage(
                  name: Paths.EDIT_PATIENT,
                  preventDuplicates: true,
                  binding: NewPatientBinding(),
                  page: () => const NewPatient(),
                  showCupertinoParallax: false,
                ),
                GetPage(
                  name: Paths.PATIENT_DETAILS,
                  preventDuplicates: true,
                  binding: CustomerDetailBinding(),
                  page: () => PatientDetail(),
                  showCupertinoParallax: false,
                ),
              ],
            ),
            GetPage(
              name: Paths.MESSAGES,
              showCupertinoParallax: false,
              page: () => const Dashboard(),
            ),
            GetPage(
              name: Paths.EMPLOYEES,
              showCupertinoParallax: false,
              binding: EmployeesBinding(),
              page: () => Employees(),
              children: [
                GetPage(
                  name: Paths.ADD_EMPLOYEE,
                  page: () => const NewEmployee(),
                  binding: NewEmployeeBinding(),
                  showCupertinoParallax: false
                )
              ],
            ),
          ],
        ),
      ],
    )
  ];

I'm sent to the AppRoutes.ADD_PATIENT page but still I don't get the data back
  goToAddPatient()  {
    final result =  Get.rootDelegate
        .toNamed<bool>(AppRoutes.ADD_PATIENT);

    // result is null
  }

  void goBack() {
    Get.back(id: HomeNavKey.id, result: true);
  }

class RootView extends StatelessWidget {
  const RootView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: GetRouterOutlet(
        initialRoute: AppRoutes.LOGIN,
        key: Get.nestedKey(RootNavKey.id),
      ),
    );
  }
}

class LargeScreen extends StatelessWidget {
  const LargeScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(
          child: Container(
            color: foregroundLight,
            child: const SideMenu(),
          ),
        ),
        Expanded(
          child: GetRouterOutlet(
            anchorRoute: '/',
            initialRoute: AppRoutes.DASHBOARD,
            key: Get.nestedKey(HomeNavKey.id),
          ),
          flex: 5,
        )
      ],
    );
  }
}

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
I should get the result that I've sent back
Flutter Version:
3.0.2
Getx Version:
^4.6.5
Describe on which device you found the bug:
web
Minimal reproduce code
Provide a minimum reproduction code for the problem

I'll close this as I decided to move to Bloc as this package doesn't seem to be maintained anymore


Ingame area claiming mechanic

/config'able announcement when entering and export mechanic for claims map generation.
Probably implement a new field manager with adjustable size

As in, an option to just have certain snitches tell people when they enter the snitch field essentially?  Or are you envisioning a new block/tool?

It'd be a different block/snitch/whatever. This implementation of JukeAlert is very modular and only defines snitches as "blocks with some range", all functionality is loaded dynamically and config bound (which is also the reason for https://github.com/CivClassic/JukeAlert/issues/12). You'd only have to add one class, change the config and you could have some new blocks which announces claims

This looks like Dynmap but with extra steps.  From what I understand if you enter a snitch radius you would get a message saying you entered a certain territory but wouldn't that be generated from bastion fields instead ? And bastions themselves are pretty expensive to get and not any group can afford them, especially new players. An optional message when you enter a bastion field isn't a bad idea either.

So the idea I had forever ago is to use banners. If you name a banner [Claim] Icenia in an anvil and reinforce it, any player that enters 200 blocks within the banner will get a title screen of Entering Icenia. They also get a picture of the banner and its coordinates in chat.

this kinda goes against the original idea of civ, remember while the game has developed to be nations based. there is nothing forcing individuals to make nations of make claims, except for other nations.
:/


Entities on the many side of a one-to-many relationship fail to insert with composite key

In a @OneToMany relationship between two entity types, if the entity on the One side has a composite key, objects on the Many side fail on insert when persisting the entity on the One side.  Seems like it can't resolve the embedded ID when when creating the insert statement.  The error is something like:
ERROR insert into vehicle(make, model, "id") values ("Toyota", "Corolla", "com.site.entity.OwnerKey")
Here id is not a column name, but the Java field variable in the Owner entity:
@EmbeddableId
private OwnerKey id;
The "id" is not resolving to the column names specified in @JoinColumns, and the OwnerKey object is not resolving to its values.

Correction:
@EmbeddedId
private OwnerKey id;


replace pow with normal limit

Nobody can understand what the pow is. May be it would be better to replace pow with normal value? If widget it allows and it is not part of justgage.

You don't have to use the pows at all, the gradient behaves linear if you don't enter any values (same like 1,1,1). For me this is important for my temperature widgets as I want them with min/max 15/30 but the gradient should turn blue and red faster than linear (and blue even more faster than red).

figured out a more intuitive way to define the pows, please try 0.4.0

published 0.4.9


Abort sonarwhal execution if a resource dependency is missing

Fix #1014

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[ ] Added/Updated related tests.

Short description of the change(s)

@sarvaje there are some errors running the tests with resource-loader. Can you please take a look?

sure thing!

@molant done!


[WIP]: create minimal for centos-7.1

This MR is intended to be accepted as a newly maintained branch, consisting of minimal, headless builds.

Started with centos-7.1, did the following:

turn into headless builder
change mirror
update build version

Thanks Pull-request. There is also a thing that came out the official box, the purpose of this repository is considered to be achieved .
We recommend Fork.


Resolve issue with insufficient access for updates - issue 2063

@itsmesamster looks very promising. Very good findings! I will try to test it until end of the week and we can merge it. Please switch it to "ready" mode if it's ready.


Add header to upstream server for external authentication

fixes #1429

This change is

Coverage decreased (-0.05%) to 43.674% when pulling 8fc6101d3ba11a1117d211bdac6104dab7af8eeb on aledbf:master into 7d4cd1ba27e664c1289fdf00b92a5f4fbbc20acd on kubernetes:master.


Mod incompatibility with Mirror Decor

Hi !
As the title says,
When HostFixes 1.0.1 or 1.0.2 is installed, the mirror from MirrorDecor don't spawn when you buy it.
It works fine with HostFixes 1.0.0 though.
Thx for the mod, hope you'll be able to look into it.

Fixed in 1.0.3.


CUDA error: device-side assert triggered during stability_selection

I found that on occasion, stability selection will trigger CUDA error like below:
self.criterion(model(X_val), y_val).item()
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Could this be due to the use of validation sets? This error often occurs in the middle of stability-selection process at random number of trials (e.g. sometimes it fails at 40/100, others it fails at 80/100...).

I have absolutely no idea. Stability selection shouldn't have anything to do with that error. Maybe try to update pytorch to the latest version?

Hey @louisabraham I've tried updating to the latest version, but this error still occurs randomly.

Traceback (most recent call last):
File "...", line --, in eval_LassoNet
oracle, order, *_ = lassonetModel.stability_selection(X, y, n_models=100)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../lib/python3.11/site-packages/lassonet/interfaces.py", line 569, in stability_selection
paths = [
^
File ".../lib/python3.11/site-packages/lassonet/interfaces.py", line 570, in
self._stability_selection_path(X, y, lambda_seq)
File ".../lib/python3.11/site-packages/lassonet/interfaces.py", line 531, in _stability_selection_path
return BaseLassoNet.path(
^^^^^^^^^^^^^^^^^^
File ".../python3.11/site-packages/lassonet/interfaces.py", line 411, in path
self._train(
File ".../python3.11/site-packages/lassonet/interfaces.py", line 266, in _train
best_val_obj = validation_obj()
^^^^^^^^^^^^^^^^
File ".../lib/python3.11/site-packages/lassonet/interfaces.py", line 260, in validation_obj
self.criterion(model(X_val), y_val).item()
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Could you re-run your script with the environment variable CUDA_LAUNCH_BLOCKING and report the stack trace?
The command would look like CUDA_LAUNCH_BLOCKING=1 python script.py  and we would want to check the failing operation in the reported stack trace.

okay

https://builtin.com/software-engineering-perspectives/cuda-error-device-side-assert-triggered

I re-ran my code and this time it didn't return any error, lol. This seems like a random error that occurs

My uneducated guess is that is could be due to an out-of-bound indexing error (not static, but data-dependent, hence the "random" failures you observe).
Besides my previous suggestion, another thing you could do is run the code on CPU and try to catch the same error.

Yes，I will try that (Makes sense!!)


The "move" action deletes the original file even if it failed to be added to the cache

When adding a file to the cache and using the "move" action the original file disappears if the file can't be added to the cache if the cache is busy.
Steps to reproduce:

Attempt to add many files to the cache using the "move" mode in parallel
Try to access files that failed to be added to the cache because it was busy

Workaround:
Use the "copy" action, delete original file if successfully added. Not ideal as when dealing with many large files in parallel this could lead to large amounts of temporary data duplication, it is also much slower than a "move" action.

not sure if this is still relevant after many changes that happened to the repo. But feel free to provide an MRE of this issue if it still persists. Closing this for now.


Add support for @Docker annotation on one test

Something like
@Test
@Docker(…)
public void myTest() {
    // […]
}

Is it closed by #94 or do we still want to allow annotations per tests (with multiple annotations it could be useful…)

Not close by #94, we still want to be able to add a @Docker annotation on one test.


laravel or other PHP (composer?) Starter Template

We'd love to have a laravel (or other PHP) starter template.
Recommended approach and best practices for creating a starter template - (coming soon with https://github.com/dagger/dagger/issues/2642 )

#2620 related

I think it would be great to have templates for Composer, Laravel and Symfony.

Closing until we work on extensions again


Brackets in species folder names

Some of the accepted scientific names (from GBIF) will have brackets and other irritating characters in them. This is a problem as our model output folders are named after the accepted scientific names, and having brackets and periods in folder names can cause trouble for some operating systems. Need to devise a workaround for this!

Solved in the recent debug2023-11 PR


Adding transitions to buttons (#6331)

Changes proposed
added the following CSS "transition duration-300 ease-in-out" to the className of the Button component
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

I will be closing this Pull Request as the Issue this relates to has already been assigned to someone else: https://github.com/EddieHubCommunity/LinkFree/issues/6331
I would suggest you read through our Contributing Guide: https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
This explains why it is important to ensure that an Issue is assigned to you before you create a Pull Request - so that we avoid the time and work you have spent on it not being used.


cupy/cuda/cudnn error: integer required

My Ubuntu 14 environment is set up properly. I can run this program using the CPU but I get this error when I choose to use my CUDNN compatible GPU:
Traceback (most recent call last):
File "generate.py", line 31, in
y = model(x)
File "/home/user/chainer-fast-neuralstyle-master/net.py", line 55, in call
h = self.b1(F.elu(self.c1(x)), test=test)
File "/usr/local/lib/python2.7/dist-packages/chainer-1.16.0-py2.7-linux-x86_64.egg/chainer/links/connection/convolution_2d.py", line 101, in call
x, self.W, self.b, self.stride, self.pad, self.use_cudnn)
File "/usr/local/lib/python2.7/dist-packages/chainer-1.16.0-py2.7-linux-x86_64.egg/chainer/functions/connection/convolution_2d.py", line 318, in convolution_2d
return func(x, W, b)
File "/usr/local/lib/python2.7/dist-packages/chainer-1.16.0-py2.7-linux-x86_64.egg/chainer/function.py", line 197, in call
outputs = self.forward(in_data)
File "/usr/local/lib/python2.7/dist-packages/chainer-1.16.0-py2.7-linux-x86_64.egg/chainer/function.py", line 309, in forward
return self.forward_gpu(inputs)
File "/usr/local/lib/python2.7/dist-packages/chainer-1.16.0-py2.7-linux-x86_64.egg/chainer/functions/connection/convolution_2d.py", line 103, in forward_gpu
(self.ph, self.pw), (self.sy, self.sx), x.dtype)
File "/usr/local/lib/python2.7/dist-packages/cupy-1.0.0-py2.7-linux-x86_64.egg/cupy/cudnn.py", line 101, in create_convolution_descriptor
desc.value, pad[0], pad[1], stride[0], stride[1], 1, 1, mode)
File "cupy/cuda/cudnn.pyx", line 348, in cupy.cuda.cudnn.setConvolution2dDescriptor (cupy/cuda/cudnn.cpp:3986)
TypeError: an integer is required

might be the chainer lib you're using isn't compatible with cuDNN installed.
try downgrading the chainer lib. I'm using cudNN-8.0 v6 so that i'm using chainner 1.22.0
pip install 'chainer==1.22.0'


3 add basic code quality settings black ruff pyright

Added settings for code quality tools to pyproject.toml (black, ruff, pyright).
Also added settings for sourcery (sourcery.yaml)
However, deactivated most rules for now.
This way we can active them step-by-step to (step-by-step..) improve code quality.
Formatted all code with black.

Pulled down the branch. All tests ok, also cli working as expected


大佬，可以给个联系方式吗，对于这个项目有些问题希望可以请教您

No description provided.

<EMAIL_ADDRESS>

hi，I just wanna run the demo_test, but ,here are some problems.
RuntimeError: Error in faiss::(anonymous namespace)::FileIOReader::FileIOReader(const char *) at index_io.cpp:136: Error: 'f' failed: could not open ./index_lib/grid_populated.index for reading: No such file or directory
so could you please give me your  ./index_lib/grid_populated.index.
Thanks!