Add interop module for fs2 3.x

Will close #215 when ready.
Note that there are no tests for now because ZIO interop isn't published yet, and I didn't want to change the whole test infra to use IO directly ;)
First commit is copy-pasting the 2.x version, second commit makes the necessary changes (for ease of review).

Got a test failure, probably unrelated since it's a different module:
[info] - Piping processes together

[info]   - Termination

[info]     - can be killed

[[0minfo]       Map(ProcessImpl(perl,List(-e, $SIG{TERM} = 'IGNORE'; sleep 30; exit 2),None,Map(),Set(),StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10535/1458457305@db4dcd3,StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10536/2106855717@73f5a6d0,StdIn()) -> ExitCode(137), ProcessImpl(sort,List(),None,Map(),Set(),StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10535/1458457305@3b07568,StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10536/2106855717@72dc6746,StdIn()) -> ExitCode(0)) did not satisfy equalTo(Map(ProcessImpl(perl,List(-e, $SIG{TERM} = 'IGNORE'; sleep 30; exit 2),None,Map(),Set(),StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10535/1458457305@db4dcd3,StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10536/2106855717@73f5a6d0,StdIn()) -> ExitCode(137), ProcessImpl(sort,List(),None,Map(),Set(),StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10535/1458457305@3b07568,StdOut(),io.github.vigoo.prox.ProcessModule$Process$$$Lambda$10536/2106855717@72dc6746,StdIn()) -> ExitCode(137)))

[info]         at /home/travis/build/vigoo/prox/prox-zstream/src/test/scala/io/github/vigoo/prox/tests/zstream/ProcessGroupSpecs.scala:116

[info] Done

[error] Failed tests:

[error] 	io.github.vigoo.prox.tests.zstream.ProcessGroupSpecs

[error] (prox-zstream / Test / test) sbt.TestsFailedException: Tests unsuccessful

might be a flaky test.

Nice! Will take a look at the flaky test

Note: I fixed that flaky test

I guess we're still stuck on the ZIO interop...

Must be coming soon! :)

Gonna revisit this soon, zio-interop released v<IP_ADDRESS> with CE3 support.

Hey, can we merge this? Don't worry about the flaky code coverage check :) I'm disabling it for now

I wanted to update the docs to use the 3.x build, but if you want we can merge now :)


Add podium

Please review our Contribution Guidelines to ensure your changes abides by it.
Changes should be made to the end of the file.
Review your changes and complete the checklist below.

[x] Company name
[x] Industry
[x] Company location
[x] Company description
[x] How Elixir is used
[x] GitHub / blog links
[x] Job listings

@jakesorce decide against adding Podium to the list?


With androidx

while just added dependency in Gradle, successfully build but while running Application showing error.
Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:25.3.1)

The same for me.


fix: respect scrollErrorIntoView for validated buttons as well

and add smooth scrolling

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dereference of end iterator

Describe the bug
When approving a referral payment of affiliate13, I get this error.

@xavier506 Is it already completed?


kotlin: 1.2.30 -> 1.2.31

Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/kotlin/versions.
These checks were done:

built on NixOS
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/kotlin -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/kotlin-dce-js -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/kotlinc -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/kotlinc-js -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/kotlinc-jvm -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/.kotlin-wrapped -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/.kotlin-dce-js-wrapped -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/.kotlinc-js-wrapped -h got 0 exit code
ran /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31/bin/.kotlinc-jvm-wrapped -h got 0 exit code
found 1.2.31 with grep in /nix/store/c8gxcm1qd27rc1q7m164vwys12rr7kzj-kotlin-1.2.31
directory tree listing: https://gist.github.com/2abc86ffb8a29b93e0ee8cdc45c72125

cc @nequissimus for review

Success on x86_64-linux (full log)
Attempted: kotlin
Partial log (click to expand)
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/lib  /nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin
patching script interpreter paths in /nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin/.kotlin-dce-js-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin/.kotlin-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin/.kotlinc-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin/.kotlinc-jvm-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31/bin/.kotlinc-js-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
checking for references to /tmp/nix-build-kotlin-1.2.31.drv-0 in /nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31...
/nix/store/qqqcgcjlwbn7sp8i1k9z8wskcff6q9jj-kotlin-1.2.31

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: kotlin
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: kotlin
Partial log (click to expand)
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/lib  /nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin
patching script interpreter paths in /nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin/.kotlin-dce-js-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin/.kotlin-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin/.kotlinc-js-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin/.kotlinc-jvm-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31/bin/.kotlinc-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/ip6yzscp9mi4m55i3if6g892qhb51dz6-kotlin-1.2.31


Users can't delete Tag terms that happen to be empty

When [term] and [term_display] for the vocabulary "tags" happen to be empty its not possible for a user to delete them.
See screenshots at https://groups.google.com/d/msg/habari-dev/varJb1TVgBI/Mc8nG6931JMJ

Could you give the way to reproduce this? One thing I'd like to see is how an empty tag gets into the db to begin with. That shouldn't happen.

On vanilla 0.8 trying out a whole bunch of plugins from habari/dist, I don't know which plugin yet but will report back if I find it assuming it was a plugin.

From what I can see the problem is that there is just no way to physically select the empty tag.


Add 'stb' boundaries

As shown here:

Source: https://images.squarespace-cdn.com/content/v1/614b4c680636d9575ea55c76/6c5b9d91-7652-4814-be6c-ab2c7048d7d2/stb-map.jpg

And here's the wiki page: https://en.wikipedia.org/wiki/Sub-national_transport_body

Sub-national transport body


ci: e2e support all examples

Description

move environment preparation to shell script
change some process call to api call (dataset/model/runtime build, eval run, login, instance select)
make client  api (dataset/model/runtime build, eval run) return resource id
add make prepare-data to unify all example data preparation processes
remove mnist model file from code repo

verification
http://full-expl3-20221125.pre.intra.starwhale.ai/projects/3/evaluations
http://full-expl4-20221125.pre.intra.starwhale.ai/projects/3/evaluations

Modules

[ ] UI
[ ] Controller
[ ] Agent
[x] Client
[ ] Python-SDK
[x] Others

Checklist

[x] run code format and lint check
[ ] add unit test
[ ] add necessary doc

validation after review changes:
http://full-expl-20221128.pre.intra.starwhale.ai/projects/3/evaluations

http://full-expl-20221129.pre.intra.starwhale.ai/projects/1/evaluations after merging


Fix QueryTest

Fix startWar query test

Pull Request Test Coverage Report for Build 956

3 of 3 (100.0%) changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 82.36%

Totals

Change from base Build 946:
0.007%

Covered Lines:
4426

Relevant Lines:
5374

💛  - Coveralls


Proposal - Adding test for Docker socket access by container

Hi,
I wanted to add an additional test to DockerBench, which is not part of CIS 1.6, and wanted to check whether this is aligned with DockerBench purpose.
The test is for checking whether a container has access to host's Docker socket. This can be done by chekcing if container is executed with '-v /var/run/docker.sock:/var/run/docker.sock', or top level mount points that can provide such access.
Such containers can run any Docker management command on the host, which in my opnion should raise a security warning as part of the benchmark analysis.
Note that currently the CIS only suggest checking mounts for the following directories (section 5.6):
/, /boot, /dev, /etc, /lib, /proc, /sys, /usr
I'll be happy to provide a PR for such addition to the DockerBench. This test can be categorized as "Non CIS" in the DockerBench output.

Sounds interesting, please provide a PR and we can work from there.

Great. Will work on the PR.

@jerbia @konstruktoid the way that we should do this is allow to have test profiles.
A test profile would list all the tests that it includes. We could have a CIS inspired profile, that runs the current set of tests; and allow other profiles that include more thorough/different tests.
Thoughts?

@diogomonica @konstruktoid This is very interesting idea!
Such profiles can be used for creating tests for specific themes, like finding compromised secrets, image missing patches, etc.
This sounds much better than having one profile with large number of sections for different topics.

Agreed.
@konstruktoid I'm thinking that this might be better suited for a Go implementation, btw.
Something like: https://github.com/dockersecuritytools/batten ?

I agree with both of you regarding test profiles and specific themes.
@diogomonica https://github.com/dockersecuritytools/batten seems complete from a CIS profile point of view. And a Go implementation might be a more proper way to go as the project grows in complexity.
I just need to find me a Go crash-course.

Closing due to inactivity.


Fix all tests on master

This partially addresses https://github.com/robconery/stripity-stripe/issues/52#issuecomment-221918778.
Notes:

The tests were not changed except for wrapping each test case, setup & teardown blocks with use_cassette macro,
A few tests still fail:

the URI test (I'd rather have it fixed in a separate, smaller PR) the code was fixed in #59,
the checking the Stripe.MissingSecretKeyError exception I have reverted the configs; running tests & recording requests with env var set is simpler anyway, as it turned out,
two HTTP-based tests. Either there might have been some change in response (I'm very unsure about this), or it is the lib code that has to be fixed (something I did not want to touch at the time of this PR):

Stripe.SubscriptionTest: Change creditcards works the code was fixed in #57, however the test in this PR here is going to fail (since other tests before the one in question remove the all subscriptions from customer). To fix the test, a target subscription needs to be created inside the test body,
Stripe.PlanTest: Plan change the code was fixed in #58, the test will have to be fixed on it's own (the fix is trivial – need to create an instance of plan before changing it),

All responses are recorded via ExVCR using my own Stripe test token (which I might as well now revoke). To record all tests I had to add test/dev config files with the key,
I tried running tests randomly, e.g. removing seed option from this line – with success.
Code coverage jumped by 59.1% and now stands at 76.277% (turns out there's some code that's not covered with tests at all),
On my mid-2012 MBP tests finish within 10 seconds.

Coverage increased (+59.1%) to 76.277% when pulling 7eee17a40cc892d5bc710ed7e02d5207bc1ff412 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+59.1%) to 76.277% when pulling 7d4530ab64be5740f7c66b552d1f409f7802cb33 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage remained the same at 17.153% when pulling b914fec448d1209654f1db4541d449a1c63cb12e on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

@robconery I've updated the description with links to fixed issues. I think we're really close getting a green build here.

Yay! Thanks for all your help!
On July 20, 2016 at 10:19:57 AM, Eugene Pirogov<EMAIL_ADDRESS>wrote:
@robconery https://github.com/robconery I've updated the description with
links to fixed issues. I think we're really close getting a green build
here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robconery/stripity-stripe/pull/56#issuecomment-234018051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEy-hWNf4Vy0MgPyPvZOxpb-JdZzwTyks5qXli7gaJpZM4JQx2p
.

Coverage remained the same at 17.153% when pulling 3f68e2cabb32d58fc573649e1e2fcc7c229ad0bb on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+9.1%) to 26.277% when pulling 430eefa58245cd42d30616257dd9f03b80584238 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+8.4%) to 25.547% when pulling 5e486b72471b1a7c4f17b2ec1504da9b6ae49273 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+8.4%) to 25.547% when pulling 7accaaefc4379ea050934fc947bfda8c6859acb1 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+8.4%) to 25.547% when pulling 5752e789e7add7cc69f0190d2624c2d55fa36dc9 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+59.1%) to 76.277% when pulling ac64ac433b447e6e92ed7aa28629bd6345cc4452 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+59.1%) to 76.277% when pulling 2fed5bbae041eaf79131276cfcbdbce92b870ac8 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+8.03%) to 25.182% when pulling 2fed5bbae041eaf79131276cfcbdbce92b870ac8 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

Coverage increased (+12.8%) to 29.927% when pulling 8d36999ecf811e73e1512101fbf7fa197b815a46 on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.

@robconery there was a problem with travis running the build. Now that the dance is over (turns out ubuntu treats paths with mixed case differently than OS X), this is ready.
Three tests still fails though. I know how to fix them, but first #57, #58 and #59 must be merged (I don't want this PR to be messed with code in any way, since it's already a huge one).

Coverage increased (+59.5%) to 76.642% when pulling d25542b4379f8d1601cd8acd01a6a97c9e33c7ff on gmile:fix-tests into c2f6ae30d1336480134952f965915d99beef15ab on robconery:master.


[FEATURE] Extra paths for packages configuration

Is your feature request related to a problem? Please describe.
I have a single repository containing libraries and projects. Changes specifically in the shared libraries are not reflected on the projects' change logs including when bumping individual project versions. Bumping individual projects also fails if commits only modify the libraries specifically.
For example, I have a structure of:
repository
├── libs
│   └── shared_library
├── projects
│   ├── project_1
│   └── project_2

project_1 and project_2 have a shared library named shared_library and commits specifically targeting shared_library are not recognized when bumping versions in either project_1 or project_2. Furthermore, if the only commits are changes for shared_library, I am not able to bump the versions of either project_1 or project_2 as cocogitto detects no changes on them.
Describe the solution you'd like
Additional extra_paths configuration on cog.toml specifically under section [packages] which is then taken into account when bumping specific packages.
For example, cog.toml would look like:
[packages]
project_1 = { path = "projects/project_1", extra_paths = ["libs/shared_library"] }
project_2 = { path = "projects/project_2", extra_paths = ["libs/shared_library"] }

And bumping via cog bump --auto --package=project_1 would no longer fails if there are only commits under libs/shared_library.
Additionally an extra --extra-path flag in cog bump is nice to have.
Describe alternatives you've considered
Alternatively instead of defining extra paths, we define dependencies for packages such as:
[packages]
shared_library = { path = "libs/shared_library" }
project_1 = { path = "projects/project_1", package_dependencies = ["shared_library"] }
project_2 = { path = "projects/project_2", package_dependencies = ["shared_library"] }

Cocogitto will then be able to use these information to solve the aforementioned issue as well as other mono repository related issue such as the issue mentioned in #414. However this setup is too specific and requires that the shared_library is also versioned via cocogitto.
Additional context
Currently, I am mostly working with python projects and I am using pantsbuild as my primary build tool. Having this specific feature will tremendously help with the integration between said build tool and cocogitto and possibly other tools. If this is a sound feature to implement, I will gladly attempt to write a PR. Cheers!

After tinkering with the code, It turns out that this feature is already implemented via the include config. I missed it initially because it is not mentioned in the docs.

I am currently rewriting the documentation so the doc reference would be auto generated, this should not happen in the future.


ReactEngineNotFoundException on Azure

I'm building an asp.net mvc core application with server side rendering and I get ReactEngineNotFoundException, when I deploy to Azure.
You might see the entire callstack yourself here: http://dotnetopeniddemo.azurewebsites.net
I have created an Azure web app, and I'm deploying to it from Visual Studio. It works locally in IIS Express, but not on Azure.

I'm running into the same issue. My .NET Core 1.1 web application works locally, but throws an exception when published:
ReactEngineNotFoundException: No usable JavaScript engine was found. Please install a JavaScript engine such as React.JavaScriptEngine.ClearScriptV8 (on Windows) or React.JavaScriptEngine.VroomJs (on Linux and Mac OS X). Refer to the ReactJS.NET documentation for more details.
Since it seems to be an issue with the JavaScript engine, I thought adding .DisableServerSideRendering() to app.UseReact(config => { }) might be a work around, but the exception occurs with or without server side rendering.
I think we may need to do something along the lines of this article, but the last few steps are outdated: http://www.samulihaverinen.com/web-development/dotnet/2016/01/19/how-to-run-clearscript-v8-javascript-engine-in-azure/

I was able to get the application working when published to Azure using a combination of these guides:
http://www.samulihaverinen.com/web-development/dotnet/2016/01/19/how-to-run-clearscript-v8-javascript-engine-in-azure/
https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines
From the first guide, I installed dependencies separately:
Uninstall-Package React.AspNet
Install-Package JavaScriptEngineSwitcher.Core
Install-Package JavaScriptEngineSwitcher.Msie (May not be needed)
Install-Package JavaScriptEngineSwitcher.ChakraCore
Install-Package JavaScriptEngineSwitcher.ChakraCore.Native.win-x64 (Selected native implementation)
Install-Package Microsoft.ChakraCore (I think this is key to enabling ChakraCore on the server)
Install-Package React.AspNet -IgnoreDependencies
From the second guide, I installed a package to enable JavaScriptEngineSwitcher configuration in .NET Core 1.X:
Install-Package JavaScriptEngineSwitcher.Extensions.MsDependencyInjection
In Startup.cs ConfigureServices():
services.AddJsEngineSwitcher(options => options.DefaultEngineName = ChakraCoreJsEngine.EngineName).AddChakraCore();

Install-Package Microsoft.ChakraCore

@jyee117 This package is not needed. I recommend you to read the documentation.

@andpoulsen @jyee117  I recommend to read the “Misconceptions about the JavaScript Engine Switcher version 2.X” post.

I was able to get the application working when published to Azure using a combination of these guides:
http://www.samulihaverinen.com/web-development/dotnet/2016/01/19/how-to-run-clearscript-v8-javascript-engine-in-azure/
https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines
From the first guide, I installed dependencies separately:
Uninstall-Package React.AspNet
Install-Package JavaScriptEngineSwitcher.Core
Install-Package JavaScriptEngineSwitcher.Msie (May not be needed)
Install-Package JSPool
Install-Package JavaScriptEngineSwitcher.ChakraCore
Install-Package JavaScriptEngineSwitcher.ChakraCore.Native.win-x64 (Selected native implementation)
Install-Package Microsoft.ChakraCore (I think this is key to enabling ChakraCore on the server)
Install-Package React.AspNet -IgnoreDependencies
From the second guide, I installed a package to enable JavaScriptEngineSwitcher configuration in .NET Core 1.X:
Install-Package JavaScriptEngineSwitcher.Extensions.MsDependencyInjection
In Startup.cs ConfigureServices():
services.AddJsEngineSwitcher(options => options.DefaultEngineName = ChakraCoreJsEngine.EngineName).AddChakraCore();

This save me, thanks.

Install-Package Microsoft.ChakraCore (I think this is key to enabling ChakraCore on the server)

@andrewwang1tw I recommend you to read the “ChakraCore” section of “Misconceptions about the JavaScript Engine Switcher version 2.X” discussion.

Closing issues older than a year, please re-open if you think this is still relevant.


Add Dijkstra's Algorithm in the following Languages

The following Algorithm needs to be implemented in the following languages.

[ ] C
[ ] C++
[ ] Python
[ ] Java

Ground rules:

Whoever claims the Issue first, should send a Pull Request within 24 hours else it'll be assigned to another claimant and further Pull Requests regarding that issue will not be entertained.
Pull Requests sent without claiming and referencing the Issue will not be entertained.
Make sure your Pull Requests have just one commit in them. Squash multiple commits into one if you have to.
Make sure you put in the proper folder. If you do not know where to push the code for the Algorithm, feel free to ask in the comments section below. :smile:

Claiming C++

Claiming C.

Go ahead people! Just don't forget to reference the Issue!

Claiming C++

Claiming python!

Claiming Java.

Claiming C
As amanmehta-maniac did not send any pull request.


Game Title
Grand Theft Auto IV
Game Website
https://www.rockstargames.com/games/IV
Anti-Cheat Software
Other
Status of the Anti-Cheat
❔ Unconfirmed
Proof of Mention
N/A

It used Games for Windows Live for Online back then, I'm not sure online works now at all?

Yeah, online doesnt work without mods anymore, dunno if it works on linux or not but its sure not apart of the real game.

The game doesn't seem to have an anti-cheat natively, and the only way to play multiplayer is through third-party patches. I don't think this game fits the qualification to be on the list.


Dynamically add multiple assert conditions

How to dynamically add multiple assert conditions?
Is it possible to add multiple assert conditions dynamically using JSON file at run time instead of pre-defined conditions at design time?
Is it possible to add single assert condition at design time with expression having multiple dynamic columns in array to check against NULL check? e.g. isNULL(["A","B"]) where A and B both columns of input stream should be check for its NULL check in single condition

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

ID: 61ac9aa7-0b7c-1afa-4f80-6b018a6c24dd
Version Independent ID: ae1e39db-fa47-d48c-87ab-e34af0607f2e
Content: Assert data transformation in mapping data flow - Azure Data Factory
Content Source: articles/data-factory/data-flow-assert.md
Service: data-factory
Sub-service: data-flows
GitHub Login: @kromerm
Microsoft Alias: makromer

@priteshpisat
Thanks for your feedback! We will investigate and update as appropriate.

Any response on this?

@priteshpisat
To dynamically add multiple assert conditions using a JSON file at runtime, you can use the ForEach activity in Azure Data Factory to iterate over an array of conditions and dynamically generate the assert conditions. You can use the if function to check for null values in multiple columns of an input stream in a single condition. Here's an example of how you can use the if function to check for null values in columns A and B of an input stream:
if(isNull($A) || isNull($B), 'Error: A or B is null', 'Success')
This expression checks if either column A or B is null. If either column is null, it returns an error message. Otherwise, it returns a success message. You can use this expression as a single assert condition at design time.

Thanks for your answer but I need to understand how can I pass dynamic expression of dynamic columns in single assert condition?
e.g.
For Table 1 should be if(isNull($A) || isNull($B), 'Error: A or B is null', 'Success')
For Table 2 should be if(isNull($C) || isNull($D) || isNull($E), 'Error: C or D or E is null', 'Success')
Can I store above expression in a variable and use this variable in expression?

@priteshpisat
Yes, you can store the expression in a variable and use it in the assert transformation. Here's an example of how you can do it:
Let's say you have two tables, Table1 and Table2, and you want to apply different assert conditions on them. You can create a variable for each table and store the assert condition in it. For example:
Table1_Assert = if(isNull($A) || isNull($B), 'Error: A or B is null', 'Success')
Table2_Assert = if(isNull($C) || isNull($D) || isNull($E), 'Error: C or D or E is null', 'Success')
Then, in the assert transformation, you can use these variables in the expression field. For example:
Table1 assert(
assertId: 'Table1_Assert',
expression: Table1_Assert
)
Table2 assert(
assertId: 'Table2_Assert',
expression: Table2_Assert
)
This way, you can pass dynamic expressions of dynamic columns in a single assert condition.
Please Note, GitHub forum is dedicated for docs related issues. For any technical queries or clarifications, we encourage to utilise Microsoft Q & A platform. Kindly raise your query on Microsoft Q&A Platform

Thanks but can you please help me to define variable/parameter data type to store such expression? I am trying to set it as string but then it doesn't work in assert expression due to type mismatch as below,

Please help

@priteshpisat
For an issue like this, I'd recommend you create a support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.


Tests for += and friends

@brson added binop support in #56 but I don't think it included tests for +=. We should add a test like
async fn main() {
    var x = 22
    x += 44
    if x == 66 {
        print("Huzzah").await
    } else {
        print("Uh-oh").await
    }
}

+= and friends don't seem to work, our parser doesn't support parsing them currently.


First Time Contributor Blog - First Steps

BlogAThon  - need a blog that covers how to become a contributor - first steps, signing up, meetings, and joining the calls.

Please assign this task to me.


TianoCore Website: Remove dead pages/files (Bugzilla Bug 1733)

This issue was created automatically with bugzilla2github
Bugzilla Bug 1733
Date: 2019-04-19T00:20:32+00:00
From: @mdkinney
To:   @mdkinney
CC:   yonghong.zhu
Last updated: 2019-05-08T22:19:09+00:00

Comment 7211
Date: 2019-04-19 00:20:32 +0000
From: @mdkinney

Industry Specification: ---
Releases to Fix: EDK II Master
Target OS: ---
Bugzilla Assignee(s): @mdkinney

There are several pages/files on the TianoCore website that can
not be navigated to and also appear to be older duplicates of content
that have been moved to Wiki pages.
Review all TianoCore website files are remove files that are not needed.

Comment 7440
Date: 2019-05-08 22:19:09 +0000
From: Yonghong Zhu <<yonghong.zhu>>
Mike, please help to update the doc.

Hi @mdkinney, I noticed that the TianoCore website still has some documents that have not been removed, as well as some outdated wiki pages. I would like to ask if members of the community have permission to update the website and wiki?

All EDK II Maintainers have permissions


Use case / spam prevention feature: Describe how to add authentication

I'm going to adapt your form to accept customer design requests consisting of cad files, images, form text boxes, and form checkboxes. In my use case, customers should authenticate via a login page.
Something like a very simplified developer portal could help for the login and registration, see:
https://github.com/awslabs/aws-api-gateway-developer-portal/wiki/Components
Here, we can rip out everything having to do with showing APIs to developers. One or more lambda forms would live after a login and registration component. The only issue is that using developer portal as a springboard feels a bit like overdoing it - that's a lot of functionality to reliably strip out, and the result could be hard to maintain.
Is there a less complex starting point?

Looks like api portal has a feature called custom authorizers, which can be driven by cognito:
https://www.serverless.com/blog/strategies-implementing-user-authentication-serverless-applications
https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html
So the story would look like:

The user hits the form page, but they're not registered yet; they click the registration button.
This pulls up a cognito registration page. The user goes through the service's registration story, and is logged in.
The user's browser now has an API token valid for one hour. The form page detects this token, and makes the form visible.
Upon form submission, a lamda authorizer validates the token. We reject any bad tokens.
If the authorizer succeeds, kick off lambda-form's main lambda function.
Celebrate the newyear!


Use AdaptCachedBodyGlobalFilter cache  request body, routeId must add "ReactiveCompositeDiscoveryClient_"

Describe the bug
I want to use  the AdaptCachedBodyGlobalFilter to cache all the post request body.
Here is my Config
@Configuration(proxyBeanMethods = false)
@Slf4j
public class EnableCachedBodyConfiguration {
    @Resource
    private ApplicationEventPublisher publisher;

    @Resource
    private GatewayProperties gatewayProperties;

    @PostConstruct
    public void init() {

        gatewayProperties.getRoutes().forEach(routeDefinition -> {
            System.out.println("route:::"+routeDefinition.getId()); // this value is like cms-service、order-service
            EnableBodyCachingEvent enableBodyCachingEvent = new EnableBodyCachingEvent(new Object(), routeDefinition.getId());
            publisher.publishEvent(enableBodyCachingEvent);
        });
    }
}

First this code doesn't work.
Then  I change the code to
EnableBodyCachingEvent enableBodyCachingEvent = new EnableBodyCachingEvent(new Object(), "ReactiveCompositeDiscoveryClient_" + routeDefinition.getId());

Now It works.
The reason I add a pre str is I check the file: org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter, and I find this line
Route route = exchange.getAttribute(GATEWAY_ROUTE_ATTR);
// Here this route.getId is like  "ReactiveCompositeDiscoveryClient_cms-service"

if (body != null || !this.routesToCache.containsKey(route.getId())) {
    return chain.filter(exchange);
}
return ServerWebExchangeUtils.cacheRequestBody(exchange, (serverHttpRequest) -> {
    // don't mutate and build if same request object
    if (serverHttpRequest == exchange.getRequest()) {
        return chain.filter(exchange);
    }
    return chain.filter(exchange.mutate().request(serverHttpRequest).build());
});

So How did I use it wrong?

Can you provide your route configuration?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Can you provide your route configuration?

ok，this is my route conf:
spring:
  cloud:
    gateway:
      routes:
        - id: microservice-tms
          uri: lb://microservice-tms
          predicates:
            - Path= /tms/**
        - id: microservice-uams
          uri: lb://microservice-uams
          predicates:
            - Path= /uams/**


fortune: broken link (build fail)

@ArmaanB

New link is https://git.armaanb.net/bin/plain/fortune, but I can't maintain packages any more. Feel free to adopt and change URL. I recommend just importing that script into the repo though

fixed.


add @safe to test structs

Necessary for the better rules on function attribute inference (nested functions should not inherit @safe from enclosing function).

Since the source code for inner structs is always available, shouldn't attributes be inferred, similar to lambdas?

Since the source code for inner structs is always available, shouldn't attributes be inferred, similar to lambdas?

I tried that, but it broke more of the test suite. So I scaled things back for this PR, and made it about 5881 not everything else (and 5881 is already plenty big). I plan to add more auto inference later.

Alright, if it doesn't require extensive changes for now, than LGTM.

LGTM

Auto-merge toggled on


Init submodule lazily when generating Thrift

Coverage remained the same at 100.0% when pulling b822095b13135f9d041ab9a2da40502af83a553c on do-not-override-submodule into ac89399f9b735b7ff44a82d59ec8135e746672c5 on master.


Always default title in SimpleTopAppBar

What RMWC Version are you using?
1.8.0
What browser(s) and React Version is this bug affecting?
Opera 54.0 / React 16.4.1
What build system are you using?
Webpack
What are the steps to reproduce the bug?
<SimpleTopAppBar title="test" />
https://codesandbox.io/s/k9k8vxn91v
What is the expected behavior?
There should be a top app bar with the title test.
What is the actual behavior?
There is a top app bar with the title Title.

Fixed in 1.8.1


Added solution to Alien Piano in C

Have you read the Contribution Guidelines? If not, check CONTRIBUTING.md file first.
--> Yes
Description
Added answer to Round D Alien Piano problem in C language.
Checklist

[✓] I've read the contribution guidelines.
[✓] I've checked the issue list before deciding what to submit.

Related Issues
Fixes Issue #7

Please verify and merge this whenever you get time @lostgirljourney


[proposal][6.x.x] Testing documentation

Hello all,
This morning I completed a very brief example of form component testing best practices for the 6.x.x docs. For the moment its in a gist awaiting discussion here within this issue, later I will convert it into a PR if people like the direction its heading.
let me know what you think, its very preliminary.
https://gist.github.com/andrewmclagan/e25983ebda4e49ed28103839ee00b839
@erikras

@andrewmclagan This is great. I guess @erikras  would be happy to get this land faster :D

Excellent!

@erikras  How do we go , we put it under example folder or we do testing/enzyme ?

It's more leaning towards conceptual then enzyme specific? Don't you think?

Anyone got suggestions on specific testing stacks, apart from what I have used? Mocha? Jest?

Sadly I think that gist is out of date now: I see the error Error: Field must be inside a component decorated with reduxForm(). I believe this is because there's no React context _reduxForm. Can you update the gist, or give some pointers on how to proceed? Thanks.

Yeah will do very soon

@andrewmclagan any word on this?

As far as I can see, unit testing presentational components that contain <Field> components is not possible as of version 6.0.2.
It is possible to produce integration tests by:

Wrapping the presentational component with a generic component that provides any additional needed props.
Decorating the generic component with Redux Form.
Wrapping the decorated component with a react-redux's <Provider/> component with a real (non mocked) store that includes Redux Form's reducer.
And mounting the final component with enzyme's mount (+ a virtual dom like JSDOM).

Redux Form is an amazing library IMO, but since inability to make unit tests can be a blocking issue for some companies or projects, I suggest the docs warn of this in the migration guide from v5 to v6.

Sure it is testable. Just export you non redux-form decorated components. Then test them in isolation.

But it's not possible to test the non-decorated component because of Error: Field must be inside a component decorated with reduxForm()

Yes it is. You are not thinking about testing with the correct concepts.
Testing is supposed to be in *isolation. By that we mean don't test how redux-form hands down the error property to your form component... THAT already has tests inside the redux-form library.
Simply pass in a mocked { error } object to test how YOUR component deals with situation.
Bottom line: Do not test redux-form, test your form.

@andrewmclagan Could you share an example? It would seem to me that @stevenmusumeche is correct that you cannot test any component that renders a <Field> for the reason he gave.
However, the pattern that is repeated often in reduxForm.spec.js should work with any form.

@andrewmclagan, we are unable to even mount the undecorated component because of the above error.  An example would help clarify this issue if I am doing something wrong.

@erikras do you have any suggestions for testing components that use redux-form, without using Provider?

Here's a small example that does use Provider with Jest:
/* global test, expect */
import React from 'react'
import renderer from 'react-test-renderer'
import { combineReducers, createStore } from 'redux'
import { Provider } from 'react-redux'
import { reduxForm, reducer as form } from 'redux-form'

import { MyForm } from '../MyForm'

test('renders correctly', () => {
  const store = createStore(
    combineReducers({ form }),
    { form: {} }
  )

  const Decorated = reduxForm({ form: 'testForm' })(MyForm)
  const tree = renderer.create(
    <Provider store={store}>
      <Decorated />
    </Provider>
  )
  expect(tree).toMatchSnapshot()
})

I have been using Enzyme's shallow() rendering with success.
This way I get no errors from <Field> complaining that it's not contained in a reduxForm annotated component.

@gustavohenke may you post an example please?

Take a look at this example: https://github.com/tylercollier/redux-form-test
It's the same thing I'm doing.

Yeah that was exactly my approach, apologies Im planning on updating the testing docs. Just trying to find the time.

The problem I'm having is that I can't verify HTML output. So if I add a test to the unit-test in the above repo, such as:
    it('should render the form HTML', () => {
			subject = buildSubject();
			const formHTML = subject.find('form').first().html();
    });

Then I get the dreaded 'Field must be in a component decorated with reduxForm()' error.
When I changed to render() from enzyme, then it occurs for all the tests in that suite as well.

@stevenmusumeche Are you using Enzyme and in particular its shallow function? If not I recommend using it for testing undecorated forms.
Basically, you just need to shallow render the component you want to test with the Field elements, which doesn't evaluate the child components. I found this article really helpful in getting my head round how that works.
Bear in mind, if you try to do anything that evaluates the child components, you'll still get the error.

Right, the issue is when I have to test some functionality using mount instead of shallow.

@archy-bold Testing a container-component's componentDidMount() functionality required enzymes mount not shallow. If this container then has a child component that has a <Field /> tag in it you will see this error.
The only way I have found is to wrap the container in a mock redux form.

Surprisingly this issue was never linked to #557

@andrewmclagan The last test in your gist doesn't seem to work, please see: airbnb/enzyme#308. Enzyme doesn't support event propagation which is needed for the button to trigger onSubmit on the form.
Any other solution to make it work on the last test (to test that handleSubmit gets called)?

@MartinDawson Do you have an example of how you wrapped the container in the mock redux form? I'm having a lot of issues testing componentDidMount() because the child component has a <Field /> tag in it.

@cindyssun5 I actually don't have an example and forgot how I did it. What I actually do now is just stub the child component instead with something like proxyquire. This way you can test one component without affecting children.
Example:
proxyquire.noCallThru();

const ResetPasswordFormContainer = proxyquire('./container', {
  './component': () => (
    <div>
      <Field name="userId" component="input" />
    </div>
  ),
}).default;

const setup = (newProps) => {
  const props = {
    ...newProps,
  };

  const wrapper = mount(
    <Provider store={store}>
      <ResetPasswordFormContainer {...props} />
    </Provider>,
  );

  return {
    wrapper,
    props,
  };
};

describe('ResetPasswordFormContainer', () => {
  it('should change code input field value to code', () => {
    setup();

    const state = store.getState();
    const inputCode = state.form.resetPassword.values.code;

    expect(inputCode).toBe(code);
  });
});

Because this issue saw almost no activity for a few months, I'm closing it.


Materialize date input broken

I cranked up a demo project and used a date field when defining my schema like so:
Services = new orion.collection('services', {
    singularName: 'service',
    pluralName: 'services',
    link: {
        title: 'Services'
    },
    tabular: {
        columns: [
            {data: 'serviceDate', title: 'Service Date'}
        ]
    }
});

Services.attachSchema(new SimpleSchema({
    serviceDate: {
        label: 'Date',
        type: Date
    }
}));

The result is an unresponsive date input on the create form.  I'm not entirely sure whether this is an issue to be solved inside orion or AutoForm, and I didn't have too much time to dig deeper, but I did find a round-about way of fixing the issue by adding the following code to the client side:
AutoForm.addHooks('orionMaterializeCollectionsCreateForm', {
    formToDoc: function(doc){
        var datefields = $('input[type="date"]');
        datefields.on('click', function (e) {
            // according to materializecss docs, this is how we 'pick a date'
            $(e.target).pickadate({
                format: 'yyyy-mm-dd' // format necessary for autoform to take it...
            });
        });
        return doc;
    }
});

Maybe you can shed some light on where this could (or should) be fixed?

I will start with autoform issue queue first, Autoform and SimpleSchema are used wholesale here and you   should not need client hacks to make it work

@jdivy you should submit a issue on this package https://github.com/djhi/meteor-autoform-materialize/

Turns out it was my problem (and partly lack of documentation perhaps).  Found my answer here https://github.com/djhi/meteor-autoform-materialize#pickadate
My hack is completely unnecessary - by configuring autoform with type: "pickadate" (which is provided by the package @nicolaslopezj pointed me to) all works as expected:
Services.attachSchema(new SimpleSchema({
    serviceDate: {
        type: Date,
        autoform: {
            type: 'pickadate'
        }
    }
}));


Gravity Support

Related Github tickets

https://github.com/VolumeFi/paloma/issues/503
https://github.com/VolumeFi/paloma/issues/515
https://github.com/VolumeFi/paloma/issues/516
https://github.com/VolumeFi/paloma/issues/518

Background
This PR contains the necessary Pigeon-side  functionality to for the Gravity Bridge.

Pigeon monitors Paloma for send-to-eth requests to an evm chain
Pigeon monitors the evm chains for events of send-to-paloma and attests those to paloma
The need to register orchestrator keys with paloma was removed because Pigeon already sends the necessary information to paloma

This is broken at the moment because upstream paloma changes to keep-alive seem to have left an out-of-sync proto lookup.  Merging https://github.com/palomachain/pigeon/pull/256 should fix this.
I've also skimped on the testing here because I've been pushing hard to get a working bridge.  I suggest we go to testnet and circle back to complete testing before mainnet.
Testing completed

[ ] test coverage exists or has been added/updated
[x] tested in a private testnet

Breaking changes

[x] I have checked my code for breaking changes

I think I've addressed all of your comments @byte-bandit.  This PR will remain in draft until both it and the Paloma PR are ready to be merged.

This should now be ready for merge.  Paloma has been fully merged.


token-2022: Update alloc_and_serialize to use Pod types

Problem
As part of the transition to using Pod types with #6316, the alloc_and_serialize extension helpers need to use Pod types to avoid more expensive deserialization.
Solution
Use PodStateWithExtensions* in the alloc_and_serialize* functions.
I spent a long time trying to do this by adding an unpack function to the BaseStateWithExtensions traits, but because unpack takes in a &[u8], and StateWithExtensions holds onto a reference, the lifetimes were an absolute nightmare. Because of that, I decided to just transition the whole function to use only Pod types.
I don't know why the alloc functions were pub to begin with, so I've also made them pub(crate). This will require a major version bump.

I'm sure there is, but I swear I tried everything that I knew, from higher-rank trait bounds (didn't work because StateWithExtensions doesn't implement the trait for all lifetimes), to specifying dependencies between the trait lifetime and the struct lifetime (ie. 'b: 'a) but it still told me the reference didn't last long enough


Adding feature in Python/Fahrenheit_to_celsius.py [Convert user provided temperature]

Description:
I want to add a feature that allows the user to input temperature in Fahrenheit and the program converts it to celsius for that specific input.
Impact :
This will increase the useability of this program as this will allow users to quickly get the desired output rather than scrolling through all the outputs for different temperatures.
Required Changes :

[ ] provide a choice to users to convert specific temperature or go through all the temperature conversions.
[ ] If the user wants to convert a specific temperature to Celsius then ask for the temperature.
[ ] Display desired result.

Notes :
I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. Please assign the issue to me.

I have updated the issue template. Thank you for your valuable insight.


Add directive support for fab-dropdown

-Add directives to support i18n for fab-dropdown
-Add demo of new directive-supported fab-dropdown to app.component
-Minor cleanup of directives for fab-combo-box

@reshaw Note that you can also directly make a PR from within this repo. Since you're in the Commercial Stores team you have the permissions to create branches etc.
Will merge this once CLA reports the status, no idea why it didn't yet.


⚠ Bofrost.be has degraded performance

In d0d0138, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1252 ms

Resolved: Bofrost.be performance has improved in 1ae057b.


Suggestion: Auto-Fill

It would be nice if after a new member is created, that their name is auto-filled in the search form, to quickly sign them in. Note that we don't always want to sign in a new member, but that is a common use case.

this was fixed in @BigAB branch that shows the visit modal after a new member is created.


Support Catch node for owserver errors

Hopefully a fix for Issue #6.
It seems too easy, but Catch nodes now appear to work correctly when the owserver has a problem accessing the sensor, or if it the owfs node cannot access the server.

Thanks! I will give this a test.


Include sorting

Description
This adds include sorting and ordering to UE4SS, and its dependencies except Unreal, patternsleuth, patternsleuth bind and all third-party dependencies.
Before: https://github.com/UE4SS-RE/RE-UE4SS/blob/8f077f6bf92aed0ccb359f916d981c3a63b8cefc/UE4SS/src/UE4SSProgram.cpp
After: https://github.com/UE4SS-RE/RE-UE4SS/blob/2c71ea169ee9265fe95b2cade33d5323f0834ac5/UE4SS/src/UE4SSProgram.cpp
How Has This Been Tested?
Successfully built with msvc-wine.

Builds fine for me on windows and on msvc-wine

Looks good, I would squish the comments into two though, first one being adding clang-format and running it with all the build fixes, and the second one being git-blame-revs changes

Can you do the existing Clang format first in one PR and then the include things separate?

Can you do the existing Clang format first in one PR and then the include things separate?

Okay, please merge #719 so that I can redo this PR.

This should be ready now.

Does it have to Alpha sort all groups? Also can imagine some scenarios where Unreal includes should be the first group.

Does it have to Alpha sort all groups? Also can imagine some scenarios where Unreal includes should be the first group.

Why shouldn't it be alpha sorted ?
What scenarios ? The entire project builds as it is.

Does it have to Alpha sort all groups?

I just checked, and as far as I could tell it's not possible to have groups without sorting the contents of each group.

I don't see any benefit at all to alpha sorting, but there are plenty of potential scenarios where it could cause issues. For example, CoreMinimal should almost always be first include for the Unreal group and there are files that start with A.
A lot of our types, defines and macros come from the unreal submodule and if they're included later there could be issues with defines not being applied early enough.
Sometimes there are files that need to be included in a certain order, particularly around windows includes.  Generally they begin with Allow/Hide/Show.  Sometimes one or the other needs to be included at the very bottom of a file. This is just one scenario I know of, could be tons of other things we are not aware of.


Changed zig to version 0.9.0 for river.

If using >=zig-0.9.1 portage emerges zig 0.10.xx-xx, which fails to compile river.
It compiles fine using zig-0.9.0 though, so I see no reason why not to use it. :p

Ha, should know better than to trust upstream :P


After running article-feed, the feed's articles will be empty until reopened

Newsboat version (copy the output of newsboat -v or the first line of git show):
Newsboat 2.31.0 - https://newsboat.org/
Copyright (C) 2006-2015 Andreas Krennmair
Copyright (C) 2015-2023 Alexander Batischev
Copyright (C) 2006-2017 Newsbeuter contributors
Copyright (C) 2017-2023 Newsboat contributors

Newsboat is free software licensed under the MIT License. (Type `newsboat -vv' to see the full text.)
It bundles:
- JSON for Modern C++ library, licensed under the MIT License: https://github.com/nlohmann/json
- optional-lite library, licensed under the Boost Software License: https://github.com/martinmoene/optional-lite
- expected-lite library, licensed under the Boost Software License: https://github.com/martinmoene/expected-lite

Newsboat 2.31.0
System: Linux 6.1.26-1-lts (x86_64)
Compiler: g++ 12.2.1 20230201
ncurses: ncurses 6.4.20221231 (compiled with 6.4)
libcurl: libcurl/8.0.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.52.0 (compiled with 8.0.1)
SQLite: 3.41.2 (compiled with 3.41.2)
libxml2: compiled with 2.10.3

Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
bind-key f article-feed article
bind-key f article-feed articlelist

Steps to reproduce the issue:

Open a feed or article
Press f
Press q
All the articles in the feed will now have no body until the feed is reopened

I figured out the cause. Here's what happens when you press f/run article-feed:

itemlistformaction.cpp line 760: Calls View::push_itemlist(size_t)
View::push_itemlist(size_t): Calls View::push_itemlist(std::shared_ptr<RssFeed>)
View::push_itemlist(std::shared_ptr<RssFeed>): Calls ItemListFormAction::set_feed(std::shared_ptr<RssFeed>)
ItemListFormAction::set_feed(std::shared_ptr<RssFeed>): Calls RssFeed::load()
RssFeed::load(): Calls Cache::fetch_descriptions(RssFeed*), which calls RssItem::set_description(const std::string&, const std::string&) for each item in the feed

And here's what happens when you press q/close the feed:

itemlistformaction.cpp line 407: Calls RssFeed::unload()
RssFeed::unload(): Calls RssItem::unload() for each item in the feed, which resets/unsets the description for all the items in the feed

I thought of using reference counting, basically:

Add size_t rc = 0; to rssfeed.h (name should be changed)
In RssFeed::load(), increment rc by one (and maybe only call Cache::fetch_descriptions(RssFeed*) if rc was 0)
In RssFeed::unload(), decrement rc by one, and only call RssItem::unload() if rc is now 0

However, you can press v to open the list of dialogs, select an article list, and press ^X to close the article list without calling RssFeed::unload(), effectively making it so that all the items in the feed never have their descriptions unloaded.

Good catch, I can indeed reproduce this issue.
It looks like something similar happens when opening a query feed, switching to a different feed and closing it (^V, entering it, and quitting it), if you then switch to the query feed again (^V, selecting the already open dialog with the query feed), the items from the other feed which we opened/quit are then missing their content.
Given that query feeds load/unload the content of articles from different feeds, it might make sense to apply the reference counting to the RssItem (instead of the RssFeed).

However, you can press v to open the list of dialogs, select an article list, and press ^X to close the article list without calling RssFeed::unload(), effectively making it so that all the items in the feed never have their descriptions unloaded.

Another good find.
That definitely looks like a bug, might be something we can track (and fix) separately.


refactor: implement ResultPattern (#204)

What type of PR is this? (check all applicable)

[x] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization

Description
Related Tickets & Documents

Related Issue #204
Closes #204

Added/updated tests?
We encourage you to keep the code coverage percentage at 80% and above.

[x] Yes
[ ] No
[ ] I need help with writing tests

Hi @AmirAbdollahi!
You are almost there. I know that you don't finish yet, but I'm looking and found some points that you missed.
Thank you, nice job.

Hi @FelipePSoares,
I'm sorry for my late reply; I’ve been a bit busy. I'll check and resolve the issues as soon as possible.
Thank you very much!

Hi @AmirAbdollahi!
You are almost there. I know that you don't finish yet, but I'm looking and found some points that you missed.
Thank you, nice job.

Hi @FelipePSoares, I'm sorry for my late reply; I’ve been a bit busy. I'll check and resolve the issues as soon as possible. Thank you very much!

Don't worry, It's end of the year it's normal, I'm busy also because of that the project is a little bit paused for now.
Take your time.

Hi @FelipePSoares,
All the tests have finally passed and the changes are ready for your review again. Thank you once more for your valuable suggestions!

Hi @AmirAbdollahi ,
Merged, Thank you so much for you help again.
I imagine that is the first time that you use the result pattern, I like so much this pattern is very usefull to avoid unecessary exception in your application. If you have some doubt or want to discuss about that feel free to send a message here or in linkedin for example.
Have a nice day.

Hi @AmirAbdollahi ,
Merged, Thank you so much for you help again.
I imagine that is the first time that you use the result pattern, I like so much this pattern is very usefull to avoid unecessary exception in your application. If you have some doubt or want to discuss about that feel free to send a message here or in linkedin for example.
Have a nice day.

Hi @FelipePSoares,
Thank you so much for you appreciation. I'm so glad I could help with some code changes.
Yes, I found this pattern so useful to handling unwanted exceptions.
Thank you again for your support and encouragement.
Have a great day as well.


jpexs: rename to jpexs-ffdec

Motivation for this change
jpexs is just the developer's name.
The ffdec abbreviation is used in the official repo, so jpexs-ffdec seems like the best package name to use in nixpkgs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Closing because I am not using the package anymore.


EOL Python 3.8

Ref: https://github.com/devcontainers/images/issues/90

Should we also increment the major version?


BUG: Cant Costumize width timetable

Bug description:
I'm unable to customize the width of the columns in the timetable. When I try to display a week view, only 6 days are shown because the last day is getting cut off.
Visual demo:
Screenshots, videos or gifs to help explain your problem
Code to reproduce
<WeekView
          windowSize={21}
          initialNumToRender={50}
          timesColumnWidth={40}
          hoursInDisplay={20}
          events={events}
          onGridClick={createSomeNewEvent}
          fixedHorizontally={true}
          showTitle={false}
          numberOfDays={7}
          formatDateHeader="ddd"
          formatTimeLabel="HH"
          pageStartAt={{weekday: 0, left: 1}} // Start from Monday (weekday: 1)
          selectedDate={new Date()}
          onEventPress={handlePressEvent}
          onDragEvent={(event, newStartDate, newEndDate) =>
            updateEvent(event, newStartDate, newEndDate)
          }
          editingEvent={editingEventId}
          editEventConfig={EDIT_EVENT_CONFIG}
          headerStyle={{borderColor: 'transparent'}}
          headerTextStyle={{color: 'white', fontSize: 11}}
          hourTextStyle={styles.hourText}
          gridColumnStyle={{
            borderColor: '#383838',
          }}
          gridRowStyle={{
            borderColor: '#383838',
          }}
        />

Environment:
Important: using your own fork makes this more difficult to reproduce and solve. We recommend trying with the latest week-view version.

react-native-week-view: version X
react-native-gesture-handler: version X
react-native-reanimated: version X
react-native: version X
react: version X
OS: android / iOS

Additional context (optional):

Error message or traceback (if any)
Steps to reproduce
...

The width cannot be configured at the moment

The width cannot be configured at the moment

can i set end date to show, example i just want to showing 03 - june 2024 until 09 - june - 2024 ?


feat: added robots and sitemap

#159  👈
develop

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

Join @bob-obringer and the rest of your teammates on  Graphite


added support for scss files

Added sass-loader

Hey, will it throw an exception if I don't have ruby?

@valorkin hi! It shouldn't. Could you test it?
I don't have ruby too, and it works. It's sass-loader, not ruby-sass-loader

@valorkin do you have any comments? How I can improve my request?

This config is deprecated in favour of angular-cli, so I can give any access you need

Hi @valorkin ,
You mean you don't intend to maintain the project anymore?
Too bad :( , 'cause i liked the fact that this focus only on the build tools (webpack, karma, protactor) making it more lightweight than angular-cli and more hackable...

yep, I know sorry. ng-cli week point is webpack version, so it will be much faster soon


fix rdev non-GHA builds

Reviewers
Functional:
Readability:

Changes
Add explicit --stack-name option for GHA-based builds of docker images. Replaces the use of --extra-tag to pass in the stack name. This allows the script to work in non-GHA build usages.
Definition of Done (from ticket)
QA steps (optional)
Tested:

single-cell-infra happy explorer + data portal rdev local create
single-cell-infra happy explorer + data portal rdev GHA create
single-cell-data-portal happy local create

Known Issues

I don't see the images you pushed in ECR. Built and pushed docker images with tags: ['GitHubActions-1222-194439', 'sha-f1a514ab', 'build-40', 'atolopko-dp1653-rdev-fix']
https://github.com/chanzuckerberg/single-cell-explorer/runs/4611000912?check_suite_focus=true#step:5:4236

I don't see the images you pushed in ECR. Built and pushed docker images with tags: ['GitHubActions-1222-194439', 'sha-f1a514ab', 'build-40', 'atolopko-dp1653-rdev-fix']
https://github.com/chanzuckerberg/single-cell-explorer/runs/4611000912?check_suite_focus=true#step:5:4236

I cleaned up after myself. 😆


[Feature request] Drops mining order

Is it possible to make miner farm drops in the order of campaigns ending time? So user didn't had to make a priority list based on ending time to farm all possible loot.

Hello o/
An interesting idea, but I don't see what that would be needed for. This isn't a "set and forget" miner. If you know about a campaign that's short, and would rather get the drops from it than a different campaign, game of which is higher on the priority list - just reorder the priority list beforehand, so that it will be mined first. All it needs is to be given sufficient priority via the already existing priority list. In most cases, you can even leave your reordered list as-is, and it should still work out for you as you'd want to later on. In my case, for example, my main, favorite game, is pretty much on the very last spot in my priority list, because there's 4 other games, which have shorter, but irregular campaigns. This makes it so that when they appear, they'll be mined first, before the miner "falls back" to the long and regular campaign my main game is usually having. No reordering back-n-forth required.
This was already extensively covered by me in #330, so I'd recommend checking it out for more explanation.


Update dependencies

Fixes #44
Fixes #41

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Revert spacing changes in content block segmented

The problem
After talking to @ltitle, we realized that with updates from #2620 that we might not need the variant spacing options in the content block segmented that we originally identified, and instead Drupal can use content block mixed or content block media instead now that it has the optional copy.
The solution
We just want to revert the spacing that was hardcoded in https://github.com/carbon-design-system/ibm-dotcom-library/commit/0246fb66e6236ed8dc0003d9552b9633cde1c76e#diff-288b4cfefcc3ec25bbec0d037c68e5d1R17-R24
It was supposed to be a variant originally, so there was going to be an updated needed to fix that anyway, but according to @ltitle we don't need it anymore.
Additional information

#2620
#2396

There might be a small change to functional specs here that need to be made.
https://ibm.box.com/s/k1s20tmml53qfcie7bavgb0h3pap8211


Workaround to fix login form validation when using autofill on iOS

Fixes #986. Adds method to detect value change relating to iOS autofill and refresh form validation.

Thanks!


Failing tests

Hello,
I tried to create a failing unit test for https://github.com/safesparrow/fsharp/pull/9 because I think I may have found a solution/workaround.
It is currently still a quite frustrating experience to collaborate on this branch.
I'll leave some pointers in this PR.

Oh, and please give ASTOrX a better name.

Closing in favour of https://github.com/safesparrow/fsharp/pull/11


Batch Convert & Download

Hi, first of all, amazing application, It's mostly on my everyday use now,
The only thing that I would like to recommend for this to be the "universal image converter app" for every case for me is an option to select a format for every image at once and a "download all" button, that would just make it perfect.
I know this project is completely done, but with this "issue" I also want to show that there are people that use this application and love it!

Hey thanks for using this! The codebase is kinda old so I'll have to look into this a bit and although I can't guarantee this will be added I will look into this and hopefully add it.


add Bitizen Wallet

Hi there,
Bitizen is a new generation MPC-based Web3 wallet with no private keys and no seed phrases, designed for the new wave of Web2 users who are entering the era of the decentralized Internet.
Learn more about Bitizen Web3 Wallet by visiting bitizen.org or reading the developer documentation. To discuss an integration, send us an email to<EMAIL_ADDRESS>

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


SSL Certification Output

TL;DR
add a new output for the managed ssl certification
output  "managed_ssl_certificate" {
  description = "The managed SSL certificates"
  value       = google_compute_ssl_certificate.default.self_link
}

Terraform Resources
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_ssl_certificate.html

Detailed design
No response
Additional information
No response

@hadi-alnehlawi It seems like u want managed ssl certificate self link but in yous example it is the certificate uploaded to GCP. Can you plz clarify which one u need?


Does this work on any Android versions?

Can't find a clear answer for this question on your website. Thanks!

Fast reponse, not so fast closing of this issue. It's about time now.


[Feature Request] 文件md5校验

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
todo
Additional context
No response

MD5、SHA1、SHA256

好像不是很必要


Does it support vector type from pgvector?

@egorsmkv Hello! Currently no. I had a quick look at some realizations. It seems isn't difficult.
I'll add this integrations when I find some free time.

Thank you!

@egorsmkv Hello! I've made a new release with Vector support.
Please check PgVector extra type - https://psqlpy-python.github.io/usage/types/extra_types.html

@chandr-andr checked, works fine, thank you for the update!


Streaming transformer models support

Is it possible to use Streaming transformer models in sherpa_onnx
example model:   speechcatcher/speechcatcher_german_espnet_streaming_transformer_13k_train_size_m_raw_de_bpe1024

Is it a transducer model, a CTC model, or something else?
By the way, we don't support decoding AED models.


[Bug] MAE with input size of 512

Branch
master branch (0.x version, such as v0.10.0, or dev branch)
Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

Environment
sys.platform: linux
Python: 3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:49:35) [GCC 10.4.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: Tesla V100-SXM2-32GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.7, V11.7.99
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.13.0+cu117
PyTorch compiling details: PyTorch built with:

GCC 9.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.7
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CuDNN 8.6  (built against CUDA 11.8)

Built with CuDNN 8.5

Magma 2.6.1
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.7, CUDNN_VERSION=8.5.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.13.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.14.0+cu117
OpenCV: 4.6.0
MMCV: 1.7.0
MMCV Compiler: GCC 9.3
MMCV CUDA Compiler: 11.7
MMSelfSup: 0.10.1+85c795e
Describe the bug
Hi everyone, I tried pre-training of MAE with input size of 512, but it did not work.
To force the model inputing an imge of size 512 I modified imagenet_mae.py  to the following
from
train_pipeline = [
    dict(
        type='RandomResizedCrop', size=224, scale=(0.2, 1.0), interpolation=3),
    dict(type='RandomHorizontalFlip')
]

to
train_pipeline = [
    dict(
        type='Resize', size=512),
    dict(type='RandomHorizontalFlip')
]

and I got the following error RuntimeError: The size of tensor a (1024) must match the size of tensor b (196) at non-singleton dimension 1
Reproduces the problem - code sample
train_pipeline = [
    dict(
        type='Resize', size=512),
    dict(type='RandomHorizontalFlip')
]

Reproduces the problem - command or script
No response
Reproduces the problem - error message
RuntimeError: The size of tensor a (1024) must match the size of tensor b (196) at non-singleton dimension 1
Additional information
No response

Hi, after changing the input size, you also need to modify the input size of ViT backbone simultaneously.
The input size: 224; patch size:16 -> so the tensor length is (224 / 16) ** 2 = 196
However, if the input size is 512, patch size: 16 -> the tensor length is (512 / 16) ** 2 = 1024

The issue will be closed. If you have any other questions, feel free to open a new one.

For anyone who still faces this issue
you need to make two changes:

In the VIT backbone :

backbone=dict(type='MAEViT', arch='b', patch_size=16,
mask_ratio=0.75, in_chans=2, img_size=512),
( The img_size=512 argument was added)

In the MAEPretrainDecoder:

neck=dict(
type='MAEPretrainDecoder',
num_patches=1024,
patch_size=16,
in_chans=2,
embed_dim=768,
decoder_embed_dim=512,
decoder_depth=8,
decoder_num_heads=16,
mlp_ratio=4.,
),
(The argument num_patches=1024 was added)


[macOS] Fix ambiguous method call with older SDKs.

Fixes https://github.com/godotengine/godot/issues/82835

Thanks!


Investigate implications/consequences of importing more "italic" fonts compared to just normal italics

we own:
Blender Book
Blender Book Italic
Blender Bold
Blender Medium
So we should have those fonts and only those fonts on the typography page (AFAIK)


Tasks for Paul

@paulgignac segment the left hindlimb.

Task received, meaningful comment added.

accidental mouse click on "unassigned"

Adding another meaningful comment.


size problem with SizedBox and Container not child in Scaffold

in main dart return Scaffold Widget
  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    SizedBox sziebox =  new SizedBox(
      width: 100.0,
      height: 100.0,
      child: new DecoratedBox(
        decoration: new BoxDecoration(color: Colors.red),
      ),
    );

    return new Scaffold(
      appBar: new AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: new Text(widget.title),
      ),
      body: sziebox,
      floatingActionButton: new FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: new Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

the red color size is 100*100,this is right .
the problem code:
  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    SizedBox sziebox =  new SizedBox(
      width: 100.0,
      height: 100.0,
      child: new DecoratedBox(
        decoration: new BoxDecoration(color: Colors.red),
      ),
    );
    return sziebox;
 }

the red color size fill the whole screen.why size is not 100 * 100??
this is right image

this is problem image

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v0.5.3-pre.21, on Microsoft Windows [Version 10.0.17134.48], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
[√] Connected devices (1 available)
• No issues found!

@Hixie

The MaterialApp's home widget is constrained to a fixed size that matches the size of the screen.
A parent widget's constraints trump its child's constraints, which is why the red container in the second version of your example matches the size of the screen.
You can get the result you want by adding an additional container, like Align:
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Align(
        alignment: Alignment.topLeft,
        child: new Container(
          width: 100.0,
          height: 100.0,
          color: Colors.red,
        ),
      ),
    );
  }
}

@HansMuller thank you, this is the key point A parent widget's constraints trump its child's constraints,

@HansMuller can you point me to the explanation of the theory "a parent widget's constraints trump its child's constraints" for the case a parent is larger than its child?  I had this same problem (and solved it now with the Scaffold), but to me it sounds very illogical that (e.g.) the size of a SizedBox is ignored, while its parent is much larger (i.e. the whole screen).

@HansMuller

A parent widget's constraints trump its child's constraints, which is why the red container in the second version of your example matches the size of the screen.

Would it be useful to add a description of this behavior to the following part of Container's documentation ? From the current description, it seems unclear to me which constraints win.

If the widget has no child and no alignment, but a height, width, or constraints are provided, then the Container tries to be as small as possible given the combination of those constraints and the parent's constraints.


Fix issue when many containers are created but only one is deleted

If a MESG service is created but has some errors like for example like that:

A service that is connecting to a database
a dependency that is running the database (influxdb for example)

When the MESG service starts with these two docker services, the first service will crash because it cannot access the database that takes time to start and will restart.
When it restarts docker stop the initial container but without destroying it so we needed to delete this container. If the initial service crashes multiple times, multiples containers are stopped but not deleted. This PR is fixing that by ensuring that all the remaining containers are actually deleted and doesn't block the execution of a new service and doesn't stuck the action to stop the MESG service (pending indefinitely because a container is still existing)

Tests are not passing.

Tests are not passing.

@ilgooz When the test are failing with the following type of error, you can go on circleci and press rerun workflow. thx
panic: starting container failed: No such network: core [recovered]
	panic: starting container failed: No such network: core

But the tests are not passing due to this error:
=== RUN   TestStopService
coverage: 87.3% of statements
panic: test timed out after 5m0s

goroutine 506 [running]:
testing.(*M).startAlarm.func1()
	/usr/local/go/src/testing/testing.go:1240 +0xfc
created by time.goFunc
	/usr/local/go/src/time/sleep.go:172 +0x44

It's timeout on test stop

Where do you see this test failing?
On circle ci, I see:
--- FAIL: TestIsRunning (0.61s)
panic: starting container failed: No such network: core [recovered]
	panic: starting container failed: No such network: core

goroutine 68 [running]:
testing.tRunner.func1(0xc42060c000)
	/usr/local/go/src/testing/testing.go:742 +0x29d
panic(0x7f0d20, 0xc4203b9010)
	/usr/local/go/src/runtime/panic.go:502 +0x229
github.com/mesg-foundation/core/daemon.startForTest()
	/go/src/github.com/mesg-foundation/core/daemon/start_test.go:31 +0x21c
github.com/mesg-foundation/core/daemon.TestIsRunning(0xc42060c000)
	/go/src/github.com/mesg-foundation/core/daemon/status_test.go:51 +0x26
testing.tRunner(0xc42060c000, 0x895ee8)
	/usr/local/go/src/testing/testing.go:777 +0xd0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:824 +0x2e0
FAIL	github.com/mesg-foundation/core/daemon	3.552s

@ilgooz could you take a look and fix the test please?
Maybe we could do the test using docker mock? #588

@NicolasMahe Of course, by the way, let's merge testify mocks:  https://github.com/mesg-foundation/core/pull/588


Replace text layout with cosmic-text and rendering with swash

Closes #272

Status: the bridge between cosmic-text/swash and femtovg has been written. The bridge between vizia and cosmic-text has not been written.

Requires my fork of femtovg (waiting on their advice in terms of how to integrate that into their main branch) and my fork of cosmic-text (https://github.com/pop-os/cosmic-text/pull/60). Outstanding issues that require more changes to cosmic-text but I'm going to put on fixing them for now:

some bidi embedding issues
vertical cursor movement doesn't preserve x position properly
trying to do alignment with textboxes will fail for now
cursor affinity


Update dependencies

Hi,
i had an issue using provisioning in the dependency 'cert-downloader' (see this issue).
The issue has been resolved in version 0.2.1 of cert-downloader. It would be nice if you could update the dependency here to use the new version and also point your ipa-metadata tool to use the then new version of provisioning.
thanks in advance

Thanks for reporting this!
See #3

great. thank you!


Zoom to the next clustering split?

Right now I am using the onClusterPress and the animate function to zoom in on press, however, sometimes I have to tap a couple times in order to get to the next place where the clusters 'break apart'.
I was wondering if it's possible to zoom into the next cluster break?
It looks like if I could get an array back from the markers that are in the cluster, I could pass that to react-native-maps fitToSuppliedMarkers method perhaps?
I have tried playing around with the amount of zoom, and that got me closer to what I'm wanting, but not quite.
Thanks in advance!

Hi, I added new feature in version 1.2.4. Now onCluterPress is also returning info about markers.
Here is how it works:
<MapView
  onClusterPress = {(coordinates,markers)=>{
   console.warn(JSON.stringify(markers))
 }}
...
</MapView>

You get a lot of info about markers, so I guess it should be enough to come up with some algorithm.
Please test it and tell me if it is enough :)

Where is version 1.2.4?


Hotfix/bug 12512

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


fix view live form and edit form buttons

hide the buttons if they don't go to anything

Closed with #24


velero upstream rebase for release-1.14

Why the changes were made

Velero go.mod dep update for velero release-1.14 rebase.
How to test the changes made

/retest

/override ci/prow/4.16-e2e-test-kubevirt-aws

woot


Added Aptech Garden Karachi Branch

This is the email domain for  Garden Area Branch in Karachi

@aaybeepk Could you please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@aaybeepk I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


Add back gen-release-csv make target as it is being used for ds build

/override ci/prow/ocs-operator-bundle-e2e-aws

/override ci/prow/ci-bundle-ocs-operator-bundle


Licensing?

Hi @slashdotdash
Thank you for providing the source of this project. I think that the idea to make this public was for others to use it. However, there is no license and the project is de-facto proprietary, copyright all rights reserved. Could you indicate if that is intentional, and otherwise add a license under which other people can reuse the code?

I've now added the MIT license.

Thank you!


What is the HoloLens 2 system default popup textbox when voice command is detected?

In HL2, when some system reserved keywords are detected (e.g. select), there is a popup toast flying up: white border, black background, showing text of the keyword. Is this part of UWP API, or MRTK?
I did some search and could not find anything documenting this. Is this somthing available to hololens developers?

I think this is the SpeechConfirmationTooltip. It has a similar pop-up toast animation, but I don't know if the colours are the same.
There is also a sound called MRTK_Voice_Confirmation available that I think you can use to play a matching sound.

Thanks @NoTuxNoBux


Fix input blinding data

This PR:

fixes error detecting if an input is confidential (unblindData is defined in all inputs after all)
fixes error that occurred when two inputs were from the same Tx (but with different vouts)

@louisinger @tiero please review

Why secp256k1_surjectionproof_initialize was so random?
The error would only throw when there were 2 inputs coming from the same transaction.
The inputs would have the same hash (but different vouts), and on the second run of the cycle, utxos.find() would return the first utxo (again), instead of the second, thus generating the error:
const utxo = utxos.find((u) => txidToBuffer(u.txid).equals(input.hash));

By adding an additional condition to the find, we rest assure the utxo found is the correct one:
const utxo = utxos.find(
      (u) => txidToBuffer(u.txid).equals(input.hash) && u.vout === input.index
);

This happend with bitmatrix because when we swap LBTC for USDt, they normally send us 2 coins, from the same Tx, with half the value each. Every time this 2 coins were selected for a new Tx, we would have the error thrown.


implement HA support

related to #14

This looks amazing :) If you need help to test? Happy to help!

actually, I will need some testing hands when I solve the last problem to make this stuff work.
In the current state, this PR fails at the very last step "join node", because I do a kubeadm token create when the API server is still not up after the apiserver-count change. I'll need some kind of retryer for that.
There is another very annoying task, which is a little embarrassing for me, but never had a better idea: my progress bars. As of uiprogress I've to set the step count in advance. This means I need to know, how many AddEvents a single progress bar will have, depending on the option. Currently, someone needs to physically count how many steps it actually takes to make an accurate progress meter. With a bunch of new options there is some work to do....god damn UX

For the progress bar, I'd keep it simple:
https://github.com/xetys/hetzner-kube/pull/22/files#diff-2acc7cd640c4d0fa151f41f4b35f24e3R155
Instead of counting each steps, just say that each is one step, and it will already be good enough I'd say, and keep the code simple.
You want to count exactly, like with kops?

If I count too few, then steps, the event channel for that node closes too early and the tool hangs on the next event emission.
If I count too much, then the bar will move to say 70 - 80 % and immediately jump to 100% when done. It's not that bad like in the first case, but ugly.
This feature is classical UX...makes a lot of work just for the user to be happy. But we know how much UX makes the game in software :)

@pierreozoux you actually can start to test if you know how to build this branch from source

first bug: isolated mode does not work, yet

resolved and read to be merged

@xetys tested HA, looks great, it worked like a breeze!
I played with 2 worker nodes, installed rocketchat, killed a node, and well, it didn't work anymore :)
Rook actually needs 3 worker nodes!

yeah, with 2 nodes you will have one node with 2 ceph mons on it. If you kill this one ceph cannot maintain the quorum. Maybe adding some kind of warning for the rook addon?

I just tried with 3 nodes, killing one worker node, it also failed.
Reading more documentation to try more :)

I just tried with 3 nodes, killing one worker node, it also failed.
Reading more documentation to try more :)


GraphQL errors shouldn't be logged

What I'm trying to achieve
Remove useless exception output.
Steps to reproduce the problem

run { products { invalid } }
an exception will be logged despite it was handled

What I expected to happen
It shouldn't be logged. We could check whether the final exception is a GraphQL exception or an actual exception.

This would require overriding or silencing graphql.execution.utils's logger from ExecutionContext.report_error to prevent it from sending unwanted logs.

For sure we don't want to log errors like:

PermissionDenied
ValidationError

I don't know what do do with GraphQLError - it could be useful if you have broken queries in your client, but it shouldn't be the case with our demo stores that we control and test locally. Maybe we should only silence this error on demo branch?

Also please take a look at: https://docs.sentry.io/error-reporting/configuration/filtering/?platform=python, maybe this would help.

https://github.com/mirumee/saleor/pull/4906#discussion_r339529371


Go frameworks

Changes Made Describe
the changes made to the codebase.
Checklist

[x] I have tested the changes locally.
[x] I have added necessary documentation (if appropriate).
[x] I have updated the README (if appropriate).
[x] I have merged the latest changes from the main branch.

This PR should close the following issue.
https://github.com/devopshobbies/docker-templates/issues/45


Fix error with child maintenance example

A minor bug that got missed in a previous review. Swaps out quotes in the phase banner in the example so that it doesn't break the html string.

Closing as this is superseded by https://github.com/alphagov/govuk-frontend/pull/3953


Memory exhaustion

Describe the bug (observed vs expected behavior)
We completed our migration from devnet python to devnet rust, after a few adjustments now we have all tests running again. There is only one issue. Our tests take around 20 min to run, during that time the devnet memory keeps increasing, after 5 minutes it reaches 7.99Gb and it starts to slow down, after another minute the container stops (no specific error i could find)
As a workaround we are calling the restart endpoint every 2 minutes, and that seems to help, although i still see the memory increasing it’s good enough for our test suite (edited)
Not reproducible on alpha-goerli

[x] This issue is only present on Devnet and cannot be reproduced on alpha-goerli (check the box if true).

To Reproduce
Steps to reproduce the behavior:

Keep using devnet rust for 20 minutes

Devnet version

I am using Devnet version: shardlabs/starknet-devnet-rs:64c425b832b96ba09b49646fe0fbf49862c0fb6d
[x] This happens with a dockerized Devnet (check the box if true).
This does not appear on the following Devnet version:

System specifications

OS: MacOS and also running Github actions on ubuntu

@mikiw I think you might be after something with that last idea:

While minding my own business, I was digging through the code and had some ideas about this issue.

I saw that we clone the state in several places (look for state.clone())

Those are refactoring candidates, maybe something is not properly dropped due to our use of Arc

if visual analysis tools weren't of help, there are Rust APIs that return resource usage information
Could be used for inserting function calls as sort of breakpoints inside the code
Thus we could check where exactly memory grows most
Do we know since when this has been a problem?

If we can have a simple enough testing procedure (e.g. N requests which eventually cause the memory to grow; N being sufficiently large), we could reuse it while backtracting revisions to potentially find one without these issues

@sgc-code hey, do you need old state history? Like, being able to query old states with an old block_id?

@sgc-code hey, do you need old state history? Like, being able to query old states with an old block_id?

Hi, @FabijanC if we have a flag to disable old history it could workaround our issue for now. We don't currently need to access the older blocks. Maybe you want to look into some more efficient storage options later. Thanks

@sgc-code Sure we are also considering more efficient storage options, but were just considering conditional disabling of state storing as the quickest fix.
Thanks for the reply

@sgc-code https://github.com/0xSpaceShard/starknet-devnet-rs/pull/290 was merged so now memory should not growing insanely

I suspect the largest part of the state history are contract classes. As has already been mentioned somewhere, storing a clone of state (together with declared classes) for each block is highly inefficient. That's why we are currently defaulting to not storing the state history.
Proposal
Instead of cloning all of the classes, we could have one global storage of type HashMap<ClassHash, (ContractClass, BlockNumber)> (wrapped in e.g. Arc<Mutex<...>> or Arc<RwLock<...>>) - meaning we could store the class together with the block number when it was added.
Why
So cloning a state would only clone the reference (Arc) to the contract class map.
Implementation details
When retrieving a class (in the response of the JSON-RPC method starknet_getClass), we would return the class only if stored_block_number <= query_block_number.
Refactoring might be needed to store a contract class together with the next block number, because currently we store the class before the next block is created.

Similar issue reported on Discord: https://discord.com/channels/793094838509764618/1245283649356566620


Fix some bugs and complete todo item (and more)

While updating a project that used w2ui v1.3 I found a few bugs that were easy to fix.
For the grid toolbar I added support for reordering the default buttons by setting the order via options.toolbar.items. Take a look and see if you think it's worth adding (I can update any docs to describe what my comments say if need be for clarity).
I also extended the w2utils.getSize() function to be able to query any attribute (else return 0) since just getting the "width" attribute was causing w2objects within layouts to be too big (which either added scrollbars or clipped the content, depending on my overflow value).
One last change was to the liveSearch feature in grids. I just added a debounce function to reduce the amount of API calls when typing, works as expected!
If you have any questions/suggestions let me know, my team and I love this library and we thank you for keeping it updated!

Thank you for the commit. I am glad w2ui works good for your team and you like it. You have many good finds in this commit, and I am glad it comes from a real conversion to v2 in a real project. Your fixes are much appreciated. I provided feedback and in some cases alternative fixes. Can you please rebase on master branch, review changes and submit it again.
I would be happy to talk more about your project and what you are doing with w2ui, find me on telegram @vitmalina. Thank you.

Thanks for reviewing! I added a change to the form.css as a candidate for the broken lock display as well, let me know if that works.


Missing sigmoid as last discriminator layer

Is the discriminator missing a sigmoid as the last layer? (see these lines)
If I'm not mistaken, the current last layer is a linear layer, which can output any value including negative ones. Isn't this problematic in the standard GAN (Goodfellow et al. 2014) formulation?

Hello.
PyTorch supports fused sigmoid operation, which combines sigmoid and binary cross entropy.
The fused operation is more stable than separating each operation, and please see here for more detail.
Thank you.

Thanks for the clarification!


Fix jhisort drective

Fix error when trying to remove class

Cool :-)
Don't forget to check the item in the todo list :-)

I made a patch release 0.1.1 for the lib. so we need to upgrade the version on JHipster master

I'm sorry but I'm on the master branch and sorting doesn't work on http://localhost:8080/#/user-management;page=1;sort=email%2Casc -> @VictorADS can you have a look?