fix(deps): update required_provider to latest for deployable modules / architectures

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
minor
1.65.1 -> 1.66.0

time (source)
required_provider
patch
>= 0.11.1, < 1.0.0 -> >= 0.11.2, < 1.0.0

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.66.0
Compare Source
Features

Support Cloud Logs

Datasources

ibm_logs_alert
ibm_logs_alerts
ibm_logs_rule_group
ibm_logs_rule_groups
ibm_logs_policy
ibm_logs_policies
ibm_logs_dashboard
ibm_logs_e2m
ibm_logs_e2ms
ibm_logs_outgoing_webhook
ibm_logs_outgoing_webhooks
ibm_logs_view_folder
ibm_logs_view_folders
ibm_logs_view
ibm_logs_views

Resources

ibm_logs_alert
ibm_logs_rule_group
ibm_logs_policy
ibm_logs_dashboard
ibm_logs_e2m
ibm_logs_outgoing_webhook
ibm_logs_view_folder
ibm_logs_view

Support Event Notification

Datasources

ibm_en_smtp_configuration
ibm_en_smtp_configurations
ibm_en_smtp_user
ibm_en_smtp_users
ibm_en_slack_template

Resources

ibm_en_smtp_configuration
ibm_en_smtp_user
ibm_en_slack_template
ibm_en_smtp_setting

Support CIS

Datasources

ibm_cis_rulesets
ibm_cis_ruleset_versions
ibm_cis_ruleset_rules_by_tag
ibm_cis_ruleset_entrypoint_versions

Resources

ibm_cis_ruleset
ibm_cis_ruleset_version_detach
ibm_cis_ruleset_rule
ibm_cis_ruleset_entrypoint_version

Support KMS

Datasources

ibm_kms_kmip_adapter
ibm_kms_kmip_adapters
ibm_kms_kmip_client_cert
ibm_kms_kmip_client_certs
ibm_kms_kmip_object
ibm_kms_kmip_objects

Resources

ibm_kms_kmip_adapter
ibm_kms_kmip_client_cert

Support IAM

Resources

ibm_iam_policy_assignment

Enhancements

Add empty validation for console languages (5336)
Lower timeout for placement-group add/delete to 10 minutes (5335)
align Projects terraform provider to latest API spec (5293)
feat(Catalog Management): support plan_id on offering instances (5337)
remove workerpool related fields from vpc cluster Read (5287)
Add Fault Attribute to Pi_Instance (5344)
Support outbound-traffic-protection (5268)
scc fix: ability to add profile_version during create (5332)
update documentation with instructions to provide public access to bucket (1268)
Docfix: name change Activity Tracker to Activity Tracker Event Routing (5312)
wait for kms apply for cluster provisioning (5383)
ContinuousTargetOccurence updates (5393)
Restrict to old multitenant (5395)
Update Usage Reports terraform code to support new error handling (5365)
regenerate code for projects (5375)
ICD: Add switchover warning for Old Multitenant (5395)
Add support for role 'NONE' (5400)

BugFixes

Fix snapshot markdown (5331)
Resource ibm_scc_rule creation issue (5327)
Enterprise: Added IAM attributes for reference in enterprise markdown (5334)
fix(security-group-rule): Wrong error message when remote value wrong (5348)
updating docs for SCC profile attachment notifications (5357)
updated the docs for vpc security group rule (5360)
description property of cis_filter and cis_firewall_rule bugged (5378)
SM imported cert bug fix (5392)
fix(tg): fixed global change issue (5366)
fix instance policies to set endpoint type when api url specifies so (5394)

hashicorp/terraform-provider-time (time)
v0.11.2
Compare Source
NOTES:

This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. (#327)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

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


Respect Run Tests Using setting

I have Intellij configured to run tests with gradle (Settings > Build, Execution, Deployment > Build Tools > Gradle > Run Tests Using).
It seems like this setting is not yet picked up by the kotest plugin. I've checked the Kotest run configurations, but it doesn't look like I can do anything with gradle there. Some of our tests can now not be run in the IDE because they rely on configuration in gradle.

I've added a reply to the other ticket.

@sksamuel The static properties support doesn't help us, because our gradle build sets up dynamic properties around test tasks (e.g. kubernetes endpoints for integration tests). IntelliJ is set to run tests via gradle and running a test class does a gradle test --tests=..., which is fine. But running a single test or container fails: A gradle build is triggered, but the plugin then runs a separate java command which of course loses the environment variables we set up.
Is there a way to dynamically inject the properties, or make the plugin use gradle for running in that case as well?

I guess in theory we could make the forked process propagate properties too.
Using gradle for a single test won't work properly until a later version as gradle doesn't support nested tests properly.

I guess in theory we could make the forked process propagate properties too.

That would be really helpful. Right now we are using environment variables -- they are easier to manage when the apps are containerized and running in Kubernetes, for example. But we could switch to system properties or make our code use either.
I had another idea: Where does kotest look for properties? I could make gradle's test task render one on each run, then the forked java process would hopefully be able to pick them up.

Using gradle for a single test won't work properly until a later version as gradle doesn't support nested tests properly.

Do we need special gradle support here? The plugin could run something like gradle test --tests=MyTestClass -Dsome.kotest.specific="some test name", I assume?

The inability to set jvmArgs makes it currently impossible to run BlockHound-enabled tests on JDK versions >= 13 via the plugin. BlockHound#33 requires the following workaround:
tasks.withType<Test>().configureEach {
    // WORKAROUND: https://github.com/reactor/BlockHound/issues/33 required for JDK >=13
    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_13)) {
        jvmArgs = listOf("-XX:+AllowRedefinitionToAddDeleteMethods")
    }
}

We would also be very interested in a fix for this. We currently have to resort to prepending f: to tests and running the whole suite, but this is much less convenient than being able to just run the test case directly. Developers who are new to the code base also frequently trips over this behavior when trying to run individual tests and the expected environment configured by Gradle is missing.

@ulrikrasmussen Just a hint that does not solve the original problem, but may help in your use case:
You could use test filtering in the build script instead of prepending "f:" to individual tests:
tasks.withType<Test>().configureEach {
    filter {
        listOf<String>(
            // "serialization.CommonSerializationTests*",
            "serialization.JvmSerializationTests*",
        ).forEach {
            includeTestsMatching("$it")
        }
    }
}

Might be easier with groups of tests and/or running tests across multiple subprojects.

Has there been any update on this? As it stands, it's impossible to run any individual tests that use the withEnvironment extension on JDK 17, as the Kotest plugin's test runner ignores the jvmArgs("--add-opens=java.base/java.util=ALL-UNNAMED") declaration in the Gradle build file.

6.0 will  come out end of the year and fix this by running all tests via gradle


Fixes a bug in compilation.

Fixes #378

Does this also happen with --disable-slow-fsms?

Does this also happen with --disable-slow-fsms?

Pretty sure this was just a simple guard synthesis issue, the tests pass now so I'm auto-merging as its a tiny change.

Sounds good!


[CVE-2024-4067] Vulnerability detected in micromatch.braces()

Once the micromatch dependency gets updated, we need to patch it here as well:
https://github.com/micromatch/micromatch/issues/259

note, there are many other deprecated/outdated packages:
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated<EMAIL_ADDRESS>Please use String.prototype.padEnd() over this package.
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm warn deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated<EMAIL_ADDRESS>You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm warn deprecated<EMAIL_ADDRESS>16.1.1
npm warn deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

Could we get a release with this fix in it please?

@juliuscc, any update on the CI issue that broke the release of the package into NPM?

@juliuscc, any update on the CI issue that broke the release of the package into NPM?


Ubuntu 15.04 : Compile errors from Swig

On Behald of Alex :
While trying to build the Voxel-SDK library -
In Ubuntu 15.04 (SWIG 2.0.5 and g++ 4.9.2 I am getting compile errors from both SWIG (when it encounters a construct llike this:
Foo<bar>
it can be fixed by adding a space:
Foo<bar >)
and from g++ (being unable to generate a default constructor)

I had the same issue compiling Voxel SDK 0.6.0.  I found the issue to be related to the fact that I had both python 2.7 and python 3.4 installed on my system.  To fix it, run 'cmake-gui ..' from the build directory and change all python reference to python 2.7.

One permanent fix to handle this situation is to change
FIND_PACKAGE(PythonLibs)
to
FIND_PACKAGE(PythonLibs 2.7 EXACT REQUIRED)
in Voxel/SWIG/CMakeLists.txt
However, you'll have to start the build fresh with a blank build directory. Or else, it will pick cached variables and try to use to 3.x version again. This applies to 16.04 and possibly newer versions of Ubuntu too.


Cannot debug after updating vscode to 1.58.2

Issue Type: Bug
I'm currently using remote development on an Aarch64 device and i can't run the debugger. I'm getting this stack trace:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/main.py", line 45, in
cli.main()
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main
run()
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 267, in run_file
start_debugging(target)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 257, in start_debugging
debugpy.connect(options.address, access_token=options.adapter_access_token)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/common/compat.py", line 208, in kwonly_f
return f(*args, **kwargs)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/init.py", line 135, in connect
return api.connect(address, access_token=access_token)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 143, in debug
log.reraise_exception("{0}() failed:", func.name, level="info")
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 141, in debug
return func(address, settrace_kwargs, **kwargs)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 276, in connect
_settrace(host=host, port=port, client_access_token=access_token, **settrace_kwargs)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 47, in _settrace
return pydevd.settrace(*args, **kwargs)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 2712, in settrace
notify_stdin=notify_stdin,
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 2819, in _locked_settrace
py_db.enable_tracing(py_db.trace_dispatch, apply_to_all_threads=True)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 1039, in enable_tracing
pydevd_tracing.SetTrace(thread_trace_func)
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py", line 83, in SetTrace
if set_trace_to_threads(tracing_func, thread_idents=[thread.get_ident()], create_dummy_thread=False) == 0:
File "/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py", line 349, in set_trace_to_threads
result = lib.AttachDebuggerTracing(
File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python3: undefined symbol: AttachDebuggerTracing
Extension version: 2021.7.1053846006
VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:10:15.214Z)
OS version: Windows_NT x64 10.0.18363
Restricted Mode: No
Remote OS version: Linux arm64 4.9.201-tegra
Remote OS version: Linux arm64 4.9.201-tegra

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.82GB (4.04GB free)

Process Argv
--crash-reporter-id cb67baa5-406b-4b6f-9918-c1b25456c042

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: Jetson5

OS
Linux arm64 4.9.201-tegra

CPUs
unknown (4 x 1907)

Memory (System)
7.59GB (3.41GB free)

VM
0%

Item
Value

Remote
SSH: Xavier

OS
Linux arm64 4.9.201-tegra

CPUs
unknown (6 x 1420)

Memory (System)
7.59GB (3.66GB free)

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspyt653:30270858
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
pythonvssor306cf:30341832
bridge0708:30335490

I have the same issue.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/__main__.py", line 45, in <module>
    cli.main()
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main
    run()
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 267, in run_file
    start_debugging(target)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 257, in start_debugging
    debugpy.connect(options.address, access_token=options.adapter_access_token)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/common/compat.py", line 208, in kwonly_f
    return f(*args, **kwargs)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/__init__.py", line 135, in connect
    return api.connect(address, access_token=access_token)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 143, in debug
    log.reraise_exception("{0}() failed:", func.__name__, level="info")
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 141, in debug
    return func(address, settrace_kwargs, **kwargs)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 276, in connect
    _settrace(host=host, port=port, client_access_token=access_token, **settrace_kwargs)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/../debugpy/server/api.py", line 47, in _settrace
    return pydevd.settrace(*args, **kwargs)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 2696, in settrace
    _locked_settrace(
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 2819, in _locked_settrace
    py_db.enable_tracing(py_db.trace_dispatch, apply_to_all_threads=True)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 1039, in enable_tracing
    pydevd_tracing.SetTrace(thread_trace_func)
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py", line 83, in SetTrace
    if set_trace_to_threads(tracing_func, thread_idents=[thread.get_ident()], create_dummy_thread=False) == 0:
  File "/home/nicco/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py", line 349, in set_trace_to_threads
    result = lib.AttachDebuggerTracing(
  File "/usr/local/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/bin/python: undefined symbol: AttachDebuggerTracing

Experiencing the same issue - I rolled back the ms-python extension to v2021.1.502429796 and it works again.
I don't think you need to go as far back as I have, I just chose a random one a few months ago and it worked, so haven't looked back yet.

v2021.6 works fine. The issue started showing up with v2021.7.

Same issue with remote-ssh debugging on 2021.7.1053....
Roll back to 2021.7.1050 fixes this.

This is same as https://github.com/microsoft/debugpy/issues/669. The fix is in debugpy main, we will push a release out as soon as possible.
If anyone here can verify it would be helpful. Here is how you can replace the debugger that is shipped with the extension:

Navigate to this location:

Windows: %USERPROFILE%\.vscode\extensions\ms-python.python-2021.7.1053846006\pythonFiles\lib\python
Linux/Mac: ~/.vscode/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python

Delete the folder by the name debugpy.
Run the following command to install from git main:
Windows:

python -m pip install -t %USERPROFILE%\.vscode\extensions\ms-python.python-2021.7.1053846006\pythonFiles\lib\python git+https://github.com/microsoft/debugpy.git

Linux:
python -m pip install -t ~/.vscode/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python git+https://github.com/microsoft/debugpy.git

To Restore to debugpy 1.3.0:

Delete debugpy from the location above.
Install using the command below:

Windows:
python -m pip install -t %USERPROFILE%\.vscode\extensions\ms-python.python-2021.7.1053846006\pythonFiles\lib\python debugpy=1.3.0

Linux:
python -m pip install -t ~/.vscode/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python debugpy=1.3.0

You can also try this workaround: https://github.com/microsoft/debugpy/issues/669#issuecomment-884811956


Updates azdataGraph package version.

This PR bumps the azdataGraph package version.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 48.282%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14766

Relevant Lines:
29039

💛  - Coveralls


Compiler Crash

I have been receiving a compiler crash after adding json serialization to my schema objects in this branch:  https://github.com/vijayee/protocolbuffers/tree/wontcompile I'm receiving an output of ```Building ponytest -> /usr/lib/pony/0.33.0/packages/ponytest
Building time -> /usr/lib/pony/0.33.0/packages/time
Building collections -> /usr/lib/pony/0.33.0/packages/collections
Building random -> /usr/lib/pony/0.33.0/packages/random
Building json -> /usr/lib/pony/0.33.0/packages/json
Building format -> /usr/lib/pony/0.33.0/packages/format
Building logger -> /usr/lib/pony/0.33.0/packages/logger
Building promises -> /usr/lib/pony/0.33.0/packages/promises
Building files -> /usr/lib/pony/0.33.0/packages/files
Building buffered -> /usr/lib/pony/0.33.0/packages/buffered
Building term -> /usr/lib/pony/0.33.0/packages/term
Building strings -> /usr/lib/pony/0.33.0/packages/strings
Building signals -> /usr/lib/pony/0.33.0/packages/signals
Building capsicum -> /usr/lib/pony/0.33.0/packages/capsicum
src/libponyc/type/viewpoint.c:126: viewpoint_type: Assertion 0` failed.
Backtrace:
ponyc(ponyint_assert_fail+0x9d) [0x55c494f8c03d]
ponyc(viewpoint_type+0x1cf) [0x55c494f404ff]
ponyc(+0x5f3934) [0x55c494f3d934]
ponyc(+0x5f3856) [0x55c494f3d856]
ponyc(+0x5f3856) [0x55c494f3d856]
ponyc(reify+0xa1) [0x55c494f3df01]
ponyc(deferred_reify_method_def+0xae) [0x55c494f3e3ae]
ponyc(+0x5df35e) [0x55c494f2935e]
ponyc(pass_expr+0xd3) [0x55c494f11b53]
ponyc(ast_visit+0x148) [0x55c494f10348]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(ast_visit+0xf0) [0x55c494f102f0]
ponyc(+0x5c65be) [0x55c494f105be]
ponyc(+0x5c6aed) [0x55c494f10aed]
ponyc(ast_passes_program+0x19) [0x55c494f10bf9]
ponyc(program_load+0x76) [0x55c494ee6366]
ponyc(+0x59a1a9) [0x55c494ee41a9]
ponyc(main+0x117) [0x55c494e8be47]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fde27e961e3]
ponyc(_start+0x2a) [0x55c494ee40aa]
This is an optimised version of ponyc: the backtrace may be imprecise or incorrect.
Use a debug version to get more meaningful information.
Aborted (core dumped)

After more investigation this appears to be the offending code https://github.com/vijayee/protocolbuffers/blob/wontcompile/protocolbuffers/schema.pony#L91

Minimal reproduction example:
type Foo is (Bar | F64)

class Bar
  fun box values(): ArrayValues[Foo, this->Foo ref] ref^ =>
    [].values()

actor Main
  new create(env: Env) =>
    for value' in Bar.values() do None end

SO, the actual problem with this example is, that arrow types do not allow union types on their left side. The example above does not contain such an arrow type, but ArrayValues does, given the type params above will try to create the type: (this->Foo ref)->Foo in https://stdlib.ponylang.org/src/builtin/array/#L937 with Foo being a union type.
The best and easiest fix for now would be to explicitly catch left side constructs that are not allowed and properly report them instead of asserting. PR coming in soon.
Another thing might be to think about if a union on the left side of an arrow type makes sense. We could make sense of it by taking the least common supertype and have the arrow type be the right hand side as seen through this supertype, if it is constructable. Thoughts?

Also the example above wouldn't compile anyways as the return type ArrayValues[Foo, this->Foo ref] ref^ does not match the method body type and it has wrong type args.

Another even more minimal example:
class X[T, U]
  fun next(a: T->U): None => None

actor Main
  new create(env: Env) =>
    X[(String | U8), String].next("")

@mfelsche do you think the fix for this should trigger a release or can it wait until the next scheduled release (that is likely to end up being mid-December)?

Imho this doesnt need to trigger a release.


[CH] Function lag result diff from valina spark

Backend
CH (ClickHouse)
Bug description
test table schema (id bigint, d string), with test data<PHONE_NUMBER>83, '2024-05'), do the query select d, lag(d,1,d) over (partition by id order by d) from test_tbl3
gluten result
| 2024-05  | NULL
and valina  result
2024-05  2024-05
Spark version
Spark-3.3.x
Spark configurations
No response
System information
No response
Relevant logs
No response

Let it fallback at first.


Closed form page UI is broken

Description
The UI appears to be broken on the closed form page
Steps to reproduce

Navigate to form ID clrz94gmi0001yw08zkxzynx0

Expected behaviour

Screenshots or videos

Fixed by https://github.com/cds-snc/platform-forms-client/pull/3209


⚠ haccp has degraded performance

In 896dfb3, haccp (https://www.haccp.or.kr) experienced degraded performance:

HTTP code: 400
Response time: 5060 ms

Resolved: haccp performance has improved in 3ecf935 after 14 minutes.


Add friendlier headless APIs from runtime

Currently the runtime only exports headlessRunCommand which makes it difficult to use the existing runtimes. It would be handy if it also exported helper methods that used the "official" Runno runtimes.

Runno now exports headlessRunCode and headlessRunFS since v0.4.0 which should be flexible enough for most uses.


Jstree.com  broken

Hello,
I dont know if this is the good place for this, so sorry if it is not.
Your website https://www.jstree.com is broke and we cannot navigate on it ( i tried to view the event list for example but i got a empty page).
I tried also with old version of site but i don't figure out where to find event list.
best regards

Thank you for letting me know - there was an issue with the server config - the hosting provider made some changes without letting me know early this morning.
It should be up and running now.
Best regards,
Ivan


chore: enable pylint argument-differ for bulk_delete

SUMMARY
The bulk_delete method signature is matching -> enabling pylint rule argument-differ.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11039 into master will increase coverage by 1.43%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #11039      +/-   ##
==========================================
+ Coverage   59.95%   61.39%   +1.43%
==========================================
  Files         782      383     -399
  Lines       37252    24174   -13078
  Branches     3350        0    -3350
==========================================
- Hits        22335    14841    -7494
+ Misses      14738     9333    -5405
+ Partials      179        0     -179

Flag
Coverage Δ

#cypress
?

#python
61.39% <100.00%> (ø)

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

Impacted Files
Coverage Δ

superset/queries/saved_queries/api.py
96.15% <100.00%> (ø)

superset-frontend/src/dashboard/index.jsx

...rc/explore/components/controls/ViewportControl.jsx

...ntend/src/dashboard/components/PublishedStatus.jsx

...set-frontend/src/SqlLab/components/QuerySearch.jsx

...tend/src/explore/components/DisplayQueryButton.jsx

...rontend/src/SqlLab/components/AceEditorWrapper.tsx

superset-frontend/src/components/AsyncSelect.jsx

...rontend/src/dashboard/util/shouldWrapChildInRow.js

...set-frontend/src/components/URLShortLinkButton.jsx

... and 390 more

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 6181994...6e34d01. Read the comment docs.


produce RPMs

we should produce RPMs for installing on systems

See https://git.rockylinux.org/sig/core/rpms/srpmproc/-/tree/r9 for example spec.


[Idea] Use something better than memfs

MemFS implementation uses std::vector which is quite memory-intensive:
https://github.com/emscripten-core/emscripten/blob/799a1cb35b3c6065ba8b2e519e589944c0057f6d/system/lib/wasmfs/backends/memory_backend.cpp#L16-L27
A better way to load model into llama.cpp is to pass the buffer directly from JS to llama.cpp. This likely requires modifying code inside llama.cpp and ggml

Another idea would be patching mmap function, so that it no longer copy the memory:
https://github.com/emscripten-core/emscripten/blob/2bc5e3156f07e603bc4f3580cf84c038ea99b2df/src/library_memfs.js#L325-L355

Seems like heapfs is the best that we can do.
Another idea (more native implementation) is to mmap directly to file-on-disk, but clearly this is not supported by browser (clearly, this is risk for security)


[BUG]: Cannot add searched for model to project

Describe the bug
Adding a searched for model to a project causes a currentProjectAsset is null error
To Reproduce
Steps to reproduce the behavior:

Create a new project
Go to Explorer
Search for a model (for instance "SIR Model")
Choose a model and click the plus button
Select the newly created project and bam error time

Expected behavior
The model is added to the project
Screenshots

Additional context
Add any other context about the problem here.

We will retest once the DB wipe and reingest is complete


gitAndTools.git-extras: 4.7.0 -> 5.0.0

Motivation for this change
Update to latest version
Things done

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

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

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

changelog: https://github.com/tj/git-extras/releases/tag/5.0.0

https://github.com/tj/git-extras/blob/5.0.0/Installation.md doesn't list which as buildInput. they may need to fix it.

changelog: https://github.com/tj/git-extras/releases/tag/5.0.0

I don't get what you want to say with this comment. Should something be added to this PR?

when reviewing, it helps knowing what changed to know where the potential problems are (espcially when there is a big version jump), putting it helps the reviewers. I think it's a good idea to put it in the commit message as well. I do look at git log and I am sure others do as well.

I rewrote the commit message.

@GrahamcOfBorg build gitAndTools.git-extras

there seems to be some issues

fixed :-)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/79


Gcp instance actions (stop, delete)

yeah, was going to add concurrency to it once we get it wired through a bit more, but the gcp rest interface is fairly normalized which makes this a lot easier to wire in, should definitely speed up getting action parity.


One File

Please have another option of portable Powercat: combine PowerCat into one single file for easier transferring to remote systems.
Thank you.

This might happen in the future, for integration with another tool, but for now this is really what the New-PowerCatPayload function does... intentionally.

thank you.


Provision for Custom Features?

Hello, I see that you allow for adding POS and capitalization as features. I was wondering if this could be augmented with other features? For instance I plan on using wordshape (eg 123&* -> ddd*& ; heE-123 -> xxX-ddd) as an additional feature. Is there a way to do this with NCRF++?
Thanks

Yes, you can custom any features you want.


Osr vs Brouter

Hi, after reading the readme, I'm wondering how this project compares to brouter. Brouter is specialised on bike profiles, but the principles look similar. Sorry if it's not, I'm just a re-user of routers, I haven't delved into their internals :)

I think the main difference is the scope. Brouter doesn't seem to target walking, wheelchair, multi-level indoor routing, and car routing. Besides that, OSR uses only a fraction of the RAM other routers use. OSR also can combine profiles like driving to a parking place and walking to the train platform in one go while optimizing not just the path but also the parking place choice (what the parking module did previously in MOTIS). Or what we're currently working on: walking to a e-scooter/shared bike, driving with it (respecting no-go zones), parking it (again respecting no-go zones) and then walking to the bus stop or train platform. We're planning to add support for an elevation profile, live traffic, speed it up with A* or bidirectional A*, etc. etc. - it has a lot of potential!


cli: support additional options for files

Some tools require that files have particular extensions in order to work properly (e.g. tf -var-file=[path] behaves differently if its argument's extension is .json). We could support situations like this by e.g. allowing the entry in files to be a dict that takes additional options:
values:
  tfConfig:
    foo: bar
  files:
    TFVARS:
      pattern: tfvars-*.json
      content: { fn::toJSON: "${tfConfig}" }

We could also allow users to set permissions, etc.

would be nice to be able to specify a location for the file to land. Maybe it was implied, but wanted to call it out as another desired functionality


Do not register cross namespace actions with subresources in path

Fixes #/apis/56/operations/2/method: Operation method already defined: POST errors from https://github.com/GoogleCloudPlatform/kubernetes/issues/9964

cc @bgrant0607 @smarterclayton

@bgrant0607 PTAL, thanks!

Ok, LGTM for now.

@deads2k when we rebase we may need to apply the changes I mentioned upthread in order to keep ResourceAccessReview working.

On Jun 18, 2015, at 6:33 PM, Satnam Singh<EMAIL_ADDRESS>wrote:
Merged #9991.
—
Reply to this email directly or view it on GitHub.


wrong path detection in /media/api Controller with COCKPIT_ENV_ROOT

affected:

/settings/edit --> can't open config file
Finder --> can't navigate above COCKPIT_ENV_ROOT (as admin, didn't test with non-admin user)

Steps to reproduce:

copy existing config and storage folder into /tests/cpdata
define('COCKPIT_ENV_ROOT', str_replace(DIRECTORY_SEPARATOR, '/', __DIR__) . '/tests/cpdata'); in defines.php
login and open settings

Finder --> can't navigate above COCKPIT_ENV_ROOT (as admin, didn't test with non-admin user)

this is the correct behaviour. every env root should be seperated from other envs. need to check the settings issue

need to check the settings issue

It seems to be a Windows or a subfolder problem... It works on a CentOS7 host (tested right now).
My local dev setup is in localhost/subfolder with Xampp for Windows... When Microsoft drops the support for Windows 7 in 2 months, I will switch to a *nix system and I won't have these problems anymore :wink:


Mobile View feature request

Problem
Mobile view needs to be improved.
Needed solution
When user clicks a certain block, after the block page opens, the other blocks should disappear and go into hamburger button, and upon request, they should shown back, upon clicking on hamburger button.

@mohittk When the user click on any one of these cards, the others disappear, which can be visible on clicking a hamburger button, where should the hamburger button be placed exactly? I'll try my best to get this feature tho.


pip install will install version 0.1 instead of 0.2

Hi,
Running pip install will install version 0.1 from here https://pypi.python.org/pypi/forestci. The version on github and the documentation reflects changes in forestci 0.2. I suggest updating the versioning on pip or suggesting that users install the latest development version using:
pip install git+git://github.com/scikit-learn-contrib/forest-confidence-interval.git

Closed through #52


face recognis

[Enter feedback here]

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

ID: a1ed5f85-d750-c7a9-c976-6bce2e439346
Version Independent ID: d0176b47-447e-c04f-f4fe-8ca6e1b5eee8
Content: Quickstart: Face client library for .NET - Azure Cognitive Services
Content Source: articles/cognitive-services/Face/QuickStarts/csharp-sdk.md
Service: cognitive-services
Sub-service: face-api
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@comconn can you please add more details about the question.

@comconn We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


How to deploy PotreeConverter in the cloud / serverless?

Is there any experience with deploying PotreeConverter as a cloud (serverless) function?
The problem we're running into is that the memory footprint for point cloud conversion can be very high, sometimes many gigabytes. However most serverless providers (Google, Azure, AWS Lambda) have pretty tight memory limits of 2GB to 4GB maximum.
What are ways to solve this? We'd like to avoid the overhead of engineering the scaling / instance provisioning etc. ourselves.

Hi rafaelspring,
I don't know how to do this.
But I think Atis.cloud have managed to do this.
Since we discovered this solution, we have stopped developing an internal service.
Because as our boss told us, the cost is so low that it's a better deal than having in-house developers.
You can also have it white label to rebrand it with your company.

Not gonna lie, I'm kinda surprised they're not a massive donor to potree, all things considered. If they have 300 clients subscribed, and the minimum for their advanced (not custom) level is about €100 each month, that's over a quarter million euros a year. 10K seems kind of trivial at that point. But maybe the funding page is outdated. 😕

Hi rafaelspring , I am working on it on my side, if I manage to do it,
I'll let you know.
Dockerized was an easy one but lambda I'm not quite sure it is a good  idea

@jbijoux Thanks! Where's the best place to deploy this as a Docker container?

Hi rafaelspring , I am working on it on my side, if I manage to do it,
I'll let you know.
Dockerized was an easy one but lambda I'm not quite sure it is a good idea, but i keep on !

@jbijoux
Hey Julien!
We tried to dockerize the Potree Converter but faced some difficulties.
Could you please share how you've done it? That would be truly helpful!
Thanks in advance!


newPivot function is not called when using Polymorphic Relations

Hi, I'm using polymorphic relationships in my project. I wanted to create my own model representing Pivot. However, when referring to the polymorphic relationship, newPivot function is not being caled. Sample code:
public function notifications()
{
    return $this->morphToMany('Notification', 'notifiable')
        ->withPivot('notice_time', 'user_seen')->withTimestamps();
}
public function newPivot(Model $parent, array $attributes, $table, $exists)
{
    //This function is not being called.
    return new Notifiable($parent, $attributes, $table, $exists);
}

Is there any way that referring to the object->pivot->function() will work?

I had the same problem, but may have found a solution.
The problem is that polymorphic relationships don't use a standard Pivot model (created via the newPivot function), but instead they use a MorphPivot model.
So I added the "newMorphPivot" function to Eloquent\Model and changed one line in Relations\MorphToMany to make it work.
Preparing a pull request as we speak.


feat: inverse verifiable credential dependency

Signed-off-by: Aleksei Belezeko<EMAIL_ADDRESS>Summary:
To customize issue credential service and use issued credential we have to provide access for verifiable credential store.

Build fails with error:
Checking committed files for traditional Apache License headers ...
The following files are missing traditional Apache 2.0 headers:
pkg/doc/verifiable/testdata/context/trustbloc_example.jsonld
pkg/doc/verifiable/testdata/context/vc_example.jsonld
Fatal Error - All files must have a license header
##[error]Makefile:39: recipe for target 'license' failed
make: *** [license] Error 1
##[error]Process completed with exit code 2.

But I don't have such files in my PR and in project locally. Any ideas? @soluchok @llorllale

@AlexeyBelezeko try rebasing on master


Docker-gpu image is based on python3.5

Hi,
could you provide a docker gpu image compatible with python 3.6 ? The current image is on python 3.5 and is not compatible with f strings for example.
Also could you provide the command line to directly build a singularity image ?
Thank you

Hi,
It does not run as is, there is some issue with tensorflow-probability it seems

@PBarde: as per https://hub.docker.com/r/tensorflow/tensorflow/
instead of running
docker build --build-arg DOCKER_BASE=tensorflow/tensorflow:1.12.0-gpu-py3 --build-arg DEVICE=gpu . -t gfootball
if you run
docker build --build-arg DOCKER_BASE=tensorflow/tensorflow:1.14.0-gpu-py3 --build-arg DEVICE=gpu . -t gfootball
(the only diff is 1.12 -> 1.14), you'll get an image with python 3.6.


[Bug]: SimpleVectorStore doesn't fit with Ingestion Pipeline

Bug Description
Similarly to https://github.com/run-llama/llama_index/issues/11397 (fixed with https://github.com/run-llama/llama_index/pull/11432/files), also SimpleVectorStore does not implement the BasePydanticVectorStore and when used as a vector_store within an IngestionPipeline it results in an error:
pydantic.v1.error_wrappers.ValidationError: 1 validation error for IngestionPipeline
vector_store
  value is not a valid dict (type=type_error.dict)

Version
0.10.15
Steps to Reproduce
        vector_store = SimpleVectorStore()
        pipeline = IngestionPipeline(
            transformations=[
                embed_llm,
            ],
            vector_store=vector_store,
        )
        pipeline.run(documents=documents, show_progress=True, num_workers=4)

Relevant Logs/Tracbacks
pydantic.v1.error_wrappers.ValidationError: 1 validation error for IngestionPipeline
vector_store
  value is not a valid dict (type=type_error.dict)

@ret2libc SimpleVectorStore does not store text, and so cannot actually be used with the ingestion pipeline in this way. Since it doesn't store text, it requires a complete docstore and index store to function. This is not something that will be changed anytime soon.
You can run the pipeline and then build your index with the resulting nodes
nodes = pipeline.run(documents=documents)

index = VectorStoreIndex(nodes=nodes)


Feature/issue 16

Description

Which issue # does this fix? And was it approved before you worked on it?

Checklist:

[x] Fixes issue: #16
[x] I waited for approval before creating this PR

Note: if the PR is for a typo, please close it and raise an issue instead.
How Has This Been Tested?

First, I edited config/rbac/role.yaml and config/rbac/leader_election_role.yaml files and also manifest.yaml with the given permissions in this issue #16 and then deployed the application to see if it is working properly
$ kind create cluster
$ TAG=a3b31a2e9510f56c4ef5b538225facf16a7f9362
$ make docker-build
$ kind load docker-image ghcr.io/alexellis/registry-creds:a3b31a2e9510f56c4ef5b538225facf16a7f9362
$ kubectl apply -f manifest.yaml
$
$ cat << EOF | kubectl apply -f -
apiVersion: ops.alexellis.io/v1
kind: ClusterPullSecret
metadata:
  name: docker-registry
spec:
  secretRef:
    name: registry-creds-secret
    namespace: kube-system
EOF
$ kubectl get serviceaccounts default -ojsonpath='{.imagePullSecrets}'
$ kubectl create serviceaccount default2
$  kubectl get serviceaccounts default2 -ojsonpath='{.imagePullSecrets}'
$ kubectl create namespace test
$ kubectl get serviceaccounts default --namespace test -ojsonpath='{.imagePullSecrets}'

How are existing users impacted? What migration steps/scripts do we need?
Actually, users will not impact by that change. It will make the application less permissive.
Checklist:
I have:

[x] updated the documentation and/or roadmap (if required)
[x] read the CONTRIBUTION guide
[x] signed-off my commits with git commit -s
[ ] added unit tests

LGTM @developer-guy
Please can you rebase due to recent changes in the README.md file?


Addition of OrbisDB blockchain listener guide

What changed? Why?
This PR includes a new tutorial showcasing how Base developers can leverage an OrbisDB plugin to listen to and index blockchain events for any smart contract using OrbisDB (a database product on the Ceramic Network).

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/2

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2

@mzkrasner
Thanks for this PR! Adding this to our backlog for review. 👍


Searchguard in production TLS - Unable to use sgadmin

Hi
I put searchguard in production and I try to set up the certificates of my provider
It's imposible to use sgadmin.sh with real certificate
I do not know if the error come of "No user found for cluster:monitor/nodes/info" or "ERR: Seems you use a node certificate which is also an admin certificate"
Btw I do not understand the error because I use two certificate
Cluster 3 nodes
JVM open jdk 1.8
search-guard-6:6.4.0-23.0
elasticsearch-6.4.0-1
[root@esnode3 node1]#  ES_PATH_CONF=/etc/elasticsearch/node1/ /usr/share/elasticsearch/plugins/search-guard-6/tools/sgadmin.sh -cd /etc/elasticsearch/node1/sgconfig/ -icl -key /etc/elasticsearch/node1/certificats/esnode_domain_fr.key -cert /etc/elasticsearch/node1/certificats/esnode_domain_fr.crt  -cacert /etc/elasticsearch/node1/certificats/DigiCertCA.crt  -nhnv -icl --accept-red-cluster
WARNING: JAVA_HOME not set, will use /bin/java
*Search Guard Admin v6
Will connect to localhost:9300 ... done
Unable to check whether cluster is sane: No user found for cluster:monitor/nodes/info
Connected as CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
ERR: Seems you use a node certificate which is also an admin certificate
     That may have worked with older Search Guard versions but it indicates
     a configuration error and is therefore forbidden now.
     Pls refer to http://docs.search-guard.com/latest/tls-in-production
Contacting elasticsearch cluster 'elasticsearch' ...
Cannot retrieve cluster state due to: No user found for cluster:monitor/health. This is not an error, will keep on trying ...
  Root cause: ElasticsearchSecurityException[No user found for cluster:monitor/health] (org.elasticsearch.ElasticsearchSecurityException/org.elasticsearch.ElasticsearchSecurityException)
   * Try running sgadmin.sh with -icl (but no -cl) and -nhnv (If that works you need to check your clustername as well as hostnames in your TLS certificates)
   * Make sure that your keystore or PEM certificate is a client certificate (not a node certificate) and configured properly in elasticsearch.yml
   * If this is not working, try running sgadmin.sh with --diagnose and see diagnose trace log file)
   * Add --accept-red-cluster to allow sgadmin to operate on a red cluster.

elasticsearch.yml
searchguard.authcz.admin_dn:
  - CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode1.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode2.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode3.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
searchguard.nodes_dn:
  - CN=*.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
searchguard.restapi.roles_enabled:
  - sg_all_access
searchguard.ssl.http.enabled: true
searchguard.ssl.http.pemcert_filepath: certificats/star_domain_fr.crt
searchguard.ssl.http.pemkey_filepath: certificats/star_domain_fr.key
searchguard.ssl.http.pemtrustedcas_filepath: certificats/DigiCertCA.crt
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.pemcert_filepath: certificats/star_domain_fr.crt
searchguard.ssl.transport.pemkey_filepath: certificats/star_domain_fr.key
searchguard.ssl.transport.pemtrustedcas_filepath: certificats/DigiCertCA.crt
searchguard.enterprise_modules_enabled: false
searchguard.ssl.http.clientauth_mode: OPTIONAL
searchguard.audit.type: debug

elasticsearch.log
2018-09-05T15:04:06,052][INFO ][c.f.s.h.SearchGuardHttpServerTransport] [esnode3-node1] publish_address {xx.xx.xx.83:9200}, bound_addresses {[::]:9200}
[2018-09-05T15:04:06,052][INFO ][o.e.n.Node               ] [esnode3-node1] started
[2018-09-05T15:04:06,072][INFO ][o.e.c.s.ClusterApplierService] [esnode3-node1] added {{esnode2-node1}{OfLCVEmoRhe4Q5MB4H-XRg}{MWB4anxNRh21hsTuG7pNEg}{xx.xx.xx.82}{xx.xx.xx.82:9300}{xpack.installed=true},}, reason: apply cluster state (from master [master {esnode1-node1}{4N41hudyQT2jKXO6b180EQ}{4lFgGBe6S9mqXdLbySaNiA}{xx.xx.xx.81}{xx.xx.xx.81:9300}{xpack.installed=true} committed version [2]])
[2018-09-05T15:04:06,336][INFO ][o.e.c.s.ClusterSettings  ] [esnode3-node1] updating [xpack.monitoring.collection.enabled] from [false] to [true]
[2018-09-05T15:04:06,541][INFO ][o.e.l.LicenseService     ] [esnode3-node1] license [24485756-ebf5-4426-a6bc-7d7cdf80d3f5] mode [basic] - valid
[2018-09-05T15:04:07,380][INFO ][c.f.s.c.IndexBaseConfigurationRepository] Search Guard License Info: No license needed because enterprise modules are not enabled
[2018-09-05T15:04:07,381][INFO ][c.f.s.c.IndexBaseConfigurationRepository] Node 'esnode3-node1' initialized
[2018-09-05T15:04:56,022][ERROR][c.f.s.f.SearchGuardFilter] No user found for cluster:monitor/nodes/info from <IP_ADDRESS>:39306 TRANSPORT via netty {_sg_initial_action_class_header=NodesInfoRequest}
[2018-09-05T15:04:56,080][ERROR][c.f.s.f.SearchGuardFilter] No user found for cluster:monitor/health from <IP_ADDRESS>:39310 TRANSPORT via netty {_sg_initial_action_class_header=ClusterHealthRequest}

I not understand also  than  "is_node_certificate_request" is true
[root@esnode3 node1]#  ES_PATH_CONF=/etc/elasticsearch/node1/ /usr/share/elasticsearch/plugins/search-guard-6/tools/sgadmin.sh -cd /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/ -icl -key /etc/elasticsearch/node1/certificats/esnode_domain_fr.key -cert /etc/elasticsearch/node1/certificats/esnode_domain_fr.crt  -cacert /etc/elasticsearch/node1/certificats/DigiCertCA.crt  -nhnv -icl --accept-red-cluster --whoami
WARNING: JAVA_HOME not set, will use /bin/java
Search Guard Admin v6
Will connect to localhost:9300 ... done
Unable to check whether cluster is sane: No user found for cluster:monitor/nodes/info
Connected as CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
ERR: Seems you use a node certificate which is also an admin certificate
     That may have worked with older Search Guard versions but it indicates
     a configuration error and is therefore forbidden now.
     Pls refer to http://docs.search-guard.com/latest/tls-in-production
{
  "whoami" : {
    "dn" : "CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR",
    "is_admin" : true,
    "is_authenticated" : true,
    "is_node_certificate_request" : true
  }
}

Thanks you in advance
William

I guess the problem is here:

searchguard.authcz.admin_dn:
  - CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode1.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode2.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode3.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
searchguard.nodes_dn:
  - CN=*.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR

There should nothing in admin_dn which matches nodes_dn and vice versa.
In you case it should look like

searchguard.authcz.admin_dn:
  - CN=sgadmin,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
searchguard.nodes_dn:
  - CN=esnode.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode1.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode2.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR
  - CN=esnode3.domain.fr,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR

CN=sgadmin,OU=domain,O=Université Toulouse III - Paul Sabatier,L=Toulouse,C=FR is a ssl client certificate which needs to be created.
I strongly recommend to use our Offline TLS tool for that:
https://docs.search-guard.com/latest/offline-tls-tool

Thank you for your reply,
Our pki only offers certificate hostnames (CN = xxx.domain.tld), I do not understand why for the administration I could not have name.host.tld and for customers a wildcard.
For the administration, does a self-signed certificate work?

Of course, self-signed certificate will work when you put it (or its CA) in the truststore

I guess i'm hitting exactly the same issue here :

I can confirm i have the exact same behavior using a keystore/trustore with self signed certificate inside of them : (generated using the example scripts)


Issues with Python 2

Describe the bug
While installing wafw00f in python 2.7 the setup is not smooth because beautifulsoup4, soupsieve needs backports.functools_lru_cache to work well with python 2.7 i believe we should add backports.functools_lru_cache dependencies for an error-free installation in python 2.7
To Reproduce
Try setup.py in python 2.7
Screenshots

Removed the dependency for bs4 in a95a94253f138d5ef791232ef4d8371de41622b6 - can you let me know if this resolves it?
Background (for @0xInfection and contributors): bs4 was required in evillib.py which was used in some of my internal tools (like waffit that never got released). It was never needed for wafw00f itself.

Works perfect, Thanks @sandrogauci


ko: Update outdated files partly in dev-1.15-ko.4

Outdated files in the dev-1.15-ko.4 branch.
It fixes_ #15745 partly
modified
need to be compared with dev-1.15-ko.1

[x] content/en/_index.html 1 file changed, 2 insertions(+), 2 deletions(-)
[x] content/en/docs/concepts/architecture/nodes.md 1 file changed, 6 insertions(+), 3 deletions(-)
[x] content/en/docs/concepts/overview/components.md 1 file changed, 12 insertions(+), 7 deletions(-)
[x] content/en/docs/concepts/overview/what-is-kubernetes.md 1 file changed, 8 insertions(+), 8 deletions(-) - already done
[x] content/en/docs/concepts/overview/working-with-objects/field-selectors.md 1 file changed, 1 insertion(+), 1 deletion(-)  - already done
[x] content/en/docs/concepts/overview/working-with-objects/namespaces.md 1 file changed, 11 insertions(+), 4 deletions(-)
[x] content/en/docs/concepts/workloads/pods/init-containers.md 1 file changed, 139 insertions(+), 141 deletions(-) - already done
[x] content/en/docs/concepts/workloads/pods/pod.md 1 file changed, 2 insertions(+), 2 deletions(-)
[x] content/en/docs/reference/_index.md 1 file changed, 1 insertion(+), 1 deletion(-) - already done
[x] content/en/docs/reference/kubectl/cheatsheet.md 1 file changed, 7 insertions(+), 4 deletions(-)
[x] content/en/docs/setup/_index.md 1 file changed, 7 insertions(+), 4 deletions(-)
[x] content/en/docs/tasks/tools/install-minikube.md 1 file changed, 9 insertions(+), 7 deletions(-)
[x] content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html 1 file changed, 7 insertions(+), 7 deletions(-)
[x] content/en/docs/tutorials/kubernetes-basics/scale/scale-intro.html 1 file changed, 2 insertions(+), 2 deletions(-) - already done
[x] content/en/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md 1 file changed, 7 insertions(+)
[x] content/en/examples/application/mysql/mysql-statefulset.yaml 1 file changed, 12 insertions(+), 13 deletions(-)

1 file to be renamed
need to be compared with dev-1.15-ko.1

[x] R087 content/en/docs/concepts/configuration/scheduler-perf-tuning.md -> content/en/docs/concepts/scheduling/scheduler-perf-tuning.md

/assign @seokho-son

@seokho-son 리뷰 감사드립니다. 내용 반영했습니다.

감사합니다 !
/lgtm
/approve


I wouldn't recommend using Visual Studio Code for development

It's quite unusual to offer guidance on what IDE to use, I would remove this for sure.

You can always ignore it :)
We suggest it because we were getting contributions with lots of style problems. The IDE suggestion enforces auto-save formatting, vastly minimizing review time.

You can enforce at the git commit level with https://www.npmjs.com/package/pre-commit

Also force lint tests to pass with travis IIRC

Hi @QuantumInformation, you have some interesting suggestions, but I do support the idea of the project related development stile recommendations. The exact implementation can be discussed and maybe some options proposed. Still, some user guides help all to get in sync.
If you are to continue this discussion, it would be nice to propose another/similar best practice development procedures.


Could you release the model weights of the pre-trained teacher model?

@penghui-yang
Could you release the model weights of the pre-trained teacher model on the multi-label classification dataset? Especially on COCO and VOC.

I have already sent you our existing pretrained teachers. Others were deleted due to the limited storage spaces of our computing servers. Nonetheless, you can easily reproduce them by following the instructions provided in our README file.


Pwm channels cleanups

I can't find any sense Polarity to be part of channel type because it doesn't affect on what traits and methods can be implemented on type. So I've removed ActionLow and ActionHigh from type and added set_polarity and set_comp_polarity runtime methods.

Thanks for the PR! I can't immediately think of a good reason to have Polarity as part of channel type, and agreed it's not needed for the implementation
The examples are still building fine, which is great. However this PR does changes the crate's API, so I will review it a bit more.


Environment Dependencies and Configurations

Research and identify the defaults for a basic Python package.
Background
What do we need for the following?

Project Setup and Configuration
Dependency Management (requirements.txt) {Pipfile}
Local Development Trends
Linting/Code Styles
Testing

Notes
@TODO
Acceptance Criteria

It's done when the package has a solution for testing using Github Actions
It's done when the package has a solution for automating local development
It's done when the package has a solution for metadata and version management
It's done when the package has a solution for including or building the packages source

Great resource::
Article: https://medium.com/@overfittedcat/a-python-project-template-591fd9c2c310
Github Link: https://github.com/overfitted-cat/pybase

Submitted https://github.com/thedarksociety/python-bones/tree/feature/2-vscode and merged to develop my personal vscode-settings directory with settings.json


Python 3.12 not supported

Commands I ran to install and run OpenDevin:
make build

ERROR:
Successfully installed distlib-0.3.8 pipenv-2023.12.1 platformdirs-4.2.0 virtualenv-20.25.1
Using python: 3.11
Path to python: None
Warning: Python 3.11 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python
make: *** [Makefile:19: build] Error 1
$ python --version

Python 3.12.2

I did notice we're strictly checking 3.11, and not allowing 3.12 ☹
Worth fixing

Relevant loc: https://github.com/OpenDevin/OpenDevin/blob/e70767c22697ed4fe81ef14e677dfccba8376ff8/Pipfile#L32

Gonna leave this one open--we should be able to support 3.12 just fine. I think it's just not encoded properly

pipenv does not have a good way to say >=3.11
I want to say this one waits for poetry.

check this PR #738

@ayazwx I guess it's fixed in the new main try to pull and let us know if there are any issues.
ps: Thanks @foragerr for the info 👌

I'll close this issue if you don't have any problem

problem fixed by the switch to poetry

There is another error which is project try to use python 3.12:
make build

What's Next?
  1. Sign in to your Docker account → docker login
  2. View a summary of image vulnerabilities and recommendations → docker scout quickview ghcr.io/opendevin/sandbox
Installing Python dependencies...
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/fedora/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing Poetry (1.8.2): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/fedora/Downloads/OpenDevin/poetry-installer-error-7sar_n9s.log for error logs.
make: *** [Makefile:19: build] Error 1

$ cat poetry-installer-error-7sar_n9s.log

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib64/python3.12/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/ensurepip/__init__.py", line 284, in _main
    return _bootstrap(
           ^^^^^^^^^^^
  File "/usr/lib64/python3.12/ensurepip/__init__.py", line 176, in _bootstrap
    whl = wheel_path.read_bytes()
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/pathlib.py", line 1019, in read_bytes
    with self.open(mode='rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/pathlib.py", line 1013, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/python3.12/ensurepip/_bundled/pip-24.0-py3-none-any.whl'

Traceback:

  File "<stdin>", line 923, in main
  File "<stdin>", line 562, in run

@ayazwx I'll take a look at that today

@ayazwx can you try this command in the terminal pip --version

if pip exist try to upgrade you pip using pip install --upgrade pip

Given that we fixed the original bug, I'm going to close this one.
@ayazwx can you open up a new issue and fill out the template if you're still having trouble?


explore an integration with spotlight search

https://developer.apple.com/documentation/corespotlight

Also checkout: https://www.markusbodner.com/til/2021/02/08/create-a-spotlight/alfred-like-window-on-macos-with-swiftui/


/execute endpoint doesn't perform follow-up actions of executed action

If the action you predict with the /conversations/<conversation_id>/execute endpoint returns a FollowupAction, this action does not get executed.
When executing an action externally, one would expect the effect of that action to be the same as the effect if that action were called by the bot in the conversation.
I suspect that this is due to the action called only getting "executed", instead of being called through the "predict_and_execute_next_action" loop which predicts actions until the next action_listen.

I agree this is unexpected behaviour, but not sure we should fix it this way.
Following https://github.com/RasaHQ/rasa/issues/4464 , the mechanism for triggering actions should be to send an external event. In this case the action gets executed normally.
Also, followupactions are fragile and should be discouraged, it's the policy's job to predict the next action. We should consider deprecating / removing them, or if there is a real need articulating a very specific use case in the docs

I agree, that sounds like the cleaner option in most cases. How would you handle this if you wanted an external event to trigger an action, which calls a follow up if necessary, and then forgets itself? (I.e. I want it to forget itself because I don't want it in the stories or influencing prediction). I'm not sure the external event + mapping policy handles this without stories, but I could be overlooking something. Call the other Action.run from within the run method directly (I never really understood followup actions to be honest)?

I've never worked with the 'forgetting itself' mechanism, but isn't it just a matter of returning a ActionReverted event?

Yeah, but i'm wondering how the second action can get called without stories for the it's the policy's job to predict the next action.

why is without stories a requirement?

The point of the ExternalEvent is that it behaves like a user input, which can then trigger an action via the MappingPolicy. If the external event and the following action appear at random places in the stories, that should be fine, because the policies can learn to ignore those parts.

Shouldn't external events be intents rather than actions (or both)? We actually have this issue right now that I asked about in the forum: https://forum.rasa.com/t/is-there-a-way-to-trigger-a-user-intent-not-an-action-from-the-code-or-from-the-api/22155
The problem we are facing with external events is that they are often triggered at very random places in the conversation, often after our own action (because the user didn't respond for example). Therefore, stories looked like that:
## a story
* some_intent
- action_last_bot_action
- action_external_event
- action_some_other_actions_after_the_event

This story is problematic for training the bot as the bot could learn to trigger action_external_event after action_last_bot_action. What we ended up doing was writing stories like this:
a story

some_intent

action_last_bot_action

external_event_intent

action_external_event
action_some_other_actions_after_the_event

Where we insert `external_event_intent` into the tracker history before executing the action `action_external_event`. This is working through our own endpoint that pretty much does the same as the `execute` endpoint but first insert the intent we need.

The second issue we are facing is that `action_some_other_actions_after_the_event` is not triggered after `action_external_event` after `action_external_event` is executed.

Hi @nbeuchat
Yes, this is exactly what we're working on right now. Introducing the ExternalEvents class was an implementation detail we were considering, but in any case it'll solve exactly the problem you describe.

@JEM-Mosig That's great! Looking forward to it!

Hi guys , can Anyone help me to trigger multiple custom actions for an intent ?


Issue blog post

Dwarfs uses thrift which is essentially a compiler. So build script  (1) builds thrift, then (2) uses it to create filesytem metadata definitions, then (3) builds a library that processes metadata definition reusing some of the object files created at step (1). In the case of arm64 build on x86_64 steps (1) and (2) need to be x86 while step (3) needs to be arm64.
Similar ruby build script (1) builds miniruby (2) uses miniruby to generate some extra files (3) builds full ruby using some of the object files created at step (1).
In the case of arm64 build on x86_64 steps (1) and (2) need to be x86 while step (3) needs to be arm64.
It is possible th create build scripts both for dwarfs and for ruby as described above.  For dwarfs complexity is low, for Ruby complexity is high.  Howeevr we need to accept the fact that our build scripts will diverge from baselines in both cases.

Let it be a blog post regarding Ruby 3.3 support


Cleanup - ClassMetadataInfo#getColumnNames() simplification

Just noticed this bit of code and I compulsively felt like I had to cover/kill it.

@Ocramius nothing on our codebase uses this method anymore (nor it should). It's a deprecated method, to be removed for 3.0

@guilhermeblanco I'll add a deprecation as part of the PR

Actually, the ResultSetMappingBuilder uses this method extensively.


Added Basic Auth Support

fixes https://github.com/evcc-io/app/issues/5
Added support for Basic Auth. When the Server is found via mDns it submits the Address to the ServerManualScreen where the User can input the Credentials.

i've accidentally commited an update of expo-dev-client and react-native-v8 with my initial pull request. Needed to update them to build for android, the "npm run android" always exited with an error but thats another problem and shouldn't be in this pull request so i commited a new version of the package.json where i've reverted to the original package version.

@reifl tried to test it but got errors:

I also just updated the npm deps. Maybe this solves your issues above.
We should also support the auto-discovery use-case. Maybe it's a good idea to check auto-detect if auth is required during the validateAndSaveURL and then prompt the user for credentials if we dont have them.

I've merged your update to my fork and tried it. It works on my Android Device, unluckly i don't have a mac on hand to test the iOS build. I will try to organize one next week so i can check whats happening.
To your auto-discovery use-case. you mean the "Suche starten" on the Main Screen? If so this use-case should be covered. When the user selects a server which needs basic auth (401 Status code) it switches to the "Adresse manuell eingeben" mask with prefilled Server Information.

If so this use-case should be covered. When the user selects a server which needs basic auth (401 Status code) it switches to the "Adresse manuell eingeben" mask with prefilled Server Information.

Ah ok, perfect

I've merged your update to my fork and tried it.

Tried it after the upgrade but still not able to run in iOS simulator or on-device. I'll try to run it on my android test device during the week.
Another thing: looks like your code is not prettier-formatted. Please npm run format or enable format-on-save in your editor.

iOS version should now work and ran "npm run format"

@reifl I accidentally merged your PR to main. Not quite sure how this happened gh pr magic. But I'll then make the above changes directly in main. Thanks for your work 💚


How to cancel the HTTPS Request Download

It's ok to stop HTTP Request Download By the function cancel().
However I use the function cancel() to stop a HTTPS Download but crash.
Log is RCTFatalException: Unhandled JS Exception: u.cancel is not a function. (In 'u.cancel()', 'u.cancel' is undefined).
Is this function cann't stop Https Download?

@leo403771872 , does it happens on both IOS and Android?

Yes, both iOS and Android happen. Log says it' not a function

@wkh237 Yes, both iOS and Android happen. Log says it' not a function

Could you provide a code snippet about how you use it?  Please also refer to #256 and try if the solution works for you 👍

@wkh237 I have seen #256 . Our code is almost the same. It's ok to stop Http download, but not in Https

I can replicate this issue on my end now, the cause is that when calling task.cancel() native context does not add the session to request table yet. I've applied a fix at 0b6beae.
Please try to upgrade your package from the branch
$ npm install --save github:wkh237/react-native-fetch-blob-package#0.10.3-fix-268

I have exactly the same code, as shown in #256, upgraded to the fix-268 but still get the error
"cancel is not a function". Tried to increase the time of the backoff but it didn't work.

Still experiencing this on<EMAIL_ADDRESS>

Okay, I can confirm that on Android when either fileCache or path is set to config this problem happens.

I have pushed a fixed version to branch issue-268 please upgrade your package from the branch if anyone would like to verify it, thanks 💯

@wkh237
Tried branch issue-268
Not working.
task.cancel gives no error. Downloading continues

@kesha-antonov , thanks for verifying this for us, will look into the issue 👍

Still never going to catch with fileCache

Still getting task.cancel is not a function using 0.10.9 branch installed from github.  I am using eventChannel from redux-saga which requires a function callback to end the process.
Here is my code:
`import { eventChannel, END } from 'redux-saga';
import RNFetchBlob from 'react-native-fetch-blob';
import HomeActions from '../Redux/HomeRedux'
export function downloadFileSagaHelper(track: integer, url: string) {
// An event channel will let you send an infinite number of events
// It provides you with an emitter to send these events
// These events can then be picked up by a saga through a "take" method
return eventChannel(emitter => {
let dirs = RNFetchBlob.fs.dirs
const task = RNFetchBlob.config({
path : dirs.DocumentDir + '/' + track + '.mp3',
})
.fetch('GET', url)
.progress({ interval: 200 }, (received, total) => {
const progress = received / total * 100;
// I chose to emit actions immediately
emitter(HomeActions.downloadProgress({ track, progress }),
);
})
.then(res => {
emitter(HomeActions.downloadSuccess({ track, filePath: res.path() }),
);
// END event has to be sent to signal that we are done with this channel
emitter(END);
})
.catch(error => {
// Optional but you can deal with the error here
console.tron.log(error);
throw error;
});
// The returned method can be called to cancel the channel
return (error) => {
  task.cancel();
};

});
}
`


Update grants and add an ID field of some sort

https://github.com/supabase/pg-api/blob/c53dfaf2948d04e3baa267400f793aa3233f84ea/src/lib/interfaces/roles.ts#L18
Is there an internal PG ID that we can use for grants? We need this to update the permissions when we start doing RLS

I don't think there's an OID for "grants", but looking at this, it's possible to get OIDs for a grantee-grantor-privileges relation.
pg_class docs

I think that makes sense - we want to be updating the permissions on this more granular level. Let's return grantee-grantor-privileges for the grants array


Use a template for helm chart version bumps with updatecli instead of multiplying manifests

What feature do you want to see added?
I'd like to use a template to define helm chart bump updatecli manifests instead of duplicating existing manifests when we're adding a service.
Advantages:

Align all helm chart bump manifests to avoid errors and oversights
Simplify code, less files
Easier to check a single source of trust than to check every manifest

Upstream changes
No response

PR for later: https://github.com/jenkins-infra/kubernetes-management/pull/5419


[embedded] Fix incorrectly ptrauth signed destructor in vtables

Several embedded runtime tests are failing currently on arm64e because class destructor calls has a mismatched ptrauth signature. Let's fix that.

@swift-ci please test


Use willRender instead of didInsertElement, make fastboot-compatible

Also update the dummy app and add other refactorings to simplify
the renderer component.
Passes ember's renderer's dom helper to the mobiledoc-dom-renderer to allow it
to work properly in fastboot.

💪 this is great.


bug: Cannot find module 'tailwindcss' when deploying to Vercel

Provide environment information
initVersion: "7.23.2"
Describe the bug
I generated a very simple app including Prisma and TW. Everything is fine localy, I can build the app and everything. But once I push it to Vercel, I have a build error
Failed to compile.
node_modules/geist/dist/sans.js
An error occured in `next/font`.
Error: Cannot find module 'tailwindcss'

Reproduction repo
https://github.com/Axiol/oaos-uat-status
To reproduce

Generate a project with Prisma and TW
Replace Inter with Geist
Deploy to Vercel

Additional information
No response

gonna assume this is related to a bad cache somewhere and that it's fixed by now 😅


Update README.md

Adds a lot of detail to the readme, and adds a newline that was missing from src/main.c.
Rendered readme file

Readme is very apple-ish btw.

Haha what do you mean?

I do mean that osx is everywhere in readme is placed first.


Support loading multiple servers.

Example config looks something like this:
{
  servers: [
    {server: './servers/tcp', address: '<IP_ADDRESS>', port: 6125}
  , {server: './servers/udp', port: 6125}
  ]
}

In the absence of a servers key, we look at the same variables under the top-level config, which is backwards compatible with the current behavior.

We've been running this for a while, it definitely works fine

Thanks!


String Ownership

#36 Ensure that strings are copied into .NET and released from D.

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   57.57%   57.57%
=======================================
  Files          13       13
  Lines         198      198
=======================================
  Hits          114      114
  Misses         84       84

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 81763c1...2e9d92a. Read the comment docs.


Bug: selecting the number of contributors makes a minor resize

Describe the bug
If you go to https://beta.app.opensauced.pizza/javascript/dashboard/filter/recent?range=30&limit=20 and change the number of contributors from 10 to 20 or 50 a minor resize happens to the selector

Steps to reproduce

go to  https://beta.app.opensauced.pizza/javascript/dashboard/filter/recent?range=30&limit=20
change the number of contributors per page and see the minor difference.

Browsers
No response
Additional context (Is this in dev or production?)
Discovered in https://github.com/open-sauced/app/issues/2185
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

@RitaDee hi rita, I just removed the needs triage label and assigned you to the issue.
Minor thought, having a minimum width for this would help.

We have fixed this issue in the DropdownMenu component by defining the component non-modal, but sadly there is no such prop for the Select component in Radix yet, there is a pull request made to their library that will add this functionality. According to the fixes I have found, we would have to make a few global CSS changes for this.
@nickytonline I would love to hear your thoughts on this.

I'm not seeing this issue anymore, can we close this?


python fs-persist doesn't support file paths

Python uses aiofiles for its fs persist. This does support directory operstions, like aiofiles.os.makedirs, but we don't support them. That means that python users can only ever read/write files at the top of the fs; you can't do aiofiles.open("images/foo.png", "wb"), for example.

Note that fs with secret = true does support dirs (since we munge the path to turn it into a secret name), which adds to the confusion.


add to scala plugin

these libs http://www.scalanlp.org/ or maybe just https://github.com/scalanlp/breeze

Is there any way to integrate breeze right now? I just found this for the jupyter notebooks http://jcrudy.github.io/blog/html/2013/12/08/introduction_to_iscala.html using ipython magics to run sbt, but it didnt work.

If you compile it with sbt with a terminal, then you should be able to put the resulting jar in the classpath with the language manager.

Thank you!


Add support for different coint-types when creating or restoring keys

https://github.com/strangelove-ventures/ibctest/pull/338


docs: Document Potential Dual-Stack Upgrade Issues for 1.15

Depends on https://github.com/cilium/cilium/pull/22625

/test


TestSink should be thread safe

aspnet/KestrelHttpServer#2427

@muratg @JunTaoLuo mentioned he's already looking into this, so I assigned it.

I need to fix this after adding a TestSink to every LoggedTest by default. This blocks https://github.com/aspnet/KestrelHttpServer/issues/2390

@JunTaoLuo to be closed today? :)

Yup. The PR is approved and preemptive reaction PRs have been merged. I just need to make sure I didn't break anything else in Universe.


Invalidate firebase token on client app when resetting app from settings

Task

JIRA

Description

Add ResetAppUseCase with tests
Wrap FirebaseInstanceId in FirebaseInstanceManager class
Add log for receiving firebase token
Add nonNull live data extension to get rid of null checks
Format and delete of unused methods/fields

          1 Error

:no_entry_sign:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/communication/webrtc/base/RtcCall.kt#L108 - Caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

          42 Warnings

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/application/ApplicationModule.kt#L46 - Line detected that is longer than the defined maximum line length in the code style.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/application/ApplicationModule.kt#L62 - This expression contains a magic number. Consider defining it to a well named constant.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/application/ApplicationModule.kt#L65 - Line detected that is longer than the defined maximum line length in the code style.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/common/base/ViewModelFactory.kt#L24 - Unexpected indentation (expected 4, actual 8)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/common/base/ViewModelFactory.kt#L46 - Line detected that is longer than the defined maximum line length in the code style.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/common/base/ViewModelFactory.kt#L64 - Needless blank line(s)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/babycrynotification/BabyMonitorMessagingService.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/babycrynotification/BabyMonitorMessagingService.kt#L44 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/babycrynotification/BabyMonitorMessagingService.kt#L45 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/configuration/ConnectingDevicesFragment.kt#L44 - This expression contains a magic number. Consider defining it to a well named constant.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/configuration/ConnectingDevicesFragment.kt#L89 - Prefer using ‘if’ for binary conditions instead of ‘when’.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/ClientHomeActivity.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment.kt#L67 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment.kt#L67 - Multi-line else statement was found that does not have braces.These should be added to improve readability

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment.kt#L68 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment.kt#L70 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/client/home/livecamera/ClientLiveCameraFragment.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/communication/webrtc/base/RtcCall.kt#L145 - Function createCapturer has 3 return statements which exceeds the limit of 2.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/communication/websocket/WebSocketServerService.kt#L43 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/onboarding/FeatureDFragment.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L35 - Needless blank line(s)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L38 - Class ‘ChildMonitorFragment’ with ‘20’ functions detected. Defined threshold inside classes is set to ‘15’

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L111 - Unexpected indentation (expected 8, actual 12)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L111 - Parameter should be on a separate line (unless all parameters can fit a single line)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L165 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L165 - Multi-line else statement was found that does not have braces.These should be added to improve readability

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L166 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L168 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L171 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L172 - This expression contains a magic number. Consider defining it to a well named constant.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L173 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L245 - Multi-line if statement was found that does not have braces. These should be added to improve readability.

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L245 - Multi-line else statement was found that does not have braces.These should be added to improve readability

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L247 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment.kt#L248 - Missing { … }

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/settings/ClientSettingsFragment.kt#L1 - Needless blank line(s)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/settings/ClientSettingsFragment.kt#L19 - Needless blank line(s)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/settings/ServerSettingsFragment.kt#L1 - Needless blank line(s)

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/settings/ServerSettingsFragment.kt#L3 - Imports must be ordered in lexicographic order without any empty lines in-between

:warning:
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/settings/ServerSettingsFragment.kt#L25 - Line detected that is longer than the defined maximum line length in the code style.

          1 Message

:book:
:link: BM-453

JaCoCO Code Coverage 1.73% :white_check_mark:

Class
Covered
Meta
Status

co/netguru/baby/monitor/client/feature/client/home/SendFirebaseTokenUseCase
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/client/home/ClientHomeActivity
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/babycrynotification/BabyMonitorMessagingService
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/client/home/dashboard/ClientDashboardFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/common/base/ViewModelFactory
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/communication/webrtc/base/RtcCall
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/settings/ConfigurationViewModel
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/settings/ServerSettingsFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/settings/ClientSettingsFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/settings/ResetAppUseCase
100%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/communication/websocket/WebSocketServerService
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/server/ChildMonitorFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/application/ApplicationModule
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/client/home/livecamera/ClientLiveCameraFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/onboarding/FeatureDFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/client/configuration/ConnectingDevicesFragment
0%
0%
:white_check_mark:

co/netguru/baby/monitor/client/feature/firebasenotification/FirebaseInstanceManager
0%
0%
:white_check_mark:

APK file size

size

42.2MB

Number of method references

Dex file
count

classes.dex
36706

  Generated by :no_entry_sign: Danger


Roses incorrectly marked as verb

In nlp.text("4 red roses").terms(), roses is a verb. Roses should be a noun in this case because it comes after an adjective.

> nlp.text("five kittens").terms()
[ Value {
    whitespace: { preceding: '', trailing: ' ' },
    text: 'five',
    normal: 'five',
    expansion: null,
    reason: 'is_value',
    pos: { Noun: true, Value: true },
    tag: 'Value',
    number: 5,
    unit: '',
    unit_name: null,
    measurement: null,
    of_what: '' },
  Verb {
    whitespace: { preceding: '', trailing: '' },
    text: 'kittens',
    normal: 'kittens',
    expansion: null,
    reason: 'rules_pass_37',
    pos: { Verb: true },
    tag: 'Verb' } ]

Kittens should be marked as a noun because it follows a number.

Resolved, waiting to be merged. (#204)


[Python] XGBoost hangs when run in parallel with pathos/multiprocessing

Over at the TPOT project, we've been using XGBoost as one of the estimators that TPOT considers using during its optimization step. We recently added multiprocessing support via pathos, which is built on top of Python's multiprocessing module.
Shortly thereafter, we started running into issues where XGBoost freezes when run in parallel with pathos. After some tweaking, we discovered that this issue only occurs when nthread!=1 in XGBoost, and by default, nthread=-1 in XGBoost.
For now, we've fixed this issue by forcing XGBoost to always use nthread=1 in TPOT. However, we'd like to figure out why XGBoost hangs when run with pathos and nthread!=1. Any ideas or pointers?

has anyone had a look?

If you are using multiprocess's forking, that issue might be related to the known gcc problem of OpenMP within unix forks, .e.g
http://bisqwit.iki.fi/story/howto/openmp/#OpenmpAndFork
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58378

Loky was created to avoid this family of problems for Python 2.7+ and 3.3+. Under Python 3.4+ you can also use the spawn start method of multiprocessing.

@ogrisel
What's the license on Loky (couldn't find one of the GitHub repo)? The spawn method doesn't quite help as I believe XGBoost is initializing multi-processing and i am unable override it later. FWIW i am not even on Pathos, i am using plain-old multiprocessing that's included with Python 3.5 (I am on CentOS).

FWIW, I was able to get past this issue following the suggestion in this thread (https://bugs.python.org/issue18999).
I initialized my Pool like so:

from multiprocessing import pool, get_context
forkserver = get_context('forkserver')
p = forkserver.Pool()

Thanks @ogrisel for your original bugreport (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58378) and the comment about 'forkserver' on that thread.


Document how we will update CLaSP in a highly compatible way

We will need to eventually make updates to CLaSP (implementation and/or interfaces).  If we have a pattern to follow, we can know which sorts of changes are higher cost and which changes are lower cost.  Let's make sure we have a pattern in place and documented in some location for it.

There does exist some documentation on how the VS LSP Client folks handle this: https://microsoft-my.sharepoint.com/:p:/p/maprospe/EUnLp6_EKv5FpEsDEFfrxVQBtivj8MszPgPhn2Qqyh4YfA?e=5MQA21.