add cgroup mount for LCOW

add cgroup mount by default for LCOW like in upstream
Signed-off-by: Maksim An<EMAIL_ADDRESS>

fyi @katiewasnothere @kevpar @abarve @dcantah

just realized, that I need to add a check that there were no client provided cgroup

We don't need to do this in this PR, but I'm wondering if we should take a more generic approach like upstream appears to do in [spec_linux](https://github.com/containerd/containerd/blob/46e1dc5a9f8ec52bf0bb75e43f90334000b3db17/pkg/cri/opts/spec_linux.go#L147, if I'm reading it correctly. It looks like they setup default mounts and then filter them out based on what the user passed in. This could help catch other similar cases/support more scenarios, but I'm not sure if we want/care about that. Thoughts?

We don't need to do this in this PR, but I'm wondering if we should take a more generic approach like upstream appears to do in spec_linux, if I'm reading it correctly. It looks like they setup default mounts and then filter them out based on what the user passed in. This could help catch other similar cases/support more scenarios, but I'm not sure if we want/care about that. Thoughts?

yeah, I had the same observation. I can definitely do something with it now or later, depending on the fix urgency.

This LGTM, but I'd like us to add a backlog item or otherwise investigate if we want to be entirely consistent with upstream as mentioned earlier in the conversation.

yup, agree. and done.

This LGTM, but I'd like us to add a backlog item or otherwise investigate if we want to be entirely consistent with upstream as mentioned earlier in the conversation.

yup, agree. and done.

@katiewasnothere or @kevpar can we merge this?

@katiewasnothere or @kevpar can we merge this?


HBASE-26920 Fix missing braces warnings in TestProcedureMember

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 14s
Docker mode activated.


Link to github, not rubyforge [ci skip]

Overview
Updates a link to defunct website
Submitter Checklist:

[ ] Include a link to the related GitHub issue, if applicable
[ ] Include a security review link, if applicable

Testing
Q: Would it be possible to add some "link checker" build step? Or have such a manual task, every year?
Reviewer Checklist

[ ] Perform code review
[ ] Add performance label
[ ] Perform appropriate level of performance testing
[ ] Confirm all checks passed
[ ] Add version label prior to acceptance

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

Much appreciated, @olleolleolle, thank you!

Q: Would it be possible to add some "link checker" build step? Or have such a manual task, every year?

Hi @olleolleolle, thanks very much for this wonderful suggestion! With #2127, we will now evaluate URL availability health for all links in source code comments. The check happens once a day. It managed to find fully 5 additional outdated links. We very much appreciate your contribution!


Use numbered listing instead of bullet points.

The numbers correspond to the numbers used in the image.

@mallibone : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ddematheu

Although numbered lists usually are reserved for sequential list items in Azure content, using numbers makes sense here; merging.
Thanks!


Made this work with rails 3.2

+1 it is not usable with rails 3.2 .. which is the offical rails version .. please accept this pull request..

+1
Please accept.


Simplify launching and testing fuzzing tools

Miscellaneous minor tweaks and annoyance fixes in fuzzing tools that I found useful after testing and actually using fuzzing on Linux and macOS.
Use command-line arguments instead of pipes
stdin is a bit easier to use from the programming viewpoint, but it complicates debugging crashes. It is simpler to pass the input file as a command-line argument than to setup file redirection with lldb or gdb.
Teach all tools to read input from the first command-line argument, update AFL command-line to pass the input via arguments, and update readme to prefer this form.
This gives us easier time with debugger:
gdb --args build/afl/${tool} tools/afl/input/${tool}/some_input.dat

and then we can just "run" in gdb's command line, instead of having to setup redirection every time.
Launch trap as a separate command
We should setup signal trap as a separate shell command for it to have effect on the next one. The previous form works on macOS for some weird reason but it does not work on Linux.
Organize fuzzer output into subdirectories
Separate tool name in filesystem hierarchy makes it easier to iterate over the findings for later reporting.
Link statically against Themis
Dynamic linkage with non-system installation paths is a minefield. For example, it works incorrectly on macOS if Themis is already installed to /usr/local/lib (that's because of the "installation path" thingy in dylibs). On Linux dynamic linkage requires LD_LIBRARY_PATH to be correctly configured even when building the fuzzing tools.
Use static linkage instead. It turned out to be not that hard. We just have to add libsoter.a explicitly as well as LDFLAGS from outer Themis build to pull in the OpenSSL/LibreSSL/BoringSSL dependency.

A bit weird about static vs dynamic linkage, I was trying on mac and haven't experience any issues, but I'm glad that you fixed that!


Graphic odometer

Describe the bug
The odometer graph shows an incorrect and constant value
To Reproduce
Steps to reproduce the behavior:

Go to report
create odometer graph

See error

The graph shows a seemingly random and always constant value, although the graph appears to be correct.
See screenshoot

Are you using the latest master? We pushed a fix for this a couple of hours ago.

If possible please test the latest master to see if it's actually fixed.


Recently Played includes songs with play counts of 0

I think it makes sense for the Recently Played playlist to exclude songs that have never been played.  Would you agree?

Take a look at the latest commit, and let me know what you think


Error starting cf-mysql-broker

We're running the latest nightly build - micropcf-v0.6.0-18-g0b99532 and seeing the following error starting the broker:
mysql_broker already exists

rake aborted!
JSON::ParserError: 776: unexpected token at '
<title>502 Bad Gateway</title>

502 Bad Gateway

nginx

'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/json_pure-1.8.2/lib/json/common.rb:155:in `parse'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/json_pure-1.8.2/lib/json/common.rb:155:in `parse'
/var/vcap/data/packages/cf-mysql-broker/cd3a16e99fe291ce91fffe8af81f26d457829bd5-43b20ed10dce4af2eefb8431c390addb046b27e4/app/models/cloud_controller_http_client.rb:16:in `get'
/var/vcap/data/packages/cf-mysql-broker/cd3a16e99fe291ce91fffe8af81f26d457829bd5-43b20ed10dce4af2eefb8431c390addb046b27e4/lib/configuration.rb:28:in `cc_api_info'
/var/vcap/data/packages/cf-mysql-broker/cd3a16e99fe291ce91fffe8af81f26d457829bd5-43b20ed10dce4af2eefb8431c390addb046b27e4/lib/configuration.rb:17:in `auth_server_url'
/var/vcap/data/packages/cf-mysql-broker/cd3a16e99fe291ce91fffe8af81f26d457829bd5-43b20ed10dce4af2eefb8431c390addb046b27e4/config/initializers/omniauth.rb:10:in `block in <top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:6:in `initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in `new'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in `build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in `block in build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in `each'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in `inject'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in `build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:495:in `app'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application/finisher.rb:34:in `block in <module:Finisher>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in `instance_exec'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in `run'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:54:in `run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:215:in `initialize!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/vcap/data/packages/cf-mysql-broker/cd3a16e99fe291ce91fffe8af81f26d457829bd5-43b20ed10dce4af2eefb8431c390addb046b27e4/config/environment.rb:5:in `<top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `block in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in `load_dependency'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:189:in `require_environment!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:260:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Migrations failed at Mon Feb 22 21:27:58 UTC 2016```

Hi @geoffwa,
Are you still experiencing this issue with the latest version (0.13.0) of PCF Dev?

Closing due to inactivity. Feel free to re-open if you're still experiencing this issue.

rake aborted!
SocketError: getaddrinfo: Name or service not known
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/app/models/cloud_controller_http_client.rb:14:in
get' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:28:in cc_api_info'
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:17:in auth_server_url' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/initializers/omniauth.rb:10:in block in <top
(required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in instance_eval' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:6:in initialize' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in new'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in block in build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in each' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in inject'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:495:in app'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application/finisher.rb:34:in block in <module:Finisher>' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in instance_exec'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in run' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:55:in block in run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:54:in run_initializers' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:215:in initialize!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/railtie/configurable.rb:30:in method_missing' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/environment.rb:5:in <top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in require' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in block in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in load_dependency' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:189:in require_environment!' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:260:in block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Migrations failed at Fri Jul 29 09:36:04 UTC 2016
mysql_broker already exists
rake aborted!
SocketError: getaddrinfo: Name or service not known
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/app/models/cloud_controller_http_client.rb:14:in
get' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:28:in cc_api_info'
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:17:in auth_server_url' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/initializers/omniauth.rb:10:in block in <top
(required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in instance_eval' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:6:in initialize' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in new'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in block in build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in each' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in inject'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/

i hava encouter the same error, is there any solution?
i use cf-mysql-release v26
rake aborted!
SocketError: getaddrinfo: Name or service not known
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/app/models/cloud_controller_http_client.rb:14:in
get' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:28:in cc_api_info'
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:17:in auth_server_url' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/initializers/omniauth.rb:10:in block in <top
(required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in instance_eval' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:6:in initialize' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in new'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in block in build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in each' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in inject'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:495:in app'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application/finisher.rb:34:in block in <module:Finisher>' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in instance_exec'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in run' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:55:in block in run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:54:in run_initializers' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:215:in initialize!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/railtie/configurable.rb:30:in method_missing' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/environment.rb:5:in <top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in require' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in block in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in load_dependency' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:189:in require_environment!' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:260:in block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Migrations failed at Fri Jul 29 09:36:04 UTC 2016
mysql_broker already exists
rake aborted!
SocketError: getaddrinfo: Name or service not known
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/app/models/cloud_controller_http_client.rb:14:in
get' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:28:in cc_api_info'
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/lib/configuration.rb:17:in auth_server_url' /var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-6d06770c0c7b0f192aa9c1a49762227b76034aa5/config/initializers/omniauth.rb:10:in block in <top
(required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in instance_eval' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in initialize'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:6:in initialize' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in new'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:43:in build' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in block in build'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in each' /var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:118:in inject'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/

This is the issue tracker for PCF Dev, a local version of PCF that comes with cf-mysql-release pre-installed. Your issue does not seem related to the opening issue, which was resolved.


feat(kubernetes): link crossplane objects to the cloud resources

resolves: https://github.com/flanksource/mission-control-registry/issues/211
merge after: https://github.com/flanksource/config-db/pull/690


docs: Explain the meaning of OneDrive access token

For background: the Rustic backup tool uses OpenDAL for cloud storage integration. The documentation is lacking on both sides. But I managed to reverse engineer that it expects the user to configure OpenDAL root & access_token (https://opendal.apache.org/docs/rust/opendal/services/struct.Onedrive.html#configuration) for OneDrive in a configuration file.
But there is no documentation on either side, what process needs to be performed to get an access token issued. Is this even something that a user should be exposed to? Or is it the application author's responsibility to provide a mechanism for requesting the access token?
But at the bare minimum, OpenDAL's documentation should document the expected format of this token (e.g. JWT token?) and reference relevant parts of Microsoft Graph API, and perhaps suggest a tool or library that can be used to request one.
Related discussion: https://github.com/apache/opendal/pull/2129#issuecomment-2156889316

Thanks a lot for raising up an issue. I'm going to setup the integration tests for one drive. Maybe I can finish the documentation at the same time.
And you are welcomed to provide a minimum PR to improve the existing docs a bit 🥰


Timezone injection based on node annotations

First, thanks for this very useful tool!
It would be great if the k8tz.io/timezone etc annotations would be read from the node too. In our case we are running daemonsets on IoT nodes. Each of these nodes may be located in another timezone, so we need to have the pods somehow read the k8tz annotations from the node, not the pod or namespace.

Hi @christian-schlichtherle,
Unfortunately, it is not possible to implement such a feature in kubernetes. When the admission controller processes the pod, it has no way to predict which node it will run on. Moreover, after the pod is created it can move between nodes. In Kubernetes, pod is immutable resource, which means that it cannot be changed after creation.
What I can recommend instead is to create a Deployment for each timezone with a corresponding node affinity.
Hope it helps :)

Thanks for the feedback! Then we are going to continue with what we're already doing, which is reading node annotations at runtime in the container.


Search for Help Board on Web Test Documentation related to #1448

Note: This is how the FP system work for the Help Board Search (https://feature1448.fightpandemics.xyz/) for Web Test. The document is not done yet because the test is not completed.  We use screenshots to demonstrate.

Search Bar will be in between FP icon and About Us

Search Bar will have grey text -Search Posts, People & Orgs

Search Bar will have minimum keywords of 4 characters and there is no reserved keywords to excluded from the search.

Posts will be searched and returned on display if keyword is full (unsigned)  or partly (signed) match with Title, Content, Type, Name

Sort for Posts (no Signed) will based on Weight Title: 5; Content: 3; Type (tags) : 2 ; Author Name: 1 (keywords/other-text ratio ) with highest scores are on the top

Sort for Posts (with Signed) will be based on the location of individual profile. The Closest location is on the top. The Posts of signed user are also in display if matching the keywords.

In order to Likes , Comments or Share any records on the Post Result, the user needs to log in.

Result Posts can be filtered by Request Help | Offering Help | locations |Type | Providers

Post Result can have no records with Sorry, there are currently no relevant Posts available. Please try using a different filter search display with Request Help | Offering Help | Type | Providers when applying the filter on the subset of at least one record

Post result will ALWAYS return records even there is nothing match with new location when applying the new location filter on the subset of at least one Post record.
Organizations will be searched and returned on display if keyword is full (unsigned) or partly (signed)  match with Name and About
Sort for Organizations (no Signed) will be based on Weight Name:2; About: 1 (keywords/other-text ratio) with highest scores are on the top
Sort for Organizations (with Signed) will be based on the location of individual profile. The Closest location is on the top. The Organizations of signed user are also in display if matching the keywords.
In order to Send Message to any Organization from the Organization search result, the user needs to sign in.
Result Organizations can be filtered by location only when Organizations tab is on focus.
Organizations result will ALWAYS return records even there is nothing match with new location when applying the new location filter on the subset of at least one Organizations record.
People will be searched and returned on display if keyword is full (unsigned)  or partly (signed)  match with Name and About.
Sort for People (no Signed) will be based on Weight Name:2; About: 1 (keywords/other-text ratio) with highest scores are on the top
Sort for People (with Signed) will be based on the location of individual profile. The Closest location is on the top. The Individual of signed user are also in display if matching the keywords.
In order to Check on Media type: Facebook, Install Gram, Linked , Twister …etc. to any People  record from the People search result, the user needs to sign in.
Result People can be filtered by location only when People tab is on focus.
People result will ALWAYS return records even there is nothing match with new location when applying the new location filter on the subset of at least one People record. (edited)
Per Use Case- People : I should be able to view the complete profile and "send message" and click on  the social media links of the user.  Current System-For 'send message' , at this time we can't do since Individual profile doesn't store email (future feature?)
Per Use Case-Individuals who have chosen to hide their location will be taken out from the filter's results when applying the location filter to People search result. Current System- Individual can select show/not show the address to be included/hidden from the location filter.
Per Use Case -Organizations: I should be able to view the complete profile of the organization.  Current System Since Organizations has email stored , I should be able to view the complete profile of the organization and "send message" to organization.
Per Use Case-Organizations : I should be able to use "Location" filter (Organizations that have chosen to
hide their location will be taken out from the filter's results) so that I can sort the results based on the location I want.  Current System Organizations have the checkbox to check We are a global organization.  If checkbox is checked, the organization display globally not limited on location.   If the organization is not global it's not hidden from location search, it will behave normally like an individual without "hide my location"

Search bar will only appear when you are on the Help Board

[
Defects_Search_HelpBoard.xlsx
](url)

@adorapham great documentation. Thanks.
Adding below points to the list:

For Search: While searching 1, 2 and 3 letter word search, the result will display the exact match i.e. full match, if any.
But, for 'search keyword>3' will display partial match too along with exact match. if any.
For e.g. Search 'Hil' no result, search for 'Hilf' will display the nearest matching post.

The partial search is performed by comparing the letters from the start of the word.
For e.g. if you search for 'here' it should NOT displayed/match 'there' .

For NON English:

If a non English letter was used, all those rules will change, there will be one rule:
a. Words with 2 or more characters will partially match
b. search and match can be performed within the word too i.e. match will not be performed from start or end of the word. It can locate the word anywhere in the text for international languages.

Thank @rabbi08. I update in 22 and 23.  The note is not done yet :)


Failed building wheel for pyworld and dtw-c

Hi I followed this instrcutions to setup:
$ git clone https://github.com/kan-bayashi/PytorchWaveNetVocoder.git
$ cd PytorchWaveNetVocoder/tools
$ make
however this resulted in the following errors:
x86_64-linux-gnu-gcc: error: pyworld/pyworld.cpp: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for pyworld
Running setup.py clean for pyworld
Building wheel for dtw-c (setup.py) ... error
Complete output from command /home/ubuntu/Projects/NLP/ajalaSpeech/TTS/experiments/wavenet_vocoder/PytorchWaveNetVocoder/tools/venv/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-mnveb40h/dtw-c/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-b0fie57u --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/dtw_c
copying dtw_c/init.py -> build/lib.linux-x86_64-3.6/dtw_c
running build_ext
building 'dtw_c.dtw_c' extension
error: unknown file type '.pyx' (from 'dtw_c/dtw_c.pyx')

Failed building wheel for dtw-c
Running setup.py clean for dtw-c
Failed to build pyworld dtw-c
Do these final messages in the stdout indicate that the earlier build/ compilation failures are rectified by a sanity check?
Running setup.py install for pyworld ... done
Running setup.py install for dtw-c ... done
Successfully installed PyWavelets-1.0.2 audioread-2.1.6 cffi-1.12.2 cycler-0.10.0 cython-0.29.6 decorator-4.4.0 dtw-1.3.3 dtw-c-0.6.0 fastdtw-0.3.2 h5py-2.9.0 imageio-2.5.0 joblib-0.13.2 kiwisolver-1.0.1 librosa-0.6.3 llvmlite-0.28.0 matplotlib-3.0.3 networkx-2.2 numba-0.43.1 numpy-1.13.3 pillow-6.0.0 pycparser-2.19 pyparsing-2.4.0 pysptk-0.1.16 python-dateutil-2.8.0 pyworld-0.2.8 pyyaml-5.1 resampy-0.2.1 scikit-image-0.15.0 scikit-learn-0.20.3 scipy-1.2.1 six-1.12.0 soundfile-0.10.2 sprocket-vc-0.18.2 torch-1.0.1.post2 torchvision-0.2.2.post3
touch venv/bin/activate
Or do I have a faulty build here?
Any help would be appreciated!

It is no problem.
The installation is successfully done according to following lines:
Running setup.py install for pyworld ... done
Running setup.py install for dtw-c ... done


Win64

Is 64-bit windows standalone (I.E not UWP) supported? Just started looking at this engine and am thinking of binding C#.

64bit windows support opengl only now


github go package not available

glem@ubuntu:~/# go get github.com/anshumanbh/go-github/github
fatal: could not read Username for 'https://github.com': terminal prompts disabled
package github.com/anshumanbh/go-github/github: exit status 128

The package cannot be accessed by the public.

ouch! that hurts...I think I deleted my go-github repo from my github account. can you try go getting the main go-github package and see if that works please?
go get github.com/google/go-github/

@glen-mac try it now!


connection pooling

Using a raw psycopg connection may be a misguided attempt at gaining speed - parallel processing jobs create and destroy many connections - connection pools would be good.

Actually, if I'm reading this right, no. Pooled connections don't work with multiprocessing.
http://docs.sqlalchemy.org/en/latest/core/pooling.html#using-connection-pools-with-multiprocessing


update version_set.cc

add GetIncludedInputs function, which collect files included in [begin,end], unlike GetOverlappingInputs.
SetupOtherInputs calls GetIncludedInputs to make expanded0 included in [all_start, all_limit]  .
it makes more likely to expand level+1

I signed it!


Update winapi to 0.3

@danburkert I solved the Travis issue by skipping the Rust 1.8 build on OS X. Feel free to copy my config 😄
https://github.com/lfairy/rust-errno/commit/553e8fae0f1eb3dc3a1f2cebc7b680336c99b002


ear

Is this a bug report?
(write your answer here)

Did you try recovering your dependencies?

(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

(paste the output of the command here)
Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Please add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

This issue seems to have the original template unmodified, did you mean to edit it? There's a pencil icon in the upper right corner of the comment.

You can close the issue at the bottom


Can't delete a security group depended upon by a Autoscaling LaunchConfiguration

Summary:
M7: (Priority 2) Can't delete a security group depended upon by a Autoscaling LaunchConfiguration
Symptom:
The uninstall workflow tries to delete a security group specified as a dependent in AG launch configuration. This task is not successful despite numerous retries. I try to manually delete the security group and got the following warning. The dependency relationships of autoscaling group -> LaunchConfiguration -> Security Group, is contradict the deleting order enforced by AWS. AWS expects the ec2 instance of the autoscaling group be deleted first before the security group can be deleted.
Steps to reproduce:

    Deploy a blueprint with the nodes of one AutoscalingGroup, one LaunchConfiguration, and one SecurityGroup.

    Uninstall it. The first node to be deleted is the security group and the workflow is stuck as retries.

This was resolved.


Error loading scipy with Intel compilers.

Describe the bug
There seems to be an issue with the installation of py-scipy with Intel compilers on Discover. After loading the modules, entering python and doing e.g. from scipy.stats import skew the following traceback occurs:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/stats/__init__.py", line 453, in <module>
    from ._stats_py import *
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/stats/_stats_py.py", line 38, in <module>
    from scipy.spatial.distance import cdist
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/spatial/__init__.py", line 108, in <module>
    from ._geometric_slerp import geometric_slerp
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/spatial/_geometric_slerp.py", line 9, in <module>
    from scipy.spatial.distance import euclidean
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/spatial/distance.py", line 123, in <module>
    from ..special import rel_entr
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/special/__init__.py", line 652, in <module>
    from . import _basic
  File "/gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/special/_basic.py", line 15, in <module>
    from . import _specfun
ImportError: /gpfsm/dswdev/jcsda/spack-stack/spack-stack-v1/envs/skylab-1.0.0-intel-2022.0.1/install/intel/2022.0.1/py-scipy-1.8.0-eiuk7wc/lib/python3.9/site-packages/scipy/special/_specfun.cpython-39-x86_64-linux-gnu.so: undefined symbol: __svml_pow4_l9

No such error occurs with the GNU collection.

Hmm, that's a missing symbol from the Intel math vector library. Will need to investigate.

@danholdaway I started looking at this. I think it's got to do with libsvml not being linked in properly by the py-scipy build system.

No solution yet, but I got a bit further. spack bug report: https://github.com/spack/spack/issues/32732

@danholdaway I have a pretty nasty workaround, do you think you can try that in your workflow?
# after logging into Discover
module purge
module use /discover/swdev/jcsda/spack-stack/modulefiles
module load miniconda/3.9.7
module use /gpfsm/dnb32/dheinzel/spack-stack/spack-stack-scipy-intel/envs/py-scipy-intel-test/install/modulefiles/Core
module load stack-intel/2022.0.1
module load stack-python/3.9.7
module load py-scipy/1.8.0

That test stack has limited packages available, but hopefully it's all that you need for testing. Thanks a lot in advance!

spack/spack#32732

EDIT: I removed that directory and started over with an alternative and much better approach coming from discussions with the spack developers.

@danholdaway I have a pretty nasty workaround, do you think you can try that in your workflow?
# after logging into Discover
module purge
module use /discover/swdev/jcsda/spack-stack/modulefiles
module load miniconda/3.9.7
module use /gpfsm/dnb32/dheinzel/spack-stack/spack-stack-scipy-intel/envs/py-scipy-intel-test/install/modulefiles/Core
module load stack-intel/2022.0.1
module load stack-python/3.9.7
module load py-scipy/1.8.0

That test stack has limited packages available, but hopefully it's all that you need for testing. Thanks a lot in advance!

EDIT: I removed that directory and started over with an alternative and much better approach coming from discussions with the spack developers.

@danholdaway Update. You can try this now:
module purge
module use /discover/swdev/jcsda/spack-stack/modulefiles
module load miniconda/3.9.7
module use /gpfsm/dnb32/dheinzel/spack-stack/spack-stack-scipy-intel/envs/py-scipy-intel-test-2/install/modulefiles/Core
module load stack-intel/2022.0.1
module load stack-python/3.9.7
module load py-scipy/1.8.0

Would it be possible to add geos, cartopy and matplotlib ? The package I would test this with requires those packages and for whatever reason beyond my understanding pip doesn't install geos when it goes to install those packages.
  lib/cartopy/trace.cpp(767): catastrophic error: cannot open source file "geos_c.h"
    #include "geos_c.h"
                       ^

  compilation aborted for lib/cartopy/trace.cpp (code 4)

Thanks Dom. Would it be possible to add geos, cartopy and matplotlib ? The package I would test this with requires those packages and for whatever reason beyond my understanding pip doesn't install geos when it goes to install those packages.
  lib/cartopy/trace.cpp(767): catastrophic error: cannot open source file "geos_c.h"
    #include "geos_c.h"
                       ^

  compilation aborted for lib/cartopy/trace.cpp (code 4)

Doing this now. Hopefully we can get this tested and merged Friday morning before we create the release branches for spack-stack and spack. Thanks for helping with the testing!

from scipy.stats import skew

@danholdaway Can you try again, please?
module purge
module use /discover/swdev/jcsda/spack-stack/modulefiles
module load miniconda/3.9.7
module use /gpfsm/dnb32/dheinzel/spack-stack/spack-stack-scipy-intel/envs/py-scipy-intel-test-2/install/modulefiles/Core
module load stack-intel/2022.0.1
module load stack-intel-oneapi-mpi/2021.5.0
module load stack-python/3.9.7
module load jedi-ewok-env/1.0.0

@climbfuji it works! Thanks so much. I was able to run the eva tests on Discover using these modules.


fix oop jit assert on platforms without cfg

there was some inconsistency with JIT thunk allocation in case OOP JIT is enabled but running on platform without CFG

Note: this is causing breaks on ChakraFull CI.


[Question] Can I use win-vind in Linux or MacOS?

Question
A clear and concise description of what you have.
Dear pit-ray.
I'm a big fan of your win-vind.
I don't use mouse that much since I found win-vind.
Now I want it to use on Linux(Ubuntu) or MacOS.
Is it Compatible with them? if not, do you have any plan to develop?

Thank you for using it.
As the name implies, win-vind is only supported on Windows. I have tested it with Wine in Ubuntu before, but EasyClick did not work.
Cross-platform is technically possible, but I don't plan due to small demands since Linux and MacOS are more CUI oriented and especially Linux support the window manager. There are some other concerns such as financial cost due to I don't have MacOS or the implementation cost there are no contributors for development.
There are alternatives such as i3wm and xdotool for Linux, and Karabiner and Keyboard Maestro for MacOS.
Sorry. Thanks.

Hi @pit-ray. Thanks for the awesome plugin. Sorry for digging this up, but the killer feature is "hinting" (label some click-able places the key combinations to get them). Are you aware of any Linux/X11 tool that does that?

@thanhnguyen2187
For a gridmove (https://github.com/pit-ray/win-vind/discussions/155#discussioncomment-5650643) equivalent of win-vind, there is a project called warpd. For easylick, I don't know of any alternatives in X11, but you may want to refer to Hacker News and Reddit posts about win-vind, as I see that topic frequently.
Thanks.


Update the-app-certification-process.md

Need to update the timeframe from 16 to 24 hours in the following sections:
The app certification process
Publishing

@Cloud-Writer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Per email conversation, need to review this change further & coordinate related updates.


Section number showing up multiple times on final package if redact through text

Describe the bug in current situation
When user try to redact the records thorough text , then same section numbers showing up on each line on final package
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Low
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Test-marshal
Steps to Reproduce
Steps to reproduce the behavior:

Go to records tab and upload some pdf documents
Go to IAO login and try to redact through text line by line as shown below on the screenshot
Create redline package
Save final package and open the final package pdf, then section numbers showing up multiple time for the same single redaction done by the IAO analyst through text

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

@m-prodan this ticket is not required to fix for release 9.0


react-app-rewired: Permission denied

Problem:
Getting permission denied, looks like could not able to run the script? what should i do ? i couldn't able to find the solution related to react-app-rewired. any help would be appropriated ?
root@ankit-desktop:/media/ankit/DATA-D/data/isomorphic-react-redux-admin/isomorphic# npm start

<EMAIL_ADDRESS>start /media/ankit/DATA-D/data/isomorphic-react-redux-admin/isomorphic
react-app-rewired start

sh: 1: react-app-rewired: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR<EMAIL_ADDRESS>start: react-app-rewired start
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-06-30T04_02_41_656Z-debug.log
PC configuration:
OS: ubuntu 14.04
Error log in detail:
Problem:
Getting permission denied, looks like could not able to run the script? what should i do ? i couldn't able to find the solution related to react-app-rewired. any help would be appropriated ?

Hi not familiar with isomorphic-react-redux-admin and I can't offer support for config issues simply not enough time.


added missing comma in README.md

Checklist

[ x] Used only camelCase variable names.
[ x] If functionality is added or modified, also made respective changes to the
README.md (the .txt file is auto-generated and does not need to be modified).

Thx


[hive] Support 'timestamp with local time zone' for Hive 3

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

Can we also support Hive2?

Sure we can. Just convert to timestamp without timezone type


Project settings have no descriptions within the editor

There's currently no ability from GDExtension to add in-editor documentation, and as such we're forced to keep the documentation for the project settings in a separate document within the repo.
There's currently an open pull request for this (godotengine/godot#75415), with ongoing discussions, so hopefully this will be resolved in a not too distant future.

While support for GDExtension-provided documentation has been added to Godot now, this unfortunately only applies to new classes provided by the extension, meaning there's still no support for adding documentation to project settings.
With no pull request on the horizon for this, and with this extension having now entered into maintenance mode as part of being merged into Godot in the form of an engine module, it's highly unlikely that this will ever be addressed in this extension. As such, I'll go ahead and close this issue.


Build(deps-dev): Bump lint-staged from 12.1.7 to 12.2.0 (#2432)

Pull request opened by the merge tool on behalf of #2432

Merged in 0bc1592bd28d133b837bb3e674665f6aca202562


Create Insertion_sort.java

The algorithm works by dividing the array into two parts: a sorted part and an unsorted part. The sorted part starts with just the first element, and in each step, the next element is picked from the unsorted part and inserted into the correct position in the sorted part. Time Complexity: O(n^2) in the worst case, but O(n) in the best case when the array is already sorted.

Fixes #185


A plugin is automatically generated for each function at runtime if a plugin needed

Is your feature request related to a problem? Please describe.
A plugin is automatically generated for each function at runtime if a plugin needed.
So we can avoid "the discrepancy between the function signature in the Python implementation and the YAML file", as mentioned in https://microsoft.github.io/TaskWeaver/blog/plugin.
Describe the solution you'd like
To only list the functions will be used and generate each plugin definition at run time. An even better solution is to discard the plugin concept and treat all functions as plugins.
Describe alternatives you've considered
If plugin concept is still needed and it is hard to implement it at runtime. Maybe it can be generated at design time, which still mitigates the burden of developers.

Could you please explain a little more about 'implementing plugins at runtime'?
If I understand correctly, you mean something like generating the yaml definition of the plugin given only the python function. The problem is that we need a description of the function (sometimes with examples and also descriptions of the arguments and return values) which is consumed by the LLM to understand when to call it. Indeed, we can have developers adding more comments to the function so that we can extract the description from there, which however is not a good way to express this mandatory requirement. Any thoughts on this?

At runtime, actually you can get the information of a function easily. which should cover all your required information for YAML.
For example, for pandas.read_csv:

So maybe the YAML definition is not needed. Or if you really need it, you can generate it easily.
For each function, there is only one generation needed.
Although the cost of long prompt should be considered, it becomes less and less important for the token price is dropping quickly.

The signature of "Pandas.read_csv" has 22k characters, which covers all you need.

You cannot use one example to convince that all the functions are well documented. In addition, the plugins are not lib functions, they are implemented by the developers of the agent. The lib functions such as pd.read_csv can directly be used by the code interpreter.


Game that runs in editor fails to run from exported build

Godot version:
Godot3-stable-official
OS/device including version:
linux, windows, windows VM running on linux, wine
Issue description:
Game runs in editor but packaging the game up for linux or windows and then running the resulting build exits with an error that appears related to the default_bus_layout file (I have multiple audio buses).

ERROR: _load_settings_binary: Method/Function Failed, returning: ERR_FILE_CORRUPT;
At: core/project_settings.cpp:415.
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
GLES3: max ubo light: 409
GLES3: max ubo reflections: 455, ubo size: 144
ARVR: Registered interface: Native mobile
ERROR: open: res://default_bus_layout.tres:1 - Parse Error: Expected '['
At: scene/resources/scene_format_text.cpp:838.
ERROR: load: Condition ' err != OK ' is true. returned: RES()
At: core/io/resource_loader.cpp:149.
ERROR: _load: Method/Function Failed, returning: RES()
At: core/io/resource_loader.cpp:186.

Steps to reproduce:
Created a project. Added a few Audio Buses, add a few effects. Export the project (tested linux builds and window builds).
Attached my default_bus_layout.tres file (renamed to txt for github) - never manually edited, only changed using the editor Audio tab.
default_bus_layout.txt

Using the same default_bus_layout.tres in an empty project builds on linux OK (using tip)

I'm wondering if there is a file in the project directory that is being included in the .pck file that can't be parsed. Is there a way to check?

OK, so if I use "Export selected resources" the game runs, which suggests there is a rogue file that is choking the whole thing. It's not default_bus_layout.tres, even though that is what is reported on the command line.
Manually selecting the resources is a pain though -- there's hundreds of files in this game and they have to be selected individually. Sob

I have tracked the problem down to two texture jpgs. There are part of a set of four attached to a DAE. They load fine in the editor and in the gimp and were generated the same way as all the other DAE models in the game. Deleting the jpg.import files so they reimport does not fix the problem.

The error on Linux is slightly different to windows build on wine.
ERROR: _load_settings_binary: Corrupted header in binary project.binary (not ECFG)
   At: core/project_settings.cpp:415.
ERROR: open: res://default_bus_layout.tres:1 - Parse Error: Expected '['
   At: scene/resources/scene_format_text.cpp:838.
ERROR: load: Condition ' err != OK ' is true. returned: RES()
   At: core/io/resource_loader.cpp:149.
ERROR: _load: Failed loading resource: res://default_bus_layout.tres
   At: core/io/resource_loader.cpp:186.

So I copied the DAE and textures to a new project and it built and ran... So now I have no idea. Is there some way to rebuild or force a check on a large project that all imports are clean?

Is there some way to rebuild or force a check on a large project that all imports are clean?

You can delete the .import folder and then open the editor. Everything will be re-imported (it may take a while if there's many files).

I ran into a similar issue when exporting my project with multiple audio buses: #15771
You can try to load a copy of the bus layout in your script as a workaround. It allowed me to run the exported game without audio problems.

Given #15771 was closed and was most likely the same bug as this, closing this one too.


Check GDAL version at runtime

Expected behavior and actual behavior.
Since #482 Fiona can be build against three different versions of GDAL: 1.x, 2.0 and 2.2. It's possible for a user to build Fiona against 2.0, update to GDAL 2.2, then try to use Fiona. At this point bad things will happen.
Operating system
Testing on Windows raised an ImportError immediately.
Linux imports OK, but many things are broken (129 tests fail). I assume macOS will be similar.
Proposed solution
We should check the GDAL version at runtime against the build version. If there is a mismatch, raise an exception. I propose a function in each of the shim modules check_runtime_version which is called on import. Should this raise an ImportError, or some other class?

@snorfalorpagus I think ImportError would be good, as long as it's raised only at import.

I thought about doing something similar for the old gdal1/2 implementation.
If I remember correctly, the issue was, that before get_gdal_version_num() could be called the c modules need to be loaded, which failed to import on my machine due to missing libraries errors.

Which OS are you using @rbuffat?

When I played around with that idea it was an Ubuntu 16.04.  I think I compiled then fiona against the ubuntugis repo version of gdal, then reverted back to the old standard ubuntu version of gdal and it detonated (or vice versa). But it was a year ago, thus what I remember can be completely false!

@rbuffat is right. You can't import ogrext without the linker trying to load libgdal. So these kind of ImportErrors happen too early. I think this is a documentation and packaging concern.


Add ignoreN'

Tiny PR. Just adds ignoreN' to Idea.hs which was missing before now ~and I have a need of it~.

Thanks!


FormFieldExtension bug prevents chaining of methods

@colintucker, there's a bug on the setter methods in FormFieldExtension where instead of returning the owner class, it's instead returning the extension class thereby returning an error if it's chained with other methods.
The issue won't occur if the setter is the last method in the chain or an instance is created. It's a simple fix and I can create a PR once you agreed. Cheers.

Same here.
    $dateField = DateField::create('ProjectDate', 'Datum')
        ->setCalendarConfig($flatpickrCalendarConfig);

    $fields->insertAfter('Excerpt', $dateField);

throws an error:

[Emergency] Uncaught Error: Call to undefined method SilverWare\Calendar\Extensions\FormFieldExtension::getName()

Not chaining works:
    $dateField = DateField::create('ProjectDate', 'Datum');
    $dateField->setCalendarConfig($flatpickrCalendarConfig);

    $fields->insertAfter('Excerpt', $dateField)

Is there any reason that setCalendarConfig returns the extension instead of the form field?
By the way: thanks for that great module!

@wernerkrauss it's because setCalendarConfig method belongs to the Extension class. So when it returns $this it returns the Extension class instead of DateField class. It should return $this->owner instead in order to return the DateField.

@colintucker, just following up on this issue. Thanks!


doc: remove mdDoc

mdDoc now got removed on unstable.
reference: https://github.com/NuschtOS/search.nuschtos.de/pull/38#issuecomment-2522560863

To add more context: it was a noop alias for the last release cycle already and triggered a warning.


Onboard Watchlists and TI to Risk Scoring

Onboard the Watchlist and TI modules to the risk scoring module

Added in 69b677e97b8b365618af949d4d765d2ecadfad54
Deploy from test Branch


print version

It would be nice if bridge and compliance server printed their version if you run
./bridge -V

Closed by #69 and #77.

stellar_auth@blue:~/bridge-v0.0.27/bin$ ./bridge -c ../bridge.cfg  --version
Bridge Server Version: N/A
Works - but maybe some static data is missing?
Thanks


Always populate unique_id_from_tool

Created a unique_id_from_tool that is always populated and identifies a finding with a specific component, even if there is no CVE or XRAY report

@madeoninfo I like this idea as it would ultimately help with duplication for the Jfrog parser.  I am somewhat nervous of overriding something that should be coming from the tool and nowhere else.
@StefanFl @damiencarol what are your thoughts?

I don't see why the unique_id_from_tool is set in this parser. As @Maffooch said, this field should be set with a unique id that comes from the tool and you can find the finding in the tool using this id. But the parser does set this field already in many cases and this PR just adds one case.
Currently there are no settings for deduplication for this parser, so the default settings are used, which don't work very reliable. It would be good to think about a setting how to calculate the hash_code and to use the hash_code for deduplication.

I agree, the parser should not try to put fake id in unique_id_from_tool  field.
@StefanFl the deduplication conf is not set? Maybe that's the reason for this PR, @madeoninfo  ?

Closing as this is not an optimal solution


max requests / time

i'm using the getAccountById function in a php script. since i need to start the request every 1-3 seconds to have the most recent posts for a hashtag, i face problems of instagram limits the amount of max. request within a specified time limit. after a while of running requests with your script, i'm getting
"Catchable fatal error: Object of class stdClass could not be converted to string in D:\Application\xampp\htdocs\src\InstagramScraper\Instagram.php on line 316"
after this, it takes ~30seconds to 1 minute, to have a successfull request. do you a suggestion for this problem?
thanks in advance ! :)

Sounds like you have the wrong project. This is a command-line application to scrape instagram using python and does not use php. You may want to check out the following issue https://github.com/postaddictme/instagram-php-scraper/issues/69 which appears to be similiar to what you're experiencing.

i gosh, i mixed up the two projects. thank you


broken API for pageformat supplied as array, Add API to set cropBox, trimBox, bleedBox, artBox, mediaBox

Hello !
How to do it ?
I don't find any reference in documentation. Is it implemented ?
Is there is jsPDF the notion of "rectangles" zone ?

We wanted to release tomorrow a the next version and today you come with this useful feature request :-D
Right now I wonder what the best place for putting the getter and setters could be. I guess I put them as an option parameter in addPage.

It would very useful to have the possibility to add rectangles zones to an existing page without the need to "addPage" for this.
Here you can find a java sample implementation by the library org.apache.pdfbox
`  String sourceFile = "C:\Users\Maxime\Downloads\pdf.pdf";
String destinationFile = "C:\Users\Maxime\Downloads\pdf.pdf";
    PDDocument doc = PDDocument.load(new File(sourceFile));
    File destFile = new File(destinationFile);

    PDPageTree pages = doc.getPages();
    for (int i = 0; i < pages.getCount(); i++) {

        PDPage p = pages.get(i);

        p.setTrimBox(new PDRectangle(10, 300, 200, 200));
        p.setBleedBox(new PDRectangle(400, 300, 200, 200));
        p.setArtBox(new PDRectangle(200, 500, 200, 200));
        p.setCropBox(new PDRectangle(100, 200, 200, 200));
        p.setMediaBox(new PDRectangle(150, 250, 200, 200));
    }

    doc.save(destFile);
    doc.close();`

Unfortunately we have no class/object structure in jsPDF. Right now i have a very hacky solution for the issue. Have to think how to make it better...

Tbh, I dont want to write an API method for it right now,  because if I write a not so well thought API method, then people would use it and then complain, when I make a proper API Method for it. Would it be enough for now, if I just implement the data structure and tell you how to manipulate the rectangles?
If I make the next release I would try to  get some useful structures for the boxes.

Yes no problem :)

You can get the mediabox and stuff with getPageInfo and because they are objects the data is associated by reference and not by value. So you can manipulate it

I tried
                var pdf = new jsPDF({
                    orientation: 'landscape',
                    unit: 'mm',
                    format: [pdfWidth, pdfHeight]
                })

                pdf.addImage(imgData, 'JPEG', 0, 0, pdfWidth, pdfHeight, null, 'NONE');

                console.log(pdf.internal.getCurrentPageInfo());

what is in pageContext.mediaBox?

pageContext is an empty object {}. There is nothing.

Which version do you use?

1.4.1

I can test 1.5.2 ?

1.4.1 is six months old. 1.5.2 is the new release with the necessary changes..

Ok I tried and seems to have the good object info

BUT the resulted PDF file does not have anymore good dimension with the new version (1.5.2) whereas the 1.4.1 has perfect dimensions (326mm X 230mm)

You are accessing the data with the internal userunits. You have to scale it with the scalefactor, when you want to access it. The internal userunit is usually point. You can get the scalefactor by doing doc.internal.scaleFactor.
If you want to set trimBox and stuff, simply do e.g.
doc.getCurrentPageInfo().trimBox = {bottomLeftX: 0, bottormLeftY: 0, topRightX: 200, topRightY: 200}

OK for setting trimBox (And thank you !). I will test it.
But I don't understand why with the same code, the resulted pdf file is different between 1.4.1 and 1.5.2
Here the code i have to generate PDF file :
                var imgData = canvas.toDataURL("image/jpeg", 1.0);

                var pdf = new jsPDF({
                    orientation: 'landscape',
                    unit: 'mm',
                    format: [326, 230]
                })

                pdf.addImage(imgData, 'JPEG', 0, 0, 326, 230, null, 'NONE');

                pdf.save("download.pdf");

With 1.4.1 the resulted PDF has full image

With 1.5.2 the resulted PDF has rogned image

Strange
Can you supply sample code.
Seems like that width and height are not scaled
Or can you provide old pdf and new pdf?

Probably solved with #2193

Same behavior with 1.5.3.
I will create jsfiddle to show.

I created two jsfiddle to show the differents result.
The goal of the code is to generate a PDF from a canvas image.
jsPDF 1.4.1 keep the good size
unit: 'mm', format: [326, 230]
https://jsfiddle.net/maxiplay/4k2Lode5/1/
JsPDF 1.5.3 do not adapt to
unit: 'mm', format: [326, 230]
https://jsfiddle.net/maxiplay/hwz8bm6a/

Hello,
please let us know when broken format-as-array issue will be solved,
we want to use your lib on very specific formats (bespoke stationery for print) that dont'fit the standard letter-format provided
e.g.:
mm/px	mm/px
2970	2100	form-A5L
1480	2100	form-A5
2900	2000	form-NLL
1450	2000	form-NLV
2000	1450	form-NL
1530	1100	form-20
1720	1150	form-21
2300	1700	form-21L
1700	2300	form-21LV
1630	1630	form-Q
3260	1630	form-QL
860	          540	form-CC
950	          560	form-07
1300	  850	form-09
1470	  980	form-99
Also any news on usage of custom TTF fonts (besides sphilee/jsPDF-CustomFonts-support)??

@gmv76
Custom Fonts are integrated and doesnt need sphilees plugin anymore. I hope soon it will be released. You know... James is from the UK, probably some issues with Brexit right  now...


Workflow #436 & #601

Two most recent Debug Build APKs from workflows 436 & 601 were detected by Avast Mobile Security as malicious.

Hello! Lawnicons doesn’t contain any malicious code. The APKs are built directly from the code present in this repository, and you’re more than welcome to review the source files. Avast Mobile Security’s warning is a false positive.