polish default config file

I polished the default config file a little, making it prettier by separating it in logical sections, while also adding links to the wiki for each section.
I didn't alter any setting, I only moved them into logical sections, and made the file prettier and more beginner friendly.
I propose this should also be used as the autogenerated config file at installation (the one that pops the yellow warning), though I don't see a separate file for that.

also remember to change defaultConfig.hpp

@vaxerski Done, I modified everything as specified. I also modified defaultConfig.hpp

you still are adding empty lines after {

you still are adding empty lines after {

I see what you mean. I removed all of them.
They were just for legibility on my IDE, but it's fine without them too.

Sorry, my bad.
Fixed the string terminator.


dateFormat not a property. Unable to start the app

Uncaught Error: Template parse errors:
Can't bind to 'dateFormat' since it isn't a known property of 'owl-date-time'.

@anthonysubramani
What version of the picker are you using?

Working fine with latest version

@DanielYKPan
Getting same error on using dateFormat property in owl-date-time
I am using angular 5 with picker version 5.


Timeout

How can I set a timeout for redis command , that means if I don't get response within a time then reject the promise

I see you seem to have found https://github.com/reactphp/promise-timer already, but for completeness, here's how this can be used:
$promise = $client->get('key');

$promise = React\Promise\Timer\timeout($promise, 1.0, $loop);

$promise->then($resolved, $rejected);

Note that this merely discards the results of the underlying operation and rejects with a TimeoutException. If does NOT "cancel" the underlying operation, so your Redis server will not notice this at all.
As a rule of thumb, Redis commands are really fast, so most people likely don't want to apply timeouts to individual commands anyway. Some of the commands that take longer also offer a timeout parameter, so that this is handled entirely server-side, such as BLPOP.
I hope this helps :+1:


Tomcat shows warnings about context problems

Some warnings appear in CI after running the tests in Tomcat 7. Check if something needs to be done.
The log is as follows:
INFO: Closing Spring root WebApplicationContext
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/swss] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%0048yid%004dx%004f%0047y%0047%0054%0043yg==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [Statistics Thread--1] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002etimestamp%002ecache-%0054s%00457lqm%0045%0059%004fs%0043+w==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002etimestamp%002ecache-a3d3%004d%004b5w%0058%0049l+%004a%0051==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%00556%0058%002f7%00598%0048exe%0057%0045g==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-w%0055hrf%00589z+dn75g==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-ivejnk%00484s9%0050%004b%0045%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-k%00525%004d%0042%0047%004d%00450h6z%002fg==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-q6a6i4%004c829%004b%0056+%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%0045gey%0043j0%005143%0041%0055%0055%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-o%0056%0053y%004a%0049%00577%0053%004do%0051t%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%0053fvv8%002f%0048w%004f9%0042xxw==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%0056rnd71%0053%0045%0058t%0053c%0043%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%004c%0047k9tf%0046%0054%005aj23u%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-s%00588%0057tgjee%0051%0059rtw==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-d5m929%004a%004dv%004ea%0059h%0051==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-4q%004d464+2%002fe08d%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-ghv%00538q%0052t%005a%0043%00503%0052%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-+s%0055%004d4%0051%004b+%0048%0041%004f75g==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002etimestamp%002ecache-1%0054l%0056g%002fpr%0051%0041%0059z%004f%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002etimestamp%002ecache-n8e6%0048qtx%0046pgz8%0041==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-819%004d%005a%0058ns%0054m%0058%0048%0054%0051==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/swss] appears to have started a thread named [wss4j%002enonce%002ecache-%0047eb%0055%0057%004czk%0048%0041xi%004eg==.data] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2016 6:13:37 PM org.apache.coyote.AbstractProtocol stop

Seems to be a problem with the in-memory database


ccache: 3.7.11 -> 3.7.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ccache/ccache/releases.
meta.description for ccache is: "Compiler cache for fast recompilation of C/C++ code"
meta.homepage for ccache is: "https://ccache.dev/"
meta.changelog for ccache is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.7.12 with grep in /nix/store/56wgv9nlap07imhw6kfn913skyrkp0lw-ccache-3.7.12

directory tree listing: https://gist.github.com/e2b749956c4f3850ba02229f4427a2d6

du listing: https://gist.github.com/892338b4448a72942e2de2864e934da3

Rebuild report (if merged into master) (click to expand)

14 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
baresip
ccache
ccacheStdenv
ccacheWrapper
webbrowser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/56wgv9nlap07imhw6kfn913skyrkp0lw-ccache-3.7.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ccache https://github.com/r-ryantm/nixpkgs/archive/83bf88fc66ffec65279a5fcba0bc5827c418fdde.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/56wgv9nlap07imhw6kfn913skyrkp0lw-ccache-3.7.12
ls -la /nix/store/56wgv9nlap07imhw6kfn913skyrkp0lw-ccache-3.7.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

5 packages built:

baresip
ccache
ccacheStdenv
ccacheWrapper
webbrowser

Maintainer pings

@ofborg eval


Foldable markers in customize buffers are almost invisible

What happened?
Here's how triangle buttons look with doom-one-light:

And with doom-one:

Also happens in doom-dracula, doom-gruvbox, doom-henna, doom-spacegrey, and almost all other dark themes.
I suspect that this is due to most of those having shadow face way to close to the background:

But I'm not sure, as I can't find what face this button uses.
What did you expect to happen?
Steps to reproduce

enable doom-one
open customize

System Information

Emacs version: 28.0.50
Emacs distro:  None
Operating system: Fedora 34
Installed commit of doom-themes:20f9eb93a28817eb39b39899022c2971e015e49d
Which theme are you using: doom-spacegrey

Was this a false positive or fixed?


Project renaming checklist

Checklist for renaming this project (to "profiling"?)

[ ] update local webpage generator code (perf/scripts/gen_website.sh)
[ ] update local README.md's (CCI tag, issue documentation reference)
[ ] after name change, users with checked-out code should run git remote set-url origin git@github.com:openquantumsafe/profiling.git (or simply clone anew).
[ ] after name change, update project reference at https://openquantumsafe.org/benchmarking/

Docker filename is independent and can remain as-is ("oqs-perf"); AWS-deploy naming ("oqs-test") also is independent of this name; CCI build-process of this project also does not already seem to be triggered externally (neither in openssl nor liboqs).
@dstebila @xvzcf Please review/amend as you see fit. My check comprised also of going through all references to the word "speed" in all OQS subprojects I have checked out. In that process I found some "speed" related references that make me wonder whether we might want to integrate them here, too (e.g., boringssl speed)?

In that process I found some "speed" related references that make me wonder whether we might want to integrate them here, too (e.g., boringssl speed)?

Not sure what you mean by that -- if it's whether to rename the speed commands in boringssl or openssl, I wouldn't want to do that.

Not sure what you mean by that -- if it's whether to rename the speed commands in boringssl or openssl, I wouldn't want to do that.

Sorry, unlcear formulation. I'm wondering whether running and displaying the results of boringssl speed in the same way as with openssl speed runs would be a worthwhile addition to this benchmarking/visualization data set.

I guess we could do that. Some of the results on boringssl speed will be different, because if memory serves we're not linking against OpenSSL for the symmetric crypto implementations.


Make <details> blocks linkable

I assume ability to link to a specific section? Fair enough, but let's do it quick - just move all into section or make expandable blocks linkable - I think it should not be a problem and we could do it quick cc @iterative/websites

From @shcheklein in #3299
This should be doable since we use a custom component to create our expandable sections!

Can they auto-expand when opening them via #anchored link ?

Can they auto-expand when opening them via #anchored link ?

I think it would be a little more difficult to implement, but still doable!

I have used this beautiful package https://www.npmjs.com/package/rc-collapse to implement and manage accordions.
@julieg18 You can probably consume this or draw some insights/inspiration from this package for your custom component.
@jorgeorpinel @julieg18
Yeah, we can auto-expand them using #anchored link (assuming this link navigates to the section hosting these details)
The section upon mount checks if it's in the view from the fragment URL and can appropriately initialize its state which decides if the detail block should be extended or not.
I hope this helps.
Thanks!
Further, I would love to discuss and contribute in whatever scope possible


Hybrid_scaffolds assembly issue

Hi
I recently ran into a problem when running hybridScaffold.pl script, job stopped in align0 step without any error information, scripts as following:

/usr/bin/perl $hybridScaffoldDir/hybridScaffold.pl -n ${input_fasta} \
-b ${output_cmap}.cmap \
-c $hybridScaffoldDir/hybridScaffold_DLE1_config.xml \
-r /home/usr/software/Solve3.3_10252018/RefAligner/7915.7989rel/RefAligner \
-o ${output} \
-B 2 -N 1 -f

Status.txt information:

Do you have any suggestion for these? Thanks in advance.

Hi,
Have you tried 'runBNG hybrid'?
Cheers,
Andy

Hi
Thanks for the software, I have successfully run denovo pipeline,but no CMAP result have been generated. Where could I find the denovo result? Thx

You may find the 'EXP_REFINEFINAL1.cmap' file at ./contigs/exp_refineFinal1

@yyx8671
Hi
I could only find ./contigs/exp_unrefined/, multiple cmap file exist in the folder, Should I merge all the exp_unrefined_contig***.cmap files and how could i do that. Thx

@huanfa
If you run 'runBNG denovo' successfully, the contigs folder will contain some folders like:

May I please ask if you use the runBNG required Bionano tools and scripts?
Cheers,
Andy

@yyx8671 Yes, I did have use the bionano tools from Solve and scripts download from the website you provided. Here are my script:

/home/usr/software/runBNG denovo \
-s /home/usr/software/Solve3.3_10252018/scripts/ \
-t /home/usr/software/Solve3.3_10252018/RefAligner/7915.7989rel/ \
-b ${input_bnx} \
-T 100 \
-j 4 \
-B 0 \
-r ./refCMAP/pilon_3nd_BSPQI_0kb_0labels.cmap \
-z 2500 \
-o denovo

The output folder seems not run completely:

Hi
@yyx8671
Thanks for your help, I have run the de novo pipeline successfully, but new error appears in  hybrid step.
Do you have any suggestions? Thx.

@huanfa
May I please know your settings in 'runBNG hybrid'?

Here are my scripts:

/home/usr/software/runBNG hybrid \
-s /home/usr/software/Solve3.3_10252018/scripts/ \
-t /home/usr/software/Solve3.3_10252018/RefAligner/7915.7989rel/ \
-b /data/usr/data/2.DRC_Male_9B0026PA_DG-2RawMolecules.bnx \
-r /home/usr/project/1_polish/pilon_3nd/pilon_3nd.fasta \
-B 2 \
-N 1 \
-z 2500 \
-f ./denovo/contigs/exp_refineFinal1/EXP_REFINEFINAL1.cmap \
-o hybrid_bng \
-T 40 \
-M 300

@
Can you try ‘-B 0 -N2’ ? or you may want to tune '-c -u -g -d and -p'

@yyx8671
Hi, thanks for the suggestions, I have tried '-B 1 N 2' and '-B 1 -N 1', but same error appeared. I guess parameters is not the reason why error appears. Is my input file format wrong? I have no idea, thanks a lot.

@huanfa
Can you try to align your assembled cmap file to your NGS assembly using Irysview and to see if the quality of the BNG denovo assembly is good?

Hi @yyx8671
I have successfully run the pipeline,  Thanks for your paticent reply,  I found the script download from the website you provided /scripts/HybridScaffold/scripts/perl5/BNG/Utility.pm is different from Solve software,

Hi @yyx8671
I have successfully run the pipeline, Thanks for your patient reply, I found the script download from the website you provided /scripts/HybridScaffold/scripts/perl5/BNG/Utility.pm is different from Solve software


Inline chat does not expand sufficiently to show new lines

Type the following in inline chat:
foo

bar

baz

Notice the bad behavior when typing the last line
https://github.com/user-attachments/assets/0256dbc9-654f-4807-83d0-8e41226ff77d

dupe of https://github.com/microsoft/vscode/issues/216843 but this should be fixed by having sticky scroll disabled


Quick question

do you need this script?

if yes, change the // to https:// because the protocol is tauri://
(I am asking because there is an error in the console)

I'll check in the next release.

Turns out it's not needed, it will be removed in the next version.


Add Japanese names file

The PokemonSelectTableViewController references these files also.
I would suggest to have a pokemon.json file with appropriate localized versions, so that iOS can choose the right file itself. This would eliminate the code to determine which file to use and adding more localizations would not involve more work then to add a new localization to the file itself.
Sending a PR in a few moments.


[Upgrade] Lucene 9.5.0 release

Upgrades to official release of Lucene 9.5.

Swapped around the labels because I assume this will go into the 2.6 release. @nknize please correct me if I'm wrong.
There does seem to be a related test failure though:
REPRODUCE WITH: ./gradlew ':modules:analysis-common:test' --tests "org.opensearch.analysis.common.HighlighterWithAnalyzersTests.testPhrasePrefix" -Dtests.seed=68DBA7498B3491B9 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en -Dtests.timezone=Pacific/Auckland -Druntime.java=19

org.opensearch.analysis.common.HighlighterWithAnalyzersTests > testPhrasePrefix FAILED
    java.lang.AssertionError:
    Expected: map containing ["field0"->ANYTHING]
         but: map was []
        at __randomizedtesting.SeedInfo.seed([68DBA7498B3491B9:183142C700C72FBE]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHighlight(OpenSearchAssertions.java:430)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHighlight(OpenSearchAssertions.java:420)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHighlight(OpenSearchAssertions.java:399)
        at org.opensearch.analysis.common.HighlighterWithAnalyzersTests.testPhrasePrefix(HighlighterWithAnalyzersTests.java:283)

Swapped around the labels because I assume this will go into the 2.6 release. @nknize please correct me if I'm wrong.
👍🏻

There does seem to be a related test failure though

Fixed up MultiPhrasePrefixQuery based on some QueryVisitor and highlighter changes; should be passing now...


fix: Updated admin router endpoints

As discussed in https://github.com/patrixr/strapi-middleware-cache/issues/32 I updated the router endpoints to match the routes Strapi is using in 3.4.0+.

@roelbeerens Thanks for this ! I haven't had the time to get to it.
I'm wondering whether we should keep the old endpoints to support older versions of Strapi.
Also, could you update the test suite to include that endpoint and bump the version in package.json (I believe 1.2.1, this will allow auto deploy to NPM)

@roelbeerens Thanks for this ! I haven't had the time to get to it.
I'm wondering whether we should keep the old endpoints to support older versions of Strapi.
Also, could you update the test suite to include that endpoint and bump the version in package.json (I believe 1.2.1, this will allow auto deploy to NPM)

@patrixr You got a solid point there! I'll look into the usage of using the Strapi version there and fallback to the old routes when the version is below 3.4.0.
I haven't noticed the testsuite and will update my PR tomorrow with the changes.

@patrixr You got a solid point there! I'll look into the usage of using the Strapi version there and fallback to the old routes when the version is below 3.4.0.
I haven't noticed the testsuite and will update my PR tomorrow with the changes.

@roelbeerens thanks for the work and finding the bug, i also have the same problem after updating strapi to 3.4.0+
Do you think you could do the remaining changes or i can carry over the PR?

Will this fix be merged in the near future ? Currently the middleware is unfortunately not usable :(

I hacked this in my node_modules and verified it's busting with @roelbeerens changes. Looking forward to seeing this merged!

Good to know that the fix is working! But "hacking" the node_module folder is in times of CI Processes not an Option 😁

Hi everyone, since this PR seems to have dragged on I re-created a more complete one here #40  !
Thanks @roelbeerens for the fix, and @cipick for pointing out the single types.
I'll be merging the other PR shortly

Fix seems not work ... After updateting an colelction entry over the backend, the frontent output ist still the same as before.

Hi everyone, since this PR seems to have dragged on I re-created a more complete one here #40 !
Thanks @roelbeerens for the fix, and @cipick for pointing out the single types.
I'll be merging the other PR shortly

Sorry for not being able to update my PR. I've been kinda busy with my regular job 😉
Will test out the update soon, but I'm sure it works as expected.

i can confirm what @pxPP said, it's not working for me either :(

Yes of course i updated the packaeg.json file. After a little bit more investigation it turns out that only the cache for custom routes are not get purged.
Have  i  pass some more configuration to get it to work ?


Terms of Service, Privacy Policy and Content Policy Implementation

These are not yet implemented in the dummy home page. I would like to take the initiative to implement it. Of course, I'll only put sensible data in there.

Request you to add Hacktoberfest tag to this issue.

Assign this to me please.

@Prantaneel-Pegu Assigned this to you as well.


Add clear deprecation error message for add_metric()

Fix #19804

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.46%. Comparing base (9ebc65a) to head (762f9de).

:exclamation:  There is a different number of reports uploaded between BASE (9ebc65a) and HEAD (762f9de). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (9ebc65a)
HEAD (762f9de)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20034       +/-   ##
===========================================
- Coverage   79.25%   57.46%   -21.79%
===========================================
  Files         500      500
  Lines       46848    46848
  Branches     8634     8634
===========================================
- Hits        37130    26923    -10207
- Misses       7978    18252    +10274
+ Partials     1740     1673       -67

Flag
Coverage Δ

keras
57.46% <100.00%> (-21.65%)
:arrow_down:

keras-jax
?

keras-numpy
57.46% <100.00%> (ø)

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

We just refactored to a helper _not_implemented method but I think this is helpful enough as a message we should keep it.


SKETCH: Refactoring to allow testing of items other than fonts

WARNING: Please don't merge this. This is merely a sketch. There are plenty of code smells and I've removed some objects which probably should've been kept.
At the moment, FontBakery only allows ttfs to be tested. There's absolutely nothing wrong with this and I'm glad we didn't go making FB an all singing all dancing test suite from the start.
I'd like fontbakery to be able to test upstream font repos such as Montserrat. The benefits of doing this means we can use travis so designers will know straight away when they have deviated from the GF spec. Myself and Lasse brought this up in a proposal written a week or so ago.
In order to make FB check collection of items and not just fonts, I've done the following:
Move the arg_parse object out of commands.check_spec.main()
Inside commands.check_spec.main(), a helper ArgumentParser object is instantiated. This helper has a compulsory argument 'font'. I've moved all compulsory arguments out of this helper and moved it to its own module. In the commands module. This helper can now be imported into other command modules. I've add commands.check_googlefonts_upstream.py as a demo of how this could function.
Let runner_factory create TestRunners which are not just made from args.fonts
At the moment it can only create TestRunners from the ArgumentParser's fonts arg.
@graphicore Be as harsh as you like. I think it's best to get your opinion on this solution before I take it any further. In the meantime, I can carry on adding tests to Lib/fontbakery/specifications/googlefonts_upstream.py

Its probably best to view the changes with 'split view'

You branch is based on 967498fef47 from december 1st, however, we had big changes since then especially 2a8060bc (=atomic bomb, but better now than never  guess) which is the reason why this can't be merged easily anyways.

@graphicore thanks!! As you suggested, we'll sit down and pair this.

Note: please avoid using search & replace for "test" => "check" because there are several legitimate uses of the term "test" that should remain as-is.

Closing as @graphicore has made a better solution in #1670


Power BI Actions - Publish Dataset shows "success", but is not in the destination location

Describe the issue
We are running Azure CICD to deploy models (model.bim) to Power BI service.  We are using the plugin to deploy model/dataset and the UI shows successful.  When we navigate to the workspace, the dataset is not there.  So there is a bug in the wrong status coming back, but also, we need to see an example on how to add the "switches" properly.
**Extension **

Power BI Actions
Version: 5

To Reproduce
Steps to reproduce the behavior:

Setup the release
Trigger the release
No error, but a success message

Expected behavior
The Dataset (model.bim) file that was made available via the CI, is deployed via the CD.  The CD which holds the Power BI Actions plugin is attemping to deploy a model/dataset to power bi and is failing, but showing as successful.
Situation (please complete the following information):

Agent type: Azure Host
Autentication: Service Principal / App Registration
Extension Version: 5

Log info

Additional information
PBI Service Connection : Service Principal account (it works, we can deploy reports and refresh datasets)
Action : upload tabular model
Workspace name: <>
Source file : Path CI artifact (model.bim)
Tabular editor switches : -D provider (power BI) -C -O "MyDataset"
We really need help with the last textbox on your UI.  Can you please provide a meaningful example where you deploy to the Power BI Service?

Here are the logs:
2022-02-24T14:41:01.2975632Z ##[section]Starting: Power BI Action: Publish dataset
2022-02-24T14:41:01.3540640Z ==============================================================================
2022-02-24T14:41:01.3541392Z Task         : Power BI Actions
2022-02-24T14:41:01.3541685Z Description  : Release Task Power BI Actions
2022-02-24T14:41:01.3541923Z Version      : 5.4.28
2022-02-24T14:41:01.3542159Z Author       : Maik van der Gaag
2022-02-24T14:41:01.3542374Z Help         :
2022-02-24T14:41:01.3545208Z ==============================================================================
2022-02-24T14:41:04.5144963Z Starting Power BI Actions extension
2022-02-24T14:41:04.5640284Z ### Required Module is needed. Importing now...
2022-02-24T14:41:04.9608380Z ### Trying to import the incorporated module for PowerBI
2022-02-24T14:41:39.4713785Z Trying to publish file: D:<>\Model.bim
2022-02-24T14:41:39.5783451Z
2022-02-24T14:41:39.5835480Z Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
2022-02-24T14:41:39.5847829Z -------  ------    -----      -----     ------     --  -- -----------
2022-02-24T14:41:39.5853597Z      75       5      668       2848       0.05   5744   1 TabularEditor
2022-02-24T14:41:40.5926326Z
2022-02-24T14:41:40.6268576Z Tabular Editor 2.16.4 (build 2.16.7940.23396)
2022-02-24T14:41:40.6269277Z --------------------------------
2022-02-24T14:41:42.2203280Z Loading model...
2022-02-24T14:41:43.5933640Z Done processing Power BI Actions
2022-02-24T14:41:43.5940672Z Done running Power BI Actions extension.
2022-02-24T14:41:43.5955801Z
2022-02-24T14:41:43.5956718Z
2022-02-24T14:41:43.6921853Z ##[section]Finishing: Power BI Action: Publish dataset

Could you add the variable: system.debug and set it to true. Then run the pipeline again and send me the logs.

Yes, I will do that and send them to you.

@maikvandergaag - I will run the release with the same switches as before.  Can you also provide an example of the switches/arguments for publishing a new dataset to the PBI service?

@maikvandergaag - How would you like to receive the logs?

@maikvandergaag - I sent you an email with the logs attached.  Thanks!

@mattias-de-coninck: Could you help with this?

@giznaj try something like this
-D "Provider=MSOLAP;Data Source=powerbi://api.powerbi.com/v1.0/myorg/{Dataset};User ID=*****;Password=*****;" "{Dataset}" -O -C -P -V -E -W

Of course you have to replace the {Dataset} with your own datasets and provide credentials as well.

@mattias-de-coninck Thanks for getting back to me.  I just want to make sure about the credentials.  What credentials need to be passed?  This extension requires you connect to the PBI service either two ways.  We have done so using the App Reg/SP method.
What other credentials are needed?

If I leave the user/pass out of the connection string, I get the following error (I know you didn't say to do this, but the error helps)
(no user/pass in connection string)
2022-03-08T16:10:43.3685792Z ##[error]Deployment failed! Authentication failed: User ID and Password are required when user interface is not available.
(user/pass provided in connection string.  I tried my MS account and the SP/App reg.)
2022-03-08T16:04:22.6563798Z ##[error]Deployment failed! Unable to obtain authentication token using the credentials provided. If your Active Directory tenant administrator has configured Multi-Factor Authentication or if your account is a Microsoft Account, please remove the user name and password from the connection string, and then retry. You should then be prompted to enter your credentials.
If I run a release that "refreshes a dataset" using the creds above, it works.  I'm not sure what else to do here.

@giznaj: Not completely sure but I think there is a problem regarding the authentication because the Tabular Editor is a separate tool.
When using the username password authentication methods is used we could use those credentials but I'm not sure if the Tabular Editor support SPN @mattias-de-coninck: do you know that.
And could also specify how you have now run the extension?

@giznaj the authentication for Tabular Editor is indeed decoupled from the linked service established when first running Power BI Actions. In order to make use of a spn be sure to fill in the credentials in the connection string as follows:
User ID=app:<APPLICATION ID>@<TENANT ID>;Password=<APPLICATION KEY>;

@mattias-de-coninck: So, if I understand you correctly, this would be something we could build in as well. So that the users would not have to enter the creds again.
@giznaj: If possible, we will look at an option to build this in.

@maikvandergaag If we are able to fetch the credentials via the linked service I think we should be able to for sure. I will try to take a look at this in the future.

You guys are great and have been very supportive and helpful!  I will try that syntax now and let you know.  I also believe you will be able to re-use or acquire the token from above.  We are able to do this in Azure automation scripts/Runbooks (power shell).
Thanks again so much and stay tuned!

I will deploy via tabular editor and run filddler in the background.  Maybe I'll be able to see something meaningful and the exchange.  I'll keep you posted.

You will have to fill in the credentials offcourse. We will have to make a change to get the underlying creda for now you will have to supply them yourself

Oh, you think the variable is causing the issue?  You are only seeing those because of the copy and paste.  During execution, those variables have the actual values "enjected" at runtime.

I will deploy via tabular editor and run filddler in the background. Maybe I'll be able to see something meaningful and the exchange. I'll keep you posted.

I deploy using the GUI tool often.  You authenticate in the tool and don't enter any of the creds in the app/publish wizard boxes/screens.  I still might be able to capture the proper syntax that is passed (when mimicing the cli)

I can successfully deploy to the Power BI service usinng the desktop version of tabular editor (we've been doing this for 2 years now).  The authentication is Windows Based (Microsoft AD/Azure AD).  Once that MS prompt is satisfied, you can deploy the Power BI dataset to the power bi workspace.
If I use the extension again for testing, there is no combination of switches, params and options (as specified above) that I can enter to successfully deploy to the Power BI service.  I've tried all combinations above with the SP creds and my MS Windows creds (same as desktop gui tabular editor).
Are you both able to deploy with your extension?  Does anyone have a successful use-case example?

Ok, thanks @maikvandergaag
In the meantime, I have now got it working using another similar extension.  This extension piggy-backs the spn connection established during the start.  It has other options for authentication.  The extension is called "Azure Analysis Service" and is on VS Marketplace.  Thanks for your help in this.
When your extension is updated, I would be keen on testing it with you.
Thanks again and have a great day!

I face exactly the same problem: the Azure DevOps pipeline continues before the TabularEditor has properly deployed the model.
To me it seems that the PBI action just does not wait until the Tabular model is properly deployed.
Can the issue be reopened if the problem persists?
I had the same problem when I use the command line to publish with TabularEditor in an Azure DevOps pipeline: the task continues before the TabularEditor is done deploying. I solved it by the hacky workaround of adding [1] after the TabularEditor command.
[1] Start-Sleep -Seconds 60


Removal of the jest.preprocessor.js file

Issue link

#31
Auto-close the issue?

Closes #31
Types of changes
Technical debt (a code change that doesn't fix a bug or add a feature but makes something clearer for devs)

I've added the --maxWorkers=2 option because without that some test were got completed on Circle CI. That option solved the problem after search about that problem on one of the Circle CI forum threads.

...Circle CI provides 2 vCPUs so --maxWorkers=2 might give better performance than --runInBand

Refs: https://discuss.circleci.com/t/babel-7-jest-results-in-timeout/25383/4

@marcelomorgado We already updated the React Native version outside of this PR, right?

@marcelomorgado We already updated the React Native version outside of this PR, right?

Yes


Update ReactNativeGooglePlayServicesPackage.java

Fixed as in react-native-maps https://github.com/airbnb/react-native-maps/pull/1481

+1 I was about to submit the same PR. Great work.

Thank you.


Consumer keep crashing on: Crash: KafkaJSNumberOfRetriesExceeded: Converting circular structure to JSON

Version: 1.14.0
error:
Crash: KafkaJSNumberOfRetriesExceeded: Converting circular structure to JSON
--> starting at object with constructor 'Timeout'
|     property '_idlePrev' -> object with constructor 'TimersList'
--- property '_idleNext' closes the circle
And it causes consumer restart, and encounter same error again, causing message stalls
We start to see such error right after we upgrade kafkajs from 1.12.0 to 1.14.0

Hi @chengB12 can you provide a stack trace? I would also guess that this is on userland code, kafkajs doesn't perform JSON operations, so it's very unlikely that this is happening inside the client. The fact that it happened on the 1.14 update might be a coincidence, but I will watch it for a stack trace.

@chengB12 feel free to re-open the issue if you have more information.

The problem is kafkajs itself never print out stack trace, how can I know stack trace if kafkajs not give me?
when hook on crash event, I got this as event body: {"id":213,"type":"consumer.crash","timestamp":1602516967554,"payload":{"error":{"name":"KafkaJSNumberOfRetriesExceeded","retriable":false,"originalError":{},"retryCount":0,"retryTime":301},"groupId":---"}}

I also can't reopen issue, since I don't have permission

confirmed it is not 1.14 update issue, we had same issue with 1.12


⚠ Auth has degraded performance

In d7f8f53, Auth (https://auth.k2lin.com) experienced degraded performance:

HTTP code: 200
Response time: 2217 ms

Resolved: Auth performance has improved in 3155400.


[C Bindings] Missing hook function

The sqlite update/commit/rollback hooks are necessary to implement reactive queries as they notify of changes made on tables and rows.
They appear to be missing from the C headers.

I'm not sure this is something we support at the moment. We might for local only and maybe for embedded replicas but I'm pretty sure we don't support such thing for remote only clients

I'm using it for reactive queries. In case you want that functionality this will need to be enabled.

We should expose the hooks to local databases, as discussed here: https://discord.com/channels/933071162680958986/1154725980183732224/1245079190684958861

Is there any update? Are you open towards external contributions?

Friendly ping. I'm considering to give this a shot.

Friendly ping. Is there any update? Would you welcome a contribution?

Sent out https://github.com/tursodatabase/libsql/pull/1839  as an RFC.


Add admin spanish language

Spanish translation for Bagisto admin: I've made a translation of the Bagisto admin for the Latin American and Hispanic community. This translation is based on Colombian Spanish, however it is valid for most Spanish-speaking countries.

HI @mariapaulinar
We appreciate your effort but we need translation for shop package also to mark it complete.
Kindly write the translation for shop package also so that we can merge this PR.

Hi. There is already a Spanish translation for the shop. However I realized that there was no Spanish translation for the admin and therefore I shared this PR to have the admin available in Spanish as well. Spanish translation for the shop: https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Shop/src/Resources/lang/es/app.php


fix filterStateObjectsToLog

Please provide a description of this PR:
xref: https://github.com/istio/istio/issues/53769

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test release-notes

lint_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test release-notes

lint_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test lint

integ-security-istiodremote_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test release-notes

lint_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test lint

integ-security-istiodremote_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test integ-security-istiodremote

integ-ds_istio
805d465e8ba078b4755e0293f3b4a2362669b013
link
true
/test integ-ds

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #53788


Question: Nested RxBuilders

Is it problematic to next RxBuilders in the same Widget tree ?
I get this message: "No Rx variables in that space"
Looks like its when it is trying to untrack, but I am not sure if this break stuff or not.
What happens if I have RxBuilder in the root of the app, how deep will it go to find stuff to track ?

Hello!
Only what is executed in a functional manner within the scope will be tracked.
This has some implications if using conditionals (if and else) can prevent the object from being seen by tracking.

Ok. I tried it some more, and I now understand more how it works. Thanks again!


batch inference

batch inference dont seem to be working. Would you mind to provide an example of batch inference for model.predict. It seems that it only works for the batch size of 1.

+1


Style binding on SVG shapes breaks at times

Vue version
3.4.26
Link to minimal reproduction
https://play.vuejs.org/#eNqVVF1v0zAU/SsXv3QTS9sNOqEsVGJoD/AACHiMxFLnNvHq2JHtpKmm/neunZAOrau0h0j3+5x7outH9qmup22DLGaJ5UbUDiy6pl4ms95dpipVicOqlplD8gCSN1EE2NXIHeYxrEQBBnPgwnCJsBWuBKsrhJVscIha0AqcrqMozBtmZGoHLRorKCkUl00uVAHaQLbSLcK76fvp1TWsDGYbC65EmKyFlLFHm0AYNQyi/lC88LlKt37MxDqjNxhDm5mzKOJaanN+M4G10VUYZt2O6LqseAnhrFHE3MJON5BJq/vZ1OiXS/rFlvb8KJPrGCwpwUtPJUDGAe9jyu7vU0Za9Pjkk7cWHUn0BPuFkeNygYJeB8r/yfw2CrGkWILMdmiej+7phum2Leh35a4kFov5nIiUKIrSjW4rcHurO/LnMAeK+S9lgRv1F4NB5vDzua+9WvhevhtNM1oHEUZCNyTEkR81RKPAL4YPdedlmw3Un2EeIEfES294GLK9RkP7kebLsGzo7s1Xth/Ae/N17UflOtGezHrd6UJbbyWz8TrZBXOWa7UWxfTBakVX/ehLU8Z1VQuJ5nvt6NpsymIIGZ/LpNTbryHmTIMX/+K8RL45En+wnY+l7IdBi6YlcmPOZaZA16fvfn3DjuwxWem8kVR9IvkTrZaN59iX3TYqJ9pP6gLbL1WtjaNL+G3vOofKPyEjUV+5D/Upo6ft84nVD3TpxEJfqvak4p/hWSIB+9tj+78ArphI
Steps to reproduce

any version including or above 3.4.26 breaks the fill: red
on 3.4.25: removing stroke: var(--color); from the style tag breaks thefill: red (unless you also remove some <circle>s)
on 3.4.26: switching from :style="``" to style="" fixes fill: red
on 3.4.26: removing some of the blue circles +- the <g> layer fixes fill: red

What is expected?
big red circle with some blue circles on top

What is actually happening?
big black circle with some blue circles on top

System Info
No response
Any additional comments?
No response

The issue is caused by this commit: https://github.com/vuejs/core/commit/09b4df809e59ef5f4bc91acfc56dc8f82a8e243a. Before version 3.4.25, :style="xxx" would not be stringified. In version 3.4.26, it is being stringified, but stringifyStyle returns an empty string.


DNS  the dual host support

There is really too much here to review in detail to get an understanding.  I am counting on the fact that you are the primary user of this code and, hence, have thoroughly evaluated the changes.


Question about Hypothesis 2

Hi,
Thank you for sharing this insightful work.
I have a question about  Hypothesis 2 in page 6 (arxiv version):
Hypothesis 2: It is still worthwhile to further explore the potential of SSM for visual
detection and segmentation since these tasks align with Characteristic 2, despite not fulfilling
Characteristic 1
• Characteristic 1: The task involves processing long sequences.
• Characteristic 2: The task requires causal token mixing mode.
However at the end of page 5 (arxiv version), the paper says that "both detection on COCO and segmentation on ADE20K can be considered long-sequence tasks"
So may the Hypothesis 2 should be "It is still worthwhile to further explore the potential of SSM for visual
detection and segmentation since these tasks align with Characteristic 1, despite not fulfilling
Characteristic 2" ?
If I have misunderstood anything, I appreciate you pointing that out. I look forward to your response.
Thanks and best！

Hi @x2ss , thank you so much for your attention to our work. Yes, this is a typo. Thanks for your reminder, I will correct it in the next version.

Hi @x2ss , thank you so much for your attention to our work. Yes, this is a typo. Thanks for your reminder, I will correct it in the next version.

thanks for your reply.
Hope the next version of the paper (maybe another paper) will have more discussion on detection and segmentation tasks, as many detection and segmentation tasks have a performance gain by employing Mamba.
Thanks and best！


Remove non 3.9 code from Mixed mode debugger

This removes code that was only necessary to debug 3.8 and earlier. Should make life simpler going forward as we add support for 3.10, 11, 12, and 13

Yeah PTVS doesn’t release manually. Every change in main inserts into VS main. We can always abandon the PRs though, we don’t have to merge them.

From: Stella @.>
Sent: Friday, November 1, 2024 12:18:40 PM
To: microsoft/PTVS @.>
Cc: Adam Yoblick @.>; Review requested @.>
Subject: Re: [microsoft/PTVS] Remove non 3.9 code from Mixed mode debugger (PR #8048)
@StellaHuang95 commented on this pull request.

In Python/Product/Common/Parsing/PythonLanguageVersion.cshttps://github.com/microsoft/PTVS/pull/8048#discussion_r1826091296:

@@ -43,6 +43,8 @@ public enum PythonLanguageVersion {
V39 = 0x0309,
V310 = 0x030a,
V311 = 0x030b,

   V312 = 0x030c,

   V313 = 0x030d,

If there's a new change merged into main later, the insertion PR created that inserts changes into VS main will contain this change as well.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PTVS/pull/8048#discussion_r1826091296, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHASVDMXOFP7H5MAUQQBCCTZ6OZXBAVCNFSM6AAAAABQ7K2UNOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMJQGU2DAMJUGQ.
You are receiving this because your review was requested.Message ID: @.***>

Maybe I should merge all of this mixed mode stuff into a branch then if we're worried about making other change at the same time. Bill is working on fixing a microsoft store problem. I don't think we'd want to hold that up until mixed mode works


When showing help, If terminal width is too low, clap goes into an infinite loop

If 01a_quick_example is invoked with the help subcommand on a terminal of width 34 or lower, clap goes into an infinite loop. It also keeps allocating memory.

this is the problematic loop.

Thanks! Since this is a bigger issue this'll take priority but should also be an easy fix. Thanks again!

I have this fixed locally. Once I get home I'll put in the PR and put out 2.2.1 after the merge


Brackets performing slowly even after fresh install (update 5/9)

I've had Brackets on my current work computer for about a year now with no problems. This past Monday, however, Brackets has begun moving at a snail's pace with every type of document. Its response time is extremely slow immediately after I save/open a file, sometimes taking up to a minute to respond to a keystroke/cursor movement. I have no idea what's going on, as I haven't changed anything on my end.
I've uninstalled/cleared ALL Brackets files from my computer & reinstalled several times just to encounter the same issue.
Brackets version: 1.6
OS version: Windows 7 Enterprise
Extensions: None
Here's the console log from when I first opened after a fresh install and created/saved two different html docs in two different locations:

Any ideas? Could it be the "SecurityError"? I'm not particularly software savvy, so any explanations at a more basic level will be much appreciated. I just want Brackets back. Thanks!
_UPDATE 5/9_
I've uninstalled/reinstalled Brackets several times again, and now I'm consistently receiving this error message whenever I open one of my documents:

Brackets still runs unreasonably slow after attempting to open/switch between documents.
About ready to assume Brackets broke its leg, and I just need to accept that and put the ol' girl down.

I am having exactly the same problem... I don't have any ideas what is happening...  I have using brackets (0.36 version i think).... afterwards I had used "brackets" for a long time, one day It just became in slow, when I type in there it takes seconds to show what I am typing, in general all the app is too slow. here is the "Brackets"  healt report (it is happening on a win 8.1 pc):

{
"uuid": "1add247e-d1c1-48c5-9b60-ff1dbf7b932c",
"snapshotTime":<PHONE_NUMBER>261,
"os": "win",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Brackets/<IP_ADDRESS> Chrome/39.0.2171.36 Safari/537.36",
"osLanguage": "es-ES",
"bracketsLanguage": "es-ES",
"bracketsVersion": "1.6.0-16680",
"fileStats": {
"openedFileExt": {
"html": 1
},
"workingSetFileExt": {}
},
"ProjectDetails": {
"prj3732": {
"numFiles": 6861,
"cacheSize": 29817923
}
},
"projectLoadTimes": ":872",
"fileOpenTimes": ":1732",
"ModuleDepsResolved": 1141,
"AppStartupTime": 6568,
"prefNodeSearchDisabled": false,
"prefInstantSearchDisabled": false,
"installedExtensions": [
{
"name": "brackets-compare",
"version": "0.2.4"
},
{
"name": "dannymoerkerke.brackets-codeintel",
"version": "0.1.1"
},
{
"name": "equals182.brackets-power-mode",
"version": "0.0.5"
},
{
"name": "rain.monokai-dark-soda",
"version": "1.0.9"
},
{
"name": "bigeyex.brackets-wordhint",
"version": "1.0.2"
},
{
"name": "brackets-apache-syntax",
"version": "1.0.0"
},
{
"name": "brackets-shizimily-multiencoding",
"version": "0.0.8"
},
{
"name": "com.doersguild.brackets.phplint",
"version": "1.0.2"
},
{
"name": "filetreesync",
"version": "0.0.4"
},
{
"name": "scroll-arrows",
"version": "0.1.0"
},
{
"name": "toshsharma.bookmarks",
"version": "1.0.1"
},
{
"name": "brackets-yuidoc",
"version": "1.2.0"
},
{
"name": "brackets-php-syntax-hint",
"version": "1.1.6"
},
{
"name": "gruehle.markdown-preview",
"version": "1.0.11"
},
{
"name": "dnbard.postman",
"version": "0.1.1"
},
{
"name": "edc.brackets-snippets",
"version": "1.8.1"
},
{
"name": "growlscript.brackets.classcompletion",
"version": "0.2.1"
},
{
"name": "custom-work-for-brackets",
"version": "5.1.0"
},
{
"name": "quickdocsjs",
"version": "1.6.9"
},
{
"name": "johnwu.brackets-code-connect",
"version": "0.1.1"
},
{
"name": "quickdocsregex",
"version": "0.1.1"
},
{
"name": "interactive-linter",
"version": "1.0.5"
},
{
"name": "ivogabe.icons",
"version": "1.5.6"
},
{
"name": "brackets-beautify",
"version": "1.2.0"
},
{
"name": "hirse.outline-list",
"version": "0.7.0"
},
{
"name": "alanhohn.mermaid-preview",
"version": "1.0.2"
},
{
"name": "brackets-emmet",
"version": "1.2.2"
},
{
"name": "insya.tools",
"version": "0.2.0"
},
{
"name": "zaggino.brackets-git",
"version": "0.16.5"
},
{
"name": "equals182.eqftp",
"version": "0.7.2"
},
{
"name": "mackenza.php-smarthints",
"version": "1.2.2"
}
],
"bracketsTheme": "rain.monokai-dark-soda"
}

I am running Brackets in admin mode and it's not slow anymore
read here:
https://github.com/adobe/brackets/issues/12011#issuecomment-172342744

Running in admin mode unfortunately isn't changing anything for me. It's still unreasonably slow.
Thanks for the suggestion!

2018 and its not closed so I thought I'd add,
I'm running version 1.12, fresh install
Ran fine the first day, second day ended up tripping all over itself, couldn't even type a single tag without waiting.
Simply ran in admin mode, #fixed

2020 and still an issue, though for me it only starts to slow down once I've been using it for several hours. I suspect a memory leak - I've got 32GB of RAM and slowly but surely Brackets takes all of it.
This is on a recently formatted Mac (last week) running Catalina.


Additional Analytics: Measuring articulation length

Measuring articulation-lengths by parameters: a) length of contiguous phrase, regardless of articulations within; b) length of single articulation from start of articulation to end of trajectory-transcription; c) length of single articulation from start of articulation to the start of the subsequent articulation (i.e., not based on measuring the subsequent contiguous-trajectories).

The datasets/visualizations include representations with the following parameters: a) all measured phrases from low to high/high to low; b) average; c) median, and d) divided into quantiles, defaulting to quartiles and deciles, but allowing for analyst flexibility.

This is a brand new analysis tab.


feat(pre-commit): Support pinned tflint versions

Description
Add an optional input variable to pin the version of tflint to a specific release
Motivation and Context
This fixes #7, and as noted there, addresses an issue where new releases that update the client version can cause checks to break when a given project is using an older plugin version in the tflint.hcl configuration.
How Has This Been Tested?
I checked the shell code locally to ensure that it would appropriately download the pinned version id, but I have not done further testing, including testing in a GitHub actions environment.

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update version: kamranahmedse.pennywise version 0.8.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115032&drop=dogfoodAlpha

@wingetbot run


How would this use jupyter-cache?

Once jupyter-cache is ready for prototyping etc, we should also figure out how to use it as a part of building Sphinx sites with notebooks. Here is one way to do it:
Each notebook will have a unique URI in the cache that is tied to its location on disk. In Sphinx, when we parse a source file we also have the file location of that file. So, when a source file is parsed that also has a key in the Jupyter Cache registry, then instead of pulling cell['outputs'] and inserting it into the cell mimebundle, we could instead grab those outputs from the cache. From then on, everything proceeds as normal. (somewhere around https://github.com/ExecutableBookProject/myst-nb/blob/master/sphinx_notebook/parser.py#L80)
So it would be something like the following (and assuming that the cache had already been run and cached before Sphinx entered the equation)

There's a configuration option like "myst_nb_use_cache"
Upon parsing a file and if the option is True, check in .jupyter_cache to see if there's a URI for the file.

Maybe do some kind of sanity check to make sure the cache is up-to-date with the source file?

If there is, then when you get to https://github.com/ExecutableBookProject/myst-nb/blob/master/sphinx_notebook/parser.py#L80, instead grab the output corresponding to the current cell from the cache. It'll be returned as a mimebundle. Insert it as if you were doing cell['output'].
From then on, everything is the same.

@chrisjsewell is this what you had in mind?

@chrisjsewell is this what you had in mind?

Yep that seems like the general idea. The one thing I'm considering is whether to match the notebooks by URI or a hash, but that wouldn't entail much change to the code.

In Sphinx, when we parse a source file we also have the file location of that file.

Does that mean 1 notebook per source file?

What if there isn't an output corresponding to the notebook?

Does that mean 1 notebook per source file?

Are you thinking here about how jupyter-sphinx allows multiple kernels per source file?

Yes, indeed.

Yes, indeed.

Well yeh that won't be the case here. It will be one kernel per source file. It's just not possible to have round-trip conversion with a multi-kernel file. jupyter-sphinx only allows consecutive 'blocks' of kernel->cell->cell... yeh? So I'd say its much easier to just have the separate blocks/sections in separate files. The one thing that I've mentioned before, is that it would be good to explore in sphinx what is the best way (if possible) to combine multiple source pages into a single HTML page.

Unless you see any added benefit to have multiple kernels in a single source file?

It's just not possible to have round-trip conversion with a multi-kernel file.

Is the round-trip conversion a goal? It seems absent from the v3 pipeline of https://github.com/ExecutableBookProject/meta/issues/21

Unless you see any added benefit to have multiple kernels in a single source file?

Not really. If there's a clear way to combine multiple source files into one HTML output, that seems to be a cleaner optimal solution. I do think there's a use case to having multiple kernels per HTML page.

Is the round-trip conversion a goal?

100%, its part of section 1 in the pipeline; you have to be able to switch between writing code (most probably in the notebook form) and writing documentation / what you commit to git (most likely the MyST format file). This will likely use jupytext

@akhmerov I don't think that this should preclude the existence of tooling that lets you have multiple kernels per sourcefile, but for the scope of MyST-NB, it's about representing ipynb-like files in Sphinx, which equates to the 1 kernel per notebook file. I wanna make sure we have that basic use-case covered before we get wacky with kernels :-)

Given  ExecutableBookProject/jupyter-cache#8:

Each notebook will have a unique URI in the cache that is tied to its location on disk.

This is no longer the case; you just 'give' it a notebook and it will give you back a pointer (primary key) to the one in the cache (matched by hash) or raise a KeyError; see cache.match_commit_notebook(nb: nbf.NotebookNode) -> int and cache.match_commit_file(path: str) -> int. This means the cache is resilient to being moved and won't require an up-to-date sanity check.

we could instead grab those outputs from the cache.

You can either grab the entire notebook (plus artefacts); cache.get_commit_bundle(pk: int) -> NbBundleOut, or query specific cells; cache.get_commit_codecell(pk: int, index: int) -> nbf.NotebookNode.

There's a configuration option like "myst_nb_use_cache"

Yes, and an option to specify the path to the cache.

Now all you have to is:
cache = JupyterCacheBase("path/to/the/cache")
try:
    # this will give you the "final" notebook with all outputs populated
    pk, notebook = cache.merge_match_into_notebook(notebook)
    # you may also want to copy execution artefacts to the build folder
    with cache.commit_artefacts_temppath(pk) as folder:
        shutil.copytree(folder, "path/in/build/folder")
except KeyError:
    # a match was not found
    pass

closed in #55 (also #116 add support for text based notebooks, and #87 is IMO the correct way to implement multiple kernels)


fix(theme): improve theme type

:tada: This PR is included in version 0.7.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix: Clear store contacts & assets

Clear store on unmount or when searchParams change

Task linked: CU-862kcekvf Fix wrong chains when open different assets transfer & receive


New Term Request: Intellectual disability and spastic paraplegia

Preferred term label: Intellectual disability and spastic paraplegia
Synonyms: None
Definition (free text, please give PubMed ID, if applicable, in format PMID:#######): The ClinGen ID/Autism GCEP would like to propose a new term "Intellectual disability and spastic paraplegia". The GCEP recently curated AP4B1 where it was noted that there was no term available to describe both the spastic paraplegia phenotype and severe ID observed in individuals with this genetic disorder. PMIDs: 30543385, 29193663, 321171285, 29430868
Parent term (use OLS, or your favorite ontology browser): Hereditary spastic paraplegia 47 MONDO:0013551
Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?
Your nano-attribution (ORCID):
ClinGen ID/Autism GCEP

Hi @tibingaman
The description of this disease sounds like it is 'hereditary spastic paraplegia 47', which is a child of 'severe intellectual disability and progressive spastic paraplegia', meaning it has those characteristics as well.
I think this existing term has the features you describe above, here is the OMIM record:
https://www.omim.org/entry/614066
Let me know your thoughts, thanks!

pinging @tibingaman

Hi @nicolevasilevsky, thank you for the ping! We understand that hereditary spastic paraplegia 47 has been associated with variants in the "AP4" genes previously however, this term does not encompass the phenotypic spectrum described in patients with all the "AP4" genes. Some phenotypes and percent of patients with variants in AP4B1 reported with the phenotype are as follows: Early DD/ID (100%), delayed motor development (100%), infantile hypotonia (100%), delayed speech development (94%), progression to spastic diplegia (89%), loss of independent walking (88%), microcephaly (69%), epilepsy (47%) (PMID:30543385). As we see in this publication, developmental delay/intellectual disability is reported in 100% of the patients and is the first reported feature. We do not alone plan on using this term just for variants in AP4B1 but all of the AP4 genes. There are 3 others (also listed above).
Here is a similar term in Orphanet: https://www.orpha.net/consor/cgi-bin/Disease_Search.php?lng=EN&data_id=20498&Disease_Disease_Search_diseaseGroup=Severe-intellectual-disability-and-progressive-spastic-paraplegia&Disease_Disease_Search_diseaseType=Pat&Disease(s)/group of diseases=Severe-intellectual-disability-and-progressive-spastic-paraplegia&title=Severe intellectual disability and progressive spastic paraplegia&search=Disease_Search_Simple

@tibingaman sorry, I still don't understand. The term you are requesting seems to be represented by MONDO_0017241 'severe intellectual disability and progressive spastic paraplegia', which is equivalent to ORPHA:280763 Severe intellectual disability and progressive spastic paraplegia (which you linked above).
The term is undefined in Mondo, we could add a definition to this term - would that cover your request?
The orphanet def is:
Severe intellectual disability and progressive spastic paraplegia is a rare complex spastic paraplegia characterized by an early onset hypotonia that progresses to spasticity, global developmental delay, severe intellectual disability and speech impairment, microcephaly, short stature and dysmorphic features. Patients often become non-ambulatory, and some develop seizures and stereotypic laughter.
We could extend this def to include the additional phenotypes you mention above, and reference PMID:30543385.
Let me know your thoughts!

@tibingaman pinging you about the question above.

Hi @nicolevasilevsky, thank you for the reminder. I don't believe that the words "severe" and "progressive" are terms that accurately represent what we are trying to describe. Because the severity and how it changes over time is unknown, we would rather select a term that does not have these factors, like Intellectual disability and spastic paraplegia. I think that is a good idea to include the PMID reference in the definition. Please let me know if you have any other questions.

Got it, thanks for the clarification @tibingaman.
I think this is what I should add, I'd like to verify this with @cmungall
label: AP4B1-related intellectual disability and spastic paraplegia
subclassOf:
MONDO_0019064 'hereditary spastic paraplegia'
MONDO_0000508 'syndromic intellectual disability'
'disease has basis in dysfunction of' some AP4B1
Def:
A disorder that presents with spastic paraplegia and intellectual disability in which the cause of the disease is a mutation in the AP4B1 gene.
Source:
PMID:30543385
PMID:29193663
PMID:321171285
PMID:29430868
https://www.clinicalgenome.org/affiliation/40006/

Thanks @nicolevasilevsky! We also know that this caused by variants in AP4E1, AP4M1, and AP4S1. So for right now, we would like to request the name not reference just one of the AP4 genes. Please let me know your thoughts and if you need any clarification from me.

Is it correct to say that the common molecular feature is variants in members of the AP-4 adaptor complex?
I am not convinced we need a separate concept than MONDO:0017241/Orphanet:280763
Orphanet already calls this  "AP4 deficiency syndrome"
The objection is that "severe" and "progressive" do not apply to all cases. I think we just relabel this as  "AP4 related  intellectual disability and spastic paraplegia", and we include the orphanet label as a narrow symbol. We may also want to coordinate with them to see if they would like to synchronize primary label.
@nicolevasilevsky I think additionally we want

a design pattern for grouping by members of a complex, and use this here
I think we should also include an extensive (union) definition here, where this is the union of SPG47, ..., 51

see related ticket:
https://github.com/monarch-initiative/mondo/issues/1729

another related ticket:
https://github.com/monarch-initiative/mondo/pull/1877

@ana-rath-orphanet @Anne-Pariser @Orphanet
we renamed MONDO:0017241/Orphanet:280763 to 'AP4-related intellectual disability and spastic paraplegia'. FYI, in case you'd like to follow suit.

@tibingaman I made the changes Chris suggested here:
https://github.com/monarch-initiative/mondo/issues/1728#issuecomment-747078176
But now I am wondering how this is different from MONDO_0100176 'AP-4 deficiency syndrome'? Looks like it is more narrow in scope from the definition. So should MONDO:0017241 'AP4-related intellectual disability and spastic paraplegia' be a child of MONDO_0100176 'AP-4 deficiency syndrome'?

I think we should also include an extensive (union) definition here, where this is the union of SPG47, ..., 51

Not sure how to address this.

@tibingaman my apologies for the delay in getting back to this ticket.
MONDO_0017241 is renamed 'AP4-related intellectual disability and spastic paraplegia', these updates will be available in the next release at the beginning of March.


Children inside Image will be deprecated

So apparently having children inside Image component is going to be deprecated soon, so my question is how to fix this issue? I look at the code and I think we can use renderImage prop.
Is this correct way?

Fixed in https://github.com/kfiroo/react-native-cached-image/pull/59

I will merge and publish https://github.com/kfiroo/react-native-cached-image/pull/59 as fast as I can!

@iegik Thanks for quick response but I think we should wait before merging it to master.
Usually we keep adding things to the project util it becomes not maintainable. after a little bit of research I found something which can be differ this change.
since CachedImage already has an api to change the renderImage, I simply added that one with the new ImageBackground from react-native. To me this is more powerful and simpler that adding all the new things into cache image.
The only hack part of this is passing cachedImage as ref.
@kfiroo what do you think?
    <CachedImage
      renderImage={props =>
        <ImageBackground imageStyle={imageStyle} ref={'cachedImage'} {...props} />}

If You look deeper into https://github.com/iegik/react-native-cached-image/blob/master/CachedImage.js#L62 You will see, that ImageBackground was implemented here https://github.com/facebook/react-native/commit/9637dd4a1b78d5f6da510b1b4ad10d45d67badbf and not available in lower releases So, I use Image instead.
https://github.com/kfiroo/react-native-cached-image/pull/59#discussion_r128177958

@iegik I know, that's how I figure out the imageStyle prop of ImageBackground. what I'm saying is instead of baked all ImageBackground, Image and who knows what comes next, into this library we simply extract that one and let the developer extend it using renderImage. It keeps the core team of this library maintaining the code a lot easier.
So my suggestion is don't put ImageBackground inside this library. Instead document how to use renderImage to fix this.

It keeps the core team of this library maintaining the code a lot easier
So, we should fully replace property defaultSource with renderLoader  and do not use ImageBackground in this code, to give user choice himself how to render cached image placeholder and make this code lighter!

renderLoader = (activityIndicatorProps) => (
   <ActivityIndicator {...activityIndicatorProps} />
)

@iegik I really like your approach. I think it makes the library a lot more resilient against future api changes in react-native.
I still do not like the idea of accessing ref in the code. If we can somehow get rid of it, would be really good.
@kfiroo what do you think?

@kfiroo the community is waiting :)

Waiting what?

What is the suggested course of action right now to fix this error in code? Or is there a fix coming to Master branch that supports the old way of doing things? I updated cachedImage to the latest version and I'm still getting this warning.

Don`t worry, about warnings!
As @kfiroo says in #issuecomment-316324967 "I will merge and publish #59 as fast as I can!"

@alinz @ovaris @iegik @Waltari10 Merging takes a bit longer then expected as we are constantly trying to improve and come up with better solutions that takes time to implement.
Thanks for your patience and contributions! :)


Develop

Add new feature and clean codes

Coverage decreased (-1.0%) to 62.443% when pulling be737cd7e1e7b0f1c5d46c0bffd1cd9076826288 on develop into 3f22864fe2dd4636f7e99634c9a80376909703ea on master.


Allow quotes in GPG uid (#3487)

Allow (and strip) quotes in more places in GPG uids.
This should fix #3487 .
@maxtaco

Looking good, a few comments!

👍 👍 👍 👍  🎊 👍 👍 👍 👍


Create Articles “2020/test”

Automatically generated by Netlify CMS

FYI: leaving this open to troubleshoot some of the CMS configuration


No such file or directory: 'artifacts/Account.json' when querying transaction

From a new project generated by nile init, run nile node then nile declare PRIVATE_KEY contract. This fails with the below which is the same as step 6 of https://github.com/OpenZeppelin/nile/issues/308.
🚀 Deploying Account
⏳ Deployment of Account successfully sent at 0x02e2adf85e7439821a4f15e61558a116ac89a82f28dcf98fc9d74aab740c59ec
🧾 Transaction hash: 0x6e12304cf4b97cfc0530637a4c563180a84d4a109307574967490013205c4be
📦 Registering 0x02e2adf85e7439821a4f15e61558a116ac89a82f28dcf98fc9d74aab740c59ec in localhost.deployments.txt
Traceback (most recent call last):
  File "/Users/eric/git/nileproj3/env/bin/nile", line 8, in <module>
    sys.exit(cli())
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1157, in __call__
    return anyio.run(self._main, main, args, kwargs, **opts)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_core/_eventloop.py", line 70, in run
    return asynclib.run(func, *args, **backend_options)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 292, in run
    return native_run(wrapper(), debug=debug)
  File<EMAIL_ADDRESS>line 44, in run
    return loop.run_until_complete(main)
  File<EMAIL_ADDRESS>line 647, in run_until_complete
    return future.result()
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
    return await func(*args)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1160, in _main
    return await main(*args, **kwargs)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1076, in main
    rv = await self.invoke(ctx)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1687, in invoke
    return await _process_result(await sub_ctx.command.invoke(sub_ctx))
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1434, in invoke
    return await ctx.invoke(self.callback, **ctx.params)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 780, in invoke
    rv = await rv
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/cli.py", line 176, in declare
    account = await Account(signer, network)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/core/account.py", line 40, in __new__
    await instance.__init__(*a, **kw)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/core/account.py", line 104, in __init__
    assert type(self.address) == int
AssertionError

Then run nile declare PRIVATE_KEY contract again. This causes an error with No such file or directory: 'artifacts/Account.json' which occurs when the command is querying the transaction.  (This also occurs when you run nile status 0x072757b6b4922caeb0d478481635494d88d4be03386f3cffbe1858f00974145)
🚀 Declaring contract
⏳ Successfully sent declaration of contract as 0x072757b6b4922caeb0d478481635494d88d4be03386f3cffbe1858f00974145
🧾 Transaction hash: 0x2f9325203a92187e342565810d368c164a2790e9e51c73e469bc6a8625a28cf
📦 Registering 0x072757b6b4922caeb0d478481635494d88d4be03386f3cffbe1858f00974145 in localhost.declarations.txt
⏳ Querying the network for transaction status...
❌ Transaction status: REJECTED
🧾 Found contracts: ['0x02e2adf85e7439821a4f15e61558a116ac89a82f28dcf98fc9d74aab740c59ec:artifacts/Account.json']
⏳ Querying the network with identified contracts...
Traceback (most recent call last):
  File "/Users/eric/git/nileproj3/env/bin/nile", line 8, in <module>
    sys.exit(cli())
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1157, in __call__
    return anyio.run(self._main, main, args, kwargs, **opts)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_core/_eventloop.py", line 70, in run
    return asynclib.run(func, *args, **backend_options)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 292, in run
    return native_run(wrapper(), debug=debug)
  File<EMAIL_ADDRESS>line 44, in run
    return loop.run_until_complete(main)
  File<EMAIL_ADDRESS>line 647, in run_until_complete
    return future.result()
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
    return await func(*args)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1160, in _main
    return await main(*args, **kwargs)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1076, in main
    rv = await self.invoke(ctx)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1687, in invoke
    return await _process_result(await sub_ctx.command.invoke(sub_ctx))
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 1434, in invoke
    return await ctx.invoke(self.callback, **ctx.params)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/asyncclick/core.py", line 780, in invoke
    rv = await rv
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/cli.py", line 177, in declare
    await account.declare(
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/core/account.py", line 170, in declare
    return await declare(
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/core/declare.py", line 50, in declare
    tx_status = await status(tx_hash, network, watch_mode)
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/utils/status.py", line 43, in status
    error_message = await debug_message(
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/utils/debug.py", line 42, in debug_message
    return await execute_call(
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/starknet_cli.py", line 30, in execute_call
    return await capture_stdout(cmd(args=args, command_args=command_args))
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/nile/starknet_cli.py", line 47, in capture_stdout
    await func
  File "/Users/eric/git/nileproj3/env/lib/python3.9/site-packages/starkware/starknet/cli/starknet_cli.py", line 441, in tx_status
    contracts[addr] = Program.load(data=json.load(open(path.strip()))["program"])
FileNotFoundError: [Errno 2] No such file or directory: 'artifacts/Account.json'

These lines in starknet_cli.py don't consider that we have precompiled artifacts, like Account.json, and this should be treated separately.
https://github.com/OpenZeppelin/nile/blob/98ce378842eb5d404f82e3bc2d082dd06091b665/src/nile/starknet_cli.py#L76-L85
This is a bug in the current implementation. Status command for transactions going through accounts won't work because it won't find the precompiled Account artifact..


Windows Terminal: Loss of Mouse Interactivity (PowerToys)

Environment
Windows build number: [Version 10.0.19041.264]
Windows Terminal version (if applicable): 1.0.1401.0

Any other software?

Steps to reproduce

This seems to happen when I leave Windows Terminal running long enough. I haven't been able to nail down the exact situation that leads to it happening. I started noticing this recently, which may be due to a new problem, or just more use of Windows Terminal.
I'm certain that leading up to the unresponsiveness, my machine has been locked and/or asleep at some point. But I have put my computer asleep, or locked it without reproducing the problem.
Expected behavior

Normal mouse interactivity.
Actual behavior

At least once a day now, my Windows Terminal become unresponsive to mouse interactions. This includes selecting text, pasting text with right click, clicking tabs and dropdown menu, minimize/maximizing the window etc. The only mouse interaction that works is grabbing the title bar and moving the window.
I am seeing this behavior with Windows Terminal, but I have a feeling it might be UWP related. I don't (knowingly) use many UWPs, but when the Windows Terminal is like this, I've tested the Microsoft Store application as well. I'm able to minimize/maximize Microsoft Store, but cannot drag it around via the title bar. When Windows Terminal is behaving properly, the Microsoft Store is fine.
When Windows Terminal has been misbehaving, I've opened Windows Terminal (Preview), and it was acting similarly unresponsive.
This issue is not resolved by closing and reopening Windows Terminal. I have to restart my computer to fix it.
If I can provide any more info, or narrow down what leads to this happening, I'll report back.

Do you have PowerToys installed?

(This could be a XAML platform bug -- that's the only thing in common between that set of applications. Hmm.)

@DHowett Yes, I updated to PowerToys v0.18.0 this week. Before that, I was several versions behind (v0.13.0).
Do you think that's involved? Would closing PowerToys when this issue happens fix it?

It's worth a shot!

I'll report back.
You made me wonder if this could be caused by FancyZones use, but that didn't cause any issues yet.

I am experiencing this, too. It's random and happens when Windows Terminal has been running for a little while. I always have two Windows PoweShell tabs open  There are no steps to reproduce this other than to start Windows Terminal and open two Windows PoweShell tabs.

I have the same issue. And when I exit PowerToys, it works fine now.

@softwarenerd do you have powertoys installed as well?
@crutkas We're still seeing some intermittent mouse issues with the Terminal and PowerToys, even on updated versions of PowerToys, anything we can do to get logging from these users to debug?

@crutkas I don't.

@zadjii-msft @crutkas @DHowett
This morning I lost mouse function again.
Closing PowerToys did the trick. I closed it and all was fine again. I opened PowerToys again and it's still fine.

@hectormz. Did you drag the window with fancyzones at any time before?

@crutkas I did drag other windows into FancyZones last night, but not Terminal.
Last night everything was okay, and computer was asleep over night. Some time after waking the computer today and doing work, I noticed Terminal not responding again.

I have experienced the same issue and it occurred when I unlocked my laptop from sleep. I had two tabs open and I don't have powertoys installed. If I right click close from the taskbar, I get close tabs dialogue but it is unresponsive too. This has happened several times over the last month (both prior to v1 and now on v1).

Killing the windowsterminal process and relaunching resolves the issue.

@muzzar78 do you have PowerToys installed?

@muzzar78 do you have PowerToys installed?

No, I don't.

I also don't have Power Toys installed, and experience the same issue.
Also to close it, even if I right-click on the task bar icon with the mouse, anc select "Close", the terminal shows the dialog (that warns about having multiple tabs that will be closed) but if I click over the dialog buttons, it just do nothing.
I have to close it from the Windows task manager

I also getting issue with dialog on Ubuntu 20.04 WSL2 with following command:
HEIGHT=0
WIDTH=0
dialog \
    --backtitle "System Information" \
    --title "Menu" \
    --clear \
    --cancel-label "Exit" \
    --menu "Please select:" $HEIGHT $WIDTH 4 \
    "1" "Display System Information" \
    "2" "Display Disk Space" \
    "3" "Display Home Space Utilization"

It just stops reacting on mouse clicks just after few clicks to different options. Also I hadn't this issue on Terminal Preview versions.
Windows Terminal Version: 1.0.1401.0
Windows Version 2004 (OS Build 19041.264)

I'm having the same issue. When it happens, it persists when I close and re-open Terminal. But if I shut down Powertools, then it disappears.
I also noticed that if I run Terminal as administrator while PowerTools is running then I get this notification:

I have the same issue. Exiting PowerToys restores functionality - Terminal doesn't even need to be restarted after PowerToys is exited.

I have the same issue... But when I close PowerToys it run good again without restarting the Terminal. The issued started with the v0.18.1 of powerToys, that ask to intall/update the netFramework too

I'm having the same issue. When it happens, it persists when I close and re-open Terminal. But if I shut down Powertools, then it disappears.
I also noticed that if I run Terminal as administrator while PowerTools is running then I get this notification:

If terminal is run as admin, we can't resize the terminal window since PT runs at a lower permission.  This is PowerToys telling you 'hey, you're in a state odd stuff may happen'

This is PowerToys telling you 'hey, you're in a state odd stuff may happen'

This is interesting! However, (to the best of my knowledge) this issue isn't caused by running an elevated instance of Terminal. I think the same thing happens with regular permissions.

This is interesting! However, (to the best of my knowledge) this issue isn't caused by running an elevated instance of Terminal. I think the same thing happens with regular permissions.

this dialog is all about making users aware that FancyZones can't resize elevated apps.  This GH issue and that are unrelated.  Just wanted to clarify that.

 I'm on PT 0.18.0, but I'm certainly not about to update until we attempt to debug this. Now I'm just waiting on @crutkas to wake up and sign in 😜
CRAZILY, I've found an interesting piece of the puzzle - this only repros on my primary, high-DPI display. Both my external monitors are 96DPI, and if I drag the Terminal window to those displays, it works like a charm. I'm getting very similar behavior with the XAML Studio app, so I'd bet there's a weird interaction with XAML islands here.

Hey all, just a follow up on this thread - if you're hitting this, could you try providing any of the following information:

Are you using the Terminal on a high DPI display?

If so, and if possible, does dragging the window to a 100% scaling display magically restore mouse functionality to the Terminal?

Does the PowerToys settings app similarly not respond to mouse input?
Do you have the Shortcut Guide enabled in PowerToys?

If so, does it actually work if you long press Win?

By any chance, did you recently uninstall any sort of IME (like a Chinese/Japanese/Korean language IME)?

I just hit this yesterday, and although we don't have exact repro steps yet, we're trying to figure out anything that could be useful.
See also:

https://github.com/microsoft/PowerToys/issues/4360
https://github.com/microsoft/PowerToys/issues/3833
https://github.com/microsoft/PowerToys/issues/3250
https://github.com/microsoft/PowerToys/issues/3090
(this list is not comprehensive)

If you're experiencing this, and you can interact with the PowerToys settings app (you might need to drag it to another monitor), then

can you fix the issue by disabling "Shortcut Guide" in PowerToys?

So, I just encountered this again (since you posted this @zadjii-msft ).
I normally am using my laptop which has a high DPI display, which is off, and is connected to a high DPI monitor. (Scaling is set to recommended 250%)
I was using my laptop without an external monitor and couldn't interact with Windows Terminal with mouse.
I opened the powertoys settings, but couldn't click anything. But I do have the shortcut guide enabled, and it did come up after holding Win key.
After this, I went back to PowerToys settings which were now working, and I went back to Windows Terminal which was also back to normal. Seemingly just from bringing up the shortcut guide.
I have not uninstalled any IME to my knowledge.

I had this same issue with Windows Terminal Version: 1.0.1401.0. I also experienced loss of mouse interactivity in the Twitter PWA Store app.

I had this same issue with Windows Terminal Version: 1.0.1401.0. I also experienced loss of mouse interactivity in the Twitter PWA Store app.

Do you have PowerToys installed. If so what is enabled.

Yes Powertoys (v0.18.2) is installed. The enable features are: Image Resizer, Power Rename, and PowerToys Run.

Yes Powertoys (v0.18.2) is installed. The enable features are: Image Resizer, Power Rename, and PowerToys Run.

But not shortcut guide or fancyzones?  Interesting

Hey all, just a follow up on this thread - if you're hitting this, could you try providing any of the following information:

Are you using the Terminal on a high DPI display?

Don't know - Samsung 27" curved 1080p gaming monitor.

If so, and if possible, does dragging the window to a 100% scaling display magically restore mouse functionality to the Terminal?

Dragging it to an identical, non-primary display does restore functionality.

Similarly, are you using the Terminal on your primary display?

It's considered display #2 by the system (LT screen is #1), but it IS my main display.

If so, and if possible, does dragging the window to another display magically restore mouse functionality to the Terminal?

It does indeed.

Does the PowerToys settings app similarly not respond to mouse input?

Yup.  It sure doesn't.

Do you have the Shortcut Guide enabled in PowerToys?

Yup.

If so, does it actually work if you long press Win?

It did - did not try this again.

By any chance, did you recently uninstall any sort of IME (like a Chinese/Japanese/Korean language IME)?

No.

I just hit this yesterday, and although we don't have exact repro steps yet, we're trying to figure out anything that could be useful.
See also:

microsoft/PowerToys#4360
microsoft/PowerToys#3833
microsoft/PowerToys#3250
microsoft/PowerToys#3090
(this list is not comprehensive)

If you're experiencing this, and you can interact with the PowerToys settings app (you might need to drag it to another monitor), then

can you fix the issue by disabling "Shortcut Guide" in PowerToys?

Yup.  That did the trick.  I use Mouse in Windows Terminal for selecting text in PS several hundred times a day, so this is a good workaround for me.  Thank you!

Just happened to me.

Are you using the Terminal on a high DPI display?

No, but the resolution is 2560x1080

Similarly, are you using the Terminal on your primary display?

Yes

If so, and if possible, does dragging the window to another display magically restore mouse functionality to the Terminal?

I can't test unfortunately

Does the PowerToys settings app similarly not respond to mouse input?

Yes, it doesn't respond to mouse input

Do you have the Shortcut Guide enabled in PowerToys?

Yes

If so, does it actually work if you long press Win?

No, it doesn't

By any chance, did you recently uninstall any sort of IME (like a Chinese/Japanese/Korean language IME)?

No

Oh my goodness, would you look at that. There's also #3325 which is another (much older) thread about this exact same issue. Maybe we should close this thread and link the two up?

For me, dragging to a second monitor fixes it but it's still broken on the primary monitor when I drag it back. Turning off the powertoys shortcut guide re-enabled mouse again for me in the broken terminal.

You know what, I'm just gonna close this in favor of #3325, to try and keep the discussion in one place. Thanks!

You know what, I'm just gonna close this in favor of #3325, to try and keep the discussion in one place. Thanks!

I just discovered the same issue. I am running fancy zones. If I use the windows key shortcut to move the terminal to a different location the mouse works. If I use the shortcut to move it back the mouse stops working.

Did anyone got a resolution to this? I do not have Powertoys installed. Never had. Killing the process won't help. Dragging to another screen won't help. No high res. Nothing fancy here except for oh-my-posh.


Add options to disable tripwire hook and leave decay updates

This pr adds config option to disable both things.

I pr on the docs when this is approved

The action fails, because the pufferfish patch did smith bad. Running ./gradlew applyPatches works fine and ./gradlew runDev works also without any errors

The action fails, because the pufferfish/some random patch before it patch did smth bad. Running ./gradlew applyPatches works fine and ./gradlew runDev works also without any errors

should be fine once you merge changes from ver/1.19.4

any updates? this pull request will be closed if it continues to be stale

Yeah sorry granny, I need to be reminded that sth like this exits bc I forgot about it. Ill fix it tomorrow


refac: Simplify fancy logic test code

Description

Pull-request quality

[x] The title adheres to this guide
[x] Tests are written and executed locally
[ ] Subsystem tests have been tested (by manually deploying to dev_002)
[ ] Documentation has been updated
[ ] The integration event catalog has been updated
[ ] C4 diagrams have been updated and Team Outlaws has been informed about relevant changes

Deemed to not be an improvement.


Error: write EPIPE

Trying to narrow down why I'm seeing this error:
Error: write EPIPE
    at process.target._send (internal/child_process.js:812:20)
    at process.target.send (internal/child_process.js:683:19)
    at Object.exports.send (/Users/x/IdeaProjects/asdf/node_modules/ts-node-dev/lib/ipc.js:14:23)
    at /Users/x/IdeaProjects/asdf/node_modules/ts-node-dev/lib/wrap.js:61:7
    at Object.nodeDevHook [as .js] (/Users/x/IdeaProjects/asdf/node_modules/ts-node-dev/lib/hook.js:58:27)
    at Module.load (internal/modules/cjs/loader.js:983:32)
    at Function.Module._load (internal/modules/cjs/loader.js:891:14)
    at Module.require (internal/modules/cjs/loader.js:1023:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/x/IdeaProjects/asdf/node_modules/micromatch/lib/compilers.js:4:15)
Child got SIGTERM, exiting.

It seems like it is coming directly from ts-node-dev.
I've seen a handful of different root causes, and my current theory is they seem to happen when the app is starting up, but detects a change:
Example 2:     at Object.<anonymous> (/Users/x/IdeaProjects/asdf/node_modules/graphql/type/definition.js:57:40)
Example 3:     at Object.<anonymous> (/Users/asdf/IdeaProjects/x/node_modules/rxdb/dist/lib/plugins/encryption.js:16:41)

In my case I had a running instance in the background - killed my node processes and the error went away. Hope it helps!

I have the same issue when application is already restarting and a file is modified at the same time.

any idea on how to fix this? i think @matiaschileno is right about how this happens

I couldn't reproduce this in tests. You may try to add test that reproduce the issue.

I just experienced this as well, and I think it's the same scenario as @matiaschileno

+1 encountering this due to saving files multiple times while app is still restarting

+1

I can also reproduce this if the node process crashed and a file changed.
Basically I'm testing uncaught promises in my app. When it happens, node crashes, but ts-node-dev does not report it. And if I edit a file, I have the EPIPE error in an infinite loop.