E   ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_'

for fil in requirements.txt reqs_optional/requirements_optional_langchain.txt reqs_optional/requirements_optional_gpt4all.txt reqs_optional/requirements_optional_langchain.gpllike.txt ; do pip install -r $fil ; done

then for client:
cd client
make setup
make lint
make build
# install (choose version if multiple builds in dist directory)
pip install dist/h2ogpt_client-*-py3-none-any.whl
# test
cd ..
pytest -s -v --forked client

E   ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/home/jon/miniconda3/envs/h2ollm/lib/python3.10/site-packages/urllib3/util/ssl_.py)

Seems order matters, like installing again requirements.txt helps.  Can you figure out please?

  You need to install a suitable plugin for your async framework, for example:
    - anyio
    - pytest-asyncio
    - pytest-tornasync
    - pytest-trio
    - pytest-twisted
    warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================== short test summary info ===============================================================
FAILED client/tests/test_client.py::test_text_completion - ModuleNotFoundError: No module named 'generate'
FAILED client/tests/test_client.py::test_chat_completion - ModuleNotFoundError: No module named 'generate'
====================================================== 2 failed, 1 skipped, 1 warning in 0.29s =======================================================

@pseudotensor May be the reported issue happens because the Client relies on different set of dependencies.
Is it must to have the ability to run Client tests from the h2oGPT Python environment? We recently added problematically starting h2oGPT server for the Client tests inside the test file. I think it is best to use Make & bash to achieve that. Furthermore, the Client has different set of requirements hence it is best maintain a separate set of dependencies and separate venv Python environment for the Client IMO.

Your missing a step that's listed:
cd ..

I added the server in the test because otherwise nothing was actually tested without some separate effort outside the test framework.
I think building the client can be using deps outside those used by non-client, like poetry.  However, it seems too much to have it impossible for the client to work within the same env as non-client.  One couldn't even test the client without a separate env if one had to have 2 envs, which is unusual IMO.  E.g. gradio and gradio_client work together.  DAI client and DAI are in same env, etc.

I got this error few times , solved by :
python -m pip install requests "urllib3<2"


chore: add the missing openebs-lite-sc.yaml to this repo

Describe the problem/challenge you have
Match the provisioner YAMLs provided in https://github.com/openebs/charts/tree/gh-pages with those hosted in this repository (https://github.com/openebs/dynamic-localpv-provisioner/tree/develop/deploy/kubectl)  for development.
Describe the solution you'd like
Add the following that includes both hostpath and device storage class:

https://github.com/openebs/charts/blob/gh-pages/openebs-lite-sc.yaml

While we are at this, it would be nice to add a make manifest that can pull in the latest NDM operator directly from NDM repo and using the yamls in this repo generate the required artifacts like:

openebs-operator-lite.yaml
openebs-operator-lite-sc.yaml
hostpath-operator.yaml
hospath-operator-sc.yaml

Ref: https://github.com/openebs/jiva-operator/pull/157

Hello, is this still open? I was wondering if this is like a practice exercise or something? I was looking at the files, I'm not sure if I'm understanding this correctly but, it looks like only one file that matches, which is the local-hostpath-provisioner.yaml file in https://github.com/openebs/charts/blob/gh-pages/yamls/.
Is the task to:
fork https://github.com/openebs/dynamic-localpv-provisioner
add local-hostpath-provisioner.yaml to /develop/deploy/kubectl
and submit a PR?

Since v4.0.0, the hostpath provisioner no longer supports installation via operator YAMLs.


Add parameter validation to the cmac module.

Summary: Building on #1643, this PR was supposed to add parameter validation to the cmak module, but it already had everything needed (null checks and a test for them), so I only needed to improve the docs.

@hanno-arm There already is a dedicated test that checks for null parameters of each function, it just does not use the new parameter validation test error checking scheme. As for the first point, I personally prefer not to double checks, but I understand that if you want to have a uniform behaviour of calling the callback if any input error happens, I should add them here too. I'll wait for opinions from others.

@AndrzejKurek I think the checks with CMAC_VALIDATE_RET() should replace the existing NULL checks. See what Hanno did with ChachaPoly in #2275

@hanno-arm - I've updated this PR. Please re-review.

PR #1643 has been merged, so removing the needs: preceding PR label.

I've updated the PR with requested changes, fixed a pre-existing documentation bug (wrong error mentioned in the header file), and fixed & extended the tests. @k-stachowiak, @hanno-arm - please re-review.


Use 1./1./1. numbering for markdown lists

          I would usually write the numbering as:

1. first item
1. second item
1. third item

Then markdown handles the numbering. Saves from having to re-number items like here when something gets added. I'm just not sure if .qmd will support it properly, any idea?
Originally posted by @MichaelChirico in https://github.com/r-devel/translations/pull/23#discussion_r1427512428

offtopic, but creating previews for PRs might be useful e.g. for this. @jmaspons I think we would need to use e.g. (free) Netlify instead of GitHub Pages to achieve this -- any thoughts? I can help setting that up if there's interest


Improved template forms

Motivation
GitHub is improving their support for advanced issue templates; these new ones appear and behave more like abbreviated forms, which makes it much easier for users and developers to communicate the minimal amount of information directed to their current needs. It also allows us to include tidbits of extra information (like nicer external links) to direct them in their search for answers.
Some examples particular to the NWBInspector and their outputs here: https://github.com/catalystneuro/nwbinspector/issues
Checklist

[X] Have you checked our Contributing document?
[X] Have you ensured the PR description clearly describes the problem and solutions?
[X] Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
[X] If this PR fixes an issue, is the first line of the PR description fix #XXX where XXX is the issue number?

@CodyCBakerPhD can you please include screenshots of these forms here?

@bendichter If you view the file directly it renders (minus the auto-labeling header part that disappears) exactly as the user would see it.
Bug Report: https://github.com/catalystneuro/nwb-conversion-tools/blob/c97cc2c2ea69039c9f868f027c9b21936e88fd25/.github/ISSUE_TEMPLATE/bug_report.yml
Documentation: https://github.com/catalystneuro/nwb-conversion-tools/blob/c97cc2c2ea69039c9f868f027c9b21936e88fd25/.github/ISSUE_TEMPLATE/documentation.yml
Feature Request: https://github.com/catalystneuro/nwb-conversion-tools/blob/c97cc2c2ea69039c9f868f027c9b21936e88fd25/.github/ISSUE_TEMPLATE/feature_request.yml
The config buttons are the only ones that are tough to visualize until you have at least some kind of config.yml present. Screenshot of what that looks like on the NWBInspector page (I'd drop the 'new check' and 'NWB schema' here)


Request update to support Laravel 7

Hi Author,
Can you please upgrade this package to support Laravel 7?
Thanks :)

I think this has been taken care of: https://github.com/zgabievi/laravel-promocodes/commit/ab3d1c8ef01993a59ab6e461f12591397f12d8d8


GH-2647 stack trace assertions skeleton base

First PR for GH-2647 to implement assertions for StackTraceElement and StackTraceElement[] types.
GH-2647: Implement skeleton for stack trace assertions.

This introduces the skeleton for two new types of
assertion/assumption:

- assertThat(StackTraceElement) - to perform assertions
  upon StackTraceElement types.
- assertThat(StackTraceElement[]) - to perform assertions
  upon StackTraceElement[] types.

Due to the new signature conflicting with one of the existing
test suites, I have implemented a temporary workaround to prevent
having to totally reimplement that class, since the new
API is not yet usable in this set of changes. I will remove
this in the second PR that implements the actual functionality.

I have also made one of the proxy methods in the API less restrictive
to allow it to work with passing array types around.

hey, is there any update on this?

@ascopes nope, sorry, a bit too busy on our side.


[Bug] Can't open k8s session cluster webUI

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

When I start the Flink cluster successfully,I can't open FlinkWebUI by useing view cluster detail button.
I found that t_ flink_ The cluster.address field is null.
In project code，FlinkClusterServiceImpl.start() method, update t_ flink_ The cluster.address  only in yarn-session Mode。

 if (deployResponse != null) {
        if (ExecutionMode.YARN_SESSION.equals(executionModeEnum)) {
          String address =
              YarnUtils.getRMWebAppURL() + "/proxy/" + deployResponse.clusterId() + "/";
          flinkCluster.setAddress(address);
        }
        flinkCluster.setClusterId(deployResponse.clusterId());
        flinkCluster.setClusterState(ClusterState.STARTED.getValue());
        flinkCluster.setException(null);
        updateById(flinkCluster);
        FlinkRESTAPIWatcher.removeFlinkCluster(flinkCluster);
      } else {
        throw new ApiAlertException(
            "deploy cluster failed, unknown reason，please check you params or StreamPark error log");
      }

StreamPark Version
2.0.0
Java Version
jdk1.8
Flink Version
flink 1.14.5
Scala Version of Flink
scala 2.11
Error Exception
none exception

Screenshots
No response
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

Code of Conduct

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

do you want to fix this issue?


search button at the sidebar

search feature on the sidebar has no search button, screenshot:

is it normal? looks like it's not normal as there's a button with missing label (grayish line) below the search input field

Hey, did you do an inspect on this grayish line to check what it was? maybe that could help others


feat: data menu routing

SUMMARY

[x] Updates SubMenu component to use Link from react-router, preventing a full page reload when navigating b/w datasets/databases
[x] Adds usesRouter prop to signal usage of Link

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN

[x] Add SubMenu tests

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] 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 #10880 into master will decrease coverage by 6.22%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##           master   #10880      +/-   ##
==========================================
- Coverage   65.46%   59.24%   -6.23%
==========================================
  Files         809      776      -33
  Lines       38154    37046    -1108
  Branches     3605     3311     -294
==========================================
- Hits        24979    21948    -3031
- Misses      13066    14912    +1846
- Partials      109      186      +77

Flag
Coverage Δ

#cypress
55.34% <40.00%> (+0.44%)
:arrow_up:

#javascript
?

#python
61.34% <ø> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

superset-frontend/src/views/App.tsx
100.00% <ø> (+67.64%)
:arrow_up:

superset-frontend/src/views/CRUD/data/common.ts
100.00% <ø> (ø)

...tend/src/views/CRUD/data/database/DatabaseList.tsx
3.07% <0.00%> (-78.98%)
:arrow_down:

...ontend/src/views/CRUD/data/dataset/DatasetList.tsx
1.90% <ø> (-70.46%)
:arrow_down:

superset-frontend/src/components/Menu/SubMenu.tsx
72.72% <44.44%> (-27.28%)
:arrow_down:

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/dashboard/util/getFilterScopeFromNodesTree.js
0.00% <0.00%> (-93.48%)
:arrow_down:

...uperset-frontend/src/utils/getClientErrorObject.ts
0.00% <0.00%> (-89.19%)
:arrow_down:

.../src/dashboard/components/FilterIndicatorGroup.jsx
11.76% <0.00%> (-88.24%)
:arrow_down:

... and 261 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 7cd96ed...12fe6a7. Read the comment docs.

Roadmap: https://github.com/apache-superset/superset-roadmap/issues/33


Files not importing

Everytime i try to export a file to Godot, Godot won't import the file. Why is this and how do I fix it?

Please don't ask support questions here, as this issue tracker is meant to be used for bug reports only. Use one of the other community channels instead.


Fixed normalization to handle uppercase letters

Tests in BasicExpressionsTests.cs define the issue pretty well. This was written about at Elegant Code.
Parser.cs also didn't have consistent line endings, this might make reading the diff a little bit harder, but I hope you won't mind.

Thanks for the patch and the link to the post - didn't even know the project got noticed :)


Creating docker-machine results in a "known VirtualBox bug" with Virtualbox 5.0.14 (comes with docker toolbox)

Output of docker version:
Docker version 1.10.2, build c3959b1

Output of docker info:
An error occurred trying to connect: Get http://<IP_ADDRESS>:2375/v1.22/info: dial
tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the ta
rget machine actively refused it.

Provide additional environment details (AWS, VirtualBox, physical, etc.):
MacBook Pro 15" early 2011 -> running Windows 8.1 Enterprise
VirtualBox 5.0.14 (came with Docker Toolbox)
List the steps to reproduce the issue:

download & install Docker Toolbox as Administrator
start Docker Quickstart Terminal as admin (or just cmd -> docker-machine create -driver virtualbox )

Describe the results you received:
Creating CA: C:\Users\Srg\.docker\machine\certs\ca.pem
Creating client certificate: C:\Users\Srg\.docker\machine\certs\cert.pem
Running pre-create checks...
(default) Image cache directory does not exist, creating it at C:\Users\Srg\.doc
ker\machine\cache...
(default) No default Boot2Docker ISO found locally, downloading the latest relea
se...
(default) Latest release for github.com/boot2docker/boot2docker is v1.10.2
(default) Downloading C:\Users\Srg\.docker\machine\cache\boot2docker.iso from ht
tps://github.com/boot2docker/boot2docker/releases/download/v1.10.2/boot2docker.i
so...
(default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....1
00%
Creating machine...
(default) Copying C:\Users\Srg\.docker\machine\cache\boot2docker.iso to C:\Users
\Srg\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to create a network adapter. Some
times, such confirmation window is minimized in the taskbar.
(default) Creating a new host-only adapter produced an error: C:\Program Files\O
racle\VirtualBox\VBoxManage.exe hostonlyif create failed:
(default) 0%...
(default) Progress state: E_FAIL
(default) VBoxManage.exe: error: Failed to create the host-only adapter
(default) VBoxManage.exe: error: SetupDiCallClassInstaller (DIF_INSTALLDEVICE) f
ailed (0x00000002)
(default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Ho
stNetworkInterfaceWrap, interface IHostNetworkInterface
(default) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(
struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp
(default)
(default) This is a known VirtualBox bug. Let's try to recover anyway...
Error creating machine: Error in driver during machine creation: Error setting u
p host only network on machine start: The host-only adapter we just created is n
ot visible. This is a well known VirtualBox bug. You might want to uninstall it
and reinstall at least version 5.0.12 that is is supposed to fix this issue
Looks like something went wrong... Press any key to continue...

So yeah, I reinstalled docker & virtualbox several times. VirtualBox is 5.0.14 (which is at least 5.0.12 right?)

Can you reopen this issue in the docker-machine or toolbox issue tracker? I see there's an open ticket in docker-machine; https://github.com/docker/machine/issues/2972, and found one in https://github.com/docker/toolbox/issues/384; docker-machine (and toolbox) are not maintained in this repository.
I'll close this issue here, because we cannot solve that issue in this repository, but feel free to comment here after I've closed


Test failure: _3_Build

This issue was made automatically. If there is a problem contact ryanbrandenburg.
This test failed with the following error:
System.InvalidOperationException : Command dotnet restore /warnaserror --no-cache --source https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-2/20181029-01/final/index.json --source https://api.nuget.org/v3/index.json  returned exit code 1

  Restoring packages for /Users/vsts/agent/2.141.1/work/_temp/tmpEQ43XF.tmp/razorclasslib/EnvironmentVariableAndNuGetOrg/none/razorclasslib.csproj...
  Installing runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.0.
  Installing System.Globalization.Extensions 4.3.0.
  Installing System.Security.Cryptography.Cng 4.4.0.
  Installing System.Numerics.Vectors 4.4.0.
  Installing runtime.native.System 4.0.0.
  Installing System.Runtime.Handles 4.0.1.
  Installing NETStandard.Library 2.0.3.
  Installing Microsoft.AspNetCore.Mvc 2.2.0-rtm-35586.
  Installing Microsoft.NETCore.Platforms 1.1.0.
  Installing Microsoft.AspNetCore.Mvc.Analyzers 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.DependencyInjection 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Razor.Design 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.Caching.Memory 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.ApiExplorer 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Cors 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Json 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.DataAnnotations 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.ViewFeatures 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Razor.Extensions 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Localization 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.TagHelpers 2.2.0-rtm-35586.
  Installing System.Reflection.Emit.Lightweight 4.0.1.
  Installing Microsoft.AspNetCore.Mvc.RazorPages 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.Caching.Abstractions 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.Options 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Core 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Cors 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.JsonPatch 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.Localization 2.2.0-rtm-35586.
  Installing System.ComponentModel.Annotations 4.5.0.
  Installing Microsoft.AspNetCore.Diagnostics.Abstractions 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Html.Abstractions 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.WebEncoders 2.2.0-rtm-35586.
  Installing Newtonsoft.Json.Bson 1.0.1.
  Installing Microsoft.AspNetCore.Razor.Language 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Antiforgery 2.2.0-rtm-35586.
  Installing Microsoft.CodeAnalysis.Razor 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Localization 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Mvc.Razor 2.2.0-rtm-35586.
  Installing Microsoft.Extensions.FileSystemGlobbing 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Razor.Runtime 2.2.0-rtm-35586.
  Installing Microsoft.AspNetCore.Rou

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on release/2.2.
CC Eilon

This comment was made automatically. If there is a problem contact ryanbrandenburg.
Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact ryanbrandenburg.
There were 165 failures with about the same error on release/2.2 at 12:38:50 PM:

_1_Restore
_3_Build
_4_BuildIncremental
_3_Build
_4_BuildIncremental
_3_Build
_2_RestoreIncremental
_6_Publish
_1_Restore
_3_Build
(And 155 more test failures in this build)

Duplicate of https://github.com/aspnet/AspNetCore/issues/3686


Prevent background taps

When the bottomsheet is expanded, I believe the most logical behavior is to prevent taps on the background
Which platform(s) does your issue occur on?

Android
Android 12
Xiaomi Redmi Note 9

Please, provide the following version numbers that your issue occurs with:

CLI: 8.4.0
Cross-platform modules: 8.4.8
Runtime(s): 8.3.0
Plugin(s): 0.0.22

Please, tell us how to recreate the issue in as much detail as possible.
If there's a button on the background and the bottomsheet is covering it, it can still be tapped

@guillemc23 not with this plugin. It is exactly what it does not want to do :D
Maybe you are more looking or @nativescript-community/ui-material-bottomsheet which is "modal"

Hmmm I think this is the plugin I want/need. I'm just a bit confused by this behavior.
I made the following demo video to explain it better. I feel like the red button shouldn't be tappable when it's behind the expanded bottomsheet, but the green should be as well as the scrollview since the bottomsheet is not convering them.
https://www.veed.io/view/f601b42c-ba91-47a6-a427-51d42b5edae2?sharingWidget=true&panel=share

This plugin is made to work like google maps bottom sheet for selected map business. The idea is to be able to interact with the map while showing the bottom sheet.
Same qwith Spotify /tidal play bar

Yes, I understand that. Interacting with the map showing in the background that can be seen on top of the bottomsheet is the desired behavior.
Did you get the chance to look at the video I posted? Tapping a button that is covered by the bottomsheet does not happen when using Google Maps.

@guillemc23 sorry your video does not work here. It remains a 0:00

Let me try YouTube this time 😅
https://youtube.com/shorts/kUCwKw9290c?feature=share

@guillemc23 ok i see now. It is not a plugin issue per say, more a N issue/behavior.If layout as not tap attached it is passthrough....
The simple fix is to add an empty tap event on the green layout.


several functions to fix FIT files

several CLI functions to fix FIT files
-> smooth GPS trace (useful when bad weather corrupt GPS or for swimming activities)
-> combine several standalone activities into one multisport activity
-> change sport/subsport
...

@vlcvboyer My repo is a fork of the upstream dtcooper/python-fitparse just to do PR to the upstream.  Unfortunately, my PR for writing FIT files has not been accepted. I do not plan to develop this feature and maintain a fork. Comment and vote for:

https://github.com/dtcooper/python-fitparse/issues/8
https://github.com/dtcooper/python-fitparse/pull/58

To gently push the fitparse authors to add FIR file saving, too.
Note, some actions may be done through https://www.fitfiletools.com

Update: I have decided do abandon FIT writing (and parsing, too) in pure Python since the FIT format is loosely specified and complex.
I recommend to make some FIT<-->JSON tool from the original FIR SDK (e.g. C#, Java, C++) and just call this tool from Python.


Configured subscription integration

Hello,
This time, add udp notification code from https://github.com/network-analytics/udp-notif-c-collector.
Build the code with the rest of the project.
Best regards
Jeremie

Solution 1:
Using the external project with the clone means that if we want to modify udp-notif-c-collector, then we need to push to the original repository to modify it. IMHO, it is not very practical.
Solution2:
Adding the source files leads to building issues, that requires adding _GNU_SOURCE
to the udp-notif-c-collector source files. Also unyte_version.h is normally generated at build time. Finally the indentation is not the same as Netopeer2.

Solution 1:
Using the external project with the clone means that if we want to modify udp-notif-c-collector, then we need to push to the original repository to modify it. IMHO, it is not very practical.

I would expect that if there are improvements to be made you would want to push them upstream but you can also apply patches to the downloaded source.

Solution2:
Adding the source files leads to building issues, that requires adding _GNU_SOURCE
to the udp-notif-c-collector source files. Also unyte_version.h is normally generated at build time. Finally the indentation is not the same as Netopeer2.

I see. Then I suppose this is not an option, too bad the project is also using autotools instead of cmake.

the 2 commits  just pushed add the external project in the CMakeLists.txt and a patch to set the source address of udp notifications.


GROOVY-7150 - Redirection of output in javax.script.ScriptEngine.invokeFunction() doesn't work

Instead of adding context and out to the engine context this change provides access to those in the groovy.lang.Binding to the script class.  This should allow a user to provide their own variables if they wish to override the behavior.  The problem was caused because the out variable was being removed from the context (for cleanup reasons), so the cached MethodClosure no longer had access to it since it was executed in another method after the eval call.
I also added another commit to ensure the factory returned by the engine is the same factory that created it.  I couldn't see a reason why each engine instance should return a new factory.

Hi John,
thanks for taking this on. You write

I also added another commit to ensure the factory returned by the engine is the same factory that >created it. I couldn't see a reason why each engine instance should return a new factory.

but the pull request is just a single commit?

Hi Pascal, I must have inadvertently squashed the commit I referred to.  I've broken it out again.  Thanks for pointing that out.

+1

+1


Consider adding cryptodev

Depends on #76
https://github.com/cryptodev-linux/cryptodev-linux

This one could speedup SSL services I guess?

@shouze, that's a yes.

Great, following benchmarks tells that it could be a huge improvement for my SSL offloading!
How Can I help?

I enabled new CESA support on the Kernel https://github.com/scaleway/kernel-tools/pull/137
But for now I can't easily call the crypto engine from the user land
I will try to enable cryptodev and recompile OpenSSL with cryptodev patches to check if everything is working nicely (the last time I tried, performances were quiet good, but the kernel driver was returning invalid hashes), I think they fixed this issue by reworking completely the driver, but it need to be tested first
For you information, while benchmarking the driver, I had better performances with big buffers, but when the buffers were small (iirc: < 5Mb), the CPU was faster to compute the hashes (interrupt to access the crypto engine is expensive)

I'll just mention that another recent way to access the kernel crypto engines is with libkcapi (http://www.chronox.de/libkcapi.html), which is a wrapper for AF_ALG. As far as I know, it only requires  CRYPTO_USER_API* modules kernel-side.

Nice. Although cryptodev is something I suspect more users are familiar with.
Although I would appreciate it if the C2 had NEON or the MMX instruction set clones. Would make a lot of things easier and faster. I've some Intel Edisons (IA32) at home, which are even more comfortable and have a better power envelope.
@moul, I will modify my OpenSSL debs accordingly and make them available to the community (instructions are in the forums). It's no big issue adding some thresholds. I suspect you've retroactively created the bucket debs for me — thanks! I will mirror my repo there.

CESA seems to be a bit limited unfortunately. There's no support for the interesting modes of operation, i.e. GCM. So it would have limited use for TLS, I guess.

For the record, I experiment very bad performances when I request to some https only resources.
Typically when I execute:
curl -kso /dev/null -w "tcp:%{time_connect}, ssldone:%{time_appconnect}, total:%{time_total}\n" someUrlToAStaticFile

With https
tcp:0.008, ssldone:0.512, total:0.520
Without https
tcp:0.008, ssldone:0.000, total:0.015
So... EVERY HTTPS REQUEST as a minimum cost of 500ms... which is... BIG.
ping @moul can we expect to test on a C1 with cryptodev enabled very soon?
I was currently testing with a 4.2.5-263 kenel (the docker 1.9 bringed one).

Looks like this guy experiments exactly the same issue and cryptodev solved his problem:
http://archlinuxarm.org/forum/viewtopic.php?f=30&t=2452&hilit=cryptodev#p13811

@shouze Use ECDSA certificates as remedy, and optionally my packages from:
https://community.scaleway.com/t/blitznote-ubuntu-repository/1087
$ curl -kso /dev/null -w "tcp:%{time_connect}, ssldone:%{time_appconnect}, total:%{time_total}\n" \
  https://…/….svg
tcp:0.005, ssldone:0.039, total:0.042

* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
< Server: nginx

@wmark thx it's a lot faster... but in fact I was using curl for the demonstration.
My real problem seems to be nodejs in fact... I bet that the binary package I use from https://deb.nodesource.com/node_5.x/dists/vivid/main/binary-armhf/Packages includes a staticaly linked 1.0.2d version of openssl without the support of ChaCha20-Poly1305 from BoringSSL optimized for the Marvell Armada 370/XP) and so on but it's not easy to check as I need to know how it's compiled from https://github.com/nodesource/distributions

@shouze The cipher doesn't have an influence on how long a handshake takes. The latter depends on the scheme (PFS or not) and if RSA, ECDSA, (or PSK) are used. DHE_RSA will be very slow, ECDHE_ECDSA fast (but requires an high influx of entropy („randomness“)).
Anyway, as soon as cryptodev is in you will need to compile and re-compile OpenSSL to support it.

@wmark ok in fact...openssl is duplicated into nodejs repo to statically link it to the node binary so whatever the openssl lib I install on my Linux distrib it won't affect https node performance.
Of cours I will need to compile nodejs with a patched version of openssl of my own to check the room for improvement. Can you tell me the instructions to compile your openssl ?
Is it this one https://github.com/wmark/openssl/commits/chacha20poly1305 with picked commits from 2013 november?

Has any progress been made in the past two years? With  4.9.36-mainline I still get

[    3.698316] sram: probe of soc:sa-sram0 failed with error -22
[    3.831925] sram: probe of soc:sa-sram1 failed with error -22
[   10.786895] marvell-cesa: probe of d0090000.crypto failed with error -22

which indicates the dts is invalid. Both the old and new CESA drivers are still enabled in config.
It seems all Scaleway needs to do is fix the dts sram memory ranges and enable only the new driver (preferably as a module) in .config. What is taking so long? I've had this working on my development Armada board for close to three years now!
NB recently OpenSSL added an AFALG engine and libkcapi has matured which makes it easier than ever to tap into hw crypto on Linux.

We have a kernel that support CESA:
# lsmod
Module                  Size  Used by
marvell_cesa           26816  0

Do you need extra kernel modules in addition to CONFIG_CRYPTO_DEV_MARVELL_CESA and CONFIG_CRYPTO_USER_API_SKCIPHER to take advantage of it ?

Is that a private kernel? Neither armv7l mainline 4.9.36 nor 4.9.20 longterm work for me, as the required patches from https://github.com/scaleway/kernel-tools/pull/137 were never merged.
Personally I only need CONFIG_CRYPTO_USER_API_HASH, 'CONFIG_CRYPTO_USER_API_AEAD' and CONFIG_CRYPTO_USER_API_SKCIPHER to be enabled.

CESA support has been added in the 4.4.77 and 4.9.38 kernels. You can update your bootscript if you want to test it. From what I've read, don't expect too much from it.


Few links broken

In the Series page, all the links for the various types of series are broken.
This is because the link point to:
https://uber.github.io/documentation/series-reference/arc-series

As opposed to the correct link:
https://uber.github.io/react-vis/documentation/series-reference/arc-series

The missing react-vis.
There are a few other instances in the docs too where the react-vis part seems missing in the link.
P.S.: The cause of this problem seems unknown since the link given in the markdown file of series.md is valid: arc-series.md and so on for other series, the same way that is specified in other places in the docs where the link works correctly.

bump


Node Red still broken after HA update (0.106.1)

Problem/Motivation
Ever since the 0.105.2 upgrade, my Node-Red has been stuck in a connecting state.
I keep seeing [info] [server:Home Assistant] WebSocket Connecting http://supervisor/core in the node-red logs.
Before the upgrade, everything was working. I have seen other users experiencing problems, but I haven't seen a fix that works for me yet.
Expected behavior
Node-Red should connect to Home Assistant when checking the checkbox that says "I use the Home Assistant Add-On".
Actual behavior
Node-Red stays in a 'connecting' state.

Steps to reproduce
Upgrade to
Home Assistant 0.106.0
Node-Red 6.1.1
Supervisor: 201
HassOS 3.11

This is the old unmainted repo. Come join us over at the new (maintained) WS version:
https://github.com/zachowj/node-red-contrib-home-assistant-websocket

Done. Thanks.


Reload SVG base texture with another sourceScale?

In our game, we use SVG textures a lot. We need to implement a way for them to rescale when a player zooms in or out. It seems that the most convenient way to do it is to update sourceScale of the existing BaseTexture and reload it somehow without creating a new BaseTexture instance, so that all sprites using this texture get the correct scale ratio. I've tried different approaches, for exampe:
baseTexture.sourceScale = 2;
baseTexture._loadSvgSource();

baseTexture.sourceScale = 2;
baseTexture._loadSvgSourceUsingString(svg);

baseTexture.sourceScale = 2;
BaseTexture.removeFromCache(baseTexture);
baseTexture.updateSourceImage(`data:image/svg+xml;charset=utf8,${svg}`);

But none of them worked. Do I miss something here? Does it make sense to add a new API to easily change sourceScale and update the base texture? It looks like a common operation in SVG-based projects.

SVG is a big problem that is somehow supported in pixi.
V5 will have mechanism that can allow improvements of texture loading process.
But anyway, if you use SVG, you have to learn all SVG-related things from source code, because the problem is huge and cant be documented. I hope that you solve it and give us the recipe for future users :)

Yes, the snippets above are based on what I've been able to learn from BaseTexture sources, and currently I have no idea why the first or second one don't work. I hoped for some friendly tips here.

Use source maps (.js.map) and debug it.
One of problems might be that texture is already uploaded into videomemory and you have to force "update" on it. We had the same problem with canvas. You can try calling "update()" or "dispose()"  after you make a new source.

I was able to achieve the desired behavior with this approach:
baseTexture.imageUrl = 'image.svg?'+Date.now();
baseTexture.sourceScale = 2;
let img = new Image();
baseTexture.loadSource(img);
img.src = baseTexture.imageUrl;

What I'm struggling with now, is how to handle SVGs with float dimensions. We need to be able to render SVGs at arbitrary width and height including floating point, and Image itself does support floating point size, but canvas does not. Any ideas, @ivanpopelyshev?

Closing due to inactivity... if you have a question still needing an answer feel free to raise a new PR :)


Add GitHub Action to run MWC unit tests

For now only runs Chrome headless and Firefox headless. In a follow up, we can add Sauce integration.

Also made Chrome/Firefox run concurrently instead of in separate steps.

Also made Chrome/Firefox run concurrently instead of in separate steps.

Which dropped time from 3m2s to 1m57s


CloningPod emag effect.

Adds an emag effect to the cloning pod. The cloning pod must be powered to emag it. When the cloning pod is emagged it will gain the following effect. On a failed clone attempt the failed clone will be released from the cloner and will attack anyone nearby.
Added - new mob abomination, the abomination is a failed clone that will attack nearby enemies. It is essentially a more robust flesh mob.
https://user-images.githubusercontent.com/113240905/235274169-6c8fe061-df66-4011-9260-7e87ec03999c.mp4
I slowed the mob down after making this video cause i cant aim.

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Cloning Pod may now be Emagged, on failed cloning attempt the cloning pod will trigger the emag effect.

Amazing, 11/10.
Needs to constantly spawn flesh abominations once first one was cloned.


[cloud_firestore] returning String instead of Map.

The type of map['model_types'] in firestore is Map, but its returning String.
Unhandled Exception: type 'String' is not a subtype of type 'Map<String, dynamic>' E/flutter (17811): #0      AppRemoteDataSource.getModelTypes (remote_datasource.dart:26:39)
dependencies:
firebase_core: ^0.4.0+9
cloud_firestore: ^0.12.9+4

Hi @mslalith
I suggest you to check our guides
You may also post questions specific to your code on Stack Overflow.
Closing, as this isn't an issue with FlutterFire itself,
if you disagree please write in the comments and I will reopen it
Thank you


bug(MatAutocomplete): Errors not displaying

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
14.3.0
Description
Having a Error to show alongside a mat-autocomplete and mat-chip-grid the error is never shown.
Reproduction
StackBlitz link: https://stackblitz.com/edit/uvatjk?file=src%2Fapp%2Fchips-autocomplete-example.ts,src%2Fapp%2Fchips-autocomplete-example.html
Steps to reproduce:

Touch the control
Enter a value
Remove the value

Expected Behavior
Expected the mat-form-field to have an error state and the mat-error to show up
Actual Behavior
No feedback on any error and the tag is not shown in the dom
Environment

Angular: 15
CDK/Material: 15
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Workaround use mat-hint and manually control visibility:
<mat-hint class="mat-mdc-form-field-error" *ngIf="conditionToShow">Error</mat-hint>

I have found that you need to put the form control on both the input and the mat-chip-grid for mat-error to work properly

I have found that you need to put the form control on both the input and the mat-chip-grid for mat-error to work properly


Data Fetch is not Working in Android

I am developing a App in React-native my code is run perfectly in IOS but not in Android
const nseIndia = new NseIndia();
const Fetch_Single_Symbol = async () => {
try {
const updatedStockDetails = [];
  for (let index = 0; index < watchList.length; index++) {
    const data = watchList[index];
    const details = await nseIndia.getEquityDetails(data);
    updatedStockDetails.push(details);
  }

  setStockDetails(updatedStockDetails);
} catch (error) {
  console.error("Error fetching equity details:", error);
}

};

This package is not for frontend apps. Only for node js applications.


[BugFix] fix mv rewrite bug with partition prune

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #14641
Problem Summary(Required) ：

fix mv rewrite bug with partition prune
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 77 / 87 (88.51%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java
43
50
86.00%
[403, 409, 417, 418, 419, 421, 422]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
32
35
91.43%
[492, 511, 523]

:large_blue_circle:
com/starrocks/sql/optimizer/MaterializedViewOptimizer.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio backport branch-2.5


Optionally enforce authentication

In cases where the server is set up to authenticate it's reasonable to assume that other commands would result in it refusing to respond unless AUTH had been completed first.

This will be closed along with #13


Violation lines not showing on visual view

I commented out the code that does this, remove when necessary


Add CodeGen for PHP (HTTPlug)

Tell us about the task you want to perform and are unable to do so because the feature is not available
Add CodeGen for PHP
Library - https://github.com/php-http/httplug

@ashitaprasad ma'am in the mentioned link it is using the abondaned packages like php-http/guzzle6-adapter i think this is not the correct way of taking the API request

@nikkivirtuoso Check out this link - https://docs.php-http.org/en/latest/httplug/tutorial.html for tutorials and see if there is still any issue while running the code.


Wrong spelling

Does this issue occur when all extensions are disabled?: Yes/No

版本: 1.95.1 (user setup)
提交: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
日期: 2024-10-31T05:14:54.222Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045
Steps to Reproduce:  Is this expected, or is it a misspelling?

Click "Show Opened Editor " Menu

The word is misspelled. It should be "edit active."

There are multiple places where words are misspelled.

To reduce the chance of colliding with actually searching for edit, this is what we landed on.


computational issues in runCrossValidate

For predictive loss, we calculate the loss using the uncompiled model.
Also, in line 46 of crossValidation.R we need to save the result of compileNimble in order for it to be used later to do the loss calculation.
@danielturek I'm assigning this to you in light of the bug discussed in PR #1068, as I suspect you'll be in there anyway.

While we are on the topic of CV, I'd also like to discuss whether the predictive loss should be given on the non-logged scale (including the handling of logging in calcCrossValSD).

PR #1299 saves the compiled model object, and uses it for calculations in the case of predictive loss.
It's still an open discussion regarding whether predictive loss should be given on a non-logged scale.

Regarding the loss, in looking back at one of the key WAIC papers, I see that the averaging over the posterior samples averages the predictive density not log predictive density, so I think it's fine as it is. We really should use the logsumexp trick here, but I will leave that for future work.
I'll leave this open as a reminder of that, but make any other comments for now in the PR.

@paciorek Noted, that sounds good.  I could fix the exponentiation computational approach at some point, as well.
For now, I'll leave this open.  I'm going to merge #1299, which might automatically close this issue, but if so then I'll reopen it.


chore: correct some typos

📑 Description

Ran typos-cli on the project after I noticed a couple of minor typos. This change simply corrects the minor typos I found.

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

Thank you for your PR.


Allow users override maxInMemoryFileSize in multipartFileUpload

It was asked on Gitter. Here is the argument we need to wire: https://github.com/twitter/finagle/blob/develop/finagle-base-http/src/main/scala/com/twitter/finagle/http/exp/MultipartDecoder.scala#L20

@vkostyukov I started working on this one but I think some guidance on how you want the API to look would be useful. As of right now I see three possible high level ways to make this change:

either add default values to API methods
https://github.com/hderms/finch/blob/master/core/src/main/scala/io/finch/EndpointModule.scala#L367
or adding additional method signatures (i.e. clone each api method dealing with multipart uploads and add a StorageUnit argument). Imo this is ugly but simple to understand. Also simple to deprecate particular variants of the API methods if we went with the additional method signatures approach.

alternatively I could add a method like withMaxInMemoryUploadSize to https://github.com/hderms/finch/blob/master/core/src/main/scala/io/finch/endpoint/multipart.scala#L103
which would make it a concern to the caller only if they specifically need to adjust the size. This seems undesirable based on the rest of the design of Finch

Some kind of implicit parameter which you could provide your own instance of, which seems like a lot of machinery and doesn't seem correct from a design perspective

If you could push me in the right direction that would be appreciated. Thanks


Working with java inner classes

Topic Suggestion
Proposal Submission
Proposed title of article
[Languages] Working with java inner classes
Proposed article introduction
To put it simply, an inner class is a class that is defined inside a class or interface, which was primarily established to bring java closer to the real world since it is object-oriented. In java, an inner class refers to a class that is a member of another class, or a subclass of that class. A variety of inner classes exist in java.
We employ inner classes to organize classes and interfaces together to make it easier to understand and manage. All members of the outer class may be accessed, including private data and methods.
Key takeaways

What are inner classes in java, and what necessitates their  use
What are some of the inner class types
Various merits with inner classes
Inner classes vs. nested classes

Article quality
The article will be in-depth based on the coverage. The article will encompass in-depth coverage of the methods of inner classes: nested inner class, method local inner classes, static nested classes, and anonymous inner classes, including their illustrations. The article will be easy and interesting to read. The article will be beginner-friendly and interesting.
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations
https://www.google.com/search?q=Working+with+java+inner+classes&oq=Working+with+java+inner+classes&aqs=chrome..69i57j69i61.242j0j9&sourceid=chrome&ie=UTF-8


PTNFLY-1169 New PatternFly.org Pattern Page Update

Modified page title and tab to be on same line per new wireframes -- tab shown on own line for small screens.
Renamed tab from "reference implementation" to "HTML/CSS".
Removed max height style for prettyprint area in order to omit scrolling.
Added collapsable toggle around prettyprint -- shown expanded by default.
Added responsive CSS for large screens with design tab to address spacing issues between graphic and text.
Added index at the top of the page so user can jump to various sections.
Fixed anchors to use name instead of href

Hi, @dlabrecq.  Why are you adding a[name] elements?  Per the HTML5 spec

Authors should not specify the name attribute on a elements.

ID attributes on elements fulfill this need.

My mistake -- ran into an issue testing. I'll correct it.

Squashed commits. Merge please?

LGTM


Can not create new category

when i try to create a new category it says: Failed to persist entry: Error: Collection must have a field name that is a valid entry identifier, or must have identifier_field set

And also code embedding stopped working.

As you can see i can not embed code in my post. Why is that?

Sorry! This is working now


[Access Request] report 5703 "Transfer Order"

Describe the request
Could you please change the access scope of the variables TransferFromAddr and TransferToAddr to protected?
   protected var
    TransferFromAddr: array[8] of Text[100];
    TransferToAddr: array[8] of Text[100];

Additional context
We sometimes need to changes this in ReportExtensions for PTEsInternal work item: AB#492877

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14454.


chore(deps): update dependency @typescript-eslint/parser to v4.29.3

This PR contains the following updates:

Package
Type
Update
Change

@typescript-eslint/parser
devDependencies
patch
4.29.2 -> 4.29.3

Release Notes

typescript-eslint/typescript-eslint
v4.29.3
Compare Source
Note: Version bump only for package @typescript-eslint/typescript-eslint

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (4.29.3). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Joint build Groovy & Grails

I believe this will need to be cherry-picked to GROOVY_2_5_X so it runs on that branch as well.
Master as noted in the comments will not work until Grails has a branch compatible with Groovy 4.
The job currently fails as there is a reported regression in Groovy 3.0.5.

Merged, thanks!

@paulk-asert
As @erichelgeson said, the job currently fails as there is a reported regression in Groovy 3.0.5:
https://github.com/apache/groovy/runs/828911951

> Task :grails-web-databinding:compileGroovy FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
* What went wrong:
117 actionable tasks: 78 executed, 39 up-to-date
Execution failed for task ':grails-web-databinding:compileGroovy'.
> BUG! exception in phase 'class generation' in source unit '/home/runner/work/groovy/grails-core/grails-web-databinding/src/main/groovy/grails/web/databinding/GrailsWebDataBinder.groovy' At line 541 column 33
  On receiver: obj with message: getAt and arguments: propName
  This method should not have been called. Please try to create a simple example reproducing
  this error and file a bug report at https://issues.apache.org/jira/browse/GROOVY

Actually, that is a second regression, but yes, we need to fix that one too.

@paulk-asert Gotcha. Also, it's better to check out released tags instead of branches because branches will be updated from time to time and may be affected by some buggy commit... thus it's hard for groovy developers to address issues.

@danielsun1106 we want to checkout branches and not releases as we want to catch a bug before it's released! Eg: if a commit is made and pushed to 3_0_X that breaks grails, it's better to know right away rather than right before (or after) a release.

I think branches on the Groovy side is fine, I am not 100% sure but I think Daniel was suggesting tags on the Grails side. There are pros and cons of each approach. If it is branches on both sides, that is two moving targets and always hard to know on which side caused the error.

@paulk-asert Ahh I see now. Both projects now have joint jobs now - so if we want to adjust in the future we can.

For 2_5_X, you need to change the return type of the exit methods for the classes that extend groovy.ui.Console. It now has a bridge method for any pre-compiled usages but re-compiling against that code needs to change the type. This is already done in master, so perhaps just copying that change but without swapping to the new Groovy 3 class (package rename due to split packaging).

@paulk-asert I get an error either way:
Change it to groovy 2.5.13 (leaving void) I get:
> Task :grails-console:compileGroovy FAILED
startup failed:
/Users/erichelgeson/source/grails-core/grails-console/src/main/groovy/grails/ui/console/support/GroovyConsoleApplicationContext.groovy: 47: The return type of boolean exit(java.util.EventObject) in grails.ui.console.support.GroovyConsoleApplicationContext$1 is incompatible with void in groovy.ui.Console
. At [47:13]  @ line 47, column 13.
               @Override

Change it to boolean, I get:
/Users/erichelgeson/source/grails-core/grails-console/src/main/groovy/grails/ui/console/support/GroovyConsoleApplicationContext.groovy: 47: The return type of void exit(java.util.EventObject) in grails.ui.console.support.GroovyConsoleApplicationContext$1 is incompatible with boolean in groovy.ui.Console
. At [47:13]  @ line 47, column 13.
               @Override

Are your error messages around the wrong way? The void variant is meant to be a synthetic bridge method and shouldn't be checked against. Does removing @Override help?

Yes, copy/pasted in reverse order, but issue stays the same :) Removing override does not change the issue.

We are checking for synthetic/bridge only on the overriding method (overridingMethod) not parent method (oldMethod):
https://github.com/apache/groovy/blob/GROOVY_2_5_X/src/main/java/org/codehaus/groovy/classgen/Verifier.java#L1347
I'll have to trace through whether the bridge method is getting passed through as oldMethod.

Can you try the latest SNAPSHOT after changing to boolean?


Upgrade version to 2.4.8-SNAPSHOT.

Pull Request Test Coverage Report for Build 454

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 65.872%

Totals

Change from base Build 451:
0.6%

Covered Lines:
1382

Relevant Lines:
2098

💛  - Coveralls


Update HISTORY.md with 0.12.1

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d998cb7). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master   #553   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?     14
  Lines             ?   3394
  Branches          ?    237
=======================================
  Hits              ?   3394
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

tests/formatter_tests.py
100% <ø> (ø)

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 d998cb7...4e70705. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d998cb7). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master   #553   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?     14
  Lines             ?   3394
  Branches          ?    237
=======================================
  Hits              ?   3394
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

tests/formatter_tests.py
100% <ø> (ø)

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 d998cb7...4e70705. Read the comment docs.


scale with both xFactor and yFactor but no options fails to recognise the yFactor

I'm using pdfkit 0.8.0 in the browser. I like it!
But: :-)
pdf.scale(2,4); does not work as expected, xFactor and yFactor are set to 2. pdf.scale(2,4,{}); does work. The absence of options triggers the function to think it got an xFactor and options, which is not the case.

I sent a fix for this issue a few days ago: #596 :-)

Yep, that's a duplicate.


Host and Guest crash

Thanks for the library it is working very well.
I'm trying to run the example injection method to get faster READ&WRITE operations because currently in external mode its not fast enough for what I need it for so I'm testing the example in this project but where I run the injection script sudo ./inject everything crashes and I have cycle the power.
Win is 1903, is there some alternative method for reading faster or what could possibly be the cause of the crash using the example?

The crash probably occurs due to permission issues. A much safer method is to use the kernel module to remap the memory of VM. Please read README for more information

Thanks much better :+1:


TS-5106: Create ParentRoundRobin object as ParentRecord->selection_strategy for default parent proxy server

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1280/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1175/ for details.


When a json with conf+data is loaded, the background selector disappears

Describe the bug
When a json with conf+data is loaded, the background selector disappears and it doesn't preserve the json background.
To Reproduce
Steps to reproduce the behavior:

Go to http://kepler.gl/#/demo/earthquakes
Click on Export => export Config
Check on Export Current Map and save the json file.
Go to http://kepler.gl/#/demo
Load the json on Add Data' button.
You can't see the basemaps list.

Expected behavior
We expect keplergl read the default basemap provided by the json file, and keplergl put it on the background.
We expect the list of all backgrounds is not removed (As we can see when we load directly .
http://kepler.gl/#/demo/earthquakes)
Screenshots
Original basemaps with: http://kepler.gl/#/demo/earthquakes

When earthquakes json is loaded

Laptop : MacBook (Retina, 12-inch, Early 2016)

OS: macOs High Sierra v10.13.5
Browser: chrome
Version 67.0.3396.99

Additional context
I would be happy to PR :)

I have a fix for this out, will deploy it later today!

@heshan0131 Great! thanks for your quick response.

@Lenninlasd this should be fixed with the new deployment, can you confirm and resolve this issue?

Yes, it's fixed on the demo page and in my local environment. Thank for you hard work!


update probot

Fix: https://github.com/paritytech/opstooling/issues/124

will merge this w/o explicit approval as it blocks the other deps
cc @mutantcornholio


1186-Embedding Social Media

Description

Added
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@Elisha-Edme - are you pointing to the correct commits? It looks like you are trying to push what's on main into stage.

Closing as this one.


port_scan module not working in Python 3.9

in python 3.9.1 getting error:
[X] this module "port_scan" is not available.
Probably some incompatibilities in Python 3.6->3.9 are crashing the module

OS: Kali.Linux
OS Version: 2020.3
Python Version: 3.9.1

Hey @aman566 , this fix works only for python 3.9.0 not for 3.9.1 and 3.9.2, its show error [Errno 2] No such file or directory: b'liblibc.a(after installing scapy module).
https://stackoverflow.com/questions/65410481/filenotfounderror-errno-2-no-such-file-or-directory-bliblibc-a
Above link mentioned temporary solution regarding this, also pycurl is having similar issues in windows, it work well for python 3.8 but not for python_version > 3.9. I think we should wait for official library support for python_version>3.9 until then we should support now only till < python 3.9.

Hello @itsdivyanshjain .Yes, pycurl is having issues. Regarding Scapy, you are correct. For 3.9.1 onwards this doesn't work.

Same issue in python 3.8.5

@Rohan-Salwan @securestep9
yes, this port_scan module affecting python version 3.8.5 (all python3 versions) now, but by merging this PR#400 this issue can be solved(i have tested out this on docker ubuntu image too and it's work fine). Also, PR #400 doesn't solve the issue for python>3.9.1.


FR: node module.

It would be good if this would be a node module.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24883893-fr-node-module?utm_campaign=plugin&utm_content=tracker%2F219945&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F219945&utm_medium=issues&utm_source=github).

It needs to run inside PhantomJS - can a node module do that?

phantomjs2 helps?


Don't throw cancel error when stopping the recording

https://github.com/wulkano/Kap/issues/986

Sentry Issue: KAP-9ER

macOS version:    Big Sur (11)
Kap version:      3.3.2
Unhandled Promise Rejection

CancelError: Promise was canceled
    at PCancelable.cancel (/p-cancelable/index.js:99:17)
    at Object.didStopRecording (/kap-key-cast/index.js:54:17)
    at /Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:56:28
    at Array.map (<anonymous>)
    at callPlugins (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:53:66)
    at cleanup (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:74:9)
    at Tray.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:218:5)

Is this gonna be fixed? The issue is still there

Hi everyone,
Is there any workaround for this issue other than resetting everything?

Encountered this issue today. Seems like this has remained unresolved for some time now. @karaggeorge Let me know if it would help if I could work on this or a sub-part of it. Happy to help.


Operand Search Error

Describe the bug
I've added both required keys to the config file, and set the enable to true.
It seems like it should work, however it gives the following error:
Access to fetch at 'https://api.operand.ai/operand.v1.ObjectService/SearchWithin' from origin 'https://sean-7777.github.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
POST https://api.operand.ai/operand.v1.ObjectService/SearchWithin net::ERR_FAILED
Uncaught (in promise) TypeError: Failed to fetch
    at searchContents (semantic-search.3b401e20c6ddc34d38c6bcc7aeeb08a3.min.js:1:321)
    at semantic-search.3b401e20c6ddc34d38c6bcc7aeeb08a3.min.js:1:778
    at semantic-search.3b401e20c6ddc34d38c6bcc7aeeb08a3.min.js:1:700

To Reproduce
use operand search
Expected behavior
the search to work
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

vivaldi 6.0.2979.11
windows 10 64-bit

Additional context
Add any other context about the problem here.

Operand has shut down their API.
https://operand.ai/


Architecture 'armv7s' not supported

voltron view registers
Architecture 'armv7s' not supported

voltron still doesn't support armv7s?


[Enhancement] (nereids)implement showFrontendsCommand in nereids

showFrontends command is supported in legacy planner but not in nereids(new doris fe planner). you need implement the following showFrontends command in nereids:
unsupportedshowFrontendsStatement
SHOW FRONTENDS name=identifier?

@Vallishp pls add a comment, then I am able to assgin the issue to you

@LiBinfeng-01   pls assign to me


Host scaling is showing container/service scaling options

Rancher versions: master 7/13
Steps to Reproduce:

Go to Add Host

Results:  The scaling options for host are not correct

Version - master 7/13
Verified fixed


add support for embed.FS for ogg

Summary
In my case I prefer to use embed.FS for reading ogg track, so it would be awesome to add support for embed.FS in ogg package.
Motivation
Appropriate for reading small ogg files, also to cleanup copying the static files manually into containers in build time.
Additional context
None.

Hi @mohammadne
I believe you can do this today! oggreader takes a io.Reader.
You could do something like this then
//go:embed file.opus
var opus []byte

NewWith(bytes.NewReader(opus))

Please re-open if that doesn't work! Thanks for using Pion :)


Add support for FXML (again)

Fixed regression part of #653

Looks like you'll need to revert the default methods back to regular interface method declarations
Could you add a test in this PR, too, that initializes an area with all the FXML configurations? That should insure this doesn't get broken in the future. I'm not sure whether such a test should go in the regular test package or in the integrationTest package.

I've never submitted a test before, so need some guidance:

Does the test need to be registered somewhere or are all class files that have a main method in org.fxmisc.richtext automatically executed ?
Do you have to have a method annotated with @Test ?

Mm... yeah I guess this should go in the integrationTest package. I suppose the test class should also go in the api package within integrationTest since this doesn't fall into behavior-related tests, nor is it expansive enough to need its own package.
So, create a new class that extends RichTextFXTestBase (or whatever it's called).
Add a start method that is similar to InlineCssTextAreaAppTest's start method, but without the area or its helper methods.
Add a method that has a name format like "tests_whether_fxml_construction_of_area_works()" that is annotated with @Test. In its body, you could use the FXML loader to create an area, which is then assigned to the stage's root. Then, you could assert that certain properties are true (e.g. it has a context menu, it's text is wrapped, etc.)
In case you're wondering, some test classes are annotated with @RunWith(NestedRunner.class) because it allows one to set up contexts that get shared between multiple tests. Since this is a single test, it's not needed.

Were you planning to change the Consumer objects to EventHandler objects, too?

Yes, I've done that in a separate branch. I was going to do a PR once this one is done ?

Yes, I've done that in a separate branch. I was going to do a PR once this one is done ?

Ok. Yeah, I guess that falls into a slightly different scope that this one despite still being FXML related. We should open a separate issue for that, too, so that it shows up in the generated changelog.

Is there a reason for wrapping the area in a VBox?

It could have been any Pane subclass (think Swing layout manager). Originally I had it as a BorderPane, until I wanted to add multiple text areas and made it a VBox for simplicity.  Technically it's possible for it to be a Control, although it doesn't usually make sense.
Bear in mind that the FXML file is still going to change in order to accommodate testing the EventHandlers, so if you don't mind I'd prefer to keep it as is for now. We can look at changing it then, if you still think it would be better.

Looks good! Thank you for your work.

I just realized that I forgot to ask you to squash your commits into as few as possible before merging... My bad.


About differences between collected_data and tokenized data.

Thank you for sharing with us your interesting dataset.
I'm curious about the differences between collected_data and tokenized data.
What did you process the collected_data to generate the tokenized_data?
Originally, I've tried to split the collected_data into train/val/test splits by using the train_id.json/val_id.json/test_id.json in the data folder.
But, the number of examples in each split differs from the train/val/split in your paper as below.
[In my case]
train: 92,585
val: 12,851
test: 12,839
[In your paper]
train: 92,283
val: 12,792
test: 12,779
However, I found that the number of the train/val/test examples in the tokenized_data folder equals your paper.
Did you apply any filtering process to the collected_data?

Hi, there are a few sentences filtered from collected_data, please refer to this line: https://github.com/wenhuchen/Table-Fact-Checking/blob/948b5560e2f7f8c9139bd91c7f093346a2bb56a8/code/preprocess_data.py#L524


Allow AAD credential to be passed in Bootstrap

Created PR to main branch https://github.com/microsoft/ApplicationInsights-node.js/pull/843


(PUP-6032) Remove ignorecache from documentation strings

This commit only removes references to ignorecache and implications that it does
anything; it does not remove the setting itself.

#4774 now includes this. Woot!


Add missing children to 'ATP-dependent activity'

Terms with labels 'ATP-dependent x':

[x] 'ATP-dependent NAD(P)H-hydrate dehydratase activity' http://purl.obolibrary.org/obo/GO_0047453
[ ] 'ATP-dependent farnesol kinase activity' http://purl.obolibrary.org/obo/GO_0102237 -> need to merge into 'GO:0052668 farnesol kinase activity'
[x] 'ATP-dependent microtubule motor activity' http://purl.obolibrary.org/obo/GO_1990939  -> was OK
[x] 'ATP-dependent microtubule motor activity, minus-end-directed' http://purl.obolibrary.org/obo/GO_0008569  -> was OK
[x] 'ATP-dependent microtubule motor activity, plus-end-directed' http://purl.obolibrary.org/obo/GO_0008574  -> was OK
[x] 'ATP-dependent peptidase activity' http://purl.obolibrary.org/obo/GO_0004176 -> was OK
[x] 'ATP-dependent polydeoxyribonucleotide 5'-hydroxyl-kinase activity' http://purl.obolibrary.org/obo/GO_0046404 -> remove ATP-dependent, this is a kinase
[x] 'ATP-dependent polynucleotide kinase activity' http://purl.obolibrary.org/obo/GO_0051734
[x] 'ATP-dependent polyribonucleotide 5'-hydroxyl-kinase activity' http://purl.obolibrary.org/obo/GO_0051736
[ ] 'ATP-dependent protein binding' http://purl.obolibrary.org/obo/GO_0043008 -> obsolete?
[x] 'ATP-dependent protein-DNA complex displacement activity' http://purl.obolibrary.org/obo/GO_0061995
[x] 'ATP-dependent protein-nucleic acid complex displacement activity' http://purl.obolibrary.org/obo/GO_0061994

Look at separately

[ ] 'ATP-dependent RNA helicase inhibitor activity' http://purl.obolibrary.org/obo/GO_1990119
[ ] 'ATP-dependent chaperone mediated protein folding' http://purl.obolibrary.org/obo/GO_0061992
[ ] 'ATP-dependent chromatin remodeling' http://purl.obolibrary.org/obo/GO_0043044
[ ] 'ATP-dependent citrate lyase complex' http://purl.obolibrary.org/obo/GO_0140615
[ ]  'ATP-dependent methionine-importing complex' http://purl.obolibrary.org/obo/GO_1990197

[ ] ATP-dependent NAD(P)H-hydrate dehydratase activity' http://purl.obolibrary.org/obo/GO_0047453 NOT ATP hydrolysis because there is is no water involved.

[ ] 'GO:0102237 ATP-dependent farnesol kinase activity' http://purl.obolibrary.org/obo/ 0 annotations ->  3-way merge into 'GO:0052668 farnesol kinase activity'   & GO:0052669 CTP:2-trans,-6-trans-farnesol kinase activity
EC:<IP_ADDRESS>, since EC describes the reaction with 2,6-trans: CTP + (2E,6E)-farnesol <=> CDP + (2E,6E)-farnesyl phosphate (https://enzyme.expasy.org/EC/<IP_ADDRESS>)

Not sure if it's a good idea to merge the ATP and CTP forms of this reaction.
(2E,6E)-farnesol + CTP = (2E,6E)-farnesyl phosphate + CDP + H(+)
(2E,6E)-farnesol + ATP = (2E,6E)-farnesyl phosphate + ADP + H(+)
I seem to remember the rat enzyme uses CTP not ATP, plant uses both. I guess we may find species that only use ATP later. Why not do a CTP-dependent and an ATP-dependent GO term?
'ATP-dependent farnesol kinase activity'
'CTP-dependent farnesol kinase activity'
or even
'ATP-dependent (2E,6E)-farnesol kinase activity'
'CTP-dependent (2E,6E)-farnesol kinase activity'

OK - Paul and I thought we should merge because EC describes the CTP version, and states "The enzyme, found in plants and animals, can also use other nucleotide triphosphates as phosphate donor, albeit less efficiently. "
https://enzyme.expasy.org/EC/<IP_ADDRESS>
I'll look for more evidence.

The difference between plant and human seems to be the substrate, not the nucleoide used, according to the same EC entry: "The plant enzyme can also use geraniol and geranylgeraniol as substrates with lower activity, but not farnesyl phosphate (cf. EC <IP_ADDRESS>). "

I was kind of worried we would have to demerge these later and remap to the 2 Rheas. I scanned the article on rat, fig 5 shows activity only for CTP there: https://reader.elsevier.com/reader/sd/pii/S0003986198906117?token=4FC6B771CD1EB4F58D921BC03E3479BC8241708875C512B62DE0059C634C98E04EA09C7DA9CC387F94125C52723266A3&originRegion=eu-west-1&originCreation=20210618115956.
I would be interested to know why this kinase is using CTP but I'm in meetings all afternoon so can't follow it up! There must be something to that though. This alone might be a good reason for a CTP-specific term?

We now have 2 terms for farnesol kinase activity:
GO:0052668
-name: farnesol kinase activity
+name: CTP:farnesol kinase activity
RHEA: 51680

id: GO:0102237
-name: ATP-dependent farnesol kinase activity
+name: ATP:farnesol kinase activity
RHEA:61656
both cite the plant paper PMID:21395888
Looks like the tobacco gene is specific for CTP (PMID:10557276) and the Arabidosis gene can use other nucleotides

So I will keep both terms.

thanks!

[x] 'ATP-dependent RNA helicase inhibitor activity' http://purl.obolibrary.org/obo/GO_1990119
[ ] -> change label to RNA helicase inhibitor activity

[ ]  'ATP-dependent methionine-importing complex' http://purl.obolibrary.org/obo/GO_1990197
-> change label to methionine-importing ABC transporter complex


Is it possible to play youtube video using chewie?

No. Only network(with streaming url), assets or file videos can be played.

Checkout https://pub.dev/packages/youtube_player_flutter

Checkout https://pub.dev/packages/youtube_player_flutter

I tried it before but sometimes it shows youtube error codes on real devices. flutter_youtube is the most reliable one, but with limitations.


[wabt-compatibility] Change memory text syntax

According to https://github.com/WebAssembly/threads/pull/74, memory text syntax has changed.
Also, wabt need 'threads' flags to run atomic operators
Bug: https://github.com/wasdk/wasmparser/issues/33

@ktran @bmeurer PTAL :)

Looks like we have CI now, awesome 👍

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ability to create a Configuration from another Configuration as template

What would that feature address
For now, the only way to create several similar data nodes (or tasks or pipelines) without having the same code is using the Config.configure_default_data_node(...).
This method has a few caveats, namely:

It can only set the default data node for 1 type of storage.
The user may find it difficult to keep track of what is the current default data node.

Description of the ideal solution
For example, we have configured d1_cfg:
d1_cfg = Config.configure_sql_data_node(
    "d1",
    db_username="foo",
    db_password="bar",
    db_name="db",
    db_engine="mssql",
    db_port=8080,
    db_host="somewhere",
    read_query="SELECT * FROM foo",
    scope=Scope.GLOBAL,
)

The user can use this feature to create d2_cfg from the d1_cfg without having to re-define a lot of properties.
d2_cfg = Config.configure_data_node_from(
    "d2",
    source=d1_cfg,
    read_query="SELECT * FROM foo",
)

Caveats

The naming of the method needs more discussion.
The documentation should be updated
There will be 2 methods to create several similar data nodes. They are different, but can be confusing.

The source should be the first parameter ("configure a data node from a source configuration").
The method would be:
d2_cfg = Config.configure_data_node_from(
    source_configuration=d1_cfg,
    id="d2",
    read_query="SELECT * FROM foo",
)


PDFpen 10 requires at least MacOS 10.12

Hi,
pdfpen.rb was updated for version 10 from this https://github.com/caskroom/homebrew-cask/pull/46317.   If you are running OS X 10.11, PDFpen.app is installed, but grayed out and won't run.
Smile Software lists the minimum version for PDFpen 10 as 10.12.  Reference: https://smilesoftware.com/pdfpen/download.
My request is this line be added:
depends_on :macos '>= 10.12'
This should also be done for pdfpenpro.rb.
Thanks,
;TL,DR
I worked around this by creating my own cask which names the app as PDFpen9.app.  See https://github.com/dgabbe/homebrew/blob/master/Casks/pdfpen-9.2.3.rb for reference.

If you want, you can post that 9.2.3 app in caskroom/homebrew-versions because it is for old versions of casks that are still used as long as it is used by some people.

#46973

Thank you for the report, @dgabbe. But wouldn’t it have been faster and less work for you to submit the PR directly?


Question: usage example

Apologies i’m not super familiar with rust. This seems like it’s a server component that accepts web requests and forwards transactions to the blockchain. Having a hard time figuring out what the API of this is like and how to interact with it.
Do you have a simple example of interfacing with this by chance? Is it like you serialize your transaction and send it to a particular port? Or am I misunderstanding entirely and this is more like a library component you would include in your own backend?
Thanks!

It conforms to the solana rpc spec for sendTransaction! See here for the spec


[21.11] linux: Enable BPF_UNPRIV_DEFAULT_OFF in 5.15

Description of changes
Backport of https://github.com/NixOS/nixpkgs/pull/165043 to 21.11
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build linuxPackages_latest.kernel
@ofborg test latestKernel.login

@ofborg build linuxPackages_5_15.kernel

apologies, it's added now

https://github.com/ofborg?type=source build linuxPackages_5_15.kernel


Windows 10 - centerX and centerY offset not working

Problem description
These buttons work as expected on iPhone 6, but the offset is ignored on |Windows 10.
Thanks.
Environment

Tabris.js version: 2.4
Device:  Windows 10
OS:  iOS 10.3.1

Code snippet

// This is a simple Tabris.js app. Feel free to modify as you please.
// Changes are saved immediately and will be available on your device after reload.

const {Button, TextView, ui} = require('tabris');

// Create a push button and add it to the content view
let button = new Button({
  centerX: 0, centerY: 0,
  text: 'Button'
}).appendTo(ui.contentView);

// Create a push button and add it to the content view
let button1 = new Button({
  centerX: 100, centerY: 100,
  text: 'Button1'
}).appendTo(ui.contentView);

This is indeed not implemented, but not marked in the documentation as such. In the short term we will note it in the documentation. Can't say if/when it will be implemented.


What does it mean for an MR to be "assigned" to someone?

At first glance I expected "lab mr list --mine" to show the pending MRs that I have submitted.
But the help text does say that --mine will show the MRs that are "assigned" to me. Does that mean MRs for which I'm a required reviewer?
If that's the case, it would be useful to have some listing option to show me the pending MRs that I (or a specified user) have submitted.

I have to agree with you, the --mine is indeed misleading: it really gives the feeling of "I own this MR" or "I'm the author of that".
I'm going to submit a MR for getting rid of it and adding the --author option. Lets see what others think about it.


Add missing AddVisitCommandParserTest

The following test does not exist and should be added for comprehensive test coverage.

Resolved by #161


Use helm chart to install rio?

Hi,
I wanted to know whether if there is a helm chart available to install Rio?
I got the yaml by using the command
rio install --disable-features grafana,istio,kiali,letsencrypt,mixer,prometheus,rdns --yaml
And then I created the helm chart as below:
Chart.yaml
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: rio-install
version: 0.1.0

Values.yaml
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: nginx
  tag: stable
  pullPolicy: IfNotPresent

nameOverride: ""
fullnameOverride: ""

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  annotations: {}

  path: /
  hosts:
    - chart-example.local
  tls: []

resources: {}

nodeSelector: {}

tolerations: []

affinity: {}

clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: rio-cluster-admin
rules:
- apiGroups:
  - ""
  resources:
  - '*'
  verbs:
  - '*'
- nonResourceURLs:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - extensions
  - apps
  resources:
  - deployments
  - daemonsets
  verbs:
  - '*'
- apiGroups:
  - autoscale.rio.cattle.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - build.knative.dev
  - caching.internal.knative.dev
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - certmanager.k8s.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - extensions
  resources:
  - ingresses
  - ingresses/status
  verbs:
  - '*'
- apiGroups:
  - batch
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - autoscaling
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - rbac.authorization.k8s.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - admin.rio.cattle.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - rio.cattle.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - gitwatcher.cattle.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - apiextensions.k8s.io
  resources:
  - customresourcedefinitions
  verbs:
  - '*'
- apiGroups:
  - authentication.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - networking.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - admissionregistration.k8s.io
  resources:
  - validatingwebhookconfigurations
  verbs:
  - get
- apiGroups:
  - config.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - rbac.istio.io
  resources:
  - '*'
  verbs:
  - get
  - watch
  - list
- apiGroups:
  - autoscaling.internal.knative.dev
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - serving.knative.dev
  - autoscaling.internal.knative.dev
  - networking.internal.knative.dev
  resources:
  - '*'
  - '*/status'
  - '*/finalizers'
  verbs:
  - get
  - list
  - create
  - update
  - delete
  - deletecollection
  - patch
  - watch
- apiGroups:
  - tekton.dev
  resources:
  - tasks
  - clustertasks
  - taskruns
  - pipelines
  - pipelineruns
  - pipelineresources
  verbs:
  - get
  - list
  - create
  - update
  - delete
  - patch
  - watch
- apiGroups:
  - tekton.dev
  resources:
  - taskruns/finalizers
  - pipelineruns/finalizers
  verbs:
  - get
  - list
  - create
  - update
  - delete
  - patch
  - watch
- apiGroups:
  - tekton.dev
  resources:
  - tasks/status
  - clustertasks/status
  - taskruns/status
  - pipelines/status
  - pipelineruns/status
  - pipelineresources/status
  verbs:
  - get
  - list
  - create
  - update
  - delete
  - patch
  - watch
- apiGroups:
  - policy
  resourceNames:
  - tekton-pipelines
  resources:
  - podsecuritypolicies
  verbs:
  - use

clusterrolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: rio-controller-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: rio-cluster-admin
subjects:
- kind: ServiceAccount
  name: rio-controller-serviceaccount
  namespace: rio-system

deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: rio-controller
  namespace: rio-system
spec:
  selector:
    matchLabels:
      rio-controller: "true"
  template:
    metadata:
      labels:
        rio-controller: "true"
    spec:
      containers:
      - args:
        - rio-controller
        env:
        - name: RIO_NAMESPACE
          value: rio-system
        - name: RIO_DEBUG
          value: null
        - name: HTTPS_PORT
          value: "9443"
        - name: HTTP_PORT
          value: "9080"
        - name: USE_HOSTPORT
          value: "true"
        - name: IP_ADDRESSES
          value: <IP_ADDRESS>
        - name: SERVICE_CIDR
          value: <IP_ADDRESS>/16
        - name: DISABLE_FEATURES
          value: grafana,istio,kiali,letsencrypt,mixer,prometheus,rdns
        - name: HTTP_PROXY
          value: null
        image: rancher/rio-controller:v0.2.0-amd64
        imagePullPolicy: Always
        name: rio-controller
      serviceAccountName: rio-controller-serviceaccount

namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: rio-system

service.yaml
apiVersion: v1
kind: Service
metadata:
  name: {{ include "rio-install.fullname" . }}
  labels:
    app.kubernetes.io/name: {{ include "rio-install.name" . }}
    helm.sh/chart: {{ include "rio-install.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: {{ include "rio-install.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}

serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: rio-controller-serviceaccount
  namespace: rio-system

This does install Rio without grafana,istio,kiali,letsencrypt,mixer,prometheus,rdns and I can run services on top of it. But I wanted to check if this is a recommended way to install rio?
I have tested this on minikube only for test and wanted to check if there are any possible concerns if I use this on GKE for our workloads?.
Thanks

@guri-s We don't have an official helm chart release(will be in the future). But yes rio install --yaml is the intended way to install rio using kubernetes manifest.


Fixed pagination when reindexing asset manager

#4783 which attempted to fix #4748 had some issues.

To get consistent results the DB query results need to be explicitly ordered for pagination to work.
Calls to logging progress changed frequency after first page.
Last page was never process

This should fix those issues.
Ordering on mpId might not be the most efficient, however the row id is not exposed by the asset query API.

NOTE this doesn’t speed up the overall indexing but reduces the resources needed to read the entire asset table in one go. The slow down in tests with 20k assets, H2 database, local disk were significant almost doubling the time from ~10m to ~20m. I think the ordering is an expensive DB constant for each request. I think increasing the page size should help as 100 is quite small.

Upping page size to 1000 reduced the indexing time to 11m30s which I think is reasonable


Creating, Wrapping postgres extensions and playing nicely

I am trying to wrap this postgres extension for nixpkgs https://github.com/eulerto/pg_similarity
my nix expression is:
{ stdenv, fetchFromGitHub, gcc, postgresql } :

stdenv.mkDerivation rec {
  name = "pg_similarity";
  src = fetchFromGitHub {
    owner = "eulerto";
    repo = "pg_similarity";
    rev = "adacf8ab8f6ed8304ff4c5dcffbf0378656091e1";
    sha256 = "1a40n405d37ichwmnz57wasb03jp7jiygac98zxdqr1zlkmjy4rd";
  };
  builder = ./builder.sh;
  buildInputs = [ postgresql gcc ];
  meta = {
    description = "Some functions";
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl2;
  };
}

and my builder is:
# -*- shell-script -*-
source $stdenv/setup

chmod -R 755 $src

chmod -R 755 $(pg_config --libdir)
chmod -R 755 $(pg_config --sharedir)

cd $src

USE_PGXS=1 make
USE_PGXS=1 make install

mkdir -p $out

And this is crapping out at runtime when I try to use the extension with
create extension pg_similarity in psql.
I found some old threads with mentioning this but no real resolution and I see postgis in nixpkgs but it looks like its specialized for postgis, not a generic solution.
What is the right way to install postgres extensions via nix?
EDIT: Apparently there is a postgresqlWithPlugins but doesn't make much sense to me and the only example usages are like postgis which has a rather complicated build process.

As author says, there is postgresqlWithPlugins for such things. Ive showed in #21220 how to do this with nixos postgresql service.
@7c6f434c can you close this?


firebase_auth not working in Android release mode.

Steps to Reproduce
The apps runs fine without error in debug mode but when I run it in release mode on Android, it gives this error.
Logs
flutter run --release
E/flutter (29019): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (29019): PlatformException(status, Status{statusCode=DEVELOPER_ERROR, resolution=null}, null)
E/flutter (29019): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:514)
E/flutter (29019): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154)
E/flutter (29019): <asynchronous suspension>
E/flutter (29019): #2      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:156)
E/flutter (29019): <asynchronous suspension>
E/flutter (29019): #3      GoogleSignIn._addMethodCall.<anonymous closure> (package:google_sign_in/google_sign_in.dart:196)
E/flutter (29019): #4      _RootZone.run (dart:async/zone.dart:1376)
E/flutter (29019): #5      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151)
E/flutter (29019): #6      _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603)
E/flutter (29019): #7      _Future._propagateToListeners (dart:async/future_impl.dart:659)
E/flutter (29019): #8      _Future._addListener.<anonymous closure> (dart:async/future_impl.dart:342)
E/flutter (29019): #9      _microtaskLoop (dart:async/schedule_microtask.dart:41)
E/flutter (29019): #10     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
E/flutter (29019): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (29019): PlatformException(status, Status{statusCode=DEVELOPER_ERROR, resolution=null}, null)
E/flutter (29019): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:514)
E/flutter (29019): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154)
E/flutter (29019): <asynchronous suspension>
E/flutter (29019): #2      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:156)
E/flutter (29019): <asynchronous suspension>
E/flutter (29019): #3      GoogleSignIn._addMethodCall.<anonymous closure> (package:google_sign_in/google_sign_in.dart:196)
E/flutter (29019): #4      _RootZone.run (dart:async/zone.dart:1376)
E/flutter (29019): #5      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151)
E/flutter (29019): #6      _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603)
E/flutter (29019): #7      _Future._propagateToListeners (dart:async/future_impl.dart:659)
E/flutter (29019): #8      _Future._addListener.<anonymous closure> (dart:async/future_impl.dart:342)
E/flutter (29019): #9      _microtaskLoop (dart:async/schedule_microtask.dart:41)
E/flutter (29019): #10     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
I/FlutterActivityDelegate(29019): onResume setting current activity to this

flutter analyze
No issues found!
Ran in 7.2s

Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.6 16G1114, locale en-IN, channel alpha)
    • Flutter at /Users/ankurkedia/flutter
    • Framework revision 8f65fec5f5 (5 weeks ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/ankurkedia/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/ankurkedia/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[-] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.1
    ✗ ios-deploy out of date (1.9.2 is required). To upgrade:
        brew upgrade ios-deploy
    • CocoaPods version 1.3.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.2.2)
    • Flutter plugin version 16.0
    • Dart plugin version 172.3757.55

[✓] Connected devices
    • Redmi Note 3 • 22bb2c37 • android-arm • Android 5.1.1 (API 22)

Could you try to update to the latest firebase_auth plugin and see if the issue still persists for you? @theankurkedia

@theankurkedia
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/911. Any further collaboration will be done there.