Is "long" necessary in FYPO:0003787 term name

Maybe this is a pedantic request. see PMID:26031557 for more info.
They show that there are two kinds of protrusions in the spindle.

Long and long-lived: these are likely minus end protrusions (not labeled by GFP-Mal3), and therefore less dynamic.
Short and short-lived: these are likely plus end protrusions (labeled by GFP-Mal3), and therefore more dynamic.

In PMID:26031557 they show that removing cut7 (the kinesin that slides microtubule during metaphase) gets rid of the long lived protrusions, but not the short ones. The interpretation here would be that:

Minus end protrusions in pkl1D cells are caused by cut7 sliding the microtubules beyond the spb, since microtubule minus ends are not anchored to the spb.
Plus ends protrusions in pkl1D cells are simply microtubules that can grow beyond the SPB. This is allowed because pkl1D is not there to focus the pole, and does not require cut7D.

So the pkl1D cut7D is a partial rescue in which cells no longer have the long-lived long-lengthed minus end protrusions that they have in pkl1D. There would be a need to name this phenotype. It's a bit convoluted, but it's a rescue of some of those protrusions, so probably important to understand the function of the proteins.

Not at all if they are different phenotypes we can add them. I might not be able to do logical definitions!

I agree, I think I requested for wdr1/msd1
we had some discussion about it before
https://github.com/pombase/fypo/issues/2003
I will remove "long"

They can still be a child of long microtubule, though, I think

what if:

[ ]  I add a comment to FYPO:0003787  long mitotic spindle microtubules protruding beyond spindle pole body
"these microtubules  protrusions are usually  long-lived and  are likely minus end protrusions, and therefore less dynamic"

[ ] add a new term
" short mitotic spindle microtubules protruding beyond spindle pole body"
-with parent "nuclear envelope protrusion present during mitosis (FYPO:0003788)"
and comment "these microtubule  protrusions are microtubules that can grow beyond the SPB, are therefore plus-end and usually short lived".

[ ] review the existing annotations to FYPO:0003787

@manulera  does that work?  If not please suggest refinements. I'm trying to keep anything out of the phenotype for now that could not be  always directly inferred  from the data, but if it is always obvious we could transfer some of this to the
term label

Hi @ValWood. I don't think we should do that. Both scenarios are caused by long microtubules, even if the protrusions are of different length (both terms should still be children of long microtubules). I think what can be done to also keep FYPO:0003787 annotations correct is to:

Remove "long" from term name in FYPO:0003787
Add two children

Long-lived mitotic spindle microtubules protruding beyond spindle pole body
Short-lived mitotic spindle microtubules protruding beyond spindle pole body

It could also be "Long long-lived mitotic....", but it feels a bit weird to say long long-
What do you think?

ah OK got it, I misunderstood. I will add in next round of edits.

This may require some discussion


Emmet too active in javascriptreact files

VSCode Version: Version 1.24.0 (1.24.0)
OS Version: macOS 10.13.4 (17E199)

Steps to Reproduce:

Open a new file, set language to javascriptreact.
Add the following code:

const arr = [1, 2, 3]
const i = 0

arr[i|]

The location where the pipe is, after typing the i, the suggestions will appear, and the top suggestion is Emmet.

Does this issue occur when all extensions are disabled?: Yes

Fixing this would require us to parse the file and figure out if the current position is js or html which we cannot do at the moment. Keeping this issue open to track all further issues around emmet and js

@rzhao271 I don't mind that Emmet suggests. It's just that it's always above the TypeScript suggestions, and I often pick it on Enter. Can we do something about that?

I can't get my styled components to work because of this bug.  But the workaround doesn't work either.

Until then, I would suggest to set emmet.showExpandedAbbreviation to inMarkupAndStylesheetFilesOnly when you are doing purely js work.

Pair that setting together with emmet.triggerExpansionOnTab to true and you can tab once to complete whatever autocomplete is suggesting, and tab again to expand the emmet abbreviation for jsx files. This is the behavior I personally was looking for.

I'm merging the original issue with https://github.com/microsoft/vscode/issues/138461.
For the styled-components issue, I'll track it in https://github.com/microsoft/vscode/issues/142302.

Reopening this issue as a catch-all.


Update Dependencies

Updated maidsafe_utilities and safe_crypto dependencies.

Added GithubCI workflow:
https://github.com/ekutt/socket-collection/runs/484719057?check_suite_focus=true


Simplify the logging in pekko CI tests

The pullRequest CI workflows log SO much information to stdout (over 15k) lines such that it is very difficult to identify where the source of a failure is.
For example:
https://github.com/apache/incubator-pekko/actions/runs/4818338277
There are multiple Error messages, though some of these are for tests that want to generate errors.
The actual error is found by searching the logs for ** FAIL.
Can we improve observability here by reducing the amount of solution logs that are output to CI terminal? We could extract full logs to a cache file. When a failure is encountered for a specific test, the log output should show  :  , see logs in .txt for more information.
Obviously we want to take care not to affect solution logging here.

(( related PR: separate compile and 'test' steps in the PullRequest workflow: https://github.com/apache/incubator-pekko/pull/300 ))


Rename the weaveed file?

Is it possible to rename the weaved file when using the weave function?
Suppose my original file is a plain index.md file,  and I want to render it into a ZZZ.tex file, using weave.
I've tried to achieved this via the out_path option, i.e., out_path = ZZZ.tex, but it doesn't work.
Any suggestions?

Yeah, I found out_path option is currently just specifying the output directory; we need to modify:
https://github.com/JunoLab/Weave.jl/blob/b5ba227e757520f389a6d6e0f2cacb731eab8b12/src/Weave.jl#L246-L247

This bug has broken the Weave implementation in the VS Code Julia extension (see https://github.com/julia-vscode/julia-vscode/issues/1683#issuecomment-788898402). I had a quick look in the code, and it would be a simple case of modifying https://github.com/JunoLab/Weave.jl/blob/b5ba227e757520f389a6d6e0f2cacb731eab8b12/src/Weave.jl#L247 to give the proper out_path.
But I am not sure if this breaks existing behavior that relies on this bug. Do you guys want me to create a PR?

Yes please. Worst case we could release this as a new major version, but I don't think that'll be necessary.


ci: docker cache

Codecov Report

Merging #9 (1785284) into master (1c82ff7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8        10    +2
  Lines          140       161   +21
=========================================
+ Hits           140       161   +21

Impacted Files
Coverage Δ

kanon_api/core/ephemerides/sun.py
100.00% <0.00%> (ø)

kanon_api/core/ephemerides/utils.py
100.00% <0.00%> (ø)

kanon_api/core/ephemerides/tables.py
100.00% <0.00%> (ø)

kanon_api/units.py
100.00% <0.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 1c82ff7...1785284. Read the comment docs.


1x points on OBDII

I am having a problem with the OBDII showing 1x points instead of 2x.
See below screenshot for info

Looks like its fixed in update. Closing


Split PS and RocksDB part of TiFlash

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
In the previous PR, we have not split ps and rocksdb thoroughly, due to some difficulties in handing unused imports and duplicate impls.
We fixed this in this PR.
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-pull-unit-test

/run-unit-test

/run-unit-test


error on nms

When I test the nms use  test_nms in test folder.
the error is invalid device function on the code  inds = nms_ext.nms(dets_th, iou_thr) on 54 line.
But there is no error when I use the python setup.py develop or pip install -v -e .
So anyone meet the same problem.

Please follow the Error report issue template.

Please follow the Error report issue template.

I have solve the problem Thank you


Does not update the model. No errors.

All chosen lements are visible, selecting works good, but model does not update.
Model is empty.

StackOverflow
plunkr demo

nothing to do with the plugin... pure angular... you should read up about  prototypal inheritance
https://github.com/angular/angular.js/wiki/Understanding-Scopes
and the solution: (just use $scope.someModel.search_bar instead of $scope.search_bar)
http://plnkr.co/edit/lWHeQumjRVyTOdLW9tI4?p=preview

Thanks,
Sorry for that)


GCM for  IOS

GCM allow to send notification to ios devices but need to add notification key intead of data or just use both, theres is a way to extend the ZendService\Google\Gcm\Message and override the toJson method.
Or another walk around

I think that if you can change  ZendService\Google\Gcm\Message toJson method to check if a notification property is set inside or outside of data resolve the problem

I have the same issue, please how we can to add the key "notification" for IOS GCM.
For IOS when you send a GCM message needs a notification key like this:
$notification = array(
        "title" => $title,
        "text" => $message,
        "vibrate" => 1,
        "badge" => 0,
        "sound" => "default"
    );

$GCMData = array(
        'registration_ids' => $ids,
        'notification' => $notification,
        'data'=> $customData
    );

@luisalvarez , @moffa90 have you considered to use [APNS](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/apns-adapter.md instead)?

@luisalvarez If you have last version 2.3.*, you can insert in message options your data notification for iOS:
$message = new Sly\NotificationPusher\Model\Message(
  'your_message_will_display_in_data',
  ['notificationData' => $notification]
);

It seems like closed by the answer above.


Solved the problem of product id as text leads to crash

Description

Solved the problem of product id as text leads to crash using if statement
Resolved or fixed issue: #1960
Affirmation

[x] My code follows the CONTRIBUTING.md guidelines

This fix would break one of the NoSQLi challenges. You can verify this by running the tests locally, see https://pwning.owasp-juice.shop/part3/contribution.html#testing.

Please check https://github.com/juice-shop/juice-shop/issues/1960#issuecomment-1419655847 before continuing.

Closing this PR as any valid solution would need to take all aspects mentioned in #1960 into account.


Developer should be able to import the tool in other java based projects

As a developer
I want to be able to import the tool in other java based projects
Because I need it to automate the comunication between my project and this tool

Right now packages are being publish within the GitHub Packages repository. But the integrity of the packages is not correct. When trying to import them, they are empty. Next step, would be to try to generate a package from gradle locacally. And then, propagate the same configuration to the CD environment (GitHub Actions).


.github: Create codeql.yml

We have CodeQL enabled but currently only configured to run post-merge: https://github.com/ossf/allstar/blob/a10a639218f8d99f499ecaa227c345c0fa10eea2/.github/workflows/postmerge.yaml#L10-L34

https://github.com/ossf/allstar/pull/533/checks?check_run_id=26964402825 can be ignored, since that config block was removed in this PR.


Strange reported value for Price-BTC/USD-6 in bridgekcc_poller_1

Price-BTC/USD-6 >< drTxHash: 4b777ad7027e3d09c34862e9eb637e702dd22f9bf8528e0f5b0680021f3fb358, latestError: "WitnetDecoderLib: Tried to read `uint64` from a `Witnet.CBOR` with majorType != 0" after 756 secs

Probably not a big deal and the issue is only that this is not a value but an error. But then the logging is not very helpful.

Exactly. According to WitnetExplorer (see https://witnet.network/search/4b777ad7027e3d09c34862e9eb637e702dd22f9bf8528e0f5b0680021f3fb358), there was an InsufficientConsensus error, which is codified w/ two float parameters, which is not supported by the WitnetDecoderLib at the moment.

Thanks. Closing!


Page is older version of an identical page elsewhere in the documentation

It looks like an older version of this page: https://docs.microsoft.com/en-us/dotnet/csharp/methods.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: de0ee481-866a-602c-a6af-287fe125b04c
Version Independent ID: 2558e84e-4be6-5136-0d2b-5788dd9eb799
Content: Methods (C# Programming Guide)
Content Source: docs/csharp/programming-guide/classes-and-structs/methods.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for pointing this out, @elgonzo. @BillWagner, it seems that these are identical topics that have been revised independently of each other. I've created a project to track such instances of duplication.


Validating optional strings in Validate() func

Addresses issue raised in #65 by validating optional string fields.

👍 Thanks.


Corrected behaviour when no feature set context is present

Perhaps there should be some unit tests to cover this functionality

Looks fine


Unable to build documentation using default Sphinx selection

When running sh build_docs.sh, am finding the the following error (MacOS Ventura):
Theme error:
An error happened in rendering the page develop.
Reason: UndefinedError("'style' is undefined")
Digging a bit, seems to be due to incompatibility with Sphinx 7.0 as found in [this kivy issue].(https://github.com/kivy/kivy/issues/8230#issuecomment-1563403392)
To fix, modified the docs/requirements.txt to specify sphinx==6.2.1 as they suggest

Created PR 60


Increase base upper bound to 5

It compiles with ghc-8 according to http://hydra.cryp.to/build/1781445/log

hruby seems to built alright in ghc-8 (see hydra link).
I guess it is alright to jump directly to 5 (more and more packages seems to adopt that scheme). What do you think ?

:+1:


Sync eng/common directory with azure-sdk-tools for PR 8053

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8053  See eng/common workflow

/check-enforcer override


Timezone Issue US area code 623

http://libphonenumber.appspot.com/phonenumberparser?number=6235529111&country=US
Location:   Arizona
Time zone(s):   [America/Denver]
Timezone should be America/Phoenix.
Denver observes daylight savings time but Phoenix does not.

@aaronjwhiteside
Thanks for taking the time to improve libphonenumber!
We've accepted this issue.
We auto-generate the timezones, so we'll see if we can make a generic fix to this case.
(will take some time- just to manage expectations).

Any update on this issue?

We're working on it. We'll update this thread when it's released.

Fixed in release 8.3.1.


turnContext should be used as parameter for qnaMaker.getAnswers

getAnswers method should be called like this: await this.qnaMaker.getAnswers(turnContext) not with turnContext.activity.text as parameter.

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

ID: 2963321c-6720-be8f-aba6-225960eba1b3
Version Independent ID: bff968a7-33a8-bc53-b08b-6c17d672c3cd
Content: Use QnA Maker to answer questions - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-qna.md
Service: bot-service
Product: bot-framework
GitHub Login: @ivorb
Microsoft Alias: v-ivorb

Hi Marek,
Thank you for your feedback. Our sample code had been corrected to reflect this, but the NodeJS example in our documentation was not updated to reflect this change. I will correct it now and you will see the corrected call the next time we update the docs. Thanks for helping us make our documentation better!


Add volume rebalance/distribution feature in case of scaling up cstor pool nodes.

For a given SPC, we can increase the pool count by increasing the maxPools field on SPC.
After we increase the maxPool field and add a capable node that satisfies the constraints to create the pool, pool will be created on the node.
But currently, volume re-balancing is not supported to utilise the added capacity.
The roadmap is to support this feature for CSPC based pools.
More context here :
As of now, whenever a PVC request is made the CStorVolumeReplica(CVR) CR gets created and assigned to CStorPoolInstance(CSPI) in a random fashion but ensures that no two CVRs gets place in the same CSPI.
This assignment job is currently done via the CVC operator.
This puts restriction as there is no way one can set policies for the CVRs(volumes) to get placed on the CSPI(pools).
Also there is no way to know whether a CSPI is disqualified or not capable to holding the CVR and if a CVR ends up in such an CSPI the volume will be rendered useless.
If there a separate controller the takes the job of binding the CVR to a CSPI -- then various policies can kick and the best CSPI could be assigned to a CVR. Let us call this operator/controller as CVR Scheduler as of now.
This CVR Scheduler should keep watching the CVR and bind it to correct CSPI depending on the policies set for the particular CVR.
This can also help simplify and achieve the volume migration and overprovisioning restriction features.
Here is a link for the overprovisioning issue :
openebs/openebs#2855
Description

Context

I want to add more stateful workload but the current node count on my cluster is not able to suffice the need. So I want to add more nodes( say it, storage nodes ) to be able to suffice the need of increased stateful workload.
Possible Solution

One of the possible solution would be to have a re-balance of volume or volume distribution that can help to pick the unused cstor pool.

Now that we migrated the cStor to CSPC based schema, we will be revisiting the design that was started earlier with older schema.


Get rid of hash function in MapOf factory functions

Also upgrades library version to v3

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (92b8269) 93.69% compared to head (5798741) 97.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   93.69%   97.37%   +3.68%
==========================================
  Files           9        8       -1
  Lines        1252     1143     -109
==========================================
- Hits         1173     1113      -60
+ Misses         74       25      -49
  Partials        5        5

Files
Coverage Δ

map.go
97.33% <100.00%> (ø)

mapof.go
96.76% <100.00%> (+0.89%)
:arrow_up:

util.go
100.00% <ø> (ø)

util_hash.go
92.85% <92.85%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CAShapeLayer Animation example?

Hi,
Great module, been using it lots.
I want to create a circular countdown for my app without using bitmap images. Could the CAShapeLayer Animations do this?
This is the kind of thing I want to do:
goo.gl/qJzoPC
Have you got any examples using arcs etc.?
Thanks.

Hi @garycrook ,
plz checkout the Tibezier module.

Wow, you are THE MAN!!
Thanks.


ADX request queing policy documentation insufficient

Technology: Azure Data Explorer
Repo: https://github.com/MicrosoftDocs/dataexplorer-docs
Document: data-explorer/kusto/management/request-queuing-policy.md
Please add the following information:

What is the predefined short period of time for which requests are queued?
Is there a maximum queue size?
Is the queue size and avg wait time of queries in the queue part of the ADX diagnostics?

@chriswue
I've delegated this to @shsagir, a content author, to review and share their valuable insights.


nft-1110

Adds support for $WELT.

This should resolve only to POLYGON_WELT for Polygon Mainnet.
For all other chains, this PaymentToken should evaluate to SENTINEL.

Adds $RENT.

This should resolve to SENTINEL for all chains (unreleased).

Bumped SDK minor version.
Uses scale of 18.
Removed dead code.

LGTM!

lgtm


Arenas and Leagues

I'm about to submit a pull request for the new arena images but I need to know a couple of things.

shouldn't we avoid using the single quote ' character in the idName of pekka's-playhouse and builder's-workshop
are you planing to add the new "Leagues" to the arenas or do you want to create a new route for them?

Available Arenas
barbarian-bowl
bone-pit
builder's-workshop
frozen-peak
goblin-stadium
hog-mountain
jungle-arena
legendary-arena
pekka's-playhouse
royal-arena
spell-valley
training-camp
Available Leagues
blank
challenger-ii
challenger-iii
champion
chellenger-i
grand-champion
master-i
master-ii
master-iii
ultimate-champion

Hi!
Right now, let's just keep using the ' character, but I'll take it into consideration in the next update.
For the leagues, I haven't thought which is the best way to implement it, please add the images in a different folder named Leagues, as I think I will implement a new endpoint for the leagues.
Thanks again for all your work!

Done, sorry about the duplicate "card images" pull request, couldn't sync fork :/
I'll try to figure it out before next commit.
did you get the new card info yet?
I need an updated api/cards JSON (offline will do) for something I'm working on

Done, https://github.com/martincarrera/clash-royale-api/pull/47
Arenas were updated and I added the leagues folder too.

Thanks for all your work! It´s amazing!


Raise Patch::MissingTargetException when trying to replace a key inside a missing parent

It was previously raising an undefined method '[]=' for nil:NilClass exception.
I also added some more test cases to check that OutOfBoundsException and IndexError are raised.

Great, thanks for your work! Should these tests be ported to json patch tests so that other implementations can benefit? These don't look necessarily Ruby implementation specific to me.

Oh, good point! I think the main one is the "missing parent" test, which causes the crash in hana:
    { "comment": "test replace with missing parent key should fail",
      "doc": {},
      "patch": [{"op": "replace", "path": "/missing_parent/key", "value": false}],
      "error": "replace op shouldn't replace in object with missing parent key" },

I'll send a PR to them as well.

Submitted over there: https://github.com/json-patch/json-patch-tests/pull/37
I think these Ruby Error test cases could also have some value, though. In my app, I'm rescuing Hana::Patch::Exception so that I can return a nicer error to the client, so it's good to know all the places where an error is being raised.


Catalog traefik binary

What would you like to be added:
An additional file classifier which finds traefik binary.
Why is this needed:
traefik is widely used.

pullCount : 1B+
starCount : 2.8K+
from https://hub.docker.com/_/traefik

traefik will be installed without a package manger in container env with official image.
We want to be able to catalog this.
$ syft -q traefik:3.0 | grep traefik
github.com/traefik/paerser                                         v0.1.9                                 go-module
github.com/traefik/traefik/v2                                      v0.0.0-20221207162604-e54ee89330a8     go-module
github.com/traefik/yaegi                                           v0.14.3                                go-module
$ docker run -it --rm traefik:3.0 traefik version
Version:      3.0.0-beta2
Codename:     beaufort
Go version:   go1.19.4
Built:        2022-12-07T16:32:34Z
OS/Arch:      linux/amd64

Additional context:
cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* is used in NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-46153
EOL
Releases - Traefik

DOCKER OFFICIAL IMAGE : traefik:3.0
# which traefik
/usr/local/bin/traefik

# traefik version
Version:      3.0.0-beta2
Codename:     beaufort
Go version:   go1.19.4
Built:        2022-12-07T16:32:34Z
OS/Arch:      linux/amd64

# strings /usr/local/bin/traefik | grep '3\.0\.0'
[::1]:53[:word:][]Event{[]Lease{[]PodIP{[]Taint{[mapKey][signal "13.0.0""3:04PM""DELETE"
3.0.0-beta2
vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go
vendor/golang.org/x/text/unicode/norm/tables13.0.0.go
vendor/golang.org/x/net/idna/tables13.0.0.go
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
DOCKER OFFICIAL IMAGE : traefik:2.9
# which traefik
/usr/local/bin/traefik

# traefik version
Version:      2.9.6
Codename:     banon
Go version:   go1.19.4
Built:        2022-12-07T14:17:58Z
OS/Arch:      linux/amd64

# strings /usr/local/bin/traefik | grep '2\.9\.6'
2.9.6

DOCKER OFFICIAL IMAGE : traefik:1.7
$ ./traefik version
Version:      v1.7.34
Codename:     maroilles
Go version:   go1.16.12
Built:        2021-12-10_04:59:22PM
OS/Arch:      linux/amd64

$ strings traefik | grep '1\.7\.34'
v1.7.34

DOCKER OFFICIAL IMAGE : traefik:windowsservercore-1809
Sorry, I  was not able to check this case...

Thanks @witchcraze -- added this to the backlog and of course, PRs are welcome!


Add 'how many units are affected?' to the product page

https://trello.com/c/rjd0MTN9/203-5-add-how-many-units-are-affected-to-the-product-page
Description

Add :affected_units_status, :number_of_affected_units fields to products table.
Add units affected question on the product form below the counterfeit question.
Show answer on summary pages
Add tests

##Screenshots

Checklist:

[x] Have you documented your changes in the pull request description?
[ ] Does the change present any security considerations?
[ ] Is any gem functionality overloaded? Eg: Devise controller methods being overloaded.
[ ] Has acceptance criteria been tested by a peer?
[ ] Has the CHANGELOG been updated? (If change is worth telling users about.)

General testing (author)

[ ] Test without JavaScript
[ ] Test on small screen

Accessibility testing (author)

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable CSS - does content make sense and appear in a logical order?

spotted couple issues

When invalid value such as non-numeric  is submitted, it doesn't throw validation error.Expected to throw error message I think( Toby to confirm)
Add/edit product  - select exact and enter 4 , submit form, it returns validation error. suppose to accept and continue.


Unused update/patch verbs in EG RBAC

Description:
EnvoyGateway RBAC in helm chart contains unused update & patch verbs for the following resources:

gateway.envoyproxy.io.envoyproxies
gateway.envoyproxy.io.envoypatchpolicies
gateway.envoyproxy.io.clienttrafficpolicies
gateway.envoyproxy.io.backendtrafficpolicies
gateway.envoyproxy.io.securitypolicies
gateway.networking.k8s.io.gateways
gateway.networking.k8s.io.grpcroutes
gateway.networking.k8s.io.httproutes
gateway.networking.k8s.io.referencegrants
gateway.networking.k8s.io.referencepolicies
gateway.networking.k8s.io.tcproutes
gateway.networking.k8s.io.tlsroutes
gateway.networking.k8s.io.udproutes

Is it on purpose? maybe a preparation for future finalizers usage?
[optional Relevant Links:]
https://github.com/envoyproxy/gateway/blob/main/charts/gateway-helm/templates/_rbac.tpl#L74-L75
https://github.com/envoyproxy/gateway/blob/main/charts/gateway-helm/templates/_rbac.tpl#L106-L107

update is used to update the Status  subresource, unsure about patch
reg finalizers, we only have it for the GatewayClass

@arkodg there are separate rules for Status subresource:
https://github.com/envoyproxy/gateway/blob/9081d82e0b3e0d2c21b36355029eb8dd4126fe18/charts/gateway-helm/templates/_rbac.tpl#L79-L88
https://github.com/envoyproxy/gateway/blob/9081d82e0b3e0d2c21b36355029eb8dd4126fe18/charts/gateway-helm/templates/_rbac.tpl#L110-L122

ah thanks for finding that, looks like this issue will need some triaging, maybe we can remove above verbs and see how we do in the conformance test

@arkodg I can open a PR. can you assign me?


feat(04-01): Add section on ZK and AnonAadhaar

Added a section on a ZKP version of Aadhaar. I think it is important to highlight some of the novel systems only possible with recent advances in ZKPs, that combine the best of both worlds of traditional digital identity systems and modern crypto-native systems.

Thanks! I agree, to integrate it better would require more substantial changes.
Done: https://github.com/pluralitybook/plurality/issues/520


[BUG] CLI fails with Glue catalog because of missing URI

Apache Iceberg version
0.5.0 (latest release)
Please describe the bug 🐞
Hi all
I have the following config in a ~/.pyiceberg.yaml to interact with a Glue catalog via the command line.
catalog:
  default:
    type: glue
    aws_access_key_id: <ACCESS_KEY_ID>
    aws_secret_access_key: <SECRET_ACCESS_KEY>
    region_name: <REGION_NAME>

However, when running any command on the command line, e.g. pyiceberg list the following error appears:
URI missing, please provide using --uri, the config or environment variable PYICEBERG_CATALOG__DEFAULT__URI
As far as I know, Glue doesn't require a URI. Also when using pyiceberg and this config within a notebook, everything works fine.

Hi @stefnba. I tried pyiceberg list using the given config file in pyiceberg0.5.1 on my Mac and it seemed to work as expected.
You're right that Glue doesn't require a URI. The error message you saw is likely because the CLI does not find the config that specify type for default catalog. Could you please check if your terminal defines env PYICEBERG_HOME pointing to another .pyiceberg.yaml? The config file specified in this env will override the default ~/.pyiceberg.yaml

Thanks @HonahX for the quick reply.
You're right, it's working indeed. Somehow I didn't realize to store the .pyiceberg.yaml in ~ dir, I had it in the current project dir. That was the mistake.


Fix support for modal types in constructor args

I didn't quite get it working in #1543 – this properly fixes it.
I don't love this, but let's revisit later.

@prbot approve


keep track of counts -- change from MC website deployment

Is this a bug fix (which bug?) or a step backwards?

I'm not sure for what "count: count" is needed for as it is the same as "size: count"


I can't use it

Umm... how exactly do I open the program?

 If you're having trouble with finding the release download, the latest release can be found on the Releases page.


[Outline Distribution] Django can't find modules

I followed the installation guide and configured Outline Distribution server.
Added next one

But when I tried to do any command with manage.py, Django responded:

Hi!
did you manage to solve the problem?

I followed the installation guide and configured Outline Distribution server.
Added next one
But when I tried to do any command with manage.py, Django responded:

Hi!
did you manage to solve the problem?


Swap Monitor Issue

Hello there,
I'm following the instructions on the Swap Monitor, and I was able to get it working, but the daily cumulative stats are not working and this is the error on the console, any idea on what would it be ?
Thank you,
A2

Hrm it works for me when I run it locally. Have you added the event plugin and the Cloud Function trigger in your Moralis Server? These are located in the cloud-functions.js file. If so, is there data in the DaiWethSwapVolume60 collection? If not the stats query might not be returning any data.

The Swap(address,uint256,uint256,uint256,uint256,address) event plugin populates the data in the DaiWethSwaps collection
The Moralis.Cloud.afterSave trigger adds the stats each time a new swap is saved to that table

This is line 175:
https://github.com/MoralisWeb3/demo-apps/blob/74ca6a8c26da0ddd6e6f8e25a1f2b686a4db3741/swap-monitor/index.js#L175
The renderStats() function is called from 2 places:

updateStats() on line 141
handleStatsUpdate() on line 166

Hope that helps.

I have added the Plugin and the Cloud Function as stated on the readme.

I can see the data on the dashboard and on index.html, but no the aggregated stats.

Any idea what might be ?
Thanks.

My bad! Thanks for posting the screenshots. This is the problem:
const pipeline = [ /* code omitted */ ];

Note the /* code omitted */ comment. I forgot to mention the code for Cloud Functions was supposed to be copied from the cloud-functions.js file... not the README. I will update the README to make this clear.
The pipeline object is what defines the things to be aggregated. It's a little long to be copying into the docs directly, but if what it's doing is confusing I can add additional explanations to the README. The complexity comes from converting the string values in the table into numbers, which is rather awkward in the MongoDB syntax the queries use.

Is this better?
https://github.com/MoralisWeb3/demo-apps/blob/9-bug-swap-trigger-docs/swap-monitor/README.md
I can clarify further if needed.

That fixed it, thanks a lot.  I did had to start a new instance, for some reason the last one would not respond.
Could you point me in the right direction if I wanted to to tray another token, for example WBTC ?
Thanks again.

Cool. I'll close this issue then.
If you wanted to track another swap pair you'd need to:

Find the contract address for the new pair
Add a new plugin with the same basic details, but with the contract address of the new pair and a different table name. The Topic and ABI should be the same as it's the same Swap event (just for a different pair)


[#1246] feat(tez): Support remote spill for unordered input.

What changes were proposed in this pull request?
When unordered input fetch data from shuffle server, if the fetched data is too large, will spill data to local filesystem.
This PR provide another way: spill data to remote filesystem.
Why are the changes needed?
Fix: #1246
Does this PR introduce any user-facing change?
No.
How was this patch tested?
unit test and tez example test on cluster.

Codecov Report

Merging #1250 (b0a3de8) into master (4f56e59) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1250      +/-   ##
============================================
+ Coverage     54.17%   54.38%   +0.20%
+ Complexity     2659     2141     -518
============================================
  Files           396      320      -76
  Lines         23013    14691    -8322
  Branches       1971     1370     -601
============================================
- Hits          12467     7989    -4478
+ Misses         9777     6250    -3527
+ Partials        769      452     -317

Files
Coverage Δ

...a/org/apache/uniffle/common/RemoteStorageInfo.java
96.42% <100.00%> (+0.13%)
:arrow_up:

... and 80 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Hydra users conversation struct

Description
Creates a private function, that returns a struct of type GetUsersInConversationParameters from package slack-go.
This returned struct can be one with only the ChannelID field or a struct with both ChannelID and Cursor, this decision is made if the cursor parameter is empty or not.
How to test?
Private method. No public method is using it yet.
Expected behavior
Everything should work just fine.

This PR will be closed because the PR #80 will resolve the same problem.


Name for the time between infection and hosptial visit

Can we call this total_delay rather than delay?
My reasoning: everything is a delay. I don't love "total delay" but it's more specific than "delay". Suppose we are having a meeting and someone says "the delay for COVID-19" wouldn't we expect them to clarify which delay?
Is it called delay because of something to do with EpiNow2?

Again this is a bit of an issue about consistency. I don't mind too much what you do here, but I'd prefer to be calling it total_delay at my end

EpiNow2 calls it delay as in delay_opts(). I don't like that name either -- I feel good about total_delay

When EpiNow2 calls it delay as in delay_opts() is that because delay refers to a generic delay and we happen to using the total delay in there?

No -- it's distinguishing from generation_time_opts() and truncation_opts(). The delay is meant to be the total delay from infection to case observation.

It seems like it's OK to call total_delay in cfa-parameter-estimates so from my POV I think we can close this issue.


Remove useless test

Test itself has race conditions, other tests covers the features

I like the wording!

Merging to improve stability of build. Test failed again.


"fast and secure on-the-fly image prosessing [sic]"

I shared imgproxy.net with my team on Slack and their first reaction was the typo in the meta description of the home page!

Ugh, thanks, man! 🤦


Update generator version to 1.16.1

There were new releases, bumping this to trigger new docker image release

I think it may have an issue because of the missing dependency in base image

It would be nice to have merged ASAP @ferrarimarco. Just spent few hours looking why something is not working, found it has been fixed in one of last releases and wondered why it is not working on my local. Just found out I am using 9 months old Docker image. Please merge it.

Closing this for #38
I've fixed Dependabot + added some linting.


Document the current messages

Today we have already a good number of messages that napps can listen. Lets document this.

@macartur where are you documenting this ?

This should be documented in two places:

On kyco-core-napps specific napp directory we can create a "events.rst" with a full documentation of all events generated by this napp;
And we should also have a webpage (sphinx) with a list of all napps events;

Of course we should avoid duplicate text. Includes should be used;

I made a pull request #145  with listened events in a table.

@beraldoleal , How can I make the includes if the kyco-core-napps is another repository ? I should make a git submodule from kyco-core-napps to kyco ?

This was closed when #145  was merged.


E-Com website

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[X] YES
[ ] NO

📝 Description
Add a ecommerce website in the beginner section of website development.
🔧 Fixes #issue_no (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[X] 🌸 GSSoC (Girl Script Summer of Code)
[ ] 🌼 GSSoC 2024 Extd.
[ ] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

[gssoc-ext]


build a test app

Show how to connect and perform basic sql commands from various language (python, ruby, c, javascript, go).

Docs at https://www.cockroachlabs.com/docs/build-a-test-app.html


Make readblob() possible to read from character device

With this patch, readblob() can read from a character device if "offset" is zero and "size" is specified (on Unix):
let b = readblob('/dev/random', 0, 10)

(Not sure if this is useful, though.)

With this patch, readblob() can read from a character device if
"offset" is zero and "size" is specified (on Unix):
let b = readblob('/dev/random', 0, 10)

(Not sure if this is useful, though.)

Hard to say, but it's only a tiny bit of code.
Please also update the help.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Updated.

let b = readblob('/dev/random', 0, 10)

Hm, why would we read from /dev/random, we have the rand() function already.
Perhaps a better example would be to read using /dev/ttyS0 to read something from a serial console?

Okay, updated.

Updated about {offset} for character devices.


bootstrap: Panic comparing errors

https://ci.flynn.io/builds/20151127182442-81b8d73e
++ 18:30:23.021 bootstrap ===> postgres start
panic: runtime error: comparing uncomparable type httphelper.JSONError [recovered]
        panic: runtime error: comparing uncomparable type httphelper.JSONError

goroutine 1 [running]:
github.com/flynn/flynn/pkg/shutdown.(*handler).exit(0xc208088d20, 0x0, 0x0, 0x0, 0xa7dba0, 0xc2081314c0)
        /home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go:69 +0x12e
github.com/flynn/flynn/pkg/shutdown.Exit()
        /home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go:40 +0x73
github.com/flynn/flynn/host/cli.runBootstrap(0xc20801ec20, 0x0, 0x0)
        /home/ubuntu/go/src/github.com/flynn/flynn/host/cli/bootstrap.go:109 +0x957
github.com/flynn/flynn/host/cli.Run(0x7ffd91ecad78, 0x9, 0xc208039dc0, 0x4, 0x4, 0x0, 0x0)
        /home/ubuntu/go/src/github.com/flynn/flynn/host/cli/cli.go:62 +0x677
main.main()
        /home/ubuntu/go/src/github.com/flynn/flynn/host/host.go:127 +0x8c1
...
++ 18:30:23.447 bootstrap ===> postgres error
++ 18:30:23.448 :

Likely introduced by the change in #2170.

This is caused by Detail json.RawMessage inside httphelper.JSONError. I see these options to replace err == last:

err.Error() == last.Error() - compare text for error only;
reflect.DeepEqual(err, last);
type assertion for httphelper.JSONError and compare text of error in that case. keep others as is.

@imjorge comparing the two error strings should do the job (we want to avoid printing two identical error strings).


Intermittent 503 UH errors for egress to external services without duplicated service entries

Bug Description
Similar to https://github.com/istio/istio/issues/26282, we're getting intermittent 503 UH errors for egress to external services, however, we don't have duplicated service entries for the host.
Istio sidecar logs
Failed call with 503
{
                "authority": "example.com",
                "bytes_received": "0",
                "bytes_sent": "19",
                "downstream_local_address": "x.x.x.x:80",
                "downstream_remote_address": "x.x.x.x:41414",
                "duration": "0",
                "istio_policy_status": "-",
                "method": "POST",
                "path": "/as/token.oauth2",
                "protocol": "HTTP/1.1",
                "request_id": "7c747122-0506-4a04-9c52-2b580b3d4266",
                "requested_server_name": "-",
                "response_code": "503",
                "response_flags": "UH",
                "route_name": "-",
                "start_time": "2020-10-24T05:13:34.602Z",
                "upstream_cluster": "-",
                "upstream_host": "-",
                "upstream_local_address": "-",
                "upstream_service_time": "-",
                "upstream_transport_failure_reason": "-",
                "user_agent": "Java/11.0.4",
                "x_forwarded_for": "-"
}

Successful call
{
                "authority": "example.com",
                "bytes_received": "44",
                "bytes_sent": "557",
                "downstream_local_address": "x.x.x.x:80",
                "downstream_remote_address": "x.x.x.x:47960",
                "duration": "39",
                "istio_policy_status": "-",
                "method": "POST",
                "path": "/as/token.oauth2",
                "protocol": "HTTP/1.1",
                "request_id": "037ccd89-f078-4d07-9f9d-ff8af0021fac",
                "requested_server_name": "-",
                "response_code": "200",
                "response_flags": "-",
                "route_name": "-",
                "start_time": "2020-10-28T16:43:16.783Z",
                "upstream_cluster": "outbound|443|tls-origination|example.com",
                "upstream_host": "x.x.x.x:443",
                "upstream_local_address": "-",
                "upstream_service_time": "39",
                "upstream_transport_failure_reason": "-",
                "user_agent": "Java/11.0.4",
                "x_forwarded_for": "-"
}

Configuration
service entry, virtual service, and destination rule
---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: example.com
spec:
  hosts:
  - example.com
  ports:
  - number: 80
    name: http-port
    protocol: HTTP
  - number: 443
    name: https-port-for-tls-origination
    protocol: HTTPS
  resolution: DNS
  location: MESH_EXTERNAL
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: example.com
spec:
  hosts:
  - example.com
  http:
  - match:
    - port: 80
    route:
    - destination:
        host: example.com
        subset: tls-origination
        port:
          number: 443
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: example.com
spec:
  host: example.com
  subsets:
  - name: tls-origination
    trafficPolicy:
      loadBalancer:
        simple: ROUND_ROBIN
      portLevelSettings:
      - port:
          number: 443
        tls:
          mode: SIMPLE

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istio: 1.4.9
k8s: 1.15.10
How was Istio installed?
helm template + kubectl apply
Environment where bug was observed (cloud vendor, OS, etc)
Azure Kubernetes Services

How frequently does this happen? When it does is it a short spike, lasts a while, etc?
Possibly related is https://github.com/istio/istio/issues/23029#issuecomment-718291563

@howardjohn It happens a few times a week or two. It's a short spike every time. We had two more groups of occurrences last night and this morning. All times below are in Eastern time.
Nov 3, 21:25:31 to Nov 3, 21:26:42  (3 total occurrences)
Nov 4, 05:09:25 to Nov 4, 05:12:45 (26 total occurrences)
Groups of occurrences from two weeks ago.
Oct 21, 21:00:52 to Oct 21, 21:01:33 (7 total occurrences)
Oct 23, 08:46:54 to Oct 23, 08:50:32 (34 total occurrences)
Oct 24, 01:12:54 to Oct 24, 01:13:45 (3 total occurrences)


vue3 bug fix

#18 draggablevue have bug on vue3 ,I find update dependence can fix it

this new dependancy has some suspicious characteristics https://socket.dev/npm/package/zhyswan-vuedraggable


Port from xUnit to NUnit

I am not able to run the test suite on Mac or Linux with xUnit, as there is no support for it in VS4Mac or MonoDevelop, so we need to port the tests to NUnit.

Did you try xUnit add-in for VS4Mac from [this thread]?(https://github.com/xunit/xamarinstudio.xunit/issues/50)

I'm able to run tests with the xunit plugin on VS4Mac

but they're failing, because the test runner is not supporting x64 run at the moment. I think, NUnit doesn't support platform switching as well, does it?
I addressed the xunit plugin enhancement  here

With the 0.7.9 release, F# based TensorFlowSharp test cases can run without problems.
However, the C# based .CSharp test cases are not yet ready. There seems to be MonoDevelop/Visual Studio for Mac internal issues, which I will later report directly to their side.

Ok will take a look at that add-in

Just shipped 0.7.11 release where the C# test cases would run without a problem (though some test cases can definitely fail for their reasons).
I also reported the issue back to Xamarin Bugzilla, as it should also affect NUnit based test cases.

Would you be interested in getting this listed in the Xamarin Studio Extension gallery directly?   Email me.

I tried running the C# ones, and it does not look like it finds any tests.

0.7.11 is working for me like a charm

Restarting of VS4Mac needed after the plugin installation.
Thank you @lextm great stuff!

Mhm, not sure about this.   I get this:
Running TensorFlowSharp.tests.TensorFlowSharp.Tests.CSharp.MonoDevelop.Core.Execution.RemoteProcessException: Connection closed
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357
  at MonoDevelop.Core.Execution.RemoteProcessConnection+<SendMessage>d__61`1[RT].MoveNext () [0x00024] in /Users/builder/data/lanes/4349/4038fe80/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:305
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357
  at MonoDevelop.UnitTesting.XUnit.External.ExternalTestRunner+<GetTestInfo>d__7.MoveNext () [0x000aa] in <95ece6f0a43649099964723effa31266>:0  ...

@migueldeicaza Could not reproduce the crash. It seems that something kills the command line runner on your machine.

@migueldeicaza can you try to use 0.7.12 release?
With some help from Rollbar logging I was able to find another bug in MonoDevelop and fix it.


Data Class Return Types

I'm using you library for some external stuff and I built some data classes - I wanted to know if you would be open to some PR's to add them into this lib?
I think it would be nice to get structured return data if possible.
Just wondering your thoughts? This is what I was messing with -
Don't want to waste effort if you aren't interested :)

@dataclass
class MonarchAccount:
    """Dataclass to store & parse account data from monarch accounts."""

    id: str
    logo_url: str | None
    name: str
    balance: float
    type: str  # type will be used for icons
    type_name: str  # type name will be used for device
    subtype: str
    subtype_name: str
    data_provider: str
    institution_url: str | None
    institution_name: str | None
    last_update: datetime
    date_created: datetime

    @property
    def is_value_account(self):
        """Return true if we are tracking a value type asset."""
        return self.type in ["real-estate", "vehicle", "valuables", "other_assets"]

    @property
    def is_balance_account(self):
        """Whether to show a balance sensor or a value sensor."""
        return not self.is_value_account

@dataclass
class MonarchCashflow:
    """Cashflow data class."""

    income: float
    expenses: float
    savings: float
    savings_rate: float

@dataclass
class MonarchData:
    """Data class to hold monarch data."""

    account_data: list[MonarchAccount]
    cashflow_summary: MonarchCashflow

def _build_cashflow(data: dict[str, Any]) -> MonarchCashflow:
    """Build a monarch cashflow object."""
    return MonarchCashflow(
        income=data["sumIncome"],
        expenses=data["sumExpense"],
        savings=data["savings"],
        savings_rate=data["savingsRate"],
    )

def _build_monarch_account(data: dict[str, Any]) -> MonarchAccount:
    """Build a monarch account object."""
    institution = data.get("institution") or {}
    credential = data.get("credential") or {}

    return MonarchAccount(
        id=data["id"],
        logo_url=data.get("logoUrl"),
        name=data["displayName"],
        balance=data["currentBalance"],
        type=data["type"]["name"],
        type_name=data["type"]["display"],
        subtype=data["subtype"]["name"],
        subtype_name=data["subtype"]["display"],
        data_provider=credential.get("dataProvider", "Manual entry"),
        last_update=datetime.fromisoformat(data["updatedAt"]),
        date_created=datetime.fromisoformat(data["createdAt"]),
        institution_url=institution.get("url", None),
        institution_name=institution.get("name", "Manual entry"),
    )

Actually I'm going to just make a wrapper lib ...

https://github.com/jeeftor/monarchmoney-typed
Just wrapped what I need for now.


Cannot update or delete VTL auth process from schema.graphql

Describe the bug
I want to edit the auth directive, but the output doesn't seem to accept any changes.
Amplify CLI Version
I tried at
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Reproduce
Edit schema.graphql
type Test
@model
@auth (rules: [
    {allow: groups, groups: ["admin"], operations: [create, update, delete]},
    {allow: private, operations: [read]}
  ])
{
  id: ID
  val: Int!
  str: String!
}

Run in terminal amplify mock api
The intended behavior of mutations and queries.
Edit and save schema.graphql (Add manager to permission group) leaving the terminal as it is
type Test
@model
@auth (rules: [
    {allow: groups, groups: ["admin", "manager"], operations: [create, update, delete]},
    {allow: private, operations: [read]}
  ])
{
  id: ID
  val: Int!
  str: String!
}

The following is displayed in the terminal
GraphQL Schema change detected. Reloading ...
GraphQL schema compiled successfully.

However, the manager cannot any mutation.
Notice appears in terminal when @auth directive is removed from Test model,
GraphQL Schema change detected. Reloading ...
The following types do not have'@auth' enabled. Consider using @auth with @model
         - Test

but authorization process has not changed from the initial state.
Creating a new model with a different name will result in the intended behavior.
type AnotherTest
@model
@auth (rules: [
    {allow: groups, groups: ["admin", "manager"], operations: [create, update, delete]},
    {allow: private, operations: [read]}
  ])
{
  id: ID
  val: Int!
  str: String!
}

Expected behavior
Is the authorization process updated?
The generated VTL file does not appear to be affected.
Desktop (please complete the following information):

OS: Windows
Node Version. v12.18.3

If this is the case, it seems like a big impact, but if it's my operational mistake, I'm very sorry.
I need help with the solution.

Hi @ShinIchiTsuji
It seems you are checking the build folder inside your project folder. Can you check the resolvers folder , VTL template for createMutation will have the manager group added in the VTL. Resolver folder outside build is for amplify mock api and to debug VTL templates.
The build folder will get updated when you update the schema and use amplify api gql-compile or do an amplify push.
Let me know if that works for you?

Hi akshbhu, thank you your reply.
Maybe it was my misunderstanding?
I run amplify api gql-compile first and then checked each part, but everything is working as intended.
It's a problem that has plagued me since last week, but as of this morning I haven't been able to reproduce it.
I'm very sorry.
I seem to have to re-verify after taking a short break...
If I can reproduce it accurately, I will consult again. Thank you.

Hi @akshbhu
I'm terribly sorry for i do with restless...
But the VTL output still seems a bit strange.
Also, I didn't answer your question!
The location of the VTL file I'm referencing is (app-name)\resolvers\*.vtl
schema.graphql.txt
Run amplify mock api on the schema.graphql file I attached updates some files.At this time, the number of vtl files in the resolvers folder will be 117 or 54.
This number of vtl files switched between each other by overwriting schema.graphql without any changes.
Is this increase / decrease in the number of files normal?
Also, some files are not updated.

Mutation.createCourse.req.vtl is old as shown in the attached image, so I comment out the @auth directive in Course and run the amplify mock api.
The terminal will give a notice @auth is not used in Course, but the file will not be updated and the ## [Start] Owner Authorization Checks ** item will still exist.
If I run amplify api gql-compile in this state, all vtl files in the build folder will be updated with the modification date and time, but the contents are the same as the Resolver folder outside the build folder.
The same is true for the AWS AppSync Console after ʻamplify push`.
I also tried starting the terminal with administrator privileges and operating from another terminal, but there was no change.
Will it be a clue to the solution?

Hi @ShinIchiTsuji

No. of the VTL files depends on the directives present in your schema. For a simple case of @model directive , this will generate VTL templates for Queries and Mutations. You can find detailed documentation here : https://docs.amplify.aws/cli/graphql-transformer/model#generates

I guess you have updated the contents of the VTL templates highlighted above. If the contents are changes these resolvers will be counted as custom resolvers and amplify api gql-compile wont touch those templates as those will be your custom resolver templates and not generated by amplify and will be uploaded directly. Here is the documentation for custom resolvers : https://docs.amplify.aws/cli/graphql-transformer/resolvers.

if this a test project (not for production)what you can try is delete the resolvers present in the resolvers directory and try running amplify mock api, it will create all new resolvers as per your schema and   after that if you do amplify api gql-compile ,this will generate resolvers in build/resolvers directory which will be similar to resolvers directory generated by mock.
Let me know if this answers your question.

Hi @akshbhu
First, I could fix the problem by deleting all the vtl files in the resolver folder.
Thank you very much.
Apparently I was unintentionally creating a custom resolver to prevent vtl file generation from schema. I don't remember touching the vtl file, but it's probably the case.
(As an aside, I created a new folder in that location and moved the vtl file, but amplify mock api return Failed to start API Mock endpoint Error: EISDIR: illegal operation on a directory, read I returned it, so I moved to a completely different directory and remove new folder will work.)
Thank you for your patience with my poor English and explanations.

Hi @ShinIchiTsuji
Good to know that it is working for you. I am closing this issue as it seems to be solved. If you face any problem regarding this issue , fell free to comment and I will reopen this issue again.


feat(notifications): show and read unread notifications

Describe what this PR does / why we need it
Add ability to see unread notifications, review and mark as read from within octo

Does this pull request fix one issue?
Fixes #119
Describe how you did it
Use REST API for notifications as GraphQL is lacking
Describe how to verify it

:Octo notification
See unread notifications
scroll the list of PRs/Issues
Enter will open that issue/PR
<leader>nr will mark the notification as read

Special notes for reviews
Currently limited to unread notifications only due to API limitations
Icons are in place for unread, for extension in the future
Checklist

[x] Passing tests and linting standards
[x] Documentation updates in README.md and doc/octo.txt

My telescope picker from the Octo  is pretty tight. Can we make the first column width based on the width of the longest word (maybe with some padding)

I tend to have use Octo from within the repo, how about a configuration to filter to just the notifications for the current repo. Then no need to show the repo name as well. What are your thoughts?

I tend to have use Octo from within the single repo, how about a configuration to filter to just the notifications for the current repo. Then no need to show the repo name as well. What are your thoughts?

I don't think that particularly makes sense given the current API limitations. Given that we only show unread notifications, you would end up looking at an empty list 99% of the time

I tend to have use Octo from within the single repo, how about a configuration to filter to just the notifications for the current repo. Then no need to show the repo name as well. What are your thoughts?

I don't think that particularly makes sense given the current API limitations. Given that we only show unread notifications, you would end up looking at an empty list 99% of the time.
Also a general, what do I have to do would mean pinging around all over the place to see where you might have notifications

I was thinking pull all notifications but filter before passing to picker

I tend to have use Octo from within the single repo, how about a configuration to filter to just the notifications for the current repo. Then no need to show the repo name as well. What are your thoughts?

I don't think that particularly makes sense given the current API limitations. Given that we only show unread notifications, you would end up looking at an empty list 99% of the time.
Also a general, what do I have to do would mean pinging around all over the place to see where you might have notifications

I was thinking pull all notifications but filter before passing to picker

That works, but I don't know if with the telescope API if we can "mark an item read" without refreshing the whole list?

That works, but I don't know if with the telescope API if we can "mark an item read" without refreshing the whole list?

But that affects even the case without the filter, right?

That works, but I don't know if with the telescope API if we can "mark an item read" without refreshing the whole list?

But that affects even the case without the filter, right?

No, because we just grab the unread items list, and marking it read fires the API even and optimistically removes it from the selector without the need to refresh the whole thing.
We could change it to a notification list and a notification list all or something similar, but I don't know how that best fits with the command list, and your still going to end up looking at an empty list most of the time.

No, because we just grab the unread items list, and marking it read fires the API even and optimistically removes it from the selector without the need to refresh the whole thing.

Seems like the same logic for the case where the list is already filtered

We could change it to a notification list and a notification list all or something similar,

Would a configuration option not suffice?

but I don't know how that best fits with the command list, and your still going to end up looking at an empty list most of the time.

The other pickers have a "no matching ... found". Would a message like that be applicable here? What is the behavior with no notifications at the moment?

No, because we just grab the unread items list, and marking it read fires the API even and optimistically removes it from the selector without the need to refresh the whole thing.

Seems like the same logic for the case where the list is already filtered

We could change it to a notification list and a notification list all or something similar,

Would a configuration option not suffice?
Sure

but I don't know how that best fits with the command list, and your still going to end up looking at an empty list most of the time.

The other pickers have a "no matching ... found". Would a message like that be applicable here? What is the behavior with no notifications at the moment?
an empty list

Seeing as this is fully new functionality, IMO i think it makes sense to get a base design in and iterate on it later once it is being used.
At the moment, the state of this seems to work for my functionality of opening neovim and looking what needs to be done.
Or being working on something, seeing the email notification come in and opening the list in neovim without having to think about switching to the right project first


Update trusted-launch-portal.md

Fixed a typo: objbective

Looks good. Thanks @QueryCoordinator
@Howie425 - Some of the content in this PR would benefit from a copy edit. After the PR is merged to the default branch, an editor will contact the listed author.


React-UI: Identifier '...' has already been declared

TonConnect ReactUI fails to initialize when NextJs app is built and served statically. This doesn't happen as long as the app is ran with yarn dev
Steps to reproduce:

yarn create next-app --typescript (any name, use eslint - yes, use src/ - yes, use app/ - no, import alias - default)
yarn add @tonconnect/ui-react
Wrap app with TonConnectUIProvider as per docs
yarn build
yarn start
Go to localhost:3000

Result:
Uncaught SyntaxError: Identifier 'r' has already been declared (at _app-6faa08e70223d641.js:5:26019) in the console
package.json dependencies:
"dependencies": {
    "@next/font": "13.1.5",
    "@tonconnect/ui-react": "^0.0.13",
    "@types/node": "18.11.18",
    "@types/react": "18.0.27",
    "@types/react-dom": "18.0.10",
    "eslint": "8.32.0",
    "eslint-config-next": "13.1.5",
    "next": "13.1.5",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "typescript": "4.9.4"
  }```

Note: the same exact issue happens even when using the @tonconnect/ui package in the same environment. Mounting it inside useEffect is enough to trigger the issue.

After a bit of trial and error, this issue seems to be directly related to the NextJs version. TonConnect works just fine on NextJs < 13. Version 13 introduced a new bundler and I think it's the reason of the issue above.
While not being a direct TonConnect issue, I think it's still important to resolve it as every latest version of NextJs docs is referencing the version 13.

I faced with the similar problem. The solution was to update or rollback the NextJS version:
✅ NextJS 12.х.х -- works
❌ NextJS 13.0.х -- doesn't work
✅  NextJS 13.1.1 -- works


Split core artifacts

Ref: #450. This splits up our current core artifact into four separate artifacts and takes some inspiration from compose's naming.

circuit-runtime: common runtime components like Screen, Navigator, etc.
circuit-runtime-presenter: the Presenter API, depends on circuit-runtime.
circuit-runtime-ui: the Ui API, depends on circuit-ui.
circuit-foundation: the circuit foundational APIs like CircuitConfig, CircuitContent, etc. Depends on the first three.

The goal in this is to allow more granular dependencies and easier building against subsets of the API. For example, this would allow a presenter implementation to easily live in a standalone module that doesn't depend on any UI dependencies. Vice versa for UI implementations.
Where I think this could really shine is in multiplatform projects where Circuit's UI APIs may be more or less abstracted away in service of using native UI, like in iOS.
circuit-runtime artifact

Before
After

com.slack.circuit.CircuitContext
com.slack.circuit.runtime.CircuitContext

com.slack.circuit.CircuitUiState
com.slack.circuit.runtime.CircuitUiState

com.slack.circuit.CircuitUiEvent
com.slack.circuit.runtime.CircuitUiEvent

com.slack.circuit.Navigator
com.slack.circuit.runtime.Navigator

com.slack.circuit.Screen
com.slack.circuit.runtime.Screen

circuit-runtime-presenter artifact

Before
After

com.slack.circuit.Presenter
com.slack.circuit.runtime.presenter.Presenter

circuit-runtime-ui artifact

Before
After

com.slack.circuit.Ui
com.slack.circuit.runtime.presenter.Ui

circuit-foundation artifact

Before
After

com.slack.circuit.CircuitCompositionLocals
com.slack.circuit.foundation.CircuitCompositionLocals

com.slack.circuit.CircuitConfig
com.slack.circuit.foundation.CircuitConfig

com.slack.circuit.CircuitContent
com.slack.circuit.foundation.CircuitContent

com.slack.circuit.EventListener
com.slack.circuit.foundation.EventListener

com.slack.circuit.NavEvent
com.slack.circuit.foundation.NavEvent

com.slack.circuit.onNavEvent
com.slack.circuit.foundation.onNavEvent

com.slack.circuit.NavigableCircuitContent
com.slack.circuit.foundation.NavigableCircuitContent

com.slack.circuit.NavigatorDefaults
com.slack.circuit.foundation.NavigatorDefaults

com.slack.circuit.rememberCircuitNavigator
com.slack.circuit.foundation.rememberCircuitNavigator

com.slack.circuit.push
com.slack.circuit.foundation.push

com.slack.circuit.screen
com.slack.circuit.foundation.screen

Have one change left to update baseline profiles, waiting to hear back on a question I had around how to divvy them up.


Form: Multiple widgets used the same GlobalKey error

Form: Multiple widgets used the same GlobalKey error
Here is my CustomForm class
CustomForm.dart

import 'package:flutter/material.dart';

class CustomForm extends StatelessWidget {
  CustomForm({this.children, this.imagePath, this.loading, this.key});
  List<Widget> children;
  String imagePath;
  bool loading;
  Key key;
  @override
  Widget build(BuildContext context) {
    if (imagePath == null) imagePath = "assets/images/logo.png";
    return Form(
      key: key,
      child: ListView(
        children: <Widget>[
          loading ? LinearProgressIndicator() : SizedBox(height: 2),
          SizedBox(height: 30),
          Image.asset(
            imagePath,
            height: 230,
          ),
          SizedBox(height: 10),
          ...children,
        ],
      ),
    );
  }
}

i have change the constructor like this
  CustomForm({this.children, this.imagePath, this.loading, Key key})
      : super(key: GlobalKey<FormState>());
  List<Widget> children;
  String imagePath;
  bool loading;
  // Key key;

i use my class as follow
  Widget _buildBody(BuildContext context) {
    print("Login");
    return CustomForm(
      key: _formKey,
      imagePath: "assets/images/Login.png",
      loading: isLoading,
      children: <Widget>[...]
    );
}
...
i generated the key as follow
```dart
final _formKey = GlobalKey<FormState>();

Steps to Reproduce

I try in a bit more different way but nothing were works for me. and i do not find any useful resources to understand how i can get rid even i do not know after passing different key to parent class why it is showing the error.
Expected results: It should not show the error.
Actual results: even i am passing the separate key to parent class it is showing same error .
Project: https://github.com/resourcesr/app

Logs

[   +2 ms] An Observatory debugger and profiler on sdk gphone x86 arm is available at:
           http://<IP_ADDRESS>:46437/6As6GXuTMVg=/
[+8974 ms] I/flutter ( 5951): Login
[+1096 ms] I/flutter ( 5951): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY
╞═══════════════════════════════════════════════════════════
[   +6 ms] I/flutter ( 5951): The following assertion was thrown while finalizing the widget tree:
[   +3 ms] I/flutter ( 5951): Multiple widgets used the same GlobalKey.
[   +1 ms] I/flutter ( 5951): The key [LabeledGlobalKey<FormState>#a5974] was used by multiple
widgets. The parents of those
[   +8 ms] I/flutter ( 5951): widgets were:
[   +2 ms] I/flutter ( 5951): - CustomForm-[LabeledGlobalKey<FormState>#a5974]
[   +1 ms] I/flutter ( 5951): - _BodyBuilder
[        ] I/flutter ( 5951): A GlobalKey can only be specified on one widget at a time in the
widget tree.
[   +4 ms] I/flutter ( 5951):
[        ] I/flutter ( 5951): When the exception was thrown, this was the stack:
[        ] I/flutter ( 5951): #0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous
closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:267:13)
[  +39 ms] I/flutter ( 5951): #1      _LinkedHashMapMixin.forEach
(dart:collection-patch/compact_hash.dart:377:8)
[   +1 ms] I/flutter ( 5951): #2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous
closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:214:20)
[   +6 ms] I/flutter ( 5951): #3      _LinkedHashMapMixin.forEach
(dart:collection-patch/compact_hash.dart:377:8)
[   +1 ms] I/flutter ( 5951): #4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>
(package:flutter/src/widgets/framework.dart:210:26)
[        ] I/flutter ( 5951): #5      GlobalKey._debugVerifyGlobalKeyReservation
(package:flutter/src/widgets/framework.dart:275:6)
[        ] I/flutter ( 5951): #6      BuildOwner.finalizeTree.<anonymous closure>
(package:flutter/src/widgets/framework.dart:2872:21)
[   +1 ms] I/flutter ( 5951): #7      BuildOwner.finalizeTree
(package:flutter/src/widgets/framework.dart:2953:8)
[        ] I/flutter ( 5951): #8      WidgetsBinding.drawFrame
(package:flutter/src/widgets/binding.dart:908:19)
[   +2 ms] I/flutter ( 5951): #9      RendererBinding._handlePersistentFrameCallback
(package:flutter/src/rendering/binding.dart:309:5)
[        ] I/flutter ( 5951): #10     SchedulerBinding._invokeFrameCallback
(package:flutter/src/scheduler/binding.dart:1117:15)
[        ] I/flutter ( 5951): #11     SchedulerBinding.handleDrawFrame
(package:flutter/src/scheduler/binding.dart:1055:9)
[        ] I/flutter ( 5951): #12     SchedulerBinding._handleDrawFrame
(package:flutter/src/scheduler/binding.dart:971:5)
[        ] I/flutter ( 5951): #16     _invoke (dart:ui/hooks.dart:251:10)
[        ] I/flutter ( 5951): #17     _drawFrame (dart:ui/hooks.dart:209:3)
[        ] I/flutter ( 5951): (elided 3 frames from dart:async)
[        ] I/flutter ( 5951):
════════════════════════════════════════════════════════════════════════════════════════════════════
[+1364 ms] I/flutter ( 5951): Another exception was thrown: Multiple widgets used the same
GlobalKey.
[ +469 ms] I/flutter ( 5951): Another exception was thrown: Multiple widgets used the same
GlobalKey.

Analyzing riphahwebresources...

   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: TextAvatar.text •
          lib/components/avatars.dart:6:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: FileIconAvatar.fileType •
          lib/components/avatars.dart:22:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: ImageAvatar.url •
          lib/components/avatars.dart:53:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: StretchableButton.onPressed •
          lib/components/buttons.dart:11:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: CustomForm.children, CustomForm.imagePath,
          CustomForm.loading • lib/components/custom_form.dart:4:7 • must_be_immutable
   info • Avoid using braces in interpolation when not needed • lib/data/Downloader.dart:83:27 •
          unnecessary_brace_in_string_interps
   info • Avoid using braces in interpolation when not needed • lib/data/Downloader.dart:83:36 •
          unnecessary_brace_in_string_interps
   info • Name non-constant identifiers using lowerCamelCase • lib/data/User.dart:94:35 •
          non_constant_identifier_names
   info • This function has a return type of 'FutureOr<User>', but doesn't end with a return
          statement • lib/data/User.dart:108:16 • missing_return
   info • This function has a return type of 'FutureOr<User>', but doesn't end with a return
          statement • lib/data/User.dart:123:16 • missing_return
   info • This function has a return type of 'FutureOr<User>', but doesn't end with a return
          statement • lib/data/User.dart:135:16 • missing_return
   info • The declaration '_openUrl' isn't referenced • lib/pages/Courses/resources_ui.dart:81:3 •
          unused_element
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: EventDetailUi.title, EventDetailUi.start,
          EventDetailUi.end, EventDetailUi.room, EventDetailUi.duration •
          lib/pages/Event/event_detail_ui.dart:5:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: Home.code • lib/pages/Event/home.dart:13:7 •
          must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: TimetableUi.code •
          lib/pages/Event/timetable_ui.dart:14:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: ProfileUi.user •
          lib/pages/auth/profile_ui.dart:10:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: SelectKlassUi.user •
          lib/pages/auth/select_klass_ui.dart:8:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: DashboardSplashUi.user •
          lib/pages/dashboard_splash_ui.dart:8:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: DashboardUi.user •
          lib/pages/dashboard_ui.dart:9:7 • must_be_immutable
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/dashboard_ui.dart:24:9 •
          non_constant_identifier_names
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: DownloadUi.children •
          lib/pages/downlaod_ui.dart:13:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one
          or more of its instance fields aren't final: MenuUi.user • lib/pages/menu_ui.dart:9:7 •
          must_be_immutable

22 issues found. (ran in 18.3s)

[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.23.0-18.1.pre at /etc/flutter
    • Framework revision 198df796aa (3 weeks ago), 2020-10-15 12:04:33 -0700
    • Engine revision 1d12d82d9c
    • Dart version 2.11.0 (build 2.11.0-213.1.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/lablnet/Android/Sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at:
      /home/lablnet/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at
      /home/lablnet/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at /home/lablnet/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6948.69
    • 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 Ultimate Edition (version 2020.1)
    • IntelliJ at /home/lablnet/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.8538.31
    • 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.48.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.14.1

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

• No issues found!

Hi @lablnet
Can you please provide, a minimal complete reproducible code sample not  a complete project
Thank you

Can you please provide, a minimal complete reproducible code sample not a complete project

Yes sure, here we go.
main.dart complete one page app.
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  final _formKey = GlobalKey<FormState>();

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Container(
        child: CustomForm(
          key: _formKey,
          imagePath: null,
          loading: false,
          children: [
            TextFormField(
              validator: (value) {
                if (value.isEmpty) return "Field is required";
                return null;
              },
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

class CustomForm extends StatelessWidget {
  CustomForm({this.children, this.imagePath, this.loading, this.key});
  List<Widget> children;
  String imagePath;
  bool loading;
  Key key;
  @override
  Widget build(BuildContext context) {
    if (imagePath == null) imagePath = "assets/images/logo.png";
    return Form(
      key: key,
      child: ListView(
        shrinkWrap: true,
        children: <Widget>[
          loading ? LinearProgressIndicator() : SizedBox(height: 2),
          SizedBox(height: 30),
          /*Image.asset(
            imagePath,
            height: 230,
          ),*/
          SizedBox(height: 10),
          ...children,
        ],
      ),
    );
  }
}

Update
i have try to modify the class behavior like that as suggested by stack-overflow answer but showing the same result to me.
  const CustomForm({this.children, this.imagePath, this.loading, this.formKey, Key key}) : super(key: key);
  List<Widget> children;
  String imagePath;
  bool loading;
  GlobalKey<FormState> formKey;

Hi @lablnet
Your overwriting default key by using key as a variable, causing this error. Please try these code samples  below  and check out https://github.com/flutter/flutter/issues/16630#issuecomment-701320704

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  final _formKey = GlobalKey<FormState>();

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Container(
        child: CustomForm(
          formKey: _formKey,
          imagePath: null,
          loading: false,
          children: [
            TextFormField(
              validator: (value) {
                if (value.isEmpty) return "Field is required";
                return null;
              },
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

class CustomForm extends StatelessWidget {
  CustomForm({this.children, this.imagePath, this.loading, this.formKey});
  List<Widget> children;
  String imagePath;
  bool loading;
  Key formKey;
  @override
  Widget build(BuildContext context) {
    if (imagePath == null) imagePath = "assets/images/logo.png";
    return Form(
      key: formKey,
      child: ListView(
        shrinkWrap: true,
        children: <Widget>[
          loading ? LinearProgressIndicator() : SizedBox(height: 2),
          SizedBox(height: 30),
          /*Image.asset(
            imagePath,
            height: 230,
          ),*/
          SizedBox(height: 10),
          ...children,
        ],
      ),
    );
  }
}

Minimal sample
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  final GlobalKey<FormState> _formKey = GlobalKey<FormState>();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(
        formkey: _formKey,
        title: 'Appbar',
      ),
    );
  }
}

class Home extends StatelessWidget {
  final String title;
  final Key formkey;
  const Home({Key key, this.title, this.formkey}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: Center(
        child: Form(
          key: key,
          child: TextField(),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.7 19H15, locale en-GB)
    • Flutter version 1.22.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 8874f21e79 (10 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/SanDisk/Xcode-beta.app/Contents/Developer
    • Xcode 12.2, Build version 12B5044c
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • Taha’s iPad (mobile)       • 00008020-000255113EE8402E            • ios •
      iOS 14.2
    • iPhone 12 Pro Max (mobile) • 0A159C14-BF48-4DD7-8D91-F45A387EE4B2 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    ! Error: Taha’s iPad is busy: Copying cache files from device. Xcode will
      continue when Taha’s iPad is finished. (code -10)

! Doctor found issues in 1 category.

Hi @lablnet
Your overwriting default key by using key as a variable, causing this error. Please try these code samples below and check out [#16630 (comment)

Hi thanks, that works fine, the issue fixed. As issue fixed i am going to close this issue.


【Training复现问题】index_copy_和计算梯度错误

Hi @mini-omni ,想问下你们在训练时有没有遇到下面的问题，index_copy_函数会在算loss时fabric.backward(loss / train.gradient_accumulation_iters(devices))报错：
python3.9/site-packages/torch/autograd/graph.py:744: UserWarning: Error detected in IndexCopyBackward0. Traceback of forward call that caused the error:
...

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.LongTensor [1]] is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
[W CudaIPCTypes.cpp:16] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]

应该跟index_copy_本地修改有关，但不知道如何修复，希望有空麻烦看下，感谢

已经解决，训练时需要设置input_pos=None


I want to add the one leetcode question 2581. Divide Players Into Teams of Equal Skill

I want to add this question in the your repo .
this will help others to solve this questions.

kindly assign me

.take

Hey, I want to work on this problem kindly assign me this issue.


Inheritance bug or feature?

Image 4 classes
class A1 {
}
class A2 {
}
class B1 extends A1 {
}
class B2 extends A2 {
}

with mapping between A1 <=> A2 and B1 <=> B2 (like mapping two domains with almost same classes)
actually if i do
B1 b1 = new B1()
...
A2 a2 = dozer.map(b1, A2.class);
the class of a2 is the same that provided in the second parameter A2.
But it shouldn't be B2?

indeed we ask for A2.class but B2 object is also a A2 object (inheritance)
B2 is the most "complete" mapping that can be done with B1 and A2.class rule

@diorcety ; you do not tell dozer about B2, so how should it now you want it mapped to this type? You ask for A2, so get A2.

Can't really remember the context.


Consider multi-threaded solution to requirement of constant availability for NMEA sentences.

Currently using GpsReceiver::smartDelay(...) to consistently read the hardware serial transmissions. This is non-optimal and requires user knowledge of internals. Let's strive for a cleaner, hands-off API to the GPS module.

std::thread is highly experimental for doing this. (And not very simple to do, so possibly less portable for other devs


[easylog]if statement can be constexpr

Why
if statement within macro ELOGV_IMPL. ELOGFMT_IMPL0 can be evaluated during compile-time.
I'm not 100% sure this change is proper, but it seems to me that severity should be compile-time constant as long as Id is used as one.
What is changing
Macro definition ELOGV_IMPL. ELOGFMT_IMPL0, easylog.hpp

这可以是可以改成if constexpr的。


[CMT-653-984] Update 2022-01-20-Yearn-Finance-Newsletter-54.md

Hindi translation of newsletter

this PR needs to be redone per the new format / this currently is pushing to the hindi branch.
Please redo this PR, thank you!


rewrite bin/print to not require footer/comments

[moved from stan-dev/stan#486]
Reported by Bob:
From Marcus (and me informally):
It would be great if we could run bin/print on just a CSV file of samples. That would let us monitor as we go on the CSV file. For online evaluation, it'd be very nice if we could ignore an incomplete last line.
It'd be even nicer if we had something that could connect to tail or something and calculate as we go, rather than having to recalculate bin/print. Then we could have live monitors like BUGS did

Using the current version, we can read partial csv files, but not arbitrary csv files. There's some dependence on the header.
The comments can be stripped out and it'll work fine.

bin/print is deprecated so this issue is obsolete.


Getting numeric values as strings when pasting into Excel

I’m running DBeaver Version <IP_ADDRESS>007192031 on Windows 10.
When I copy numeric values from a query output and paste it into Excel these values are imported as strings. If I have a negative number it is shown as a #FIELD error in Excel. I think this might be linked to data formats since I’m from a country where decimals are shown with a comma rather than a dot. Manually replacing dots with commas in Excel fixes this, however I’d like to save this step.
I already tried changing Data Formats settings to “Use native numeric format” plus using advanced copy with the Value Format “Display (default) which worked well for the numeric values. However it also imported NULL values as a “NULL” string. Again replacing the NULL strings in Excel would fix this but it is an additional step.
Is there any way to just copy and paste my query output to Excel and getting the numeric values as numeric values (with a comma for decimals) as well as NULL values as empty cells? Changing regional settings in Excel is not an option.

Thank you for the suggestion. As a workaround you can export selected rows/columns in xlsx format.

Which database and locale do you use? And column type? I can reproduce the issue with decimal string only.
HAve you tried to use Advanced copy (Ctrl+Shift+C)?

Issue closed - no updates for a long time.
If it is still actual - feel free to reopen the ticket


cookie

I'm very sorry to disturb you again. I don't have your other contact information, so I can only ask you here. If I disturb you, I'm sorry
I tried the method you suggested, but I found that the website I visited sometimes put the value of the cookie in the URL or the request parameter, which must require the cookie support of the browser. Is there any other way to make a page have an independent cookie manager or an independent cookie address? I have not found an effective solution in the forum

You can try catching the request parameters from the url yourself by subscribing to events. Would that suit your needs? I dont think there is another way.
https://friwi.me/jcef/javadoc/104.4.23/org/cef/handler/CefDisplayHandler.html#onAddressChange-org.cef.browser.CefBrowser-org.cef.browser.CefFrame-java.lang.String-
Am 06.09.2022 um 15:55 schrieb jh2310 @.***>:

I'm very sorry to disturb you again. I don't have your other contact information, so I can only ask you here. If I disturb you, I'm sorry
I tried the method you suggested, but I found that the website I visited sometimes put the value of the cookie in the URL or the request parameter, which must require the cookie support of the browser. Is there any other way to make a page have an independent cookie manager or an independent cookie address? I have not found an effective solution in the forum
—
Reply to this email directly, view it on GitHubhttps://github.com/jcefmaven/jcefmaven/issues/60, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4BJ5AUR2XKX65HJD5PHLV45EOLANCNFSM6AAAAAAQF3KOAE.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

JCEF may not be suitable for my needs. I have changed to jxbrower, but thank you anyway


Log ingestors are not balancing load evenly

Logsearch-platform has 3 ingestors in production, but ingestor/0 always seems to get more load (based on CPU load graphs from grafana, and based on the fact that ingestor/0 will fall behind and start writing to its persistent queue while the other two ingestors are staying caught up.
We should figure out why this is and get the load balanced more evenly.

Priority is quickly rising. @bengerman13 is currently checking and fixing this manually. Prioritize in the next sprint.

@bengerman13 is in the process of implementing a possible fix - he will confirm if it's fixed. If so, close the issue. If it's not fixed, it'll be several sprints before it can be addressed.


fix: base_extent calculation in bits_locator_t::template extent_in()

The base_extent variable in the extent_in() method of the bits_locator_t struct now uses the size of its template parameter T instead of std::uint32_t for calculating the base extent .

I don't think this is right - the Index is always in dwords, hence computing the extent in bytes uses sizeof(std::uint32_t).


Always print x86 in Intel syntax

Crazy old AT&T syntax is still the LLVM default, but no one wants that.

can't believe at&t is the default - it's the worst :P

What did you expect from a telegraph company?

.. / -.. --- -. .----. - / -.- -. --- .-- / .-- .... .- - / .. / . -..- .--. . -.-. - . -..


Typo

@qmonmert : I've fixed labels. This is just internal refactoring. Enhancement is for visible user features.