GraphQL Endpoint for ServiceMesh Addons

Current Behavior
A New graphql Endpoint required that would provide the status of AddOns on a given service mesh.
Endpoints required:

/api/mesh/adapter/scan

Input:

Service Mesh Name
List of addons to request

Output:

List of Addons and their status

[Optional]
Implementation

Acceptance Tests

Mockups

Proposal: move to /api/meshsync/mesh

@kumarabd was this implemented? Will you update the endpoints spreadsheet to reflect this?

@leecalcote yes it is implemented. It's a graphql query/subscription used in the Addons component of the management section. The endpoints are already updated in the docs.

Thank you, @kumarabd


[Request] GameLoop (Android Emulator)

Package Request
Criteria
For a package to be acceptable in the Nonportable bucket, it should be:

[x] a reasonably well-known and widely used application
[x] the latest stable version of the program
[x] the full version i.e. not a trial version
[x] a fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Information
Name: GameLoop
Description: With GameLoop, users can download and use hundreds of mobile games and applications on PC for free. It's like bluestacks but without
Homepage: GameLoop.com
Download link(s): Download

I couldn't find any official changelog for this app.
The only information that I can find is the version info in the installer exe itself, which says <IP_ADDRESS>, and I am not sure if this can reflect minor changes of the app.
I will observe the changes for a few weeks, and decide whether this app is viable for Scoop.

This might be better placed in the unofficial emulators bucket.

This might be better placed in the unofficial emulators bucket.

Thanks for the suggestion. I am fine with this app in the Nonportable bucket, see Nonportable/bluestacks for example.
But first, we have to find a proper way to (1) keep track of minor updates, and (2) silently install and remove it.

It is possible to track the version by this page.
Sadly I could not find a silent switch for the installer, or a proper way to extract it.
The page has
"defaultMarketUrl":"https:\u002F\u002Fdown.gameloop.com\u002Fchannel\u002F3\u002F16412\u002FGLP_installer_1000218456_market.exe","defaultMarket64Url":""}

where 16412 can be used as the version.


networkd network module's linkConfig is missing the ActivationPolicy option

Describe the bug
https://www.freedesktop.org/software/systemd/man/systemd.network.html#ActivationPolicy=
The ActivationPolicy option is missing from the possible options for systemd.network.networks.<name>.linkConfig.
https://github.com/NixOS/nixpkgs/blob/2a205b0cdb744bc134134f82f3e9129ac3d7e981/nixos/modules/system/boot/networkd.nix#L376-L405
Steps To Reproduce
N/A
Expected behavior
Being able to use linkConfig.ActivationPolicy = "manual" on a wireguard network.
Screenshots
N/A
Additional context
N/A
Notify maintainers
@flokli @rnhmjoj
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
Irrelevant

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
- systemd.network.networks

Sorry, looks like I was too eager and did not make my research.
This is only supported since Systemd/networkd 248


e2e: Simplify test context management

Simplify the way we managed text context and prepare for using it in the entire e2e module.

Eliminate the global contexts map and complicated logic to access the context from different modules by moving the action wrappers to the contexts.
Rename testcontext.TestContext to test.Context
Simplify test generation
Add test.Context.Name
Add per-test loger to test.Context
Eliminate interface dependencies with the e2e/types package
Implement the e2e/types.Context interface
Introduce test.Context.Validate()
Return more context from kubectl error
Remove unneeded log argument
Pass test context to utility functions
Add test.Context.Namsapce()

With these changes we are ready to complete #1683.

Summary from discussion with @raghavendra-talur:
We want to have a DRTest struct keeping everything needed for a test:
type DRTest struct {
    Workload ...
    Deployer ...
    Log ...
}

We will not implement any wrappers like Deploy/Undeploy/Protect/Unprotect/Failover/Relocate on the context for now, using functions to create sub tests. We can add this later when we have more flows.
We want to create this struct when we start a test, and pass it around instead of passing multiple arguments to all utility functions. This way we have access to everything related to a single test everywhere, and it is very easy to add or remove stuff without changing function signature everywhere.
This can also be used to eliminate the global Ctx later.

Summary from discussion with @raghavendra-talur:
We want to have a DRTest struct keeping everything needed for a test:
type DRTest struct {
    Workload ...
    Deployer ...
    Log ...
}

DRTest or Test does not works well like test.Context, so I kept the current name.

We will not implement any wrappers like Deploy/Undeploy/Protect/Unprotect/Failover/Relocate on the context for now, using functions to create sub tests. We can add this later when we have more flows.

Tried this, it is 2 times longer, full of boilerplate and required multiple //nolint: to make the linter happy. Keeping the actions are methods on the context is much better so I kept the current change.
Also tried table based test - with method on the context is very nice:
func runTestFlow(t *testing.T, ctx testcontext.TestContext) {
    t.Helper()

    if !ctx.Deployer.IsWorkloadSupported(ctx.Workload) {
        t.Skipf("Workload %s not supported by deployer %s, skip test", ctx.Workload.GetName(), ctx.Deployer.GetName())
    }

    flow := []testcontext.Step{
        {Name: "Deploy", Func: ctx.Deploy},
        {Name: "Enable", Func: ctx.Enable},
        {Name: "Failover", Func: ctx.Failover},
        {Name: "Relocate", Func: ctx.Relocate},
        {Name: "Disable", Func: ctx.Disable},
        {Name: "Undeploy", Func: ctx.Uneploy},
    }

    for _, step := range flow {
        if !t.Run(step.Name, step.Func) {
            t.Fatalf("%s failed", step.Name)
        }
    }
}

But the current test is much simpler code so I kept is as is. If we will have multiple flows or much long flow, table based test is the way to keep it clean and easy to modify.
The key to keep is nice is to use methods on the context.

The e2e failure looks like #1659


Bullet PR: dynamic body property interpolation will freeze physic simulation for this body

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Ubuntu 17.04, This issue is related to bullet pr, it's present in: https://github.com/godotengine/godot/pull/10013/commits/e6655f46e2cb9c4ec0681a2c227476fc55608cfc
tested on release_debug build
Issue description:
With bullet it's impossible to interpolate property of dynamic body with physic simulation at the same time. I recorded very short vid that presents this issue:
https://www.youtube.com/watch?v=2xOa8tlY9zc&feature=youtu.be
Steps to reproduce:
Short way:

Download reproduction project.
Run DynamicBodyTweener.tscn

Long way:

Create new scene with proper rigidbody setup.
Ensure body is above the ground.
Add Tween node that operates in fixed step mode, interpolate rigidbody rotation with it.

Link to minimal example project:
BulletInterpolationFreezeSimulation.zip

cc @AndreaCatania

Also it would be worth to mention that I don't know if this is working in Godot physics engine by aware choice or just by some lucky 'coincedance'. So it might be worth if @reduz could share his thoughts.

Here your algorithm is not correct because to move a physics body (rigid body) you must apply forces or change its velocity.
In Godot physics it works but is not intend to work.
So if you want set its position use a kinematic body.

I see that's what I though, but in fact I never used interpolation to move dynamic body, but to rotate it.

A rotation is a motion, so add a force or the linear velocity to translate the body, add a torque or the angular velocity to rotate it.


Run unit test HelloWorld failed

Version
3.0.0-rc.12
Node and OS info
Node 10.8.0 / yarn 1.9.4 / macOS 10.13.6
Steps to reproduce

Create new project with Mocha   Chai
yarn run test:unit

What is expected?
Pass unit test
What is actually happening?
WEBPACK  Failed to compile with 1 error(s)
Error in ./src/components/HelloWorld.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Super expression must either be null or a function
at /Users/alexgao/Dev/vue-webpack/node_modules/prettier/index.js:32893:5
at /Users/alexgao/Dev/vue-webpack/node_modules/prettier/index.js:32913:4
ERROR  mocha-webpack exited with code 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

For some reason downgrading to prettier 1.13.7 works.

Fixed by pinning prettier to 1.13.7 in @vue/component-compiler-utils. Remove your node_modules and lockfile and re-install should fix the problem.

@yyx990803 Thanks! Just do it now.

Works with Prettier version 1.14.0 as well. 1.14.1 has a breaking change.

FYI it is a jsdom-global & rollup issue.
https://github.com/vuejs/vue-test-utils/issues/936

I fixed it adding to my package.json "resolutions":{     "@vue/eslint-config-prettier/prettier": "1.13.7"   }

I am getting the same error. Adding the resolution above does not fix it?

Me to got error.
Version
3.2.1
Environment info
System:
    OS: macOS 10.14.1
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
  Binaries:
    Node: 11.4.0 - /usr/local/bin/node
    Yarn: 1.12.3 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 71.0.3578.80
    Firefox: 60.0.2
    Safari: 12.0.1
  npmPackages:
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.2.0
    @vue/cli-plugin-eslint: ^3.2.0 => 3.2.1
    @vue/cli-plugin-unit-mocha: ^3.2.0 => 3.2.0
    @vue/cli-service: ^3.2.0 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.1
    @vue/eslint-config-prettier: ^4.0.0 => 4.0.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/test-utils: ^1.0.0-beta.20 => 1.0.0-beta.27
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    eslint-plugin-vue: ^5.0.0-0 => 5.0.0
    vue: ^2.5.17 => 2.5.21
    vue-eslint-parser:  4.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.4.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.5.21
    vue-template-es2015-compiler:  1.6.0
  npmGlobalPackages:
    @vue/cli: 3.2.1

Steps to reproduce

vue create vue-with-mocha-eslint-prettier
Choose manual select features.

cd vue-with-mocha-eslint-prettier
yarn test:unit
Got Webpack compile error.

What is expected?
Pass HelloWorld.vue tests.
What is actually happening?
Got Webpack compile error.

Thanks @agriffis !

The workaround above also works with browser-env:
require('browser-env')();
window.Date = Date;


Preserve colors when piping the output

There is a demand of this feature:
https://stackoverflow.com/q/39245288
https://stackoverflow.com/q/18861709
In Unix, it is possible using --color=always and the pipe will pass the piper's colors to pipee: https://superuser.com/a/352719
Please consider adding this option.
Thanks!

@kasper3 I the specific case you cite, --color=always is an option on the 'ls' command causing it to always emit color codes regardless of whether the output is a tty or not. So it's up to the command to emit the color codes not the shell. Quoting from the superuser.com example:

you can't easily fix it in tee/pipe as tee/pipe are not stripping these color codes. The problem is that the initial command sees it is not writing to the terminal.

@BrucePay, thanks! I am trying to pipe the output of MSBuild to Out-Default, Write-Host etc. Was wondering if somehow i can preserve the colors. Could that be an option of pipe, perhaps a new pipe syntax ^|, that will push the raw output to RHS?

@kasper3 Unfortunately the change must be made to the command being run (i.e. msbuild) not the shell since it's the command that generates the colors.
Note:  the superuser.com mentions a utility unbuffer that (I infer)  launches a command with it's output redirected into a pseudo-tty then takes the output of the pseudo-tty and redirects that to the pipeline. This command should work with PowerShell but it's only on Unix/Linux since it depends on pseudo-ttys..

Oh nice, i just found a way to do it while reading @Veigres comments at https://github.com/Microsoft/msbuild/issues/2364:
msbuild /clp:ForceConsoleColor | Write-Host
Retreating this proposal. Thanks for your help!
btw, i have drilled down to the code, https://github.com/Microsoft/msbuild/blob/6851538897f5d7b08024a6d8435bc44be5869e53/src/Deprecated/Engine/Logging/BaseConsoleLogger.cs#L411-L426, maybe it can be opened as API addition in CoreFX to provide property like public static bool Console.IsTty if there are other use-cases?

@BrucePay, I found one exception that in PowerShell workflow block (foreach -parallel or inline script etc.), if we invoke msbuild /clp:ForceConsoleColor | Write-Host, and the workflow callsite is using  | Out-Default, then the colors are lost. Is this something PowerShell can accommodate (or already does)?

I'd like to know this as well.  For programs that already emit colors, that color is lost when piped to Out-Default.  How can it be preserved?


Save print into log files

https://docs.python.org/3/howto/logging.html

Another nice resource: https://realpython.com/python-logging/

Need help on this issue?


Europe PMC harvester and API fixes

Pull Request Test Coverage Report for Build 218

84 of 201 (41.79%)  changed or added relevant lines in 9 files are covered.
72 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-6.3%) to 65.077%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

asclepias_broker/metadata/api.py
21
23
91.3%

asclepias_broker/harvester/zenodo.py
1
6
16.67%

asclepias_broker/harvester/europepmc.py
25
135
18.52%

Files with Coverage Reduction
New Missed Lines
%

asclepias_broker/harvester/queues.py
1
75.0%

asclepias_broker/events/models.py
2
88.89%

asclepias_broker/harvester/ext.py
3
66.67%

asclepias_broker/harvester/receivers.py
10
28.57%

asclepias_broker/graph/tasks.py
22
64.1%

asclepias_broker/search/indexer.py
34
63.48%

Totals

Change from base Build 216:
-6.3%

Covered Lines:
1187

Relevant Lines:
1824

💛  - Coveralls

Pull Request Test Coverage Report for Build 218

84 of 201 (41.79%)  changed or added relevant lines in 9 files are covered.
72 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-6.3%) to 65.077%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

asclepias_broker/metadata/api.py
21
23
91.3%

asclepias_broker/harvester/zenodo.py
1
6
16.67%

asclepias_broker/harvester/europepmc.py
25
135
18.52%

Files with Coverage Reduction
New Missed Lines
%

asclepias_broker/harvester/queues.py
1
75.0%

asclepias_broker/events/models.py
2
88.89%

asclepias_broker/harvester/ext.py
3
66.67%

asclepias_broker/harvester/receivers.py
10
28.57%

asclepias_broker/graph/tasks.py
22
64.1%

asclepias_broker/search/indexer.py
34
63.48%

Totals

Change from base Build 216:
-6.3%

Covered Lines:
1187

Relevant Lines:
1824

💛  - Coveralls


Define Chat of NPC

One Question
I wand to define the last thing the player said to the NPC in a variable.
How i do that?
like that:
- define lastsentence "<the tag>"
thx for anwers

If you're in a chat trigger,
<context.message> gets the message that triggered the chat trigger.
Otherwise, <player.chat_history> is the latest message from the player.

that worked perfectly. thank you.
i have another question:
I want that the npc accept all anwers
i remember something like that:
          Name:
              trigger: /*/

but that dont worked
thx for answers

trigger: /regex:.*/


[qgis]Add new port

new port for #7761

@longhuan2018 thanks for your update.
I noticed that this PR failed on x86-windows and x64-windows triplets.
The error info like this:
9>C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267:  'argument': conversion from 'size_t' to 'int', possible loss of data [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267: cl2.hpp: CL_HPP_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200 or 210). It will be set to 210 [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267: CL_TARGET_OPENCL_VERSION is already defined as is lower than CL_HPP_TARGET_OPENCL_VERSION [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2065:  'CL_PLATFORM_HOST_TIMER_RESOLUTION': undeclared identifier (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2975:  'Name': invalid template argument for 'cl::detail::param_traits', expected compile-time constant expression (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
       C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1369): message :  see declaration of 'Name' (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2065:  'CL_PROGRAM_IL': undeclared identifier (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2975:  'Name': invalid template argument for 'cl::detail::param_traits', expected compile-time constant expression (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
       C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1369): message :  see declaration of 'Name' (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]

Could you take a look and try to fix the regressions?

Hi @longhuan2018
Could you please address the review suggestions and regressions?

Hi @NancyLi1013
Sorry, because I'm in Wuhan, all the logistics speed is a bit slow now. When the new computer arrives, I will start processing.

Ok, thanks for your update @longhuan2018.

@longhuan2018 thanks for your update.
I noticed that this PR failed on x86-windows and x64-windows triplets.
The error info like this:
9>C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267:  'argument': conversion from 'size_t' to 'int', possible loss of data [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267: cl2.hpp: CL_HPP_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200 or 210). It will be set to 210 [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\geometry\qgsinternalgeometryengine.cpp(924,48): warning C4267: CL_TARGET_OPENCL_VERSION is already defined as is lower than CL_HPP_TARGET_OPENCL_VERSION [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2065:  'CL_PLATFORM_HOST_TIMER_RESOLUTION': undeclared identifier (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2975:  'Name': invalid template argument for 'cl::detail::param_traits', expected compile-time constant expression (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
       C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1369): message :  see declaration of 'Name' (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2065:  'CL_PROGRAM_IL': undeclared identifier (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
     9>C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1392,1): error C2975:  'Name': invalid template argument for 'cl::detail::param_traits', expected compile-time constant expression (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]
       C:\vsts\_work\4\s\installed\x64-windows\include\CL/cl2.hpp(1369): message :  see declaration of 'Name' (compiling source file C:\vsts\_work\4\s\buildtrees\qgis\src\inal-3_8_2-055fb45c99\src\core\qgsopenclutils.cpp) [C:\vsts\_work\4\s\buildtrees\qgis\x64-windows-dbg\src\core\qgis_core.vcxproj]

Could you take a look and try to fix the regressions?

I upgraded qgis to the latest version 3.12.0, and the problem is not reproduced after compiling with the latest vcpkg code, please try the latest uploaded code

Thanks for your efforts.
It seems that there are still some regresssions. Could you look into them?

Thanks for your efforts.
It seems that there are still some regresssions. Could you look into them?

It may be a problem with the version of qt. When I tested it on my computer, I used qt [latest]. I tried to add different versions of qt support to see. If it hasn't been resolved, I will try to solve it tomorrow

qgis requires a higher version of qscintilla, so I upgraded qscintilla at the same time, but the build prompt for qscintilla failed under linux
2020-03-09T13:50:39.3621908Z ##[section]Starting: Fail pipeline on error
2020-03-09T13:50:39.3624905Z ==============================================================================
2020-03-09T13:50:39.3625226Z Task         : Bash
2020-03-09T13:50:39.3625385Z Description  : Run a Bash script on macOS, Linux, or Windows
2020-03-09T13:50:39.3625572Z Version      : 3.163.1
2020-03-09T13:50:39.3625713Z Author       : Microsoft Corporation
2020-03-09T13:50:39.3625849Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2020-03-09T13:50:39.3626168Z ==============================================================================
2020-03-09T13:50:39.4904736Z Generating script.
2020-03-09T13:50:39.4934419Z ========================== Starting Command Output ===========================
2020-03-09T13:50:39.4955261Z [command]/bin/bash --noprofile --norc /ci/myagent/_work/_temp/9d151576-2e6d-46be-8443-54cfe04c43f4.sh
2020-03-09T13:50:39.5054497Z
2020-03-09T13:50:39.5056754Z See port build failure logs' artifact under summary tab for more information on failures
2020-03-09T13:50:39.5086324Z ##[error]Bash wrote one or more lines to the standard error stream.
2020-03-09T13:50:39.5087377Z ##[error]See port build failure logs' artifact under summary tab for more information on failures

2020-03-09T13:50:39.5114265Z ##[section]Finishing: Fail pipeline on error

There are no build logs for qscintilla build.
This is usually because the build failed early and outside of a task that is logged.
See the console output logs from vcpkg for more information on the failure.
If the console output of the qscintilla is missing you can trigger a rebuild
in the test system by making any whitespace change to one of the files under
the ports/qscintilla directory or by asking a member of the vcpkg team to remove the
tombstone for abi tag 3eb82c8eaea336c042361d1d0fe424ebedd25d2c

It seems that qscintilla has passed on x64-linux triplet.
Could you please try to remove qscintilla:x64-linux from ci.baseline.txt?
##[error] PASSING, REMOVE FROM FAIL LIST: qscintilla:x64-linux (/ci/myagent/_work/1/s/scripts/ci.baseline.txt)

/azp run

@longhuan2018
Could you please resolve the conflicts?

@longhuan2018
Could you please resolve the conflicts?

Ok， i will fix these problems

@longhuan2018
Is work still being done for this PR?

@longhuan2018
Please resolve the conflicts.

Thanks for the PR; we're closing this for now since there's been no response. If you'd like to continue working on it, please reopen and ping us!

I have re-updated the PR now. How do I reopen this PR?

I reopened this PR just now and you can continue working done for this PR now.

Please merge master branch to this PR before you work on since there are many changes.

/azp run

The failures on x86-windows:
 QQmlComponent: Component is not ready
         file:///D:/buildtrees/qgis/x86-windows-dbg/src/quickgui/plugin/typelist.qml:3:1: plugin cannot be loaded for module "QgsQuick": Cannot load library D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin\QgsQuick\qgis_quick_plugin.dll: The specified procedure could not be found.
   127>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: The command "setlocal [D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin\qgis_quick_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: cd D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin

The failures on x64-linux:
ninja: error: '/mnt/vcpkg-ci/installed/x64-linux/debug/lib/qt5keychaind.a', needed by 'output/lib/libqgis_core.so.3.14.16', missing and no known rule to make it
@longhuan2018 Could you please take a look and try to fix them?

The failures on x86-windows:
 QQmlComponent: Component is not ready
         file:///D:/buildtrees/qgis/x86-windows-dbg/src/quickgui/plugin/typelist.qml:3:1: plugin cannot be loaded for module "QgsQuick": Cannot load library D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin\QgsQuick\qgis_quick_plugin.dll: The specified procedure could not be found.
   127>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: The command "setlocal [D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin\qgis_quick_plugin.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: cd D:\buildtrees\qgis\x86-windows-dbg\src\quickgui\plugin

The failures on x64-linux:
ninja: error: '/mnt/vcpkg-ci/installed/x64-linux/debug/lib/qt5keychaind.a', needed by 'output/lib/libqgis_core.so.3.14.16', missing and no known rule to make it
@longhuan2018 Could you please take a look and try to fix them?

I am setting up a local environment for testing

@longhuan2018 any news?

Failed on x64-windows and x86-windows:
CMake Error at ports/qgis/portfile.cmake:167 (file):
  file COPY cannot find "D:/installed/x86-windows/lib/python38.lib": No such
  file or directory.
Call Stack (most recent call first):
  scripts/ports.cmake:136 (include)

Failed on x64-linux:
ninja: error: '/mnt/vcpkg-ci/installed/x64-linux/debug/lib/qt5keychaind.a', needed by 'output/lib/libqgis_core.so.3.14.16', missing and no known rule to make it
@longhuan2018
Could you please look into these?

Closing due to inactivity. Please feel free to open a new PR if you want to continue.


Add a load more button to the filter lists

We are currently showing a lot of checkbox options for the newsroom search filters. In the hooks API, we have the option to add a show more button and limit the visible number of checkboxes to some custom value. I think this will make sense for a better UX.

TODO

See example for implementation at Algolia
Decide which values we should use for each filter type
Remember a11y

Still wanted/needed?

Still wanted/needed?

nope :D


always show circles Android

I wanna know how to always show the circles when croping the image

I also have this same question...No response yet?


7.1 MB vendor.bundle? and an empty project 2.84 MB

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
mac os x

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.
https://drive.google.com/open?id=0By7_cJqSCsKNcEJrNE02WU04dHc
Even after --aot --prod i have almost 4MB
Is this standard? Is this an issue? Must i split somehow the vendor.bundle file?

Thanks! We'll be in touch soon.

Try upgrading to the latest CLI (RC.0). Currently  a new application stands at 1.2 MB uncompressed:
 ng build --prod
Hash: afebf57d068f8e5780d4
Time: 10015ms
chunk    {0} polyfills.f780e0efbb9b8993af20.bundle.js (polyfills) 155 kB {4} [initial] [rendered]
chunk    {1} main.4b8746a21b4cc11d7b03.bundle.js (main) 21.8 kB {3} [initial] [rendered]
chunk    {2} styles.d41d8cd98f00b204e980.bundle.css (styles) 69 bytes {4} [initial] [rendered]
chunk    {3} vendor.2a603356da79bfa11188.bundle.js (vendor) 1.04 MB [initial] [rendered]
chunk    {4} inline.79bb710d84f824f5db5d.bundle.js (inline) 0 bytes [entry] [rendered]

Please note that 4MB is likely including source maps, which should not be deployed and won't be downloaded by your users. Closing this as answered.

why you close?
i put sm=false,so no sourcemaps include.


Android - PDF417 Encrypted Barcodes not being Scanned

Actual Behaviour
The Image for the bardcode is in the display block, the red line hovers over it, there is no trigger for the code that says it is scanned.
Expected Behaviour
The image gets scanned and the promise gets called
Reproduce Scenario (including but not limited to)
Test with
https://www.autotrader.co.za/cars/news-and-advice/automotive-news/can-you-convert-your-automatic-license-to-a-manual-drivers-license/2559
Plugin version
"@ionic-native/barcode-scanner": "^5.10.0",

Yeah it takes a long time to recognize the barcode for pdf417. It can scan it fine but people give up before it can.


Automated testing

This is mainly a note to self and I plan to implement this ASAP, but certainly anyone is welcome to suggest additional/other ideas.
Testing intentionally broken programs presents an interesting problem.  My initial thought was to write a shell script with sed one-liners (or maybe even awk, but I don't think any of the changes would require its mighty power) that would alter each exercise and then test it in turn.
But after sleeping on the problem for a week, I think I've had my eureka moment this morning (which was, "Wait, UNIX already has much better tooling for this!") and my half-formed idea of a solution is:

Create an answers/ dir that is not committed to the repo
Make all initially-working exercises in answers/
Break them and put them in exercises
Do a diff on the two to create a patch, put it in a new patches/ dir that is committed
Write a script in patches/ that

creates another dir, test/ (if needed), which is not committed
patches the broken exercises with patch and puts the output in test/
maybe calls the ziglings build script with the test/ directory as the target?

Put a README in patches/ explaining what it's for and admonishing folks to try not to peek

I'm not concerned about the answers being available. I would rather somebody peeks at an answer now and then rather than give up completely. I think it will also help experts help me by verifying that I truly have a mistake or I'm behind on Zig versions or something.
On the other hand, struggling at least a little bit with these exercises is probably a good thing for learning, so I don't want to call attention to the fact that the answers are in the repo. It helps that diff output is slightly unpleasant to read if you're not used to it. And the directory will be called "patches" rather than "answers".

It works!
I forgot to reference this issue in the commit message, but this commit does the trick: 6ccd55729e5de45524337084b03eb5a89b9f3ac1
As the commit message says, check out patches/README.md.


Webpack css chunks integration for production builds

Add CSS support for production builds according to the webpack doc: https://webpack.github.io/docs/stylesheets.html

@yannvr can you add this to the wiki with a link to this PR
https://github.com/AngularClass/angular2-webpack-starter/wiki/How-to-use-css-chunks-integration

WIKI section filled.
Cheers

thanks! I won't be able to merge this because the developer will be missing out on the features provided by Angular 2 with style encapsulation

Have you tried it? Encapsulation works perfectly fine with CSS production
build. I was merely mentioning a special case in the wiki.
Yann
On 26 February 2016 at 17:34, PatrickJS<EMAIL_ADDRESS>wrote:

thanks! I won't be able to merge this because the developer will be
missing out on the features provided by Angular 2 with style encapsulation
—
Reply to this email directly or view it on GitHub
https://github.com/AngularClass/angular2-webpack-starter/pull/338#issuecomment-189384479
.


Add additional metrics around server query performance

Track the number of running queries in the server as a gauge.
This will track all the queries received by netty workers which
is bound by the number of netty threads in simple request handler
but that can change with scheduled request handler. Moved logging
query timing numbers to request handler to have more timers and
better information on total query time.

Current coverage is 66.58% (diff: 100%)

Merging #994 into master will decrease coverage by 0.03%

@@             master       #994   diff @@
==========================================
  Files           739        739
  Lines         35060      35068     +8
  Methods           0          0
  Messages          0          0
  Branches       5234       5234
==========================================
- Hits          23358      23350     -8
- Misses        10174      10197    +23
+ Partials       1528       1521     -7

Powered by Codecov. Last update 040ece8...38c09fd


installed masstransit-aspnetcore and masstransit-rabbitmq, added to b…

…uilder services, added to docker-compose

zor, entityni emas UserMessage model ochib ishlatsak umumiy boladi,

xop


Trim errmap doc strings

Motivation
Errmap strings have extra leading spaces in them.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
N/A

I think you will need to run cargo build in move-stdlib to update the errmap for the stdlib to one without these extra spaces.

You'd need to cd language/move-stdlib && cargo run to regenerate the errrmap for stdlib to make the tests pass.

This was done now in the aptos repo (which has a copy of error map gen).


Handle race condition causing ENOPRSTATS

Fixes #2287
Merge after packit/ogr#827
RELEASE NOTES BEGIN
We have handled an exception causing Koji builds and Bodhi updates not be run after merging a Packit downstream pull request.
RELEASE NOTES END

I'm also not sure if ogr log messages are captured and visible in service logs. We definitely want to log the cases when a retry is necessary for further debugging.

I'm also not sure if ogr log messages are captured and visible in service logs. We definitely want to log the cases when a retry is necessary for further debugging.

I had put the error level in the ogr debug string for this reason. I have the feeling we are filtering something out from the ogr debug strings.
I think this is something ogr has to deal with and if we are in doubt about the logs be captured I will put the error level back. But if you prefer handle this here, ok we can make it fail once and try again.

I had put the error level in the ogr debug string for this reason. I have the feeling we are filtering something out from the ogr debug strings.

I mean the error is enough, I'm just not certain if it is propagated to service logs. Maybe we could log at least pull requests status.

recheck


cleanscan.php should be replaced by sending DEL to pollscan.php

And maybe pollscan.php and startscan.php should ALL be replaced by a single more RESTful interface called scan, which can take POST, GET and DEL. The POST should return a GUID, and GET and DEL methods should take the GUID.

We could even ago a step further and have a single script.php command, but that might be a bit of a security risk. At the very least, we could make a PHP library to handle the common code.


Setting for "auto refresh"

Add an option to auto refresh keys.  This helps when reviewing freshness of data as well as discovering new keys.

:+1:

+1


@conda-forge-admin add bot automerge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/stackvana-feedstock#6.


Allow Assignments API routes to accept nested parameters for SubmissionRules

Currently, the create and update routes on the Assignments API do not accept nested parameters. Notably, this means that when creating an assignment via API only one Period can be created for the associated SubmissionRule. We could update these methods to accept nested parameters to allow multiple periods.

In order to resolve this issue specifically, we can create a new route for SubmissionRules or Periods. We can also separately discuss making updates to the API and potential API versioning.


NeoPixel and nightlight

Hello,
I'm wondering if what i'm observing is the intended behaviour of the wall switch.
When I turn the NeoPixel light on and then push one of the touchfields, the light is turned off.
In home assistant the entity is still shown as on.
I've seen this happening in 3 different devices, with 1 and 2 channels
When i do the same thing with the nightlight, the light doesn't turn off, but it dims and returns to full brightness 2 seconds later.
I'm thinking this may happen because of the light effects on touch, multi touch, etc. that are overriding the neopixel light.
I made all effect brightnesses 0 so as to not have any effects, is there any more appropriate way to do have no effects?
Thank you.

I'm thinking this may happen because of the light effects on touch, multi touch, etc. that are overriding the neopixel light.
I made all effect brightnesses 0 so as to not have any effects, is there any more appropriate way to do have no effects?

I have a similar problem. I don't use nightlight but I created an automation which on multitouch enables Pulse effect which I have to repeat after multitouch effect is done...now I have it set to repeat after 3 seconds.
When I don't do it the Neopixel is still on but LEDs are off and only the status LEDs are pulsing 😁
See here: https://streamable.com/22ah2w
This automation with the delay is a workaround this problem because it enables the Pulse after the multitouch effect is done effecting...
Delay could be as the first step but I wanted the LEDs to react immediately so that's why it's like that.
alias: Enable/Disable LED TX1
description: ""
trigger:
  - type: turned_off
    platform: device
    device_id: 4630bde13982e46e50fe7b6aff640287
    entity_id: ed83d39e9d3ecaf2ab120894e5cb1724
    domain: binary_sensor
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: light.txultimate2_neopixel_light
            state: "on"
        sequence:
          - service: light.turn_off
            data: {}
            target:
              entity_id: light.txultimate2_neopixel_light
      - conditions:
          - condition: state
            entity_id: light.txultimate2_neopixel_light
            state: "off"
        sequence:
          - service: light.turn_on
            target:
              entity_id: light.txultimate2_neopixel_light
            data:
              rgb_color:
                - 236
                - 55
                - 168
              brightness: 254
              effect: Pulse
          - delay:
              hours: 0
              minutes: 0
              seconds: 3
              milliseconds: 0
          - service: light.turn_on
            target:
              entity_id: light.txultimate2_neopixel_light
            data:
              rgb_color:
                - 236
                - 55
                - 168
              brightness: 255
              effect: Pulse

Interestingly this workaround doesn't work for Neopixel effect "None". As far as I tested it for now.

I just did some more testing and I don't know if it was the version or my setup but ignoring my comment above a trying it on another device the NeoPixel light gets overridden by the effect of pressing any button or multitouch. It's really bad that the light effect override user setup.

There is a "workaround" for this, instead of trying to use the Neopixel entity for displaying your automation, use the Nightlight entity.
The "problem" here is that the implementation is prepared to "recover" the nightlight display above all other settings, if you have nightlight on, and a button on at the same time, when you turn off the button the code sets that led partition to display the nightlight definition.
I've run into the same problem as you, and tried to modify the code to no luck, but in the end i realized i didn't need it, i just need to change the entity i was using.
So if you start using the Nightlight entity instead of the Neopixel you should be able to do what you intended.

But this will only work with solid colours no? If I choose rainbow or other effect which NeoPixel has, then it'll not work. Or at least I don't see a possibility how to set Nightlight as Rainbow effect.


Create overloads to allow sorting when properties change

The observable cache has .Sort() overloads to allow the consumer to change the  comparer or to force a resort in the event that a property which is sorted on changes. These options are not available on the observable list and they need to be implemented

Long since delivered


Iterator.Chan() considered harmful

From @chewxy on August 13, 2017 2:9
sketch space for describing how to create a chan int of negative length, and how to reproduce it
Background/Context of the Issue
Gorgonia is a library for representing and executing mathematical equations, and performing automatic differentiation. It's like Tensorflow and PyTorch for Go. It's currently undergoing some major internal refactor (that will not affect the public APIs much)
I was improving the backend tensor package by splitting up the data structure into a data structure + pluggable execution engine, instead of having built in methods (see also #128). The reasons are so that it's easier to change out execution backends (CPU, GPU... even a network CPU (actual experiment I did was to run a small neural network on a Raspberry Pi and all computation is offshored to my workstation, and vice versa, which turned out to be a supremely bad idea)).
Another reason was due to the fact that I wanted to do some experiments at my work which use algorithms that involve sparse tensors (see also #127)  for matrix factorization tasks.
Lastly, I wanted to clean up the generics support of the tensor package. The current master branch of the tensor package had a lot of code to support arbitrary tensor types. With the split of execution engines and data structure, more of this support could be offloaded to the execution engine instead.  This package provides a default execution engine  (type StdEng struct{}: https://github.com/chewxy/gorgonia/blob/debugrace/tensor/defaultengine.go), which could be extended (example: https://github.com/chewxy/gorgonia/blob/debugrace/tensor/example_extension_test.go) . The idea was to have an internal/execution package which held all the code for the default execution engine.
Data Structures
The most fundamental data structure is storage.Header, which is an analogue for a Go slice: it's a three word structure. It's chosen because it is a ridiculously simple structure can store Go-allocated memory, C-allocated memory and device-allocated memory (like CUDA).
On top of storage.Header is  tensor.array. It's essentially a storage.Header with an additional field for the type. The v field will eventually be phased out once the refactor is complete.
On top of tensor.array are the various implementations of tensor.Tensor. Chief amongst these is the tensor.Dense struct. Essentially it's a tensor.array coupled with some access patterns and meta information.
Access to the data in the tensor.Tensor can be achieved by use of Iterators. The Iterator basically assumes that the data is held in a flat slice, and returns the next index on the slice. There are auxiliary methods like NextValidity to handle special case tensors like masked tensors, where some elements are masked from operations.
The bug happens in the Chan method of the FlatIterator type.
How to reproduce
The branch where the bug is known to exist is the debugrace branch,  which can be found here: 1dee6d2 .

git checkout debugrace
Run tests with various GOMAXPROCS like so: GOMAXPROCS=1 go test -run=. . Try it with various GOMAXPROCS, one of them is bound to trigger an issue.
The test won't panic, because I have added a recover statement here https://github.com/chewxy/gorgonia/blob/debugrace/tensor/dense_viewstack_specializations.go#L636. Removing the deferred function causes a index out of bounds panic.
All the tests must be run to trigger the issue.
The issue is found in the test for the Stack function: https://github.com/chewxy/gorgonia/blob/debugrace/tensor/dense_matop_test.go#L768 . If only the stack test is run (for example GOMAXPROCS=1 go test -run=Stack), it is unlikely the problem will show up (I wrote a tiny python script to run it as many times as possible with many GOMAXPROCS configurations and none of them caused an error).

 I've no access to Go on a windows box so I can't test it on Windows.
Magic and Unsafe Use
As part of the refactoring, there are a few magic bits being used. Here I attempt to list them all (may not be exhaustive):

The Go slice structure is re-implemented in https://github.com/chewxy/gorgonia/blob/debugrace/tensor/internal/storage/header.go. Note that here an unsafe.Pointer is used instead of the standard one like reflect.SliceHeader  which stores a uintptr. This is due to the fact that I want Go to keep a reference to the actual slice. This may affect the runtime and memory allocation.. I'm not too sure.
//go:linkname is used in some internal packages (specific example here: https://github.com/chewxy/gorgonia/blob/debugrace/tensor/internal/execution/generic_arith_vv.go). It's basically just a rename of functions in github.com/chewxy/vecf32 and github.com/chewxy/vecf64. Those packages contain optional AVX/SSE related vector operations like arithmetics. However, those have to be manually invoked via a build tag. By default it uses go algorithms, not SSE/AVX operations.
//go:linkname is used in unsafe.go: https://github.com/chewxy/gorgonia/blob/debugrace/tensor/unsafe.go#L105. However it should be noted that memmove is never called as after some tests I decided it would be too unsafe to use (also explains why there are comments that say TODO: implement memmove.
There are several naughty pointer arithmetics at play:

array.sliceInto
reflect based getting and setting
overlap checks

What I suspect
I suspect that there may be some naughty things happening in memory (because it only happens when all the tests are run). The problem is I don't know exactly where to start looking.
Copied from original issue: chewxy/gorgonia#135

Note: the solution to this was to not use Chan, which is what I did in the current sparse branch. But I would still like to get to the bottom of this

From @egonelbre on August 15, 2017 10:38
I'm getting a few compilation errors when trying to run it:
# github.com/chewxy/gorgonia
./op_tensor.go:958: zdvdT.Materialize undefined (type tensor.Tensor has no field or method Materialize)
./operatorPointwise_binary.go:379: t.Materialize undefined (type tensor.Tensor has no field or method Materialize)
./operatorPointwise_binary.go:387: other.Materialize undefined (type tensor.Tensor has no field or method Materialize)
./operatorPointwise_binary.go:396: t.Materialize undefined (type tensor.Tensor has no field or method Materialize)
./operatorPointwise_binary_const.go:16: undefined: tensor.Lt
./operatorPointwise_binary_const.go:17: undefined: tensor.Gt
./operatorPointwise_binary_const.go:18: undefined: tensor.Lte
./operatorPointwise_binary_const.go:19: undefined: tensor.Gte
./operatorPointwise_binary_const.go:20: undefined: tensor.ElEq
./operatorPointwise_binary_const.go:21: undefined: tensor.ElNe
./operatorPointwise_binary.go:396: too many errors
FAIL	github.com/chewxy/gorgonia [build failed]

Yeah, that's fine..  the gorgonia package is still not yet fixed in the refactor. This problem is specific to the tensor subpackage ("github.com/chewxy/gorgonia/tensor"). The tests I refer to are the tests in the tensor package

From @egonelbre on August 15, 2017 12:35
Is this intentional that func extractPointer(a interface{}) unsafe.Pointer { is called on a float32/float64?
With small values the second data contains the actual value instead of a pointer to the value (https://research.swtch.com/interfaces see Memory Optimization). Effectively Header.Ptr is not an unsafe.Pointer and maybe that confuses the runtime somehow?

That's not true since Go 1.4 right (because I recall being quite upset I can no longer stuff small values into interfaces)?
Also I don't think extractPointer is being used anywhere (there may be a test or two that uses it)

From @egonelbre on August 15, 2017 14:16
Preliminary tests seem to agree with your information. There seems to be some code still about it https://github.com/golang/go/blob/964639cc338db650ccadeafb7424bc8ebb2c0f6c/src/runtime/typekind.go#L42... but I wasn't able to construct one nor able to find in the compiler in what cases it might be constructed.

From @egonelbre on August 15, 2017 14:48
First interesting datapoint, changing GOGC (e.g. GOGC=off or GOGC=50) can make "broken" test into "working"  one.

From @egonelbre on August 15, 2017 15:2
With GOGC=130 I managed to get a proper segfault:
unexpected fault address 0xb01dfacedebac1e
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x105b125]

goroutine 201 [running]:
runtime.throw(0x18abf8f, 0x5)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:596 +0x95 fp=0xc420045168 sp=0xc420045148
runtime.sigpanic()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/signal_unix.go:297 +0x28c fp=0xc4200451b8 sp=0xc420045168
runtime.memmove(0x3ff0000000000000, 0x18adc66, 0x5)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/memmove_amd64.s:163 +0x6b5 fp=0xc4200451c0 sp=0xc4200451b8
fmt.(*pp).doPrintf(0xc420096f00, 0x18adc66, 0x7, 0xc420045380, 0x1, 0x1)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:959 +0x12f1 fp=0xc4200452a0 sp=0xc4200451c0
fmt.Sprintf(0x18adc66, 0x7, 0xc420045380, 0x1, 0x1, 0x101, 0x1d52dc0)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:196 +0x6a fp=0xc4200452f8 sp=0xc4200452a0
github.com/chewxy/gorgonia/tensor.NormOrder.String(0xc008000000000000, 0x20, 0x10bcfec)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/types.go:384 +0x1af fp=0xc4200453a0 sp=0xc4200452f8
github.com/chewxy/gorgonia/tensor.(*NormOrder).String(0xc4203deb70, 0x18cced0, 0xc4200975c0)
	<autogenerated>:373 +0x4f fp=0xc4200453e0 sp=0xc4200453a0
fmt.(*pp).handleMethods(0xc4200975c0, 0x76, 0xc420390c01)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:596 +0x294 fp=0xc420045470 sp=0xc4200453e0
fmt.(*pp).printArg(0xc4200975c0, 0x1836360, 0xc4203deb70, 0x76)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:679 +0x1a0 fp=0xc4200454f8 sp=0xc420045470
fmt.(*pp).doPrintf(0xc4200975c0, 0x18c4cf0, 0x2d, 0xc420045a78, 0x2, 0x2)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:998 +0x11e7 fp=0xc4200455d8 sp=0xc4200454f8
fmt.Sprintf(0x18c4cf0, 0x2d, 0xc420045a78, 0x2, 0x2, 0xc420045688, 0x100f2bf)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:196 +0x6a fp=0xc420045630 sp=0xc4200455d8
github.com/pkg/errors.Errorf(0x18c4cf0, 0x2d, 0xc420045a78, 0x2, 0x2, 0x2, 0x0)
	/Users/egon/go/src/github.com/pkg/errors/errors.go:113 +0x5d fp=0xc420045698 sp=0xc420045630
github.com/chewxy/gorgonia/tensor.(*Dense).Norm(0xc420590000, 0xc008000000000000, 0x0, 0x2, 0x2, 0x0, 0x0, 0x0)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/dense_norms.go:336 +0x1675 fp=0xc420045ac8 sp=0xc420045698
github.com/chewxy/gorgonia/tensor.testNormVal(0xc420590000, 0xc008000000000000, 0x7ff8000000000001, 0x0, 0x0)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/dense_norms_test.go:14 +0x6a fp=0xc420045b98 sp=0xc420045ac8
github.com/chewxy/gorgonia/tensor.TestTensor_Norm(0xc42017ad00)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/dense_norms_test.go:98 +0x10e6 fp=0xc420045fa8 sp=0xc420045b98
testing.tRunner(0xc42017ad00, 0x18cd750)
	/usr/local/Cellar/go/1.8.3/libexec/src/testing/testing.go:657 +0x96 fp=0xc420045fd0 sp=0xc420045fa8
runtime.goexit()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420045fd8 sp=0xc420045fd0
created by testing.(*T).Run
	/usr/local/Cellar/go/1.8.3/libexec/src/testing/testing.go:697 +0x2ca

This script should help find your own breaking point:
#!/bin/bash

for gc in `seq 100 5 200`;
do
	echo "======= GOGC=$gc ======="
	GOGC=$gc GOMAXPROCS=1 go test .
done

if 0xb01dfacdebac1e is not an edited memory address, it's extremely remarkable that it errored at a human readble memory.
Both these segfaults are interesting - they relate to strings and pointers from strings. Will read more

From @egonelbre on August 15, 2017 15:11
GOGC=129:
unexpected fault address 0xb01dfacedebac1e
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x105b0dc]

goroutine 183 [running]:
runtime.throw(0x18abf8f, 0x5)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:596 +0x95 fp=0xc420045858 sp=0xc420045838
runtime.sigpanic()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/signal_unix.go:297 +0x28c fp=0xc4200458a8 sp=0xc420045858
runtime.memmove(0x3ff0000000000000, 0x18cad52, 0x3d)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/memmove_amd64.s:188 +0x66c fp=0xc4200458b0 sp=0xc4200458a8
fmt.(*pp).doPrintf(0xc4200960c0, 0x18cad52, 0x57, 0xc420045b10, 0x2, 0x2)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:959 +0x12f1 fp=0xc420045990 sp=0xc4200458b0
fmt.Sprintf(0x18cad52, 0x57, 0xc420045b10, 0x2, 0x2, 0xc420045a40, 0x100f2bf)
	/usr/local/Cellar/go/1.8.3/libexec/src/fmt/print.go:196 +0x6a fp=0xc4200459e8 sp=0xc420045990
github.com/pkg/errors.Errorf(0x18cad52, 0x57, 0xc420045b10, 0x2, 0x2, 0x3, 0x1868800)
	/Users/egon/go/src/github.com/pkg/errors/errors.go:113 +0x5d fp=0xc420045a50 sp=0xc4200459e8
github.com/chewxy/gorgonia/tensor.Shape.Repeat(0xc42011aca0, 0x3, 0x3, 0x0, 0x1cd16b0, 0x3, 0x3, 0x0, 0x0, 0x0, ...)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/shape.go:281 +0x2f7 fp=0xc420045b60 sp=0xc420045a50
github.com/chewxy/gorgonia/tensor.StdEng.denseRepeat(0x1ce7560, 0xc42010d540, 0x0, 0x1cd16b0, 0x3, 0x3, 0xbed3039bb9, 0x0, 0x20, 0x18)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/defaultengine_matop.go:273 +0xa2 fp=0xc420045c68 sp=0xc420045b60
github.com/chewxy/gorgonia/tensor.StdEng.Repeat(0x1ce6100, 0xc42010d540, 0x0, 0x1cd16b0, 0x3, 0x3, 0x1813ea0, 0x18860a0, 0x1, 0x1fb7808)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/defaultengine_matop.go:264 +0x11a fp=0xc420045cd8 sp=0xc420045c68
github.com/chewxy/gorgonia/tensor.(*StdEng).Repeat(0x1d4f368, 0x1ce6100, 0xc42010d540, 0x0, 0x1cd16b0, 0x3, 0x3, 0xc420045e50, 0x1, 0x1, ...)
	<autogenerated>:533 +0x8e fp=0xc420045d38 sp=0xc420045cd8
github.com/chewxy/gorgonia/tensor.(*Dense).Repeat(0xc42010d540, 0x0, 0x1cd16b0, 0x3, 0x3, 0xc420045e50, 0x1, 0x1, 0x1)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/dense_matop.go:250 +0xb6 fp=0xc420045da0 sp=0xc420045d38
github.com/chewxy/gorgonia/tensor.TestDense_Repeat(0xc42029ec30)
	/Users/egon/go/src/github.com/chewxy/gorgonia/tensor/dense_matop_test.go:432 +0x11c fp=0xc420045fa8 sp=0xc420045da0
testing.tRunner(0xc42029ec30, 0x18cd5b0)
	/usr/local/Cellar/go/1.8.3/libexec/src/testing/testing.go:657 +0x96 fp=0xc420045fd0 sp=0xc420045fa8
runtime.goexit()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420045fd8 sp=0xc420045fd0
created by testing.(*T).Run
	/usr/local/Cellar/go/1.8.3/libexec/src/testing/testing.go:697 +0x2ca

So I ran this
cat /dev/null > err.txt
cat /dev/null > out.txt
for gc in `seq 0 1 250`;
do
	echo "======= GOGC=$gc =======" >> err.txt
	echo "======= GOGC=$gc =======" >> out.txt
	GOGC=$gc GOMAXPROCS=1 go test -run=. >> out.txt 2>> err.txt
done

There were no segfaults.

From @egonelbre on August 16, 2017 9:18
0xb01dfacedebac1e is a poison address... see https://go.googlesource.com/go/+/17f9423

Ran this on a macbook with 1.8.3 ... can't find the poison address either.

I'm also trying to learn what the diff is between @davecgh 's go-spew that caused a poison address bug about a year back and how he fixed it...

From @egonelbre on August 17, 2017 11:2
I wasn't able to crash it with 1.9rc2 on Windows either, but I was able to get a few different values:
2017/08/17 11:09:34 id<PHONE_NUMBER>44 c0421fab40  (-3, 0) | 6
2017/08/17 11:09:46 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:09:58 id<PHONE_NUMBER>493112403 696d206570616853  (-1, 0) | 6
2017/08/17 11:10:23 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:11:15 id 40 28  (-1, 0) | 6
2017/08/17 11:11:39 id<PHONE_NUMBER>734479427<PHONE_NUMBER>5c3a43  (-1, 0) | 6
2017/08/17 11:11:51 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:12:29 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:14:11 id<PHONE_NUMBER>00 c0424ae900  (-3, 0) | 6
2017/08/17 11:14:22 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:14:34 id<PHONE_NUMBER>331805507 6d20746f6e6e6143  (-1, 0) | 6
2017/08/17 11:14:46 id<PHONE_NUMBER>749885764 6f69736e656d6944  (-1, 0) | 6
2017/08/17 11:14:58 id<PHONE_NUMBER>968310646 6f662065756c6176  (-1, 0) | 6
2017/08/17 11:17:59 id<PHONE_NUMBER>331805507 6d20746f6e6e6143  (-1, 0) | 6

The only thing I can deduce is that something is corrupting the memory. I was trying to create boundaries to check content overwriting or misuse https://github.com/egonelbre/gorgonia/tree/debugcheck... but there's probably some unsafe use I missed. Effectively, write and check Before/After...
type Header struct {
	Before [256]byte
	Ptr    unsafe.Pointer
	L      int
	C      int
	After  [256]byte
}

But, yeah... I give up for now. The only thing I can think of is to start replacing all unsafe parts and properly containing them...
On a sidenote - this looks like a bug:
// swap swaps the elements i and j in the array
func (a array) swap(i, j int) {
	if a.t == String {
		ss := *(*[]string)(a.Ptr)
		ss[i], ss[j] = ss[j], ss[i]
		return
	}

Thanks for that bug finding.


Fix typos in exceptions.md

Informations

Type
Breaking change

Doc
No

Description
A few sentences describing the overall goals of the pull request's commits.
Usage example
Example to use your feature and to improve the documentation after merging your PR:
import {} from "@tsed/common";

Todos

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

Thanks @Aur36 ;)

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

v6.1.0
GitHub release

Your semantic-release bot :package::rocket:


(accidentally opened issue with garbage title)

The broken keyboard on my computer really wanted this resolved, but I’ll side with @bnavigator that it isn’t a priority.


Sanity checks may hinder users when custom templates are used.

SUMMARY

If a customer reuses jws_listen_https_enabled(tomcat_listen_https_enabled) variable in their custom server.xml template, but uses .pem certificates instead of keystores, the sanity checks will kick in and fail the installation. I have not tested it yet. Not a big issue, but may cause confusion.
ISSUE TYPE

Bug Report

COLLECTION VERSION

1.1.1

@defeatedbylife Can you copy and paste the playbook you used? I'll add a scenario to jws-dot to reproduce this. Thanks!

@csutherl any thoughts on this one?

Yeah, we're going to need a change to the template to allow for certificate/key pairs, in addition to java keystores, because both are valid options. We're actually using a deprecated option (see https://tomcat.apache.org/tomcat-9.0-doc/config/http.html#SSL_Support_-Connector-NIO_and_NIO2(deprecated)) and should use certificateFile or certificateKeystoreFile, depending on whether or not the user specifies a keystore or keypair.
Looking at the check though, it'll only fail because the connector won't be running unless you provide a keystore...so that part is working as expected ;)

Yeah, we're going to need a change to the template to allow for certificate/key pairs, in addition to java keystores, because both are valid options.

So, we discussed that, a while back, with George and we agreed that we should NOT try to make the default template support to many use case. The rational behind that is that, anyway, most users modifying the server.xml will need to provide their own template. That's why we have the override_server_xml feature. In fact, this template is just here for demo purpose, so that it works out of the box.
Along the same lines, I would not implement sanity checks for this kind of configuration, because we'll end up doing a lot of if stmt, trying to guess which feature the user is using or not.
If a user provides its own templates and that it's configuration requires /etc/blah file to be deploy, his playbook should take care of deploy this file (the way user want) and he should add an appropriate assert: block to check that all is in place.

We're actually using a deprecated option....

Then we should update our template to use the recommanded option (and maybe do sanity check based if the vars are defined).
@csutherl can you copy'n'paste here the recommanded configuration? I'll update template.

The example from the tomcat server.xml is:
    <!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443
         This connector uses the NIO implementation. The default
         SSLImplementation will depend on the presence of the APR/native
         library and the useOpenSSL attribute of the AprLifecycleListener.
         Either JSSE or OpenSSL style configuration may be used regardless of
         the SSLImplementation selected. JSSE style configuration is used below.
    -->
    <!--
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true">
        <SSLHostConfig>
            <Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
                         type="RSA" />
        </SSLHostConfig>
    </Connector>
    -->

Fixed by PR196


Question about Zero-shot Domain Transfer.

Hi,thank you for your great work!When I using the model pretrained on scannet without label as you provided to test on s3dis,I found that the results were worse than those found in Table 14 of the supplementary material.

Hello, we do not include background categories in table 14 (i.e., ceiling, floor, wall). You can refer to this in the caption of table 14.

This is my yaml file，after I ignored the background categories, I got the following result：

Ignoring the background categories doesn't seem to work, I don't know where the error occurred.

can you show the whole yaml file?

This is whole yaml file:
CLASS_NAMES: [ceiling, floor, wall, beam, column, window, door, table, chair, sofa, bookcase, board, clutter]
DATA_CONFIG:
BASE_CONFIG: cfgs/dataset_configs/s3dis_dataset.yaml
ignore_class_idx: [0,1,2,12]
MODEL:
NAME: SparseUNetTextSeg
REMAP_FROM_3DLANG: False
REMAP_FROM_NOADAPTER: False
VFE:
NAME: IndoorVFE
USE_XYZ: True
BACKBONE_3D:
NAME: SparseUNetIndoor
IN_CHANNEL: 6
MID_CHANNEL: 16
BLOCK_RESIDUAL: True
BLOCK_REPS: 2
NUM_BLOCKS: 7
CUSTOM_SP1X1: True
ADAPTER:
NAME: VLAdapter
EVAL_ONLY: False
NUM_ADAPTER_LAYERS: 2
TEXT_DIM: -1
LAST_NORM: False
FEAT_NORM: False
TASK_HEAD:
NAME: TextSegHead
TEXT_EMBED:
  NAME: CLIP
  NORM: True
  PATH: text_embed/s3dis_clip-ViT-B16_id.pth

LOGIT_SCALE:
  value: 1.0
  learnable: False

TEXT_ENCODER:
NAME: CLIP
BACKBONE: ViT-B/16  # ['RN50', 'RN101', 'RN50x4', 'RN50x16', 'RN50x64', 'ViT-B/32', 'ViT-B/16', 'ViT-L/14']
TEMPLATE: identity
EXTRACT_EMBED: False  # Online extract text embeding from class or not
OPTIMIZATION:
TEST_BATCH_SIZE_PER_GPU: 1
BATCH_SIZE_PER_GPU: 4
NUM_EPOCHS: 32
LR: 0.004  # 4e-3
SCHEDULER: cos_after_step
OPTIMIZER: adamw
WEIGHT_DECAY: 0.0001
MOMENTUM: 0.9
STEP_EPOCH: 20
MULTIPLIER: 0.1
CLIP_GRAD: False
PCT_START: 0.39
DIV_FACTOR: 1
MOMS: [0.95, 0.85]
LR_CLIP: 0.000001
OTHERS:
PRINT_FREQ: 20
EVAL_FREQ: 5
SYNC_BN: False
USE_AMP: True


Fixed an issue on searching events by a given fieldSelector. The issue b...

...reak
the events reported for kubectl describe pods completely.
Fixed #5957
With the fix, events are reported:
$ cluster/kubectl.sh describe pods monitoring-heapster-controller-h3x9k
current-context: "golden-system-455_kubernetes"
Running: cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl describe pods monitoring-heapster-controller-h3x9k
Name:				monitoring-heapster-controller-h3x9k
Image(s):			kubernetes/heapster:v0.9
Host:				kubernetes-minion-agug.c.golden-system-455.internal/<IP_ADDRESS>
Labels:				kubernetes.io/cluster-service=true,name=heapster,uses=monitoring-influxdb
Status:				Running
Replication Controllers:	monitoring-heapster-controller (1/1 replicas created)
Conditions:
  Type		Status
  Ready 	True
Events:
  FirstSeen				LastSeen			Count	From								SubobjectPath			Reason	Message
  Thu, 26 Mar 2015 09:12:52 -0700	Thu, 26 Mar 2015 09:12:52 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
  Thu, 26 Mar 2015 09:12:52 -0700	Thu, 26 Mar 2015 09:12:52 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
...

cc/ @saad-ali

cc/ @vishh

LGTM. Travis failure is a flake.


refactor: remove deprecated endpoints

BREAKING CHANGE:
The following resources were deprecated since version 3.12.0 and no longer exist starting from version 3.15.0

PUT /apis/{api.id}/keys/{apiKey.key}
DELETE /apis/{api.id}/keys/{apiKey.key}
POST /apis/{api.id}/keys/_verify?apiKey={apiKey.key}
POST /apis/{api.id}/keys/_verify?apiKey={apiKey.key}
GET /apis/{api.id}/subscriptions/{subscription.id}/keys
POST /apis/{api.id}/subscriptions/{subscription.id}
POST /apis/{api.id}/subscriptions/{subscription.id}/keys/{apiKey.key}/_reactivate
GET /applications/{application.id}/subscriptions/{subscription.id}/keys
POST /applications/{application.id}/subscriptions/{subscription.id}
DELETE /applications/{application.id}/subscriptions/{subscription.id}/keys/{apiKey.key}

see https://github.com/gravitee-io/issues/issues/6144

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
Congrats, all the CI steps were 🟢 . The Bot was able to deploy the build of this PR, so you can now try it directly here! 🚀
Notes: The deployed app is linked to the management API of the Element Zero team's environment.

Should we add something about that in the 3.15 upgrade note ?

see https://github.com/gravitee-io/release/pull/407/files

Replaced by https://github.com/gravitee-io/gravitee-api-management/pull/889


0.2.19 -> 0.2.20 breaks serverless offline start

Upgrading from 0.2.19 to 0.2.20 and any later release breaks the command
serverless offline start
serverless offline still works.
I'm using serverless-webpack
plugins:
  - serverless-webpack
  - serverless-dynamodb-local
  - serverless-offline

and versions are:
sls-offline: 3.15.3
serverless-webpack: 2.2.2 and I've tried other versions with same result.
serverless: 1.20.2
I don't see the release tags in this repo unfortunately. Also, the error is a bit unspecific:
SLS_DEBUG=* node_modules/.bin/serverless offline start
Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook before:deploy:createDeploymentArtifacts,
                     use package:createDeploymentArtifacts hook instead
Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook after:deploy:createDeploymentArtifacts,
                     use package:createDeploymentArtifacts hook instead
Serverless: Bundling with Webpack...
Time: 2423ms
     Asset    Size  Chunks             Chunk Names
handler.js  222 kB       0  [emitted]  main
Serverless: Watching with Webpack...
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn java ENOENT
    at exports._errnoException (util.js:1018:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)

Error: spawn java ENOENT
That looks like the java executable could not be found. Can it be that dynamodb-local tries to start Java?

According to the plugin requirements you need a JRE (I assume accessible through your path settings in the environment).

Not at my machine but any chance that a java related requirement could be different from 0.2.19? Latter works just fine.

On 23 Aug 2017, at 12:44, Frank Schmid<EMAIL_ADDRESS>wrote:
According to the plugin requirements you need a JRE (I assume accessible through your path settings in the environment).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Try running serverless dynamodb install.
Actually, the plugins seems to "lost" the reference to the dynamodb-local executable after any change to the package.json (after running yarn add for example)

Randomly I get this this error. Uninstalling dynamodb and reinstalling it solves the problem. I would really like to know what the root of the problem is.

THanks @paqman and @Toosick. Leaving this open for owners to track.

@HyperBrain a co-worker had this same error today on his Mac, then he patch upgraded Java and got that went away. He got the whole webpack->db->sls instance to start, tables seeded fine, but whenever he made a post to an endpoint it would just hang. Mine is working fine, btw. Same package-lock.json, same node-modules versions. You ever find a solution?

@btburton42 I only commented here as maintainer of serverless-webpack to add some thoughts to the issue 😄 . Originally @bebbi came up with the issue over there. @bebbi did you manage to solve it or did you also experience the hangs?

@btburton42 Try uninstalling some npm package and reinstalling something. Let me know if the error comes back.

@Toosick coworker tried rm'ing and reinstalling but no luck. he is using nvm, think that might do it?

@btburton42 do sls dynamodb remove && sls dynamodb install

@Toosick thanks! will do on monday and let you know.

@Toosick that didn't work for my colleague. I'll let him chime in when he has a moment of free time.

Hi everyone @btburton42 @Toosick @HyperBrain , did you manage to solve the issue?
I am experiencing the same error when I run a Docker container (node:6.10) using

"serverless" : "1.24.1"
"serverless-dynamodb-local": "0.2.26",
"serverless-offline": "3.16.0"

However, it works when I run it from my host pc.
I tried many combination of installing/uninstalling npm packages and dynamodb local within the docker container.
In case you need for more information about the issue I will be happy to provide with more details.
Many thanks in advance

@danielesalvatore sls dynamodb remove && sls dynamodb install is the workaround I used for the time being.

@Toosick thank you very much for your reply. In my case the error was generated because the Docker container used didn't have Java on it. Thank you for your support

@danielesalvatore Step 1: install Java 🥇

Looks like the bin folder in node_modules/dynamodb-localhost/dynamodb gets deleted for me occasionally, resulting in the Error: spawn java ENOENT error.
Not sure why it's getting deleted, but reinstalling does temporarily fix it.
I guess it's a matter of figuring out if this repo is causing the issue or if https://github.com/99xt/dynamodb-localhost is.

This happens for me every time I add/remove new dependencies (using yarn)

For me, when I reorganized my package, this error would not go away despite running sls dynamodb remove && sls dynamodb install. Turns out that the installation wasn't happening at all - dynamodb-local expects to find the AWS-provided binary within .dynamodb/ in your package root, and I had to copy it there manually.

@salmankhann still happening. I had to lock dynamodb-localhost in package.json at v0.0.5 for this to work
"resolutions": {
    "dynamodb-localhost": "0.0.5"
}


Don't crash if you can't access the spreadsheet

Appears that the server will crash if the service goes down (perhaps also if internet is lost?)
Jul 28 11:35:53 quoteboard python[263]:   File "/home/pi/.local/lib/python3.9/site-packages/gspread/spreadsheet.py", line 34,>
Jul 28 11:35:53 quoteboard python[263]:     metadata = self.fetch_sheet_metadata()
Jul 28 11:35:53 quoteboard python[263]:   File "/home/pi/.local/lib/python3.9/site-packages/gspread/spreadsheet.py", line 243>
Jul 28 11:35:53 quoteboard python[263]:     r = self.client.request("get", url, params=params)
Jul 28 11:35:53 quoteboard python[263]:   File "/home/pi/.local/lib/python3.9/site-packages/gspread/client.py", line 93, in r>
Jul 28 11:35:53 quoteboard python[263]:     raise APIError(response)

Honestly, wouldn't hurt to make the board work purely off of CSVs if the database file is either gone or invalid.


CB-6875 CM should give back services health for hosts and CB should u…

…se it to detect if a host is healthy or not
See detailed description in the commit message.

retest this please


Ajax Support

Ajax is a must-have!

It was removed in the previous rewrite, and it is a thing that should exists. Copy pasting would work fine for it I think because I haven't changed much of the API

Done


there is no update for more than a month.

there is no update for more than a month.
If the issue is still actual for you - feel free to reopen it
Originally posted by @uslss in https://github.com/dbeaver/dbeaver/issues/10259#issuecomment-760439159
DBeaver 21.0.1 It now highlights the first error (which is an improvement).  The bottom of the window now lists the current cursor position as Line: character along line: character from beginning of statement.  Unfortunately only indication it gives of the location of the error is still just a position (which I am assuming is in characters from the beginning of the statement) ex: Position: 162.  It would be very helpful if it could provide the location of the error in a format that matches that in the bottom of the window.  Additionally, when parsing a statement and there is a syntax error, it would be helpful if it listed all of the errors encountered, not just the first one.
Thanks.

#10259 reopened. Thanks for the clarification, move your comment to #10259


Add bracket method to Hive monad, as per Hdfs

The Hive monad should mirror the Hdfs monad. I attempted to add the bracket method to Hive, but when I execute the corresponding tests, they fail at runtime with a javac error: can't find the class scala.Nothing$.

Do you have a branch with the code you tried?

Sorry, no, I deleted it without thinking about preserving it. That's also why there is no detailed error message or code snipped in the issue ... :(

But I copied the existing Hdfs code across with just enough modifications to make the tests sensible for the Hive monad.

This was done as part of #85.


fixed version

Codecov Report

Merging #6 (f0e224d) into master (cfd0509) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   91.17%   91.17%
=======================================
  Files           2        2
  Lines         102      102
=======================================
  Hits           93       93
  Misses          9        9

Flag
Coverage Δ

tests
91.17% <0.00%> (ø)

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

Impacted Files
Coverage Δ

yellowbox_heksher/_version.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Utilizing mapbox-gl layer functionality

Is a deck.gl layer acting as a mapbox layer utilizing MapboxLayer able to respond as if it were a mapbox layer?  For example I converted a mapbox-gl symbol layer over to being an IconLayer type defined as a MapboxLayer.  I have now lost the ability to queryRenderedFeautures() and act on  oncontextmenu events.  Is there another way to access these utilizing the IconLayer?  I am not using react for this.

For the time being you have to use onHover and onClick props of the IconLayer. As far as I know Mapbox does not have an API for 3rd-party layers to participate in query.


Work Package wp-ck.csv

wp-ck-results.csv

I would like to work on this please!

Results of Phase 1
wp-ck-results.csv

I completed this work package.

Results of Phase
wp-ck-results.csv
2

I would like to work on this please!

Results of Phase 2

Results of Phase
wp-ck-results.csv.csv
2

I completed this work package.

Results of Phase 1
wp-ck-results.csv

I would like to work on this please!

Results of Phase 1
wp-ck-results.csv


Add simple transmission spectrum demo

This PR:

adds an Opacity class for finding the available opacities on disk, loading them into memory, and generating a jitted interpolator for the opacity grid
adds a fast function for creating a small synthetic opacity file
adds narrative docs for how to work with Opacity objects, including:

loading from disk
inspecting and slicing the xarray object within
constructing a jitted and vectorized opacity interpolator
cropping the opacity grid on a wavelength range

adds a function for Heng & Kitzmann (2017)'s isothermal transmission spectrum
brings together the points above for a demo in the docs producing a transmission spectrum

The docs add in this PR include:

an intro to Opacity: https://shone--4.org.readthedocs.build/en/4/shone/opacities.html
transmission demo: https://shone--4.org.readthedocs.build/en/4/shone/examples/simple_transmission.html

Thanks!


Missing HTTP load balancing example

As far as today the repository is missing a full, clear example of how to use the module to create HTTP multi backend load balancers.
The examples/http-multi-backend only contains a README :(
Is it an intentional choice? Am I missing something?
Thanks in advance for your kind help

As per the message above, we will be closing this issue.


GO filtering , check

from
https://github.com/pombase/pombase-chado/issues/594
I think that's ready to go, with IEP, IEA, RCA added at the bottom:
inferred by curator
inferred from sequence orthology
inferred from sequence or structural similarity
inferred from sequence model
traceable author statement
non-traceable author statement
inferred from electronic annotation
inferred from expression pattern
inferred from reviewed computational analysis

the problem I was about to describe does not exist....


Added PVS studio, ubuntu gcc build and windows msvc build actions

Will be run on pull request to main or any main commit

#36 #35 needs to be done for the project to compile on linux


iOS Build Help

Hello.
Just introduced to react native and was trying to build a simple "Hello, World!" app.  I am having a lot of difficulties running the app in my simulator. Here's some specs:

computer: MacBook Pro (11.2.3)
simulator: iPhone 12 iOS 14.4 (downloaded from Xcode)

Here's my code for the App.js file:
import React from 'react';
import type {Node} from 'react';
import {
  StyleSheet,
  Text,
  View
} from 'react-native';

const App: () => Node = () => {
  return (
      <View>
        <Text>Hello, World!</Text>
      </View>
  );
};

export default App;

Here's my Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '14.4'

target 'ReactBasics' do
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )

  target 'ReactBasicsTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  use_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.4'
        end
    end
  end
end

I am having no issues doing pod install
Here's the error I'm receiving when I run react-native run-ios (it's longer but here's the main error):
** BUILD FAILED **

The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/rohanphadnis/Library/Developer/Xcode/DerivedDat
a/ReactBasics-fzminaefvybshvfumixvluvjtavf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReac
tNativeSpec.build/Script-9742DECD97FFF8D6615E329EB7068D77.sh
(1 failure)

Here's what I get when I run react-native info just in case the information is useful:
info Fetching system and libraries information...
(node:28737) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
    OS: macOS 11.2.3
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 100.89 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.14.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 7.9.0 - /usr/local/bin/npm

    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.0 => 0.64.0
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Again, I'm very new to this platform and would really, really appreciate any help. Feel free to request for more information, terminal outputs, or code if necessary.

https://stackoverflow.com/questions/66801201/getting-a-build-error-related-to-running-react-native-run-ios
check this link

Thank you so much for the suggestion. I followed the steps but still got the same error, unfortunately.

Try this one:
https://github.com/facebook/react-native/issues/31275#issuecomment-820379178

Thank you so much for the help. It turned out that I had not installed yarn and also that my react native community CLI was deprecated...


Roll Flutter Engine from 0ce67714ce4c to baebb4eb7e04 (11 revisions)

https://github.com/flutter/engine/compare/0ce67714ce4c...baebb4eb7e04
2024-05-01<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from HP2saK9sVOtKvpquC... to PIHl-e41i3mzbriG1... (flutter/engine#52480)
2024-05-01<EMAIL_ADDRESS>Roll Skia from a6bc04f984d2 to 5f4ebd628994 (1 revision) (flutter/engine#52478)
2024-05-01<EMAIL_ADDRESS>Roll Dart SDK from c88854d4282c to d946408c559a (1 revision) (flutter/engine#52476)
2024-05-01<EMAIL_ADDRESS>[Impeller] Document the EGL toolkit. (flutter/engine#52469)
2024-05-01<EMAIL_ADDRESS>[skwasm] Change default FilterQuality to None for image shaders. (flutter/engine#52468)
2024-05-01<EMAIL_ADDRESS>Roll Dart SDK from 3f649c97a08c to c88854d4282c (1 revision) (flutter/engine#52475)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 30aaaef0390d to a6bc04f984d2 (1 revision) (flutter/engine#52471)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 85ec65ecd5ec to 30aaaef0390d (4 revisions) (flutter/engine#52466)
2024-04-30<EMAIL_ADDRESS>Roll Dart SDK from 7a517de88964 to 3f649c97a08c (1 revision) (flutter/engine#52465)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 77350e051f71 to 85ec65ecd5ec (2 revisions) (flutter/engine#52464)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 8f2d039e1190 to 77350e051f71 (1 revision) (flutter/engine#52460)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from HP2saK9sVOtK to PIHl-e41i3mz
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


DCOS-5994: Move logo to menu container and apply flex properties as needed

Will merge as soon as build passes


Org-wide settings no longer apply

This page needs to be updated with accurate instructions, the Org-wide section doesn't exist anymore

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

ID: ffbf0bfd-c15e-b10b-0cc9-6a27ac1e6634
Version Independent ID: 58575371-9e09-fadb-76f6-7491df8580a3
Content: Set your coexistence and upgrade settings - Microsoft Teams
Content Source: Teams/setting-your-coexistence-and-upgrade-settings.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

@azha23 thank you for reaching out and helping to improve Microsoft Docs. This has been corrected in another PR and we are just waiting for it to be approved, then it will reflect correctly in the article.


WithJavaScript() does not work with

At least that's what I think is happening.
Looking at the below page:
http://www.druware.com/unittests/library.external.html
it simply loads an external script element (  ) and expects it to execute.  Using the exact same script within the script tag, rather than a src attribute, it executes as expected.
http://www.druware.com/unittests/library.internal.html
Is it possible to extend the loader in a portable manner to fetch the nested scripts prior to execution?

Resource loading requires a resource loader (I assume this is your problem). If you don't give a MWE to reproduce your problem I can't help you much.

Sorry, still trying to dig through this moving code from HtmlAgilityPack and ClearScript.  Resource Loader?  I don't see that in the documentation anywhere, but I could be blind too...  Is there an example that uses a resource loader?

When you use the WithDefaultLoader() you'll see it by using the callback, e.g.,
var configuration = Configuration.Default.WithdefaultLoader(setup => setup.IsResourceLoadingEnabled = true);

It's also available in the samples repository, e.g., in the WPF sample.

That explains it. I'm not using Windows for any of this work so haven't looked at any of the WPF code.
Thanks!

By default AngleSharp does not load external resources (or allow any kind of navigation). You really need to tell AngleSharp to do this. The option was disabled by default to avoid unnecessary network load and evaluation.
Glad I could help!


Bump oasis-core to 20.12.1

replaces #104 for compat with new testnet, with a bump to the tendermint replace line

Probably want to go ahead and update the makefile and dockerfile as well?

oh yeah ok

added and squashed


add types file

Add types and export from index.mjs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Universität Osnabrück has degraded performance

In d6b9ed9, Universität Osnabrück (https://www.uni-osnabrueck.de) experienced degraded performance:

HTTP code: 503
Response time: 9547 ms

Resolved: Universität Osnabrück performance has improved in f9b4074.


Remove dependency between Aggregate and Filter extensions

@jamesfisher-gis sorry I'm just realizing this now but I don't think we should do this, at least I don't see in the aggregate extension why the filter attributes should be enabled with the aggregations ones.
I think it will be up to the implementers to add the filter extension and also handle them in the client.
Originally posted by @vincentsarago in https://github.com/stac-utils/stac-fastapi/pull/684#discussion_r1651218182

https://github.com/stac-utils/stac-fastapi/blob/8f400e18f361132b92f32d8e3fd62787b3276adc/stac_fastapi/extensions/stac_fastapi/extensions/core/aggregation/request.py#L24
also realizing that in ☝ we use attr.ib instead of pydantic.Field

Hey. That makes sense.
I have a couple other small bug fixes for aggregation. I will submit a PR today that removes the Filter extension dependency.


Index: Constrain widths for post cards

This is still up for discussion, but here are my suggested changes

Lower the breakpoint to sm (The lowest default breakpoint of )
Change the max width of the image on the postcard (on flex-row, where everything is arranged sideways) from 40% to 30%

For (1), if desired, we could add a smaller breakpoint
https://tailwindcss.com/docs/screens#adding-smaller-breakpoints
For (2) here are some options
20%

25%

35%

I'm not really sure how to resolve this, I've tested a bit and thought of 2 possible ideas

For the card with the image at the side, we

Still lower the breakpoint to sm (so cards don't become too wide)
Change the image width at different breakpoints. From sm to md, image width could be 50%, from md onwards, image could remain same at 40% (no issues)

Increase the height of the image at the smallest width (for now I tested h-72, I think h-80 makes the image too tall)

Not sure if this is necessary since this would be an extreme edge case

Image width at 40%

Image Width at 50%

Increase Height of Card

Added a max width for post cards on mobile

@Hackin7 I came up with a few changes, do you mind seeing if these are good? Just replace the respective lines in post-card.hbs with the following:

        {{#if feature_image}}

        {{else}} {{!-- Placeholder --}}

        {{/if}}

The changes look great!

Thanks! Will merge in that case.


DRILL-7115: Improve Hive schema show tables performance

To make SHOW TABLES for Hive schema work much faster, additional Drill
   feature of showing only accesible tables when Storage-Based authorization
   is enabled was sacrificed. Now the behaviour matches to Hive/Beeline, all
   tables will be shown despite of accessibility. For details about previous
   show tables results, check description of DRILL-540.
In HiveDatabaseSchema implemented faster getTableNamesAndTypes() method
   and removed bulk related code.
Deprecated bulk related options and removed bulk code from AbstractSchema,
   DrillHiveMetastoreClient.
For 8000 Hive tables query returned in 1.8 seconds, for combination of
   4000 tables and 8000 views query returned in 2.3 seconds. Note, that
   after first query table names will be cached and next queries will perform
   in less than 1 sec.
Refactored WorkspaceSchemaFactory's getTableNamesAndTypes()
   method to reuse existing getViews() method.
DrillHiveMetastoreClient was refactored. Classes were unnested and enclosed
   within client package with restricted visibility. Also was updated cache
   values type to avoid unnecessarry List to Set back and forth conversions.
   Client creation methods moved to separate class. So the new package
   exposes only factory and client class.

Hi @vdiravka , according to the PR discussion , show tables authorization was left in inconsistent state (all tables shown for SQL Standard mode, only accessible shown for Storage Based mode). I have spent some time investigating the issues and even found how to fix listing for SQL Standard mode. But performance acceptable solution for Storage Based mode is still unknown. I think that listing of only accessible tables wasn't Drill users requirement, and in case of such Jira appearance it should be implemented as finalized feature with acceptable performance and consistency for both authorization modes. Until Drill users require the feature, it'll be much better to return all tables as fast as possible.

@vdiravka could you please review again from scratch ? Because a lot of things were changed since last review.

@vdiravka , I've addressed comments.
I totally agree with you that refactoring is better to put into separate commits and I'll use this approach in future.
For show tables authorization improvement was created DRILL-7151 ticket.
For caches was changed type of tableNamesCache to  LoadingCache<String, Map<String, Schema.TableType>> , previously only names were cached here, also all work with Guava caches was unified under HiveMetadataCache facade.
For Drill Hive SASL (Kerberos) connection I didn't introduce changes, related code from DrillHiveMetaStoreClientFactory was previously in DrillHiveMetaStoreClient.


Model weights

Hi,
Where can I download the model weights? Forexample "fcn_resnet50_weights_tf_dim_ordering_tf_kernels.h5"
Thanks

Check this file: https://github.com/aurora95/Keras-FCN/blob/master/utils/get_weights_path.py

Also @Fahim7 , if it still says file not found, then just add fcn_ to the original file name.