fix(vue-app): multiple named views cause invalid syntax

Fixes #5096

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Reset resMap to an empty string before building the list of components
Add another.vue which fails the build if the bug is present (as the
resulting .nuxt/router.js will contain a syntax error)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[x] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Just faced this issue from the morning, trying to find solution and came across this PR. Simple and working solution, working as expected. Great work! 👏
I can't believe that named views was released in stable with such a bug 👀

Just faced this issue from the morning, trying to find a solution and just came across this PR. Simple solution, working as expected 👏
I can't believe that named views was released in stable with such a bug 👀
As you changed "test/fixtures/named-views/nuxt.config.js" file using filter method on routes will remove those which not satisfy routes in passed function, what will break autogenerated router configuration. Am I wrong? Correct me if so

Codecov Report

Merging #5262 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #5262   +/-   ##
=======================================
  Coverage   95.95%   95.95%
=======================================
  Files          74       74
  Lines        2499     2499
  Branches      634      634
=======================================
  Hits         2398     2398
  Misses         85       85
  Partials       16       16

Continue to review full report at Codecov.

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

@robertpiosik

Faced this issue till the morning, trying to find out a solution and just came across this PR. Simple solution, working as expected :clap:

Thank you for confirming this fixes the issue!

I can't believe that named views was released in stable with such a bug :eyes:

These things happen!

As you changed "test/fixtures/named-views/nuxt.config.js" file; used filter method on routes will remove those which not satisfy ones in passed function, what breaks autogenerated router configuration. Am I wrong? Correct me if so

I believe you can return a new array from extendRoutes that will replace the routes, but in this case we only modify some of the objects in the array. filter itself does not mutate the array, so it will not drop any routes.

@manniL thank you for your review, I have addressed the feedback

https://github.com/nuxt/nuxt.js/issues/5096#issuecomment-474257336 <- :thinking:

@manniL I have looked at that comment, I believe there was some confusion as to how to test it. He has checked out my dev branch of nuxt which is very much out-of-date. I'm clearing up the instructions for him on how to test it.


unit tests for serializer

Updated unit tests for serializers, deserializer still work in progress

@robrap We probably should document the current need to manually import all new signal files into the test file to make sure they go through the test, but I'm not really sure where to add that. Thoughts?

@rgraber: Is this still true? Is there any way around this?

I approved, but would like @robrap 's eyes as well


added design token types

Issue related: #111
Please find some examples inputted to represent the values. Also, let me know if it is the correct implementation of colour types. So, I will add more design tokens to this pull request before merging it into the final project.
Examples of design tokens:
"Majestic magenta": {
      "value": "#ff00ff",
      "type": "color"
    },
    "Translucent shadow": {
      "value": "#00000088",
      "type": "color"
    },

i know you wanted to contribute here, but while i intended to just make a branch showing the essentials of what you needed to solve this task, it was pretty much done. i've put the pr here, sorry for solving this!..


[INTEGRATION][SPARK] Implement dataset builders for alter table commands

Spark 3.2.1 introduced new alter table commands. In order to collect this information, new dataset builders need to be created.
https://github.com/apache/spark/blob/v3.2.1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2AlterTableCommands.scala

Can we do it without introducing separate Spark 3.2 tree? Just with hasClasses?

hi, please assign this to me.


Add small change to see if CI is working

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.8%) to 97.5%

Totals

Change from base Build<PHONE_NUMBER>:
3.8%

Covered Lines:
39

Relevant Lines:
40

💛  - Coveralls


Adapt Base Searcher for MO

Description of changes:
Adapts the BaseSearcher for multi-objective optimizers. Replaces #530
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I'll check the docs and, if necessary, send another PR.


Error installing with npm on Widnows

I already shared my issue on stack overflow => https://stackoverflow.com/q/68469132/13938752
I can't seem to install the package. I have the vs build tools and python with the latest version of node and npm and still couldn't seem to figure out the problem.

Just had to run this npm config set msvs_version 2019


360 add json support

This adds FluentAssertions.Json depending on Newtonsoft.Json 6+ with support for net45, dotnet & pcl

Awesome work!
Some remarks:

FA currently directly supports .NET 4.0. You could switch your PCL to support 4.5 and use the explicit project to target 4.0 (not 4.0.3)
It would make me very happy if you could use the same focused style for the unit tests as I do, e.g. the explicit arrange/act/assert sections and a single assertion per test.
The final PR still can be squashed to a single commit

https://github.com/dennisdoomen/FluentAssertions/pull/375#issuecomment-197168711

net4: I copied settings from existing project (Core.Pcl). Moving net45 into the pcl project would allow us to squash 3 projects down to 2 projects, right? Great!

AAA-style & single commit: Ok.

I copied settings from existing project (Core.Pcl). Moving net45 into the pcl project would allow us to squash 3 projects down to 2 projects, right? Great!

No, we still need to support .NET 4.0.

No, we still need to support .NET 4.0.

Ok then. I will add a net4 project.

Ok then. I will add a net4 project.

I think you don't need a separate .NET 4.5 project. You're PCL can target that for you.

I think you don't need a separate .NET 4.5 project. You're PCL can target that for you.
Probably yes. I cross-checked how AutoFac and Newtonsoft.Json handle this.
Autofac provides

net40
portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1
When consuming from a net45-project the net40 gets referenced (hmm).

Newtonsoft.Json provides

net20, net30, net35, net40, net45
portable-net40+sl5+wp80+win8+wpa81
portable-net45+wp80+win8+wpa81+dnxcore50
When consuming from a net45-project the net45 gets referenced (ok).

For now let's keep it.

Ok then. If you are fine with the code i will clean up & squash the commits now.

I realized that the ObjectDiffPatch-code caused a serious drop in test coverage. My tests only covered about 65% of it. Whereas the other json-assertions-code is 100% covered.
I removed the uneeded Patch-code (we only need the Diff part) hoping to raise coverage. But there remained some untested code paths regarding edge cases like array handling etc. which were cumbersome to test.
So i decided to add the tests from the original repo instead, taking the (unused) Patch code back in. No we have 95.48% coverage on ObjectDiffPatch and 96.56% total coverage on the Json code.
Why not use the original source package? Well, the source needs modification anyway because the source class is public but we don't want it to leak out into the public API.
If this is Ok for you, i will now squash commits

What about documentation?

Ok then. I will add a net4 project.

I think you don't need a separate .NET 4.5 project. You're PCL can target that for you.

I did a small test project to see how the NuGet package would be consumed. It targets net45 but when adding the dependency NuGet will add the net40-version. Did i miss something? If this is the way it is, i will rather add back the net45-project back.

So i decided to add the tests from the original repo instead, taking the (unused) Patch code back in

Not entirely happy with those tests, but we can always refactor that later on.

What about documentation?

If you can, please add them to this PR. I'll copy the documentation when this is released.

I did a small test project to see how the NuGet package would be consumed. It targets net45 but when adding the dependency NuGet will add the net40-version. I will rather add back the net45-project.

Hmm, that's weird indeed.

I will do some more testing to verify consuming the package results i a good first experience.
The API should span a broad range of versions, i.e. Newtonsoft.Json [6,8). Turns out i forgot to set SpecificVersion=false which may result in CS1705.

Sidenote: Just tested a portable lib consuming the package and containing tests.
As documented & expected, NCrunch & ReSharper do not support running NUnit tests within PCL.
But XUnit works flawlessly. Cool!

What about documentation?

If you can, please add them to this PR. I'll copy the documentation when this is released.

Documentation already added within Xml-Docs. Any markdown/wiki i could add?

Documentation already added within Xml-Docs. Any markdown/wiki i could add?

I meant something I can paste into the wiki.

Thanks. I'll merge this one manually so that I can rebase it on master.

Here is some documentation for the wiki
## JSON classes ##

The package `FluentAssertions.Json` supports assertions on the [LINQ-to-JSON](http://www.newtonsoft.com/json/help/html/LINQtoJSON.htm) classes of `Newtonsoft.Json`, i.e. everything that inherits [JToken](http://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_Linq_JToken.htm).

Here are some examples:

```csharp
var jToken = JToken.Parse("{'id':42}");
jToken.Should().HaveElement("id");
jToken["id"].Should().HaveValue("42");
```

You can also perform a deep comparison between two elements like this:

```csharp
jObject.Should().BeEquivalentTo(JObject.Parse("{'configuration':{'item':'value'}}"));
```

I wanted to help you and already rebased on current master. Please review

Continued through #391.


Akash node fails to start

hello Tom,
It seems there's an issue with the default Akash Node SDL or image.
Whichever provider I choose the deployment fails to start with error logs:
[node]: parse error: Invalid numeric literal at line 1, column 10
Tested on multiple providers always the same outcome,
To reproduce all that's required is to deploy the default SDL on any provider.
Let me know if you need anything further!
thank you!

BTW - it is not just the AKASH node that fails. We tried using the COMDEX Node and SENTINEL node and they all fail with the same error. In addition, we tried using the docker compose file and running locally, same result.

Hey @shimpa1 @ourlink this is due to the changes to Polkachu's API (#651). It will be fixed ASAP, but in the meantime you can remove P2P_POLKACHU and STATESYNC_POLKACHU env vars to avoid the error

Okay great! I'll give that a try.

thank you!


docs(cloud_firestore_odm): details supported data types

Also include various small improvements to defining-models.md.
Description
While useful information can be found in the discussion linked in doc, I added the bits I would have loved to find directly in the doc when I take interest in Cloud Firestore ODM. Especially data type support.
Related Issues
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

@rrousselGit git history indicate you might be the right person to review this. If you want me to modify or remove part of it, don't hesitate.

LGTM!


sensor: dht: fix code stlying

fix indent, change space to tab
Signed-off-by: Parthiban Nallathambi<EMAIL_ADDRESS>

Ping!


Creating features and related media document from geo-tagged photo

Some time ago we had a discussion with the Nunaliit team about creating a feature that would recognize when an uploaded photo is geo-tagged and then create an associated map feature (i.e. document with geometry) that could be visualized on a map.  I am wondering if this feature has already been implemented?  If not, then perhaps this issue can be used to discuss how this might happen and the resources required to develop this functionality.

When a multi-media file is uploaded to a document, the media file is searched for EXIF data. If EXIF data is present, then the key-value pairs are extract from it and stored in the attachment descriptor (nunaliit_attachments). If the EXIF data contains long/lat information and the associated document does not have a geometry associated with it (nunaliit_geom), then a Point associated with the long/lat is created and saved in the nunaliit_geom attribute.
I believe that this meets your request. If you have problems making it work, please let me know.

This sounds like it was resolved.


routerclient: expand InterceptHtlc func

This PR expands the InterceptHtlc func by adding the two remaining fields CustomRecords and OnionBlob to the InterceptedHtlc struct

These fields are already available in lnd v0.16.x, right? Then this should go into the master branch (and we rebase and tag the other branches).

This PR is relevant for https://github.com/lightninglabs/taproot-assets/issues/778 . I'm keen to see this land. Thanks @sputn1ck !


Mjolnir + Apotheosis Reforging = Bricked World or Crash

so I am not sure if this should be reported Apotheosis side, or MythicBotany side, but I'll do both just incase.
When using MythicBotany-1.19.2-3.0.2 and Apotheosis-1.19.2-6.4.0.jar -- attempting to Reforge Mjolnir to anything (the crash logs use dust + godforged gem in the reforger) causes a crash when attempting to hover over the "results" portion of the Reforging Table.
Am able to reproduce this consistently, and it seems like it may be any affix attempted to be added to Mjolnir causes this problem.
If you happen to get a Mjolnir that also happens to roll an Apotheosis state, your world becomes bricked unless you know how to edit NBT data to remove the item from the data file. This happened to a player who is playing my Modpack.
crash-2023-10-30_18.15.50-client.txt
crash-2023-10-31_06.44.27-client.txt
Also reported on Apotheosis Discord:
https://discord.com/channels/613010559532531713/613013428621017089/1168917304239730790

Seems to be a duplicate of #122. #122 was closed because the referenced issue (https://github.com/Shadows-of-Fire/Apotheosis/issues/929) was said to be fixed in 1.19. Therefore I am going to reopen #122 and close this one.


Setupdiag

Hello,
I am currently testing setupdiag to solve the upgrade problem. I simulated a full disk, and the upgrade failed. I launched Setupdiag and he finds the logs well. But he cannot detect this basic problem.
Is there another step i missed?
SetupDiag was unable to match to any known failure signatures.
System Information:
Machine Name = xxx
Manufacturer = HP
Model = HP ZBook 17 G3
HostOSArchitecture = x64
FirmwareType = UEFI
BiosReleaseDate =<PHONE_NUMBER>0000.000000+000
BiosVendor = N81 Ver. 01.23
BiosVersion = N81 Ver. 01.23
HostOSVersion = 10.0.15063
HostOSBuildString = 15063.0.amd64fre.rs2_release.170317-1834
TargetOSBuildString = 10.0.17134.1 (rs4_release.180410-1804)
HostOSLanguageId = 1036
HostOSEdition = Professional
RegisteredAV = Symantec Endpoint Protection,Symantec Endpoint Protection,
FilterDrivers =
UpgradeStartTime = 14/01/2019 17:24:11
UpgradeEndTime = 14/01/2019 17:26:10
UpgradeElapsedTime = 00:01:59
error in setupact.log:
2019-01-14 17:26:10, Info                  MOUPG  SetupNotify::Remapping disk full error [0x80070070] -> [0xC19001DF]
2019-01-14 17:26:10, Info                  MOUPG  SetupNotify::Leaving well-known error [0xC19001DF] as-is for WU/Store
2019-01-14 17:26:10, Info                  MOUPG  SetupHost: Reporting error event -> [0x80070070, 0xC19001DF]

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

ID: 5ad81361-15d8-0e95-9d5f-090dbf270f10
Version Independent ID: c0c32397-d5d6-cce1-79fd-c310bec05240
Content: SetupDiag
Content Source: windows/deployment/upgrade/setupdiag.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Looking at the log entry, looks like your hard drive is full and you need more free space. I recommend you having at least 10GB and then try the upgrade to 1803 again.

thank you, but, that's not the problem. I simulated a disk full during the upgrade in place to test the setupdiag software. it has not detected the problem.

So are you wanting the SetupDiag tool to identify the error for you? Cause I know not all errors will show up and the event log entry and the setuperror.log are to good resources. And for the Zbook 17 series I know if you are using the later driver pack, a outdated driver always cause some upgrade issues for some reason.
Very Respectfully,
Drew Davis
Please ignore my incorrect spelling and grammar, via my phone
~ Get Outlook for Androidhttps://aka.ms/ghei36

From: rranivoson<EMAIL_ADDRESS>Sent: Wednesday, February 20, 2019 10:45:38 AM
To: MicrosoftDocs/windows-itpro-docs
Cc: Drew Davis; Comment
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Setupdiag (#2484)
thank you, but, that's not the problem. I simulated a disk full during the upgrade in place to test the setupdiag software. it has not detected the problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fissues%2F2484%23issuecomment-465632416&data=02|01||f92d48aa4dea4fe7ff0c08d6974a774a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862743411333447&sdata=8jK%2B5y2xfuTYauDz1h%2FVdVvCxCws4lMmklqrN3kaS10%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARXDARIUOjMFtfS9AUik1jD1Ywnb52Ddks5vPW2igaJpZM4Z_MAg&data=02|01||f92d48aa4dea4fe7ff0c08d6974a774a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862743411343458&sdata=7As6PohMxOBgEUBcTL7UMveS1XFR%2BixV172KtAzWP%2FQ%3D&reserved=0.

i need to integrate it in my task sequence because i have 12000 pcs to upgrade . There are 53 errors that it can detect and report. disk full is one of this. I need this tool to report correctly at least these errors.
thank you.
i'm not good in english, so...

Gotcha. I use the 'Check Readiness Upgrade' part of the task sequence template. That way, it catches it before the upgrade event starts.
Very Respectfully,
Drew Davis
Please ignore my incorrect spelling and grammar, via my phone
~ Get Outlook for Androidhttps://aka.ms/ghei36

From: rranivoson<EMAIL_ADDRESS>Sent: Wednesday, February 20, 2019 12:51:59 PM
To: MicrosoftDocs/windows-itpro-docs
Cc: Drew Davis; Comment
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Setupdiag (#2484)
i need to integrate it in my task sequence because i have 12000 pcs to upgrade . There are 53 errors that it can detect and report. disk full is one of this. I need this tool to report correctly at least these errors.
thank you.
i'm not good in english, so...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fissues%2F2484%23issuecomment-465685452&data=02|01||cca5cb236d8746ec93e608d6975c1e36|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862819223403293&sdata=z%2FpaS%2F%2FKpqQ1uuhUkIv6b1jQ99OPILkkDGlw9KYGZp8%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARXDARcAXq3fvhlIRCgr15tAHcCEoG9kks5vPYs-gaJpZM4Z_MAg&data=02|01||cca5cb236d8746ec93e608d6975c1e36|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862819223413305&sdata=s5JJiA8UZ8ORfUKqeezwz3%2Biyg1o4QefSbPqA0RwN%2BQ%3D&reserved=0.

I know, but the problem is: Why setupdiag didn't report this simple error ? can i rely on it ?

I understand. I can tell you I went through two upgrades without even using the SetupDiag tool. I'm so use to just looking at the error that was reported in the windows event log or going by what SCCM client reported back; I guess I don't heavily rely on that tool since I already know the common error codes and what they are related too. I do know the SetupDiag tool has been improving.
Very Respectfully,
Drew Davis
Please ignore my incorrect spelling and grammar, via my phone
~ Get Outlook for Androidhttps://aka.ms/ghei36

From: rranivoson<EMAIL_ADDRESS>Sent: Wednesday, February 20, 2019 3:23:43 PM
To: MicrosoftDocs/windows-itpro-docs
Cc: Drew Davis; Comment
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Setupdiag (#2484)
I know, but the problem is: Why setupdiag didn't report this simple error ? can i rely on it ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fissues%2F2484%23issuecomment-465739736&data=02|01||ac3c4e11d4234c00ab8208d6977150a9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862910264831505&sdata=gcMRFfCLb6ADvH%2FPcCbKd%2B9Lrd7PGFELBxo4w%2BOMYww%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARXDAeAwrxS7Ruyt-mGQRj8EVGT2ICNMks5vPa7PgaJpZM4Z_MAg&data=02|01||ac3c4e11d4234c00ab8208d6977150a9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636862910264841516&sdata=3RxDgzrMAuCnIGfHWi%2FsrFKlJuK60reioc%2BG06xzkmM%3D&reserved=0.

While I can certainly update SetupDiag with a  rule to catch this particular issue.  The reason it didn’t is because you’ve bypassed the standard compatibility checks that would have prevented you from upgrading in the first place (due to disk space issues) by specifying the /quiet command line parameter.  SetupDiag would have caught the compatibility disk space block and reported that as the issue, had you not specified the /quiet switch.  I’ll look into adding a generic catch all rule around early down-level failures like this one for v1.5 though.
-Thanks for reporting this!

@officedocsbot assign @mypil

@rranivoson, Tomorrow i give correct commands to get all details.

@rranivoson as far as i can see, @ScottHendrix-MSFT already provided an explanation as to why this has happened and also mentioned that he will address this in a future version (which is already out).
I would advise you to test this again (with and without the /quiet switch)

Pick up the new 1.5 release of SetupDiag, I've added a rule to catch this type of failure.

Thank you, i'll test it.


Create 2020-07-27-lineage-tracking.ipynb

Please let me know any changes or suggestion

/preview

This PR closes #5106

@Swikar Looks like you did not test your notebook locally before submitting it to this PR

Conversion .ipynb to posts fails

Conversion .ipynb to posts fails

Did you try to debug it?  What steps did you try to use to debug this


Use IAM Policy Validation API

IAM has an API to do policy validation.  While this API takes credentials the benefit of its results may be beneficial.
https://aws.amazon.com/blogs/aws/iam-access-analyzer-update-policy-validation/

related issues:
https://github.com/aws-cloudformation/cfn-python-lint/issues/1117
https://github.com/aws-cloudformation/cfn-python-lint/issues/1940


Add attention masking to Apply Flux Controlnet

The current Controlnet Models for Flux have a tendency to destroy the background, it would be great to have an option to apply a mask so that the background can be generated by flux without constraint.
Kosinkadink/ComfyUI-Advanced-ControlNet implements this mask feature but I can't get it to work with Flux

I am having the same issue, and I also tried Kosinkadink/ComfyUI-Advanced-ControlNet. It works great for SDXL, it also works with FLUX, but without mask_optional specified. Would be great to have such an option available here!


added graphing 2d equations example

Fixes #952
Added Graphing 2D Equations example to http://p5js.org/examples from https://processing.org/examples/
https://editor.p5js.org/radium.scientist/full/t7snmm5qy

@two-ticks Looks good so far. Are you thinking about adding KaTeX equation formatting at this point or is this ready to merged?

It is producing same result as processing.org so for now we can consider it to be ready for merge.

We can open separate issue for KaTeX equation formatting because other examples such as Sine Cosine also require KaTeX equation formatting.

updated es6 in all three files

looks great, thanks!


default reject html file

Dear author, I'm very thankful for the plugin you made, but reminding ipfilter plugin for caddyv1 I want to ask you to make some (small?:) changes to your plugin - to add default html file that is used to show to rejected countries, like
"reject_file": ["getlost.html"]
I use zero time refresh to google, for example.
Thanks in advance !
-t

Hello @nmr50 ,
thanks for reaching out, and I'm really happy to hear that this plugin suits your needings :)
About your request, this is not how Caddy2 matchers are intended to work. For them to be clean, they should just match something, and not take decisions/do something based on the match result.
The right way to do this in Caddy2 is to define different handlers based on the matchers. Below is an example that should work for your case.
It's probably not the cleanest way to write it, the @wrongcountry declaration could probably be just a negation of @mygeofilter instead of reverse re-declaring the entire matcher... But I didn't quickly find the right syntax so I let this up to you :) however, it just works, assuming you have your website in /var/www/html and the page you want to display as fallback in /var/www/fallback/wrong-country.html:
test.example.org {
  @mygeofilter {
    maxmind_geolocation {
      db_path "/usr/share/GeoIP/GeoLite2-Country.mmdb"
      allow_countries IT FR
    }
  }

  @wrongcountry {
    maxmind_geolocation {
      db_path "/usr/share/GeoIP/GeoLite2-Country.mmdb"
      deny_countries IT FR
    }
  }

   file_server @mygeofilter {
     root /var/www/html
   }

   file_server @wrongcountry {
     root /var/www/fallback
   }
   rewrite @wrongcountry /wrong-country.html
}

Please let me know if this solves the issue 👍
Thanks again!

Hello @nmr50 ,
thanks for reaching out, and I'm really happy to hear that this plugin suits your needings :)
About your request, this is not how Caddy2 matchers are intended to work. For them to be clean, they should just match something, and not take decisions/do something based on the match result.
The right way to do this in Caddy2 is to define different handlers based on the matchers. Below is an example that should work for your case.
It's probably not the cleanest way to write it, the @wrongcountry declaration could probably be just a negation of @mygeofilter instead of reverse re-declaring the entire matcher... But I didn't quickly find the right syntax so I let this up to you :) however, it just works, assuming you have your website in /var/www/html and the page you want to display as fallback in /var/www/fallback/wrong-country.html:
test.example.org {
  @mygeofilter {
    maxmind_geolocation {
      db_path "/usr/share/GeoIP/GeoLite2-Country.mmdb"
      allow_countries IT FR
    }
  }

  @wrongcountry {
    maxmind_geolocation {
      db_path "/usr/share/GeoIP/GeoLite2-Country.mmdb"
      deny_countries IT FR
    }
  }

   file_server @mygeofilter {
     root /var/www/html
   }

   file_server @wrongcountry {
     root /var/www/fallback
   }
   rewrite @wrongcountry /wrong-country.html
}

Please let me know if this solves the issue 👍
Thanks again!

Hello Ale - someone's already told me to do that:
root * /home/tmh/caddy/web
    @blocked1 not maxmind_geolocation {
            db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
            allow_countries RU IL FR
    }
    rewrite @blocked1 def.html

-- but problem that I see when I connect to my web server from NOT LISTED countries above - I see 404 error - page not found - instead of performing def.html:

cat def.html

So - that is why I ask you to add reject html file as variable, if its possible, of course :)
Thanks in advance !

Hello Ale - someone's already told me to do that:
root * /home/tmh/caddy/web
    @blocked1 not maxmind_geolocation {
            db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
            allow_countries RU IL FR
    }
    rewrite @blocked1 def.html

-- but problem that I see when I connect to my web server from NOT LISTED countries above - I see 404 error - page not found - instead of performing def.html:

cat def.html

So - that is why I ask you to add reject html file as variable, if its possible, of course :)
Thanks in advance !

Hello @nmr50 ,
can you post the entire config file (obfuscating the actual domain name, if you want) so that I can give it a try?
With the configuration I posted you as example, everything works as you expect:

the actual website in /var/www/html is displayed for Italy and French
the content of /var/www/fallback/wrong-country.html is displayed to all the other ones, whichever path they call

Isn't this what you're looking for?

Hello @nmr50 ,
can you post the entire config file (obfuscating the actual domain name, if you want) so that I can give it a try?
With the configuration I posted you as example, everything works as you expect:

the actual website in /var/www/html is displayed for Italy and French
the content of /var/www/fallback/wrong-country.html is displayed to all the other ones, whichever path they call

Isn't this what you're looking for?

OK, here I go:
https://v4.site, https://v6.site {
        log {
                output file access.log
        }

        root * /home/tmh/caddy/web

        @blocked1 not maxmind_geolocation {
                db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
                allow_countries RU IL FR
        }
        rewrite @blocked1 def.html

        @blocked2 {
                path /private/one*
                not maxmind_geolocation {
                db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
                allow_countries RU IL
                }
        }
        rewrite @blocked2 def.html

        file_server
}

Yes, I am looking the same rule as you said - allow_countries RU IL FR - show content to them - OTHER countries are redirected to def.html (with redirect to google.com), yet seconds rule is more secured - allow_countries RU IL, and - again - OTHER countries are redirected to def.html.
I just thought that variable with denial web page file will be more useful - like - reject_html_file "def.html" - in the same section where allow_countries or deny_countries are located.
What d'ya think ?:)

OK, here I go:
https://v4.site, https://v6.site {
        log {
                output file access.log
        }

        root * /home/tmh/caddy/web

        @blocked1 not maxmind_geolocation {
                db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
                allow_countries RU IL FR
        }
        rewrite @blocked1 def.html

        @blocked2 {
                path /private/one*
                not maxmind_geolocation {
                db_path "/home/tmh/caddy/geolite/GeoLite2-Country.mmdb"
                allow_countries RU IL
                }
        }
        rewrite @blocked2 def.html

        file_server
}

Yes, I am looking the same rule as you said - allow_countries RU IL FR - show content to them - OTHER countries are redirected to def.html (with redirect to google.com), yet seconds rule is more secured - allow_countries RU IL, and - again - OTHER countries are redirected to def.html.
I just thought that variable with denial web page file will be more useful - like - reject_html_file "def.html" - in the same section where allow_countries or deny_countries are located.
What d'ya think ?:)

The problem with the approach of the denial web page is that it would break other things, for example a more complex chain of matchers. Just imagine that a matcher is evaluated with some other ones to determine if the user can access or not a specific resource; the fact that just that single one doesn't match would immediately block the chain and return the page, that is not how matchers are intended to work.
If I got it right, what you want is that users from RU, IL and FR can access the website, but only users from RU and IL can access the private paths. Is it right?

The problem with the approach of the denial web page is that it would break other things, for example a more complex chain of matchers. Just imagine that a matcher is evaluated with some other ones to determine if the user can access or not a specific resource; the fact that just that single one doesn't match would immediately block the chain and return the page, that is not how matchers are intended to work.
If I got it right, what you want is that users from RU, IL and FR can access the website, but only users from RU and IL can access the private paths. Is it right?

Sorry, man, I'm not into coding and I don't understand those matches, chain things in v2 config :[

If I got it right, what you want is that users from RU, IL and FR can access the website, but only users from RU and IL can access the private paths. Is it right?
Yes, while RU, IL and FR have access to whole website, only RU and IL countries are permitted to access private part of the site, others are (supposed to be) redirected to def.html.

btw, I asked many ppl - all of them pointed me to examine caddy v2 manual, but I DO NOT GET how to change this log output:
2021/01/27 15:49:23.699 error   http.log.access.log0    handled request {"request": {"remote_addr": "<IP_ADDRESS>:43808", "proto": "HTTP/1.1", "method": "GET", "host": "mysite", "uri": "/robots.txt", "headers": {"Accept": [
TO
2021.01.27 15:49.23 ip.ip.ip.ip path result code
CAN YOU - PLEASE - tell me how to change first raw log output to second nice one - on the second line ?
BIG THANKS in advance! :)

Sorry, man, I'm not into coding and I don't understand those matches, chain things in v2 config :[

If I got it right, what you want is that users from RU, IL and FR can access the website, but only users from RU and IL can access the private paths. Is it right?
Yes, while RU, IL and FR have access to whole website, only RU and IL countries are permitted to access private part of the site, others are (supposed to be) redirected to def.html.

btw, I asked many ppl - all of them pointed me to examine caddy v2 manual, but I DO NOT GET how to change this log output:
2021/01/27 15:49:23.699 error   http.log.access.log0    handled request {"request": {"remote_addr": "<IP_ADDRESS>:43808", "proto": "HTTP/1.1", "method": "GET", "host": "mysite", "uri": "/robots.txt", "headers": {"Accept": [
TO
2021.01.27 15:49.23 ip.ip.ip.ip path result code
CAN YOU - PLEASE - tell me how to change first raw log output to second nice one - on the second line ?
BIG THANKS in advance! :)

Hello again ! Tell me please - any updates on 1st question, or 2nd with logfile format ?:) Thanks in advance !

OK, Sorry for some mess with logfile format - can we return to the main topic - why Caddy just gives out '404' (no page available) instead of redirecting unwanted country users to def.html where refresh to google.com is located ?
Thank in advance !!!

Hello Ale-Rinaldi! I did solve (unrelated) topic about logfile format, sorries - and
I still need help about rejecting unwanted countries' users with defined html file - and this is NOT happening !
Tell me, please, do you have an IRC account/session on networks like IRC.LIBERA.CHAT or IRC.FREENODE.NET IRC networks ?
If YES - it will be much better to have conversaion in real time, when you'll have a free time of course !
I'll be waiting for your reply,
Thanks in advnce !
-t


crossTarget should be "scala-${scalaVersion}" when CrossVersion.full

steps
sbt version: 1.3.0
 > show scalaVersion
[info] 2.12.8
 > show crossTarget
[info] /Users/kenji/some-project/target/scala-2.12
 > set crossVersion := CrossVersion.full
 > show crossTarget
[info] /Users/kenji/some-project/target/scala-2.12

problem
crossTarget is target/scala-2.12 when crossVersion := CrossVersion.full
expectation
crossTarget should be target/scala-2.12.8 when crossVersion := CrossVersion.full 🤔
I think these should not share any *.class file caches.
notes

https://github.com/sbt/sbt/blob/v1.3.0/main/src/main/scala/sbt/Defaults.scala#L483-L489
https://github.com/sbt/sbt/blob/v1.3.0/main/src/main/scala/sbt/Defaults.scala#L536-L539

workaround
  crossTarget := {
    target.value / s"scala-${scalaVersion.value}"
  }

If scalaBinaryVersion is supposed to denote the binary compatibility, in theory, that setting should also be changed but it's probably too late for that. I am fine with just changing crossTarget or any other things of this nature.

@eed3si9n with the crossTarget workaround and a simple project like:
lazy val root = (project in file(".")).settings(
  inThisBuild(
    List(
      organization := "com.example",
      scalaVersion := "2.12.10"
    )
  ),
  name := "scalatest-example",
  crossTarget := target.value / s"scala-${scalaVersion.value}",
  crossVersion := CrossVersion.full,
  crossScalaVersions := Seq("2.12.9", "2.12.10")
)

when doing:
++2.12.9
compile
++2.12.10
compile

The second compile will remove the classes under 2.12.9 directory. Any idea how to solve that? It causes a lot of additional recompiles.

The second compile will remove the classes under 2.12.9 directory. Any idea how to solve that? It causes a lot of additional recompiles.

We want all of them to recompile if Scala version changes (I think), so it's working as designed.

@eed3si9n  Shouldn't it be the same situation as with different binary versions?
If I change to 2.11.12, recompile, change back to 2.12.10, not recompilation is done.
However, if I change to 2.12.9 and back, the code is always compiled.
The target directories are totally separate, so what would be the reason to remove one belonging to a different Scala version? The only common thing here is the input source files, the same as with different binary versions.

The second compile will remove the classes under 2.12.9 directory. Any idea how to solve that? It causes a lot of additional recompiles.

@tgodzik Sorry I didn't read your description carefully earlier. I agree that we need to improve the behavior around transaction class manager, assuming that's doing the deletion.

@eed3si9n I can try to have this fixed if you point me at the direction? :smiley:

The classfile manager code is here -
https://github.com/sbt/sbt/blob/v1.3.8/main/src/main/scala/sbt/Defaults.scala#L652-L665, which looks ok.
Maybe the culprit is the Analysis file name https://github.com/sbt/sbt/blob/v1.3.8/main/src/main/scala/sbt/Defaults.scala#L606-L614
you could try defining a scripted test scenario like https://github.com/sbt/sbt/tree/develop/sbt/src/sbt-test/actions/cross-incremental, and then maybe try changing the Analysis file name to include the full Scala version.

Thanks! Will try to look

@eed3si9n Sorry I haven't managed to take a look at it, but... It's fixed in 1.4.1! So I think we can close it :rainbow:

Some aspects of Zinc may have improved because of virutalization, but overall I think this bug still stands because it's about changing the crossTarget directory.

Right, but we do change crossTarget directory and it seems that the directories are no longer needlessly removed, so it does look like fixed. How else would this bug show up?

The original issue is that sbt should use target.value / s"scala-${scalaVersion.value}" out of box when cross is full?

In sbt 2.x target contains full Scala version, so we can probably call this done.


feat: e2e test for lnurl payment manual entry

Description
Add check in existing lnurl test that enters invoice in via the Manual Entry path whilst verifying boundaries.
Linked Issues/Tasks
Add any links to GitHub issues or Asana tasks that are relevant to this pull request.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (improving code without creating new functionality)

Tests

[x] Detox test
[ ] Unit test
[ ] No test

Screenshot / Video
none
QA Notes
none

Similar scenario is already covered by Lightning -> Receive and Send -> Can receive and send Ln payments.


OpenCV and Boost binaries for VS2015

I've precompiled the required Boost and OpenCV libraries for VS 2015, as they're not available yet on their homepages:
https://drive.google.com/folderview?id=0B2FFdHlMfJl_fmVDMFZsRUtYTmpWTjc1MFRkTF9Na2xKZE55el9IeVQ5dW9FMVNPN0xucTA&usp=sharing
They're compiled with SSE42 and I think AVX2 as well, so if you have an old CPU, you may run into trouble.
I'll keep this ticket open until VS2015 binaries are included in the Boost & OpenCV distributions.

I will close this, official binaries have been available for quite some time.


[docs]: New configuration reference

Related issue: #392
Checklist

[ ] Adapt old "Configuration and Management" articles to the new reference
[ ] Agree on the new configuration endpoints
[ ] Document configuration ISIs
[ ] Assign ENVs to parameters

@BAStos525, you can preview the migration guide (#481) on the deployment (Reference > Config > Migration): link


AttributeError: 'Settings' object has no attribute 'TOKEN'

Everything is specified in a screenshot, unless I'd answer ur questions

You are missing the environments=True argument.

You are missing the environments=True argument.

Thx, that doesn't work but I made something that actually works and I dunno how:D

Thx, that doesn't work but I made something that actually works and I dunno how:D


Investigate Routing

We want to have different routes for different sections of the app. For example, we want / to render the landing page, and /login to render the login page.
These routes can be "functional", in that they trigger a get request and load a new page, or they can be "cosmetic", in that they do not cause a page refresh or a new get request, but instead change what react is rendering to the client.
If we want functional routes, we probably need to create a new html file for login and make sure react is building a file at the path /client/build/login.
If we want a cosmetic route, we'll need to use a client side router like react-router.
We should investigate both options before committing.

@Ksalar Investigated react-router and consulted with Joe about it. We're moving forward with react-router.


🐛 [firebase_auth] authStateChanges returns null initial user on iOS

Bug report
Describe the bug
FirebaseAuth.instance.authStateChanges().first return null on firebase_auth version 1.1.2, it's working fine on version 1.1.1.
Steps to reproduce
Steps to reproduce the behavior:

Add dependency

firebase_core: ^1.1.0
firebase_auth: ^1.1.2

Flutter RUN or build release will got the same result.
the await FirebaseAuth.instance.authStateChanges().first return null.

Expected behavior
It's should return non-null FirebaseUser same as version 1.1.1.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.3 20E232 darwin-x64, locale en-KH)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
[✓] VS Code (version 1.55.2)
[✓] Connected device (3 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
❯ flutter pub deps -- --style=compact
Dart SDK 2.12.3
Flutter SDK 2.0.5
selfquarantine 2.40.9+174

dependencies:
- agora_rtc_engine 4.0.0-rc.3 [flutter flutter_web_plugins json_annotation]
- bloc 7.0.0 [meta]
- cached_network_image 3.0.0 [flutter flutter_cache_manager octo_image]
- cloud_firestore 1.0.7 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 1.0.5 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- cupertino_icons 1.0.2
- dio 4.0.0 [http_parser path]
- dropdown_search 0.5.0 [flutter]
- easy_localization 3.0.0 [flutter shared_preferences intl args path easy_logger flutter_localizations]
- equatable 2.0.0 [collection meta]
- firebase_analytics 8.0.2 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 1.1.2 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.0.2 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 6.1.2 [firebase_core flutter]
- firebase_messaging 9.1.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 8.0.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_background_geolocation 2.0.5 [flutter meta background_fetch]
- flutter_bloc 7.0.0 [flutter bloc provider]
- flutter_icons 1.1.0 [flutter]
- flutter_keyboard_visibility 5.0.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_screenutil 5.0.0-nullsafety.11 [flutter]
- flutter_sound_lite 8.1.1 [path_provider logger recase uuid provider flutter_spinkit path synchronized flutter flutter_sound_platform_interface flutter_sound_web]
- geolocator 7.0.3 [flutter geolocator_platform_interface geolocator_web]
- google_fonts 2.0.0 [flutter http path_provider crypto]
- google_maps_flutter 2.0.3 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- json_annotation 4.0.1
- just_audio 0.7.4 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter]
- libphonenumber 2.0.0 [flutter meta]
- location 4.1.1 [flutter location_platform_interface location_web meta]
- package_info 2.0.0 [flutter]
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- permission_handler 7.0.0 [flutter meta permission_handler_platform_interface]
- rxdart 0.26.0
- sentry 5.0.0 [http meta stack_trace uuid]
- shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- transparent_image 2.0.0
- url_launcher 6.0.3 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]
- uuid 3.0.4 [crypto]
- webview_flutter 2.0.4 [flutter]
- wechat_assets_picker 5.1.3 [flutter extended_image photo_manager provider video_player]
- wechat_camera_picker 2.1.1 [flutter camera device_info path path_provider photo_manager video_player]

dev dependencies:
- build_runner 2.0.1 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime package_config path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_launcher_icons 0.9.0 [args image path yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- json_serializable 4.1.1 [analyzer build build_config collection json_annotation meta path source_gen]

transitive dependencies:
- _fe_analyzer_shared 20.0.0 [meta]
- analyzer 1.4.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml pedantic]
- archive 3.1.2 [crypto path]
- args 2.0.0
- async 2.5.0 [collection]
- audio_session 0.1.0 [flutter flutter_web_plugins rxdart]
- background_fetch 0.7.2 [flutter]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.0.0 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.0 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.1 [analyzer build crypto graphs logging path package_config pool pub_semver stream_transform]
- build_runner_core 7.0.0 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.0.0
- built_value 8.0.4 [built_collection collection fixnum]
- camera 0.8.1 [flutter camera_platform_interface pedantic quiver]
- camera_platform_interface 2.0.1 [flutter meta plugin_platform_interface cross_file stream_transform]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 4.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 1.0.7 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.0.3 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.0.5 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.0.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- cross_file 0.3.1+1 [flutter meta]
- crypto 3.0.0 [collection typed_data]
- dart_style 2.0.0 [analyzer args path pub_semver source_span]
- device_info 2.0.0 [flutter device_info_platform_interface]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- easy_logger 0.0.2 [flutter]
- extended_image 4.0.1 [extended_image_library flutter meta]
- extended_image_library 3.0.0 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase 9.0.1 [http http_parser js]
- firebase_analytics_platform_interface 2.0.0 [flutter meta]
- firebase_analytics_web 0.3.0 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 4.2.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.0.2 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 2.1.3 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 1.0.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 2.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 1.0.5 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.0.1 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_plugin_android_lifecycle 2.0.1 [flutter]
- flutter_sound_platform_interface 8.1.1 [flutter meta plugin_platform_interface]
- flutter_sound_web 8.1.1 [flutter_sound_platform_interface flutter flutter_web_plugins meta js]
- flutter_spinkit 5.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- geolocator_platform_interface 2.0.2 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.3 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.1 [async collection file path pedantic string_scanner]
- google_maps_flutter_platform_interface 2.0.4 [flutter meta plugin_platform_interface stream_transform collection]
- graphs 2.0.0
- http 0.13.1 [http_parser meta path pedantic]
- http_client_helper 2.0.2 [http]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.2 [archive meta xml]
- intl 0.17.0 [clock path]
- io 1.0.0 [meta path string_scanner]
- js 0.6.3
- just_audio_platform_interface 3.0.0 [flutter plugin_platform_interface]
- just_audio_web 0.3.1 [just_audio_platform_interface flutter flutter_web_plugins]
- location_platform_interface 2.1.0 [flutter meta plugin_platform_interface]
- location_web 3.0.0 [flutter flutter_web_plugins http_parser js location_platform_interface meta]
- logger 1.0.0
- logging 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- nested 1.0.0 [flutter]
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_config 2.0.0 [path]
- path 1.8.0
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- permission_handler_platform_interface 3.3.0 [flutter meta plugin_platform_interface]
- petitparser 4.0.2 [meta]
- photo_manager 1.1.4 [flutter]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.1 [file path platform]
- provider 5.0.0 [collection flutter nested]
- pub_semver 2.0.0 [collection]
- pubspec_parse 1.0.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1 [matcher]
- recase 4.0.0
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- shelf 1.1.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.0.0 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- vector_math 2.1.0
- video_player 2.1.1 [meta video_player_platform_interface video_player_web flutter flutter_test]
- video_player_platform_interface 4.1.0 [flutter meta flutter_test]
- video_player_web 2.0.0 [flutter flutter_web_plugins meta video_player_platform_interface]
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 2.0.0 [async crypto stream_channel]
- win32 2.0.5 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.0.2 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

Having the same issue.

Sorry, maybe this is the expected behavior. I think I need another way to handle authentication check.

Something has changes. I have been using authStateChanges in StreamBuilder and now snapshot.data always return null there. It seems like using userChanges instead fixes the issue. But that was breaking change that has not been communicated. So it is a bug.

btw on Android it authStateChanges works as before/expected.

Hi @oemdaro
This was a known issue and has been fixed https://github.com/FirebaseExtended/flutterfire/issues/5952. The fix is still pending a release.
Thank you


Optimized's infinite loop

The current Optimized._sample_ranking samples rankings until the number of sampled rankings becomes sample_num.
However, this sometimes never ends: the number of possible rankings can be less than sample_num.
So it must be "until rankings are sampled sample_num times", not "until the number of sampled rankings reaches sample_num".

You are right. The original algorithm can run into an infinite loop, and
your modification must make the algorithm more practical.
Also, I think that we should notify the modification to the users.

I remembered this issue and sent a small patch.


Update page.tsx

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


GAMBLR.helpers needs a function to calculate TMB with functionality of including specific mutation types

We need to have a functionality to reproduce the output generated by maftools with
dlbcl_wes = subsetMaf(maf = dlbcl,
                         dropLevels = FALSE,
                         includeSyn = FALSE, # remove non-synonymous mutations
                         ranges = bed[,c("chr","start","end")] # subset to WES capture
                         )

Specifically, the part of non-synonymous muts should be flexible enough to dynamically drop specific Variant_Cloassification values

Addressed in #29


Consider removing EntityNameFormatter

FormatTransferDeadletterQueue can be built into the CreateDeadLetterReceiver method by adding an optional param.

Transactional dead-letter queue name should be considered as well.

Transactional dead-letter queue name should be considered as well.

Do you mean the transfer dead letter queue? That's what I was referring to when mentioning the FormatTransferDeadletterQueue method in the issue description.

Yes, indeed.

Fixed in https://github.com/Azure/azure-sdk-for-net/pull/14692


Feature/null false values

Reviewers: @atomsfat @hgmiguel @orocesar @domix @iamedu

Coverage increased (+0.22%) to 91.13% when pulling c6a865b41fe3ea3ea8329b3f12776577701affbf on feature/null-false-values into 93caa2f27328deaae6f2786d6506fad34dfe31dd on master.

I am updating this pull request with more issues


feat: add Svelte language to CodeMirror

Should solve #211

@Nemikolh
I've pushed changes to dependencies and lock file.
I also checked example file for syntax highlighting. It is not perfect, but much better than nothing :)

Let me know if I still missed something.


docs(readme.me): refactor entire flow and structure of readme setup

WHY
We need to setup a doc structure for easier dev setup, and better scaleability (especially with plugins and features). Need to be able to navigate all documentation sections, with more straight forward structure/language/examples.
Also using markdown files in the codebase vs a Github wiki allows us to keep documentation PRs within this repo. This makes it easier for anyone to contribute.
WHAT
This PR is focused only on README.md (not CONFIGURATION.md, CONTRIBUTING.md etc). It's the first step in a better documentation system using markdown files within our codebase. Plugin usage especially is setup for scaling as we add more.
High level new structure:

Logo and title
Badges
Project description
Table of contents (including external doc links)
Requirements
Installation
Setup
Core Usage (bits of use cases after initial setup)
Plugin usage (specific plugin usage and details)

LGTM


Handle multiple time input fields more seamlessly

Good day,
I have a page with two time input fields using wicked picker. I can open one, but when I change  focus to another, the first one remains and the second does not appear.
From the wicked picker home page demo section that same thing occurs, even when they have different IDs - that intro page seems to imply if they are different IDs the switch should be handled.
I am running in Safari 9.1.2 on OS X 10.11.6.

Hello,
Found a temporary fix. I just close the div when another wicked picker element is selected.
$('#timedlist-time_start,#timedlist-time_end').focus(function(){
$('.wickedpicker').css({'display': 'none'});
});
$('#timedlist-time_start').wickedpicker({now: $('#timedlist-time_start').val()});
$('#timedlist-time_end').wickedpicker({now: $('#timedlist-time_end').val()});

I think this is a better solution:
$(".timepicker").focus(function(){
var obj = $(this);
$('.wickedpicker').each(function(){
if($(this) != obj) {
$(this).css({'display': 'none'});
}
});
});

Thanks, that helped me along. I ended up implementing it without needing an 'each':
options.beforeShow = () => {
	currentlyActiveWickedpicker = this;
};
options.beforeHide = () => {
	if (currentlyActiveWickedpicker === this) currentlyActiveWickedpicker = false;
};

// Create component
this.$input = this.$element.find('input');
this.$input.wickedpicker(options);
this.$input.on('focus', () => {

	// Hide old picker?
	if (currentlyActiveWickedpicker && currentlyActiveWickedpicker !== this) {
		$('body > .wickedpicker').css('display', 'none');
	}

});

(I've wrapped the wickedpicker in a component class)


Globs only test the first contract

Issue:
myth -x contracts/*.sol
Will return results for the first contract in the contracts dir, and ignore all others.
This can lead to the mistaken belief that all contracts have been analysed.

The solution here depends on the way how we want multiple contracts to be treated.
Currently, Mythril loads all contracts and maps them to different addresses (0x0000(...), 0x1111(...)). It then execute the first contract as the entrypoint (see also #58). The idea was to allow analysis of multiple interdependent contracts.
It seems that this behavior is confusing, as users expect the contracts to be analyzed on-by-one.
Would it make sense to change this to be in line with expectations, and allow multi-contract analysis only for on-chain targets?

Input files are now analyzed one-by-one.


chore: remove a bunch of in-line logging

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#320
#319  👈
#318
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite

Merge activity

Aug 24, 7:13 PM EDT: @pepyakin started a stack merge that includes this pull request via Graphite.


[aaudio/hello-audio] MainActivity.getBufferSizeInBursts needs comment

To more clearly explain what a burst is

/* Here one Burst is equal to 192 frames.*/
private int getBufferSizeInBursts(){
//This method will return the size of buffer from the buffer size spinner
@SuppressWarnings("unchecked")
HashMap<String,String> selectedOption = (HashMap<String,String>)
mBufferSizeSpinner.getSelectedItem();
//The buffer size value which is selected from the buffersize spinner is stored in the HashMap selectedOption as key value pair.
String valueKey = getString(R.string.buffer_size_value_key);
//buffer_size_value_key is the name of string which is declared in the strings.xml.
    // parseInt will throw a NumberFormatException if the string doesn't contain a valid integer
    // representation. We don't need to worry about this because the values are derived from
    // the BUFFER_SIZE_OPTIONS int array.
    return Integer.parseInt(selectedOption.get(valueKey));

//From the HashMap selectedOption we are getting the value by using the key. Here both the //key and value are of type String. The value which is returned from the get fuction is given
// as input to the parseInt function which will convert the String to Integer value.
}

Thanks for your comments. I have updated the method docs.


Extends backend id to 32 bits

See commit msg.
This is not intended to be merged as is, the migrating/upgrading path is still missing. I would appreciate early feedbacks and will add migrating code later if needed.
This is sorta a stripped down version of PR #8041 to unblock us from running large-scale tests, we might as well bring back that original PR?

I ran a large-scale test with this patch, seems to fix issue #16121

travis hit https://github.com/cilium/cilium/issues/16239

Marking it as draft due to missing upgrade/downgrade handling path.
@Weil0ng Are you planning to work on the upgrade/downgrade? Also, please refer the authors of the original PR in your commit msgs.

Marking it as draft due to missing upgrade/downgrade handling path.
@Weil0ng Are you planning to work on the upgrade/downgrade? Also, please refer the authors of the original PR in your commit msgs.

I'm thinking maybe we should just reuse your PR? any idea why it was reverted?

Marking it as draft due to missing upgrade/downgrade handling path.
@Weil0ng Are you planning to work on the upgrade/downgrade? Also, please refer the authors of the original PR in your commit msgs.

Also, just updated the commit msg with a reference to your original PR :) Should've add it in the first place, sry about that.

any idea why it was reverted?

It has been never merged. The reason for that is that the downgrade problem was not solved by the PR.

any idea why it was reverted?

It has been never merged. The reason for that is that the downgrade problem was not solved by the PR:

IMPORTANT However, the downgrade will interrupt the connections. Also, probably the manual cleanup of CT maps is required to avoid the wrong endpoint routing problem, as most likely different backend IDs will be allocated;-/ Alternatively, we could maintain both maps...

hmm, interesting, but is downgrade a requirement? I mean why would some one downgrade from 32 to 16 bits? to save memory?

Upon the downgrade we remove the u32 backend map and create the u16 map instead. What happens is that all backend ID allocations are lost => existing connections to services might be routed to wrong backends.

I see. In this case, it might be impossible to seamlessly downgrade, what if the original map (with u32) has more than 64k backends? then no matter how we migrate to u16, it is going to lose some backends?

I think we should introduce a hidden flag which would make both u16 and u32 to coexist and it would be used for the downgrade only.

So the downgrade (also upgrade?) process would be to switch on the hidden flag, wait until some condition is met (that u16 map has same number of entries as u32?), then downgrade/upgrade cilium version?

My braindump:

The new u32 will have a different name, e.g. lb4_backends_v2.
The v1.11 datapath will refer to the new map.
During the upgrade, the v1.11 cilium-agent will check whether the old map (lb4_backends) exists AND the new map is empty. If true, it will copy the entries from the old map to the new map.
After the migration, if the proposed --keep-legacy-service-backends is set to false (default), then the old map is removed after we have reloaded the datapath for all endpoints (so that they all refer to the new map). If it is set to true, then we keep and maintain both maps. In this case, if backend ID > max(u16), then we just log a warning that downgrade might be disruptive.
We document the flag in the upgrade guide.
Once users are happy with the upgrade, they can set the flag to false, so that next time the map is removed.

Another complication is that in the Maglev BPF maps we use u16 for backend ID.

Another complication is that in the Maglev BPF maps we use u16 for backend ID.

Is there a reason for that? or should we also change it to u32?

Is there a reason for that? or should we also change it to u32?

Yep, it should change to u32 too in a way that we don't make new connections to fail (existing connections should be fine, as backend ID is stored in CT).

My braindump:

The new u32 will have a different name, e.g. lb4_backends_v2.
The v1.11 datapath will refer to the new map.
During the upgrade, the v1.11 cilium-agent will check whether the old map (lb4_backends) exists AND the new map is empty. If true, it will copy the entries from the old map to the new map.
After the migration, if the proposed --keep-legacy-service-backends is set to false (default), then the old map is removed after we have reloaded the datapath for all endpoints (so that they all refer to the new map). If it is set to true, then we keep and maintain both maps. In this case, if backend ID > max(u16), then we just log a warning that downgrade might be disruptive.
We document the flag in the upgrade guide.
Once users are happy with the upgrade, they can set the flag to false, so that next time the map is removed.

Coming back to this, doesn't cilium upgrade always reboot agent? If so, then agent will relist all services/backends upon rebooting and populate v2 map automatically, why do we need to explicitly copy from old map?

What does the agent do on startup? When does it rewrite the eBPF programs on running pods?
If the existing agent rewrites the program before the maps are repopulated, we will need to keep the old maps around so there's no packet loss.

Coming back to this, doesn't cilium upgrade always reboot agent? If so, then agent will relist all services/backends upon rebooting and populate v2 map automatically, why do we need to explicitly copy from old map?

During the bootstrap cilium-agent gets all Service / Endpoint objects from k8s and only afterwards regenerates BPF programs of existing endpoints. My previous thinking for copying from v1 to v2 was to preserve the backend IDs (otherwise, we will route to wrong backends for existing connections). However, it should be enough to iterate over the v1 map and then restore the IDs. Just that we need to make sure that we don't leak IDs which can happen when a backend is removed before the upgrade while cilium-agent was down.

However, it should be enough to iterate over the v1 map and then restore the IDs. Just that we need to make sure that we don't leak IDs which can happen when a backend is removed before the upgrade while cilium-agent was down.

Still a bit confused. So v2 map has the up-to-date endpoint info from k8s (and it will be populated before BPF progs are regenerated), basically upon agent restart, we are good to go with v2 map, no? v1 map stores a snapshot before upgrade, so whatever happens (a backend removed/added) while cilium-agent is down should be captured when it syncs with apiserver and reflect in the v2 map? I don't follow why we could leak IDs in this way...

So v2 map has the up-to-date endpoint info from k8s (and it will be populated before BPF progs are regenerated), basically upon agent restart, we are good to go with v2 map, no?

Please scratch the idea about restoring the IDs from v1, and then switching to v2. Unfortunately we still need to maintain both maps because of this:

After the migration, if the proposed --keep-legacy-service-backends is set to false (default), then the old map is removed after we have reloaded the datapath for all endpoints (so that they all refer to the new map). If it is set to true, then we keep and maintain both maps. In this case, if backend ID > max(u16), then we just log a warning that downgrade might be disruptive.

After the migration, if the proposed --keep-legacy-service-backends is set to false (default), then the old map is removed after we have reloaded the datapath for all endpoints (so that they all refer to the new map). If it is set to true, then we keep and maintain both maps. In this case, if backend ID > max(u16), then we just log a warning that downgrade might be disruptive.

Now I think about it, why do we need to maintain both, we will be using only one of them at a time? When you downgrade, cilium-agent would restart again and then repopulate u16 map with sync from k8s, no?

When you downgrade, cilium-agent would restart again and then repopulate u16 map with sync from k8s, no?

The backend IDs will be lost. We persist them only in the backends BPF map from which they are restored.

The backend IDs will be lost. We persist them only in the backends BPF map from which they are restored.

Yes. I think we should do this in two phases:

in version X, we introduce v2 map silently and populate v2 map with whatever v1 map has, all operation still happen on v1 map, we just keep v2 map a duplicate of v1
in version X+1, we switch all operation to occur with v2 map, and introduce --keep-legacy-service-backends flag as you suggested. If it is set to true, we keep populating v1 map when possible (for IDs > 64k, we issue warning), if it set to false, we drop v1 map completely.

So between current version and X, upgrade/downgrade will be seamless.
Between X and X+1, upgrade is seamless as v2 map already has all IDs in v1 map. Downgrade is seamless if --keep-legacy-service-backends was set to true and lossless if no backend ID is > 64k.
Does this make sense?

Superseded by #17235. Closing.


Add @Vetoed to event listening classes via an AnnotationTransformer

The event listening classes implemented by the users should not be beans because it's the subclass that should be a bean. Apparently, there is a nice @Vetoed annotation that should work.
We need to check (separately) how it goes with:

a scope annotation there @Singleton
also in the case of @Startup

With the current code, in both cases, you should have the methods called twice. We should try if adding @Vetoed manually fixes it.
If so, we can implement an AnnotationsTransformer to do it automatically. There is an example in Hibernate Validator for instance: https://github.com/quarkusio/quarkus/blob/main/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java#L291 . The example is a bit complicated in HV, here it should be far easier: we need to push the list of event listening annotations to the transformer and add @Vetoed to the declaring class.
There is an additional step: the @Startup annotation should be copied to the generated subclass if present on the user class. We should also probably override the CDI scope of the generated subclass if a specific scope has been defined on the user class.

@shinusuresh I added more information in the description. Let me know if you want to pick this one!

No problem :).


Heads-up: Migrating JuliaPOMDP solver packages to General

Hi All, Just wanted to give a heads up that we are going to migrate all of the POMDP solver packages from the JuliaPOMDP Registry to this General registry (JuliaPOMDP/POMDPs.jl#303). There are many packages that have acronym names, which is one of the reasons we had our own registry - hopefully this will not be a huge problem. We think it is better to have them in the General registry.
The plan is to keep old versions in the JuliaPOMDP registry, but register all new versions only in General. My understanding is that Pkg will merge the versions of packages with the same UUID so that people can use both registries seemlessly if they want.
The first instance is DiscreteValueIteration: https://github.com/JuliaRegistries/General/pull/20727
It looks like we will need people to help us manually merge the packages since they will not meet the initial version requirements. Who should I contact to help us out with that?
If anyone has any comments or suggestions on this, please let us know!
CC: @MaximeBouton @rejuvyesh

If you need manual merges, feel free to post in the #pkg-registration channel on Slack!

Let me know if you run into any problems!


fixes touch event forwarding

This PR fixes
https://github.com/nativescript-community/ui-collectionview/issues/29
demo-ng-swiping.zip
Note: I tried to keep the changes as non-intrusive as possible and put all required changes into an external class (SingleScrollDirectionEnforcer). You can use the attached demo to try out the bugfix. Relevant touch events are now correctly forwarded to child views of the ui-collectionview and Nativescript gesture recognition is now working correctly.
Please note, It seems like there is another bug in the plugin which is related to reorderLongPressEnabled="true". I cannot get it working. The attached demo also shows how I tried to subscribe to the relevant events, but they are not firing.  However, this has nothing to do with the bugfix I provided, it already does not work with the original sources. In case the TouchEventHandlers of reorderLongPress should interfere, what I do not think they will do, one could simply disable  the SingleScrollDirectionEnforcer class in this situation. It has two methods for it.
installSingleScrollDirectionEnforcerInView
uninstallSingleScrollDirectionEnforcerInView
Which for example could go into this section:
https://github.com/nativescript-community/ui-collectionview/blob/92a1b63dc9e243bb137d59b727e50c3576be1b9b/src/collectionview/collectionview.android.ts#L616
But to my understanding, mutliple listeners can be installed at the same time, so the enforcer should always work correctly.

@cjohn001 thanks for the PR. But i wont integrate this in the plugin itself. I dont want all users to have (and i am the first one) an intercept of touch events. It is almost never useful and even more in all my use cases the issue actually never happened.
@naticescript-community/ui-pager works perfectly fine with the collectionview plugin.
What i would suggest is to reopen that PR as a "sub" plugin in this repo (like waterfall).
Collectionview is meant to be the smallest plugin possible to avoid becoming what the proui   was.

@cjohn001 thanks for the PR. But i wont integrate this in the plugin itself. I dont want all users to have (and i am the first one) an intercept of touch events. It is almost never useful and even more in all my use cases the issue actually never happened.
@naticescript-community/ui-pager works perfectly fine with the collectionview plugin.
What i would suggest is to reopen that PR as a "sub" plugin in this repo (like waterfall).
Collectionview is meant to be the smallest plugin possible to avoid becoming what the proui was.

@farfromrefug: Well, this is disappointing, I think it would be very helpful for others. I spent a lot of time trying to use the collection view in the right way. And it is not obvious, that one needs to work around the Nativescript event handling in order to get the plugin working.
However, I checked the Waterfall. Unfortunately, I do not understand how this subplugin thing works. May I ask you to integrate it?

@cjohn001 sorry i replied on the issue as this is where you first replied
And i just want to point out that if you have to "work around N gesture handling " then maybe there is an issue there?
Again recyclerview works perfectly fine with viewpager2 using this plugin which goes against what your article was saying.plus my gestures plugin also work perfectly fine without having to use any trick. You can ask my to add code for everyone when the need is not there "for everyone" , and i wont add code which might have side effects. Intercepting touch events should be done as rarely as possible

@farfromrefug :
Well "work around N gesture handling " then maybe there is an issue there. I see exactly the behavior on Android, IOS is working for me without issues. What I understand from the gesture handling plugin is,  that it does intercept the native events, hence therefore that likely works.
However, can you explain, how this plugin thing shall work? As mentioned, I do not know how I could extend the collection view class.
I did a
export myclass extends CollectionView
and I have read that I need to use registerElement like described here
https://v6.docs.nativescript.org/angular/plugins/angular-third-party
But as mentioned that did not work. I do not understand how the waterfall stuff is working


Private properties show in GDScript documentation when using get/set on another public property

Godot version
4.0.beta4
System information
Windows 10
Issue description
I have a private property, var _parent: Node with no documentation on it. If I add another, public property with a get method, _parent shows up in the "Property Descriptions" section of the documentation. I would expect that it to not show up unless I explicitly add documentation to it.
Steps to reproduce
Add this to a class:
var _parent: Node

var another: Node:
    get:
        return null

And view the "Property Descriptions" documentation, note that _parent is visible. Then remove the get function and _parent is no longer visible. (_parent is also not visible if another is renamed to _another.)
Minimal reproduction project
No response

Note that there are no private properties in GDScript, _parent is still public technically.
But there might indeed be some logic to hide properties prefixed by an underscore in the doc generator, since it's a convention often used for properties which are not meant to be accessed externally.

Note that there are no private properties in GDScript, _parent is still public technically. But there might indeed be some logic to hide properties prefixed by an underscore in the doc generator, since it's a convention often used for properties which are not meant to be accessed externally.

Thanks! Yeah sorry I'm referencing the GDScript documentation comments page that says "If any member variable or function name starts with an underscore it will be treated as private. It will not appear in the documentation and will be ignored in the help window." (What is the help window?) And then in the example block "## As the following function is documented, even though its name starts with … an underscore, it will appear in the help window."


Docker-Machine : "Error creating machine: exit status 1"

Hello,
I am a new-comer. I am trying to use Docker.But I have some problem.
When I click 'Quick Start Terminal', here is the error I am getting:
Starting machine default...
exit status 1
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

And I re-run the 'docker-machine env default, here is what i am getting:
default is not running. Please start this with docker-machine start default.

And I cat the log in ~/.docker/machine/machines/default/default/Logs/VBox.log:
VirtualBox VM 5.0.2 r102096 darwin.amd64 (Aug 13 2015 18:38:03) release log
00:00:00.022523 Log opened 2015-08-17T13:58:50.429529000Z
00:00:00.022524 Build Type: release
00:00:00.022537 OS Product: Darwin
00:00:00.022543 OS Release: 14.4.0
00:00:00.022548 OS Version: Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
00:00:00.022643 DMI Product Name: MacBookPro12,1
00:00:00.022696 DMI Product Version: 1.0
00:00:00.022704 Host RAM: 8192MB total, 3446MB available
00:00:00.022705 Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
00:00:00.022705 Process ID: 7403
00:00:00.022706 Package type: DARWIN_64BITS_GENERIC
00:00:00.024332 Installed Extension Packs:
00:00:00.024343   None installed!
00:00:00.025363 Console: Machine state changed to 'Starting'
00:00:00.052800 SUP: Loading failed for VMMR0.r0 (/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0) rc=VERR_VMM_SMAP_BUT_AC_CLEAR
00:00:00.052936 PDMLdr: pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_VMM_SMAP_BUT_AC_CLEAR szErr="SUPR3LoadModule: supLoadModule returned VERR_VMM_SMAP_BUT_AC_CLEAR"
00:00:00.052960 VMSetError: /Users/vbox/tinderbox/mac-rel/src/VBox/VMM/VMMR3/VM.cpp(595) int vmR3CreateU(UVM*, uint32_t, int (*)(UVM*, VM*, void*), void*); rc=VERR_VMM_SMAP_BUT_AC_CLEAR
00:00:00.052974 VMSetError: Failed to load VMMR0.r0
00:00:00.053155 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to load VMMR0.r0 (VERR_VMM_SMAP_BUT_AC_CLEAR)}, preserve=false aResultDetail=0
00:00:00.053286 Console: Machine state changed to 'PoweredOff'
00:00:00.055651 Power up failed (vrc=VERR_VMM_SMAP_BUT_AC_CLEAR, rc=NS_ERROR_FAILURE (0X80004005))

I am using macbook pro with yosemite.
Docker verison is 1.8.1, build d12ea79.
And I use Docker Toolbox.
Please help me to figure this out.
Thanks.

+1

@vanrysss I have tried reinstalling virtualbox and Docker Toolbox. But nothing changed.

I believe VirtualBox 5 is incompatible with docker-machine. I solve this issue by installing old version VirtualBox 4.3
https://www.virtualbox.org/wiki/Download_Old_Builds_4_3

You are right. I tried VirtualBox 4.3. It works right.
It should be a problem of virtualbox 5.
Thanks.

This is an issue with virtualbox which is solved in test builds.
https://www.virtualbox.org/ticket/14412
I have just installed virtualbox from https://www.virtualbox.org/wiki/Testbuilds and it solved the issue.

@phildav Thank u. I will tried it.

This is an issue for VirtualBox-5.0.2 on Windows-8.1 too. Upgrading to the current VirtualBox-Testbuild (5.0.3) solved the issue too. Thank you for that hint!!!

+1 Works!

:+1:  thanks!

Virtualbox test builds as recommended by @phildav worked for me on OSX 10.10.4

I keep getting the problem on OSX 10.10.4
docker-machine version 0.4.1 (e2c88d6)
Docker version 1.8.1, build d12ea79
VBoxManage -v
5.0.3r102220
Command:
$ docker-machine -D create -d virtualbox --virtualbox-disk-size 2000 dev
It hangs at here forever:
Daemon not responding yet: dial tcp <IP_ADDRESS>:2376: operation timed out
Daemon not responding yet: dial tcp <IP_ADDRESS>:2376: operation timed out
Daemon not responding yet: dial tcp <IP_ADDRESS>:2376: operation timed out

It works after rebooting my machine. Thanks @phildav and all.

Still not working. It's so frustrating..

Having the same issue on OSX 10.10.4 with VB 4.3.30.

@dirkhainc3 Did you reboot your mac?

I had the same problem, and resolved it by starting the virtualbox gui and removing all the VMs, many of which were inaccessible.  There were several duplicates, probably artifacts of my repeated install attempts.

@phildav Thank you, save my life

works for me:

OS X 10.10.5 14F27
https://www.virtualbox.org/wiki/Download_Old_Builds_5_0
removing all VMs

@CaptainFeng Yes I did.  In fact I didn't get a choice b/c when using VB 4.2.12 it would reproducibly crash my system. I ended up getting further with using the VB test build @phildav pointed out but ended up with contains that did not have a network connection.  Right now I completely wiped Docker and VB of my system (for VB this script is really helpful: http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Installer/darwin/DiskImage/VirtualBox_Uninstall.tool ) I will try a clean install of docker-machine and VB 5.0.2. #102096 which has worked for a colleague.  If that does not work I will try @step1profit 's suggestion.

I got the same error after installing Docker toolbar yesterday on Windows 8.1 x64. However, I re-ran just to see what happened and it opened up just fine, so I'd recommend running Docker twice and seeing what happens.

@step1profit 's suggestion seems to be the only way to get it to work with 10.10.5 (14F27).  Thanks for posting!

Just kidding, I'm new to Docker and didn't realize I had to start the VM from VB before starting the Docker QuickTerminal. I couldn't start the default image docker creates with VB 5.x on WIndows 8.1 x64 and had to downgrade to VB 4.3.3 to get a startable default image, and even then I'm running into more issues (Docker QuickTerminal giving an exit code 255 and a "ConnectEx tcp: No connection could be made because the target machine actively refused it error")

Installing the latest test build solved the problem for me!
https://www.virtualbox.org/wiki/Testbuilds
Thanks everyone!

For everyone who are struggling with this on Max OS X Yosemite (10.10.5)
In my case the permissions weren't configured correctly so I ran the Disk Utility -> Repair Disk Permission which fixed the issue.

try
docker-machine stop default
docker-machine start default

I have this problem on EL Capitan. It seems network setting of the default docker-machine is not correct. I removed the installed default VM in virtualbox, and ran Quick Start Terminal again. It works.

I upgraded to VB 5.0.8. I started to see the same issue. I tried 5.0.4 and 5.0.10 and it still fails.
I downgraded to VB 4.3.34 and docker-machine works properly.
I think this issue should be kept opened.

I had the same problem with the following sys conf:
Max OS X Yosemite (10.10.5),
Docker Toolbox 1.9
VB 5.0.10
Here how I fixed:
Disk Utility -> Repair Disk Permission (thanks a lot @poshUp )
Delete all VMs
Unistalled and Installed VB
Installed Docker Toolbox and the default VM

:+1:

@aboutvale Deleting all VMs can be a costly workaround as it implies downloading all images again.

@gotcha I completely agree with you. I accepted the drawback in this case, may be this step can be skipped without affecting the final result.

Downgrading to the lower virtual machine (4.3) also solved my problem! Thnx

To any future readers, the post below about /Applications not being owned by root solved my problems.
https://forums.virtualbox.org/viewtopic.php?f=7&t=39179
For whatever reason, the machine didn't correctly have root as the owner. chown root /Applications and doing a reinstall (running the uninstall script provided with the .dmg and then reinstalling) solves the issue.

I also had the problem with /Applications not owned as root for some reason, and `chown root /Applications' also fixed my problem.

I've installed docker-machine with brew and had to run 'brew link docker-machine --overwrite'

I've still this problem on Captain osx. I've try all of solutions of yours and none work.
/Application is own by root
docker-machine can't work with vbox 4 anymore, so I try to install lastest after remove old one, install 4, try, install lastestes, try... Everytimes repairing disc permissions.

Ran into this problem on OSX 10.9.5, using VirtualBox 5.0.14 r105127.  Solved problem by upgrading docker-machine via HomeBrew, then repairing disk permissions to avoid this issue.
brew update
brew upgrade docker-machine
brew link docker-machine --overwrite

Open Disk Utility app, select Mac OSX root FS partition, then "Repair Disk Permissions".
Solved the error:
Starting "test-machine"...
(test-machine) Check network to re-create if needed...
Unable to start the VM: exit status 1
Details: 00:00:00.042269 Power up failed (vrc=VERR_SUPLIB_OWNER_NOT_ROOT, rc=NS_ERROR_FAILURE (0X80004005))

See https://github.com/docker/kitematic/issues/1564!

Reinstalling virtualbox worked for me ! Thanks :)

Try to use this link:
docker-machine start default
Starting "default"...
(default) Waiting for an IP...
Machine "default" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the docker-machine env command.
Set up environment as instructed
$ eval $(docker-machine env default)
Now we can load the hello-world image into a container and run it


Doesn't work!

I have followed the suggested steps but it doesn't work in unity 5.4 . I cannot set the font on my test object, even with the ones provided by the plugin. Am I missing something?
Thanks!

@edesdan you must use UGUI Text

It was working before, but now in unity 5.5.0f3 the fonts don't show up. It does convert them, but it doesn't appear on screen. Even the provided example fonts don't work.


Fix order.change_status creating empty history entries

Change order.change_status to accept comment param.
Add comments to calls of order.change_status.
Fixes #1229

Codecov Report

Merging #1231 into master will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master    #1231   +/-   ##
=======================================
  Coverage   70.23%   70.23%
=======================================
  Files         117      117
  Lines        6316     6316
  Branches      752      752
=======================================
  Hits         4436     4436
- Misses       1716     1717    +1
+ Partials      164      163    -1

Impacted Files
Coverage Δ

saleor/dashboard/order/forms.py
63.78% <100%> (-0.2%)
:arrow_down:

saleor/order/models.py
87.72% <50%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


add train test split and other 2 tools

From #81, which installed them on test.org.

@galaxybot deploy this


[Request for Comment] In regards to my promise of tests

Hey @cyberfilth,
How would you characterise the stability of your most basic data containers?
Are they stable enough that I can start dishing out some tests?
If you still have fluid ones, just gimme a list of the more solid ones so I can, at least, begin to full fill my promise :wink:
Cheers,
Gus

Sorry for the late response, I've been offline for a while and development slowed down.
I've been trying out various implementations of adding multiple levels to the dungeons/caves and fell into a rabbit hole!
Items, weapons, armour and enemies are stable enough for the time being. Variations will be added but the core features will stay the same now. If you still have the time and the inclination, test away! ;-)

Hey @cyberfilth ,
Yeah, I saw mentions on some commit of levels and even tried to see if you already had a door at least, guess not, LOL!!
Ok, with those in mind I'll start testing.
Cheers,
Gus


Fix problems with Drone Makeflow GitHub build

The GitHub automatic build failed over the weekend. This issue is to fix the build

https://github.com/AgPipeline/drone-makeflow/actions/runs/871967644


Override seach method (ignore accented letters)

Is that a way to override the search method?
I use  angular-2-dropdown-multiselect with french letters and i want to change the way the component is searching for results.
In my case, ihave:
// Labels / Parents
myOptions: IMultiSelectOption[] = [
{ id: 1, name: 'recherche', isLabel: true },
{ id: 2, name: 'récapitulatif', parentId: 1 }
];
When i write "re", the result is 'recherche', but i want to see 'recherche' and 'récapitulatif'

Hi bllmhd,
I am facing the same problem.
Do you have a solution for this one ?
Thx

Hi bllmhd,
I am facing the same problem.
Do you have a solution for this one ?
Thx


getting "Generating SSR bundle failed

`MacBook-Pro:designcodeweb richardchu$ gatsby develop
success open and validate gatsby-configs - 0.021s
success load plugins - 0.118s
success onPreInit - 0.022s
success initialize cache - 0.018s
success copy gatsby files - 0.100s
success onPreBootstrap - 0.037s
success createSchemaCustomization - 0.001s
success Checking for changed pages - 0.000s
success source and transform nodes - 0.219s
success building schema - 0.212s
info Total nodes: 150, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.002s
success Checking for changed pages - 0.000s
success createPagesStatefully - 0.055s
success update schema - 0.033s
success write out redirect data - 0.001s
success onPostBootstrap - 0.001s
info bootstrap finished - 4.257s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.161s
success write out requires - 0.019s
success run static queries - 0.015s - 1/1 65.80/s
success run page queries - 0.015s - 5/5 323.44/s
error Generating SSR bundle failed
[BABEL] /Users/richardchu/Desktop/learning/react-for-designer/designcodeweb/.cache/develop-static-entry.js: Cannot find module '@babel/plugin-transform-property-literals'`

Gatsby CLI version: 2.12.117
Gatsby version: 2.24.66

nm, npm install seems to fix the issue.