[Feature request] Clip lock (similar to #18)

I'm wondering if there can be some kind of clip lock function for safety.
It's great to have tags and I use them a lot, and I thought it would be great to have the ability to set locks on tags.
The undo button that appears after deleting is ok, but if you delete a clip and then accidentally touch the screen anywhere, it's gone forever. I've done it a few times.
If there is a delete confirmation box with a little 'Ok' button, it's a little safer. But, I was thinking, it would be great if I could set locks on tags, e.g. If I make a tag called 'work' and I set that tag to locked, any clip I tag with 'work' will be automatically locked. Then if you want to delete the clip, you just remove the tag. I think it would just give an extra step of security to important clips.

The logic for the undoing button should not be changed because when you delete the item it does not get deleted immeditely, it only happens visually. When you touch the screen or interact it then sends the command for actual deletion. This is also helpful if you enable synchronization as the UI is dependent on it & any change to remote service will also change the data locally. Similarly how Gmail removes the undo snack bar when the user interacts with the screen after you send the mail. So having users interact with the screen should be the best case.
For the clip lock functionality do you want a specific tag like "work" or should I create a custom tag like "lock" or maybe something else which provides this functionality without you having to create your own. Because custom tags cannot have features of special tags that's why. So I need to manually add a special tag for this case.

Ok, I see.
Yes, so in that case, a special tag would be great. Maybe 'protected' would be a good name for it.

Yup that's what I have decided but I'll start working in the upcoming weekend since I'm very caught up with my work :)

Hey,
I've started working on this feature & I need some context on how this functionality should work as per you, so answer the following questions & maybe add more detail on how would you like it to work at the end if you want.

If you try to delete a tag by long-press & select & click the delete icon at the top, it should not delete & should pop a dialog that "this item cannot be deleted, please remove the tag" or instead of dialog a toast would be better?
If you swipe to dismiss the item it will show a toast or dialog with the same message 1. Just let me know a dialog or a toast (i.e a little message at the bottom) should be shown.
If you select multiple items including the "lock" one & try to delete it through the delete icon at the top, what should be done?
a. It should delete others & should say "some items could not be deleted due to lock tag".
b. It should immediately show a dialog or toast which says "You've selected an item which has lock tag, unselect it to continue to delete the rest items"
c. You say what should happen,

Awesome. Thanks mate.

Yes, I think this flow is good. A toast would be ok.
Yes, toast would be good I think.
I think (a) would be good because in the future, you may like to implement something like multiple select and bulk tagging, so (b) would not be desirable.

The functionality is implemented, you can test it here https://github.com/KaustubhPatange/XClipper/suites/5056800555/artifacts/149957367
Here are the cases, if a lock tag is applied then swipe delete is disabled & everything as mentioned above.
Try it and let me know if you face any issues so that I can plan this feature for the next update.

Thanks! That's great!
I used it for a while and didn't have any issues. It all works just as you described.

I think I've started having an issue with the 'lock' tag.
I have a bunch of locked clip items but sometimes they disappear. I didn't unlock them and I didn't delete them but they are just gone.
I need to test it a little more.

Have you enabled synchronisation? How much total no of lock tag items were there and what is the total count of items in the app?

Synchronisation is on. There's no problem with that. I think it's working fine.
The total number of lock items was about 5 or 6, and 3 or 4 of them disappeared.
The total item count in the app is 190.
I have to test it some more. I have created more locked items and I will monitor them and let you know if it happens again.

In synchronization have you enabled the "Capture Delete" option? Also, if I remember there is a hard limit on the total item count that can be saved and it is 200. So from the 201st item, it will start deleting old items. It may be that the old lock tag item was deleted but I'll check that.

I just put a new commit which should improve the auto-deletion of items, try it here see if it improves https://github.com/KaustubhPatange/XClipper/actions/runs/2482725750

I'm sorry! I made a mistake! Synchronization is NOT on. I don't use it. Which also means that 'Capture Delete' is also not enabled.
Thank you. I'll try the version above with the new commit.

Yes that is what this new commit (shared above) fixes, I made it such that locked items will not be deleted.

Excellent! Thank you sir!


feat: add 'login-idp-link-confirm.ftl'

Hello @cnouguier,
I added the login-idp-link-confirm.ftl which is shown when the first login of brokered user if an user with the same email exists :

NOTE: I used a little "hack" to work with the Vue state and the legacy form submission by using an hidden input with a reactive value :
<input type="hidden" name="submitAction" id="submitAction" :value="submitAction" />
<q-btn outline class="row q-my-sm" type="submit" label="${msg("confirmLinkIdpReviewProfile")}" color="primary" @click="submitAction='updateProfile'"></q-btn>

Maybe there is a more elegant way to do this but I ended up using this because I can't find another way to use buttons to switch value of a HTTP POST form

@LucasVanHaaren
I don't know either. Usually, we don't use 'form' to do such action but KC does ;)


Polish style road labels

They were added in https://github.com/tangrams/eraser-map/issues/63.

with new font Open Sans

Closing in favor of #95 and #96.


As a developer I'd like to be able to disable automatic wrapping of django auth view

Currently the django admin automatically decorates the django auth view on ready of the Application:
https://github.com/jazzband/django-axes/blob/master/axes/apps.py
I'd like to make this optional based on a settings named e.g:
AXES_AUTO_WATCH_DJANGO_LOGIN_VIEW
This will default to True for backwards compatbility, but if False the wrapper won't be used.
In my use case I don't want to wrap the django-auth view but only a custom made login view.
The probem arrises, when both of these views use different username, password fields.

I think is out of the scope of this library.


Finishes Python Bindings for PluginPlay

PR Type

[ ] Breaking change
[x] Feature
[ ] Patch

Brief Description

This PR continues #100 and finishes off the Python bindings for PluginPlay. Notably this PR includes some of the harder to write bindings: Property types, ModuleBase, and Module. The unit tests offer a proof-of-concept for writing modules in Python and running them. As discussed in the next section, I am not at all claiming the bindings are bug-free.
Not In Scope

I am pressed for time in getting Python working before our students arrive in a couple weeks. I fully intend to return to this in order to add tutorials and strengthen the test coverage once I have the features exposed my students will need.
PR Checklist

[x] Is documented
[x] Is tested
[x] Adheres to applicable organization standards

TODOs

[x] Merge https://github.com/NWChemEx-Project/ParallelZone/pull/113

This is r2g. The same caveats apply here regarding PYTHONPATH/rpath as the ParallelZone PR.


Added documentation for the warmer function

Coverage remained the same at 100.0% when pulling 827cd22d4ab0ccfacafed324bbe2c3328238af28 on rtward:master into 0c2fd9b4c1a3e9bef0a1d3f7c09dc4408e81a968 on bchociej:master.


Special case * Use Disorders ?

We have one clique for Alcohol use disorder (UMLS:C0001956 + a MEDDRA term).  And we have another clique for Alcohol abuse which has a bunch of curies.  The preferred is a MONDO, but there is an exact match in MONDO from there to a DOID for Alcohol use disorder.
I think we want these two cliques to be merged.  If that's true then I think we would need to have some by-hand mappings that we apply.
Note that this also seems to apply to Opioid Use Disorder (OUD) and Opioid Abuse.  I suspect that there are numerous examples of this pattern.  This'll be important to sort out for HEAL and LitCoin.

Alcohol use disorder
We have several cliques for this, which appears to exist in a continuum of meaning from:

MONDO:0002046 "alcohol abuse" (biolink:Disease): 11 identifiers, including UMLS:C0085762 "Alcohol abuse", DOID:1574 "alcohol use disorder", MESH:D000437 "Alcoholism", NCIT:C20701 "Alcohol Abuse"
MONDO:0007079 "alcohol dependence" (biolink:Disease): 19 identifiers, including UMLS:C0001973 "Alcoholic Intoxication, Chronic", NCIT:C93040 "Alcohol Dependence", HP:0030955 "Addictive alcohol use"

Also includes UMLS:C3887915 "AERODIGESTIVE TRACT CANCER, SQUAMOUS CELL, ALCOHOL-RELATED, PROTECTION AGAINST", which doesn't seem right.

HP:0430037 "Abnormal alcohol consumption" (biolink:PhenotypicFeature): single ID clique

HP:5200329 "Problematic alcohol consumption" (biolink:PhenotypicFeature): part of the MONDO:0007079 "alcohol dependence" clique

HP:0030955 "Addictive alcohol use" (biolink:PhenotypicFeature): single ID clique

Opioid use disorder

MONDO:0001225 "opioid abuse": 7 identifiers, including UMLS:C0029095 "Opioid abuse"
MONDO:0005530 "opiate dependence": 13 identifiers, including UMLS:C0027412 "Opioid-Related Disorders", UMLS:C0524662 "Opiate Addiction", HP:0033515 "Addictive opioid use"
HP:0033515 "Addictive opioid use" (biolink:PhenotypicFeature): part of the MONDO:0005530 "opiate dependence" clique
UMLS:C4237237 "Opioid use disorder, mild": single identifier clique

Abuse vs dependence
As of DSM-IV in 2007, it looks like "alcohol abuse" refers to excessive and problematic use of something without reaching dependence, while "alcohol dependence" refers to withdrawal symptoms, requiring increasing amounts of alcohol, and other related symptoms.
As of DSM-V, "opioid abuse" has been replaced with "opioid use disorder, mild" as per this paper.
Options

Merge all abuse and dependence cliques into a single clique. This will return in a clique with multiple MONDO IDs, but would make it easier to search for the use disorders we need to NER.
Maintain the abuse/dependence distinction, but combine other IDs into the right places (e.g. UMLS:C4237237 into "alcohol abuse")
Look for relationships in DOID, MeSH, etc. that could provide some clarity and provide better grouping of these diseases.

NameRes Exp (only available behind the RENCI firewall) now returns the MONDO identifiers we want as the first choice as long as you filter to a Biolink type of biolink:Disease or biolink:DiseaseOrPhenotypicFeature:

https://name-resolution-sri-dev.apps.renci.org/lookup?string=opioid use disorder&autocomplete=false&offset=0&limit=10&biolink_type=Disease
https://name-resolution-sri-dev.apps.renci.org/lookup?string=alcohol use disorder&autocomplete=false&offset=0&limit=10&biolink_type=Disease

However, without that filter, we still get a whole bunch of OUD/AUD-related publications (especially questionnaires) and procedures from UMLS:

https://name-resolution-sri-dev.apps.renci.org/lookup?string=alcohol use disorder&autocomplete=false&offset=0&limit=10
https://name-resolution-sri-dev.apps.renci.org/lookup?string=opioid use disorder&autocomplete=false&offset=0&limit=10

@cbizon Is this good enough for LitCoin, or should I try to tweak the way in which we score preferred names vs synonyms to see if I can get it higher up for unfiltered queries? In a pinch I could also add a bunch of these terms to a blocklist so we don't see them at all.

I think for litcoin this is going to be a bit of a problem still - For the EL as currently implemented, we'd really like to see the right answer appearing in the top 10 at least...

Gotcha, I'll see if I can get that to work!

Here's where we're at currently with OUD and AUD. Both are currently at #11 in their respective searches. It's a pretty big score difference at the moment (OUD: 727 -> 329.7, AUD: 626.7 -> 274), which reflects how high our boost is for preferred name matches over synonym matches.
Opioid Use Disorder:

UMLS:C5209216 "Opioid Use Disorder Treatment" (biolink:Procedure): Opioid Use Disorder Treatment (score: 727.5171)
UMLS:C4728238 "opioid use disorder information sensitivity" (biolink:Publication): opioid use disorder information sensitivity (score: 684.4232)
UMLS:C5389789 "digital therapeutics for opioid use disorder" (biolink:Procedure): digital therapeutics opioid use disorder, digital therapeutics for opioid use disorder, digital therapeutics for opioid use disorder (treatment)
UMLS:C5541642 "office-based treatment for opioid use disorder" (biolink:Procedure): office-based treatment for opioid use disorder, office-based treatment for opioid use disorder (treatment)
UMLS:C5540817 "all-inclusive payment for opioid use disorder treatment demonstration" (biolink:Activity): all-inclusive payment for opioid use disorder treatment demonstration, all-inclusive payment for opioid use disorder treatment demonstration (treatment)
UMLS:C5202046 "Gene analysis of 16 genes to evaluate risk of opioid-use disorder" (biolink:Procedure): Gene analysis of 16 genes to evaluate risk of opioid-use disorder
UMLS:C5541644 "office-based treatment for opioid use disorder, 70+ minutes in first calendar month" (biolink:Procedure): office-based treatment for opioid use disorder 70+ minutes first calendar month, office-based treatment for opioid use disorder, 70+ minutes in first calendar month, office-based treatment for opioid use disorder, 70+ minutes in first calendar month (treatment)
UMLS:C5541643 "office-based treatment for opioid use disorder, 60+ minutes in subsequent calendar month" (biolink:Procedure): office-based treatment for opioid use disorder, 60+ minutes in subsequent calendar month, office-based treatment for opioid use disorder, 60+ minutes in subsequent calendar month (treatment)
UMLS:C4746537 "Pain management (opioid-use disorder) genotyping panel, 16 common variants (ie, ABCB1, COMT, DAT1, DBH, DOR, DRD1, DRD2, DRD4, GABA, GAL, HTR2A, HTTLPR, MTHFR, MUOR, OPRK1, OPRM1), buccal swab or other germline tissue sample, algorithm reported as positive or negative risk of opioid-use disorder" (biolink:Procedure): PAIN MGT OPIOID USE DO GNOTYP PNL 16 CMN VRNTS, Pain management (opioid-use disorder) genotyping panel, 16 common variants (ie, ABCB1, COMT, DAT1, DBH, DOR, DRD1, DRD2, DRD4, GABA, GAL, HTR2A, HTTLPR, MTHFR, MUOR, OPRK1, OPRM1), buccal swab or other germline tissue sample, algorithm reported as positive or negative risk of opioid-use disorder
UMLS:C5574502 "All inclusive payment for services related to highly coordinated and integrated opioid use disorder (oud) treatment services furnished for the demonstration project" (biolink:Activity): All inclusive payment for services related to highly coordinated and integrated opioid use disorder (oud) treatment services furnished for the demonstration project (score: 346.42648)
MONDO:0005530 "opiate dependence" (biolink:Disease): narcotism, Narcotism, addiction opiate, Opioid Addiction, Opiate Addiction, Opioid addiction, opiate addiction, Opioid dependence, opiate dependence, Opiate Dependence, opioid dependence, OPIOID DEPENDENCE, Opioid Addictions, Opioid Dependence, Addiction, Opiate, Addiction, Opioid, Opioid Dependences, Dependence, Opioid, dependence opiates, dependence; opiate, Dependence, Opiate, dependence; opioids, narcotic dependence, Opioid use disorder, dependence narcotic, Opioid Use Disorder, opioids; dependence, opioid use disorder, Disorder, Opioid Use, Addictive opioid use, Opioid Use Disorders, dependence on opiates, Dependence on opiates, Opioid type dependence, opioid type dependence, Opioid-Related Disorder, Opioid related disorders, Opioid-Related Disorders, opioid-related disorders, Opioid-related disorders, Opioid Related Disorders, Opioid type drug dependence, Opioid use disorder, Severe, Opioid use disorder, severe, Opioid dependence (disorder), Opioid use disorder, moderate, opioid dependence (diagnosis), Opioid use disorder, Moderate, Opioid type dependence, unspecified, opioid-related disorders (diagnosis), Opioid type dependence, unspecified use, Opioid use disorder, severe, in early remission, Opioid use disorder, moderate, in early remission, Opioid use disorder, severe, in sustained remission, Opioid use disorder, moderate, in sustained remission, Opioid use disorder, moderate, with opioid induced depressive disorder (score: 329.73413)

Alcohol use disorder:

UMLS:C0679277 "alcohol use disorder classification" (biolink:Publication): alcohol use disorder classification (score: 626.7189)
UMLS:C4529967 "Alcohol Use Disorder (AUD) Treatment" (biolink:Procedure): Alcoholism Treatment, Alcohol Abuse Treatment, Alcohol Use Disorder (AUD) Treatment
UMLS:C4728261 "alcohol use disorder information sensitivity" (biolink:Publication): alcohol use disorder information sensitivity
UMLS:C5389782 "digital therapeutics for alcohol use disorder" (biolink:Procedure): digital therapeutics alcohol use disorder, digital therapeutics for alcohol use disorder, digital therapeutics for alcohol use disorder (treatment)
UMLS:C3870568 "Alcohol use disorder identification test:-:Pt:^Patient:-:AUDIT" (biolink:ClinicalAttribute): Alcohol Use Disorder Identification Test [AUDIT], Alcohol use disorder identification test:-:Pt:^Patient:-:AUDIT, Alcohol use disorder identification test:-:To identify measures at a point in time:^Patient:-:AUDIT
UMLS:C3871151 "Alcohol Use Disorder Identification Test Alcohol Consumption Questions Questionnaire" (biolink:Publication): AUDIT-C, Alcohol use disorder identification test-consumption, Alcohol Use Disorders Identification Test-Consumption, Alcohol Use Disorder Identification Test - Consumption, Alcohol Use Disorder Identification Test Alcohol Consumption Questions Questionnaire
UMLS:C3889431 "Alcohol Use Disorder Identification Test Self-Report Version Questionnaire" (biolink:Publication): AUDIT, Alcohol Use Disorder Identification Test Self-Report Version Questionnaire
UMLS:C3869943 "Alcohol use disorder identification test-consumption:-:Pt:^Patient:-:AUDIT-C" (biolink:ClinicalAttribute): Alcohol Use Disorder Identification Test - Consumption [AUDIT-C], Alcohol use disorder identification test-consumption:-:Pt:^Patient:-:AUDIT-C, Alcohol use disorder identification test-consumption:-:To identify measures at a point in time:^Patient:-:AUDIT-C
UMLS:C3699401 "Alcohol use disorder:Find:Pt:^Patient:Ord" (biolink:ClinicalAttribute): Alcohol use disorder, Alcohol use disorder:Find:Pt:^Patient:Ord, Alcohol use disorder:Finding:To identify measures at a point in time:^Patient:Ordinal
UMLS:C0450985 "Alcohol use disorders identification test" (biolink:Publication): AUDIT, Alcohol Use Disorder Identification Test, Alcohol use disorder identification test, Alcohol use disorders identification test, Alcohol Use Disorders Identification Test, Alcohol Use Disorders Identification Test (AUDIT), AUDIT - Alcohol use disorders identification test, Alcohol use disorders identification test (assessment scale) (score: 331.13156)
MONDO:0007079 "alcohol dependence" (biolink:Disease): ALCOHOLISM, Alcoholism, Dipsomania, dipsomania, alcoholism, alcoholisms, ETOH dependence, Alcoholism, NOS, alcohol addiction, Addiction;alcohol, Alcohol Addiction, addiction alcohol, Alcohol addiction, alcoholism chronic, Alcohol dependency, Alcoholism;chronic, Dependence;alcohol, ALCOHOL DEPENDENCE, alcohol; addiction, alcohol dependence, addiction; alcohol, Alcohol Dependence, chronic alcoholism, Chronic alcoholism, Addiction, alcohol, alcohol dependency, Addiction, Alcohol, Alcohol dependence, ALCOHOLISM CHRONIC, Dependence, Alcohol, alcohol; dependence, Alcoholism, chronic, alcohol dependences, addicted to alcohol, dependence; alcohol, disorder alcoholism, Alcohol use disorder, Alcohol Use Disorder, alcoholism disorders, drunkenness; chronic, alcohol use disorder, chronic; drunkenness, Dependency on alcohol, Addictive alcohol use, Alcoholism (disorder), Chronic alcohol abuse, Abuse;alcohol;chronic, Alcohol Use Disorders, Alcohol abuse chronic, ALCOHOL ABUSE CHRONIC, chronic alcohol abuse, alcohol use disorders, Use Disorders, Alcohol, abuse alcohol alcoholism, Persistent alcohol abuse, alcohol abuse alcoholism, Alcohol problem drinking, alcoholism/alcohol abuse, ethyl alcohol; dependence, dependence; ethyl alcohol, Alcohol Use Disorder (AUD), Alcohol dependence syndrome, alcohol dependence syndrome, Alcohol use disorder, Severe, Alcohol use disorder, severe, primary alcohol use disorder, chronic alcohol intoxication, Intoxication;alcohol;chronic, alcoholism chronic disorders, Alcohol dependence (disorder), dependence alcoholism alcohol, Alcoholic dependence syndrome, secondary alcohol use disorder, Chronic Alcoholic Intoxication, alcohol dependence (diagnosis), Alcohol use disorder, Moderate, Alcohol use disorder, moderate, Intoxication, Chronic Alcoholic, Alcoholic Intoxication, Chronic, alcohol use disorder measurement, Alcoholism with alcohol dependence, Persistent alcohol abuse (disorder), alcohol use disorder in the elderly, Persistent alcohol abuse (diagnosis), alcohol dependence, susceptibility to, alcohol dependence, protection against, Personal history of alcohol use disorder, alcohol use with alcohol-induced disorder, primary vs secondary alcohol use disorder, Alcohol abuse, continuous drinking behavior, Alcohol abuse, continuous drinking behaviour, Alcohol use disorder, severe, in early remission, Alcohol use disorder, moderate, in early remission, alcohol use with alcohol induced psychotic disorder, Alcohol use disorder, severe, in sustained remission, alcohol use with alcohol-induced disorder (diagnosis), Alcohol use disorder, moderate, in sustained remission, alcohol use with alcohol-induced disorder psychotic disorder, alcohol use with alcohol induced psychotic disorder (diagnosis), Alcohol use disorder, severe, with alcohol-induced depressive disorder, Alcohol use disorder, moderate, with alcohol-induced depressive disorder, Mental and behavioral disorders due to use of alcohol, dependence syndrome, Mental and behavioural disorders due to use of alcohol, dependence syndrome, aerodigestive tract cancer, squamous cell, alcohol-related, protection against, AERODIGESTIVE TRACT CANCER, SQUAMOUS CELL, ALCOHOL-RELATED, PROTECTION AGAINST, Alcohol use disorder, severe, with alcohol-induced bipolar or related disorder, Alcohol use disorder, severe, with alcohol-induced mild neurocognitive disorder, Alcohol use disorder, moderate, with alcohol-induced bipolar or related disorder, Alcohol use disorder, moderate, with alcohol-induced mild neurocognitive disorder, Alcohol use disorder, severe, with alcohol-induced major neurocognitive disorder, amnestic-confabulatory type, Alcohol use disorder, moderate, with alcohol-induced major neurocognitive disorder, amnestic-confabulatory type, Alcohol use disorder, severe, with alcohol-induced major neurocognitive disorder, nonamnestic-confabulatory type, Alcohol use disorder, moderate, with alcohol-induced major neurocognitive disorder, nonamnestic-confabulatory type (score: 274.00262)

Possible fixes:

Rename the OUD and AUD cliques to that phrase so we get preferred name boosting.
Remove/block all the UMLS terms above them (or at least enough to get them into the top ten).
Add a penalty for matches with very long preferred names.
Boost entries with a high clique identifier count.

Adding the exact(ish) index didn't make the database much bigger -- the compressed file is about 10G larger and the Solr index is about 16G larger (from 122.36 GB to 138.39 GB). I set it up on https://name-resolution-sri-dev.apps.renci.org/docs and both OUD and AUD are now in the top 4 and 5 results respectively!

https://name-resolution-sri-dev.apps.renci.org/lookup?string=alcohol use disorder&autocomplete=false&offset=0&limit=10
https://name-resolution-sri-dev.apps.renci.org/lookup?string=opioid use disorder&autocomplete=false&offset=0&limit=10

I'll need to do more testing to see if this has broken anything -- I have noticed that UMLS entries are doing better on a bunch of searches because they have an exact match with the search query (e.g. UMLS:C1546560 "Specimen Source Codes - Bone" is now the top result for bone because one of its synonyms is "bone").

Apparently we can boost OUD/AUD in the results by 3-4 places just by changing the search query from (${query}) to "${query}".

[ ] In the latest result we're also seeing Opioid use disorders (OUD) get mapped to UMLS:C4536274 "opioid use with other opioid induced mental and behavioral disorders" (https://name-resolution-sri.renci.org/lookup?string=Opioid use disorders (OUD)&autocomplete=false&offset=0&limit=10). So we'll probably need to do some kind of synonym combination to fix this.

This is now fixed in NameRes Dev, which returns:

For opioid use disorder: MONDO:0005530 "opiate dependence", followed by MONDO:0001225 "opioid abuse" (https://name-resolution-sri.renci.org/lookup?string=opioid use disorder&autocomplete=false&offset=0&limit=10)
For "alcohol use disorder": MONDO:0007079 "alcohol dependence", followed by MONDO:0002046 "alcohol abuse" (https://name-resolution-sri.renci.org/lookup?string=alcohol use disorder&autocomplete=false&offset=0&limit=10)

The updated search query should have helped with this as well, but I'll leave the manual concords in for now. I'm going to close this issue, but please reopen if there's anything I've missed.


Memory Allocations

When I replace the allocate_uint calls with malloc calls in SmallNTTTables, I pass all the tests when building. However, the moment I change malloc to cudaMallocManaged calls, the tests break and I get errors of the form
[  FAILED  ] EvaluatorTest.CKKSEncryptSquareRelinDecrypt (4 ms)
[ RUN      ] EvaluatorTest.CKKSEncryptMultiplyRelinRescaleDecrypt
unknown file: Failure
C++ exception with description "encrypted is not valid for encryption parameters" thrown in the test body.
[  FAILED  ] EvaluatorTest.CKKSEncryptMultiplyRelinRescaleDecrypt (21 ms)
[ RUN      ] EvaluatorTest.CKKSEncryptSquareRelinRescaleDecrypt
unknown file: Failure
C++ exception with description "operand2" thrown in the test body.

This is strange to me as I assumed that the behaviour of cudaMallocManaged would be the same as malloc in the absence of any kernel calls, which I have not included thus far.
Can these test failures be safely ignored? What could possibly be causing them?

This issue was resolved after I allocated CUDA unified memory to the SmallNTTTables objects in SEALContext and BaseConverter classes.

This issue was resolved after I allocated CUDA unified memory to the SmallNTTTables objects in SEALContext and BaseConverter classes.


WIP:  df patched upgrade to 2024-03-05, requiring new DF fixes

⚠ WIP: will not be merged. ⚠
Below is edited, since a patch was merged into main
What's (was) in this branch:
When testing against iox, we have been finding patches needed in DF. This is a branch for datafusion through EOD 2024-03-05, and then layering on patches needed.

Starting at datafusion main branch commit from March 5th 2024:
commit ea01e56c3341dd4308a24e94091b86ee475ce224
Author: Marko Milenković<EMAIL_ADDRESS>Date:   Tue Mar 5 23:05:19 2024 +0000

    Add plugable handler for `CREATE FUNCTION` (#9333)

Then we added these commits:

Fix incorrect results with multiple COUNT(DISTINCT..) aggregates on dictionaries (#9679), merged into datafusion on 2024-03-19.
fix(9678): short circuiting prevented population of visited stack, for common subexpr elimination optimization (#9685), merged into datafusion on 2024-03-21.

And a new patch, based upon a newly found bug:

original fix, in 2 commits (d59a8debab0a63ceaf862097ab474d38949ce056 and 049bf0927d8653c91703e1ce02b38c806925ac16)
reverted those 2 commits, then:
added actual fix merged into DF main:

commit 4a387c8cb53994ae4a41afc14c7a73fafb7ffcf6
Author: wiedld<EMAIL_ADDRESS>Date:   Sun Mar 31 05:09:06 2024 -0700

   fix(9870): common expression elimination optimization, should always re-find the correct expression during re-write. (#9871)

reason for this patch is [detailed here](https://github.com/influxdata/influxdb_iox/pull/
10463#issuecomment-2024334683).

This new patch^^, merged into DF main on 2024-03-31, no longer had 2 methods which existed at 2024-03-05. Therefore, those two methods were patched (just for this 2024-03-05 branch):
commit 9af8ac27e1567ea6e7bf76643d398d71979f56a4
Author: wiedld<EMAIL_ADDRESS>Date:   Mon Apr 1 08:53:20 2024 -0700

    refactor: incorporate ExprSet changes into the methods that no longer exist on main, but do exist at 2024-03-05

The new DF patch (merged into main) also included a test using coalesce. This test relies upon a bug fix merged into main on March 7th (and not available on this 2024-03-05 branch). Added that patch too:
commit 581e74785b876615d6a63db8c2e5ba372bf78828 (HEAD -> iox-10349/df-upgrade-with-patches, origin/iox-10349/df-upgrade-with-patches)
Author: comphead<EMAIL_ADDRESS>Date:   Thu Mar 21 11:07:40 2024 -0700

    build: modify code to comply with latest clippy requirement (#9725)

add the clippy build fix
commit 581e74785b876615d6a63db8c2e5ba372bf78828 (HEAD -> iox-10349/df-upgrade-with-patches, origin/iox-10349/df-upgrade-with-patches)
Author: comphead<EMAIL_ADDRESS>Date:   Thu Mar 21 11:07:40 2024 -0700

    build: modify code to comply with latest clippy requirement (#9725)

we have a single test failing, which confirms the memory size of the ScalarValue. Presumably this is an artifact of the CI env.

This failure is due to the new rust version -- it was fixed upstream in https://github.com/apache/arrow-datafusion/pull/9725 (discussion https://github.com/apache/arrow-datafusion/pull/9725/files#r1534400422)

I looked at the CI failures of https://github.com/wiedld/arrow-datafusion/pull/3/commits/581e74785b876615d6a63db8c2e5ba372bf78828 and they appear related to either clippy on the examples or that the examples need to be updated for a new version of chrono
https://github.com/wiedld/arrow-datafusion/actions/runs/8510669631/job/23310350970
https://github.com/wiedld/arrow-datafusion/actions/runs/8510669631/job/23310349671
Thus I conclude that the code on this branch is passing CI and this defect free

No longer needed. Closing.


False positive code detections

[ ] 1. Multiple one-word lines

word
another_word
...

[ ] 2. Tuple word, another_word, ...

[ ] 3. Single hyphen confused with binary subtraction operator w-ord

[ ] 4. URLs example.com or t.me/username or t.me/c/1234567890/1000

[ ] 5. Email addresses<EMAIL_ADDRESS>

[ ] 6. **not** good

[x] 7. Unary operators to constant-1

[ ] 8. 1 + 3

a - b, c
d - e, f

7 fixed in #6


"Ghost" user in issue list points 404 page, but should not be clickable

When a user creates an issue, then the name in the issue list is clickable and points to the profile (which is correct)
When the user is deleted, then the name changes to "Ghost", but is still clickable and sends to 404 page (which is not correct)

The incorrect line in the template is:

https://github.com/go-gitea/gitea/blob/01bd1fcd33a7af55bfbba10f391b22a631ac592c/templates/repo/issue/list.tmpl#L223

In other places ghost links are handled correctly:

https://github.com/go-gitea/gitea/blob/01bd1fcd33a7af55bfbba10f391b22a631ac592c/templates/repo/issue/view_title.tmpl#L39-L43

I was able to reproduce the bug in:

https://try.gitea.io/
https://github.com/Freeyourgadget/Gadgetbridge/issues

Can you reproduce the bug at https://try.gitea.io:

[x] Yes
[ ] No
[ ] Not relevant

The example on try.gitea.io (issue #2 in the list) where Ghost should not be clickable:

https://try.gitea.io/pippo/fsafsdfsd/issues

@tklein23  could you send a PR to fix that?

tl;dr: Sorry, I can't do that.
A CR would require additional translations for issues.closed_by and issues.merged_by in all supported languages.  IMO this is the wrong approach, because this increases the cost for adding new and supporting the existing languages.
Someone with more knowledge about the template language should probably see if it's possible to fix the macro and avoid having a "_fake" variant of each issue event.
Maybe I can do that once I'm more familiar with the gitea codebase, but for sure I cannot do it right now.

You don't have to do all of the translations. Only the English one is needed, others will be added as needed on https://crowdin.com .

I think I've fixed the issue in the above commit, but I'm not sure how to properly make a PR as I have another one pending, and committing seems to add it to that PR, sorry.


Looking for an option to select rows and copy it into csv or excel

There's no option to select records and copy just like the remove option.
I want to export the records into an excel format or an option to download the shown records in any format also holds good.

Sounds like something that can be implemented quite easily via a custom bulk action
https://adminbro.com/tutorial-actions.html

I think it duplicates #322

@leibowitz I truly did my best but I couldn't customize this feature! I'd appreciate any sort of guide.

Hello I am also on the same boat, really tried my best to get to implement this feature but couldn't. Is there any guide? Would appreciate it.


Cropped picture to be squared

All pictures need to be square (same amount of pixels in height/width) otherwise we end up with oval images.

We will need to see if we can add this to @brminnick 's validation to avoid problems ahead of time.

Docs Build status updates of commit 81c3823:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/media/profiles/Pierre-Roman.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/aaron-wislang.png
:white_check_mark:Succeeded
View

advocates/media/profiles/adi-polak.png
:white_check_mark:Succeeded
View

advocates/media/profiles/ari-bornstein.png
:white_check_mark:Succeeded
View

advocates/media/profiles/ayca-bas.png
:white_check_mark:Succeeded
View

advocates/media/profiles/brian-benz.png
:white_check_mark:Succeeded
View

advocates/media/profiles/brian-ketelsen.png
:white_check_mark:Succeeded
View

advocates/media/profiles/chloe-condon.png
:white_check_mark:Succeeded
View

advocates/media/profiles/christina-warren.png
:white_check_mark:Succeeded
View

advocates/media/profiles/cynthia-zanoni.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/glaucia-lemos.png
:white_check_mark:Succeeded
View

advocates/media/profiles/jasmine-greenaway.jpg
:white_check_mark:Succeeded
View

advocates/media/profiles/jessica-deen.png
:white_check_mark:Succeeded
View

advocates/media/profiles/lucas-santos.png
:white_check_mark:Succeeded
View

advocates/media/profiles/rabia-williams.png
:white_check_mark:Succeeded
View

advocates/media/profiles/sandra-ahlgrimm.png
:white_check_mark:Succeeded
View

advocates/media/profiles/thomas-lewis.png
:white_check_mark:Succeeded
View

advocates/media/profiles/yohan-lasorsa.png
:white_check_mark:Succeeded
View

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


Where Do I find OneNote after installation

Hi,
I installed OneNote from your Git Repository and started it.  It worked fine, but after I closed the app, I can't find it on my linux Mint system.  do I have to use the console and run the npm install and start every time?

Hi, I apologize for the delayed reply. I had automatically been unsubscribed from the repo, and I do not know why. I have published an update with a bunch of fixes now.
To answer your question:
How did you start the app? Did you clone the repo and run npm install / start? If yes, then you will need to cd into the folder and run npm start each time. But this is only appropriate for development. If you want to use it as a regular program, I would recommend using Deb, Snap, or AppImage packages. You will find the latest error free files in the releases section for this repo. And I should have a snap package published on Snapcraft soon. So you can use snap install onenote-desktop once I have that done. I will post an update in the main readme.
Thank you for your patience.

Hi, I apologize for the delayed reply. I had automatically been unsubscribed from the repo, and I do not know why. I have published an update with a bunch of fixes now.
To answer your question:
How did you start the app? Did you clone the repo and run npm install / start? If yes, then you will need to cd into the folder and run npm start each time. But this is only appropriate for development. If you want to use it as a regular program, I would recommend using Deb, Snap, or AppImage packages. You will find the latest error free files in the releases section for this repo. And I should have a snap package published on Snapcraft soon. So you can use snap install onenote-desktop once I have that done. I will post an update in the main readme.
Thank you for your patience.

Closing, since this is not really an issue.
Also, just FYI,

If you clone the repo and use npm start - the OneNote-desktop application stays in that same location.
If you install the .deb package, installation location is in /opt/onenote-desktop I believe.
If you install the snap package, installation goes to /snap/onenote-desktop and local/user configuration files are stored in /user/<username>/snap/onenote-desktop
If you use the AppImage, then the application launches from where ever the .AppImage file is stored. and you can launch the app by double clicking on the file. Unfortunately I don't have AppImage icon/shortcut scripts set up yet, so you will need to create those yourself if you want them to show up in your "Start Menu/App Drawer"

Let me know if you have further questions.

Closing, since this is not really an issue.
Also, just FYI,

If you clone the repo and use npm start - the OneNote-desktop application stays in that same location.
If you install the .deb package, installation location is in /opt/onenote-desktop I believe.
If you install the snap package, installation goes to /snap/onenote-desktop and local/user configuration files are stored in /user/<username>/snap/onenote-desktop
If you use the AppImage, then the application launches from where ever the .AppImage file is stored. and you can launch the app by double clicking on the file. Unfortunately I don't have AppImage icon/shortcut scripts set up yet, so you will need to create those yourself if you want them to show up in your "Start Menu/App Drawer"

Let me know if you have further questions.


error when opening in google earth

I cannot open the kml file in Google Earth. All I did was save it to my computer first. Is this file to be used with Google Earth? thanks

How did you downloaded the file? If you have downloaded it from github you must use the 'raw' format: https://raw.githubusercontent.com/GEMScienceTools/central_am_carib_faults/master/kml/central_am_caribbean_faults.kml
It looks like it contains an html page (like the rendered content) instead of the raw data.

I right clicked and downloaded the kml from the github page here:
https://github.com/GEMScienceTools/central_am_carib_faults/tree/master/kml
here is the link from that page (which is different than the one you
provided in this email):
https://github.com/GEMScienceTools/central_am_carib_faults/blob/master/kml/central_am_caribbean_faults.kml
the kml i saved to my computer from the link you just provided worked.
the difference seems that i opened the raw kml in a browser and then
"saved as." saving the kml directly from the github link did not work.
interesting (i have not encountered this before).
thanks for your help!
On 5/9/2019 12:28 AM, Daniele Viganò wrote:

How did you downloaded the file? If you have downloaded it from github
you must use the 'raw' format:
https://raw.githubusercontent.com/GEMScienceTools/central_am_carib_faults/master/kml/central_am_caribbean_faults.kml
It looks like it contains an html page (like the rendered content)
instead of the raw data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GEMScienceTools/central_am_carib_faults/issues/2#issuecomment-490781517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5PWBONLDTQ7H2FSQDQ5DTPUPHDLANCNFSM4HLWDAZA.

--
Dr. Jason "Jay" R. Patton
<EMAIL_ADDRESS>http://earthjay.com
1+<PHONE_NUMBER> m
@patton_cascadia

the kml i saved to my computer from the link you just provided worked. the difference seems that i opened the raw kml in a browser and then "saved as." saving the kml directly from the github link did not work. interesting (i have not encountered this before).

That's the normal behavior of GitHub: if you right click directly on a link in GitHub you'll get the rendered page by GitHub, not the original content of the file. To get the original content you must click on the Raw button (which generates a link like https://github.com/GEMScienceTools/central_am_carib_faults/raw/master/kml/central_am_caribbean_faults.kml (there's a raw instead of blob in the path).


Is it possible to use this without the server running

I saw several extension like this one , typist AI and others , is it possible to run this with a server running in background .
Thank you

I guess you can write everything inside your chrome extension. But that will make the extension not sharable since it will then contain your api keys.


backports fixes to support icp, kibana init issue 37303, 37572

changes

fixes 37303
backports fixes to support icp
fixes 37572
kibana init failure

tests

smoke test on local icp 321 cluster
smoke test on local ocp cs 33 cluster

/lgtm


[Snyk] Security upgrade Sphinx from 1.8.5 to 3.0.4

Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements/requirements-python3.7.txt

⚠ Warning
thrift-sasl 0.4.2 has requirement thrift==0.9.3, but you have thrift 0.13.0.
snowflake-connector-python 2.1.3 has requirement botocore<1.14.0,>=1.5.0, but you have botocore 1.17.25.
snowflake-connector-python 2.1.3 has requirement boto3<1.11.0,>=1.4.4, but you have boto3 1.14.25.
snowflake-connector-python 2.1.3 has requirement requests<2.23.0, but you have requests 2.24.0.
snowflake-connector-python 2.1.3 has requirement cffi<1.14,>=1.9, but you have cffi 1.14.0.
snowflake-connector-python 2.1.3 has requirement cryptography<3.0.0,>=1.8.2, but you have cryptography 3.0.
slackclient 1.3.2 has requirement websocket-client<0.55.0,>=0.35, but you have websocket-client 0.57.0.
python3-openid 3.2.0 has requirement defusedxml<=0.4.1, but you have defusedxml 0.6.0.
python-jose 3.1.0 requires rsa, which is not installed.
pytest-xdist 1.33.0 requires pytest, which is not installed.
pytest-timeout 1.4.2 requires pytest, which is not installed.
pytest-rerunfailures 9.0 requires pytest, which is not installed.
pytest-rerunfailures 9.0 has requirement setuptools>=40.0, but you have setuptools 39.0.1.
pytest-instafail 0.4.2 requires pytest, which is not installed.
pytest-forked 1.2.0 requires pytest, which is not installed.
pytest-cov 2.10.0 requires pytest, which is not installed.
moto 1.3.14 has requirement idna<2.9,>=2.5, but you have idna 2.10.
ipdb 0.13.3 requires ipython, which is not installed.
google-auth 1.19.2 requires rsa, which is not installed.
google-auth 1.19.2 has requirement setuptools>=40.3.0, but you have setuptools 39.0.1.
flower 0.9.5 requires humanize, which is not installed.
croniter 0.3.34 requires natsort, which is not installed.
cfn-lint 0.34.0 requires networkx, which is not installed.
botocore 1.17.25 has requirement docutils<0.16,>=0.10, but you have docutils 0.16.
beautifulsoup4 4.7.1 requires soupsieve, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

646/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Cross-site Scripting (XSS) SNYK-PYTHON-SPHINX-570772
Sphinx:  1.8.5 -> 3.0.4
No
Proof of Concept

636/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.3
Cross-site Scripting (XSS) SNYK-PYTHON-SPHINX-570773
Sphinx:  1.8.5 -> 3.0.4
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the effected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

I really wish Snyk would stop committing stuff with my username.


integration testing

Now that we have #41 we can move to "define the SUT for a subsequent "integration testing" story."
As devs, we want to have an integration test environment where a number of representative tests  -- both at component-level and end-to-end -- can be run using different, well-defined fixtures.
A bunch of desiderata follows:

[x] A dev should be able to run individual integration tests on the command line
[x] Each test should report its exit status
[x] Each test should collect and make available the execution logs for each of the components as well as the test
[x] A dev should be able to run all tests using a simple make integration-tests target
[ ] Ideally, integration tests would be part of the existing Golang test suite
[x] These tests should be run as part of the GitHub CI (either nightly or on push depending on their "cost")

[ ] One negative test
[ ] Documentation on how to write integration tests


API access unauthenticated error using IAM as an additional auth mode on client

Which Category is your question related to?
Multiple auth modes on API
Amplify CLI Version
4.4.0
What AWS Services are you utilizing?
Amplify Auth, Amplify API, Lambda resolver
Provide additional details e.g. code snippets
My API has the default auth mode set as cognito user pool and one additional auth mode as IAM. However when I access the API with the following code with amplify generated aws-exports.js config:
    const res = await API.graphql({
      query: queries.getHanShanRate,
      variables: {input: {currency: 'CNY'}},
      authMode: 'AWS_IAM'
    });
    console.log(res);

I get the following error with code 401:
{
  "errors" : [ {
    "errorType" : "UnauthorizedException",
    "message" : "Permission denied"
  } ]
}

However in the Appsync web console, using the IAM auth mode do the same query returns the expected result shown in the screen shot below:

Do I need additional IAM configurations on the client side? The documentation is lacking in this regard and there isn't much examples that I can follow. My graphql schema as shown in AppSync web console (as current graphql transform library does not yet support multiple auth modes):
# this query invokes a lambda resolver to get data from an external source
type Query {
	getHanShanRate(input: getReferenceRateInput): ReferenceRateResult
		@aws_iam
}

type ReferenceRateResult @aws_iam {
	currency: Currency
	rate: Float
	fee: Float
	feeCurrency: Currency
	updatedAt: AWSDateTime
}

My intention for this setup is straight forward: I need to open some APIs to unauthenticated users while other APIs are protected by cognito user pool by default. Is there a better way of achieving the same goal?

My graphql schema as shown in AppSync web console (as current graphql transform library does not yet support multiple auth modes):

Could you elaborate what do you mean by this? The transformer does support multi auth. Its documented here how to use public auth using IAM.
If you're doing type extension, then you will have to add IAM policy that allows UnAuth role access that query.

@yuth Oh, maybe I was not up to date. I was under the impression that @aws_iam is not available for Amplify CLI GraphQL Transform library from this post, in which it states:
As of this post, the AWS Amplify CLI GraphQL Transform library does not yet support multiple authorization types though it is on the roadmap & being worked on.
Anyway, I just tried the method provided in the documentation using the following implementation:
  getHanShanRate(input: getReferenceRateInput): ReferenceRateResult
    @function(name: "rates-${env}")
    @auth(rules: [{ allow: public, provider: iam }])

Unfortunately I have this warning in mock server:
Be careful when using @auth directives on a field in a root type. @auth directives on field definitions use the source object to perform authorization logic and the source will be an empty object for fields on root types. Static group authorization should perform as expected.

and the frontend still has 401:
{ "errors": [{ "errorType": "UnauthorizedException", "message": "UnauthorizedException:Invalid JWT Token" }] }

It still puzzles me why Appsync web console has the correct response while the client doesn't. 🤔

It still puzzles me why Appsync web console has the correct response while the client doesn't. 🤔

When using AppSync console, IAM auth uses your current IAM user which most probably is an Admin user with all the privileges.

@yuth Oh, maybe I was not up to date. I was under the impression that @aws_iam is not available for Amplify CLI GraphQL Transform library from this post, in which it states:

We added multi auth support in Amplify CLI in third quarter last year.

Unfortunately I have this warning in mock server:
Be careful when using @auth directives on a field in a root type. @auth directives on field definitions use the source object to perform authorization logic and the source will be an empty object for fields on root types. Static group authorization should perform as expected.

This should be OK as you're using the static authorization rule here and Auth will work as expected.  Mock does not fully support IAM, it just treats any IAM request as an authorized requst.

and the frontend still has 401:
{ "errors": [{ "errorType": "UnauthorizedException", "message": "UnauthorizedException:Invalid JWT Token" }] }

What do you pass as authorization HTTP header when you make request to GraphQL API? From the error message it looks like the authorization header is missing in your request

@yuth I updated amplify-js to the latest version, now the frontend gets 200 response. It seems the older version of amplify-js might sign header differently than the latest version.
However now the graphql throws error complaining not having authorised access to the return type items:
{
   "data":{
      "getHanShanRate":{
         "currency":null,
         "rate":null,
         "fee":null,
         "feeCurrency":null,
         "updatedAt":null
      }
   },
   "errors":[
      {
         "message":"Not Authorized to access currency on type ReferenceRateResult",
         "errorType":"Unauthorized",
         ...
         ]
      },
     ...
   ]
}

The response is a user defined type:
type ReferenceRateResult {
	currency: Currency
	rate: Float
	fee: Float
	feeCurrency: Currency
	updatedAt: AWSDateTime
}

Since ReferenceRateResult is not attached to a @model directive, it can not be annotated with @auth. Therefore I resorted using @aws_iam decorator in appsync web console:
type Query {
	getHanShanRate(input: getReferenceRateInput): ReferenceRateResult
		@aws_iam
}

type ReferenceRateResult @aws_iam {
	currency: Currency
	rate: Float
	fee: Float
	feeCurrency: Currency
	updatedAt: AWSDateTime
}

With the modifications above both AppSync web console query and client have the correct response.

Regarding Amplify CLI GraphQL Transform, there are two aspects IMO should further improve:

Should support @auth directive on non model types; or non model types should be accessible to un-authenticated access by default.
@auth decorator should only be applied to a field in the type Query instead of the root type. For example, in my schema.graphql the decorator is annotated to a field in type Query:

type Query {
  myQuery(input): myResponse @auth(rules: [{ allow: public, provider: iam }])
}

I'd expect in AppSync console auth directive is on myQuery field:
type Query {
  myQuery(input): myResponse @aws_iam
}

However the current behaviour is:
type Query @aws_iam {
  myQuery(input): myResponse
}

I'm not sure if this is related, but perhaps - I just ran into issues with a lambda being unauthorized to access the API under perhaps similar conditions, and was able to figure out a workaround. Here's the issue I opened with the details: https://github.com/aws-amplify/amplify-cli/issues/4306

@hello2all Are you still stuck on this issue? For non-model types you can use @aws_iam decorator and the transformer will passthrough this directive. cc @attilah

@kaustavghosh06 Thank you, this issue has been resolved. You may close this thread.


added the airbnb dataset to DataSet folder.

I don't know if having the dataset on this GitHub repo will make it harder when each of you pulls down to your local computer.  Also, I am not sure if it will affect what is pushed up to aws.

Guess we will find out as I am not sure either! I don't think it will?!   I think we should include it.


1036 api endpoint to make an offer

Context
We need an api endpoint for making an offer on an application.
Changes proposed in this pull request

Add /applications/:application_id/offer route and OffersController
Add MakeAnOffer service to handle the making of the offer
Update application_choice presenter to handle offers
Update status enum to include conditional and unconditional offers
Add specs to test the api response.

Guidance to review
Run specs
Link to Trello card
1036 - Api Endpoint for making an offer

@tijmenb We've tried to address all feedback — should be ready for another look


Add tini init and run as node user

Both is recommmended by the nodejs docker working group:
https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md

Tini makes sure that kernel signals are handled properly, otherwise nodejs containers can take a while to shutdown sometimes.
It is also recommended to run the container as non-root node user

@CSNWEB We noticed that a container built with your proposed Dockerfile doesn't start because the node user lacks write permission on the /usr/app/logs folder.
We tried to find a quick solution for it it but the only thing we came up with was (under certain circumstances) a breaking change for people that mount their log files to the host machine. We will try to find a solution for this as soon as we have the capacities.
I guess for now it would be best to remove the line where you set the user so that we can merge this PR.

Another problem with the default docker logs is that after you recreate the container (e.g. in case of a version upgrade) all the logs created in the past will be lost. Whereas if you mount the logs to the host machine, they will be persisted across container recreations.
Nonetheless I am not fully convinced of the current logging solution either. I guess it would be best to have some external service we can send the logs to. But that's not on top of our priority list at the moment.

Hi @CSNWEB! As TINI was added a while ago we finally switched from the root user to the node user.
This will land with the 3.0.0 release of the Connector that will drop soon and can already be tested using the beta tag. Make sure to read the updated information about log file mounting when setting up the connector!


Added stdin param for run_as

This optional param will be used in the Kafka Charm

At this point, it's probably worth switching over to Popen and communicate instead of using the helpers, since we're already switching on capturing the output and it would allow us to pass the string directly to communicate() instead of creating a temp file.

That is true. I'm not that familiar with how to replicate check_output behavior and exceptions with Popen. I didn't switch myself out of fear to break existing Charms depending on check_output specific behavior.
As a side note: The kafka patches I made depend on this functionality. What's the best way to merge them? Do I wait for these changes or do I include a patched jujubigdata with the Charms?

I think these changes are ok to merge as-is and we can refactor later to use Popen.  I believe @kwmonroe is going to do a jujubigdata release today, so we should be able to include this.


Optimize node logs saved by Circle CI after package smoke test

In scope of https://www.pivotaltracker.com/story/show/155127019

I am proving this works for OSX build as well in this build in my fork.

I am proving this works for OSX build as well in this build in my fork.

Proved.

I checked no evident conflicts with master.


feat(schema): added schema for templates

Summary
Since this project relies on people editing JSON directly I thought it'd be a good idea to have an schema for it.
I added it to the .vscode folder and tweaked the settings. Not sure if this is the way but since it was there already it felt natural.
The conditionals work by automatically detecting type and then looking for required keys.

It's not intended for this schema to replace documentation. It just to force checks when typing and improve intellisense.

Just realized it's missing else optional property for match but what do you think so far?

Just realized it's missing else optional property for match but what do you think so far?

Love it so far. I've been working on a visual creator but as you can imagine it's quite the chore and finding time to peck away at it between other responsibilities is rough.  This PR goes a long way to helping people make sane templates until it's finished.

Any issues holding off on this until we get the others PRs finalized? That way you can add the rowspan and other updates?

Any issues holding off on this until we get the others PRs finalized? That way you can add the rowspan and other updates?

No problem at all! Waiting so we have all implemented sounds good

Added else statement

Added all new properties as per #39 and #30.

Knock out the colspan reference and this is good to go.

Donezo


Idea for browser support

It might be possible to create and spawn a temporary web worker from a datauri, execute the regex within and then terminate it on timeout.
(Not really interested in implementing this, but it may be a nice exercise for someone 😉)

Yeah, I guess the main challenge will not be to spawn the worker, but keep it all in synchronous code.


Cannot change organization location to Australia East

Hi. The bot does not show Australia East as target region. Can you help

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow


Add JSON Schema Support to BoltElement (LitElement) component base Class

Jira

http://vjira2:8080/browse/BDS-1104
http://vjira2:8080/browse/BDS-1266

Summary
Adds proper JSON Schema support to our custom LitElement-based BoltElement base class + minimally updates the Link and Button components to demonstrate usage.
How To Use
class MyComponent extends BoltElement {
  static schema = schema; // --> 1. add imported schema data to a static `schema` property

  static get properties() {
    return {
      ...this.props, // --> 2. then add the auto-generated `this.props` property data to your component

      // 3. optionally add any extra props not included in the component schema
      onClickTarget: {
        type: String,
        attribute: 'on-click-target',
      },
      ...
  }
}

Details
While this PR doesn't cover adding schema validation to LitElement, it does tackle most of the related upfront work. Specifically this PR covers:

Adds a new decorator to @bolt/element which uses static schema data set on a component to:

Auto-generate most of the component property data (ie. map schema data to LitElement properties)
Automatically add default component prop values based on the JSON schema

Updates the Button and Link components to demonstrate actually using this new functionality

Note: we're also doing the long-overdue style to color prop swap for Button which is needed in order for this 1:1 mapping to work... the actual variants prop rename should come separately so this PR doesn't introduce any breaking changes.

How to test

Review code changes -- especially the decorator updates to LitElement
Smoke test Link and Button to confirm everything continues to work as expected given CI tests are all passing

Closing in lieu of #1818


Modify List to Map of pooled redis message in FixedRedisMessagePool

Motivation:
For easy to get pooled message, add two type enum indicate Redis message.
Use an enum as the key to easy get pooled message.
Modifications:
Modify pooled collections from List to Map in FixedRedisMessagePool,
Use an enum as the key to easy get pooled message.
Result:
Users can get pooled message from map by enum instead of the whole string

@jjz921024 as @hyperxpro said we can't break the API...

@jjz921024 as @hyperxpro said we can't break the API...

Sorry, I haven't thought about that.
Can i add two method for getRedisMessage by enum.
In the meantime, don't modify former API.
   SimpleStringRedisMessage getSimpleString(FixedRedisMessagePool.RedisReplyKey key);    ErrorRedisMessage getError(FixedRedisMessagePool.RedisErrorKey key);
Because i think, this will useful for user and can avoid hard coding in their program

@jjz921024 as @hyperxpro said we can't break the API...

Sorry, I haven't thought about that.
Can i add two method for getRedisMessage by enum.
In the meantime, don't modify former API.
SimpleStringRedisMessage getSimpleString(FixedRedisMessagePool.RedisReplyKey key); ErrorRedisMessage getError(FixedRedisMessagePool.RedisErrorKey key);
Because i think, this will useful for user and can avoid hard coding in their program

Commit the changes and we'll review it.

@hyperxpro Changes had commit.

I am talking about changes post my review. Have you fixed API breakage?

I am talking about changes post my review. Have you fixed API breakage?

@hyperxpro I recover api of getSimpleString & getError by String in second commit，keep the exist api  unchanged.

@normanmaurer yes, i have added some unit test case for FixedRedisMessagePool

@jjz921024 please fix the checkstyle error:
Error:  /home/runner/work/netty/netty/codec-redis/src/test/java/io/netty/handler/codec/redis/FixedRedisMessagePoolTest.java:1: File does not end with a newline. [NewlineAtEndOfFile]
2513
Audit done.

@jjz921024 thanks a lot !


Add support for component hazelcast

Found 7 matching posts for subject:hazelcast in Camel - Users within 700 days


IntelliSense shows different list of options on hitting the dot when right-side already contains a valid member and the left-hand side contains parentheses

I noticed this before but never gave it much thought, as a workaround is quite trivial to achieve, but after a while it started getting annoying.
What happens?
When you type the . (dot) in Visual Studio 2015 you typically get a list of members of that type. But if your current code already contains a listed member and you type the dot again (leading to .., the cursor just after the first dot) the list of members is the global list.
How to reproduce?
Open any F# project in Visual Studio 2015 and open any valid .fs code file. Start typing a valid line that includes a member-access dot operator, for instance:
Environment.ExpandEnvironmentVariables("test").EndsWith("t")

Then try to list the available options of any member inside this line, by typing an extra dot. In this example, right after ExpandEnvironmentVariables("test"), which should list the members of type String and start typing (or not):
Environment.ExpandEnvironmentVariables("test").get.EndsWith("t")

The result of the above keystrokes is like the following screenshot:

When reproducible?
It goes wrong on methods only, regardless of their arguments (zero or more) and regardless of their ecosystem (happens with F# types as well as with any other .NET type alike). Properties do not exhibit this problem and list the correct members. Enums also work as expected.
It also goes wrong on function-calls. In other words, it seems to go wrong as soon as the left-hand side involves parentheses.
Reproducible: always (regardless of position, in a let binding, in a closure etc).
Does a workaround exist?
What I usually do is introducing a variable with a let binding (this must be a static variable, not a function!). If the left-hand side is a variable, the issue does not arise, or comment out the right-hand side, this takes care of the issue.
I just found a simpler workaround: add an extra space between the dots, place the cursor back on the first dot. This will list the correct members again.

An update on the issue for VS2015, Update 3 (some scenarios seem to be fixed)

It only seems to happen if the lh-side contains a function-call or at least parens (at any depth)
A chain of only properties or fields does not cause this
You must be inserting, that is, there must already be a member accessor on the rh-side (effectively: when you end up with two dots, this behavior happens).

Examples
A tilde ~ means OK if you insert a dot at that point, a circumflex ^ means insert dot there to see the wrong behavior.
let x = System.Environment.CommandLine.Clone().Equals(obj().Equals(new obj()))
        //....~...........~...........~.......^............^.................~~
let z = System.Environment.ExpandEnvironmentVariables("test").Length.CompareTo(12).CompareTo(13)
        //....~...........~..................................^......^.............^.............~

In VS2015, Update 3 the original issue looks like this:


Develop a p2p plugin for jwplayer with shaka engine

Hi I wanted to check how to go forward with building a provider with jwplayer which allows p2p streaming similar to the one build by streamroot https://www.jwplayer.com/developers/web-player-demos/peer-accelerated-delivery/ . I could see everything is closed source and there are no resources to get started with.
In case of jwplayer with hls there is a plugin https://github.com/hola/jwplayer-hlsjs which can be attached and used with open source p2p engines. If I want to build similar provider for playing mpeg-dash in jwplayer with shaka engine what would be the way to go forward ?
Any help would be appreciated.

Streamroot has support for Shaka Player directly.  Check out these articles (not sure which is more applicable to your case):

https://support.streamroot.io/hc/en-us/articles/360000764953-Shaka-Player
https://support.streamroot.io/hc/en-us/articles/360008879320-Custom-ShakaPlayer-XMLHttpRequest

Note that in their articles, they reference older versions of Shaka Player (v2.4.6 and v2.5.5).  You should use the latest versions, which are currently v2.5.16 and v3.0.4.
Does this help?

Thanks joeyparrish for replying.
Streamroot is a commercial solution. If I would want to develop an open-source solution involving building a provider for jwplayer with shaka engine, can you suggest what could be the way going forward.

Ah, I see.  I'm not familiar with JW's API at all.  If you have links to a doc about what the integration points are, we could help you map that to Shaka Player's API.  Would that help?

Thanks joeyparrish for offering help. I would look into jwplayer api and try to figure how it can be stitched with shaka engine and would update if any progress. Closing the issue for now.


Building RIAK from Source crashes at rebar generate on open suse [JIRA: RIAK-2069]

Having spent the entire day trying to build RIAK from source and resolving associated problems, I am running into problems potentially towards the final stages of the build during rebar generate phase.
The below error message does not help me identify the problem ( or fix it). Hoping for some assistance :
Error : Message :
./rebar generate
==> rel (generate)
ERROR: Unexpected error: {'EXIT',{{badmatch,{error,enoent}},
[{rebar_reltool,execute_overlay,4,[]},
{rebar_reltool,generate,2,[]},
{rebar_core,run_modules,4,[]},
{rebar_core,execute,5,[]},
{rebar_core,process_dir1,6,[]},
{rebar_core,process_each,5,[]},
{rebar_core,process_dir1,6,[]},
{rebar_core,process_commands,2,[]}]}}
ERROR: generate failed while processing /home/ankur/riak/rel: rebar_abort
make: *** [generate] Error 1
Configuration :
OpenSUSE 13.1 on Oracle Virtual Box VT-x / AMD-V accelaration
eleveldb checked out tag is 1.1.0 ( due to : https://github.com/basho/eleveldb/issues/106 )

Also tried with eleveldb 1.2.0 (same issue)

Erlang is R16B01, reltool installed separately(since it was not installed by default)

Hi,
I just hit the same issue while trying to compile Riak on Scaleway.
./rebar generate
==> rel (generate)
ERROR: Unexpected error: {'EXIT',
                             {{badmatch,{error,enoent}},
                              [{rebar_reltool,execute_overlay,4,
                                   [{file,"src/rebar_reltool.erl"},
                                    {line,388}]},
                               {rebar_reltool,generate,2,
                                   [{file,"src/rebar_reltool.erl"},{line,60}]},
                               {rebar_core,run_modules,4,
                                   [{file,"src/rebar_core.erl"},{line,491}]},
                               {rebar_core,execute,6,
                                   [{file,"src/rebar_core.erl"},{line,416}]},
                               {rebar_core,maybe_execute,8,
                                   [{file,"src/rebar_core.erl"},{line,300}]},
                               {rebar_core,process_dir1,7,
                                   [{file,"src/rebar_core.erl"},{line,259}]},
                               {rebar_core,process_each,5,
                                   [{file,"src/rebar_core.erl"},{line,349}]},
                               {rebar_core,process_dir1,7,
                                   [{file,"src/rebar_core.erl"},
                                    {line,251}]}]}}
ERROR: generate failed while processing /root/riak/rel: rebar_abort
Makefile:34: recipe for target 'generate' failed
make: *** [generate] Error 1

Here is the environment in which I'm trying to compile Riak:
Erlang version: R16B02-basho8 built using kerl
OS: Ubuntu 15.04 (Vivid)
Riak tag: 2.1.1
ElevelDB: 1.1.1
I just found that version 1.1.1 of ElevelDB didn't have the two configuration template files which rebar is awaiting.
This solves the issue:
curl https://raw.githubusercontent.com/basho/eleveldb/2.1.1/priv/eleveldb.schema > deps/eleveldb/priv/eleveldb.schema
curl https://raw.githubusercontent.com/basho/eleveldb/2.1.1/priv/eleveldb_multi.schema > deps/eleveldb/priv/eleveldb_multi.schema

The complete build now succeed but Riak is giving a nice Segmentation Fault.


Added Trace and TraceMessage Headers

with this change you can customize tracing headers by properties
fixes #370
cc @adriancole

After a chat with @adriancole we've decided to take another approach...
In OpenTracing we have a TextMap - https://github.com/opentracing/opentracing-java/blob/master/opentracing-api/src/main/java/io/opentracing/propagation/TextMap.java
/** Generically supports http header propagation */
interface HttpSpanInjector extends SpanInjector<TextMap> {
}

/** Default implemetation for zipkin-compatible propagation */
class ZipkinHttpSpanInjector implements HttpSpanInjector {
    @Override
    public void inject(Span span, TextMap carrier) {
     // X-B3-Foo!
    }
}

so that's the first part..
then for each call site we need to convert into TextMap ex.
 class HttpRequestTextMap implements TextMap {
  final HttpRequest delegate;

-- do things
}

and the usage
injector.inject(span, new HttpRequestTextMap(realRequest));

We could have 2 of those Injectors/Extractors (Http and Messaging). That way if someone wants something custom there's only 1 place to change. Since we are abstracting all carriers as TextMaps (TextMap will be essentially just an abstraction over headers) it will be much easier to manipulate.

:thumbsup:


queue_unbind fails

Running the command
channel.queue_unbind( queue=clientid, exchange=XNAME, routing_key=hash ), callback=queue_unbound )
in my python script gives me this error:
AttributeError: invalid field name/s: set(['nowait'])

Also fails without a callback


Refine Event list UI

What this PR does / why we need it:
Make the event log be shown without a scroller
Before

After

Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Cool!
/lgtm

Nice.
/approve


cabal wrapper uses always global ghc in PATH

detected when testing ghcide in itself (see https://github.com/digital-asset/ghcide/issues/610)
although you set the field with-compiler: ghc-8.6.5 in the cabal.project hie-bios was using my default ghc in path (ghc-8.8.3)

PS D:\dev\ws\haskell\ghcide> ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.8.3
PS D:\dev\ws\haskell\ghcide> ghcide --version
ghcide version: 0.2.0 (GHC: 8.6.5) (PATH: D:\bin\ghcide.exe)
PS D:\dev\ws\haskell\ghcide> cat .\cabal.project
packages: .

with-compiler: ghc-8.6.5
PS D:\dev\ws\haskell\ghcide> cabal clean
PS D:\dev\ws\haskell\ghcide> ghcide
ghcide version: 0.2.0 (GHC: 8.6.5) (PATH: D:\bin\ghcide.exe)
Ghcide setup tester in D:\dev\ws\haskell\ghcide.
Report bugs at https://github.com/digital-asset/ghcide/issues

Step 1/4: Finding files to test in D:\dev\ws\haskell\ghcide
Found 63 files

Step 2/4: Looking for hie.yaml files that control setup
Found 3 cradles

Step 3/4: Initializing the IDE

Step 4/4: Type checking the files
[INFO] Consulting the cradle for "D:\\dev\\ws\\haskell\\ghcide\\src\\Development\\IDE\\GHC\\WithDynFlags.hs"
> Resolving dependencies...
> Build profile: -w ghc-8.8.3 -O1
> In order, the following will be built (use -v for more details):
>  - ghcide-0.2.0 (lib) (first run)
> Configuring library for ghcide-0.2.0..
> Preprocessing library for ghcide-0.2.0..
File:     D:\dev\ws\haskell\ghcide\src\Development\IDE\GHC\WithDynFlags.hs
Hidden:   no
Range:    1:0-100001:0
Source:   compiler
Severity: DsError
Message:
  <command line>: cannot satisfy -package-id aeson-<IP_ADDRESS>-1e42a0cdbd4b065e4d6f1c804d63f35706230918:
  aeson-<IP_ADDRESS>-1e42a0cdbd4b065e4d6f1c804d63f35706230918 is unusable due to missing dependencies:
  attoparsec-<IP_ADDRESS>-04e8dfec95c5fe0d96babd7d76d0463f6955b1db base-<IP_ADDRESS>
  base-compat-b_-0.11.1-1ae618f5c56712e963c7c424698817f24ad5c97a bytestring-<IP_ADDRESS>

hypothesis:

the wrapper is calling "ghc" with no args for all invocations with no --interactive
https://github.com/mpickering/hie-bios/blob/293baaf793f82f639affe734ebe785ccdcafd40b/wrappers/cabal.hs#L19
cabal calls ghc --numeric-version, being "ghc" the programs passed in -w as first option, to know the actual ghc version in use

PS D:\dev\ws\haskell\ghcide> ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.8.3
PS D:\dev\ws\haskell\ghcide> cat .\cabal.project
packages: .

with-compiler: ghc-8.6.5
PS D:\dev\ws\haskell\ghcide> cabal exec ghc -- --version
Resolving dependencies...
The Glorious Glasgow Haskell Compilation System, version 8.6.5
PS D:\dev\ws\haskell\ghcide> cabal exec ghc --with-compiler=ghc-8.8.3 -- --version
Resolving dependencies...
The Glorious Glasgow Haskell Compilation System, version 8.8.3
PS D:\dev\ws\haskell\ghcide>

so it is ignoring the original ghc used in by hie-bios (ghcPath here )

Possible solutions:

Use an intermmediate env var (HIE_BIOS_WRAPPER_GHC?) to inform the wrapper about the real ghc
Pass a new argument to the wrapper --hie-bios-ghc and use it, removing it before calling the real ghc

I can confirm the behaviour on linux, too.
The hypothesis seems to be correct!
Possible fixes:

Find the appropriate GHC version in Environment.hs (via cabal-install-parsers?) and pass it via an environment variable to the wrapper.
Wait for cabal show-build-info to land (https://github.com/haskell/cabal/pull/6241) since it will fix all our problems.

Document why it doesn't work and how to work around it.

Unless a lot of users complain about this issue, I am in favour of the latter, as it will be just a few months and solve the issue for good.
Any work-around will be code cruft very soon.

Fair enough, moreover, cabal action uses global ghc in two points:

the wrapper
when compiling the wrapper itself, it usually does not throw any error cause the wrapper is dead simple code but it would throw it if you are using cabal but you dont have ghc in global path (nix?)

I think this issue is related: https://github.com/mpickering/hie-bios/issues/148

A nice workaround if you use ghcup was mentioned by @hasufell in irc: open a terminal in the project dir root and do PATH=$(ghcup whereis -d ghc <ghc-ver>):$PATH &&  code .

Wait for cabal show-build-info to land (show-build-info (exe:cabal part plus tests) haskell/cabal#6241) since it will fix all our problems.

That was one year ago...

Back then it seemed like a reasonable expectation that it was going to be merged soon

Back then it seemed like a reasonable expectation that it was going to be merged soon

The dream

A nice workaround if you use ghcup was mentioned by @hasufell in irc: open a terminal in the project dir root and do PATH=$(ghcup whereis -d ghc <ghc-ver>):$PATH &&  code .

if you don't have ghcup you can do simply PATH=$(cabal exec which -- ghc):$PATH &&  code .

Back then it seemed like a reasonable expectation that it was going to be merged soon

The dream

third time is the right time

A nice workaround if you use ghcup was mentioned by @hasufell in irc: open a terminal in the project dir root and do PATH=$(ghcup whereis -d ghc ):$PATH && code .

Here's a bash function for your .bashrc:
with_ghc() {
  local np=$(ghcup --offline whereis -d ghc $1)
  shift
  PATH="$np:$PATH" "$@"
}

And your your fish config:
function with_ghc
  set np (ghcup --offline whereis -d ghc $argv[1])
  PATH="$np:$PATH" $argv[2..-1]
end

Since the cabal patch is merged, I guess this can move forward

Yep, but not quite ideal yet, as we still have no quick way of querying for the project ghc. Currently, it requires to build at least one cabal component.

Currently, it requires to build at least one cabal component.

Well, that means if I run cabal build before starting the language server, it should work?

if you launch the correct language server (e.g. 8.6.5 for projects that use 8.6.5) then it will work (assuming MR #301). But hls-wrapper will still pick up the wrong ghc version and launch the wrong language server.

BTW, MR #301 is not correct currently, as it does not use the latest json lib decoder/encoder for build-info.

The last promising hack to get the path to ghc could be:
cabal exec ghc -- -package-env=- -e 'System.Environment.getExecutablePath'

ugly but seems to work for now.
Talking with @fendor it seems i can be used in a more direct way than #282 so maybe it could be used in another smaller pr if i understood it correctly


Fix permalink URL

Thanks, i seem to have missed that 😅

Thanks! Any plan to release a new version as the current one would not work? thank you!


Plans for next release

Hello @weichsel
Thank you for building this great library. I was evaluating it for our project. We create zip files of large directories (thousands of files, hundred of megabytes). And it does a great job. Well since developer experience is also important I was happy to see #227 merged.
This leads me to the question: What are the plans for the next release which includes this PR? Do you need any help for it?
All the best,
Andreas.

Hi @kernandreas ,
I am currently trying to get #230 merged. The PR is in great shape, we are just trying to get some final refinements done.
Can't really promise a release date but I hope to tag a new release within the next days/weeks.

Thank you for getting back. This sounds great. Looking forward for the release.


use details for hidden config

Summary Goes Here
...this is hidden, collapsable content...

not this pkg


r1.9-rc2 cherry-pick request: Fix for RPi OpenBLAS compile issues, by pinning to known good version

OpenBLAS broke the Raspberry Pi build, and I wasn't pinning to a particular version before this, so it broke even the 'frozen' 1.9 branch.

Merged into 1.9. Ty for the fix!


Build issue with node-sass: Node Sass could not find a binding for your current environment

I tried to use the same implementation with nuxt.js which is vue.js framework. all went fine until I include node-sass and # to compile 'scss' styles.
After that when I tried to mvn clean install. It stops at npm run generate with error Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x. But when I tried to build it with manually in frontend using the command npm run generate. It works fine.
How can I solve this problem?

Hey @vikumDheemantha please try google -> you'll find such things there: https://stackoverflow.com/a/48974815/4964553


bug

all label show it

json save normally,but when reopen the workflow,it stell show "标签",I ask friends ,they have same bug

我也遇到了同样的问题！！！！！！！！

+1

me too

I believe this is an issue with another extension that is handling translations, as we've seen similar conflicts before and I cannot reproduce in a same-language setting.

意思是这是翻译节点问题吗？

Yes, I believe a translation custom extension outside of rgthree-comfy is overwriting the label text with "标签"


Updating encoding for file open

If the file encoding on your system (Linux, Windows, etc) is not set to utf-8, this line could cause problems when reading non-ascii characters from the Readme. This simplifies the open() statement so that the pip installation is less dependent on system variables.

See https://docs.python.org/3.0/whatsnew/3.0.html
"Files opened .... It also means that even Unix users will have to specify the correct mode (text or binary) when opening a file.... In many cases, but not all, the system default is UTF-8; you should never count on this default."

... thanks. Sorry to leave this hanging.
On Thu, Dec 6, 2018 at 10:04 PM Clemens Wolff<EMAIL_ADDRESS>wrote:

Merged #113 https://github.com/c-w/gutenberg/pull/113 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/c-w/gutenberg/pull/113#event-2011482944, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AYL2zChK11NVjfG5SuAGgCHCbEfpfv_mks5u2dq5gaJpZM4WfuYg
.


fix indents in stub files

Hi folks! I corrected indents to common standard of in docker-compose.yml

Taylor prefers 4 spaces. Please see https://github.com/laravel/sail/pull/165

@driesvints yes, I know, and I fixed for 4 spaces because some stubs have wrong count of spaces  (2 or 3). After install, we will have correct indents in final docker-compose.yml

Ow I'm sorry @pOmelchenko. I misread this. Thanks!


UI Starter

My fast page:https://antonyrc6.github.io/Antony-s-fast-page/
My flask page(and stub):

My javascript table:https://antonyrc6.github.io/Antony-s-fast-page/techtalk/javascript
My submenu:https://antonyrc6.github.io/Antony-s-fast-page/frontend/overview
Group's final project plan:https://avac54765.github.io/groupfastpage/finalplanning/markdown

Flask edits and not change to Stub.    Made sub menu but elements not clickable.   Missing a few requirements, not extra.  2.6

2.6

flask edited
change made on stub
submenu added

did flask edits
no changes on stub
sub menu but can't click on it
2.6


record start timestamp and provide via info (fixes #168)

//cc @reynir

Now, certainly a new client will request the new unikernel_info command, and an old server may just fail to understand the meaning. This is fine, as written in vmm_asn, it may be worth to work on a --use-version or --old-version for the client, or even have a negotiation mechanism between client and server on startup.
For now, I'd merge this PR; for albatross 3 we can rethink the command negotiation mechanism.


BUG: pac solution sync fails when SolutionRootPath is updated in the cdsproj

The default value for SolutionRootPath in a cdsproj file is src:
<SolutionRootPath>src</SolutionRootPath>
If I change the name of the src  folder to solution  and update the SolutionRootPath in the cdsproj to <SolutionRootPath>solution</SolutionRootPath>, then I get the following error:

I would like to rename the folder so I can have a folder structure that looks like this.

Hi @devkeydet,
just had this same issue with v 1.31.6.
2024-05-15 09:22:27.4434 | INF | bolt.Session :: Product Version: 1.31.6+g9147a23; File Version: 1.31.6
2024-05-15 09:22:27.4793 | INF | bolt.Session :: Start new session. (sessionId: 35907ba0-dd78-48e5-8e4b-fa4c709cbedf; operationId: d3ea9b3b3b7010ed09eb2d428a445771; userId: af333a78-c362-41c0-a1f4-4f260bf120f3; nonInteractiveMode: False)
2024-05-15 09:22:27.6290 | INF | bolt.cli.CommandProcessor :: StartExecutingVerb (Verbs: ["solution","sync"])
2024-05-15 09:22:27.6623 | INF | bolt.cli.Verb :: Executing verb 'solution sync' with arguments --solution-folder,--async.
2024-05-15 09:22:27.6803 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Getting auth profile with following options: { AuthKind = DATAVERSE, IsRequired = True, ShowProfileMessages = True, VerbDisableAutoOSLogin = False, SkipValidation = False }
2024-05-15 09:22:28.0170 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Using auth profile: { Kind = UNIVERSAL, ProfileType = Application, AadObjectId = 1df8a95f-10c0-40e9-8ed3-bb079ae0e181, CloudInstance = Public, TenantId = 06a94acd-****-****-****-1478****fda3, User = 352a155f-4923-46d2-9d73-84b7b4de099b }
2024-05-15 09:22:28.0658 | INF | bolt.cli.CommandProcessor :: EndExecutingVerb (Success: False, Execution Time(ms): 426)
2024-05-15 09:22:28.0967 | FTL | bolt.Session :: SolutionFileNotFound|EXCEPTION: bolt.version.SolutionXmlVersioningException: SolutionFileNotFound
   at bolt.version.SolutionVersionUpdateProvider.GetSolutionUniqueName(String solutionXmlFilePath)
   at bolt.module.solution.verbs.SolutionSyncVerb.<ExecuteAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteImplAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<>c__DisplayClass8_1.<<ExecuteAsync>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteWithTelemetryAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<>c__DisplayClass11_0.<<RunVerbExecutorAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<RunVerbExecutorAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteWithOutputAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at bolt.cli.CommandProcessor.<ProcessCommands>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandProcessor.<LaunchCommand>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.ModeManager.<Dispatch>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.Session.<Run>d__14.MoveNext()
2024-05-15 09:22:28.0967 | ERR | bolt.Session ::    at bolt.version.SolutionVersionUpdateProvider.GetSolutionUniqueName(String solutionXmlFilePath)
   at bolt.module.solution.verbs.SolutionSyncVerb.<ExecuteAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteImplAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<>c__DisplayClass8_1.<<ExecuteAsync>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteWithTelemetryAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<>c__DisplayClass11_0.<<RunVerbExecutorAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<RunVerbExecutorAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteWithOutputAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at bolt.cli.CommandProcessor.<ProcessCommands>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandProcessor.<LaunchCommand>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.ModeManager.<Dispatch>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.Session.<Run>d__14.MoveNext()
2024-05-15 09:22:28.0967 | INF | bolt.Session :: End session. (sessionId: 35907ba0-dd78-48e5-8e4b-fa4c709cbedf; ResponseCode: 500)

2024-05-15 09:22:28.2475 | INF | Microsoft.PowerPlatform.Tooling.BatchedTelemetry :: BatchedTransmitter`1.StartUploadProcess Started uploader with process id: 5432

When I filed this, I wasn't on the team.  I am now.  I'll take a look at the code.  I suspect it's a relatively simple fix.  We just have a lot of work on our plate preparing for the build conference and not gotten around to this one.

there are a lot of pac related issues in this repository and in https://github.com/microsoft/powerplatform-vscode
I think we need a better guidance on where to open the issues for pac 😄 and also someone should transfer the issues between repositories where possible (in the fullness of time)


_init not working properly when objects are created thru a for loop, and the _init parameters are assigned on that same loop.

Godot version
v4.1.3.stable.official.f06b6836a
System information
Godot v4.1.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX550/550 Series (Advanced Micro Devices, Inc.; 31.0.21031.1005) - AMD Ryzen 5 1600 Six-Core Processor (12 Threads)
Issue description
When creating class objects and setting values inside a for loop. and passing these values to a constructor on the next iteration to the next object, these values end up null even tho they had a value set for them before being passed on.
Steps to reproduce
Use a for loop to create at least two objects > make the second object have a constructor that needs the previous object > assign the first object to a variable in the first iteration before creating the second object > print the constructor value inside the second object and it returns null.
Minimal reproduction project
Create a Node and attach a script with this code:
extends Node

var a : Node

var array = [
	Node.new(),
	ConstructorObject.new(a)
]

func _ready():
	for object in array:
		self.add_child(object)
		print(a)
		self.set("a", Node.new())
		print(a)

Then create another script with this code:
extends Node
class_name ConstructorObject

var a : Node
func _init(_a : Node):
	a = _a

func _physics_process(delta):
	print(a)

You will see that the first print will be null, since you didn't set a yet, and the next print will have it set to a new Node. The second iteration of the loop will print Node two times, meaning that it did got set on the first iteration. The ConstructorObject will receive a with a Node value, but it will print null instead.
Bugsquad edit: Fixed formatting.

assign the first object to a variable in the first iteration before creating the second object

Member variables like a and array are created and initialized when the script is instantiated. _ready() is executed when the node is added to the tree for the first time.
The two nodes inside array are created when the array is created. That means, ConstructorObject.new(a) is passing a null. _ready() is not yet called at that time.

This is not the case, i think u're not seeing the problem.
The problem is the a value, which does get set to a new Node, holding its reference, and on the second iteration of the loop a is already = Node, so why passing the reference on the second iteration pass null? After the _ready(), you print a inside the first object, and its a Node, on the second object tho the constructor didn't receive the Node from a, while a is = Node at the moment of the ConstructorObject creation .
It is ignoring the .set() value during the loop and retaining just the older value from what i've tested so far. It looks like even tho the value was set to a new value before the ConstructorObject creation, it just retains the older value and ignores what happened inside the for iterations, not taking into account the changes of previous iterations and only considering what was outside the loop before it started.

The two as are variables, they are able to hold references to a node.
Changing the content of one variable (making it reference another node) does not change the content of the other one (which node it references).

But i'm passing the first a in the constructor(init) for the second node, i'm not saying that the .set() function should change both values, because they are different things, the problem is that the first a is passed to the ConstructorObject init() holding a Node reference, but when creating the second object "ConstructorObject.new(a holding the node reference)" the node reference is simply ignore by the second object init constructor.