Issue with installation on updated Ubuntu on AWS

Reported on 29th April
Probably due to update of some dependent project, Bhanu is facing errors on running installation script for staging environment. The error is in python module used by docker-compose. There seem to be entries in Stack Overflow on the python module involved regarding this being present in some versions and fixed later.
Proceeding with the setup for Registry...
Enter publicly accessible registry URL: https://registry-staging.becknprotocol.io/
................Installing required packages................
Docker Bash completion is already installed.
docker-compose is already installed.
Package Installation is done
registry-staging.becknprotocol.io
registry_data_volume
registry_database_volume
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
7b2699543f22: Pull complete
Digest: sha256:c3839dd800b9eb7603340509769c43e146a74c63dca3045a8e7dc8ee07e53966
Status: Downloaded newer image for busybox:latest
Untagged: busybox:latest
Untagged: busybox@sha256:c3839dd800b9eb7603340509769c43e146a74c63dca3045a8e7dc8ee07e53966
Deleted: sha256:ba5dc23f65d4cc4a4535bce55cf9e63b068eb02946e3422d3587e8ce803b6aab
Deleted: sha256:95c4a60383f7b6eb6f7b8e153a07cd6e896de0476763bef39d0f6cf3400624bd
................Installing Registry service................
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 237, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 791, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 497, in _make_request
    conn.request(
TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
           ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
    client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
Registry installation successful
[Installation Logs]
Your Registry setup is complete.
You can access your Registry at https://registry-staging.becknprotocol.io/
Process complete. Thank you for using Beckn-ONIX!

Instead of going down the route of identifying the python library that causes this issue, we decided to use "docker compose" instead of "docker-compose". "docker-compose" is a python tool and that uses this library. It is the older implementation and is not actively supported. "docker compose" is a new go based client. With this change the installation script is working.

Fixed in https://github.com/beckn/beckn-onix/pull/61 and https://github.com/beckn/beckn-onix/pull/63


add "typed-text-style" to MenuTextStyle

this is a concept from the nushell discord by "bisaknosp"

https://github.com/nushell/reedline/blob/03a1baba6c2403e172e7eb1d4ad0c3175376c916/src/menu/mod.rs#L16-L23

I could see where that may be helpful.


Apple M1: different behavior using native and Java-based launcher

On an Apple M1 chip, the native cs binary is able to fetch Java 8
❯ cs version
2.1.0-M6-53-gb4f448130
❯ cs java-home --jvm 8
/Users/olafurpg/Library/Caches/Coursier/arc/https/github.com/adoptium/temurin8-binaries/releases/download/jdk8u332-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u332b09.tar.gz/jdk8u332-b09/Contents/Home

When using the Java launcher with the exact same version, the same java-home command fails
❯ curl -fLo coursier https://github.com/coursier/launchers/raw/master/coursier && chmod +x coursier && ./coursier java-home --jvm 8
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  125k  100  125k    0     0   652k      0 --:--:-- --:--:-- --:--:--  652k
JVM 8 not found in index: No adoptium version matching '1.8+' found
❯ ./coursier version
2.1.0-M6-53-gb4f448130

I'm using the Java launcher in a project because it's a small cross-platform binary that I can check into a git repository.

A workaround is to use the --architecture amd64 flag
❯ ./coursier java-home --jvm 8 --architecture amd64
/Users/olafurpg/Library/Caches/Coursier/arc/https/github.com/adoptium/temurin8-binaries/releases/download/jdk8u332-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u332b09.tar.gz/jdk8u332-b09/Contents/Home

The native binary seems to be running under Rosetta and fetching a x64 version of the temurin 8 jdk: OpenJDK8U-jdk_x64_mac_hotspot
AFAIR temurin doesn't have aarch64 builds for Java 8, only 11 and 17

I just tried the native M1 releases from https://github.com/VirtusLab/coursier-m1/releases and can confirm that I get the same error as the Java launcher
❯ cs java-home --jvm 8
JVM 8 not found in index: No adoptium version matching '1.8+' found

Using --jvm zulu:8 instead of --jvm 8 solves the problem without using the --architecture flag. Closing this with "working as intended", but maybe these details will be helpful if somebody else hits on the same issue.


Akos/svelte frontend

Overview
Why do we need this feature? What are we trying to accomplish?
Requirements
What requirements are necessary to consider this problem solved?
Considered Solutions
What solutions were considered?
Recommended Solution
What solution are you recommending? Why?
Considerations
What impact will this change have on security, performance, users (e.g. breaking changes) or the team (e.g. maintenance costs)?

Associated Jira ticket: [ER-2532]


Link to an explanation of adding nuget PATH variables.

The Windows installation section doesn't take into consideration whether the user understands PATH variables, so even simply a link to an explanation would be helpful.

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

ID: 6d00296b-ac62-3d6c-beea-b2042b63dc5b
Version Independent ID: 587da972-dfde-88bc-9dc0-7c32dae3454b
Content: NuGet Command-Line Interface (CLI) Reference
Content Source: docs/reference/nuget-exe-CLI-Reference.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

I honestly don't understand the step 3. could you explain more about the meaning of path???

@Quico20, what they're referring to by PATH, is an environment variable. In essence, it's a literal variable used to store the file paths to executable commands in the system. For example, when you run a command in the command line like npm'or git, what you're actually doing is running the program located at, say, C://Program Files/nodejs/npm and passing it a few commands.

Use this existing directory that should be in your path already:
c:\Users{your user name}.dotnet\tools\
Example:
move c:\Users{your user name}\downloads\nuget.exe c:\Users{your user name.dotnet\tools\
or
move %USERPROFILE%\downloads\nuget.exe %USERPROFILE%.dotnet\tools\
To confirm it is in your path:
which nuget.exe
nuget ?

If you downloaded to your default download directory:

press windowskey-r
cmd.exe
move %USERPROFILE%\downloads\nuget.exe %USERPROFILE%.dotnet\tools\
nuget ?

If you downloaded to your default download directory:
press windowskey-r
cmd.exe
move %USERPROFILE%\downloads\nuget.exe %USERPROFILE%.dotnet\tools
nuget ?

If you downloaded to your default download directory:
press windowskey-r
cmd.exe
move %USERPROFILE%\downloads\nuget.exe %USERPROFILE%.dotnet\tools
nuget ?

The destination path should be %USERPROFILE%\.dotnet\tools. You were missing a backslash...

The idea here is to link to authoritative docs on how to set up path variables and not document it as part of the docs itself. If anyone has recommendations on the official docs on the path variable, please comment on this issue. For now, I am closing this issue.


bug(go/adbc/drivermgr) Segfault when using drivermgr with the DuckDB

DuckDB claims to fully implement ADBC interface https://github.com/duckdb/duckdb/issues/7141.
I've tried using drivermmgr to query DuckDB with it, but the code panics with Segfault.
SIGSEGV: segmentation violation
PC=0x0 m=10 sigcode=1
signal arrived during cgo execution

goroutine 19 [syscall]:
runtime.cgocall(0x100428b90, 0xc000167c50)
	/usr/local/opt/go/libexec/src/runtime/cgocall.go:157 +0x4b fp=0xc000167c28 sp=0xc000167bf0 pc=0x10000b70b
github.com/apache/arrow-adbc/go/adbc/drivermgr._Cfunc_AdbcStatementRelease(0xc00011e390, 0xc000390db0)
	_cgo_gotypes.go:386 +0x48 fp=0xc000167c50 sp=0xc000167c28 pc=0x100424468
github.com/apache/arrow-adbc/go/adbc/drivermgr.(*stmt).Close.func1(0xc000167cc8?, 0x10041da25?)
	/Users/anton/go/pkg/mod/github.com/apache/arrow-adbc/go/adbc@v0.8.0/drivermgr/wrapper.go:270 +0x65 fp=0xc000167c90 sp=0xc000167c50 pc=0x100426765
github.com/apache/arrow-adbc/go/adbc/drivermgr.(*stmt).Close(0x1008e9ef0?)
	/Users/anton/go/pkg/mod/github.com/apache/arrow-adbc/go/adbc@v0.8.0/drivermgr/wrapper.go:270 +0x31 fp=0xc000167cc0 sp=0xc000167c90 pc=0x1004266b1
github.com/levakin/adbc-duckdb-example.selectAll.func1()
	/Users/anton/Git/github.com/levakin/adbc-duckdb-example/main.go:57 +0x25 fp=0xc000167cd8 sp=0xc000167cc0 pc=0x100428125
github.com/levakin/adbc-duckdb-example.selectAll({0x10059c120, 0x100928240}, {0x10059f0e0?, 0xc000120058?})
	/Users/anton/Git/github.com/levakin/adbc-duckdb-example/main.go:74 +0x249 fp=0xc000167d78 sp=0xc000167cd8 pc=0x100428029
github.com/levakin/adbc-duckdb-example.Run({0x10059c120, 0x100928240})
	/Users/anton/Git/github.com/levakin/adbc-duckdb-example/main.go:41 +0x212 fp=0xc000167f30 sp=0xc000167d78 pc=0x100427c72
github.com/levakin/adbc-duckdb-example.TestRun(0xc000102ea0)
	/Users/anton/Git/github.com/levakin/adbc-duckdb-example/main_test.go:9 +0x26 fp=0xc000167f70 sp=0xc000167f30 pc=0x100428526
testing.tRunner(0xc000102ea0, 0x100512760)
	/usr/local/opt/go/libexec/src/testing/testing.go:1595 +0xff fp=0xc000167fc0 sp=0xc000167f70 pc=0x100115bbf
testing.(*T).Run.func1()
	/usr/local/opt/go/libexec/src/testing/testing.go:1648 +0x25 fp=0xc000167fe0 sp=0xc000167fc0 pc=0x100116b45
runtime.goexit()
	/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000167fe8 sp=0xc000167fe0 pc=0x100074561
created by testing.(*T).Run in goroutine 1
	/usr/local/opt/go/libexec/src/testing/testing.go:1648 +0x3ad

Repo with the code to reproduce the bug.
I've tried running the same operation with python adbc driver manager and it works correctly.
Dataset contains 51007989 rows. If I limit amount of selected rows to 1 million then there's no SIGSEGV
Bug is found on darwin amd64.
DuckDB 0.9.2
arrow-adbc 0.8.0
go 1.21
cc @zeroshade

Annoyingly, I can't seem to reproduce this issue on Linux, I'm going to try to reproduce using a MacOS machine and see if this issue is somehow limited to MacOS.

I've also tried on linux and it's not reproduced there

@zeroshade I've found the bug.
https://github.com/apache/arrow-adbc/blob/cc0c4e9c01b1feb7c175b22f7cc1b0d019751745/go/adbc/drivermgr/wrapper.go#L103-L116
On MacOS this code executes earlier than defer Close on statements.
I propose to change this logic. Move it to Close method of the Database.


Deprecation warnings not emitted when calling operations that are deprecated

When an operation is marked deprecated, the generated gives the APIProtocol definition an availability annotation marking it as deprecated. However the method on the Client object which implements the protocol is not given an annotation. When it is called, no warning is emitted. It's not clear to me if this is an Xcode/Swift bug, or expected behaviour.
let client = Client(
               serverURL: URL(string:"https://api.something.com")!,
               configuration: .init(),
               transport: URLSessionTransport(),
               middlewares: []
)

let erasedClient : some APIProtocol = client

// Emits no warning in Xcode 15b5
let a = try await client.someDeprecatedMethod()

// Emits a warning
let b = try await erasedClient.someDeprecatedMethod()

I'm able to reproduce, let me fix this quickly.


Upcoming: KDE is moving to Libera

Everytime I want to check KDE's progress, I have to dig out this link:
https://mail.kde.org/pipermail/kde-community/2021q2/thread.html#6888
Use this issue for tracking.

Everything has moved to Libera https://userbase.kde.org/IRC_Channels


[mac] new OT API to control the beacon joinable flag

This commit defines new methods in Mac along with new OpenThread
public APIs to allow direct control of the "Joining Permitted" flag
used in transmitted IEEE 802.15.4 Beacon frames.
A new spinel property SPINEL_PROP_MAC_BEACON_JOINABLE to control
this flags is added. Its get/set handlers are also implemented in NCP.
Spinel documentation is also updated for the new property.

Closing this for to combine it as a feature  with oob steering data...


Merge Docusign dev to Microsoft dev

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[ ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@microsoft-github-policy-service agree [company="{Docusign}"]
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree [company="{Docusign}"]
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree [company="Docusign"]
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree company="Docusign"


Restart policies differs

Hello,
I've found that the --restart option can take different values from where you read it in the documentation :
File: engine/reference/commandline/run.md, CC @gbarr01
File: config/containers/start-containers-automatically.md, CC @gbarr01
Or maybe are those pages talking about different things.
Thank you !
Dorian

Thanks, @dkurzaj .
@joaofnfernandes,
This docs page: https://docs.docker.com/engine/reference/commandline/run/#restart-policies---restart
is generated from this cli page: https://github.com/docker/cli/blob/c19b272c09274c18e2a1eeafe4b495d3fecd837f/docs/reference/commandline/run.md#restart-policies---restart
The docs page does not match and I'm trying to figure out why. I just committed a tiny change by adding two newlines ...  if this doesn't work, perhaps you can help me debug.

This looks to already have been fixed through https://github.com/docker/cli/pull/909; that fix is included in the upcoming 18.03 release https://github.com/docker/docker-ce/commit/767a8f62271a7a65b635a98e339a773bb01fd881

This was fixed in:  https://github.com/docker/docker.github.io/pull/6234


preview drafts

Is there any ability to preview draft in browser when you work on it? Of course - i can publish/unpublish, but maybe you know better way? :)

Add --drafts to the end of serve line:
jekyll s --drafts
https://www.justinrummel.com/migrating-from-octopress-2-to-octopress-3/


Pipelined integer multiply

Motivation
Integer multiplication in a pipeline is a nice component for the library
Desired solution
A simple pipelined integer multiplier
Alternatives considered
No response
Additional details
No response

Let me work on this


Kodi: use kodi fork of libdvdnav/libdvdread. Fix #24153 (dvd playback)

Motivation for this change
The Kodi project has forked libdvdnav and libdvdread to include kodi specific support. See http://forum.kodi.tv/printthread.php?tid=294976
Dvd playback in kodi does not work with upstream libdvdnav/libdvdread.
Things done

Built on platform(s)

[x] Linux

[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @titanous

Is there a reason why you didn't pick the forked libdvdcss as well? Also, travis seems to fail building kodi due to some linking error. Can you double check? Thanks!

I cannot see why travis is failing. My machine is on 17.03, could that be the reason why I cannot reproduce the failure of nix-build -A kodiPlain -A kodi -A kodiPlugins.pvr-hts?
As for libdvdcss I did not use kodi fork, as their commits do not look like to be kodi-specific but just fixes/improvement that should be send to the upstream project. The upstream project did not want kodi "fixes" and is still actively maintained, with many commits ahead of kodi fork, potentially fixing same/more issues than the fork.

Heh, that's what happens with master on my machine:
[ RUN      ] TestJobManager.AddJob
/nix/store/fibk8jc2iwswn1q1d7aw98pcw2l3lzjf-bash-4.4-p12/bin/bash: line 1: 31312 Segmentation fault      /tmp/nix-build-kodi-17.1.drv-0/xbmc-17.1-Krypton/$check_program
make: *** [Makefile:618: check] Error 139
builder for ‘/nix/store/wj1a5rahrn40d3s4bgi3s9ljhx0g4zx3-kodi-17.1.drv’ failed with exit code 2
error: build of ‘/nix/store/wj1a5rahrn40d3s4bgi3s9ljhx0g4zx3-kodi-17.1.drv’ failed
The invocation of "nix-build -A kodiPlugins.pvr-hts -A kodiPlain -A kodi /home/page/dev/nixpkgs" failed

So it built kodi but segfaults in a test. Can you test on master and see what do you get?
Also, would be nice if you can add a small comment making it clear that we're picking the forks cause otherwise dvd playback does not work.

The crash seems to be no longer an issue.

@Mic92 can you also backport the fix to 17.03?

Done, thanks


supporting vector parameters for mixture

Hi,
In the example below:
Create a mixture of two Gaussians:
tfd = tf.contrib.distributions
mix = 0.3
bimix_gauss = tfd.Mixture(
cat=tfd.Categorical(probs=[mix, 1.-mix]),
components=[
tfd.Normal(loc=-1., scale=0.1),
tfd.Normal(loc=+1., scale=0.5),
])
# Why cannot I apply it to vector parameters?
tfd.Normal(loc=[-1, 0]., scale=[0.1, 0.2),
tfd.Normal(loc=[+1., 2.], scale=[0.5, 3.]),

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Nagging Assignee @rohan100jain: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hi bashhwu. Thanks for reporting this issue!  Let me study this issue and report back indicating whether this is or is not expected behavior.

Nagging Assignee @jvdillon: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Are you looking to get a mixture of two bivariate Normals, or two mixtures of scalar Normals?
Here's how you can achieve a bimixture of bivariate spherical Normals:
bimix_bigauss = tfd.MixtureSameFamily(
    mixture_distribution=tfd.Categorical(probs=[.3,1-.3]),
    components_distribution=tfd.Independent(
        tfd.Normal(loc=[[-1.,0],[1,2]], scale=[[0.1,0.2],[0.5,3.]]),
        reinterpreted_batch_ndims=1))
print(bimix_bigauss)
# ==> tf.distributions.MixtureSameFamily("MixtureSameFamily/", batch_shape=(), event_shape=(2,), dtype=float32)

Here's how you can achieve two bimixtures of scalar Normals:
bimix_gauss = tfd.MixtureSameFamily(
    mixture_distribution=tfd.Categorical(probs=[.3,1-.3]),
    components_distribution=tfd.Normal(loc=[[-1.,0],[1,2]], scale=[[0.1,0.2],[0.5,3.]]))
print(bimix_gauss)
# ==> tf.distributions.MixtureSameFamily("MixtureSameFamily_1/", batch_shape=(2,), event_shape=(), dtype=float32)

As for using tfd.Mixture, its possible there's a broadcasting bug. However in your case using MixtureSameFamily is probably more efficient and things do work there.

As for using tfd.Mixture, it appears to not be broadcasting the mixture distribution. That said it can be made to work by tiling the mix probs, eg
mix = 0.3
bimix_gauss = tfd.Mixture(
    cat=tfd.Categorical(probs=[[mix, 1.-mix],[mix,1.-mix]]),
    components=[
        tfd.Normal(loc=[-1.,0], scale=[0.1,0.2]),
        tfd.Normal(loc=[+1.,2.], scale=[0.5,3]),
])

Nagging Assignee @jvdillon: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jvdillon: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jvdillon: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jvdillon: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jvdillon: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Script to update rootcerts.json

Originally from: https://github.com/bitpay/bitcore/blob/v0.1/browser/root-certs
Cert URL was updated to: https://raw.githubusercontent.com/nodejs/node/master/src/node_root_certs.h
Closes #17

ACK, great!

nice @braydonf!


Refactor and release to v1.2

Refactor the whole library, rewrite the comments, release to v1.2.
Widget progress: (9)

[x] placeholder_text.dart
[x] drawer_list_view.dart
[x] icon_text.dart
[x] popup_menu.dart -> popup_list_menu.dart
[x] ripple_sized_view.dart
[x] scroll_fab.dart -> animated_fab.dart
[x] scroll_fab_controller.dart
[x] sliver_appbar_delegate.dart -> sliver_daelegate.dart
[x] sliver_container.dart
[x] dummy_view.dart
[x] text_group.dart
[x] lazy_indexed_stack.dart
[x] tab_in_page_notification.dart
[x] function_drawer.dart

List related progress: (4)

[x] append_indicator.dart
[x] refresh_listview.dart
[x] refresh_sliver_listview.dart
[x] refresh_staggered_grivview.dart
[x] append_listview.dart
[x] append_sliver_listview.dart
[x] append_staggered_grivview.dart
[x] scroll_more_controller.dart
[x] updatable_dataview.dart
[x] refreshable_dataview.dart
[x] pagination_dataview.dart

Image related progress: (3)

[x] local_network_image_provider.dart -> file_or_network_image_provider.dart
[x] local_network_image_provider_io.dart -> file_or_network_image_provider_io.dart
[x] multi_image_stream_completer.dart

Util related progress: (7)

[x] action_controller.dart
[x] tuple.dart
[x] hash.dart
[x] extensions.dart
[x] dart_extension.dart
[x] flutter_extension.dart
[x] filesize.dart
[x] notifier_data.dart

Split flutter_ahlib.dart library file to:
widget.dart
list.dart
image.dart
util.dart


Create illegal symbol in File mode

As you said, there are limitations (illegal character) when you use Folder mode. But in File mode, these characters are also unallowed in Filename, So how can File mode solve this problem?'
Thank you.

Hi, make the file like
absolute/path/to/image/hi_0.jpg
\/***
absolute/path/to/image/name_1.jpg
\\\\<>|

and so on

Hi, make the file like
absolute/path/to/image/hi_0.jpg
\/***
absolute/path/to/image/name_1.jpg
\\\\<>|

and so on

Thank you. So the filename is arbitrary. The label will be read from the line below Filename (2nd line, 4th line, ...). Is it right?

YES！


fixed derived class unloading for plugins

Following use case:

A plugin: "A" creates a new class derived from some base class in a dynamic library: "B".
An applications loads now B implicit (its always in memory) and loads "A" via RTTR
When "A" gets unloaded the derived class is still connected to the library "B"
So when I retrieve all derived classes from a library of B, I still get the derived type as returned library.

This commit will fix this.

Coverage increased (+0.1%) to 93.312% when pulling d970dae71c4f0d37786095221b02750f3da7440f on acki-m:fix-plugin-unload-with-base-class into b07143699d00289a4092d90944225b093397b5b2 on rttrorg:master.

fixes #163


[BEAM-8993] [SQL] MongoDB predicate push down.

Add a MongoDbFilter class, implementing BeamSqlTableFilter.

Support simple comparison operations.
Support boolean field.
Support nested conjunction/disjunction.

Update MongoDbTable#buildIOReader

Construct a push-down filter from RexNodes.
Set filter to FindQuery.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run SQL PreCommit

Run JavaPortabilityApi PreCommit

Run JavaBeamZetaSQL PreCommit

R: @TheNeuralBit
CC: @apilloud
CC: @amaliujia

Run sql postcommit

@TheNeuralBit
Could you re-run java presubmit and sql postcommit tests please?

Run java presubmit

Run sql postcommit

It looks like a test failure is due to a flake:
Could not resolve net.minidev:json-smart:[1.3.1,2.3]
... Read timed out

Run sql postcommit

Run JavaBeamZetaSQL PreCommit

Run SQL PreCommit

.

No tests running.

test this please

Run precommits

Run SQL PreCommit

Run SQL PreCommit

PreCommit

https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_PreCommit_SQL_Phrase/8/


Not able to see the file index.html in specified folder path.

We are using C# Extent ver 4.1.0 and not able to see the file index.html in specified folder path (instead shows up where my calling application folder is like /bin/Debug). Here is our code:
// AutoParms.FilePaths.ResultsDirectory = Path.Combine(System.AppContext.BaseDirectory, "Results");

if (!Directory.Exists(AutoParms.FilePaths.ResultsDirectory))
                Directory.CreateDirectory(AutoParms.FilePaths.ResultsDirectory);

            var htmlReporter = new ExtentHtmlReporter(Path.Combine(AutoParms.FilePaths.ResultsDirectory));
            htmlReporter.Config.Theme = AventStack.ExtentReports.Reporter.Configuration.Theme.Dark;
            ExtentReports instance = new ExtentReports();
            instance.AttachReporter(htmlReporter);
instance.Flush();

Any idea why?

Same here. here is how i do :

Same here. here is how i do ;
string path = AppDomain.CurrentDomain.BaseDirectory.Replace(@"\myfolder\myfolder\bin\Debug", "");
path = path + @"Extras\last_report\index.html";
Not the best way but it works.

Thanks @Overclock303 !
It looks like there is a bug that always seem to save the html in the directory before the current one.

@quldude  You need '/' After Result
AutoParms.FilePaths.ResultsDirectory = Path.Combine(System.AppContext.BaseDirectory, "Results/");


Alamofire minimum deployment target warning

See https://github.com/Alamofire/Alamofire/issues/871
/Users/muhasturk/Yandex.Disk/Docs/University/2015-2016/Bitirme Projesi/Source/Smart Citizen/Pods/Alamofire/Source/ParameterEncoding.swift:230:12: Unnecessary check for 'iOS'; minimum deployment target ensures guard will always be true

fixed.


No notification for virtual keyboard hide

Godot version:
3.2.1
OS/device including version:
Android 10
Issue description:
There is a notification in the MainLoop for
NOTIFICATION_WM_GO_BACK_REQUEST:
and
NOTIFICATION_WM_QUIT_REQUEST:
These notifications try to catch the use of the BACK button.  However, when the Virtually Keyboard is open, Godot is not catching the BACK button being pressed.
It looks like the BACK button changes its state when the keyboard is open.  Even the icon for the BACK button changes to a down arrow (v).  When the virtual keyboard is open, the back button simply hides the keyboard.  After the keyboard in hid, the BACK button returns to normal BACK button.

One workaround I have found is to check if OS.get_virtual_keyboard_height() returns zero. The problem is that it has the delay of the keyboard slide animation.


Godot 4 Gridmap navigation - agent ignores target and moves to Gridmap's origin instead.

Godot version
v4.0.dev.calinou.f09d88443
System information
Win10, GLES3, RTX 2070 mobile
Issue description
When using 3d gridmap with per-tile navmesh, the agent doesn't move towards the target. Instead it moves towards the center of the gridmap node.
Steps to reproduce

Start a 3d scene, create a mesh instance - plane
Duplicate the mesh, turn one into a navigation mesh (Mesh > Create Navigation Mesh) and make it a child of the first one
Turn the other into a Trimesh Static Body).
Convert the scene into a mesh library.
start a new scene
create a characterbody3d with capsule mesh, attach the player script (project attached hereto)
create a navigationagent3d as a child of the characterbody3d and connect to the function in the script
create a gridmap, load the mesh library (make sure the tile has a navmesh - sometimes it doesn't save when converting scene to mesh lib)
draw some tiles on the grid
put the character on the grid
create a 3d node for target and place it somewhere on the grid
run the game - the character node will move towards the center of the grid map, ignoring its target completely

Minimal reproduction project
Navitest.zip

4.0 dev

Please edit your issue to specify the exact build commit, as 4.0.dev is a moving target.

4.0 dev

Please edit your issue to specify the exact build commit, as 4.0.dev is a moving target. You can copy the build version by clicking the version identifier at the bottom of the editor, in the project manager or in the About dialog.

Done. This issue is actually also present in multiple other builds.

The GridMap does not build and register the NavigationMeshes correctly on the NavigationServer so the grid cell navregions are never merged and the only point available on the navigation is the scene origin in the center.
The first issue is that the "bake_navigation" stores NavigationMeshes that do not fit their own properties, especially when imported from another software the mesh has nothing to do with the NavigationMesh properties so when the NavigationServer wants to merge the regions based on e.g. cell_size and other properties it fails with a million error messages.
The seconds issue is that the GridMap does not add or update the navregions correctly when joining the SceneTree.


New task/auto publish products by tag

New PR created due to branch name change. Previous PR - #60

 New task: Auto-publish products having a certain tag


Mixed macro style produces compiler error

Consider this code
class Test
	macro def self.foo
		nil
	end
	class << self
		macro def bar
			nil
		end
	end
end

it should compile successfully. But the current mirah compiler yields
src/org/mirah/macros/builder.mirah:216:

ERROR: Type redeclared as org.mirah.macros.Compiler from [org.mirah.macros.Compiler]
          @mirah = mirah
          ^^^^^^
src/org/mirah/macros/builder.mirah:217:

ERROR: Type redeclared as mirah.lang.ast.CallSite from [mirah.lang.ast.CallSite]
          @call = call
          ^^^^^
src/main/mirah/org/palai/client/db/PalaiClientDatabaseObject.mirah:82:

ERROR: Internal compiler error: org.mirah.tool.CompilationFailure null. Rerun in verbose mode for stacktrace.
                macro def bar
  ^^^^^^^^^^^^^

This bug also occurs if macros are inherited and the inherited macro were written in a different macro style than the macros in the inheriting class.

Perhaps static and instance level macros should be generated to different class names. I think they are the same right now.

macro def self.x isnt instance-level though, right?


feat: central location for ColumnDataTypes

Description
This PR does two things

It splits the models.py file into several files and puts them in the models folder.
The COLUMN_DATA_TYPES are applied after a 'migrate', and not as part of the migration. This will simplify changes and all types will be located at a single location (and not in scattered over several migration files)

Related Issues
Closes #133
Related #56
Testing

[X] Yes
[ ] No, not needed (give a reason below)
[ ] No, I need help writing them

Reviewer Focus

The file column_data_type.py and apps.py are the most important files.
The "ready()"-method is triggered automatically by Django on application startup. I have added post_migration "signal", which is a way to execute some code after the migrations have been applied.
The migration file "0001_initial.py" is no longer adding ColumnDataType as this is handled in a different way
Ignore the files in the folder "models" (except column_data_type.py)

Checklist

For all PRs that are not general documentation

[X] Tests accompany or reflect changes to the code
[X] Tests ran and passed locally
[X] Ran the linter and formatter
[X] Build has passed locally
[X] Relevant documentation has been updated

Ah, I approved and now it's merged. Sorry, about that @philter87

Ah, I approved and now it's merged. Sorry, about that @philter87

Okay, I will create a new PR with you suggested changes


Spinner bubbles up tea.Program errors

When running the tea.Program backing the spinner generates an error then bubble it up to the user.
Got bitten by this when a user of our CLI tried running it via ssh. The underlying tea.Program was throwing an error about not having a TTY, but the CLI was just silently eating the error.

In our case we're working around it for now by running the program directly.
s := spinner.New().Title("Waiting…")
p := tea.NewProgram(s, tea.WithContext(ctx), tea.WithOutput(os.Stderr))
_, err := p.Run()

Apologies for the clumsy first attempt. I've given it a proper run through. It seems like the right thing to is to eat the tea.ErrProgramKilled error. Which is generated because we're closing the tea.Program via the context, rather than calling Quit.
Unfortunately I wasn't able to write a reliably failing test case for my TTY-less execution example. I'm not sure it's possible to fake a non-terminal when running tests from within a terminal.


[ovn-northd] Don't set DeployReady condition with replicas 0

When OVNNorthd CR is created with 0 replicas, deployment
get's created and DeploymentReady condition was not set which
leads to Northd CR not getting to Ready State.
With this patch, when northd is deployed with 0 replicas
we drop DeploymentReady condition and let Ready condition
get's set for it.
Related-Issue: OSPRH-2437

recheck infra issue


[incubator/elasticsearch]StatefulSet: Remove pod.alpha.kubernetes.io/initialized annotation annotation which has been deprecated

The pod.alpha.kubernetes.io/initialized annotation was originally a tool for validating StatefulSet's ordered Pod creation guarantees during the feature's alpha phase.
If set to "false" on a given Pod, it would interrupt StatefulSet's normal behavior. In v1.5.0, the annotation was deprecated and the default became "true" as part of StatefulSet's graduation to beta.
The annotation is now ignored, meaning it cannot be used to interrupt StatefulSet Pod management.
StatefulSet: The deprecated pod.alpha.kubernetes.io/initialized annotation for interrupting StatefulSet Pod management is now ignored. If you were setting it to true or leaving it unset, no action is required. However, if you were setting it to false, be aware that previously-dormant StatefulSets may become active after upgrading.
https://github.com/kubernetes/kubernetes/pull/49251

@unguiculus PTAL

Please bump chart version.

gentle ping @unguiculus

I don't see any chart version bump.

It has been fixed , thank you!

/ok-to-test

/lgtm


@rultor release, tag is 1.0.0

@rultor release, tag is 1.0.0

@rultor release, tag is 1.0.0

@ronenhamias OK, I will release it now. Please check the progress here

@rultor release, tag is 1.0.0

@ronenhamias Oops, I failed. You can see the full log here (spent 9s)
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 14393
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri Dec 16 13:11:38 UTC 2016
+ uptime
 13:11:38 up 27 days, 19:26,  0 users,  load average: 0.00, 0.01, 0.05
+ head=git@github.com:scalecube/RabbitMQ.git
+ head_branch=master
+ vars=('--env=head=git@github.com:scalecube/RabbitMQ.git' '--env=head_branch=master')
+ image=yegor256/rultor
+ directory=
+ scripts=()
+ container=scalecube_rabbitmq_4
+ as_root=false
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:scalecube/RabbitMQ.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email<EMAIL_ADDRESS>+ git config user.name rultor
+ '[' -z '' ']'
+ '[' -e pom.xml ']'
+ scripts=('mvn clean test')
+ echo 'pom.xml is here, I guess it is Apache Maven'
pom.xml is here, I guess it is Apache Maven
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'mvn clean test'
+ rm -rf .gpg
+ '[' -z '' ']'
+ echo 'tag name is not provided in the request, see http://doc.rultor.com/basics.html'
tag name is not provided in the request, see http://doc.rultor.com/basics.html
+ exit -1
'cid' file is absent, container wasn't started correctly


What is the loss after training

I trained with my own data set, and loss felt high and converged slowly

如果是没有加载预训练权重的从头训练，请解除前面层的冻结。

我加载预训练权重了，最终earlystopping的loss30多，我在yolov3上训练loss训练后17多，这正常吗

我训练也遇到这种问题，loss很高，还没有我用yolov3得到的loss值低，而且loss值降低的很慢，请问这什么原因呢？

I trained with my own data set, and loss felt high and converged slowly
@lanyufei did you have to use a very small batch size when training on your own dataset? I had to use 4 even though I am using a RTX 2080 TI founders edition GPU with 11g's of ram. Doing the same on qqwweee's implementation, which this borrows from, I could do 16 when training from scratch. Any idea whats using up all the memory?

I trained with my own data set, and loss felt high and converged slowly
@lanyufei did you have to use a very small batch size when training on your own dataset? I had to use 4 even though I am using a RTX 2080 TI founders edition GPU with 11g's of ram. Doing the same on qqwweee's implementation, which this borrows from, I could do 16 when training from scratch. Any idea whats using up all the memory?

qqwweee's implemantation is on yolov3 not v4. yolov4 is a way bigger network and requiers a lot more vram to run. In the github repository of the original yolo their is a section witch tells you what changes you need to do according to your gpu memory to train it faster


Switch build config to CircleCI

Travis doesn't allow multiple language bases per runtime. This is already a problem with running Java, which is why its output generator is disabled in end-to-end tests. The problem will get worse as more output languages are supported.
Using TSLint's setup as an example, it'd be great to have different environments that each run in a particular language, then an additional one for source code linting.

...and that's a wrap! Loving how fast these shared environments boot up.


version 3.2.4: Exception opening some files

I recently started working with CommonCrawl parquet streams. I started with 3.2.3 and was able to rip through all 300 files and open a few columns and process them without any problem. After upgrading to 3.2.4, reprocessing the same files, I run into this exception for a couple of columns (url_query and content_languages). Is this a known problem?
I reverted back to 3.2.3 and am able to process without an issue. The only commonality between these two streams is they are Nullable, but then again I had no problem processing another nullable column.
The data files are too large to share/upload, but can be downloaded using instructions here. I'll try to debug the issue, but hoping this is easily reproducible or already known to be a problem.
Exception: Index was outside the bounds of the array.. Stack:    at Parquet.File.Values.RunLengthBitPackingHybridValuesReader.ReadRle(Int32 header, BinaryReader reader, Int32 bitWidth, Int32[] dest, Int32 offset)
   at Parquet.File.Values.RunLengthBitPackingHybridValuesReader.ReadRleBitpackedHybrid(BinaryReader reader, Int32 bitWidth, Int32 length, Int32[] dest, Int32 offset)
   at Parquet.File.DataColumnReader.ReadDataPage(PageHeader ph, ColumnRawData cd, Int64 maxValues)
   at Parquet.File.DataColumnReader.Read()
   at Parquet.ParquetRowGroupReader.ReadColumn(DataField field)

Can confirm there is an issue with 3.2.4. The parq command line tool also suffers from this. parq 3.2.4 fails at opening some larger files that parq 3.2.2 has no problem opening for viewing and converting to json representation.

@mmolaro thanks for the confirmation. I'm following up on this issue in the comment section of the commit which introduced this fix.


Add link to community drive for design docs

Get folks to join the drive rather than requesting access for each doc. :/
Release note:

<PLEASE PUT RELEASE-NOTE HERE, PUT NONE if NO RELEASE-NOTE>

@louiscryan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-auth.sh
f82acd0eb0893217d8923f771d6a9f45ce9de298
link
/test e2e-suite-no_rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@louiscryan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-auth.sh
f82acd0eb0893217d8923f771d6a9f45ce9de298
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-rbac-auth.sh
f82acd0eb0893217d8923f771d6a9f45ce9de298
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

lgtm

/approve no-issue

please update the description/release note section


new feature: improve the test cleanup to remove all test files after running tests

Feature Description
delete all test files permanently after running tests
Problem and Solution
Current behaviors

some test files are generated by TEST_FIXTURE, they gets deleted automatically after running the tests. such as:
https://github.com/apache/opendal/blob/d479ac39efa9a88e10448ad81e47292b3b4ed688/core/tests/behavior/async_write.rs#L71
some test files are generated during test cases and are manually removed before the test cases finish. such as:
https://github.com/apache/opendal/blob/d479ac39efa9a88e10448ad81e47292b3b4ed688/core/tests/behavior/async_write.rs#L143

Problems
There are some cases where the test files might not be permanently deleted, which could lead to increased storage usage in backend services.

In the first scenario,  when versioning is enabled,  even if we delete the test files after running the tests, they still remain due to versioning.  To remove them permanently, we must use a delete operation that specifies the version.
In the second scenario, if the test cases fail, the cleanup process will not be executed,  leaving the test files behind.

Additional Context
No response
Are you willing to contribute to the development of this feature?

[ ] Yes, I am willing to contribute to the development of this feature.

non-goal, I prefer to let the storage services to cleanup them.


OS error occured

Hi. I installed ytfs with pip3 install. However it turns out that there is some error on my computer so I cannot run the source code.

After see this message, I just delete ytfs with pip uninstall and installed it with python setup.py install, but same error occurs. Is there any way to solve this problem?
Thanks.

It seems like you are using Windows, which unfortunately is unsupported platform. This is because there's no FUSE implementation available for Windows (sorry for not pointing it out in readme, I'll add a note). The only solution I can think of is sharing ytfs over network from some Unix-like system.

Oh.. Yes I'm using Windows 8 (64Bit). It would be great if you add a comment on readme file :) Thank you for your help!

Note added.
I'll also try to test YTFS with Dokany on Windows. I don't expect much, but maybe it will work :)


[macOS] Fix crash on failed fork.

Use SIGKILL instead of SIGABRT. This should not have any negative effects, but probably we should make NSTask based implementation at some point (see #17629).
Fixes #17615

Thanks!

Cherry-picked for 3.2.3.


Bot doesn't seem to create logs

Whenever a thread was closed a message like this was sent:

With a working link, however now when a thread is closed, no message is sent, and the !logs command no longer seems to work

Found the issue. The bot couldn't seem to find my IP address. The easiest way to fix was to manually set url in config.json to http://<your_ip>:8890


Prefer HEAD requsets

This pull requests moves the default HTTP verb from GET to HEAD to attempt to speed things up.
The only check that actually looks at the response body is the Content check. Checking, if, e.g., an endpoint responds, or what headers it returns, can be accomplished with a HEAD request, which, per the spec, should be identical to a GET request, just without the response body.

Tested with the 15 2016 candidates and the output is identical with HEAD requests as with GET requests.


Billing screen not show on shopify store

Hello,
I have installed the package and created a Shopify app.
App installation and uninstall functionality is working fine and I have set up a one-time payment on app.
And I have followed this documentation :
https://github.com/ohmybrew/laravel-shopify/wiki/Creating-a-Billable-App
But the billing page is not showing in Shopify app it is directly installed my app on the store without any payment.
Can you please check and let me know which thing is missing from my end.
I have attached plan table and Shopify app screenshot please check and let me know

What is your config settings.

Please check :
 (bool) env('SHOPIFY_MANUAL_MIGRATIONS', false),

    /*
    |--------------------------------------------------------------------------
    | Namespace
    |--------------------------------------------------------------------------
    |
    | This option allows you to set a namespace.
    | Useful for multiple apps using the same database instance.
    | Meaning, one shop can be part of many apps on the same database.
    |
    */

    'namespace' => env('SHOPIFY_APP_NAMESPACE', null),

    /*
    |--------------------------------------------------------------------------
    | Shop Model
    |--------------------------------------------------------------------------
    |
    | This option is for overriding the shop model with your own.
    |
    */

    'shop_model' => env('SHOPIFY_SHOP_MODEL', '\OhMyBrew\ShopifyApp\Models\Shop'),

    /*
    |--------------------------------------------------------------------------
    | AppBridge Mode
    |--------------------------------------------------------------------------
    |
    | AppBridge (embedded apps) are enabled by default. Set to false to use legacy
    | mode and host the app inside your own container.
    |
    */

    'appbridge_enabled' => (bool) env('SHOPIFY_APPBRIDGE_ENABLED', true),

    /*
    |--------------------------------------------------------------------------
    | Shopify App Name
    |--------------------------------------------------------------------------
    |
    | This option simply lets you display your app's name.
    |
    */

    'app_name' => env('SHOPIFY_APP_NAME', 'Ad Downtime'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Version
    |--------------------------------------------------------------------------
    |
    | This option is for the app's API version string.
    | Use "YYYY-MM" or "unstable". Refer to Shopify's documentation
    | on API versioning for the current stable version.
    |
    */

    'api_version' => env('SHOPIFY_API_VERSION', null),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Key
    |--------------------------------------------------------------------------
    |
    | This option is for the app's API key.
    |
    */

    'api_key' => env('SHOPIFY_API_KEY', '503dd500a600cffa95770647735eb5ec'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Secret
    |--------------------------------------------------------------------------
    |
    | This option is for the app's API secret.
    |
    */

    'api_secret' => env('SHOPIFY_API_SECRET', '2c1b69c90612c6239331a0534eb567bd'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Scopes
    |--------------------------------------------------------------------------
    |
    | This option is for the scopes your application needs in the API.
    |
    */

    'api_scopes' => env('SHOPIFY_API_SCOPES', 'read_products,write_products'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Grant Mode
    |--------------------------------------------------------------------------
    |
    | This option is for the grant mode when authenticating.
    | Default is "offline", "per-user" is available as well.
    | Note: Install will always be in offline mode.
    |
    */

    'api_grant_mode' => env('SHOPIFY_API_GRANT_MODE', 'offline'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Redirect
    |--------------------------------------------------------------------------
    |
    | This option is for the redirect after authentication.
    |
    */

    'api_redirect' => env('SHOPIFY_API_REDIRECT', '/authenticate'),

    /*
    |--------------------------------------------------------------------------
    | Shopify API class
    |--------------------------------------------------------------------------
    |
    | This option option allows you to change out the default API class
    | which is OhMyBrew\BasicShopifyAPI. This option is mainly used for
    | testing and does not need to be changed unless required.
    |
    */

    'api_class' => env('SHOPIFY_API_CLASS', \OhMyBrew\BasicShopifyAPI::class),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Rate Limiting
    |--------------------------------------------------------------------------
    |
    | This option option allows you to enable basic rate limiting
    | for API calls using the default BasicShopifyAPI library.
    | Default is off.
    |
    */

    'api_rate_limiting_enabled' => env('SHOPIFY_API_RATE_LIMITING_ENABLED', false),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Rate Limit Cycle
    |--------------------------------------------------------------------------
    |
    | This option option allows you to set the millisecond cycle for
    | API calls using the default BasicShopifyAPI library.
    | Default is 500ms per API call.
    | Example: 0.5 * 1000
    |
    */

    'api_rate_limit_cycle' => env('SHOPIFY_API_RATE_LIMIT_CYCLE', null),

    /*
    |--------------------------------------------------------------------------
    | Shopify API Rate Limit Cycle Buffer
    |--------------------------------------------------------------------------
    |
    | This option option allows you to set the millisecond buffer for
    | API calls using the default BasicShopifyAPI library which gets
    | appended to the `api_rate_limit_cycle` value for a safety net.
    | Default is 100ms per API call.
    | Example: 0.1 * 1000
    |
    */

    'api_rate_limit_cycle_buffer' => env('SHOPIFY_API_RATE_LIMIT_CYCLE_BUFFER', null),

    /*
    |--------------------------------------------------------------------------
    | Shopify "MyShopify" domain
    |--------------------------------------------------------------------------
    |
    | The internal URL used by shops. This will not change but in the future
    | it may.
    |
    */

    'myshopify_domain' => env('SHOPIFY_MYSHOPIFY_DOMAIN', 'myshopify.com'),

    /*
    |--------------------------------------------------------------------------
    | Enable Billing
    |--------------------------------------------------------------------------
    |
    | Enable billing component to the package.
    |
    */

    'billing_enabled' => (bool) env('SHOPIFY_BILLING_ENABLED', true),
    // 'billing_enabled' => 1,

    /*
    |--------------------------------------------------------------------------
    | Enable Freemium Mode
    |--------------------------------------------------------------------------
    |
    | Allow a shop use the app in "freemium" mode.
    | Shop will get a `freemium` flag on their record in the table.
    |
    */

    'billing_freemium_enabled' => (bool) env('SHOPIFY_BILLING_FREEMIUM_ENABLED', false),
   // 'billing_freemium_enabled' => 0,

    /*
    |--------------------------------------------------------------------------
    | Billing Redirect
    |--------------------------------------------------------------------------
    |
    | Required redirection URL for billing when
    | a customer accepts or declines the charge presented.
    |
    */

    'billing_redirect' => env('SHOPIFY_BILLING_REDIRECT', '/billing/process'),

    /*
    |--------------------------------------------------------------------------
    | Shopify Webhooks
    |--------------------------------------------------------------------------
    |
    | This option is for defining webhooks.
    | Key is for the Shopify webhook event
    | Value is for the endpoint to call
    |
    */

    'webhooks' => [
		 [
            'topic' => env('SHOPIFY_WEBHOOK_1_TOPIC', 'app/uninstalled'),
            'address' => env('SHOPIFY_WEBHOOK_1_ADDRESS', 'https://app.addowntime.com/webhook/app-uninstalled')
        ]
        /*
            [
                'topic' => env('SHOPIFY_WEBHOOK_1_TOPIC', 'orders/create'),
                'address' => env('SHOPIFY_WEBHOOK_1_ADDRESS', 'https://some-app.com/webhook/orders-create')
            ],
            ...
        */
    ],

    /*
    |--------------------------------------------------------------------------
    | Shopify ScriptTags
    |--------------------------------------------------------------------------
    |
    | This option is for defining scripttags.
    |
    */

    'scripttags' => [
        /*
            [
                'src' => env('SHOPIFY_SCRIPTTAG_1_SRC', 'https://some-app.com/some-controller/js-method-response'),
                'event' => env('SHOPIFY_SCRIPTTAG_1_EVENT', 'onload'),
                'display_scope' => env('SHOPIFY_SCRIPTTAG_1_DISPLAY_SCOPE', 'online_store')
            ],
            ...
        */
    ],

    /*
    |--------------------------------------------------------------------------
    | After Authenticate Job
    |--------------------------------------------------------------------------
    |
    | This option is for firing a job after a shop has been authenticated.
    | This, like webhooks and scripttag jobs, will fire every time a shop
    | authenticates, not just once.
    |
    */

    'after_authenticate_job' => [
        /*
            [
                'job' => env('AFTER_AUTHENTICATE_JOB'), // example: \App\Jobs\AfterAuthenticateJob::class
                'inline' => env('AFTER_AUTHENTICATE_JOB_INLINE', false) // False = dispatch job for later, true = dispatch immediately
            ],
        */
    ],

    /*
    |--------------------------------------------------------------------------
    | Job Queues
    |--------------------------------------------------------------------------
    |
    | This option is for setting a specific job queue for webhooks, scripttags
    | and after_authenticate_job.
    |
    */

    'job_queues' => [
        'webhooks'           => env('WEBHOOKS_JOB_QUEUE', null),
        'scripttags'         => env('SCRIPTTAGS_JOB_QUEUE', null),
        'after_authenticate' => env('AFTER_AUTHENTICATE_JOB_QUEUE', null),
    ],
];

Thank you. I do not see anything wrong initially. I will attempt to recreate this issue tonight.

ok sure, please do it urgent

Sorry, I do not supply urgent help - this is free and unpaid software.
I will update you with my findings when I can get to it.
Thanks.

Have you found any solution?

Not as of yet.

@baljinder981 Does the shop's plan_id show as null?

@ohmybrew I'm seeing this behavior too with composer.json dependency set to "^8.0". This has not happened for other apps published ~3 weeks ago.
The shops plan_id is indeed showing as NULL.
Trying to get property 'recurring_application_charge' of non-object gets thrown from /src/ShopifyApp/Services/BillingPlan.php120 when using the billable and auth.shop middlewares.
The other difference between this and my other apps is that trial is set to 0 in this one.

Additional Info
I ran a composer update on one of my apps yesterday, which updated the version from 8.0.0 to 8.0.1.
All new installs are now skipping the billing screen and the apps are being successfully installed without any charges being activated.
This happened to 2 new purchases that happened overnight.
This is how the installs look on the application activity stream. You will see there are no billing or charge events being run:

The set of events is supposed to look like this:

So 2 of the events are missing.
Locking the version to 8.0 exactly (i.e. using "8.0" instead of "^8.0" in composer.json) rolls it back to a version that still works.
I'm in discussions with Shopify Support at the moment because this upgrade is now costing me sales, and I'm trying to fix the ones that have been affected.
This is across multiple installs in multiple apps.

Hmm thanks for all the info, will attempt to find out what the issue is.

@darrynten Adding the type to the url is not needed as its inferred from the method argument.
Fresh install via Laradock: https://streamable.com/y50id
It would skip billing if the shop was flagged grandfather or freemium mode is enabled. Thats not the case is it?

@ohmybrew are you testing this on 8.0.1?
There is no freemium and no grandfathered.
The test flag is also disabled in this case, so the billing is "real" billing.
There is also a trial period enabled in this case.
The behavior was exhibiting without the type appended to the authenticate path.
Shopify support have asked me to wait until the end of the trial period to allow them to collect more data.
After the trial period expires (3 more days) then I will be sending them additional information based on what happens to the customers.
I will update here with more information once their trial periods expire.
I'm very interested in tracking down what's causing this behavior. Besides this one hiccough everything else is working quite well.

8.0.1! Ah my bad. No I was using current. I can re-test with 8.0.1 but I suspect I would end up backporting a lot of the auth stuff in v9.

Trials expired and charges reverted and the problem hasn't happened again after downgrading to 8.0

Hello,
look like this issue happening again. The billing page is not showing in Shopify app it is directly installed my app on the store without any payment.
My current package ver. 12.1.0

Hello @osiset I have the same issue, afther click in install app my app redirect me to login page with  "unknow error", but if a remove the billable middleware that's work

I am also getting "Unknown error" when attempting to change to billing on an app that wasn't billing before.
SHOPIFY_BILLING_ENABLED=1 in the .env file and artisan config cache cleared, it creates the user when it gives the 'unknown error' but then with the billing middleware you cannot log into the app.

Could it be custom app related?

Custom App
YES   - Limited to use by one merchant
YES   - Not reviewed by Shopify
NO    - Can’t be converted into a sales channel
NO    - Can’t use the Billing API to charge merchants
This was my problem, hopefully someone else will see this and realise their issue too.

@gbrits  yes its work for me.. but I am getting following error
"Upgrade your account
The operation could not be completed because of the following restrictions in your current plan:
Your plan does not allow Shopify App Store purchases. You can upgrade your plan to enable Shopify App Store purchases.
As account holder you can change the plan at any time."

@gbrits yes its work for me.. but I am getting following error
"Upgrade your account
The operation could not be completed because of the following restrictions in your current plan:
Your plan does not allow Shopify App Store purchases. You can upgrade your plan to enable Shopify App Store purchases.
As account holder you can change the plan at any time."

You will need to use the test flag as described in the documentation, friend.

@gbrits yes its work for me.. but I am getting following error
"Upgrade your account
The operation could not be completed because of the following restrictions in your current plan:
Your plan does not allow Shopify App Store purchases. You can upgrade your plan to enable Shopify App Store purchases.
As account holder you can change the plan at any time."

You will need to use the test flag as described in the documentation, friend.

yess thanks mate I have updated in db test 1 working fine


2D Goal Pose not working in RVIZ

I did a fresh install of Ubuntu 24.04 with ros2 Jazzy distro. After uploading the firmware I sent this command to start the robot: linorobot2_bringup bringup.launch.py micro_ros_transport:=udp4 micro_ros_port:=8888 lidar_transport:=udp_server lidar_server_port:=8889
I then start SLAM: ros2 launch linorobot2_navigation slam.launch.py rviz:=true
And I drive the robot around the room using: ros2 run teleop_twist_keyboard teleop_twist_keyboard
Issue: In RVIZ, when I attempt to use the 2D Goal Pose, the robot doesn't move.
BTW, the accuracy of the map generated is very good.
Here's my ros2 node list:
/behavior_server
/bt_navigator
/collision_monitor
/controller_server
/docking_server
/global_costmap/global_costmap
/launch_ros_23139
/lifecycle_manager_navigation
/local_costmap/local_costmap
/planner_server
/rviz2
/slam_toolbox
/smoother_server
/teleop_twist_keyboard
/transform_listener_impl_58380c84ccb0
/transform_listener_impl_5c92c5831470
/transform_listener_impl_61960e160160
/transform_listener_impl_62c675b05960
/transform_listener_impl_65193ab5cd20
/velocity_smoother
/waypoint_follower

I am looking into this. Will share with you later.

Looking into turtlebot4. We should follow the updates.

I found this: https://github.com/turtlebot/turtlebot4/issues/501
Not sure whether it is helpful for us here.

I followed the nav2 tutorials. The default nav2 configuration works with 2d goal pose slam. So it should be linorobot2 parameters.
To use default nav2, run each of the following in separate terminal.
ros2 launch linorobot2_bringup bringup.launch.py
ros2 launch nav2_bringup navigation_launch.py
ros2 launch slam_toolbox online_async_launch.py
ros2 run rviz2 rviz2 -d $(ros2 pkg prefix nav2_bringup)/share/nav2_bringup/rviz/nav2_default_view.rviz

ros2 run nav2_map_server map_saver_cli -f ~/map

We should specify nav2 params file with
ros2 launch nav2_bringup navigation_launch.py params_file:=<full/path/to/config/nav2_params.yaml>

It was in the robot description package config dir as the sambot tutorial.

https://docs.nav2.org/setup_guides/footprint/setup_footprint.html#footprint-introduction


”Chirpăr”, ”Săsăuș”, ”Vărd”, ”Veseud” are listed in the drop-down menu

Description:
When user writes ”Chirpăr”, ”Săsăuș”, ”Vărd”, ”Veseud” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Chirpăr"

Expected results
The location appears in the drop-down menu as "Sat Chirpăr, SIBIU (Chirpăr)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Săsăuș"

Expected results
The location appears in the drop-down menu as "Sat Săsăuș, SIBIU (Chirpăr)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Vărd"

Expected results
The location appears in the drop-down menu as "Sat Vărd, SIBIU (Chirpăr)".

Step 7
Write in the search bar "Veseud"

Expected results
The location appears in the drop-down menu as "Sat Veseud, SIBIU (Chirpăr)".


mirrorbits: mirror selection broken in some cases

https://mirror.msys2.org/distrib/msys2-x86_64-latest.exe?mirrorlist&fromip=<IP_ADDRESS>
https://mirror.msys2.org/distrib/msys2-x86_64-latest.exe?mirrorlist&fromip=<IP_ADDRESS>
https://mirror.msys2.org/distrib/msys2-x86_64-latest.exe?mirrorlist&fromip=<IP_ADDRESS>

It doesn't select a mirror or weight them which makes no sense..
https://github.com/etix/mirrorbits/issues/113

Fixed via ad3c0220cf93f29


Update v2 API to use 'principal' language

Leaves DB column and table names as is for now.

Update SDB v2 API to accept and return "iam_principal_permissions" instead of 'role'
Rename variables and classes to 'IAM principal' instead of 'role' (little to no logic changes)

Coverage increased (+0.003%) to 61.75% when pulling 53cce5e1530c6a03425d19a09b4ddff7e5f2ddfe on update_v2_api_iam_language into def476b9e64e9e96565fa91fb1917a8b97d6f884 on master.

Coverage increased (+0.003%) to 61.75% when pulling 7b9788ca438608b2f44ae3f7a2128ae6bd061acb on update_v2_api_iam_language into def476b9e64e9e96565fa91fb1917a8b97d6f884 on master.

Coverage increased (+0.003%) to 61.75% when pulling 5b6a812a97a8ed811a2b00611477561e779ab912 on update_v2_api_iam_language into def476b9e64e9e96565fa91fb1917a8b97d6f884 on master.


Cannot read property 'push' of undefined

describe("mock", () => {
  let mockFn;

  aroundEach(function*() {
    mockFn = mock.func();
    yield;
    mock.reset();
  });

  describe("mock function", () => {
    beforeEach(() => mockFn());

    it("should be called", () => mock.verify(mockFn()));
  });
});

This works:
describe("mock", () => {
  let mockFn;

  beforeEach(() => {
    mockFn = mock.func();
  });

  afterEach(() => {
    mock.reset();
  });

  describe("mock function", () => {
    beforeEach(() => mockFn());

    it("should be called", () => mock.verify(mockFn()));
  });
});


Include other extentions to re-compile after change in include

Currently when you change something in a include file (with extentions .i) the plugin checks where this include is used and recompiles all these procedures.
As we also use other extentions than .i, (ex. .f for forms) can you make it optional to also include other extentions besides only .i

New attribute in openedge-project.json: includeFileExtensions (array of strings).
Each extension has to be specified (no wildcard).

Defaults to [".i"] if not provided or empty.

Managed only at the language server level ; no syntax highlight / code completion for those additional extensions in VS Code, but saving one of those files will recompiled all procedures where it is referenced

Will be included in next stable version

Included in 1.4.25


Work on Watch Simulator but not on device

Please, can you help me with running on Watch.
this code
 let socket = WebSocket(url: URL(string: "ws://<IP_ADDRESS>:8088/")!)   socket.delegate = self   socket.connect()
recievie this error:
2017-10-29 23:43:32.179755+0100 WSWatch Extension[429:658375] refreshPreferences: HangTracerEnabled: 0 2017-10-29 23:43:32.180032+0100 WSWatch Extension[429:658375] refreshPreferences: HangTracerDuration: 2000 2017-10-29 23:43:32.180197+0100 WSWatch Extension[429:658375] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0 2017-10-29 23:43:32.631505+0100 WSWatch Extension[429:658436] dnssd_clientstub ConnectToServer: connect()-> No of tries: 1 2017-10-29 23:43:33.635235+0100 WSWatch Extension[429:658436] dnssd_clientstub ConnectToServer: connect()-> No of tries: 2 2017-10-29 23:43:34.636544+0100 WSWatch Extension[429:658436] dnssd_clientstub ConnectToServer: connect()-> No of tries: 3 2017-10-29 23:43:35.637684+0100 WSWatch Extension[429:658436] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:5 Err:-1 Errno:1 Operation not permitted 2017-10-29 23:43:35.638038+0100 WSWatch Extension[429:658436] [] nw_resolver_create_dns_service_locked DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563)
On Simultar work O.K.
Thank you

I don't specifically what you are seeing but those errors all look like DNS errors. I'm gonna guess your watch isn't able to find the server at  the IP address you have in your code. I can't really help with troubleshooting environment related issues, but I would try double checking your watch extension is on WIFI to reach that internal IP. Best of luck.

I've had no luck getting this to work on an actual device either.
I've tried connecting to both a local WebSocket server, and a public one, but I keep getting the same error as bellow.
As above, it works fine in the simulator but no luck on the watch.
New project, nothing else running just:
 let request = URLRequest(url: URL(string: "ws://echo.websocket.org")!) request.timeoutInterval = 5 socket = WebSocket(request: request) socket.delegate = self socket.connect()
Error code:
2018-07-16 17:47:22.624384+1000 Watch Extension[310:158765] dnssd_clientstub ConnectToServer: connect()-> No of tries: 1 2018-07-16 17:47:23.639598+1000 Watch Extension[310:158765] dnssd_clientstub ConnectToServer: connect()-> No of tries: 2 2018-07-16 17:47:24.641709+1000 Watch Extension[310:158765] dnssd_clientstub ConnectToServer: connect()-> No of tries: 3 2018-07-16 17:47:25.644958+1000 Watch Extension[310:158765] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:5 Err:-1 Errno:1 Operation not permitted 2018-07-16 17:47:25.645255+1000 Watch Extension[310:158765] [] nw_resolver_create_dns_service_locked DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563) 2018-07-16 17:47:25.647328+1000 Watch Extension[310:158765] [] nw_connection_get_connected_socket 4 Connection has no connected handler 2018-07-16 17:47:25.647466+1000 Watch Extension[310:158765] TCP Conn 0x17579d30 Failed : error 0:-65563 [-65563] Websocket disconnected2: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -72000.)
Have you heard of anyone who has been able to get this library working on an actual watch or do you have any tips for doing so?

Also have this issue :/


replace pyexiftool

Exiftool is an excellent and venerable command-line tool, and the pyexiftool wrapper for it does a good job of extracting content, but I've spent several hours trying to get it to set exif in a derivative jpeg only to get silent failures on the majority of the tags I attempt (even though it works with exiftool on the command line). The lack of error reporting (not pyexiftool's fault) is just too painful to waste more time on. Piexif looks promising.

this ticket is in work in branch https://github.com/isawnyu/isaw.images/tree/issue30

pyexif seems stable and featureful in tests, so will go ahead with implementation. But we will also need to do something about parsing xmp metadata if present in the original, since piexif doesn't address this use case (exiftool did). Python XMP Toolkit looks promising.


Update Nokogiri to 1.7.2

Due to security release https://github.com/sparklemotion/nokogiri/issues/1634

👍 Thanks!


Documentation missing installation instructions

Thank-you for the work placed to attempt to solve this issue. I arrived at this template from https://stackoverflow.com/questions/67297300/how-to-use-webpack-module-federation-plugin-with-create-react-app-without-ejecti
I would have loved to use your template and see how far I could get.  Unfortunately, lack of installation documentation left me unable to test template or give it a star.
How do I install and use your template?
#From terminal
npx create-react-app microfrontend --template

Again thank-you for releasing your template. I only seek to suggest that documenting this crucial first step may lead to wider adoption and appreciation of your work.
-L

It's a github template.

Then yarn start
Edit modulefederation.config.js in each app to config Module Federation like exposing a component.

Oh okay! I was so confused I thought this was a cra template. My bad! I will try it from there.
-L

Np if you need any help after getting setup just raise another issue.


Adding multiline/IOV APIs

In some cases a user needs to write a list of binary data (like using writelines). It would be useful to have an API like this when working with multiple frames.
Similarly it might be handy to have some kind of API for reading in data to multiple buffers. There is not exactly an analogous API in Python. Though socket.recvmsg_into is close (so might be a starting point).
This can be particularly helpful if the GIL is released in the background as there can be one API call that releases the GIL as opposed to a couple in rapid succession.

I think this is possible using the non-blocking API, pread and pwrite. At least, we do release the GIL when calling IOFuture.get():
https://github.com/rapidsai/kvikio/blob/branch-23.08/python/kvikio/_lib/libkvikio.pyx#L23

Interesting was thinking more of things like preadv & pwritev
This way one could give a list of Array-like objects to KvikIO, which could in turn covert them into an iovec-like object under-the-hood

I think that is a good idea but I would suggest that preadv and pwritev just returns a list of futures. Then we can have a waitall functions that waits on all futures in a list.


QC CI Tests

Develop CI tests for the MHKiT-MATLAB QC module

Accidentally opened 2 identical issues- removing this one


Decimal mode is not applied when creating BigDecimal without scale

Describe the bug
BigDecimal init disregards decimal mode when scale is not used
To Reproduce
Steps to reproduce the behavior:

Create a big decimal with custom decmal mode and no scale

Expected behavior
Decimal mode is applied
Platform

Common

And as precision is going to be removed, I won't be fixing this as it will be changed in a rewrite


Use EC2 instance-id as registered instanceId when in AWS

When running in AWS eureka uses the EC2 instance-ids to register the instances instead of the hostname it does anywhere else. This patch changes all the places where it was hardcoded to use the ins.HostName and changes  it to use a new Id()string method on the Instance struct.
I put the Id()string method in the net.go file as that was where it was being used and there was no other logical place to put it. If you'd like an alternative location I could rework the pull request.

:+1: thanks for the patch, I'll have to test this in my env before merging, but looks good based on a cursory review.

Works for me. :+1:


Add link to README to apispec

Include link to api spec

Related microservices-demo/microservices-demo#181

Coverage remained the same at 64.639% when pulling 54afc60931de3b2d0e7527dfb87959edeb64e437 on link-to-api into e3dff1d139fbe81d8311521bd5e99e1cf1c99986 on master.

Coverage remained the same at 64.639% when pulling 54afc60931de3b2d0e7527dfb87959edeb64e437 on link-to-api into e3dff1d139fbe81d8311521bd5e99e1cf1c99986 on master.


feat: Pages Activity

[x] Home Page
[ ] Playground Page
[x] Itinerary Page
[ ] Profile Page

Marketplace page canceled

Speed up the profile and playground page

#19 Profile is already done, waiting mas @setyofp connect XML and compose mas @algonacci


Missing documentation pages

Affected version(s)
1.0.1-preview
Regression?
NO - This is a new bug
Context
Static pages in docs still have their default contents from DocFx template.
Expected behavior
The following files should contain something that at least makes some sense:

docs/index.md
docs/apidoc/index.md
docs/articles/intro.md

Actual behavior
The above-mentioned files still have their default contents. 🙈
How to reproduce
Build and serve documentation:
dotnet cake docs.cake --target All

Then open a browser on localhost:8080.
Configuration
Configuration is not important for this issue.
Other information
Writing this was a sub-optimal experience. We need a template for documentation-related issues.

Good catch @ric15ni, a PR would be appreciated.

Writing this was a sub-optimal experience. We need a template for documentation-related issues.

Please open an issue about that.


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/19d2e13b-9548-438c-ac12-e9486dc9f121/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

@dandhlee If you add .gitignore to the excludes list in synth.py Autosynth will stop trying to change it. https://github.com/googleapis/sphinx-docfx-yaml/blob/04b3fca172914ca14a7b125850375babe6ec6344/synth.py#L29-L46

Ah that sounds great! Thank you @busunkim96 !!


Chrome -> Chromium part 2

Description
Please include a summary of the change and (if applicable) which issue is fixed.
Checklist:
Please replace every instance of [ ] with [X]

[ ] I have generated a unique GUID for my Map(s)
[ ] I have tested and validated that the new Map(s) work with test data and achieved the desired output
[ ] I have placed the Map(s) within the .\SQLECmd\SQLMap\Maps directory
[ ] I have set or updated the version of my Map(s)
[ ] I have made an attempt to document the artifacts within the Map(s)
[ ] I have consulted the Guide/Template to ensure my Map(s) follow the same format

Thank you for your submission and for contributing to the DFIR community!

Be sure to check your source file path to see which browser is being parsed!


nixos/fontconfig: fix enable option of penultimate

Motivation for this change
Disabling fontconfig.penultimate does not have any effect because cfg in this module points to  config.fonts.fontconfig instead of config.fonts.fontconfig.penultimate. This is a bug and I guess should be backported to 18.09.
Things done

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

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

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

cc @ttuegel

Thanks!


Mermaid preview overlapping

Know issue in the current build that sometimes when there are multiple mermaid diagrams consecutively in a document the preview may show overlapping images. Something I am working on.

redesigned preview area seem to work


hotfix: transaction order in trace_replayBlockTransactions

Hotfix for transactions order only in trace_replayBlockTransactions before a proper PeriodData fix that will be in the next release

This change should be removed in the next release
https://github.com/Taraxa-project/taraxa-node/issues/2495

prnet cleaned-up successfully


Add Multi-NIC CNI case to the list

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/ok-to-test

/approve
/lgtm


Heat fixes

Fixes heat (duh). There's still something caused by the datalayer, which is that when we re-select the heatmap in the modal, coming from a different map, it won't allow image-filters, leaving it uncolorised.
I'm working on that right now, but it might take a bit or not. Your call if you want to merge before it.
@javierarce @saleiva

Frontend tests were OK :+1: (details)


Don't panic on duplicate imports when creating components

Return an error instead since that's more appropriate in this context.
Closes #1786

Unfortunately not at this time. Sometimes it can be handled like in this tests's case where the imported item is the same, but it's also valid to import the same name as a func and then a global for example, and that can't necessarily be handled automatically and probably require source toolchain changes.


feat: support mTLS do both side authentication & authorization.

Codecov Report
Attention: 51 lines in your changes are missing coverage. Please review.

Comparison is base (ed7fe76) 51.75% compared to head (82daf98) 51.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #380      +/-   ##
==========================================
- Coverage   51.75%   51.60%   -0.15%
==========================================
  Files          46       46
  Lines        2885     2893       +8
==========================================
  Hits         1493     1493
- Misses       1263     1271       +8
  Partials      129      129

Files
Coverage Δ

configs/args.go
0.00% <ø> (ø)

pkg/grpc/launcher/launcher.go
4.58% <0.00%> (-0.30%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add keyword "math" and category "science"

Thanks!
CI fails on nightly because of #369 .
Merging this anyway as this change is unrelated.


Optionally store async output?

Sync responds with stdout output and logs stderr.
Async logs both stdout and stderr. Perhaps we could optionally store the async output temporarily to support workflows and piping together functions down the road.
When creating route, user could decide:
"output": "logs|store"

@ccirello I believe that IronFunctions can integrate with Logstash for storing logs because S3 is cloud-locking, so no way to support, let's say, OpenStack Swift, Mimio is not designed to work with logs specifically rather than with files/objects.


:bug: Fix: Update broken changeset

Description
Package name changed which broke the changeset workflow
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #660   👈

This stack of pull requests is managed by Graphite.


dapr telemetry

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
having configured container apps environment with app insights (see https://github.com/microsoft/azure-container-apps/issues/223) I only see http requests and my services receiving requests in app insights, with no errors. is this by design? local development with the dapr sidecar gives much greater telemetry/error experience through zipkin with no additional configuration.
Steps to reproduce

container apps environment with app insights configured
2 container services with dapr sidecar enabled
communicate to each other through dapr sidecar invocation

Expected behavior [What you expected to happen.]
sidecar telemetry and errors.
Actual behavior [What actually happened.]
no sidecar telemetry or errors, just http requests
Screenshots
Additional context

dapr stdout logs are available in the log analytics workspace defined on the environment. Dapr's Application Insights integration is for request tracing https://docs.dapr.io/operations/monitoring/tracing/open-telemetry-collector-appinsights/

@ahmelsayed . Thanks for the reply. I have been using logs to retrieve stdout. the url you linked to me is for running insights for kuburnetes, which I'm not doing, I am running in container apps so do not have access configure open telemetry .

Sorry maybe I misunderstood the type of telemetry you're after.
tagging a couple of dapr experts to weigh on this @berndverst @ItalyPaleAle

will generate some screenshots and post shortly.

Hello @kendallroden @ItalyPaleAle @torosent
I'm currently using 1 App Insights instance and I have 3 Azure Container Apps deployed to 1 single Container Apps Env.
The service named "tasksmanager-frontend-webapp" sends a sync request to the service named "tasksmanager-backend-api" then, the backend API service publishes a message to the Azure Service Bus topic, which the service named "tasksmanager-backend-processor" consumes this message and sends an email via SendGrid, you can check the arch diagram of my project. I'm using Dapr service to service and pub/sub application blocks to achieve this.
What I see in the AppInsights Application map is the below diagram, there is no relation (arrow) between the Frontend App and the Backend App, not there is no relation between the backend service and service bus for example.
What is a document here that will work when we deploy to K8S only, right?
So I was wondering how we can achieve proper tracing for distributed services when deploying to Azure Container Apps and integrate it with App Insights.
The source code of the project is available here, nothing explicit done other than setting the env variable "ApplicationInsights__InstrumentationKey" on the 3 services when deploying to ACA and installing the NuGet "Microsoft.ApplicationInsights.AspNetCore" on the 3 services.


Symbol’s function definition is void: map-apply

Hi,
I know this is still in development, but just so you know: after installing it, restarting Emacs results in:
custom-initialize-reset: Symbol’s function definition is void: map-apply

Oops.

Great, thank you.
And BTW, thanks for this project: I've always felt that Smartparens was way too much for what I need.


Unable to zoom (pinch) on mobile

Hi guys! Thanks for this delightful library. I'm showing rather large images on a new project, and many of them requires zooming (they're mostly of old texts). However, I can't manage to do this on my Nexus 5X or Xiaomi mi5 (Chrome)
Steps to reproduce the behavior:

Go to http://jossmac.github.io/react-images/
Click to open lightbox mode
Pinch to zoom in on image (i.e. native browser zoom)

Expected behavior:

Zooms

Actual behavior:

No zoom happens

@tomfa thanks for the heads up. I'll check it out 👍

Has there been any updates on this issue?

any updates about it?

@jossmac Any update on this feature or issue?

Did anyone come up with a solution for this issue?


Ambiguous Name for HtmlHelper class

There's an Ambiguous Name issue as seen in the image.
Between
System.Web.Mvc.HtmlHelper
PagedList.Mvc.HtmlHelper
Is this as intended?

Same issue here.  Can't create any custom HTML helpers on my page


Update the schema & angular references

[x] Change skinId to weaponId in all documents in the weapons collection.
[x] Change skins type to ObjectId[] in all documents from the weapons collection so it references documents from the skins collection.
[x] Change skinId to handle CDE instead of just DE (see wiki)
[x] Add rarity key to all documents in the skins collection.
[x] Document weaponId for all secondaries and put it in the database.
[x] Update angular references to these schema changes

Closed in: 8d02de64b22dd0102c961e7099cd3900be184aae


There is a color issue after converting rvm to obj file.

Have you tried playing with this option?
  --color-attribute=key               Specify which attributes that contain color, empty key
                                      implies that material id of group is used.

What color to use is not always totally obvious, there are multiple approaches: Sometimes there is a material id in the actual rvm file geometry description, while at other times the metadata in the txt or att file contains attributes with color names.

The same issue for me, after converting to obj, the color is different, and the att file does not contain color names. any idea?
RVM:

OBJ:

Can I fix this by editing the color value in Colorizer.cpp, Is the same MaterialId always have the same color value in different models?


 After all I’m responsible for most of the breakage :)

It's good, thanks for updating this!


Flappy Bird Overhaul

Closes #3
Closes #2
A general overhaul to flappy bird. Creates movable pipes that repeatably spawn. Movement matches the original flappy bird. The bird dies on collision.

Approved

@Galaxy25 Looks like there are some merge conflicts with Assets/Scenes/SampleScene.unity

@BrandonPacewic Forgot to rename the scene so GitHub wouldn't try to merge them together. It should now work. Also I ran clang.

Also updated to Unity version 2021.3.12f1.

Having a public variable makes it easier to edit within Unity allowing it to be tweaked faster. Since the game was a test and not a multiple-month project rechanging the variables would cause more problems than preventing future ones.

Also another use case for public variables would be allowing different types of information upon the game object creation. For example enemies with varying movement speed

I'm getting ready to merge and updating the change log - please @me if any other changes are pushed.

@Galaxy25 Before I merge, is it correct to leave Flying.cs in addition to Movement.cs?

Flying.cs needs to be removed.
Then Approved

Thanks for getting this done! Next time we should get @JakeSmig to help with the review process 🖥


Update Composer dependencies (2022-07-29-00-08)

Visual regression test passed!
View the visual regression test report


Add carbon offset to registry

Also, do you want to add anything about donating to one of our favorite charities? And list a handful? Like BCI, Maui Nui, Lubee, etc? - Bride


fix: added error boundary to the chart

fix for https://github.com/shadcn-ui/ui/issues/4810

https://github.com/shadcn-ui/ui/issues/4810


It doesn't work combined with react-navigation on expo managed projects :(

ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication()

@membros this is how i fixed it on my end https://github.com/enesozturk/react-native-hold-menu/issues/106


Navbar profile logo breaks on user's register page

Description
In the Navbar, we have a profile Logo.
The image breaks here, i need a work around for this.
Also CHECK for all the other screens
Screenshots

Additional information
No response

I would like to try fix it

Sure, go ahead 🚀


[Question]: Is there an update plan for the open source deepdoc model on Hugging Face?

Describe your problem
The open-source deepdoc model on Hugging Face was released in April. Is there a better model to improve OCR and layout recognition? Thank you.

We are working on that.


[Branch 2.7][fix][proxy] Fix client service url

Cherry-pick #16834 to branch 2.7
Motivation
Direct cherry-pick causing compile error in ProxyConnectionTest#testCreateClientConfiguration
Modifications

Cherry-pick #16834 to branch 2.7
Add throws PulsarClientException.UnsupportedAuthenticationException for ProxyConnectionTest#testCreateClientConfiguration

Documentation
Check the box below or label this PR directly.
Need to update docs?

[x] doc-not-needed
(Please explain why)

/pulsarbot run-failure-checks


chore: use === instead of == for comparison

Note that there are a couple places in the monorepo where a variable is compared with undefined via == undefined. These comparisons are left as is since maybe null is an acceptable value for these comparisons.
> null == undefined
true
> null === undefined
false

Shouldn't there be an eslint rule preventing this?

That would be nice.


Docker repository allowing sslv3 connections

During a network audit it was noted that our private docker repository was allowing SSL 3 connections and I am wondering if we can disable that.  The repository was also allowing TLS connections, which is good, but we need to have it so that SSLv3 is not allowed.  Is there a way to configure this in the repository?
I know that docker itself is communicating with TLS but our network rules are now that SSLv3 has to be completely disabled, even from other connections (e.g. openssl or curl) so I need to find a way to force this.
This is the start of the output when connecting via curl and forcing ssl3:
$ curl -vk --raw -X GET https://<my_server>:5000/v2/images/projectdocks/tags --sslv3

Hostname was NOT found in DNS cache
Trying <ip_address>...
Connected to <my_server> (<ip_address>) port 5000 (#0)
successfully set certificate verify locations:
CAfile: none
CApath: /etc/ssl/certs
SSLv3, TLS handshake, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS handshake, Server finished (14):
SSLv3, TLS handshake, Client key exchange (16):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSL connection using AES256-SHA
Server certificate:
subject: C=CA; L=Default City; O=Org; OU=OrgUnit; CN=<my_server>

Please upgrade your registry version.  SSLv3 was disabled by default in go 1.5 which is used to build the registry  version 2.2 and later.


How to get message id in amqps

In the https implementation there's a header: iothub-messageid when you receive a message.  How do I get this in the amqp implementation when I receive a message.

figured it out was in IoTHubMessage.message_id