Unpack msapp files fail on error

[ x] App attached

export-solution-to-git
2022-03-28T14:12:35.1943265Z ##[section]Starting: Unpack msapp files fail on error
2022-03-28T14:12:35.2072726Z ==============================================================================
2022-03-28T14:12:35.2073098Z Task         : PowerShell
2022-03-28T14:12:35.2073370Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2022-03-28T14:12:35.2073607Z Version      : 2.200.0
2022-03-28T14:12:35.2073813Z Author       : Microsoft Corporation
2022-03-28T14:12:35.2074121Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-03-28T14:12:35.2074489Z ==============================================================================
2022-03-28T14:12:36.4143134Z Generating script.
2022-03-28T14:12:36.4677706Z ========================== Starting Command Output ===========================
2022-03-28T14:12:36.4987279Z ##[command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\975c3ed6-2824-4891-bf39-7743015e5610.ps1'"
2022-03-28T14:12:38.7324449Z UnPack from D:\a\1\s\coe-starterkit-azdo\eDVIR\SolutionPackage\CanvasApps\dtedev_edvirnewsize_f7ba7_DocumentUri.msapp-->D:\a\1\s\coe-starterkit-azdo\eDVIR\SolutionPackage\CanvasApps\dtedev_edvirnewsize_f7ba7_DocumentUri_msapp_src
2022-03-28T14:12:43.7123318Z   source format version: 0.24
2022-03-28T14:12:52.8925212Z Error   PA3011: Roundtrip validation on unpack failed. This is always a bug, please file an issue at https://github.com/microsoft/PowerApps-Language-Tooling
2022-03-28T14:12:52.8926759Z Error   PA3011: Roundtrip validation on unpack failed. This is always a bug, please file an issue at https://github.com/microsoft/PowerApps-Language-Tooling
2022-03-28T14:12:52.9470725Z Microsoft PowerPlatform CLI
2022-03-28T14:12:52.9474204Z Version: 1.13.4+g79187cf
2022-03-28T14:12:52.9474476Z
2022-03-28T14:12:52.9477472Z Error: There were errors.
2022-03-28T14:12:52.9477911Z
2022-03-28T14:12:52.9478410Z Usage: pac canvas unpack [--sources] --msapp
2022-03-28T14:12:52.9478728Z
2022-03-28T14:12:52.9479110Z   --sources                   Directory to sources to be unpacked
2022-03-28T14:12:52.9479651Z   --msapp                     Path to .msapp file
2022-03-28T14:12:52.9479893Z
2022-03-28T14:12:53.3772510Z ##[error]PowerShell exited with code '1'.
2022-03-28T14:12:53.4290097Z ##[section]Finishing: Unpack msapp files fail on error
To Reproduce

Unpacking

eDVIR - TEST.zip

The above noted bug is also causing issues for us in our pipelines.  We've tried with multiple versions of the PAC CLI and are facing the same issue.  Any workarounds or fixes that could be shared would be greatly appreciated!

We are able to use the tool if we go back to version 1.12.2, however latest version does not work when attempting to unpack a canvas app

As of today we are unable to use pac to unpack our canvas app

@jjaramillo  can you mail me your msapp as a repo, at nthekkumpat at microsoft dot com?

@gerald560 for your specific example in the eDVIR - TEST.zip app provided, it appears this is happening due to a (now fixed) bug that caused the "Access app scope" property for custom components to end up in an inconsistent state. To address this, first ensure that you have the latest version of PAC CLI, and then to fix your app please try the following workaround -

Re-upload the msapp back into the maker portal
Select your affected custom component
Toggle the "Access app scope" property
Save the msapp, download and try unpacking.
This should address the issue and therefore successfully unpack the msapp now.

This is currently a known issue with apps generated using a previous version of Studio and should no longer occur for apps generated using more recent versions. For those affected by the "Access app scope" property, please try this workaround, and let us know if there are any further issues.
We are aware that there are other reasons for this to occur as well, and those are still under investigation, so leaving this issue open for now.


Optimized double parsing

Avoids string allocation

Oh, interesting! I've always wanted to do this but floating point math isn't my forte. Thanks. I'll look at this later tonight. Key thing will be to make sure it behaves exactly the same as double.Parse.

I've been adding some more tests and I found at least one case where the result isn't consistent:
        Assert.AreEqual(1E-23, Convert.ToDouble("1E-23"));

        c = "1E-23".ToCharArray();
        result = ConvertUtils.DoubleTryParse(c, 0, c.Length, out d);
        Assert.AreEqual(ParseResult.Success, result);
        Assert.AreEqual(1E-23, d);

Most fractional decimal values equate to repeating fractional binary values. E.g. 0.1d == 1/10d == 1/1010b == 0.000110011001100110011…b
I notice that there's an array for positive exponents but negative exponents are calculated. I suggest having an array for the negative exponents as well. Another option is not having pre-calculated exponents at all and use Math.Pow.

Math.Pow performance sucks…

Well, I'll take your word for it. How about the negative exponents array approach?

I've made a couple of changes to make it closer to the behavior of double.TryParse and add some more tests. Main issue at the moment is the inconsistency with some negative exponents: https://github.com/JamesNK/Newtonsoft.Json/commit/38a687f68395026100d9ee3b22b10ec1b696a914#diff-1e629cf095a196fc6ef6de98ae2fbd1fR85
@eisber can you look into it?

Changes look good. I need to talk to some other folks at Microsoft about the negative exponents. I looked at 2 other code bases to get some ideas (https://github.com/JohnLangford/vowpal_wabbit/blob/master/vowpalwabbit/parse_primitives.h#L57 and an internal one). The internal one makes use of some funky approximation for the exponent, but nothing special is done for negative exponents. In general, you can get quite some performance improvements once you strip the array access checks. I know James doesn’t want /unsafe, but maybe a separate build for high-perf scenarios (using defines) and given you have the arrays under control.
@ some explanation why Math.Pow sucks for the use case here: it allows for xˆy both being double and we only need (double)ˆ(int -308…308)
Do you have some guidance how I can reproduce the build errors? I ran all the tests in VS. Not sure how I influence:
Utilities\ExpressionReflectionDelegateFactoryTests.cs(369,122): error CS0246: The type or namespace name 'MyStruct' could not be found (are you missing a using directive or an assembly reference?) [C:\projects\newtonsoft-json\Working\Src\Newtonsoft.Json.Tests\Newtonsoft.Json.Tests.Portable.csproj]
Markus
From: James Newton-King<EMAIL_ADDRESS>Reply-To: "JamesNK/Newtonsoft.Json"<EMAIL_ADDRESS>Date: Saturday, July 23, 2016 at 20:36
To: "JamesNK/Newtonsoft.Json"<EMAIL_ADDRESS>Cc: Markus Cozowicz<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [JamesNK/Newtonsoft.Json] Optimized double parsing (#969)
I've made a couple of changes to make it closer to the behavior of double.TryParse and add some more tests. Main issue at the moment is the inconsistency with some negative exponents: 38a687f#diff-1e629cf095a196fc6ef6de98ae2fbd1fR85https://github.com/JamesNK/Newtonsoft.Json/commit/38a687f68395026100d9ee3b22b10ec1b696a914#diff-1e629cf095a196fc6ef6de98ae2fbd1fR85
@eisberhttps://github.com/eisber can you look into it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JamesNK/Newtonsoft.Json/pull/969#issuecomment-234749236, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJrCTuXBAWBWZX5ANL6PZ0Y1dk822Rttks5qYrN7gaJpZM4JTHiY.

I've fixed the build error.

Added a couple more tests to my branch https://github.com/JamesNK/Newtonsoft.Json/commit/4f86f6b79ed9cf30948c2a323f75148a46c3a1e4

I benchmarked deserializing a list with 5000 double values in it a few thousand times.
Old: 1450ms
New: 825ms
Definitely seems worth it to get this finished.

I reviewed our optimized double parse implementation and it also does contain a second map for negative exponent. I added the suggested fix to my PR
Markus

Thanks!
Would it be possible to build up the list of positive and negative exponents in code with a loop in a static ctor rather than hardcoding them? Why did you choose to hardcode rather than build them at runtime?

Simply calculating 1e-23 (e.g. by 1010…*10) yield wrong results. Big issue?

They need to be hardcoded because calculating them will lose precision?

Yes, essentially you accumulate some numeric error.

I'm not sure if you ran the unit tests but there are now other tests that are failing, e.g.
Input string: 0.25e-5
Expected: 2.5000000000000002E-06d
But was:  2.4999999999999998E-06d

Hi @eisber. When do you think you'll get a chance to look at this? I would fix it myself but I don't have much knowledge around floating point errors that I've described above.

In my branch, https://github.com/TylerBrinkley/Newtonsoft.Json/commit/5fd78b21f5bcb3cd573980b6e4e84665ee434c3e, I've made the mantissa be stored in a ulong instead of the double to prevent accumulating numeric error. Also, to get all of the unit tests to pass, I added a case where if the negative exponent is less than 23 to divide from the positive exponents array instead of multiply from the negative exponents array.

What about using BitConverter.Int64BitsToDouble. That way you can convert the complete binary representation (as a long) directly into a double. The .net core code looks like it's just a pointer cast.
public static unsafe double Int64BitsToDouble(long value) {
    // If we're on a big endian machine, what should this method do?  You could argue for
    // either big endian or little endian, depending on whether you are writing to a file that
    // should be used by other programs on that processor, or for compatibility across multiple
    // formats.  Because this is ambiguous, we're excluding this from the Portable Library & Win8 Profile.
    // If we ever run on big endian machines, produce two versions where endianness is specified.
    Contract.Assert(IsLittleEndian, "This method is implemented assuming little endian with an ambiguous spec.");
    return *((double*)&value);
}

@BrutalSimplicity it doesn't really plays out that well.
I've made some tests, comparing the implementation from @TylerBrinkley (with one double multiplication) with the one manually "packing" a double (based on NumberToDouble native function from coreclr sources), and it turns out that two lossy ulong multiplications in managed code (with no appropriate inlining) are performing worse, especially when in 32-bit mode, and it involves more branching too.
My test results for 10M iterations:
No optimization, 64-bit
    double.TryParse: 1526ms
    TylerBrinkley's: 1030ms
    CustomPack:      1149ms

No optimization, 32-bit
    double.TryParse: 1366ms
    TylerBrinkley's: 1228ms
    CustomPack:      1552ms

Optimize, 64-bit
    double.TryParse: 1399ms
    TylerBrinkley's: 314ms
    CustomPack:      354ms

Optimize, 32-bit
    double.TryParse: 1274ms
    TylerBrinkley's: 492ms
    CustomPack:      556ms

I just have to point out an error in @TylerBrinkley implementation. Since exponent > MaxExponent is checked before correcting decimal points, expressions like 0.025E+309 result in overflow, while double.Parse produces correct result 2.5E+307.

@pieceofsummer, that's very interesting. Do you have your source posted anywhere? I'd like to look at how you did it. As for the bug with numbers like 0.025E+309, that was fixed in my second commit. See https://github.com/JamesNK/Newtonsoft.Json/compare/eisber-master...TylerBrinkley:eisber-master
Technically, valid json numbers must start with a digit but if .1E23 would parse in the latest version of Json.NET then we should preserve that behavior.

@TylerBrinkley sure, https://gist.github.com/pieceofsummer/a555baa83a3c6f71925dac9f2d8b2d86.
I was too lazy to write my own parser, so I just took yours (with minimal changes).

@pieceofsummer, awesome work on porting that over to C#. I'd much prefer using your packing implementation as it should produce the same results as double.TryParse which would be critical to prevent breaking changes, per @JamesNK

Key thing will be to make sure it behaves exactly the same as double.Parse.

The slight performance drop would be well worth that guarantee. Additionally it has a smaller static array footprint than the 616 doubles in the current implementation. I tested your code and it's passing all of the tests. To get your changes in you could you fork my branch and insert your packing implementation and then submit a new pull request or I could insert your packing implementation in my branch and then submit a new pull request but I wouldn't want to take credit for your hard work porting that packing implementation over to C#.
It looks like Json.NET allowed any values that could be double.TryParse'd so .1E23 should be allowed as well as 1.E23. I've updated my branch to allow that.

@TylerBrinkley it would be #1010 now

It looks like Json.NET allowed any values that could be double.TryParse'd so .1E23 should be allowed as well as 1.E23. I've updated my branch to allow that.

I want the new method to reject those as invalid. The only place that this will be used is JsonTextReader and the spec requires that doubles follow an exact format. For converting from a string to a double Json.NET can keep using double.TryParse

@eisber Do you have any thoughts on the changes in the new PR #1010? I'd like to hear what you think before replacing some of your implementation.

I looked through the PR and seems reasonable. The code is started was more concerned with speed than with BCL compatibility, thus this seems the right move.
Had another look at our optimized parse implementation and it’s also clearly optimized for speed and sacrifices BCL compatibility.
Markus
From: James Newton-King<EMAIL_ADDRESS>Reply-To: "JamesNK/Newtonsoft.Json"<EMAIL_ADDRESS>Date: Saturday, September 10, 2016 at 05:20
To: "JamesNK/Newtonsoft.Json"<EMAIL_ADDRESS>Cc: Markus Cozowicz<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [JamesNK/Newtonsoft.Json] Optimized double parsing (#969)
@eisberhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feisber&data=02|01|marcozo%40064d.mgd.microsoft.com|36b7a578fe8442c80a4808d3d95bbe3a|72f988bf86f141af91ab2d7cd011db47|1|0|636090960454464355&sdata=sKkO9tGawApY29vhngZyJGhnBu8xZcFZuzDPy%2FLIOy8%3D Do you have any thoughts on the changes in the new PR #1010https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJamesNK%2FNewtonsoft.Json%2Fpull%2F1010&data=02|01|marcozo%40064d.mgd.microsoft.com|36b7a578fe8442c80a4808d3d95bbe3a|72f988bf86f141af91ab2d7cd011db47|1|0|636090960454464355&sdata=B23sCb5o2RGkJmoOyrTKb2%2FeFLSZAvGY9DqfP46VfT0%3D? I'd like to hear what you think before replacing some of your implementation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJamesNK%2FNewtonsoft.Json%2Fpull%2F969%23issuecomment-246101610&data=02|01|marcozo%40064d.mgd.microsoft.com|36b7a578fe8442c80a4808d3d95bbe3a|72f988bf86f141af91ab2d7cd011db47|1|0|636090960454464355&sdata=%2BTnr4SnMPqRjRZU0QWXDfq40VIWBTwVC7WkdVpvRvag%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJrCTmXxTOjbZpL-BQdYVrCsMCQMtTw2ks5qonZqgaJpZM4JTHiY&data=02|01|marcozo%40064d.mgd.microsoft.com|36b7a578fe8442c80a4808d3d95bbe3a|72f988bf86f141af91ab2d7cd011db47|1|0|636090960454464355&sdata=WkRzKQj%2BdSMQILFBJkZzZQfY6C5pAh4K3H%2Ff8jfTZaQ%3D.

Done

I was just poking around System.Runtime.Numerics and discovered they already have a C# double packing implementation in the file NumericsHelper.cs. No offense to @pieceofsummer but I'd be more comfortable with using their double packing implementation assuming its results are the same as what's used in double.Parse. Any thoughts?

Disregard, I think that double packing implementation is for values in base-2.


Fixed Typo - CLI Test

Merge this to run CLI-Tests

Why is this name change needed? @alitariq4589 is responsible for the CI filename. @alitariq4589 What should be the filename?

Actually it is corrected in Pull request #2 yesterday, but since i also send the PR so it was not added in my fork


Buttons on left and right in md-card-actions

Bug, feature request, or proposal:
Proposal to create an internal element to align the butons inside a md-card-actions.
What is the expected behavior?
Cards can have buttons both on the left and right.
https://material.io/guidelines/components/cards.html#cards-actions

What is the current behavior?
Buttons can only be aligned to the left or aligned to the right.
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
https://github.com/angular/material2/commit/82d752b59e30a8a0f492a10f488464be784aba72
Is there anything else we should know?

It can easily be done with CSS (flex) or using fxFlex:
<md-card-actions>
  <button md-button>ACTION 1</button>
  <div fxFlex></div>
  <button md-button>ACTION 2</button>
</md-card-actions>

I was looking for that as well.
The solution with flex spacer item (flex: 1 1 auto;) is only working by setting align="end" in <md-card-actions>.

Confirmed on version https://github.com/angular/material2/commit/73aa43e98b8bf2782daf59bb7e7d12fa6a1b5604
The fsFlex solution still working with @angular/flex-layout 2.0.0-beta.8

We think this is something that should just be done in user-space css.

Thank you so much.


Android app keeps dropping the model after first inference

First off, this app is great, so thank you for creating something like this!
But the issue, once I load the model and go into my session, after I enter a prompt and it finishes the first response, I'll go to respond and it'll give me a pop-up saying to choose a model. I'll then choose a model, hit the back arrow at the top of the screen, but I'll still get the same message when I try to respond. And when it inevitably takes me back to the model settings page, there's no model loaded.
I'm on an unrooted Pixel 7 Pro, if that matters. With 11gb of RAM. And the latest version of the app.

Hmm, OK it seems like 2 things are happening here that ill have to look at.

The main issue is the model is being dropped after generation
Once you reset the model in the model menu the local generation is also reset (This is expected behavior for now as any time you navigate away from the chat page the local generation is reset).

Ive encountered a lot of issues like this since Ive switched to using providers for state management so that's probably whats causing the issue

Id also just like to add my 2 cents, im on pixel 7 not pro 7gb ram.
1.1.3 crashes out after prompting for the first time anything over a 3B model.
1.1.2 crashes out after prompting any model for the first time.
1.1.1 and 1.1.0 work with anything up to 7B but are considerably slower than 1.0.9. which is the current version I'm using because of the speed and the reliability.
Normal bugs I come across are that if I scroll down while the text is streaming it bugs out and goes back to the typing animation and doesn't regenerate, and changing basically any of the parameters results in a crash when prompting.
Not really looking for solutions just wanted to give feedback.

do me a favor and try this build:
https://github.com/MaidFoundation/maid/actions/runs/7100132850
it should be fixed now

Can you put out a new release with this fix? I'm away from my desk for a week and can't build it for testing

I switched browsers and it's working now. Thanks.


When using vaadin-context-menu-items as root-level components, overflowing items have incorrect styling

This is the case for the Flow component implementation. Overflowing items have theme="menu-bar-item" (added in #63), which causes the item text contents to be centered in the overflow overlay. If this theme attribute is relevant only when the item is inside a button, it should be cleared when the item overflows.

The theme is also relevant for icons but I agree that centering should be avoided in overflow submenu.
Will try to use inherit for flex alignment properties and see if that helps.


Support multiple dependencies

PR Checklist

[x] Tests are added
[x] Documentation, if applicable

Description
in the case of mutual influence between multiple packages of different versions, 2 sets of dependencies need to be provided simultaneously. To meet this benchmarking requirements, you can use --deps-list:
> DEPS_LIST=<Dependencies List>
> julia --project=benchmark benchmark/runbenchmarks-cli.jl --deps-list=$DEPS_LIST

For specification, Dependencies List is a single string that simulates an array, with each element separated by a semicolon. Each element consists of two parts:

the first part is a dependent version,
the second part is another dependent version.

e.g.
><EMAIL_ADDRESS>> julia --project=benchmark benchmark/runbenchmarks-cli.jl --deps-list=$DEPS_LIST

Test & Example
I slowed down intentionally in dummy-benchmark-test.
> julia --project=benchmark benchmark/runbenchmarks-cli.jl<EMAIL_ADDRESS>
Baseline Manifest.toml:
[[Flux]]
deps = ["Adapt", "CUDA", "ChainRulesCore", "Functors", "LinearAlgebra", "MLUtils", "MacroTools", "NNlib", "NNlibCUDA", "OneHotArrays", "Optimisers", "Preferences", "ProgressLogging", "Random", "Reexport", "SparseArrays", "SpecialFunctions", "Statistics", "Zygote", "cuDNN"]
git-tree-sha1 = "3e2c3704c2173ab4b1935362384ca878b53d4c34"
uuid = "587475ba-b771-5e3f-ad9e-33799f191a9c"
version = "0.13.17"

[[NNlib]]
deps = ["Adapt", "Atomix", "ChainRulesCore", "GPUArraysCore", "KernelAbstractions", "LinearAlgebra", "Pkg", "Random", "Requires", "Statistics"]
git-tree-sha1 = "72240e3f5ca031937bd536182cb2c031da5f46dd"
uuid = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
version = "0.8.21"

Target Manifest.toml:
[[Flux]]
deps = ["Adapt", "CUDA", "ChainRulesCore", "Functors", "LinearAlgebra", "MLUtils", "MacroTools", "NNlib", "NNlibCUDA", "OneHotArrays", "Optimisers", "ProgressLogging", "Random", "Reexport", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "Zygote"]
git-tree-sha1 = "c258e51850ac1fdc465f62380a61995d4a66d603"
uuid = "587475ba-b771-5e3f-ad9e-33799f191a9c"
version = "0.13.12"

[[NNlib]]
deps = ["Adapt", "Atomix", "ChainRulesCore", "Dates", "GPUArraysCore", "KernelAbstractions", "LinearAlgebra", "Pkg", "Random", "Requires", "Statistics"]
git-tree-sha1 = "153fb5ebc689bcbf3bae788154ed3ce40ac0b611"
repo-rev = "dummy-benchmark-test"
repo-url = "https://github.com/skyleaworlder/NNlib.jl"
uuid = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
version = "0.8.20"


Fix the precedence of UnaryPostFix in the presence of fast pipe

this fixes the case where parsing (event->target^)##value; would be
interpreted as (event->(target^))##value;

Thanks!


v1.12 backports 2023-03-11

v1.12 backports 2023-03-11

[ ] #23874 -- Check stale cilium endpoint flag before cleaning endpoints (@sjdot)

Once this PR is merged, you can update the PR labels via:
$ for pr in 23874 ; do contrib/backporting/set-labels.py $pr done 1.12; done

/test-backport-1.12

/test-1.23-4.19


Issue #18 & #24, but in 1.3.2

Yes, I know this is a duplicate issue, but in #24, his screenshot of the MHUD2.log is different than mine.

That is what mine looks like, and I see no reference to boost:interprocesscommunication in my file, it is in his file though.

That's because that's not MHUD2.log, that's MHUD2.log.conf.
Can you try the version I posted in this issue (as admin and non-admin):
https://github.com/networkMe/missinghud2/issues/26
It may fix your issue.

The MEGA worked, thanks


Need some kind of mock YNAB API to run the tests against

Currently I'm running tests against one of my own "test budgets" but that makes it impossible for anyone else to develop with. I need a way to run a mock YNAB Rest API for the tests.

Will need to expand the capabilities as more tests are written, but the basics are in place.


Should ignore www/lib

When we start a project with ionic-cli a .gitignore file is create.
I think we should ignore the www/lib repository because it contains the bower dependencies of the project and we don't need to keep track of them.

@5im0n for now, we are going to leave that decisions to the developers who use ionic. Thanks for the suggestion!

+1 for gitignoring www/lib
package.json exists in the file tree generated by ionic start and declares misc dependencies managed via npm, to be installed in node_modules, which is in .gitignore by default
bower.json  exists in the file tree generated by ionic start and declares mich dependencies managed via bower, to be installed in www/lib, ...


Validate the volume ID when deleting

Current code doesn't check if the volume ID from the request exist
or not, so it always try to delete the volume even that volume doesn't
exist. This PR adds volumeID validation code and return error response
if that volume is not there.
Signed-off-by: Dennis Chen<EMAIL_ADDRESS>

I can't understand the rationale bind the test that for an invalid volume in the request, the operation will be expected to be successful -- actually it does not but the user maybe get an illusion that the request has been completed in the driver side.

/cc @lpabon

Just check the CSI spec, for an invalid volume ID, the Plugin MUST reply with 0 OK. so close this PR.


ClangImporter: correct a duplicated path component

When computing the path for a non-architecture specific resource, we would append the architecture unconditionally if -sdk is used.  This would result in the path being miscomputed with the architecture or the architecture duplicated if it was architecture specific.
Found by inspection.
Explanation: Correct the location for resources relative to the SDK root
Scope: This fixes the Windows target's use of CxxShim which is required for C++ interop which would not be found otherwise.
Issue: #67715
Risk: This impacts only targets that use -sdk (Darwin, Windows).  However, this can be further refined to the location of resources that are SDK relative.  Darwin places the toolchain resources entirely with the toolchain and not as SDK relative like Windows, which means that those paths should technically not be impacted, though the code path is shared.
Testing: What specific testing has been done or needs to be done to further validate any impact of this change?
Reviewer: @hyp @egorzhdan

@swift-ci please test


Split images in Makefile

Changes have been manually merged into branch, and I've forced pushed an update.


DEC D implementation and tests

Coverage remained the same at 100.0% when pulling 2cf42730ad0334c080bd198a21e2b4a55000d047 on decd-implementation into a9193a5cb404ccd167fa12dbad793f4317b83c1f on master.


Implement measurement screen for Web Connectivity tests

This implements the details view for WebConnectivity tests. I used the render props pattern
Reachable

Anomaly

I used the render props pattern to pass parameters up the render tree to parent components. More specifically, the test-specific component for details (in this case components/nettests/websites/WebConnectivity.js) sends pieces of information to its parent component MeasurementContainer to construct the Hero component, which needs to know what WebConnectivity.js wants to convey.
The traditional way to do this would be do let the test-specific components render the entire screen (Hero + Details) in their own render function. This would obviously result in duplicating a pile of code across each test screen.
The test detail component can also build the entire content for <Hero> if it choose to, and pass it in the hero of the render function, which would then make <MeasurementContainer> use that one instead of the templated one defined in <StickyHero>. This can be useful when implementing <Dash> and <NDT> down the line.

One interesting thing to note about render props is that you can implement most higher-order components (HOC) using a regular component with a render prop.

Seems potentially useful for ReactNative!


⚠ ClamAV has degraded performance

In 3545c28, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 83 ms

Resolved: ClamAV performance has improved in b34e9e3.


Problem with invalid field type:

Hi,
I'm trying to understand why I'm getting invalid field type: <nil> from that TICK:
var deadlocks = stream
    |from()
        .database('telegraf')
        .retentionPolicy('default')
        .measurement('mysql')
        .where(lambda: 'innodb_deadlocks' >= '0')
        .groupBy('host', 'dc')
    |window()
        .period(3m)
        .every(20s)

var max_deadlocks = deadlocks
    |log()
    |max('innodb_deadlocks')

var min_deadlocks = deadlocks
    |min('innodb_deadlocks')

max_deadlocks
    |join(min_deadlocks)
        .as('max_deadlocks', 'min_deadlocks')
    |eval(lambda: "max_deadlocks.max" - "min_deadlocks.min")
        .as('count')
    |alert()
        .id('{{ .Name }}/{{ index .Tags "host" }}/{{ index .Tags "dc" }}')
        .message('{{ .ID }} is {{ .Level }} innodb deadlocks: {{ index .Fields "count" }} in last 3min')
        .warn(lambda: "count" > 0)
        .crit(lambda: "count" > 5)
        .stateChangesOnly(1m)
        .slack()

error log looks like (without not-important fields):
[edge:dev_dis_db_deadlocks|window2->min5] 2016/06/23 21:29:20 I! aborting c: 1 e: 1
[dev_dis_db_deadlocks:min5] 2016/06/23 21:29:20 E! invalid influxql func min with field innodb_deadlocks: invalid field type: <nil>
[dev_dis_db_deadlocks:log3] 2016/06/23 21:29:20 I!  {mysql dc=XYZ,host=dev-db, 2016-06-23 21:29:20 +0000 UTC map[dc:XYZ host:dev-db] [{2016-06-23 21:29:00 +0000 UTC map[commands_alter_server:0 commands_assign_to_keycache:0 […] innodb_deadlocks:0 […]
[edge:dev_dis_db_deadlocks|log3->max4] 2016/06/23 21:29:20 I! aborting c: 1 e: 1
[dev_dis_db_deadlocks:max4] 2016/06/23 21:29:20 E! invalid influxql func max with field innodb_deadlocks: invalid field type: <nil>
[task_master:main] 2016/06/23 21:29:20 E! Stopped task: dev_dis_db_deadlocks max4: invalid influxql func max with field innodb_deadlocks: invalid field type: <nil>
[task_store] 2016/06/23 21:29:20 E! task dev_dis_db_deadlocks finished with error: max4: invalid influxql func max with field innodb_deadlocks: invalid field type: <nil>

Based on the log there is innodb_deadlocks field from |log() just before max('innodb_deadlocks') and still I'm getting invalid field type: <nil>.

First, single quotes versus double quotes have different meanings.

Single quotes are string literals
Double quotes are references to a field or tag. Double quotes are only used in lambda expressions.

You probably meant to do this:
        .where(lambda: "innodb_deadlocks" >= 0)

This error invalid field type: <nil> is saying that you can't take the min/max etc of a nil value.
You can use the  DefaultNode to set a default value.
Also have you seen the Spread function which does exactly what you are doing in one pass.


crash on world load

Describe the bug
game crashes when you hit "create world"
To Reproduce
install my modpack, i guess? try to load up a world with the added preset, boom! crash. look, honestly, i know it's probably a different mod, im just trying to find out what the mod incompatibility issue is.
Expected behavior
hm, wow, such a mystery, i really hoped to actually be able to play the game after hitting "create world"
Screenshots
Error Logs
i have pastebin
https://pastebin.com/f6LUQiu2 - crashlog
https://pastebin.com/5VRQZfDu - latest.log
Version (please complete the following information):

What version of TerraPlusPlus are you using?
terraplusplus-<IP_ADDRESS>9-1.12.2.jar
What version of the BTE Modpack or Server pack are you running? (If applicable)
N/A

This issue is not related to Terraplusplus, but to the Cubic Chunks mod, which probably has some conflicts with one of the mods you added to the mod pack.
For this reason, see the Cubic Chunks compatibility report:
https://github.com/OpenCubicChunks/CubicChunks/issues/448

It's definitely anything that is World Gen related (my guess being Serene Seasons, GUNS RPG, Dynamic Trees, Dooglamoo Cities, The Lost Cities, etc)
Or could be you running Sponge.


Fix decoder error on SM2 private key

Checklist

Should fix: https://github.com/openssl/openssl/issues/25234

Could you please add a testcase?

Could you please add a testcase?

yep

Merged to all the active branches. Thank you for your contribution.


Convert dynamic casts to static casts

dynamic_cast's as used in block comparisons show up in the profiler in a significant way, and it's probably even worse on msvc (which lowers to a mess of string comparisons)
This converts the dyncasts to type()-check + static_cast, which doesn't show up in the profiler at all.
Dynamic casts are used elsewhere too, but in less perf' critical paths, so they can be dealt with later.

LGTM


(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint

2022-11-03T19:07:58.105547Z [info     ] sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "time_entries_pkey" cmd_type=elb consumer=True name=target-postgres-scary producer=False stdio=stderr string_id=target-postgres-scary                                                                                2022-11-03T19:07:58.105706Z [info     ] DETAIL:  Key (id)=(2476791081) already exists
Will need to check on the tap data here, I know this tap with the same data runs with other targets.

Sometimes taps send records with the same primary keys multiple times. We should keep the last one that was sent. tap-toggl does this as an example.


make light theme colors default for toggle to work

Tested in branch deploy. Now it's actually working as intended.


tests: check if properties are maintained after class method

@thomasaarholt as requested, some tests which need to pass regarding this issue: https://github.com/JakobGM/patito/issues/15

Awesome! Thanks for doing this! We'll run this test as we migrate!

@thomasaarholt I've actually also added a fix now that should pass this test :) Would be great if you could merge this and the other PR!

Closed since not required anymore


Styles are not preloaded when using with nuxt build

I am using this package as a nuxt module @nuxt.config.js: modules['vuetify-dialog/nuxt']. Everything works as expected during development, but when you run the build nuxt build -> nuxt start the styles are not pre-loaded. But if I add the vuetify dialog component manually to the component where I have to call a confirmation dialog via this package the styles are fine.

Hi, @vrtxims. Module vuetify-dialog doesn't have own styles to dialog, it use vuetify components, witch has own styles. Perhaps you use a-la-carte vuetify logic? You must install vuetify components  manually in your project (VDialog, VCard, ... and other)

Hey, @yariksav, thanks for your time, this is how vuetify is initialized:
import Vue from 'vue'
import Vuetify from 'vuetify'
import colors from 'vuetify/es5/util/colors'

Vue.use(Vuetify, {
  theme: {
    primary: '#20bf55',
    accent: '#ba1c22',
    secondary: '#ed1c24',
    info: colors.teal.lighten1,
    warning: colors.amber.base,
    error: colors.deepOrange.accent4,
    success: '#20bf55'
  }
})

Works in dev still, do you have any suggestion?

Importing each component separately solves the issue.
https://vuetifyjs.com/en/framework/a-la-carte

For somebody who have this problem in latest versions of nuxt.
"vuetify-dialog": "^1.0.0-alpha.1"

Add to your nuxt.config.js vuetify-dialog/nuxt in your modules section.

modules: ["vuetify-dialog/nuxt"]

Create vuetifyDialogDependencies.js in plugins folder with that inside it:

import Vue from "vue";
import Vuetify from "vuetify";

Vue.use(Vuetify);

Add ~/plugins/vuetifyDialogDependencies to your plugins section in nuxt.config.js

plugins: ["~/plugins/vuetifyDialogDependencies"]

But the main problem here that we loading whole vuetify... Listing all of dependencies as in #30 as @baccenfutter did - didn't help me.

Seems to be fixed in<EMAIL_ADDRESS>Thanks @yariksav


FocusNode.requestFocus not working

Hi! I'm trying use a requestFocus in my focusable widget after mouse-clicking on it.
The focus is changing correctly by tab key.
Is there any relationship to the issue (https://github.com/flutter/flutter/issues/97013) about _ModalScopeState?
After clicking on the widget, the focus goes to _ModalScopeState and not to my focusNode.
Steps to Reproduce

Click on the center area focusable widget.
It doesn't gain focus.

Code
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}

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

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

class _MyHomePageState extends State<MyHomePage> {
  final FocusNode _focusTopNode = FocusNode(debugLabel: 'top');
  final FocusNode _focusCenterNode = FocusNode(debugLabel: 'center');
  final FocusNode _focusBottomNode = FocusNode(debugLabel: 'bottom');
  @override
  void initState() {
    super.initState();

    FocusManager.instance.addListener(handlePrimaryFocusChange);
  }

  @override
  void dispose() {
    FocusManager.instance.removeListener(handlePrimaryFocusChange);
    _focusTopNode.dispose();
    _focusCenterNode.dispose();
    _focusBottomNode.dispose();
    super.dispose();
  }

  void handlePrimaryFocusChange() async {
    print('Focused: ${FocusManager.instance.primaryFocus?.debugLabel}');
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Padding(
            padding: const EdgeInsets.all(32),
            child: Column(
                crossAxisAlignment: CrossAxisAlignment.stretch,
                children: [
                  TextFormField(focusNode: _focusTopNode, initialValue: 'top'),
                  const SizedBox(height: 16),
                  Expanded(
                      child: Container(
                          decoration: BoxDecoration(border: Border.all()),
                          child: Listener(
                              behavior: HitTestBehavior.translucent,
                              onPointerDown: (pointer) {
                                print('Clicking on center...');
                                _focusCenterNode.requestFocus();
                              },
                              child: Focus(
                                  focusNode: _focusCenterNode,
                                  onFocusChange: (focused) => setState(() {}),
                                  child: Center(
                                      child: Text(
                                          'focused: ${_focusCenterNode.hasFocus}')))))),
                  const SizedBox(height: 16),
                  TextFormField(
                      focusNode: _focusBottomNode, initialValue: 'bottom'),
                ])));
  }
}

Flutter doctor
[✓] Flutter (Channel stable, 3.0.4, on Ubuntu 20.04.4 LTS 5.13.0-52-generic, locale en_US.UTF-8)
    • Flutter version 3.0.4 at /cadu/desenv/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (3 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

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

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

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.2)
    • Android Studio at /cadu/desenv/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2)
    • IntelliJ at /cadu/desenv/idea-IC-211.7628.21
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.68.1)
    • VS Code at /usr/share/code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • moto g 9 plus (mobile) •<PHONE_NUMBER> • android-arm64  • Android 11 (API 30)
    • Linux (desktop)        • linux      • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-52-generic
    • Chrome (web)           • chrome     • web-javascript • Google Chrome 103.0.5060.53

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

• No issues found!

Hello @caduandrade. Your sample code seems to work for me. I am able to gain focus on clicking the text. Tested on MacOS
Video
https://user-images.githubusercontent.com/50555895/177133913-59df67b4-a218-4a77-bc87-fb79dcda260a.mov

flutter doctor -v (Stable)
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.0.4 at /Users/nabeelparkar/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (3 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

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

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

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

• No issues found!

flutter doctor -v (Master)
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1493, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.1.0-0.0.pre.1493 on channel master at /Users/nabeelparkar/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 66c9d44bc0 (5 minutes ago), 2022-07-04 02:34:04 -0400
    • Engine revision 90376212bf
    • Dart version 2.18.0 (build 2.18.0-250.0.dev)
    • DevTools version 2.15.0

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

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

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

• No issues found!

Hi @exaby73 ! What you did works for me as well. Sorry, maybe I didn't explain it right. I was saying to click on the center area. Now I edited the example to show a border. When clicking on the Text, it works. But if click on the Listener area (center area), don't. I'm using HitTestBehavior.translucent, should receive events within all Listener bounds right?
I'm interested in the central area because in my real case, there is no Text, I put it here just to simplify the feedback.

Ah I see what you mean. I tested on an iOS simulator, and the focus works as you described it, while it doesn't on Desktop. On web, it also doesn't work but I can notice a flicker where it get focus for a single frame.
Flicker on web
https://user-images.githubusercontent.com/50555895/177168426-cbff34f8-0b05-498b-a958-72ef8d7237a2.mov

flutter doctor -v (Stable)
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.0.4 at /Users/nabeelparkar/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (3 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

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

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

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

• No issues found!

flutter doctor -v (Master)
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1493, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.1.0-0.0.pre.1493 on channel master at /Users/nabeelparkar/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 66c9d44bc0 (5 minutes ago), 2022-07-04 02:34:04 -0400
    • Engine revision 90376212bf
    • Dart version 2.18.0 (build 2.18.0-250.0.dev)
    • DevTools version 2.15.0

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

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

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

• No issues found!


filter CL graph by Uberon term

Selecting an Uberon term in the search field subsets graph to selected CL terms

This subset also applies if user has subset by ancestor in CL, as in this case, subset to neuron:

Open question whether this functionality preserves ancestors — could be user choice


Live preview reloads when adding a new workspace root

Testing https://github.com/microsoft/vscode/issues/158835
Repro:

Clone xterm.js
Add it and another as a workspace
Open demo/index.html
Add another workspace

🐛 The html page visibly reloads but should not since the xterm.js root and port remain the same

It's so strange; I was only able to replicate it once (but luckily, i was recording).

Did the add edit any files automatically?

would it be possible at all to try run vscode with only live preview installed to see if it runs into the bug?

I disabled them all except live preview and tried and it does happen:

Since this is not closed, i'm going to add as its a similar issue.
The Live-Preview reloads to changes made to any directory within the workspace, even if not root.
This includes the .git folder. (Which is included in root, but it should not trigger reloads.
Running "git fetch" does not change or edit any file, but it does also trigger a reload, as if anything had changed.
This is particular noticeable if the Autofetch option is enabled within vscode.
It will automatically reload the page on every fetch, even though there are no changes to the preview files at all.
Live-Preview Auto-Refresh option is set to "On Save"

Unfortunately, we can't quite see what causes changes in a preview (ie: one file might source parts from another). That's why it updates if git changes the files in any way. I could see this resolved if we introduce live preview ignore path settings, which I created an issue for here https://github.com/microsoft/vscode-livepreview/issues/548


Update building-net-docker-images.md

asp.net 7 SDK runtime is required for .NET 7 projects

Internal previews

📄 File
🔗 Preview link

aspnetcore/host-and-deploy/docker/building-net-docker-images.md
Docker images for ASP.NET Core

Thanks for the fix.
I should probably update this for .NET 8, right? I could do the moniker prep for you if you're interested in PR'ing the .NET 8 version.

Sure, I will be happy to do.


Create Owners File

This is used to be able to create your maintainers mailing list.
Envoy's Owners file, for example:
https://github.com/envoyproxy/envoy/blob/main/OWNERS.md

Link to file in onboarding issue.

Closed by #37


[Softdeleteable] Problem with deleting proxy

Hi,
i have a problem with deleting proxy of entity. The problem is, when subscriber call $old->getDeletedAt() from here: https://github.com/KnpLabs/DoctrineBehaviors/blob/master/src/ORM/SoftDeletable/SoftDeletableSubscriber.php#L54, uow set entity back to MANAGED state (proxy is loaded) and it leads to fail, because next persist method doesn't remove this entity from scheduleForDelete queue.
This can be possibly dangerous, because it delete entity from db.
My resolution is to add preRemove event to subscriber, which loads the proxy.
public function preRemove(LifecycleEventArgs $args)
	{

		$em = $args->getEntityManager();
		$entity = $args->getEntity();
		$classMetadata = $em->getClassMetadata(get_class($entity));

		if ($this->isSoftDeletable($classMetadata) && $entity instanceof Proxy && !$entity->__isInitialized__) {
			$entity->__load();
		}
	}

 public function getSubscribedEvents()
    {
        return [Events::onFlush, Events::loadClassMetadata, Events::preRemove];
    }

Hi, we need failing test case to be added to verify the issue.
Then a fix you suggest, to prove it's been removed.
Feel free to send PR if you need.
I'm gonna close this now since the issue is more than a year old the has been changed a lot.

This is still an issue. I had to use martinknor's solution to bypass this problem.


Customised time windows do not stick when triggering image

When you are querying Bosun for data in the expression editor, with a customised time window, you will see the correct data shown underneath the query, but the image will show the data from now, not the provided window
For example, in the expression editor, you might set a date/time of 2015-11-16 00:00:00 and query:
lscount("logstash", "somevalue", "", "1m", "15m", "")

or
q("sum:rate{counter,,1}:dns.query.queries{host=*}", "1h", "")

And in the preview data below the form you will get the correct data. But if you click the "image" link, you will see the data for right now, not the 2015-11-16 00:00:00 start date specified.
It looks like the ?now=1447708010 parameter on the end of the generated URL is not respecting the time provided.

Seems OK now


[Bug]: Control errors of js scripts of the ddbb

Contact Details
No response
What happened?

I updated the plugin at the last update and reloaded Obsidian

I tryed to open a database with a dataview query

I had the message about some default value

I have now a blank page instead of database

In console, the following error appear :

After quit and reopening Obsidian, the following error appear :

What platform were you using?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

it's a bit strange error
try to change the formulas folder of your database to an empty one, there may be a script that breaks something on startup, I'm working on error handling

Good catch. I think my templater script can broke with the default settings. Using a new folder works.

I continue to have the error "Columns…."
Any edit on my database are reverted.

I don't understand what you mean by the "Columns..." error, could you share an example?

Internally, the plugin read the yaml of your md database file. If the property columns: is empty will load a default value

%% dbfolder:yaml
name: new database
description: new description
columns: <= This one
  __file__:
    key: __file__
    input: markdown
    label: File
    accessorKey: __file__
    isMetadata: true
    skipPersist: false
    isDragDisabled: false
    csvCandidate: true
    isHidden: false
    sortIndex: -1
    config:
      enable_media_view: true
      link_alias_enabled: true
      media_width: 100
      media_height: 100
      isInline: true
      task_hide_completed: true
      content_alignment: text-align-left
  logo:
    input: text
    accessorKey: logo
    key: logo
    label: logo
    position: 100
    skipPersist: false
    isHidden: false
    sortIndex: -1
    config:
      enable_media_view: true
      link_alias_enabled: true
      media_width: 100
      media_height: 100
      isInline: true
      task_hide_completed: true
      content_alignment: text-align-center
  pruebas:
    input: text
    accessorKey: pruebas
    key: pruebas
    label: pruebas
    position: 100
    skipPersist: false
    isHidden: false
    sortIndex: -1
    config:
      enable_media_view: true
      link_alias_enabled: true
      media_width: 100
      media_height: 100
      isInline: true
      task_hide_completed: true
  sss:
    input: select
    accessorKey: sss
    key: sss
    label: sss
    position: 100
    skipPersist: false
    isHidden: false
    sortIndex: -1
    options:
      - { label: "sszza", backgroundColor: "hsl(173, 95%, 90%)"}
    config:
      enable_media_view: true
      link_alias_enabled: true
      media_width: 100
      media_height: 100
      isInline: true
      task_hide_completed: true
config:
  remove_field_when_delete_column: false
  cell_size: normal
  sticky_first_column: false
  group_folder_column:
  show_metadata_created: false
  show_metadata_modified: false
  show_metadata_tasks: false
  show_metadata_inlinks: false
  show_metadata_outlinks: false
  source_data: current_folder
  source_form_result: "FROM \"Incidencias\""
  source_destination_path: /
  frontmatter_quote_wrap: false
  row_templates_folder: /
  current_row_template:
  pagination_size: 10
  formula_folder_path: Formulas
  inline_default: false
  inline_new_position: top
  date_format: yyyy-MM-dd
  datetime_format: "yyyy-MM-dd HH:mm:ss"
filters:
  enabled: true
  conditions:
%%

Okay but.
Adding any new column to this table doesn't work. Everything is erased each time I reload the table.

Could you share your md bbdd file? maybe something was incorrectly saved that breaks the yaml

---

database-plugin: basic

---

%% dbfolder:yaml
name: new database
description: new description
columns:
config:
 remove_field_when_delete_column: false
 cell_size: "normal"
 sticky_first_column: false
 group_folder_column:
 show_metadata_created: false
 show_metadata_modified: false
 show_metadata_tasks: false
 show_metadata_inlinks: false
 show_metadata_outlinks: false
 source_data: "current_folder"
 source_form_result: "root"
 source_destination_path: "/"
 frontmatter_quote_wrap: true
 row_templates_folder: "/"
 current_row_template:
 pagination_size: 10
 formula_folder_path: "Outils/Database Formula"
 inline_default: true
 inline_new_position: "bottom"
 date_format: "yyyy-MM-dd"
 datetime_format: "yyyy-MM-dd HH:mm:ss"
filters:
 enabled: false
 conditions:
%%

It's full of default settings.
Also, here a vid about this error :
https://user-images.githubusercontent.com/30244939/190859183-60f4da57-aa0b-4231-bf69-7def243961af.mp4

looks like , for some reason, the default column can not be read by parseYaml function after reload that file. While I found the way to fix it just create another ddbb. With new ones its read correctly.
Thanks for the report :)

Well, it's a newly created database so ?

Found the problem!
frontmatter_quote_wrap: true affects the boolean parsing of the unmarshall logic
So every column is not persisted cause  if (column.skipPersist) continue; returns a true always
While I found a way to parse it correctly turn off that property

please, try with 2.6.3 if your problem was solved

Seems to be fixed in the last version !


How to make a signed float32 multi-channel input .rec file for ImageRecordIter?

I have some multi-channel grid data ( shape is (100 x 100 x 3) ) whose type are signed float32 (e.g. -12.5486, 65.3112), and I have read them and converted them to some numpy arrays. I want to use them as 3 channel image inputs for some CNN models, and I also want to use ImageRecordIter to achieve image data augmentation, but I don't know how to pack those data correctly.
I tried mx.recordio.pack_img but it seems that it can only pack the data into .jpg or .png format, which doesn't support signed float data storage (for example, the negative float numbers will be 0, and the positive float numbers will be changed after unpacking (500.5=>255 or 497.xxxxxx or 505.xxxxxx, depending on the image format parameter I set in mx.recordio.unpack_img ) ).
I'm not familiar with mxnet data packing/unpacking/loading API, so could anyone tell me how to use multi-channel signed float32 data as the image input and apply data augmentation by ImageRecordIter in a right way? Any suggestions would be greatly appreciated.

You may want to try https://mxnet.incubator.apache.org/api/python/io/io.html?highlight=ndarrayit#mxnet.io.NDArrayIter
ImageRecordIter is designed for images.

@zhreshold
Thank you for your suggestion. But it seems mxnet.io.NDArrayIter doesn't have any ready-made functions to achieve image-like data augmentation. Is that mean I can only write some augmentation algrithm manually? I'm just very curious about the possibility of making float grid data as fake image inputs since ImageRecordIter and mxnet can handle float input.

@PhanTask - Please ask usability question at  https://discuss.mxnet.io/ .
Please reopen this issue if you face any bugs.


Allow addition of custom fields for sites

Issue type: Enhancement
It would be helpful to add custom fields to the Site so we can track additional information specific to our workflows that may not be useful to others.

This is already supported. Under the admin UI, to go Extras > Custom fields > Add and select "dcim > site" as the object type.

Sorry, thought I looked through it. I guess I thought it would be at tenant.


feat[next]: as_offset implementation in embedded

implementation of as_offset in embedded

For later reference:
Here a proposal for our multidimensional version of take https://github.com/data-apis/array-api/issues/669 (if I understand correctly, but currently there is only this https://data-apis.org/array-api/latest/API_specification/generated/array_api.take.html.

cscs-ci run

cscs-ci run

cscs-ci run

cscs-ci run


Documentation

Hey there, thanks for sharing this seems to be exactly what I have been looking for.
Can you please write some notes on the readme file about how to use this? I am new on HA. I can extrapolate What should I use in the what .yaml file. But I don't know what to do with the files outside the homeassistant folder.
I am using a Raspberry pi to run HA.
Thanks in advance :)

@ngmartins, sorry for a so late feedback. Didn't get the time to maintain the script in this repository.
Simone


Create custom ImGuiController constructor with onConfigureAction

Summary of the PR
Add a custom constructor for ImGuiController, so user can customly configure the ImGui before the first frame.
Related issues, Discord discussions, or proposals
Further Comments
The pain is the following.

I needed a Docking feature of ImGui, which is being enabled with the next code:var io = ImGui.GetIO();
io.ConfigFlags |= ImGuiConfigFlags.DockingEnable;

If I set the config flag before calling the constructor - exception (ImGui is not yet initialized)
If I set the config flag after the constructor - my docking configuration is reset (because of new frame has begun without a flag)
I also needed to load many custom fonts, which is most conviniently can be done before the first frame, so that ImGui can bake the font texture. The code is as follows:var io = ImGui.GetIO();
io.Fonts.AddFontFromFileTTF("path/to/font.ttf", 24);

Both of these pains are because of ImGuiController constructor not only initializes the ImGui, but also the resources, and more of that - begins new frame.
So I decided to add a new constructor to the ImGuiController, that allows user to customly configure the ImGui before the first frame.
This helped me do the following (adapted sample):
ImFontPtr openSansFont = null;
// Our loading function
window.Load += () =>
{
	controller = new ImGuiController(
	gl = window.CreateOpenGL(), // load OpenGL
	window, // pass in our window
 	inputContext = window.CreateInput(), // create an input context
	() =>
	{
		var io = ImGui.GetIO();
		io.ConfigFlags |= ImGuiConfigFlags.DockingEnable;
		openSansFont = io.Fonts.AddFontFromFileTTF("assets/Font/OpenSans-Regular.ttf", 18);
	}
	);
};

There is a small suggestion I need
Do I need to still do the
io.BackendFlags |= ImGuiBackendFlags.RendererHasVtxOffset;

in constructor, or in this case it should be relied to the user

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: sampletext32 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry, meant to approve the CI 😅

So is this actually ready for review or are you still working on other changes?

I think it's ready. I just don't know whom to tag)

Note @ThomasMiz might want to cast your eye on this one as area owner ;)


Add midBitsToEnd layer transform

Add new layer transform that can move a single contiguous block
of bits from a layer's content area to the end of the layer's
content area.
DAFFODIL-2109

I believe we determined this interesting layering transform isn't actually required for the data format we thought needed it.
So do we want to incorporate this into Daffodil, or abandon it.
I suggest keeping the branch even if we don't incorporate it. We might build a tutorial around it "how to write a layering addition to Daffodil", and use this sort of thing as a non-trivial motivating example.

I'd vote to just close this pull request rather than incorporating it. If we incorporate, it's just one more thing we need to support and maintain.
Note that we don't really need to keep the branch around if we do close it. Even in that case, the PR and all its comments will always exist. And the PR branch can always be fetched with
git fetch origin refs/pull/210/head:pr-210

So it is effectively part of the repository, just not one that is as visible.
I'd also say that this commit isn't that good of a tutorial for how to add a layer. It's fairly complex, and adds new features (e.g. layer arguments) that most layering things won't need. A tutorial would be good, but this has too much overhead, IMO.

I can go with that.

Closing sounds good to me as well.


Fixed let to const throughout

Replace instances where const is applicable over let

If all ok can get this merged in so I can do my last PR 👍

I'll review it properly later on / tomorrow. I'm on my phone. Family and things.

No worries Juan 👍

Ok, I have changed the linter rules to auto fix this throughout, so I can test locally and then validate changes with yours. This way avoid having to revise everychange, I did not see you changing the linter..

Ok I have done a full diff of the two branches, the tslint applies the rules if the variables are later on a parameter to another method, which is in a way correct (and easier to apply by auto-linting) also other areas that are treated as const are left as let. I will close this but i will add you to the readme as contributor :) as you initiated this.


Rap 30/tf provider update

Bumping Terraform, AWS provider version requirements.
Markdownlint fixes to README and guide docs.

Cancelling pull request temporarily as more drastic changes are planned for ECS deployment

mistakenly closed pull request - reopened


How to use Knowledge Base Chat and Search Engine Chat at the same query?

Is there any function to merge information that retrieved from search engine and local knowledge base in one query. If no, will it be added in the next version?
For example:
User Question: Is there any climate change that may affect the highway between Beijing and Shenzhen recently?
Local Info: the highway info from traffic database
Online Info: the climate change news about Beijing and Shenzhen
Answer: the analysis that based on the merged info.

理论上可以，你需要自己修改代码。相当于把两个代码文件合并到一起就可以了


moved variables from 'vars' to 'defaults'

This makes it easier to override the variables with variables in group_vars, host_vars or in the playbook when including the role in a playbook. No editing of the role needed anymore.

it will be a good idea to moving variabls to default file but we cannot include defaults/RedHat-6.yml. So we should move variables to defaults/main.yml file


Update issue templates

PR to add issue templates according to https://docs.github.com/en/free-pro-team@latest/github/building-a-strong-community/configuring-issue-templates-for-your-repository
This is related to https://github.com/nf-core/hic/pull/78 and an issue for all of nf-core where existing issue templates are not loading (see also slack discussion). I suspect that changes will have to be merged into master, so I think that prototyping new syntax in this repo (where we don't have releases and regularly merge to master) is a good idea.

Apparently I made a typo, but otherwise it looks good!

https://github.com/nf-core/nf-co.re/pull/558


Improve creation of first beneficiary

Need to make it clear how to start conducting questionnaires for beneficiaries. How to take a user from no beneficiary records to their first record.

I believe this has been achieved with #343 and #322

#385 is expected to help towards this too


add auto-import of gcsfs

[ ] Tests added / passed
[x] Passes flake8 dask
[ ] Fully documented, including docs/source/changelog.rst for all changes
and one of the docs/source/*-api.rst files for new API

cc @martindurant

Is there any way to test for this behavior?
Is there a mature Azure solution that we can add here?  (no is fine, just curious)

For Azure, I believe https://github.com/oxygenanywhere/dask/blob/master/dask/bytes/adl.py works, but it is not in a convenient location, and I don't know how we would test. Such a small piece of code could be in dask itself. Someone probably has Azure credentials, but there is no mocking library, only VCR, which is a nightmare.

@martindurant would you mind opening an issue for Azure support saying what would be necessary and pinging Travis to ping someone on the Microsoft side?  I suspect that he knows the right person to contact here.


NoSuchKey, Key not found

I'm trying to setup b2 private bucket with cloudflare following this guide. https://www.backblaze.com/docs/cloud-storage-deliver-private-backblaze-b2-content-through-cloudflare-cdn. But it's not working. Every request to the contents is returning 404 not found
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
    NoSuchKey
    <Message>Key not found</Message>
</Error>

Hi @htetlynnhtun - apologies for the delay in replying. Did you get this working? How did you configure the worker?

Hi @htetlynnhtun - that XML response indicates that the request is reaching B2, but, somehow, the filename is not correct. Are you using this with rclone's --b2-download-url option? If so, you need to set the RCLONE_DOWNLOAD variable to "true".


[Event Request] COD950 Time Sheet Management, onSetActivityInfo

Can we please have onSetActivityInfo added to GetActivityInfo in the following way to allow us to add more CASE options.
[External]
PROCEDURE GetActivityInfo@42(TimeSheetLine@1000 : Record 951;VAR ActivityCaption@1001 : Text[30];VAR ActivityID@1002 : Code[20];VAR ActivitySubCaption@1004 : Text[30];VAR ActivitySubID@1003 : Code[20]);
BEGIN
  ActivitySubCaption := '';
  ActivitySubID := '';
  ActivityCaption := '';
  ActivityID := '';
  WITH TimeSheetLine DO
	CASE Type OF
	  Type::Job:
		BEGIN
		  ActivityCaption := FIELDCAPTION("Job No.");
		  ActivityID := "Job No.";
		  ActivitySubCaption := FIELDCAPTION("Job Task No.");
		  ActivitySubID := "Job Task No.";
		END;
	  Type::Absence:
		BEGIN
		  ActivityCaption := FIELDCAPTION("Cause of Absence Code");
		  ActivityID := "Cause of Absence Code";
		END;
	  Type::"Assembly Order":
		BEGIN
		  ActivityCaption := FIELDCAPTION("Assembly Order No.");
		  ActivityID := "Assembly Order No.";
		END;
	  Type::Service:
		BEGIN
		  ActivityCaption := FIELDCAPTION("Service Order No.");
		  ActivityID := "Service Order No.";
		END;
	  ELSE BEGIN
		  //<< DC
		  onSetActivityInfo(ActivitySubCaption, ActivitySubID, ActivityCaption, ActivityID, TimeSheetLine);
		  //>> DC
		END;
	END;
END;

Publisher:
[Integration(DEFAULT,TRUE)]
PROCEDURE onSetActivityInfo@1100366017(VAR ActivitySubCaption@1100366000 : Text[30];VAR ActivitySubID@1100366001 : Code[20];VAR ActivityCaption@1100366002 : Text[30];VAR ActivityID@1100366003 : Code[20];VAR TimeSheetLine@1100366004 : Record 951);
BEGIN
END;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Mod carrier

Cherry-pick commits that introduce modcarrier command in openthread diags.

removed milestone as it was added too late


Port to Forge?

I'm curious if i's possible for Alloy forgery would have a forge version?

While it is of course technically possible for an Alloy Forge to simulate itself, no such feat has ever been attempted. All men thought to have discovered a way to do it, are said to never have been the same again - corrupted forevermore by the knowledge of All-Mighty Froge. A particularly tragic story tells of Grand Master Alfa the 3.0.0+1.18th who, after learning about the ways of Froge the Great, crafted a work of soft-ware so powerful, nothing else could withstand it. While, after all, a Hero may emerge, such is unlikely. History tells the tale of an attempt made at teaching Froge to wear clothes made of Fabric, yet none of the aforementioned are known for their success. So yes, a feat hypothetically achievable yet extraordinarily unlikely such as running Alloy Forgery on a Forge, is possible.


Just Forms ... same problem

Same problems, some notifications are coming true and some not ??  They appear in the DB, but not in the mailbox.  What can be the issue ?  Can you assist me?
Gr
Rudy

nobody will assist you, as nobody understands what problem you have


Perpetual drift on description for default_connector in cloudconnexa_network resource

I may have opened this in the wrong repo.  Please see
https://github.com/OpenVPN/cloudconnexa-go-client/issues/14

I will take a look and try to fix it

@pickgr This should be fixed in new release: https://registry.terraform.io/providers/OpenVPN/cloudconnexa/0.1.2
Feel free to test and close this issue if all will be OK.

Thank you @sahaqaa


Build shared .ts files

Hi!
I have shared code in my project, e.g. a folder structure like this:
/shared
shared1.ts
shared2.ts
/microservice1
/node_modules
package.json
microservice1.ts
tsconfig.json
serverless.yml
/microservice2
/node_modules
package.json
microservice2.ts
tsconfig.json
serverless.yml
According to what I read it is not possible to pass a YAML file via command line to serverless deploy / offline start. So the current working directory has to be inside "/microservice1" or "/microservice2".
This results in not being able to build with error:
'File '...shared1.ts' is not under 'rootDir' '...microservice1'. 'rootDir' is expected to contain all source files.',
I also can not set rootDir in tsconfig.json to "../" since it is overwritten with default './'. So the only work around I see is to work with symlinks which is IMHO a little hacky.
So is there a possibility to build these shared files?

Is there a solution for this?

I only found a workaroung:

Install serverless in the root folder of "/shared", "microservice1" and "microservice2"
in the package.json folder in "microservice1" and "microservice2" I have such a npm script "node ../node_modules/serverless/bin/serverless offline start"

Thanks @joshinator. I considered that path but my project has a backend, frontend, lambdas and shared folder and so I didn't want to corrupt the project by enveloping it with serverless configurations at the root.
The workaround I used was to use yarn link for the shared package and treat it like an independent package. I personally think this is a slightly cleaner approach.


[Rancher2] Migrate AD release note to docs

"Login to Rancher using ActiveDirectory with TLS -34325"
Since that was introduced in 2.6.0, we should now move that to docs and out of release notes. We could also do it slightly later in the 2.6.x lifecycle, but I don't think we need to carry over every note every time, or the notes get out of control.

@cbron We will add this to our retrospective as we discuss how to streamline the docs for 2.6.5 and beyond. There are several items that carry over each time, but may not be needed in each new release (such as this one). For now, we'll leave it in 2.6.4, and I'll create docs for this as requested.

[x] Remove from release notes. Updated in this commit.
[ ] Add to docs


Regrading TA-GATES dataset

Hello,
The pre-processed data you provided seems to have a specific representation.
Can you provide preprocessing code? or can you give how did you make it?
Thank you!

Oh I just found it.


docs: Specify type as egress for security group rules in example

Specify type as egress for security group rules in postgresql egress example
Description

Correct security_group_rules example to specify type = "egress" for egress rules.
Motivation and Context

By default the type is ingress, while for egress rule it's required to explicitly specify the type.
Breaking Changes

No.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 9.5.0 :tada:


Question: HOW TO ADD STAGES?!?!?!??!??!

HOW TO ADD STAGES?!?!?!?!??!?!!

Can you explain a little more, like how to add them in the source code?


Search for exact string

When searching for strings in an apk file, there's sometimes an exact camparison needed. In a relatively large app, searching e.g. for "update" will also return strings that include the word update (e.g. "updated", "will update"). This may exceed the capacity of the search, so matches are not shown.
My feature request would be that the search for a string would decide on what to check for:
"update" ➡ searches for exact strings of update
update ➡ searches for strings that include update
Additionally, /regex/i could test the string against a regex (/regex/i would match "RegEx" and "regex" but not "reg ex").

Thank you for your suggestion, I'll add your suggested features to 3.88.

Thank you for your suggestion, I'll add your suggested features to 3.88.

Instagram

Instagram


Add support for curved polylines/polygons using Bézier curves

Besides, there's plugins like https://github.com/elfalem/Leaflet.curve , so I must ask the question of what does this need to be in the Leaflet core.

so I must ask the question of what does this need to be in the Leaflet core.

My thinking was that smooth drawing (using curves and not just connecting the dots) of polylines/polygons is an essential feature and if the Leaflet core supports polylines/polygons it should also be able to draw them smoothly.

there's plugins like https://github.com/elfalem/Leaflet.curve

This particular plugin doesn't do what I want - it draws curves via SVG commands passed explicitly. I want to draw curved polygons, e.g. have an ordered set of dots and draw curves between smoothly (and automatically). It should be possible though  to transform the polygons into SVG commands by hand and pass the result to Leaftlet.curve.
I leave it up to the maintainers to decide whether this should be a core feature of the lib or it should be implemented externally.

Hi @serso,
that is a really nice idea and it is much easier to use then Leaflet.curve, but I think the best would to make a plugin out of it. If you need help with creating the Plugin, just let me know. (If you don't want to create a plugin, I would be happy to create it with your code if that's ok with you)


Why still I see the bson_ext warning even though it is installed?

Restart required
You have recently installed the bson_ext extension. Run genghisapp --kill then restart genghisapp to use it.
I restarted the app but it still shown. How can I avoid that message?

Sorry to dredge up the old issue, but I just got bitten by this.
The new message when running genghis is nice, is told me exactly which version to install. Unfortunately I had already installed without specifying the version because the output from the commandline from genghis did not include the version number.
It would have been nice if the console output also mentioned the version I needed. ;)

Help me!
C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>gem list |find "bson"
bson (3.2.1, 1.9.2)
bson_ext (1.9.2)
C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>genghisapp
C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- win32/process (LoadError)         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req uire.rb:55:in require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/backports-3.6.6/lib/backport
s/std_lib.rb:9:in require_with_backports'         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/vegas-0.1.11/lib/vegas/runne r.rb:8:in <top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/genghisapp-2.3.11/bin/genghi
sapp:12:in <top (required)>'         from C:/Ruby22-x64/bin/genghisapp:23:in load'
from C:/Ruby22-x64/bin/genghisapp:23:in `'

@doughsay unfortunately that output is coming from the bson gem and there's not much we can do about it :(
maybe detect the issue ourselves and add a second message?

@guyskk you have the exact same issue. bson and bson_ext gems have to be the exact same versions, and you should only have one of them installed. uninstall all of 'em and start over :)
if you just install bson and start up genghis, the UI will show you the exact command to run to get the right version of bson_ext.

I uninstall all bson, bson_ext, genghisapp, then install genghisapp,
C:\Users\kk>gem install genghisapp
Fetching: bson-1.9.2.gem (100%)
Successfully installed bson-1.9.2
Successfully installed genghisapp-2.3.11
Parsing documentation for bson-1.9.2
Installing ri documentation for bson-1.9.2
Parsing documentation for genghisapp-2.3.11
Done installing documentation for bson, genghisapp after 1 seconds
2 gems installed
C:\Users\kk>gem list |find "bson"
bson (3.2.1, 1.9.2)
but ...
C:\Users\kk>genghisapp
** Notice: The native BSON extension was not loaded. **
  For optimal performance, use of the BSON extension is recommended.

  To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
  and run the following command:

    gem install bson_ext

  If you continue to receive this message after installing, make sure that
  the bson_ext gem is in your load path.

C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- win32/process (LoadError)         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req uire.rb:55:in require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/backports-3.6.6/lib/backport
s/std_lib.rb:9:in require_with_backports'         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/vegas-0.1.11/lib/vegas/runne r.rb:8:in <top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/genghisapp-2.3.11/bin/genghi
sapp:12:in <top (required)>'         from C:/Ruby22-x64/bin/genghisapp:23:in load'
from C:/Ruby22-x64/bin/genghisapp:23:in `'

uninstall bson 1.9.2
C:\Users\kk>gem uninstall bson --version 1.9.2
You have requested to uninstall the gem:
bson-1.9.2
mongo-1.9.2 depends on bson (~> 1.9.2)
If you remove this gem, these dependencies will not be met.
Continue with Uninstall? [yN]  y
Remove executables:
b2json, j2bson
in addition to the gem? [Yn]  y
Removing b2json
Removing j2bson
Successfully uninstalled bson-1.9.2
C:\Users\kk>gem list |find "bson"
bson (3.2.1)
C:\Users\kk>genghisapp
C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:313:in to_specs':  Could not find 'bson' (~> 1.9.2) - did find: [bson-3.2.1] (Gem::LoadError) Checked in 'GEM_PATH=C:/Users/kk/.gem/ruby/2.2.0;C:/Ruby22-x64/lib/ruby/gems/2.2 .0', execute gem envfor more information         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13 17:inblock in activate_dependencies'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13
06:in each'         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13 06:in activate_dependencies'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:12
88:in activate'         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13 20:in block in activate_dependencies'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13
06:in each'         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:13 06:in activate_dependencies'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:12
88:in activate'         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem .rb:54:in gem'
from C:/Ruby22-x64/bin/genghisapp:22:in `'

C:\Users\kk>gem list |find "mongo"
mongo (1.9.2)
C:\Users\kk>gem list |find "bson"
bson (1.9.2)
bson_ext (1.9.2)
C:\Users\kk>gem list |find "genghisapp"
genghisapp (2.3.11)
still doesn't wrok ~~~
C:\Users\kk>genghisapp
C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- win32/process (LoadError)         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req uire.rb:55:in require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/backports-3.6.6/lib/backport
s/std_lib.rb:9:in require_with_backports'         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/vegas-0.1.11/lib/vegas/runne r.rb:8:in <top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/genghisapp-2.3.11/bin/genghi
sapp:12:in <top (required)>'         from C:/Ruby22-x64/bin/genghisapp:23:in load'
from C:/Ruby22-x64/bin/genghisapp:23:in `'

Oh! I didn't notice you're on Windows, and I was thrown by the two BSON versions, so I figured that was your issue.
Try running with genghisapp -F?

error~~~
C:\Users\kk>genghisapp -F
C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- win32/process (LoadError)         from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req uire.rb:55:in require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/backports-3.6.6/lib/backport
s/std_lib.rb:9:in require_with_backports'         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/vegas-0.1.11/lib/vegas/runne r.rb:8:in <top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/genghisapp-2.3.11/bin/genghi
sapp:12:in <top (required)>'         from C:/Ruby22-x64/bin/genghisapp:23:in load'
from C:/Ruby22-x64/bin/genghisapp:23:in `'
C:\Users\kk>gem list | find "bson"
bson (1.9.2)
bson_ext (1.9.2)

Yeah, this is likely windows process control related, not BSON related. That's what the -F flag was supposed to fix :(

Keep on going!
:)

I had these issue on freshly install genghis. I did following to fix:
$ gem install specific_install
$ gem specific_install -l https://github.com/bobthecow/genghis

# uninstall all versions of mongo, bson and bson_ext
$ gem uninstall mongo bson bson_ext
$ gem install mongo -v "1.9.2"
$ gem install bson_ext -v "1.9.2"

$ genghisapp
[2016-01-26 20:21:47 -0800] Starting 'genghisapp'...
[2016-01-26 20:21:47 -0800] trying port 5678...
$

If you have newer version of mongo than 1.9.2, genghis loads it as described in file src/rb/genghis/helpers.rb:64
installed = Gem::Specification.find_all { |s| s.name == 'mongo' }.map { |s| s.version }.sort.last

Thanks for your help.