RuntimeError: Unable to initialize runfiles: ERROR: external/bazel_tools/tools/cpp/runfiles/runfiles.cc(120): cannot find runfiles (argv0="")

OS Platform and Distribution
window 7
Compiler version
No response
Programming Language and version
Python
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.9.2
Bazel version
No response
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
detector = vision.ObjectDetector.create_from_options(options)

Complete Logs
Traceback (most recent call last):
  File "D:/AI/mediaPipeExample/object_detector.py", line 17, in <module>
    detector = vision.ObjectDetector.create_from_options(options)
  File "D:\AI\mediaPipeExample\venv\lib\site-packages\mediapipe\tasks\python\vision\object_detector.py", line 207, in create_from_options
    return cls(
  File "D:\AI\mediaPipeExample\venv\lib\site-packages\mediapipe\tasks\python\vision\core\base_vision_task_api.py", line 66, in __init__
    self._runner = _TaskRunner.create(graph_config, packet_callback)
RuntimeError: Unable to initialize runfiles: ERROR: external/bazel_tools/tools/cpp/runfiles/runfiles.cc(120): cannot find runfiles (argv0="")

Hi @RTL8710,
Could you let us know the complete steps you have followed, standalone code to reproduce and look into the issue share the possible solution in the root cause.

object_detector.ipynb

python version and mediapipe version:

code

`# STEP 1: Import the necessary modules.
import numpy as np
import mediapipe as mp
from mediapipe.tasks import python
from mediapipe.tasks.python import vision
IMAGE_FILE = 'cat_and_dog.jpg'
import cv2
from google.colab.patches import cv2_imshow
STEP 2: Create an ObjectDetector object.
base_options = python.BaseOptions(model_asset_path='efficientdet_lite2_uint8.tflite')
options = vision.ObjectDetectorOptions(base_options=base_options,
score_threshold=0.5)
detector = vision.ObjectDetector.create_from_options(options)
detector =  vision.ObjectDetector.create_from_model_path("efficientdet_lite2_uint8.tflite")
STEP 3: Load the input image.
image = mp.Image.create_from_file(IMAGE_FILE)
STEP 4: Detect objects in the input image.
detection_result = detector.detect(image)
mp_drawing = mp.solutions.drawing_utils
STEP 5: Process the detection result. In this case, visualize it.
image_copy = np.copy(image.numpy_view())
annotated_image = visualize(, detection_result)
mp_drawing.draw_detection(image_copy, detection_result)
rgb_annotated_image = cv2.cvtColor(image_copy, cv2.COLOR_BGR2RGB)
cv2.imshow('face_mesh_annotated_image', rgb_annotated_image)
`

@RTL8710,
Thank you for bringing up to our notice, this issue is known to us and we are working towards fix. As workaround, you can  load the file manually and use model_asset_buffer: https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L47

tks The problem has been resolved！

May I ask you a new question: How to efficiently and succinctly convert the output of the model into the structure of the C language by porting the mediapipe model (object_dection) to the arm embedded system?

@RTL8710,
Good to hear that issue has been resolved. However, this issue seems to be related to a different error. To keep the context of the issue as relevant to the original issue as possible, may I suggest you close this issue and open another one?
This helps community and us to search the issues better in concise manner. thank you

ok

@RTL8710,
Thank you for the confirmation, Closing this as resolved. Please raise new issue with another query mentioned here.

@RTL8710, Thank you for bringing up to our notice, this issue is known to us and we are working towards fix. As workaround, you can load the file manually and use model_asset_buffer: https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L47

thanks your reply, but i try it as you, but a error as follow:

@RTL8710, Thank you for bringing up to our notice, this issue is known to us and we are working towards fix. As workaround, you can load the file manually and use model_asset_buffer: https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L47

thanks your reply, but i try it as you, but a error as follow:

the code as follow:
`#!/usr/bin/env python
-- coding: utf-8 --
'''
@Project ：mediapipe
@File ：mediapipe_task.py
@Author ：xiaolin_peter
<EMAIL_ADDRESS>@Date ：2023/3/5 15:28
'''
STEP 1: Import the necessary modules.
import mediapipe as mp
from mediapipe.tasks import python
from mediapipe.tasks.python import vision
from baseOptions import BaseOptions
STEP 2: Create an GestureRecognizer object.
base_options = python.BaseOptions(model_asset_buffer='gesture_recognizer.task')
options = vision.GestureRecognizerOptions(base_options=base_options)
recognizer = vision.GestureRecognizer.create_from_options(options)
images = []
results = []
IMAGE_FILENAMES = ["images/img.png"]
for image_file_name in IMAGE_FILENAMES:
STEP 3: Load the input image.
image = mp.Image.create_from_file(image_file_name)
STEP 4: Recognize gestures in the input image.
recognition_result = recognizer.recognize(image)
STEP 5: Process the result. In this case, visualize it.
images.append(image)
top_gesture = recognition_result.gestures[0][0]
hand_landmarks = recognition_result.hand_landmarks
results.append((top_gesture, hand_landmarks))
print(hand_landmarks)
`

@RTL8710, Thank you for bringing up to our notice, this issue is known to us and we are working towards fix. As workaround, you can load the file manually and use model_asset_buffer: https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L47

thanks your reply, but i try it as you, but a error as follow:

the code as follow: `#!/usr/bin/env python
-- coding: utf-8 --
''' @project ：mediapipe @file ：mediapipe_task.py @author ：xiaolin_peter<EMAIL_ADDRESS>@Date ：2023/3/5 15:28 '''
STEP 1: Import the necessary modules.
import mediapipe as mp from mediapipe.tasks import python from mediapipe.tasks.python import vision from baseOptions import BaseOptions
STEP 2: Create an GestureRecognizer object.
base_options = python.BaseOptions(model_asset_buffer='gesture_recognizer.task') options = vision.GestureRecognizerOptions(base_options=base_options) recognizer = vision.GestureRecognizer.create_from_options(options)
images = [] results = [] IMAGE_FILENAMES = ["images/img.png"] for image_file_name in IMAGE_FILENAMES:
STEP 3: Load the input image.
image = mp.Image.create_from_file(image_file_name)
STEP 4: Recognize gestures in the input image.
recognition_result = recognizer.recognize(image)
STEP 5: Process the result. In this case, visualize it.
images.append(image) top_gesture = recognition_result.gestures[0][0] hand_landmarks = recognition_result.hand_landmarks results.append((top_gesture, hand_landmarks)) print(hand_landmarks) `

finally,  my python version is 3.8 and mediapipe version <IP_ADDRESS>


VSCode extension doesn't work (TypeSQL Language Server)

I am using it in a "monorepo" where my db package is located in ./myproject/db where it also is the typesql.json and package.json where the typesql-cli is.
The output is (and repeats)
node:internal/modules/cjs/loader:1235
  throw err;
  ^

Error: Cannot find module '@libsql/darwin-arm64'
Require stack:
- /Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/node_modules/libsql/index.js
- /Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/server/src/server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
    at Module._load (node:internal/modules/cjs/loader:1058:27)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at requireNative (/Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/node_modules/libsql/index.js:22:10)
    at Object.<anonymous> (/Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/node_modules/libsql/index.js:42:5)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
    at Module.load (node:internal/modules/cjs/loader:1295:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/node_modules/libsql/index.js',
    '/Users/lthi747/.vscode/extensions/wsporto.typesql-language-server-0.4.5/server/src/server.js'
  ]
}

Node.js v20.18.1
[Error - 3:58:28 PM] Server process exited with code 1.
[Error - 3:58:29 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Info  - 3:58:29 PM] Connection to server got closed. Server will restart.
true
[Error - 3:58:29 PM] TypeSQL Language Server client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097

I’ve updated the extension to include the @libsql/darwin-arm64 binary. Could you please verify if this resolves the issue?


-1 sent to UI 1- when culture has a right to left language

This issue will appear when your culture has language Right To Left.
And the result of parseInt is NaN (check the image below).

As a work around I customized the culture in my App as follows:
culture.NumberFormat = NumberFormatInfo.InvariantInfo;

Here is another example that you can check in LINQPAD
var culture = new CultureInfo("ar-SA");

Thread.CurrentThread.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;

var str = "-1";

var x = Convert.ToInt32(str, CultureInfo.InvariantCulture);

x.Dump("ar-SA");

culture = new CultureInfo("en-US");

Thread.CurrentThread.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;

x.Dump("en-US");

Result

Ops! This is solution does not work. even the tests didn't catch it.


Documentation

With the realm/jazzy workflow running, it is time to start staying on top of documentation.

In PR #11 meaningful documentation was addressed. I will close this issue and reopen if I fall behind in documentation again.


Does not work with omnisharp

The equivalent VS Code feature works with the same version of omnisharp, but for lsp_signature I get nothing.
I'm installing omnisharp via lsp_install:
require'lspinstall'.setup()

then :LspInstall csharp to install the csharp language server (followed by restarting neovim).
Setting up my csharp lsp config the same way I'm setting up tsserver. Using treesitter for typescript and C#. Everything works great when it comes to typescript and csharp completion, but lsp_signature is only working for typescript.
The following shows the signature:
lua vim.lsp.buf.signature_help()

But the following does not:
lua require'lsp_signature'.signature()

Running this manually makes no difference:
lua require "lsp_signature".on_attach()

(although that's already set up in my configuration anyway).
I tried disabling my entire neovim config except for nvim-lspconfig, nvm-lspinstall and lsp_signature but it still didn't work (but continued to work for typescript).

After a bunch of debugging I figured it out, thanks to your great docs and readable code.
omnisharp returns the following trigger_chars:
signature_help_trigger_characters = <10>{ ".", "?", "[" }

This is incorrect, I fixed it via:
require "lsp_signature".on_attach {
  extra_trigger_chars = { "(", ",", "<" },
}

I've added a fix to the language server that will allow it to work out of the box: https://github.com/OmniSharp/omnisharp-roslyn/pull/2193

@insidewhy
Thanks for submitting PR to OmniSharp.


[MonorepoBuilder] Commits are overriden even if they don't change

Is it possible to configure monorepo builder to not change commit hashes if nothing changed? I created a commit which modified content of single repository but hashes it updates hashes of all commits from given repository and also 7 unrelated repositories contained in monorepo. I didn't use force push. It complicates usage of untagged dependencies and I also get crazy false contribution numbers at Github.
Could you please check if I have some configuration wrong or what could I do to fix that? Thank you
Problem I have is in repository https://github.com/modette/modette

This package is designed for simplicity and speed, to deliver tagged packages in 5 minutes from tagging monorepo.
Saying that, it doesn't focus on such area as you describe.
If you need to focus on commit hashes, I recommend you https://github.com/shopsys/monorepo-tools
Beware, the complexity is much higher


Mysql install fails with index too big error

Installing using mysql instead of the default sqlite causes an error on the Content model for the CMS.  The issue is that mysql has a limit of 3048 bytes per index and content has a unique constraint on URL & element.id on the page.

I tried to make the fewest changes possible that would accomplish this task. The problem was more difficult than I expected.  I thought I simply needed both keys to be less than 3k chars, however, I figured out the hard way that was bytes not characters so I needed to multiply by 4 for the default utf8 on innodb.  I have adjusted the numbers to urls <= 600chars and page ids <= 150chars.  I will see if I can find a better solution when I get to this front end editing feature.

Closing since I was able to successfully build from scratch on mysql as well as upgrade an existing install.  NOTE: anyone using sqlite may have data truncated but since I don't have this feature implemented yet I don't think that is an issue.


An error is shown when creating a WebId even that it's being created

When trying to create a WebID from safe://webidea.ter with Peruse v0.7.0, an error is thrown stating that the public name already exists, but the WebID is actually being created in the network.

Actually this appears to be related to the safe-app-nodejs version. Updating with latest dev (0.9.1 merge) doesn't have this issue for me.


failed to use ghttp client with basicAuth

1. What version of Go and system type/arch are you using?

go version go1.14 darwin/amd64
2. What version of GoFrame are you using?

v1.11.4
3. Can this issue be reproduced with the latest release?
Yes
4. What did you do?

func CheckHealth( brokerName string )  {
	client = ghttp.NewClient()
	client.SetBasicAuth("admin", "admin")
	reqUri := host + "/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=" + brokerName +",service=Health/CurrentStatus"
	res, err := client.Get(reqUri)
	if err != nil {
		mlog.Error("CheckHealth error:",err)
		return
	}
	defer res.Close()
	data := res.ReadAllString()
	if res.StatusCode >= 300 {
		mlog.Error("CheckHealth response status error:",res.Status)
		return
	}
	fmt.Println(data)
}

use gf ghttp client to do requst with basicAuth failed,got 401 Unauthorized
5. What did you expect to see?
do request with auth pass
6. What did you see instead?
got 401 Unauthorized

@starDemo 这块有单元测试，要不你试试最新框架代码。

v1.11.4 版本有问题，后边版本修复了 群里反馈过


namerd: should POST set ETag?

> POST /api/1/dtabs/default HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.43.0
> Accept: */*
> Content-type: application/dtab
> Content-Length: 192
>
* upload completely sent off: 192 out of 192 bytes
< HTTP/1.1 204 No Content
< Content-Length: 0
<

I'd expect creation to set an ETag on the repsonse?

in the case of zookeeper storage, the version number doesn't come back in the response from create.  that means that it would require a second call to zk to get the version number.  we can definitely do this, I just wanted to point out that it's not free.

@adleong zookeeper itself gives us this for free, but we currently have some poor abstractions that hide it from us: The [setData api](https://zookeeper.apache.org/doc/r3.4.6/api/org/apache/zookeeper/ZooKeeper.html#setData(java.lang.String, byte[], int)) returns a Stat that contains the modification mzxid.
I think we'll have to move away from the finagle-serverset abstractions...

I agree in general that we need to move away from the finagle-serverset abstractions to have the flexibility we want.  In this case, setData returns a Stat but create does not.

My last comment wasn't clear.  Zookeeper's create method does not return a Stat so I don't think moving off of finagle-serversets helps in this particular case.


Circleci project setup

Add ci & test

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


Possibility of using ChatGPT access token instead of OpenAI API key?

Hello, great project!
I'm sorry if this isn't considered an issue, but I don't see a Discussions section, so I thought I'd just post this here.
Unfortunately, I am not able to pay for API usage, so I was wondering if we could add this plugin to something like this project:
https://github.com/IntelligenzaArtificiale/Free-AUTO-GPT-with-NO-API ?
I wonder if it'd be possible to fully replace GPT with Bing instead of using Bing as a "helper", although I've heard Bing is much less willing to think with the user than GPT-3/4.

Unfortunately it's not possible, BingAI limits to 20 messages per convo


User still gets activation mail, even if registration notification is on.

Hi,
When a user registers, the admin gets the registration notification, but the user also receives the activation link email.
This is Craft 3.1.13

You need to uncheck 'Verify email addresses' in /admin/settings/users/settings

Hello,
In Craft CMS 3.1.28 I have unchecked 'Verify email addresses' in /admin/settings/users/settings and the users are still being set as disabled, not pending.
I found this response from this issue.

Hey,
This is expected behaviour so that Concierge integrates with Craft's email verification workflow (if/when enabled).
Concierge Suspends users and Craft sets them to Pending if you enable email verification. So...
With email validation the flow is:

User registers
Craft sets the user as Pending AND Concierge as Suspended

Next,

User clicks the verification link, verify email BUT still can't access the site (Suspended)
Admin unsuspends - User can get in (Active)
OR
Admin unsuspends - User can't get in as still pending email verification (Pending)
User click verification link, verify email and can now access the site (Active)

Without email validation the flow is:

User registers
Concierge Suspends
Admin unsuspends - User can get in (Active)

In Craft, a Pending user is a user that needs to validate her/his email. A Suspended user IS validated, it just cannot log in.
The pending status is linked tightly to the email verification and as you can't yet have custom statuses, the Suspended status was the only option which ended up making sense in the end as Concierge needed 2 'locked states' for each user.
I hope that clarifies things :)


AssumableRoleWithOIDC fails when passing a reference to a policy arn

What happened?
Have a small program (see Steps to reproduce section for code)  that creates a policy and then creates an AssumableRoleWithOIDC resource that references the arn of that created policy.
pulumi up/preview throws this error:
 error: Running program '/Users/mitch/Downloads/ticket-2212' failed with an unhandled exception:
    Error: failed to register new resource aws-iam-example-assumable-role-with-oidc [aws-iam:index:AssumableRoleWithOIDC]: 2 UNKNOWN: setting args: copying input "role": expected destination type to implement pulumi.Input or pulumi.Output, got utils.RoleArgs
        at Object.registerResource (/Users/mitch/Downloads/ticket-2212/node_modules/@pulumi/runtime/resource.ts:294:27)
        at new Resource (/Users/mitch/Downloads/ticket-2212/node_modules/@pulumi/resource.ts:402:13)
        at new ComponentResource (/Users/mitch/Downloads/ticket-2212/node_modules/@pulumi/resource.ts:895:9)
        at new AssumableRoleWithOIDC (/Users/mitch/Downloads/ticket-2212/node_modules/@pulumi/assumableRoleWithOIDC.ts:94:9)
        at Object.<anonymous> (/Users/mitch/Downloads/ticket-2212/index.ts:24:38)
        at Module._compile (node:internal/modules/cjs/loader:1105:14)
        at Module.m._compile (/Users/mitch/Downloads/ticket-2212/node_modules/ts-node/src/index.ts:439:23)
        at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
        at Object.require.extensions.<computed> [as .ts] (/Users/mitch/Downloads/ticket-2212/node_modules/ts-node/src/index.ts:442:12)
        at Module.load (node:internal/modules/cjs/loader:981:32)

If one passes a hard-coded ARN string it's fine.
Attempts to use apply and similar techniques (see attached file) throw the same error.
Steps to reproduce

Set up a project using the code below
Note that typescript typechecking is clean.
run pulumi up or pulumi preview and see the thrown error
Try uncommenting the bit that uses an explicitly given arn string and do pulumi up and see that it works.
Try other commented out variations on the theme and see the error.

----- code ----
import * as iam from "@pulumi/aws-iam";
import * as pulumi from "@pulumi/pulumi";

// Policy
export const policy = new iam.Policy("aws-iam-example-policy", {
  name: "aws-iam-example-policy",
  path: "/",
  description: "My example policy",
  policyDocument: `{
      "Version": "2012-10-17",
      "Statement": [
        {
          "Action": [
            "ec2:Describe*"
          ],
          "Effect": "Allow",
          "Resource": "*"
        }
      ]
  }`,
});

// Assumable Role With OIDC
export const assumableRoleWithOidc = new iam.AssumableRoleWithOIDC("aws-iam-example-assumable-role-with-oidc", {
    providerUrls: ["oidc.eks.eu-west-1.amazonaws.com/id/BA9E170D464AF7B92084EF72A69B9DC8"],
    role: {
        name: "oidc-role",
        // policyArns: [ "arn:aws:iam::052848974346:policy/aws-iam-example-policy" ],
        // policyArns: [pulumi.interpolate`${policy.arn}`]
        // policyArns: policy.arn.apply(arn => [arn])
        policyArns: [policy.arn]
    },
    tags: {
        Role: "oidc-role",
    },
});

Expected Behavior
Should not throw an error when referencing a policy resource arn.
Actual Behavior
Throws error
Output of pulumi about
CLI
Version      3.49.0
Go Version   go1.19.3
Go Compiler  gc
Plugins
NAME     VERSION
aws      5.24.0
aws-iam  0.0.6
awsx     1.0.1
docker   3.6.1
nodejs   unknown
Host
OS       darwin
Version  12.5.1
Arch     x86_64
This project is written in nodejs: executable='/Users/mitch/.nvm/versions/node/v18.0.0/bin/node' version='v18.0.0'
Current Stack: dev
Found no resources associated with dev
Found no pending operations associated with dev
Backend
Name           pulumi.com
URL            https://app.pulumi.com/MitchGerdisch
Dependencies:
NAME             VERSION
@types/node      14.18.35
@pulumi/aws-iam  0.0.6
@pulumi/aws      5.24.0
@pulumi/awsx     1.0.1
@pulumi/pulumi   3.49.0
Pulumi locates its logs in /var/folders/qp/6k0zsrj13rz5ll53hsmlksvw0000gq/T/ by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@MitchellGerdisch this looks to be an issue with how the nested arguments are marshaled by the engine. For some reason when you pass in an output to any argument in role object it throws this error. Will update this issue when I have some more clarity on how to get this working. Thanks for filing this!!

@MitchellGerdisch The latest version (0.1.0) fixes this issue. Please let me know if you run into any other issues along the way!


Open Source : 6.79 Explain everything related to 7Zip

Description 📜
Open Source : 6.79 Explain everything related to 7Zip
NOTE 👇
Please put your doc 6.Popular_Projects with the name 6.79_7Zip.md

Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

I would like to work on this, please assign this to me

/assign

/assign


Fix typo in line 1436 of domains.md

In line 1436 of domains.md it says legnth instead of length. This PR fixes it.

Removing automerge for @dwightguth to approve so this one doesn't block other PRs from merging.


Ubuntu error "set apparmor profile unconfined"

Hi,
Using Ubuntu installation guide to get recent docker
curl -sSL https://get.docker.io/ubuntu/ | sudo sh

I've created few images
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
THOR-test           latest              40e6a137b43d        25 minutes ago      498.4 MB
ubuntu              14.04               c4ff7513909d        2 weeks ago         225.4 MB

and docerized ssh in it
docker ps --all
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS                        PORTS               NAMES
7d9904bfdd3b        THOR-test:latest    "/usr/sbin/sshd -D -   28 minutes ago                                                        THOR-test
49c39c235049        3e30c0ee579f        "/bin/sh -c 'apt-get   About an hour ago   Exited (100) 49 minutes ago                       dreamy_pare
```

While trying to start the image with docker start, I'm getting apparmor error
```
docker start 7d9904bfdd3b
Error response from daemon: Cannot start container 7d9904bfdd3b: set apparmor profile unconfined: no such file or directory
2014/08/29 15:16:50 Error: failed to start one or more containers
```

This is very fresh Ubuntu installation.

I've tried disabling the app armor profile but then docker complains about not finding the apparmor profile.

I get Error response from daemon: Cannot start container XXX: set apparmor profile unconfined: permission denied anytime I try to start a privileged container.
It ended up being because I was mounting proc & sys inside the container.

I see the same thing:
docker run --privileged --volume=/proc:/proc image_name
results in:
FATA[0000] Error response from daemon: Cannot start container f38618d4f3580c01cdb901d29572e6979e0b4cb63d1d39ef79bf99b1fe827e0d: set apparmor profile unconfined: permission denied
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

We no longer support support -v /proc:/proc, although I'd argue it would be fine on an unconfined container...
Is this bug still valid following 1.6.1?

Is this still an issue?

this seems to not be an issue w a version after 1.6.1, if you find one ping me to reopen, closing


Load screen spins while reconnecting to syncing node

If I close smapp while my node is syncing, and tell it to "RUN IN BACKGROUND", then reopen smapp, I just see a wait spinner. In the logs I see:
[2020-12-01 08:47:14.867] [info] In NodeManager, in ipc GET_NODE_STATUS channel, received: {"res":{"status":{"peers":8,"minPeers":8,"maxPeers":40,"syncedLayer":2365,"currentLayer":2532,"verifiedLayer":2362},"error":null}}
[2020-12-01 08:47:30.253] [info] In netService, in grpc getNodeStatus, received: {"response":{"peers":{"low":8,"high":0,"unsigned":true},"minPeers":{"low":8,"high":0,"unsigned":true},"maxPeers":{"low":40,"high":0,"unsigned":true},"syncedLayer":{"low":2376,"high":0,"unsigned":true},"currentLayer":{"low":2532,"high":0,"unsigned":true},"verifiedLayer":{"low":2374,"high":0,"unsigned":true}}}
[2020-12-01 08:47:30.254] [info] In NodeManager, in ipc GET_NODE_STATUS channel, received: {"res":{"status":{"peers":8,"minPeers":8,"maxPeers":40,"syncedLayer":2376,"currentLayer":2532,"verifiedLayer":2374},"error":null}}
[2020-12-01 08:47:50.248] [info] In netService, in grpc getNodeStatus, received: {"response":{"peers":{"low":8,"high":0,"unsigned":true},"minPeers":{"low":8,"high":0,"unsigned":true},"maxPeers":{"low":40,"high":0,"unsigned":true},"syncedLayer":{"low":2392,"high":0,"unsigned":true},"currentLayer":{"low":2532,"high":0,"unsigned":true},"verifiedLayer":{"low":2390,"high":0,"unsigned":true}}}
[2020-12-01 08:47:50.248] [info] In NodeManager, in ipc GET_NODE_STATUS channel, received: {"res":{"status":{"peers":8,"minPeers":8,"maxPeers":40,"syncedLayer":2392,"currentLayer":2532,"verifiedLayer":2390},"error":null}}
[2020-12-01 08:48:10.247] [info] In netService, in grpc getNodeStatus, received: {"response":{"peers":{"low":8,"high":0,"unsigned":true},"minPeers":{"low":8,"high":0,"unsigned":true},"maxPeers":{"low":40,"high":0,"unsigned":true},"syncedLayer":{"low":2408,"high":0,"unsigned":true},"currentLayer":{"low":2532,"high":0,"unsigned":true},"verifiedLayer":{"low":2402,"high":0,"unsigned":true}}}
[2020-12-01 08:48:10.247] [info] In NodeManager, in ipc GET_NODE_STATUS channel, received: {"res":{"status":{"peers":8,"minPeers":8,"maxPeers":40,"syncedLayer":2408,"currentLayer":2532,"verifiedLayer":2402},"error":null}}

So the API is working and smapp is talking to it but it doesn't load.

Hmm. I had tried to quit the app a couple of times, but it looks like it hadn't actually quit and had just minimized itself to an icon in the system tray. I just noticed I had three instances running. I wonder if that might be related. I wonder why the app didn't quit when I told it to, and I wonder why it let me run three instances simultaneously. This is v0.1.2 on Linux.

Running multiple instances of app causes such issues cause the port for grpc interaction is the same and it is already taken by the first smapp instance. Same for the node. Preferred fix in order to prevent such case to happen is to check if port is free and then make a decision to show error/message stating that smapp is already running OR (better UX wise) focus the first instance and close second instance

@IlyaVi totally agree with your assessment here. Out of curiosity is this only an issue on Linux or does it happen on the other platforms too?

@lrettig this happened to me at windows and mac, same thing of ports already in use

@Motzart best solution for this bug will be prevent initiating new instance of app and focus/bring to front from tray existing app instance


fp16 bug fix for concat and other layers

Fixes the error for concat layer happened with validation as well as minor fixes for other layers.

@paveltc can you run some tests for this pr?

Travis build failure
[ 39%] Building CXX object amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/src/scale_layer.cpp.o
/MIVisionX/amd_openvx_extensions/amd_nn/src/scale_layer.cpp: In function 'vx_status initializeScaleLayer(vx_node, _vx_reference* const*, vx_uint32)':
/MIVisionX/amd_openvx_extensions/amd_nn/src/scale_layer.cpp:147:78: error: 'half' was not declared in this scope
             data->bnBias = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(half)*input_dims[2], NULL, &err);
                                                                              ^
make[2]: *** [amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/src/scale_layer.cpp.o] Error 1
amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/build.make:518: recipe for target 'amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/src/scale_layer.cpp.o' failed
CMakeFiles/Makefile2:239: recipe for target 'amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/all' failed
make[1]: *** [amd_openvx_extensions/amd_nn/CMakeFiles/vx_nn.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
The command "docker exec mivisionx cmake --build /_build" exited with 2.


Fix flow-remove-types for input with multi-byte characters

Closes #7779 by implementing the approach described by @mroch in https://github.com/facebook/flow/issues/7779#issuecomment-498290377.
Remaining work:

[ ] Try eliminating all string manipulation and buffer.write calls in favor of purely byte-based operations for performance. Not worth it — bottleneck is in parsing.
[x] Benchmark the change to make sure performance didn't regress.
[ ] Address any review suggestions.
[x] Sign the CLA.

@mroch this is ready for review. While the performance didn't regress, there's no point in optimizing the code much because almost all time is spent in flow-parser. Preliminary benchmarks show that it's about 4–5 times slower than the previous flow-remove-type version based on babylon. 😭

The build failed for some reasons unrelated to the PR changes it seems.

@mourner have you still got time to look into this and address the comments?

@thehogfather apologies — can't get to it at the moment but hopefully I'll find some time in a week or two. The only comment left unaddressed is this one:

How does this issue translate to source maps? I'm suddenly worried that the source map spec is silent on what "columns" mean, but I'd imagine it's meant to be interpreted more like "code points" than "bytes". So we might need to do some Unicode bookkeeping in generateSourceMappings as well.

If anyone's up to helping out on the source maps part, I'd appreciate it!


fynegen: remove prefixes, basic config.toml file and more (see commits)

Wow, very nice ... and very systematic with the toml! Now it would be good to make few demos with various widgets, to see how they function in code. Especially more composite ones, like list and table. I will try to do some of that in next days ...
This will also be content for the website / readme.md. Anyway, great work so far, thanks!

Glad you like it!
Hmm, pretty sure lists don't quite work yet since they have typedefed integers (ListItemID), which currently are handled as natives. I still have to add tracking and conversion support for typedefs, but that was on my list anyways so I think I'll do that next.
I was also thinking of adding a 2048 game example in terms of something more complex, so I'll see what that takes.

Aha, ok.
Any examples are welcome, it's also material then to further test the language under different, not so typical problems.


Rank Same with Edges

HI,
Is it possible to achieve something like this in a single line of code?
 {rank=same; b1 -> b2 -> b3};
currently the only way I found to achieve the same result is like this:
  graph.Subgraphs.AddWithNodes(DotRank.Same, b1.Tag, b2.Tag, b3.Tag);
  graph.Edges.Add(b1.Tag, b2.Tag);
  graph.Edges.Add(b2.Tag, b3.Tag);

that genrates this:
 { rank = same  b1 b2 b3 }
  b1 -> b2
   b2 -> b3

Thanks!

Hello!
You can try this:
graph.Subgraphs.Add(DotRank.Same, subgraph =>
{
    subgraph.Edges.AddSequence("b1", "b2", "b3");
});

and if you want to have the subgraph as a single line, specify adequate formatting options
var script = graph.Build(new DotFormattingOptions
{
    Subgraphs = { SingleLine = true }
});

digraph
{
    { rank = same  b1 -> b2 -> b3 }
}

Cheers!


Fix HCRLateAttachWorkload_previewEnabled failure on jdk17

Change asm to jvm asm
Set different Opcodes.ASM versions for jdk 8 and 11+
Related Issue: https://github.com/eclipse/openj9/issues/11642
Need to merge with PR (https://github.com/AdoptOpenJDK/openjdk-tests/pull/2182) together.

Signed-off-by: Longyu Zhang<EMAIL_ADDRESS>

Test Links:
jdk17:
xlinux: 13275 61 zlinux: 13276   mac: 13277   aix: 13278  win: 13279
jdk16:
xlinux: 13270   zlinux: 13271   mac: 13272   aix: 13273  win: 13274
jdk8:
xlinux: 13265   zlinux: 13266   mac: 13267   aix: 13268  win: 13269

Test Links:
jdk17:
xlinux: 13275 61 zlinux: 13276   mac: 13277   aix: 13278  win: 13279
jdk16:
xlinux: 13270   zlinux: 13271   mac: 13272   aix: 13273  win: 13274
jdk8:
xlinux: 13265   zlinux: 13266   mac: 13267   aix: 13268  win: 13269

Please rebase the development branch and accept the latest changes for https://github.com/AdoptOpenJDK/openjdk-systemtest/pull/392 before merging this. PR, just to be on the safe side.

Please rebase the development branch and accept the latest changes for https://github.com/AdoptOpenJDK/openjdk-systemtest/pull/392 before merging this. PR, just to be on the safe side.

Please rebase the development branch and accept the latest changes for #392 before merging this PR, just to be on the safe side.

The Commit has been rebased, and passed tests (Grinder 13437-13439 for jdk 8, 16 and 17). Thanks.

Please rebase the development branch and accept the latest changes for #392 before merging this PR, just to be on the safe side.

The Commit has been rebased, and passed tests (Grinder 13437-13439 for jdk 8, 16 and 17). Thanks.

Thanks @LongyuZhang

Thanks @LongyuZhang


GO:0007189  adenylate cyclase-activating G-protein coupled receptor signaling pathway... missing parent

GO:0007189 adenylate cyclase-activating G-protein coupled receptor signaling pathway should be
is_a cAMP mediated signalling?

From the dfinitions, it looks like the cAMP-mediated signaling is downstream of the receptor signaling pathway. So the signaling pathway has_part positive regulation of cAMP-mediated signaling already.

I think it is part of  the pathway.
Otherwise the pathway would only be the first 2 steps?
The pathway is (see the image Antonia posted)
https://github.com/pombase/curation/issues/1582
the def is
The series of molecular signals generated as a consequence of a G-protein coupled receptor binding to its physiological ligand, where the pathway proceeds through activation or inhibition of adenylyl cyclase activity and a subsequent change in the concentration of cyclic AMP (cAMP).
the comment clarifies it should be used for upstream and downstream of cAMP, which makes sense to me? (the def is not clear though, otherwise the comment would not be required....)
@Antonialock

Comment
This term is intended to cover steps in a GPCR signaling pathway both upstream and downstream of adenylate-cyclase activity. For steps upstream of adenylate cyclase activity, consider instead annotating to 'regulation of adenylate cyclase activity involved in G-protein coupled receptor signaling pathway ; GO:0010578.

Although i wouldn't so the second part of the comment.
I would annotate the receptor with MF "adenylate cyclase activator activity" instead
https://github.com/pombase/curation/issues/1610
(that is the only step upstream of adenylate cyclase).

perhaps you were looking at this def
cAMP-mediated signaling
Definition | Any intracellular signal transduction in which the signal is passed on within the cell via cyclic AMP (cAMP). Includes production of cAMP, and downstream effectors that further transmit the signal within the cell.
i would still say that this does not exclude
GO:0007189 adenylate cyclase-activating G-protein coupled receptor signaling pathway
because the first 2 steps in
GO:0007189 adenylate cyclase-activating G-protein coupled receptor signaling pathway
are involved in the production of cAMP
GO:0007189 adenylate cyclase-activating G-protein coupled receptor signaling pathway
is-a specific cAMP signalling pathway

See abstract
https://www.ncbi.nlm.nih.gov/pubmed/24297439
https://www.ncbi.nlm.nih.gov/pubmed/18430926
https://www.ncbi.nlm.nih.gov/pubmed/16489217
https://www.ncbi.nlm.nih.gov/pubmed/16143612
https://www.ncbi.nlm.nih.gov/pubmed/15831585

https://www.ncbi.nlm.nih.gov/pubmed/15667320
review
The fission yeast Schizosaccharomyces pombe primarily detects glucose via a cAMP-signalling pathway. Components of this pathway include the Git3 G-protein-coupled receptor and a heterotrimeric G-protein, from which the Gpa2 Galpha subunit activates adenylate cyclase (Git2/Cyr1). Three additional proteins, Git1, Git7 and Git10 are required to generate a cAMP response even in a strain expressing an activated form of Gpa2, which is capable of bypassing the loss of the GPCR and Gbetagamma dimer.......

Enough?

From Charlie Hoffman:
I would agree with that, however I would say that the following is somewhat different.
GO:0043950 positive regulation of cAMP-mediated signaling
For example, hsp90 and git7 are positive regulators, but are not really part of the G protein pathway.  They are required to assemble Git1 and adenylyl cyclase into a complex.  Git1 may also be more appropriate to this designation as it is required for cyclase activation by Gpa2, but is not really part of the G protein signaling pathway.
In contrast, Git3, Gpa2, Git5, and Git11 are all squarely in the "GO:0010619 - adenylate cyclase-activating glucose-activated G-protein coupled receptor signaling pathway" category
(so the rest is something for us to sort out, we need to remove quite a few indirect phenotypes from git7 and hsp90 but  GO:0007189 is_a cAMP-mediated signalling pathway)

OK. But a group should look at this globally as part of the signaling workshop. Does this close the other ticket too?

Both can close.
I will make a proposal for the workshop to get rid of some of the MF in BP  terms like:
GO:0007190 activation of adenylate cyclase activity
that we should not need to use if we curate the MF steps correctly

Yes, but we still need people to claim this pathway if we are going to address it at the workshop.

Reopend so that this can be examined in the context of the signaling pathway work.

@pgaudet  I think this is basically the modularization issue you mentioned on the GO annotation call a while back.

@pgaudet  is this done?

I think we say it's resolved.
@ValWood @Antonialock Does that look OK to you now ?

yup.

Thanks @ValWood  for linking above issue, sorry being so late to this:
GO:0007189 adenylate cyclase-activating G protein-coupled receptor signaling pathway, is still a parent to the dicty specific GO:0140582 'adenylate cyclase-activating G protein-coupled cAMP receptor signaling pathway'
and cannot be a child of 'cAMP signaling pathway'. So far it looks fine I hope it stays so. https://www.ebi.ac.uk/QuickGO/term/GO:0007189


Fix negation when a negated binding is changed

After I fixed the issue, I discovered that https://github.com/Polymer/polymer/tree/1757-kschaaf-negate-2way has fixed it in a similar manner. This Pull-Request also contains a test for the change and is up-to-date with current master.
The negation test in test/notify-path was removed as all other tests assumed that negated two-way bindings are NOT updated. Therefore the test suite verified that negating a value of 42 would not change the value of the parent to false. Since 42 is truthy, the value of the parent would become false failing the assert.equal(value, 42).
Fixes #1715

We'll take another look at this.  IIRC we didn't make a PR and merge that branch due to concerns noted in this comment: https://github.com/Polymer/polymer/issues/2162#issuecomment-126062618.  We just need to spend some time to re-evaluate whether this could break current users.

@kevinpschaaf A situation I could think of where this would go wrong is where there is transformation logic in an observer. Although this could lead to unexpected behavior, I think the root issue is a different one: in Polymer/Javascript a boolean can have 3 values. The definition of a boolean is that it can have two values: true and false. Therefore I think it is more logical to fix the root issue by defaulting booleans to false instead of undefined. This might be a breaking change and should be investigated. This is also one of the roadmap goals: "Fix and make the usage of undefined consistent throughout the library".

Looks good after additional testing!


Console just doesn't open

When I start AmongUsCheatClient.exe console appears for a second and disappear
What I need to fix that?
P.S I opened Among Us before open AUCC.exe

make sure your issue is not fixed by looking at #1
try downloading this and look what the console says

make sure your issue is not fixed by looking at #1
try downloading this and look what the console says

I have the same problem. I downloaded debug 001, here is what the console outputs

Same error

Is it because I use 09.22s version?

I said in #1 that version 2020.9.22s of the game is not supported by the cheat client.
You need to have version 20202.9.9s of the game for the client to work.
So all you can do is try to inject the beta dll yourself or you can wait for a beta release that will support this version

I said in #1 that version 2020.9.22s of the game is not supported by the cheat client.
You need to have version 20202.9.9s of the game for the client to work.
So all you can do is try to inject the beta dll yourself or you can wait for a beta release that will support this version

my version is 2020.9.9s, but console outputs 'Call to LoadLibraryW in remote process failed'

If your game version is 2020.9.9s and you used the version 0.0.2 of the client and you still get this error, it means that something is broken and there not really much possible to do since there is not more details that the error.
What os do you use ? And what is it's architecture ?

This is literally a virus, half of the files are infected with random trash, don't download it.

It’s not by putting the file in virustotal you will know if it’s a real virus, it’s totally pointless to say that, and you can’t prove anything since the entire source code is available to everyone proving that there is nothing malicious in the software


Avoid duplication of --set-host-id-source OneAgent argument

Description
If the OneAgent argument --set-host-id-source is provided in the DynaKube, it causes a duplication for classic fullstack and host monitoring modes. It's then unclear which argument counts.
This PR fixes the handling of this argument, so that it can be overridden in the DynaKube while still maintaining the applied default values otherwise.
How can this be tested?

deploy an ClassicFull stack Dynakube with and without --set-host-id-source=fqdn in it
check the OneAgent pod specs, they should contain it only once (with value fqdn resp. auto as default)

Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

practically LGTM.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f1906d5) 64.73% compared to head (38ce490) 64.74%.

:exclamation: Current head 38ce490 differs from pull request most recent head a079061. Consider uploading reports for the commit a079061 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2508   +/-   ##
=======================================
  Coverage   64.73%   64.74%
=======================================
  Files         245      245
  Lines       16252    16254    +2
=======================================
+ Hits        10521    10523    +2
  Misses       4930     4930
  Partials      801      801

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


Binary compiled from generated C fails to allocate memory

Reproduction
$ git rev-parse HEAD
ff9ed47b163d6d24fdc6f968d35b95b81deb0969
$ cargo build
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
$ cd bench/Fibonacci
$ ../../target/debug/hvm c main.hvm
Compiled to 'main.c'.
$ clang -g -O2 main.c -o main -lpthread
$ ./main 10
main: main.c:1337: int main(int, char **): Assertion `mem.node' failed.
Aborted
$

The message is from:
https://github.com/Kindelia/HVM/blob/ff9ed47b163d6d24fdc6f968d35b95b81deb0969/src/runtime.c#L1229
But I think the change in 99e32862b76c92490cf968c82ecda807155f2fdb is ultimately what's causing it.

Does it work with 8GB in your machine? I'm really confused now; anyone has an idea why exactly that is happening? Ideally we should not alloc surge a large space and just improve the allocator to grow dynamically, but I thought that would not be a problem initially.

Yes, I can confirm that it works again as of your 1e31079ef9f0d656b021f645e0dd59f24b59a2ff commit.

Sad! The allocator needs improvements

The commit 1e31079ef9f0d656b021f645e0dd59f24b59a2ff (HVM 0.1.0) didn't fix this for me.


SQL Consoles do not honor "Open separate connection for each editor"

System information:

Operating system (distribution) and version: Windows 10
DBeaver version: 21.3.4
Java version: bundled
Additional extensions: n/a

Connection specification:

Database name and version: Oracle 11
Driver name: odjbc21
Do you use tunnels or proxies (SSH, SOCKS, etc)? n/a

Describe the problem you're observing:
I started using SQL Consoles for quick queries in place of SQL Scripts a while ago. However I just recently noticed that they do not honor the "Open separate connection for each editor", all consoles run on the "main" connection. Which means that opening multiple consoles to launch long-running query results in them running sequentially instead of parallely.
I cannot say for sure if this is a regression from some previous version or they always worked this way.

thanks for the report

Hello @p91paul maybe you have some specific settings. I was not able to reproduce it

Thank you for explanation.

is this planned for some future release?


Datastore foundationdb put fixes

Update datastore foundationdb backend so puts for new entities without identifiers will not be collapsed to a single entity. This update also modifies puts for new entities so that an allocated key is returned in the response.

Daily build no. 6955

Daily build no. 7000
Build after master merged to resolve conflicts.

Demo is that Hawkeye and Datastore tests pass using FDB with this fix in place, as per build no. 6998.


Initial commit for embedding JerryScript to specific target boards.

This change includes mbed/frdm-k64f and esp8266-01.
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

Please split your commit into 3 commits:

Infrastructural changes
+ESP
+K65F

Please rename embedding into targets

Please share guide on how to build engine/firmware for K64F.

Do you plan to more STM32* build to this infra?

Please share guide on how to build engine/firmware for K64F.
readme.md file in mbedk64f has a link, http://yottadocs.mbed.com/#installing. maybe thinking of some short version?

Do you plan to move STM32* build to this infra?

You mean current bare bone version? well, no. When this target embedding structure be stable and lands,  I would like someone interested can do.

I'll update this change when #752 is settled down.

Please split your commit into 3 commits

Sure, it's important to make one thing at a time.

@egavrin , I think all of your comments are applied :)

I have only minor question about merging js2c.py and ./tools/generator.sh.
Otherwise LGTM

Didn't see the last message :(
about merging js2c.py and ./tools/generator.sh
I think it would be better to merge them when MCU moves to targets folder. But before that, is it ok to change MCU codes to targets style and build structure?

Waiting for one more LGTM :)

General question: do we plan to have the same Jerry code style requirements for the files under the targets dir?

General question: do we plan to have the same Jerry code style requirements for the files under the targets dir?

Files from the target provider may or should co-exist and it can have its own code style. I think it would be comfortable to leave it as by targets style.

@galpeter , please review again when comfortable.

@seanshpark LGTM


"VALUE ARE" is valid according to the compiler

In legacy cobol 85 code I see "VALUE ARE" in level 88 variables, instead of "VALUES ARE".
The code compiles, but cobol85parser raises an exception.

Fixed in 6b04e529f3c73542d30844c811321c184a30ff24 including a unit test. Thanks for issuing!


Query panel scroll blocked after resize panels

Describe the bug
It can not scroll up or down the query panel after resize other panels. Additionally scrollbar is sticked when I use mouse wheel. The same problem was replicated to other tabs.
To Reproduce
Steps to reproduce the behavior:
Resize panels as capture.
Expected behavior
A clear and concise description of what you expected to happen.
Captures

Altair
Version 2.1.5 (<IP_ADDRESS>70)
Desktop (please complete the following information):

OS: Macos 10.14.4
Browser: Google Chrome
Version: 73.0

I'm using a Mac Magic mouse  don't know if that cause the problem. I guess your scrollbar is a customized scrollbar.

@joseluisq Those are not scrollbars 😄 Those are the resize controls.

Sorry 😄 I understand but why can't I click on scrollbar behind?

The scrollbar appears beside. Not behind.

I'm a bit confused

What is confusing?

The resize control looks like a scrollbar sorry.

Yeah I can consider updating the resize control style to look different.

Good, another point How can I show the scrollbar aside the resize control same like your screenshot above?

That's easy! Just have a query that is so long, a scrollbar would have to show 😄

It's strange, when I scroll in Mac (Chrome) then automatically the scrollbar appears but in your app sometimes appears but I can't catch up it by click on. It's something like the resize control is over the scrollbar.

Probably both are so close to each other.

I don't know about that but I think that Chrome has recently updated the scrollbar and it always shows. At least that's the case for me. It doesn't disappear anymore. Also if you're using a mouse with a wheel like the magic mouse, you wouldn't have any issues scrolling with the mouse as opposed to using the scrollbar.

Yeah, the problem is not scrolling the problem is the scrollbar which is not visible along the navigation. But anyway consider to update the resize control.

Closed in c48be84b13ad33c6d362f6cc531201ade2d4a8df

👍


Allow http2

It would be really nice if this thing could generate development certificates for you. Also, to make sure this can be used in production, allow the user to specify where the certs are located. That should probably be done in the zwitterion.json file.

Do not regenerate certs each time. Once that is finished, close this issue.


Update dependencies to Pandas v2.0

Stop-gap solution as part of #763 which just updates existing pip based requirement files rather than also switching to fully conda based approach as in #949.
Given Pandas v2.1 has now been released assuming it is probably worth updating to use this assuming there aren't any major additional breaking changes over switch to v2.0 (which it doesn't look like there is from release notes).
Edit: Pandas v2.1 only support Python 3.9+ so rolling back pin to Panda v2.0 to maintain Python 3.8 compatibility for now.
From running tests locally it looks like at least some tests fail due to changes which are not Panda v2.0 compatible since I last worked on this, so will need to find and fix all of these first so marking this as draft for now.

All the failures seem to be due to #1113 which is fixed by #1114 so 🤞 tests here will pass once that is merged in.

Tests now all passing with #1142 merged 🎉


Add Japanese README

Motivation
I created Japanese translated README.
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Hi @eltociear ,
Thanks for your kind contribution.
I have translated the Japanese contents back to Chinese via Bing and they looks good to me.
This PR can be merged once we got confirmation from you that the contents are indeed produced by the model

@ZwwWayne Yes, I will replace this one.

@ZwwWayne I have replaced the target string with the string of the output content.


Doesn't work for Ukraine

Everything else seems to work just fine, but when I'm trying to search for any city in Ukraine or just the whole country, I'm getting this error:
❯ wthrr Ukraine
  🦀  Hey friend. I'm glad you are asking.
Error: Weather data request failed.

Caused by:
    0: error decoding response body: missing field `latitude` at line 1 column 42
    1: missing field `latitude` at line 1 column 42

Hey @alisohub thanks for reaching out!
Unfortunately, I cannot reproduce. Does the problem still persist for you? It could have been a temporary error accessing the API endpoint.


Odd behaviour with promises

I have and angular module angular.validators that is a wrapper for validator.js. Up until now every time validator.js was updated I would copy the source code and paste it on my service and then make it available on my directives.
I decided to automate the procedure and replaced the service code with the following:
.service('validator', ['$http', '$q', 'validator_version', function ($http, $q, version) {
    var deferred = $q.defer();
    $http.get('https://cdn.rawgit.com/chriso/validator.js/'+ version + '/validator.js')
        .then(function(result){
            deferred.resolve(result.data);
        });
    return deferred.promise;
}])

I know that it should not work, because validator returns a promise and on my directives I treat it like a regular function, e.g:
.directive('contains', ['validator', function (validator) {
    return {
        require: 'ngModel',
        restrict: 'A',
        link: function (scope, element, attrs, controller) {
            controller.$validators.contains = function (modelValue, viewValue) {
                if (controller.$isEmpty(modelValue)) {
                    return true;
                }
                return validator.contains(viewValue, attrs.contains);
            };
        }
    };
}])

but when i run my karma tests, oddly all tests pass without issues (a total of 81 tests atm). I thought that this is odd and then created a test project for my module and indeed when I ran it live on the browser all directives failed since they were not available. Why could this behaviour be?

@Dignifiedquire How does your test in question look like?
By the way: your service is actually a factory.


opens DB twice

discord also does DB stuffs so it called store.init again which results in opening the DB twice
Jan 13 16:51:47 sorunome node[17989]: WARNING: Creating a duplicate database object for the same connection.
Jan 13 16:51:47 sorunome node[17989]:     at Postgres.Open (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/db/postgres.js:47:19)
Jan 13 16:51:47 sorunome node[17989]:     at Store.<anonymous> (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:170:25)
Jan 13 16:51:47 sorunome node[17989]:     at __awaiter (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:4:12)
Jan 13 16:51:47 sorunome node[17989]:     at Store.openDatabase (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:160:16)
Jan 13 16:51:47 sorunome node[17989]:     at Store.<anonymous> (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:45:24)
Jan 13 16:51:47 sorunome node[17989]:     at __awaiter (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:4:12)
Jan 13 16:51:47 sorunome node[17989]:     at Store.init (/opt/matrix-appservices/mx-puppet-discord/node_modules/mx-puppet-bridge/lib/store.js:43:16)
Jan 13 16:51:47 sorunome node[17989]:     at DiscordStore.<anonymous> (/opt/matrix-appservices/mx-puppet-discord/build/store.js:22:30)
Jan 13 16:51:47 sorunome node[17989]:     at __awaiter (/opt/matrix-appservices/mx-puppet-discord/build/store.js:4:12)

Fixed in https://github.com/matrix-discord/mx-puppet-discord/commit/77ed2177ef0252c0f4bdce5a6141bfeb92600782


Enum type tests broken in DDC

The following regressed recently in DDC.  It's printing true.
enum Foo {
  f1,
  f2
}

void main() {
  print("hello" is Foo);
}

@jmesserly - any ideas on this one?

yes ... enums skip most of the class decl logic so they might be missing the addTypeTests call.

https://dart-review.googlesource.com/c/sdk/+/4609


Rac on Docker 18.3 Code merge in main repo

We have finished the testing for RAC on Docker 18.3. It is ready to go to Main repo, please approve it.

I'm on leave for at least another week. I've added @gvenzl and @mriccell as reviewers so this can be merged sooner if possible.

Closing this request and will open a new one as I made some more changes in README.MD and dockerfile for password management.


[Improvement][Task Plugin] Optimize MLFlow task plugin for ease of use

Purpose of the pull request
close: #12070

[x] Support for modifying the dolphinscheduler-mlflow repository
We can modify the repository address to the local path if we can not access git
[x] Remove deploy with docker compose, keep deploy with Docker
docker compose and DOCKER of MLflow models are highly similar, keep the delicate one
[x] Optimize doc
[x] Optimize UI

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)

Codecov Report

Merging #12071 (d94b757) into dev (8cddb10) will decrease coverage by 0.10%.
The diff coverage is 82.69%.

@@             Coverage Diff              @@
##                dev   #12071      +/-   ##
============================================
- Coverage     38.65%   38.55%   -0.11%
- Complexity     4005     4007       +2
============================================
  Files          1002     1004       +2
  Lines         37213    37359     +146
  Branches       4249     4255       +6
============================================
+ Hits          14386    14402      +16
- Misses        21195    21312     +117
- Partials       1632     1645      +13

Impacted Files
Coverage Δ

...nscheduler/plugin/task/mlflow/MlflowConstants.java
0.00% <ø> (ø)

...scheduler/plugin/task/mlflow/MlflowParameters.java
18.18% <36.36%> (-56.05%)
:arrow_down:

...olphinscheduler/plugin/task/mlflow/MlflowTask.java
59.48% <95.12%> (+3.00%)
:arrow_up:

...heduler/plugin/task/jupyter/JupyterParameters.java
0.00% <0.00%> (-33.34%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
53.33% <0.00%> (-7.28%)
:arrow_down:

...phinscheduler/plugin/task/jupyter/JupyterTask.java
62.85% <0.00%> (-0.61%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...heduler/api/service/impl/ResourcesServiceImpl.java
51.68% <0.00%> (-0.47%)
:arrow_down:

... and 26 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Adding ncspot version 0.13.4.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @donwlewis,
The package has a dependency on VCRedist:

While I can't find the PR where this manifest was originally submitted, it appears to be already in our repo.  Closing due to merge conflicts.


Chinese Traditional and Simplified settings

I want to use Chinese Simplified, but Chinese Traditional often appears, and I want to know how to change it. I know that whiper can change prompts to serve their purposes, and I want to know how to do that in whisper_stream

When the microphone input is just turned on and there is no clear human voice in the environment, a more specific similar output will appear, and it is likely to output traditional Chinese. as follows
hisper-server-INFO: INFO: Listening on('localhost', 43007)
whisper-server-INFO: INFO: Connected to client on ('<IP_ADDRESS>', 54951)
b'\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00'
2048
b'\xf3\xff\xf3\xff\xf3\xff\xf3\xff\xf3\xff'
40960
PROMPT:
CONTEXT:
transcribing 1.34 seconds from 0.00
whisper-server-INFO: Processing audio with duration 00:01.344

COMPLETE NOW: (None, None, '')
INCOMPLETE: (0.0, 1.32, '字幕由 Amara.org 社群提供')
(None, None, '')
b'\xa4\xfd\xae\xfd\xcc\xfdy\xfd\x87\xfd'
65536
PROMPT:
CONTEXT:
transcribing 3.39 seconds from 0.00
whisper-server-INFO: Processing audio with duration 00:03.392
COMPLETE NOW: (None, None, '')
INCOMPLETE: (2.1599999999999997, 3.36, '請不吝點贊訂閱轉發打賞支持明鏡與點點欄目')
(None, None, '')

When the microphone is first turned on to input clear human voices, reasonable text output may appear, and it is likely to output Simplified Chinese
I need your help

Hi,
we should find a way that works in the basic, offline Whisper, and then apply the same way to Whisper-Streaming. I found this: https://github.com/openai/whisper/discussions/277 They suggest a fixed text in the initial prompt that is passed as a cmdline parameter. You can do it similarly for Whisper-Streaming, and then share your code and make PR. But there will be more challenges to experiment with. Unfortunately I'm currently not available to do it. And I would need a benchmark test set to finally evaluate the performance.

@happywch , please reopen if you have follow up question, comment or PR. Thanks!


Handle uv venv/install

In addition to venv/pip handing, buildenv shall be able to deal with the uv way to manage virtual environments

This probably means introducing a venv handling interface with 2 implementations. This interface shall be public to let other tools (like nmk) using it.


Add payload parameter to DELETE method on REST helper

I was trying to execute a DELETE method with a payload then I realized it just accepts headers.
Didn't investigate much about it and hopefully I'm not violating anything.
Found this one:
https://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request
TL;DR
If a DELETE request includes an entity body, the body is ignored [...]

Having the ordering of the parameters be different isn't ideal, but otherwise your PR will break existing tests for anyone passing headers to a DELETE. Although a body is allowed (see e.g. https://stackoverflow.com/q/299628/3001761), it has no defined semantics - maybe it would be better to use _executeRequest for unconventional requests.

So far I recommend using it in custom helper.
As this is a very rare case I'd like not to change the API


Auto-Hidden Taskbar Doesn't Appear On Hover With Mouse Utilities Click

Microsoft PowerToys version
0.51.0
Running as admin

[X] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce
Make Taskbar 3 rows big & auto-hidden, & appear when hovering mouse to the bottom of the screen.
✔ Expected Behavior
Taskbar should spring into view.
❌ Actual Behavior
Doesn't hover into view, broken when Mouse Utilities (Click Highlight is enabled with Shortcut winkey+Shift+H)
Other Software
Stardock WindowBlinds 10.89 (unsure if incompatible, using a texture with the Dark Mode skin, shouldn't be a problem)\ Windows 10 Enterprise Edition user

I've been able to replicate this. It seems that when we create the mouse highlighter Window, for some reason the Window that is active and is maximized gets on top of the task bar.
This isn't happening to me when I have no window maximized / intersecting the taskbar. Is it the same for you @alienfxfiend ?
Somehow I feel like that https://github.com/microsoft/PowerToys/issues/14178 is related. The taskbar is not appearing because it doesn't receive the mouse hover since it's no longer on top.

agreed this is #14178.

Duplicate of #14178


Add requirements and test workflow

Test workflow installs requirements and runs on one test graph. It does not yet formally use pytest or check the correctness of the results.

We noticed after db6cacd that the test case passes even if the solver fails.  We will need to think about how to capture that error.


Import wildcard mentions from Slack into zulip

When a user does a wildcard mention (i.e. @channel, @here, etc.), we should translate those to a zulip wildcard mention.  I'd probably map them all to @all for now, but we should write the code in a way where changing the mapping is easy

List of all the announcement types: here, channel and everyone. all has been deprecated. group is usually auto-completed to channel or list of users.
Ref:

https://get.slack.help/hc/en-us/articles/202009646-Make-an-announcement

@zulipbot claim


added new flags to summary and enabled fast compression

PR checklist

[ x ] CHANGELOG.md is updated

Is the -b1 compression lossless?

Yes, it seems to be faster due to less compression than the default. See here and here


Lockfile test

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Hm, checksums differ on different OSes, but I think this is specific to the testing infrastructure in tests::support, so it should be ok just to ignore the cheksum.

@bors: r+
Awesome, thanks @matklad!

:pushpin: Commit 9c5d4da has been approved by alexcrichton

:hourglass: Testing commit 9c5d4da with merge b0ce1d8...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing b0ce1d87af41c48988e18d2277ef5dcfc9ca375a to master...


fix(uncomment-buggytests):Uncommented Tests, With Reseason of failure Bugs

Uncommented Tests, With Reseason of failure Bugs
Hello Team,
After this PR ./local_run_functional_test.sh will start showing 15 Failed Tests.
Those tests are failing due to Product bugs.
To track the Live bugs in the product we are not commenting the known Failures.
Stay tuned !

@naina-verma snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1861-fabric8-planner.int.rdu2c.fabric8.io

@naina-verma snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1861-fabric8-planner.int.rdu2c.fabric8.io

@naina-verma snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1861-fabric8-planner.int.rdu2c.fabric8.io


When deleting all nodes, if one node cannot be deleted then the rest of the nodes can't be deleted

When running ockam node delete --all we run in a loop, trying to delete all known nodes. However if one of them fails to be deleted, the loop is broken and the rest of the nodes cannot be deleted.
The relevant code is here.
It would be nice to just collect the errors and report them at the end of the loop as one.

Hello, I would like to take this issue if nobody else is working on it.


A missing CRD causes istiod to not properly start-up

Bug description
When an expected CRD is missing, istiod fails to start and repeatedly issues a log similar to 2020-03-27T23:19:19.485207Z	info	controller "security.istio.io/v1beta1/AuthorizationPolicy" is syncing...
Expected behavior

Either istio reports that a CRD is missing and cannot start succesfully

or

istiod starts, logs a warning that a CRD is missing and continues on

Steps to reproduce the bug

Install istio 1.5+
kubectl delete crd authorizationpolicies.security.istio.io
kubectl delete pod -n istio-system $(kubectl get pod -n istio-system -l app=istiod -o jsonpath='{.items[0].metadata.name}')
Wait a few seconds until the new pod appears
kubectl logs -n istio-system $(kubectl get pod -n istio-system -l app=istiod -o jsonpath='{.items[0].metadata.name}')

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
client version: 1.5.0
control plane version: 1.5.0
data plane version: none
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-26T06:16:15Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.9", GitCommit:"2e808b7cb054ee242b68e62455323aa783991f03", GitTreeState:"clean", BuildDate:"2020-01-18T23:24:23Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
istioctl manifest apply --set values.global.outboundTrafficPolicy.mode=REGISTRY_ONLY --set values.telemetry.v1.enabled=true --set values.telemetry.v2.enabled=false --set components.telemetry.enabled=true --set components.citadel.enabled=true --set values.gateways.istio-egressgateway.enabled=true
Environment where bug was observed (cloud vendor, OS, etc)
AWS on a K8s cluster created by kops.

Duplicate of https://github.com/istio/istio/pull/22557

@jacob-delgado reading @howardjohn 's PR for this issue, he had said it is reasonable to not expect CRDs present if they are not planned to be used.
My question is, what drove you to execute step 2?
I do agree with @howardjohn; istiod shouldn't block because a CRD name is missing.
I also believe that it may be warranted to just disable the entire group if one CRD is missing. I think the complexity of turning on/off an entire group if one CRD is missing is not desirable (this is not what John's PR does, btw).
A follow-up question for you. The Expected Behavior field is missing from your issue report. Can you improve the issue by adding what you think the expected behavior should be?

@sdake This was actually seen when I was doing development. I had a version of istioctl that did not contain the WorkloadEntry CRD, but had pushed images to docker hub that did. That's not entirely reproducible and isn't really indicative of user behavior so I was able to re-create it using istio 1.5.
As far as leaving expected behavior empty, I actually didn't know what to expect. I've updated it, but I'm skeptical about option (2) as a user may not know how to  fix the underlying issue unless they were do a a kubectl get crds or equivalent command. Better error messages are a good start at a minimum.

cc @howardjohn
Verified with istio 1.6.0-alpha.1
Logs were looping, but contained the following:
istiod-5459687ff-8b7f7 discovery 2020-04-07T18:26:53.465291Z	error	authorization	failed to initialize authorization policies: missing type "security.istio.io/v1beta1/AuthorizationPolicy"
istiod-5459687ff-8b7f7 discovery 2020-04-07T18:26:53.465318Z	error	authorization	failed to initialize authorization policies: missing type "security.istio.io/v1beta1/AuthorizationPolicy"
istiod-5459687ff-8b7f7 discovery 2020-04-07T18:26:53.465324Z	warn	ads	Error reading config missing type "security.istio.io/v1beta1/AuthorizationPolicy"
istiod-5459687ff-8b7f7 discovery 2020-04-07T18:26:53.465736Z	info	transport: loopyWriter.run returning. connection error: desc = "transport is closing"

Feel free to close this issue

ill investigate that, thanks


Support #[should_panic] in tests

I think it would be great to have support for the #[should_panic] attribute on tests. That is, the following works as expected when compiling natively:
#[test]
#[should_panic]
fn foo() {
  panic!("foo")
}

But if I am doing the same in WASM:
#[wasm_bindgen_test::wasm_bindgen_test]
#[should_panic]
fn foo() {
  panic!("foo")
}

I see warning: unused attribute and a panic:
panicked at 'foo', src/XXX:YYY:ZZ

Stack:

Error
    at target/wasm32-unknown-unknown/wbg-tmp/wasm-bindgen-test.js:751:15
   ...

Oh, well, do we have no unwinding support in WASM at all?
#[test]
fn foo() {
  use std::panic::catch_unwind;

  let _ = catch_unwind(|| {
    panic!("test");
  });
}

Even that panics.

Unfortunately this is not possible to easily support today because wasm does not have catchable exceptions, this will work once that proposal stabilizes, though!

I just tripped across this but had noticed earlier that the test runner now trampolines through JS to run the individual tests, which if I'm not mistaken gives it an interface to observe and handle the error.
Is it feasible to implement this feature on that basis now or is there another blocker?


fix: connection closed prematurely in BlobReadChannel & ConnectionReset

Fixes #165
Introduce:

public StorageException(int code, String message, String reason, Throwable cause):
to capture the reason which is used to check RETRYABLE_ERRORS.
public static StorageException translate(IOException exception): to help translate idempotent request exceptions in case they're RETRYABLE_ERRORS. This translate method should be introduced for other idempotent requests, but that's out of scope for this request.

Thanks @elharo, I addressed your comments.

Merging after discussion with @elharo offline. Two approvals is more than enough for this.


Activation issues when wp-admin is behind HTTP-auth

Quick summary
It seems like the plugin cannot be activated if /wp-admin/ is behind HTTP-auth
Steps to reproduce

Activcate HTTP-auth for /wp-admin/
Go to /wp-admin/ and login to your site as an administrator
Attempt to activate the plugin

What you expected to happen
I expect activation to not fail 😉
What actually happened
The activation failed
Impact
All
Available workarounds?
No but the platform is still usable
Logs or notes
I can't think of anything else that may have caused this ...
Unfortunately, I don't seem to be able to find any further log information ... there's nothing in the PHP log, and there's nothing (useful) in the access_log or error_log files.

Is there any error message you can share or does it simply not activate?

Well, I see Plugin could not be activated because it triggered a fatal error. at the top of the admin screen.
There are no errors in the PHP log file, nor in error_log or access_log (Apache).
In the Query monitor (plugin) output, I see this:
PHP errors were triggered during an Ajax request. See your browser developer console for details.
and
GET https://www.mysite.com/wp-admin/plugins.php?plugin=activitypub%2Factivitypub.php → 200
I can't, however, see anything in the developer console that I would relate to this.
Unless this is related to that:
Content-Security-Policy: The page’s settings blocked a worker script (worker-src) at blob:https://www.mysite.com/6f288be1-c660-44fa-a038-2ee6ea064cf7 from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' 'unsafe-eval' http: https: https://*.wp.com https://*.wordpress.com”

Is it possible to install and activate other plugins?

Yes. This is the first time I've seen this happen on this site (i.e. this is the only plugin giving me a 🤯 ...

Thanks for your feedback, I will try to reproduce it, to see what we do different from other plugin devs.

Sorry I couldn't provide more specifics, but there really isn't anything worth mentioning in the logs. How are you "activating"?
I can only see two potential "culprits" (although they work with other plugins), one is HTTP-auth for /wp-admin/, and the other is that I'm using fail2wp. But I can't really find anything related to those two things either during the failed activation attempt.

Content-Security-Policy: The page’s settings blocked a worker script (worker-src) at blob:https://www.mysite.com/6f288be1-c660-44fa-a038-2ee6ea064cf7 from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' 'unsafe-eval' http: https: https://.wp.com https://.wordpress.com”

@joho1968 If your site is hosted on WordPress.com and you feel comfortable sharing the URL, I could try to find system logs that might help debug this further?
Not sure there's much else to sink our teeth in, I'm afraid.

Let's close this for now, while we don't know what it is that causes the error. Happy to re-open when there are other reports or more actionable details to follow up on.


What is the best way to model an inclined surface?

The HeightField is perfect for modelling a horizontal surface where gravity -Z.
What shape should I use when gravity is not along the Z axis and the surface is incline or upside down?  Should I use Trimesh or ConvexPolyhedron to model the surface?  The parameters to create a new Trimesh/ConvexPolyhedron appear almost identical, what is the difference?
Thanks!

You could rotate the heightfield body a bit? Or use an infinite Plane?
Depends on what the use case is. What do you want to model?

If you need a large, static terrain like collider, and if you don't care that it's only got height values, then use the Heightfield.
If you want a dynamic, convex body then use the ConvexPolyhedron.
If you want a complicated, static, non-convex shape, and you already have the data in trimesh format (positions+indices), use a Trimesh.

Trimesh can only collide with a few object types, such as spheres and planes, and is made for many vertices. Convex is made for fewer verts and can collide with more shape types, better for dynamic bodies.

Thanks for responding and sorry about the late reply.
I am experimenting with adding physics support to a webgl-based globe similar to Google Earth. To date the physics engine is managing objects in a localized planar coordinate systems. This means continuous conversation between the planar coordinate system and webgl space.
https://www.youtube.com/watch?v=dDBBV5JI1Vs
To improve performance I would like to experiment with objects stored in webgl space, this means that the Heightfield would need to be oriented tangential to the globe's surface.
Are you saying it is possible to orient Heightfield with body.quaternion?
Yes, I did conduct a quick test with ConvexPolyhedron and Trimesh but the performance wasn't so great. And as mentioned above, some objects like boxes and cylinders would pass straight through a Trimesh.
Thanks!

Sounds like a really cool project :+1:
I'm pretty sure it should work to rotate the Heightfield using a quaternion. If not, it's a bug. Did you try this and failed? I've used oriented Heightfields for a couple of projects, but in those cases I only used 90 degree flips to get it to face along other axes.
By the way, you can change gravity direction using world.gravity.set(x,y,z). I guess it would be pointing to the center of the Earth in your case :)
Check the collision table in the README for currently colliding shape types. If there's a shape pair missing, for example Box vs Trimesh, then you can easily replace the with a couple of spheres (see compound demo).
Stefan


Add AppImage Build Script

For rhel based system gconf2 or lib64gconf2 need to be installed, but normally this will be the case because i think it's needed to build but not sure...
Build instructions :
On portable build instruction after :
./ungoogled_packaging/build.sh
./ungoogled_packaging/package.sh

Just run
./ungoogled_packaging/package.appimage.sh

By the way, the instructions for buliding an AppImage, Flatpak, or Snap should be updated and possibly renamed.

By the way, the instructions for buliding an AppImage, Flatpak, or Snap should be updated and possibly renamed.

Will do that ;)

Updated and resolved as needed ;)
Also tested
all good ;)


Server crashes on second boot unless config file is deleted

which version?

1.20.4

this is finally fixed my b
aa7b416


Bug: When asking for markdown it does not show the actual markdown

Related
When asking for markdown it does not show the actual markdown

+1

Note that - Sometimes when you ask for markdown, ChatGPT might respond by showing a code block with the markdown in it, and other times it might just render the markdown directly in the conversation.
To fix the issue where markdown is rendered but the code is not shown, enable More Actions > View > Show Markdown. This will turn off markdown rendering.


Performing a toggle and left-aligned comment at the same time

Basically, I want to use toggling (leader c space), but so that the comment markers are aligned vertically, as leader cl does. Is this possible?

@ches thanks for the reference, +1

I have merged the PR that adds this feature. Happy commenting everybody!


ensure all UI modules not are not needed are removed

Ensure that after we enable dependency on invenio we dont install unnecessary ui modules,  e.g. invenio-records-ui, invenio-search-ui

I think that we can close this, it should ok, WDYT? @kprzerwa


Expose cardsPerPage prop for OnCallList in OpsgeniePage

This exposes the new cardsPerPage prop for the OnCallList component at the top Page level so that plugin users can easily set it.

@K-Phoen Hi Kevin! 👋 Can you take a look when you have a moment please? 😃

Merged! Thanks for the PR :)


matlab simulink unreal Co-simulation

Hi，
I noticed that matlab already provides an unreal interface. Can carla be simulated by mating with unreal bridge and matlab / simulink? In addition, I learned that it can be controlled by the python library, but this seems more difficult.
Thanks.

Did you manage to get your Simulink model to work with Carla?


Stuck on loading

Hello,
Thank you for creating this API. It appears to be a useful solution for many of my needs. I am pleased to report that all features, such as transactions and reviews, are functioning properly. However, I am experiencing an issue with the orders feature, which is the most important one for me. When I make a request to the {username}/orders endpoint, the application becomes stuck in an endless loading loop. No error or unauthorized messages are displayed. I have tried modifying the link to the orders page, but it did not resolve the issue.
I would greatly appreciate any assistance you can provide in resolving this issue.
Thank you.

Related to #5

Related to #5

Not entirely. I downloaded the source code and am running the app myself.

Also, I'm confused as to whyn the fact that all the other functions do work, but the order get request doesn't? I'm trying to make sense of it all because this is a feature I need for my app, and I believe you can help.

Maybe the APIs has changed. I will check when I get time

Maybe the APIs has changed. I will check when I get time

Thank you! I look forward to your response


Fix dispatching mechanism

Traverse required arch in the order provided by the user instead of trying to guess the best one.
It is actually impossible to define the notion of a best architectures as intel instruction set have a tree structure and not a linear structure : there are multiple leaves and none of them can be considered the "best".

Tested under firefox through gemmology, works like a charm.

@JohanMabille sorry to bother you, but I think this patch + the macosx exp10 patch are enough to justify a patch release


Keeps hanging during compilation

Just gets stuck at "Running erlydt..." sometimes.
Running rebar3 clean and the running compile again fixes it.
Running Windows 10.

We're also getting this consistently on Windows 10. The first time we run, say, rebar3 shell, everything works fine. When we re-run rebar3 shell later one, things fail unless we clean first. I've also only observed this on Windows 10 so far.

I don't have a way to replicate because of no access to windows 10 -- unless they finally offer some sort of free VM I can run locally?

Note that removing only the *_dtl.beam files from _build also helps - full clean isn't needed.
As for free VM, they actually do offer that! https://developer.microsoft.com/en-us/windows/downloads/virtual-machines
If there's anything further I can do to help with resolving this, please let me know, happy to help.

Got someone to run it with DEBUG=1:
===> Provider: {default,compile}
===> Provider: {erlydtl,compile}
===> Running erlydtl...
===> sh info:
        cwd: "c:/project"
        cmd: grep -o [^\"]*\\\.dtl[^\"]* c:/project/priv/templates/public.dtl
===>    opts: [{use_stdout,false},return_on_error]
===> Port Cmd: cmd /q /c grep -o [^\"]*\\\.dtl[^\"]* c:/project/priv/templates/public.dtl
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide,eof]


Unit test failure on MacOS 10.15 Xcode 10.2.1 64bit with OpenSSL 3.0.11

Apologies for not having the verbose logs but it's late on a Friday..
The last build we had successfully compile was v3.0.9.
I've also got some issues with a MacOS 10.14 Xcode 11.3 64bit builds but I need to rule out environment issues for that one first..
Unit test log:
16:52:10 03-test_internal_curve448.t ........ ok
16:52:10
16:52:10         # ERROR: (ptr) 'g2 = d2i_ECPKParameters_fp(fp, NULL) != NULL' failed @ test/ec_internal_test.c:421
16:52:10         # 0x0
16:52:10         # C0FD2E1301000000:error:0680008F:asn1 encoding routines:asn1_item_embed_d2i:no matching choice type:crypto/asn1/tasn_dec.c:324:Type=ECPKPARAMETERS
16:52:10         # OPENSSL_TEST_RAND_ORDER=1695858730
16:52:10         not ok 93 - iteration 11
16:52:11 # ------------------------------------------------------------------------------
16:52:11     # OPENSSL_TEST_RAND_ORDER=1695858730
16:52:11     not ok 7 - ecpkparams_i2d2i_test
16:52:11 # ------------------------------------------------------------------------------
16:52:11 ../../util/wrap.pl ../../test/ec_internal_test => 1
16:52:11 not ok 1 - running ec_internal_test
16:52:11 # ------------------------------------------------------------------------------
16:52:11 #   Failed test 'running ec_internal_test'
16:52:11 #   at /Users/bamboo/jk/p4/ThirdParty/openssl/3.0/_src/openssl-3.0-src/openssl-3.0/util/perl/OpenSSL/Test/Simple.pm line 77.
16:52:11 # Looks like you failed 1 test of 1.03-test_internal_ec.t ..............
16:52:11 Dubious, test returned 1 (wstat 256, 0x100)
16:52:11 Failed 1/1 subtests
16:52:18 03-test_internal_ffc.t ............. ok

buildconfig:

Command line (with current working directory = .):

    perl ./Configure darwin64-x86_64-cc shared enable-fips

Perl information:

    perl
    5.18.4 for darwin-thread-multi-2level

Enabled features:

    acvp-tests
    aria
    asm
    async
    autoalginit
    autoerrinit
    autoload-config
    bf
    blake2
    bulk
    cached-fetch
    camellia
    capieng
    cast
    chacha
    cmac
    cmp
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dso
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    engine
    err
    filenames
    fips
    fips-securitychecks
    gost
    idea
    legacy
    loadereng
    makedepend
    md4
    mdc2
    module
    multiblock
    nextprotoneg
    ocb
    ocsp
    padlockeng
    pic
    pinshared
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    secure-memory
    seed
    shared
    siphash
    siv
    sm2
    sm3
    sm4
    sock
    srp
    srtp
    sse2
    ssl
    ssl-trace
    static-engine
    stdio
    tests
    threads
    tls
    ts
    ui-console
    whirlpool
    tls1
    tls1-method
    tls1_1
    tls1_1-method
    tls1_2
    tls1_2-method
    tls1_3
    dtls1
    dtls1-method
    dtls1_2
    dtls1_2-method

Disabled features:

    afalgeng            [not-linux]      OPENSSL_NO_AFALGENG
    asan                [default]        OPENSSL_NO_ASAN
    buildtest-c++       [default]
    crypto-mdebug       [default]        OPENSSL_NO_CRYPTO_MDEBUG
    devcryptoeng        [default]        OPENSSL_NO_DEVCRYPTOENG
    ec_nistp_64_gcc_128 [default]        OPENSSL_NO_EC_NISTP_64_GCC_128
    egd                 [default]        OPENSSL_NO_EGD
    external-tests      [default]        OPENSSL_NO_EXTERNAL_TESTS
    fuzz-afl            [default]        OPENSSL_NO_FUZZ_AFL
    fuzz-libfuzzer      [default]        OPENSSL_NO_FUZZ_LIBFUZZER
    ktls                [default]        OPENSSL_NO_KTLS
    md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
    msan                [default]        OPENSSL_NO_MSAN
    rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
    sctp                [default]        OPENSSL_NO_SCTP
    trace               [default]        OPENSSL_NO_TRACE
    ubsan               [default]        OPENSSL_NO_UBSAN
    unit-test           [default]        OPENSSL_NO_UNIT_TEST
    uplink              [no uplink_arch] OPENSSL_NO_UPLINK
    weak-ssl-ciphers    [default]        OPENSSL_NO_WEAK_SSL_CIPHERS
    zlib                [default]
    zlib-dynamic        [default]
    ssl3                [default]        OPENSSL_NO_SSL3
    ssl3-method         [default]        OPENSSL_NO_SSL3_METHOD

Config target attributes:

    AR => "ar",
    ARFLAGS => "qc",
    CC => "cc",
    CFLAGS => "-O3 -Wall",
    HASHBANGPERL => "/usr/bin/env perl",
    RANLIB => "ranlib -c",
    RC => "windres",
    asm_arch => "x86_64",
    bn_ops => "SIXTY_FOUR_BIT_LONG",
    build_file => "Makefile",
    build_scheme => [ "unified", "unix" ],
    cflags => "-arch x86_64",
    cppflags => "-D_REENTRANT",
    defines => [ "OPENSSL_BUILDING_OPENSSL" ],
    disable => [  ],
    dso_scheme => "dlfcn",
    enable => [  ],
    includes => [  ],
    lflags => "-Wl,-search_paths_first",
    lib_cflags => "",
    lib_cppflags => "-DL_ENDIAN",
    lib_defines => [  ],
    module_cflags => "-fPIC",
    module_cxxflags => undef,
    module_ldflags => "-bundle",
    perl_platform => "Unix",
    perlasm_scheme => "macosx",
    shared_cflag => "-fPIC",
    shared_defines => [  ],
    shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",
    shared_ldflag => "-dynamiclib -current_version \$(SHLIB_VERSION_NUMBER) -compatibility_version \$(SHLIB_VERSION_NUMBER)",
    shared_rcflag => "",
    shared_sonameflag => "-install_name \$(libdir)/",
    shared_target => "darwin-shared",
    sys_id => "MACOSX",
    thread_defines => [  ],
    thread_scheme => "pthreads",
    unistd => "<unistd.h>",

Recorded environment:

    AR =
    ARFLAGS =
    AS =
    ASFLAGS =
    BUILDFILE =
    CC =
    CFLAGS =
    CPP =
    CPPDEFINES =
    CPPFLAGS =
    CPPINCLUDES =
    CROSS_COMPILE =
    CXX =
    CXXFLAGS =
    HASHBANGPERL =
    LD =
    LDFLAGS =
    LDLIBS =
    MT =
    MTFLAGS =
    OPENSSL_LOCAL_CONFIG_DIR =
    PERL =
    RANLIB =
    RC =
    RCFLAGS =
    RM =
    WINDRES =
    __CNF_CFLAGS =
    __CNF_CPPDEFINES =
    __CNF_CPPFLAGS =
    __CNF_CPPINCLUDES =
    __CNF_CXXFLAGS =
    __CNF_LDFLAGS =
    __CNF_LDLIBS =

Makevars:

    AR              = ar
    ARFLAGS         = qc
    CC              = cc
    CFLAGS          = -O3 -Wall
    CPPDEFINES      =
    CPPFLAGS        =
    CPPINCLUDES     =
    CXXFLAGS        =
    HASHBANGPERL    = /usr/bin/env perl
    LDFLAGS         =
    LDLIBS          =
    PERL            = perl
    RANLIB          = ranlib -c
    RC              = windres
    RCFLAGS         =

NOTE: These variables only represent the configuration view.  The build file
template may have processed these variables further, please have a look at the
build file for more exact data:
    Makefile

build file:

    Makefile

build file templates:

    Configurations/common0.tmpl
    Configurations/unix-Makefile.tmpl

Very strange but this has somehow started working while trying to get verbose logs. Ran it again without verbose to make sure.
Cosmic rays at it again. Closing.
Thanks!