NameError: global name 'get_main_frame' is not defined

below is the full error message. the code is unaltered.  development environment is everything in the standard pyjs installation + standard pyjsdl.+ python 2.7.8
Traceback (most recent call last):
File "G:/iphonepython/fake-snake/Untitled.py", line 1, in
from scene import *
File "G:\iphonepython\fake-snake\scene.py", line 1, in
import scene
File "G:\iphonepython\fake-snake_scene.py", line 1, in
import pyjsdl as pygame
File "G:\iphonepython\fake-snake\pyjsdl_init.py", line 25, in
from display import Display
File "G:\iphonepython\fake-snake\pyjsdl\display.py", line 4, in
from surface import Surface
File "G:\iphonepython\fake-snake\pyjsdl\surface.py", line 5, in
from color import Color
File "G:\iphonepython\fake-snake\pyjsdl\color.py", line 4, in
from pyjsobj import Color as _Color
File "G:\iphonepython\fake-snake\pyjsdl\pyjsobj.py", line 4, in
from pyjamas import DOM
File "G:\python27\lib\pyjamas\DOM.py", line 1035, in
init()
File "G:\python27\lib\pyjamas\DOM.py", line 81, in init
mf = get_main_frame()
NameError: global name 'get_main_frame' is not defined

Prior to using [pyjsdl] (http://gatc.ca/projects/pyjsdl/), confirm [pyjs v0.8.1-dev] (https://github.com/pyjs/pyjs/) is properly installed and is able to translate a python program to a javascript app. My [post] (http://gatc.ca/2014/11/16/guide-to-pyjs-and-pyjsdl/) has notes on development with pyjs. Translate a simple python program such as /examples/helloworld from the [pyjs repository] (https://github.com/pyjs/pyjs/):
[pyjs_path]pyjsbuild -S Hello.py –dynamic-link -o output
The translated javascript app in the output folder can be run by opening Hello.html in a browser.

i tested the hello world example.  it compiled in python and converted successfully(or at least produced an intelligible webpage)

Opening output/Hello.html in the browser, generated with pyjsbuild of examples/Hello.py, should match the [webpage] (http://pyjs.org/examples/Hello2.html) on pyjs website. If this was successful, may also translate the pyjs example /examples/gwtcanvas that generates a webpage with a graphics demo of the html5 canvas, with the command 'pyjsbuild -S GWTCanvasDemo.py –dynamic-link -o output', and opening output/GWTCanvasDemo.html in the browser should match the [webpage] (http://pyjs.org/examples/GWTCanvasDemo.html) on [pyjs] (http://pyjs.org) website. Once tests pass, should be able to development with [pyjsdl] (http://gatc.ca/projects/pyjsdl/).

that worked but failed on first attempt. i simply retried the conversion and it seemed to fix itself. however when i retried the conversion it gave me another error. although this is not in your module. its very long and i can't copy and paste this error but it says "translator_pronto.TranslationError: pyjamas.Canvas.HTML5Canvas line 5: class method not found: HTML5Canvas.createLinearGradient Function()
in the parenthesis there are some arguments passed

Appears to be a similar pyjs translator error I had encountered and [corrected] (https://github.com/pyjs/pyjs/pull/795). Make sure you installed the lastest build of [pyjs v0.8.1-dev] (https://github.com/pyjs/pyjs/).

new error. when i try to run the webpage in IE it tells me that there is no module named pygame.locals
on chrome it was just blank it gave me an error that is caused by chrome being picky. http://stackoverflow.com/questions/17950598/using-iframe-with-local-files-in-chrome

The locals import problem - import needs to be pyjsdl.locals. Chrome local-files problem - addressed in my [comment] (http://gatc.ca/2013/07/31/deploy-javascript-application-using-pyjsdl/#comment-2117), better solution is to use SimpleHTTPServer discussed in my [post] (http://gatc.ca/2014/11/16/guide-to-pyjs-and-pyjsdl/).

the chrome fix works like a charm. However, now its telling me that there is no module numbers.Number. if i knew what to substitute then i would do it myself. This module seems to be a core python module.
thank you for your help.

This touches on some challenges, many python modules are unavailable after pyjs conversion to the javascript environment. The numbers module is not implemented, so either code it or derive an alternative method, this [post] (http://stackoverflow.com/questions/15399340/how-to-calculate-with-imaginary-numbers-in-javascript) may provide ideas. Revise python statements to model complex numbers to equivalent number combinations, or use complex type defined in python that is implemented in pyjs, ie. 'cnum=complex(1,0)'. A more advanced solution is to use a javascript library such as [mathjs] (http://mathjs.org/).


fix(FileUploader): limit multiple="false" to a single upload

This PR will limit FileUploader to a single upload when the multiple prop is false. Closes IBM/carbon-components-react#1166
Changelog
Changed

behavior of onChange handler in FileUploader when multiple prop is false

Thank you for doing this @emyarod!! Given this is a breaking change, wondering if we can do this in your V2…?

yes @asudoh I can make this change for V2 only, sorry about the misunderstanding

My apologies for not being clear and thank you for understanding @emyarod! 🙏

@asudoh this should be resolved with this commit in the V2 branch


Enable URL searching in directory tree via RegEx

Many other BDD tools allow files to be discovered with a regular expression. Create a class that will locate files in a similar manner and produce a collection of URLs that can be used by a TestSpecificationFactory

There is now a TestResourceFinder interface. Currently we have a FileSystemTestResourceFinder and GlobPathMatcher implementation to recursively search the filesystem for test resources.


version up

PR title
Status
READY/IN DEVELOPMENT/HOLD
Description
A few sentences describing the overall goals of the pull request's commits.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[ ] Tests
[ ] Documentation

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git pull --prune
git checkout <feature_branch>
pytest --showlocals

Impacted Areas in Application
List general components of the application that this PR will affect:

:white_check_mark: Build ebook_homebrew 1.0.389 completed (commit https://github.com/tubone24/ebook_homebrew/commit/9007716704 by @)


Falco can't load BPF probe in GKE

Describe the bug
I am getting errors when Falco 0.19.0 tries to get the BPF probe from the S3 bucket in AWS. If I use v0.18.0 it works fine using the SYSDIF_BPF_PROBE environment variable in the Daemonset manifest. Now, while I was trying to deploy the DaemonSet with Falco v0.19.0, if I use the environment variable SYSDIG_BPF probe I get the following error:
* Setting up /usr/src links from host
* Unloading falco-probe, if present
* Running dkms install for falco

Creating symlink /var/lib/dkms/falco/0.19.0/source ->
                 /usr/src/falco-0.19.0

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.14.150+ cannot be found at
/lib/modules/4.14.150+/build or /lib/modules/4.14.150+/source.
* Running dkms build failed, couldn't find /var/lib/dkms/falco/0.19.0/build/make.log
* Trying to load a system falco-probe, if present
* Trying to find precompiled falco-probe for 4.14.150+
Found kernel config at /proc/config.gz
* Trying to download precompiled module from https://s3.amazonaws.com/download.draios.com/stable/sysdig-probe-binaries/falco-probe-0.19.0-x86_64-4.14.150%2B-353b32428aa262ba1b77391c004ebacd.ko
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to s3.amazonaws.com:443
Download failed, consider compiling your own falco-probe and loading it or getting in touch with the Falco community
Thu Jan 23 20:19:52 2020: Falco initialized with configuration file /etc/falco/falco.yaml
Thu Jan 23 20:19:52 2020: Configured rules filenames:
Thu Jan 23 20:19:52 2020:    /etc/falco/falco_rules.yaml
Thu Jan 23 20:19:52 2020:    /etc/falco/k8s_audit_rules.yaml
Thu Jan 23 20:19:52 2020:    /etc/falco/application_rules.yaml
Thu Jan 23 20:19:52 2020:    /etc/falco/falco_rules.local.yaml
Thu Jan 23 20:19:52 2020: Loading rules from file /etc/falco/falco_rules.yaml:
Thu Jan 23 20:19:52 2020: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Thu Jan 23 20:19:52 2020: Loading rules from file /etc/falco/application_rules.yaml:
Thu Jan 23 20:19:52 2020: Loading rules from file /etc/falco/falco_rules.local.yaml:
Thu Jan 23 20:19:53 2020: Unable to load the driver. Exiting.
Thu Jan 23 20:19:53 2020: Runtime error: can't open BPF probe '/root/.sysdig/falco-probe-bpf.o': Errno 2. Exiting.

I can confirm it is not a connection issue becasuse it works with Falco 0.18.0
How to reproduce it
Just deploy the Falco daemonset to GKE as described in https://github.com/falcosecurity/falco/blob/dev/integrations/k8s-using-daemonset/k8s-with-rbac/falco-daemonset-configmap.yaml
Of course the section that enables the BPF behaviour needs to be uncommented.
Expected behaviour
Falco should be deployed as a daemonset in the K8s cluster using the eBPF approach.
Environment
Falco 0.19.0 running as a daemonset in GKE.

Falco version: 0.19.0
Cloud provider or hardware configuration: GCP
OS: COS
Kernel: 4.14.150+
Installation method:
Kubernetes

Hello, I have probably the same issue. It looks like COS is not detected. With Falco 0.18.0 everything works fine.

Same behavior with 0.20

Worked on my side with the following setup:
GKE COS node
env:
          - name: BPF_PROBE
            value: ""
          - name: SYSDIG_BPF_PROBE
            value: "/root/.falco/falco-probe-bpf.o"

Worked on my side with the following setup:
GKE COS node
env:
          - name: BPF_PROBE
            value: ""
          - name: SYSDIG_BPF_PROBE
            value: "/root/.falco/falco-probe-bpf.o"

Cool! Works for me too.

This was fixed in https://github.com/falcosecurity/falco/pull/1050

Will be released in 0.20.1

For all those updating falco after 0.20.1, remember that those two variables reported here are gone now in favor of a single FALCO_BPF_PROBE variable

we have problema with ebpf and gee
Falco can't load BPF probe in GKE
Im using latest and the env

name: BPF_PROBE
value: ""
- name: FALCO_BPF_PROBE
value: "/root/.falco/falco-probe-bpf.o"

Im facing this same issue right now, Im using the GKE marketplace version and all of a sudden all pods are failing. I enabled the eBPF and my cluster runs GCOS
First with:
"Unable to load the driver. Exiting."
Second:
"Runtime error: can't open BPF probe '/root/.sysdig/falco-probe-bpf.o': No such file or directory. Exiting."
Seems like it tries to download:
https://s3.amazonaws.com/download.draios.com/stable/sysdig-probe-binaries/falco-probe-bpf-0.14.0-x86_64-4.14.138%2B-3ed0774cb82bc5c7f3b6f5190c3b82ef.o
and returns a 404
and then a "Failure to find a BPF probe"
Not sure if related
Any idea?
Thank you


Allow users to optionally provide an initial set of features

Refactored user function branch.
Allows users to specify boolean expressions to be used for invariant synthesis. Also has a parser which parses input from the InvGame project. Inputs must be preprocessed by the parser before they can be fed into LoopInvGen.

Thanks Brett. I would review this soon.
Could you please also add the user-specified functions from InvGame project to benchmarks/NIA/2018.sorin/user-fs/, so I can run a few cases and see if everything works?

Thanks Brett. I would review this soon.
Could you please also add the user-specified functions from InvGame project to benchmarks/NIA/2018.sorin/user-fs/, so I can run a few cases and see if everything works?

I added the user-specified functions. There's 2 sets of files, *.input and *.input.parsed, please use the *.input.parsed files as they have already been parsed with the InvGameParser tool.

Thanks for these changes Brett! :)
I have been working on other aspects of LoopInvGen and didn't get a chance to merge your changes, but I finally had some time to get back to it. I have reviewed it, rebased with master and should be able to merge this PR by end of the day.

TODO:

Update README.md: Explain the new command line flags
Debug ZProc.ml: Why do we get an empty line before the result of (check-sat)
Add the remaining .input files for InvGame benchmarks


QUESTION: Is CROW async and multi threaded ?

Looking here https://github.com/ipkn/crow/blob/master/include/crow/http_server.h
It does use boost asio and it is taking in request with async.
It is using threads as well.. but one would have to look into it more to know exactly how it is using them.

Seems to be 1 concurrent thread ? @cypro666


feat: update contract schema and encryption cert for REV 15 release

Tested by provisioning REV 15 on staging.


Mobile mode: link to experiment in non-experimental mode

Shows "Select Project" instead of project name.

Done: f677bc1


Fix for testing against libdiscid 0.6.x

https://rt.cpan.org/Public/Bug/Display.html?id=89285

Applied in #3


{db}/_design_docs/queries gives back non design documents too with 'keys' property

Description
When I query design docs against {db}/_design_docs/queries with keys array that contains document id-s which are not design documents, response will have those non-design documents.
Steps to Reproduce

Create database

curl --location --request PUT 'localhost:5984/trial' \
--header 'Authorization: Basic ***'

Create a design doc and a non-design doc

curl --location --request POST 'localhost:5984/trial/_bulk_docs' \
--header 'Authorization: Basic ***' \
--header 'Content-Type: application/json' \
--data-raw '{
    "docs": [
        {
            "_id": "_design/user-emails",
            "views": {
                "getVerifiedEmails": {
                    "map": "function(doc) { if(doc.email_verified && doc.email_verified == true){\n  emit(doc.email, [doc.name, doc.email_verified, doc.joined]) }}"
                }
            }
        },
        {
            "_id": "abc123",
            "type": "user",
            "email"<EMAIL_ADDRESS>            "email_verified": true
        }
    ]
}'

Query design docs with keys property:

curl --location --request POST 'localhost:5984/trial/_design_docs/queries' \
--header 'Authorization: Basic ***' \
--header 'Content-Type: application/json' \
--data-raw '{
    "queries": [
        {
            "keys":
                ["abc123"]
        }
    ]
}'

response for the latter request is:

{
    "results": [
        {
            "total_rows": 1,
            "offset": null,
            "rows": [
                {
                    "id": "abc123",
                    "key": "abc123",
                    "value": {
                        "rev": "1-3e0944abf21b22d8d6fe70002edc2e82"
                    }
                }
            ]
        }
    ]
}

Expected Behaviour
The response should contain nothing, like when I use the key property:
curl --location --request POST 'localhost:5984/trial/_design_docs/queries' \
--header 'Authorization: Basic ***' \
--header 'Content-Type: application/json' \
--data-raw '{
    "queries": [
        {
            "key": "abc123"
        }
    ]
}'

Response:
{
    "results": [
        {
            "total_rows": 1,
            "offset": 1,
            "rows": []
        }
    ]
}

Your Environment
{
    "couchdb": "Welcome",
    "version": "3.0.0",
    "git_sha": "03a77db6c",
    "uuid": "cffa3c2cc703d6caed7ec9a9f6d110e9",
    "features": [
        "access-ready",
        "partitioned",
        "pluggable-storage-engines",
        "reshard",
        "scheduler"
    ],
    "vendor": {
        "name": "The Apache Software Foundation"
    }
}

CouchDB version used: 3.0.0, 03a77db6c
Browser name and version: Postman Version 7.22.1 (7.22.1)
Operating system and version: macOS Catalina 10.15.4

PR https://github.com/apache/couchdb/pull/4494 should fix this.
$ curl -X DELETE http://adm:pass@<IP_ADDRESS>:15984/db
$ curl -X PUT http://adm:pass@<IP_ADDRESS>:15984/db
{"ok":true}
$ curl -X POST http://adm:pass@<IP_ADDRESS>:15984/db/_bulk_docs'?=' \
       -H 'Content-Type: application/json' \
       -d '{"docs": [{"_id": "_design/user-emails","views": {"getVerifiedEmails": {"map": "function(doc) {if(doc.email_verified && doc.email_verified == true){\n  emit(doc.email, [doc.name, doc.email_verified, doc.joined]) }}"}}},{"_id": "abc123","type": "user","email": "amelie.smith@aol.com","email_verified": true}]}'
[{"ok":true,"id":"_design/user-emails","rev":"1-840ca986e193b3f5df84da0befe09af6"},{"ok":true,"id":"abc123","rev":"1-3e0944abf21b22d8d6fe70002edc2e82"}]
$ curl -X POST http://adm:pass@<IP_ADDRESS>:15984/db/_design_docs/queries'?=' \
       -H 'Content-Type: application/json' \
       -d '{"queries": [{"keys": ["abc123"]}]}'
{"results":[{"total_rows":1,"offset":1,"rows":[]}]}


Support BYO vnet located outside the AKS RG

This pull request is to allow users of this repo that have an existing vnet in a resource group that is different from the target resource group of the Viya4 AKS cluster and other associated resources.

Should I update the documentation to explain how to use this feature such that users can know about it and properly use it?


[Content] MVP: draw and create an object

Is your feature request related to a problem? Please describe.
Shall we have a minimal sample that the user can use controller/mouse click to create an object?
Describe the solution you'd like

Probably our final presentation will include content creation.
Let's have a minimal sample for infrastructure to test. For example, the user can draw some paths, and metaroom reacts with displaying maybe shapes, maybe 3D objects.
For easy debug, it'd be better to support mouse input and controller support together.

[4]. We want to test if other clients can see the same drawing, without syncing all the drawing information but the input events.

@kenperlin @keruwang
Since clay is way more complicated than drawing lines, we probably need to
either 1) integrate the latest version into this repo.
or 2) extract similar but simpler functionality that for me to experiment.
We have to have multiple clients see the same thing because the video we want to make includes two clients: a teacher in VR and a student on the screen. I guess a backup plan is that we record everything in advance.


i got this error

{"response":{"status":"error","message":"Access denied"}}
using: $username =361;     $password = 'b8647b68898b084b836474ed8d61ffe117c9a01168d867f24953b776ddcb134d';

Greetings!
Could you, please, provide more extensive request/response logs?
What do you do exactly?

@ba1ash Hello, i have same issue. Just trying to make requests like described here https://docs.bepaid.by/ru/subscriptions/subscriptions via curl.
Response:
{"message":"Invalid shop_id/secret_key."}
Is credentials here on github actual?

@fr0zen Hi! What shop_id and secret_key are you using? What about requires|response logs(run curl with --verbose option and give me the output, pelase)?

@ba1ash thanks for reply, my request
curl --verbose https://api.bepaid.by/subscriptions \
  -X POST -u 361:b8647b68898b084b836474ed8d61ffe117c9a01168d867f24953b776ddcb134d \
  -H "Content-Type: application/json" \
  -d \
'
{
    "notification_url": "http://merchant.com/subscription_notification",
    "plan": {
        "currency": "USD",
        "plan": {
            "amount": 20,
            "interval": 20,
            "interval_unit": "day"
        },
        "shop_id": 10,
        "title": "Basic plan",
        "trial": {
            "amount": 10,
            "interval": 10,
            "interval_unit": "hour"
        }
    },
    "settings": {
        "language": "it"
    }
}
'

get next response:
Note: Unnecessary use of -X or --request, POST is already inferred.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to api.bepaid.by (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
* NPN, negotiated HTTP1.1
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2621 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Next protocol (67):
} [36 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: OU=Domain Control Validated; CN=*.bepaid.by
*  start date: Feb 27 06:31:44 2019 GMT
*  expire date: Mar 29 10:17:19 2020 GMT
*  subjectAltName: host "api.bepaid.by" matched cert's "*.bepaid.by"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=AlphaSSL CA - SHA256 - G2
*  SSL certificate verify ok.
* Server auth using Basic with user '361'
} [5 bytes data]
> POST /subscriptions HTTP/1.1
> Host: api.bepaid.by
> Authorization: Basic MzYxOmI4NjQ3YjY4ODk4YjA4NGI4MzY0NzRlZDhkNjFmZmUxMTdjOWEwMTE2OGQ4NjdmMjQ5NTNiNzc2ZGRjYjEzNGQ=
> User-Agent: curl/7.63.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 466
>
} [466 bytes data]
* upload completely sent off: 466 out of 466 bytes
{ [5 bytes data]
< HTTP/1.1 401 Unauthorized
< Server: nginx
< Date: Tue, 19 Nov 2019 12:31:36 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Status: 401 Unauthorized
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Cache-Control: no-cache
< X-Request-Id: b0f54cde-8e17-4dd0-8196-e764c7b1b0dc
< X-Runtime: 0.005234
<
{ [52 bytes data]
100   507    0    41  100   466    188   2137 --:--:-- --:--:-- --:--:--  2325{"message":"Invalid shop_id/secret_key."}
* Connection #0 to host api.bepaid.by left intact

Try these credentials
Id  4225
Secret key 3834fbef1fe6ea024ef77f5c79ec7ff1ba710ea6241c08c2f341afda8af4c1c4

shop id 361 is valid for api.begateway.com host only


Support for multiple assignees

This currently appears to use only the first assignee on a PR. Does the current architecture allow this to be extended to:

Use the GitHub multiple assignee feature
Send a direct message to each person rather than a general announcement

Thoughts?

@craig-davis You're right. I think the code could be adapted to support multi-assignees (which as you know, is a recent feature Github introduced). I'm happy to help if you are interested in taking a stab at that.
Also happy to accept pull requests for the support.

@ndaversa Multiple assignee support would be a great addition at work. I'll try to find some time to work on it next week.


Jason Meil Created using Colaboratory

Hey Jason,
Lots of great code here. I love the bar charts. Coding Data Visualizations is  a great skill to develop
</Audrey

Hi Jason,
Code looks great! Try commenting more so that it's more readable and you can follow along with your steps.
</Audrey


remove node_modules

node_modules shouldn't be committed, it should be in .gitignore and generated with yarn
build currently fails because yarn sees the node_modules directory and doesn't properly install dependencies.

Thanks for reporting :) fixed it!


[BUG] Compile error on nightly Rust in-line ASM code

Describe the bug
Compile failed when my code includes Rust in-line ASM code. There is no any lines of detailed compile error output, only showing a red X mark.
When try to trigger compiler output, it shows like this:
error[E0602]: unknown lint: `l,_rpath,/opt/compiler_explorer/rust_nightly/lib`
  |
  = note: requested on the command line with `-W l,_rpath,/opt/compiler_explorer/rust_nightly/lib`

error[E0602]: unknown lint: `l,_rpath,/opt/compiler_explorer/rust_nightly/lib32`
  |
  = note: requested on the command line with `-W l,_rpath,/opt/compiler_explorer/rust_nightly/lib32`

error[E0602]: unknown lint: `l,_rpath,/opt/compiler_explorer/rust_nightly/lib64`
  |
  = note: requested on the command line with `-W l,_rpath,/opt/compiler_explorer/rust_nightly/lib64`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0602`.

To Reproduce
Switch compiler type to nightly Rust, then input these code:
#![feature(asm)]

pub fn nop() {
    asm!("nop");
}

Expected behavior
This code should generate properly to a Rust-convention function wrapper with one line of nop instructuction inside.

I assume this error was produced locally and not on the live website? Only in binary and execution mode should this error occur, and it was fixed with this commit https://github.com/mattgodbolt/compiler-explorer/commit/41f696489d6787b2b5b3fffc8b52582ae7547ad8
So please try again with the latest source.

@partouf I am afraid it still occurs on the website. FYI I shared my code and configuration here: https://godbolt.org/z/5y-ZHn

When clicking the above link, I get a very different error because of unsafeness.

Wow, I checked again and this code could compile now (after unsafe fixed). Thanks a lot! :) @partouf


LAPS not working for macOS Big Sur?

I am now testing all my setup - especially Jamf related issues with macOS Big Sur and this includes the LAPS scripts provided here.
The existing setup works fine under macOS Catalina.
However it looks like there is a problem in macOS Big Sur. I am including the messages shown in Terminal but will continue to test and investigate further myself.
In addition to the error messages, the script asks for a password during execution which did not use to occur. Interestingly despite all this, it does appear to have succeeded in that the initial default password has been successfully changed and recorded in Jamf. (Tested by unlocking System Preferences with the new random password.)
Running script LAPS...
Password:
Script exit code: 1
Script result: (23) Failed writing body
No Password is stored in LAPS, setting LAPS to initial value.
<?xml version="1.0" encoding="UTF-8"?><computer><id>147</id></computer>(23) Failed writing body
localadmin is a local user on the Computer
/Library/Application Support/JAMF/tmp/LAPS: line 179: recon: command not found
No Password is stored in LAPS.
<dscl_cmd> DS Error: -14090 (eDSAuthFailed)
Error: Password stored in LAPS is not valid for localadmin.
Current password not available, proceeding with forced update.
Reset password for localadmin
New password for localadmin is verified.
<?xml version="1.0" encoding="UTF-8"?><computer><id>147</id></computer>(23) Failed writing body
<dscl_cmd> DS Error: -14090 (eDSAuthFailed)
Error: LAPS password for localadmin is not correct!

Error running script: return code was 1.

As additional information I mentioned in my first comment above that appeared despite the error messages it had actually succeeded. However something strange seems to have happened.
In the Jamf web interface when you view the extension attribute it appears to show a new changed/random password. However when you use the Jamf API to query the value the value returned is still the original unchanged value. This results in other scripts I use to fail because they read the wrong value.
The following is a simple script to read the LAPS extension attribute.
#!/bin/sh
udid=$(/usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Hardware UUID:/ { print $3 }')
apiUser="username"
apiPass="password
extAttName="\"LAPS\""
apiURL="https://jamf.example.com"
localadminPass=$(curl -s -f -u $apiUser:$apiPass -H "Accept: application/xml" $apiURL/JSSResource/computers/udid/$udid/subset/extension_attributes | xpath -e "//extension_attribute[name=$extAttName]" | awk -F'<value>|</value>' '{print $2}' | tail -n +1 )
echo "result $localadminPass"

Note: The behaviour of xpath has changed in Big Sur, you now need to include the -e option as above and the number of lines to skip from the result has changed from 3 to 1.

@jelockwood We're experiencing the same issue as well. Have you had any luck since?

@SimB4t1qbit
I have recently left the role I was at that I was testing Big Sur and LAPS so cannot give a definite answer as to whether it reliably works but I think the xpath change to include the -e flag is the most important and possibly also the value in the tail command as per the example code I provided.

We were able to get LAPS working with Big Sur after making the following changes:

Modifying the LAPS.sh script with: xpath -e + | tail -n +1 (thank you @jelockwood).
Since these changes are incompatible with previous versions of macOS (< 11.0), we had to create a new policy, scoped only to Big Sur devices, that invokes the updated LAPS.sh. The remaining LAPS policies (i.e. the ones that do not make an API call to Jamf) did not need to be changed and are scoped to both Big Sur and non-Big Sur devices.
It was discovered that our LAPS seed (initialization) password contained a $; removing this character was imperative in preventing mismatches between the LAPS password set on a device and the LAPS password reported in Jamf. I'm not entirely sure how this posed no issues for us with previous macOS releases (e.g. Mojave, Catalina), but after removing the $, LAPS is good to go for Big Sur.

@SimB4t1qbit
It would be possible to further modify the LAPS script so it detects the macOS version and then use an if/else to decide whether to use the xpath -e + | tail -n +1 or not. That is if macOS is less than 11 then use old command else use new command.
This would remove the need to scope different versions and greatly simplify matters.
I think it worth checking further, I think Catalina also supports the -e flag.

Excellent point, we will check this out @jelockwood.

Hi all,
I am still quite new to macOS, scripts & Jamf, but willing to learn
I am in the process of installing LAPS.
everything works except for one small thing
the user is created, a password is written into the extension but in the log it says
Script result: localadmin is a local user on the Computer
A Password was found in LAPS.
Password stored in LAPS is correct for localadmin.
Updating password for localadmin.
Reset password for localadmin
New password for localadmin is verified.
523(23) Failed writing body
Password: <dscl_cmd> DS Error: -14090 (eDSAuthFailed)
Error: LAPS password for localadmin is not correct!
The change also works without problems, but the same error is written to the log.
If you execute the manual trigger, you will be asked for a password.
I have already added xpath -e + | tail -n +1 to the Laps.sh.
what did i miss ?
many thanks for the help


I'm asking questions but it's giving me code

Type: Bug
It's happening really often when I ask conceptual questions that should return some explanation or idea, and it gives me a code suggestion. Most of the times the code suggestion is poorly formatted and doesn't even make sense with my request.
 Are you using panel chat, inline chat, or Copilot Edits?

I noted that every query that was resulting in errors had a link called "Run without..." (or something like that) instead of the "Generating..." static

That's interesting. Is there any chance you remember what came after this the "run without XYZ". The XYZ is a slash command that we detected falsely and I guess that ruined your result. Would be really interested in knowing which command that is

That's interesting. Is there any chance you remember what came after this the "run without XYZ".

I'm almost sure it was only "Run without..." and I didn't hover the mouse on that link to see what the tooltip said (maybe the ... was the result of a truncate string).
I tried here to force that link to show a few times by doing similar queries but got nothing. It's working fine since I clicked. In case it appears again in the future, I'll make sure to post in this thread.

Hey, I just got that link again. It's (rerun/without).

Thanks for catching up here. So, inline chat wanted to edit your code (which is good because its the default) but it failed to come up with a reply.
Is there any chance you can share file with us? Also, does this already fail to produce edits after the first question or only later? Did you start inline chat with selected code or just at the cursor?

Is there any chance you can share file with us?

Unfortunately, I can't. Sorry about that as I don't have permissions to share it.

Also, does this already fail to produce edits after the first question or only later?

No, it worked well. The image I posted above was just to clarify the link I mentioned before as I had missed its label when opened this issue.

Did you start inline chat with selected code or just at the cursor?

I usually select the whole line(s) I want it to change or write a suggestion.


THIS BUILD WILL FAIL because of ibc v2 requied but shows how to integ…

…rate with new wasmd changes for ibcv2 and MessageRouter interface.

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

closing for now


Swift 5

Hi,
I've added swift5 support and upgraded code to the most recent versions of Swinject, Qiuick and Nimble.
Regards,
Peter

I'm trying to keep the swift version consistent with the main Swinject repo (which is still on 4.2 as far as I can see) - https://github.com/Swinject/Swinject/issues/407
I am not really sure, what is the correct way to handle this. I don't want to force people to switch to Swift 5 just yet. Any idea how other open source projects handle this? Maybe maintain a separate swift 5 branch for now?

AFAIK migrating to Swift 5 won't force developers to use Swift 5 in their projects - just compiler which supports Swift 5 i.e. Xcode 10.2 - all that matters for module compatibility should be compiler vesion, not Swift version.
I would be comfortable with dropping support for older compilers - AFAIK there haven't been any significant changes for quite some time

Closing in favour of https://github.com/Swinject/SwinjectAutoregistration/pull/54
Thanks!


No file system events in musl libc

We are not getting events from file write operations in musl libc.
In GNU libc we funchook __write() which implies that we do not preload libc write functions such as fwrite(), et al. We use the macro  VAREXPORT to add an attribute to write functions such that they are not preloaded. As we are building a single library that is used on GNU libc and musl libc this results in libc write functions not being preloaded on musl libc dstributions.
We would like to move to separate builds for GNU libc distros and musl libc distros. We are not using separate builds at this time due to k8s requirements. Until we are able to utilize separate builds we may need to GOT hook file write operations for musl libc distros.

Using a test app that does fopen, fwrite, fclose
Working case on x86_64 ubuntu:
SCOPE_EVENT_DEST=file:///tmp/event.log SCOPE_EVENT_METRIC=true SCOPE_EVENT_FS=false LD_PRELOAD=/home/ubuntu/appscope/lib/linux/x86_64/libscope.so ./fr
the event output sequence:
fs.op.open
fs.duration
fs.write
fs.op.close
{"type":"evt","id":"ip-10-8-48-103-fr-./fr","_channel":"32204490615794","body":{"sourcetype":"metric","_time":1628891210.412,"source":"fs.op.open","host":"ip-10-8-48-103","proc":"fr","cmd":"./fr","pid":13656,"data":
{"_metric":"fs.op.open","_metric_type":"counter","_value":1,"proc":"fr","pid":13656,"fd":3,"op":"fopen","file":"/tmp/scope.log","unit":"operation"}}}
{"type":"evt","id":"ip-10-8-48-103-fr-./fr","_channel":"32204490615794","body":{"sourcetype":"metric","_time":1628891210.412,"source":"fs.duration","host":"ip-10-8-48-103","proc":"fr","cmd":"./fr","pid":13656,"data":{"_metric":"fs.duration","_metric_type":"histogram","_value":7,"proc":"fr","pid":13656,"fd":3,"op":"__write_libc","file":"/tmp/scope.log","numops":1,"unit":"microsecond"}}}
{"type":"evt","id":"ip-10-8-48-103-fr-./fr","_channel":"32204490615794","body":{"sourcetype":"metric","_time":1628891210.412,"source":"fs.write","host":"ip-10-8-48-103","proc":"fr","cmd":"./fr","pid":13656,"data":{"_metric":"fs.write","_metric_type":"histogram","_value":36,"proc":"fr","pid":13656,"fd":3,"op":"__write_libc","file":"/tmp/scope.log","numops":1,"unit":"byte"}}}
{"type":"evt","id":"ip-10-8-48-103-fr-./fr","_channel":"32204490615794","body":{"sourcetype":"metric","_time":1628891210.412,"source":"fs.op.close","host":"ip-10-8-48-103","proc":"fr","cmd":"./fr","pid":13656,"data":{"_metric":"fs.op.close","_metric_type":"counter","_value":1,"proc":"fr","pid":13656,"fd":3,"op":"fclose","file":"/tmp/scope.log","unit":"operation"}}}
Failing case on an x86_64 alpine container (same app compiled on alpine):
SCOPE_EVENT_DEST=file:///tmp/event.log SCOPE_EVENT_METRIC=true SCOPE_EVENT_FS=false LD_PRELOAD=/tmp/libscope-0.7.2/libscope.so  ./fr
the event output sequence:
fs.op.open
fs.op.close
{"type":"evt","id":"b8c1860f0fae-fr-./fr","_channel":"1091587991981144","body":{"sourcetype":"metric","_time":1628891336.057,"source":"fs.op.open","host":"b8c1860f0fae","proc":"fr","cmd":"./fr","pid":70313,"data":{"_metric":"fs.op.open","_metric_type":"counter","_value":1,"proc":"fr","pid":70313,"fd":3,"op":"fopen","file":"/tmp/scope.log","unit":"operation"}}}
{"type":"evt","id":"b8c1860f0fae-fr-./fr","_channel":"1091587991981144","body":{"sourcetype":"metric","_time":1628891336.058,"source":"fs.op.close","host":"b8c1860f0fae","proc":"fr","cmd":"./fr","pid":70313,"data":{"_metric":"fs.op.close","_metric_type":"counter","_value":1,"proc":"fr","pid":70313,"fd":3,"op":"fclose","file":"/tmp/scope.log","unit":"operation"}}}

This is being worked on in the duplicate issue #575

Duplicate of #575


Update glossary.adoc

Removed a couple typos and tried to make it a bit easier to ready.

Thanks @SquareDave for the contribution.


feat(NODE-4721): add aws-sdk as optional dependency

Description
Uses the AWS-SDK for finding credentials when present in dependencies, otherwise uses the internal implementation.
What is changing?

Adds @aws-sdk/credential-providers as an optional dependency.
Uses the SDK when installed to find credentials from the environment when missing.

Patch build with AWS tests for with and without the optional dependencies:
https://spruce.mongodb.com/version/634d68f92fbabe2d0a6b964f/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Is there new documentation needed for these changes?
Can make a note to users that they can install the SDK to have it be used.
What is the motivation for this change?
NODE-4721

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[x] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

The install size of the mongodb package doubled in size in the last version: https://packagephobia.com/result?p=mongodb
Mostly because of this new dependency being added.
Can we please remove it from this package and instruct users to add this dependency in their project, if needed?


feat: updates for rustls 0.23

This PR is an attempt at updating futures-rustls for rustls 0.23.

Switches the default crypto provider to aws-lc-rs to track rustls' default. (https://github.com/rustls/tokio-rustls/pull/50 for parity)
Adds fips and logging features so crates don't need to depend on rustls just to enable those features without using rustls directly in code (https://github.com/rustls/tokio-rustls/pull/49 for parity)
Sends AcceptedAlerts

~Adds an optional AcceptedAlert to the MidHandshake::Error state~ Adds a SendAlert variant to MidHandshake per https://github.com/rustls/tokio-rustls/pull/44, with the changes in https://github.com/rustls/tokio-rustls/pull/47
Tracks an Option<Error, AcceptedAlert> on LazyConfigAcceptor in order to send the AcceptedAlert, tracking the changes in https://github.com/rustls/tokio-rustls/pull/48

Adds a pub(crate) common::SyncWriteAdapter and uses it instead of an identical function-local Writer type, tracking the changes in https://github.com/rustls/tokio-rustls/pull/44
Uses the existing SyncReadAdapter instead of an identical function-local Reader type tracking the changes in https://github.com/rustls/tokio-rustls/pull/44
Addresses redundant-import compiler warnings introduced in a recent nightly
Introduces several rustfmt-caused import order changes
Updates a repository link to rustls/rustls
Takes poll_vectored_write changes from https://github.com/rustls/tokio-rustls/pull/45
Takes poll_close changes from https://github.com/rustls/tokio-rustls/pull/42
Adds an aws_lc_rs alias for aws-lc-rs because some people use underscores for features and crate names

Let me know if you'd like me to split any of these out into distinct PRs or to back them out of this PR.

I hope that futures-rustls and tokio-rustls keep isomorphic in implement to reduce maintenance costs.
You can refer to this to implement it. https://github.com/rustls/tokio-rustls/pull/44

Specifically you mean adding a variant instead of using an option? Will do.
Why don't these crates share code if they're intended to be largely identical? Or have one crate and enable the async traits with a feature flag? Or at the least keep them in a shared workspace folks remember to update both?
I also believe there's a bug in the other implementation, in that it doesn't check if the alert returns WouldBlock and return pending. Should I PR that over there?

Switched to using a MidHandshake::SendAlert variant instead of a MidHandshake::Error { alert: Option<AcceptedAlert>,.. }

@quininer @djc Is this PR good to go? I believe it tracks all of the changes that have been made in tokio-rustls for rustls 0.23

There are some other changes in tokio-rustls (poll_shutdown, vectored write), would you like to work on it in this PR?

@quininer added cb69b96 and 02417c3 with vectored_write and poll_close changes from tokio-rustls

I'll take a look tonight.

Thank you!


🐞 - Unknown compiler option 'verbatimModuleSyntax'

Playground Link
https://github.com/taiga-family/maskito/pull/1428
Description
https://github.com/taiga-family/linters/blob/304ddc4f478ef91aaa0e54dba1d93e2f77d79a94/projects/tsconfig/tsconfig.json#L88
https://github.com/taiga-family/linters/commit/8b23332fab807731c4e575d3ef64dc27cd8f35ef
Angular version
No response
Taiga UI version
<EMAIL_ADDRESS>

@nsbarsukov which typescript version do you use?
https://github.com/quasarframework/quasar/issues/16826#issuecomment-1950250083

4.9.5
Should I update it to 5.0.0 to fix issue ?

Yes, please update to 5.x


tables_hsqldb.sql BINARY or BLOB

Hello,
If BINARY is used without specifying the length, the length defaults to 1.
...
If BLOB is used without specifying the length, the length defaults to 1GB.

they are copied from http://hsqldb.org/doc/guide/sqlgeneral-chapt.html#sgc_binary_types

Thanks for reporting this @javalovercn. It's fixed now.


How should case normalization work for domains that is US-ASCII only before decoded, but not so after decoded?

Reported at #36.

Normalizing "a://%99B/" yields "a://%99B/".
The result is supposed to be "a://%99b/" IIUC.

—— https://github.com/lo48576/iri-string/issues/36#issue-2241246314

When an IRI uses components of the generic syntax, the component syntax equivalence rules always apply; namely, that the scheme and US-ASCII only host are case insensitive and therefore should be normalized to lowercase.
(snip)
Case equivalence for non-ASCII characters in IRI components that are IDNs are discussed in section 5.3.3.
—— RFC 3987, §<IP_ADDRESS> Case Normalization

https://github.com/lo48576/iri-string/blob/021fce896eed51d388161170fdd30c82cd664ba8/src/normalize.rs#L513-L521
https://github.com/lo48576/iri-string/blob/021fce896eed51d388161170fdd30c82cd664ba8/src/parser/trusted.rs#L465-L470
So... Is %99B "US-ASCII only"?
The current code considers it's not, because 0x99 is not a valid US-ASCII character.
I don't remember how non-decoded percent-encoding should be handled, so I need to do more research.

—— https://github.com/lo48576/iri-string/issues/36#issuecomment-2053675842

I see why our implementations differ in the second case now. I haven't taken a proper look at RFC 3987 and wrote my code based solely on RFC 3986 which only says "the scheme and host are case-insensitive" instead of "the scheme and US-ASCII only host are case insensitive". I also have no idea what "US-ASCII only" means in that context.

—— https://github.com/lo48576/iri-string/issues/36#issuecomment-2053688909

I think this could be ambiguity of the spec (or just my carelessness), but anyway I need to do more research.
I hope to maintain consistency between URIs (RFC 3986) and IRIs (RFC 3987), especially when they are written by US-ASCII characters only, so I think the normalization result of a://%99b/ should be identical between them.
That is, the implementation for both URIs and IRIs could be changed even though "US-ASCII only" condition is present only in RFC 3987.

My current opinion is, a://%99B/ should be normalized to itself, but not a://%99b/.

Although host is case-insensitive, producers and normalizers should use lowercase for registered names and hexadecimal addresses for the sake of uniformity, while only using uppercase letters for percent-encodings.
—RFC 3986 §3.2.2

From the phrase "should use lowercase for registered name", I think the case normalization to lower case should only apply to the decoded domain names (registered names). Case normalization on percent-encoded triplets is another layer than the normalization on "host" (registered name).

When an IRI uses components of the generic syntax, the component syntax equivalence rules always apply; namely, that the scheme and US-ASCII only host are case insensitive and therefore should be normalized to lowercase.
(snip)
Case equivalence for non-ASCII characters in IRI components that are IDNs are discussed in section 5.3.3.
—RFC 3987 §<IP_ADDRESS>

So this "US-ASCII only (host)" should also be interpreted as US-ASCII only registered name, and non-US-ASCII-only hosts in percent-encoded ASCII representation should fall into the same category as "non-ASCII characters in IRI components that are IDNs", even if they are not encoded using IDN (RFC 3490).

Closing as not bug.
If you think this is wrong or questionable, feel free to reopen or submit a new issue.


Feature_Request:Display of Highest score in Car racing game

Is your feature request related to a problem? Please describe.

The highest score in the game should be displayed.
Describe the solution you'd like

With the help of local storage i am going to display the highest score.

Additional context (Mandatory )
Kindly assign me.
Are you contributing under any open-source program ?

Yes under KWOC.

@apu52 Kindly assign me this issue.

@apu52 Kindly assign me this issue.

You have been assigned.

@apu52 Kindly assign me this issue.

You have been assigned.

Thanks a lot


refactor: refactor data plane integration tests and prevent publication

What this PR changes/adds
Prevent publication of Data Plane integration tests + refactoring.
Why it does that
Integration tests should not be published

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

Comparison is base (7876288) 72.46% compared to head (9a9331e) 72.49%.
Report is 11 commits behind head on main.

:exclamation: Current head 9a9331e differs from pull request most recent head efb320e. Consider uploading reports for the commit efb320e 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    #3558      +/-   ##
==========================================
+ Coverage   72.46%   72.49%   +0.03%
==========================================
  Files         864      877      +13
  Lines       17364    17474     +110
  Branches      988      994       +6
==========================================
+ Hits        12582    12667      +85
- Misses       4370     4391      +21
- Partials      412      416       +4

see 33 files with indirect coverage changes

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


PLEASE KEEP OLD VERSION!!!!!!!

Please keep old versions when you release new version.
My rails app always fail from yesterday when Gemfile.lock has not been updated, start from 0.3.5 and then 0.3.6
Many Thanks.

Unfortunately this isn't possible because of legal licensing issues. It also isn't possible to push new code in place of the old versions.

https://www.theregister.com/2021/03/25/ruby_rails_code/
https://github.com/rails/rails/issues/41750


Update kafka-run-class.bat

handle existing classpath with spaces
list each lib dependency individually

I have some IBM\WebSphere MQ jars in the CLASSPATH variable which results in the following error when using the .bat file in the latest release
\IBM\WebSphere was unexpected at this time.

That one is less important, I think only relevant if the user has decided to unpack kafka into a path containing spaces, I'd need to check it - may be completely unnecessary
---- On Thu, 26 Jan 2017 01:59:32 +0000<EMAIL_ADDRESS>wrote ----
@guozhangwang commented on this pull request.
In bin/windows/kafka-run-class.bat:

@@ -184,7 +186,7 @@ rem echo.
goto :eof
:concat
IF ["%CLASSPATH%"] EQU [""] (

set CLASSPATH="%1"

set "CLASSPATH=%1"
Just for my own benefits: why do we need to change this?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Running the following hopefully a good example:
set "x=foo bar"
set CLASSPATH="%x%"
set "CLASSPATH=%CLASSPATH%;%x%"
echo %CLASSPATH%

set "CLASSPATH=%x%"
set "CLASSPATH=%CLASSPATH%;%x%"
echo %CLASSPATH%

It outputs
"foo bar";foo bar
foo bar;foo bar

Merged to trunk and 0.10.2.


[PHP 8.4] Fixing deprecation for implicit nullable types

These are not all - waiting for feedback first... ;-)
Next would be:

src/Models/ISOs/ISO.php on line 39

Hey, thank you this looks good for me! I would also remove support for PHP 8 :) I will open up a MR.


Auto-update pylance and debugpy dependencies when running PreBuild.ps1

Fixes #6840
This change does two main things from a high level:

Defaults pylance and debugpy to "latest" and automatically installs the latest available versions when running PreBuild.ps1
Adds runtime parameters to the build yaml (and pipes them through to PreBuild.ps1) so we can roll back to older versions (if we need to) when manually queueing a build.

I manually tested the rollback mechanism and it seems to be working just fine for both pylance and debugpy. Going to merge this in.


AttributeError: traincsv

when I run "python trainer.py", I encountered the error. my tensorflow version is 1.4.0-dev20170920.
Traceback (most recent call last):
File "trainer.py", line 218, in
tf.app.run()
File "/home/care/.local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "trainer.py", line 214, in main
train()
File "trainer.py", line 26, in train
print("The number of training images is: %d" % (dataset.cnt_samples(FLAGS.traincsv)))
File "/home/care/.local/lib/python2.7/site-packages/tensorflow/python/platform/flags.py", line 58, in getattr
raise AttributeError(name)
AttributeError: traincsv
Could you tell me how to deal with this problem?

I am also having this same exact error and have no idea how to deal with it. Can you please update here about how to solve this issue.

I found a solution. You can modify the settings.py file. Replace the 'tfcsv' by 'traincsv'. Then this problem is fixed.


Looks like htop does not work.

htop command should show the list of active hussars in the chat.
Just like a regular text. But, right now, it does nothing.
src: https://github.dev/vldc-hq/vldc-bot/blob/3907a88fa0d3e85a76fbdc809973b73bc0564b4d/bot/skills/roll.py#L339

Still not working ://////


Call to action support

It would be valuable to have a quick call to action at the bottom of pages like the tutorials based on the content found there.
This could be configured via a global setting or perhaps overridden via some content in the directory the post lives in?

Duplicate of #57


Add molecule tests

This is to open a proposal to wrap molecule and travis testing to the repo and conform to galaxy standards.  In addition to adding contribution guidelines.
You can assign this issue to me and I'll submit a PR with changes.

The Collection is only Roles (other than examples).
Please review each Role individually.
The Collection references those as submodules and I update the Collection when we have enough Role or example delta to update.


0% volume is still audible.

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Looked through the wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the bug
When setting the volume to 0% the volume gets very low, but not fully muted.
Steps to reproduce
Use the app controls or keyboard "volume down" or keyboard "mute" button.
Expected behavior
Volume should be fully muted
Anything else?
No response
Environment Information (please complete the following information)
- macOS version: 12.0.1
- Mac model: MacBook Pro (14-inch, 2021)
- MonitorControl version: 4.2.0 Build 7048
- Monitor(s): Samsung C34J79x
- Apple Silicon/M1 (yes or no): yes

I was able to compile this, hope it will work
MonitorControl.zip

Thanks @LiWinDom . :)
Also, there are various other mute/unmute options in BetterDisplay, see this: https://github.com/waydabber/BetterDisplay/issues/1248


revert to exported - Tasic-Human-Smartseq

Dataset/group this task is for:
Single-cell and single-nucleus RNA-seq uncovers shared and distinct axes of variation in dorsal LGN neurons in mice, non-human primates, and humans. - Tasic-Human-Smartseq
project uuid - bfaedc29-fe84-4e72-a461-75dc8aabbd1b
link to ingest UI
Relevant People
Wrangler: Rachel
Contributor: Bosiljka Tasic<EMAIL_ADDRESS>Description of the problem with the dataset
need to add corresponding author details, please revert complete -> exported (or submitted? not sure the difference)

@ESapenaVentura

Reverted to valid

Now stuck in graph validating; all I changed was adding a contributor email.

@rachadele apologies! I didn't see this ticket was not completed. I will update it and hit export


blank Screen bug-fix

Resolved the issue by making minor changes to the widget tree. Ready to be merged.

Hey @SriramPatibanda, can you explain the changes you made to fix the black screen issue while exiting the app? Maybe you could tell about your approach to fixing the bug and any other specifics of the changes you made.

Hey @SriramPatibanda, can you explain the changes you made to fix the black screen issue while exiting the app? Maybe you could tell about your approach to fixing the bug and any other specifics of the changes you made.

Initially, I thought the issue could be resolved using double tap to exit screen functionality and implemented it, but it didn't work.
So, I went through @Chinmay-KB 's old PR and implemented the same. So, I wrapped future builder under a Scaffold. and instead of calling checkLogin in initstate, I used a future builder.

If you are referencing @Chinmay-KB 's old PR, can you rebase that and do?
That way, both of your's commit gets merged

If @SriramPatibanda's PR fixes the bug independently, I don't think there is a need to do any other rebase/merge. We can use this PR and simply close #53

Rebase is not required, this commit does everything intended in the previous pr

@Thesmader @DesignrKnight review

@all-contributors add @SriramPatibanda for Code


chore: upgrade all dependencies but babel

Summary
Spun off from #8011 since I wanna reduce the diff

Test plan
This should pass CI 😅 Node 6 in particular

Ok, it passed. Lemme try to upgrade some babel deps one by one, and merge when I have a minimal setup that works

Ok, I think I've got pretty strong evidence the issue is upgrading @babel/parser from 7.3.3 to 7.3.4. Version of @babel/core doesn't seem to affect it (kept it at 7.3.3 as well so it doesn't pull in 7.3.4). I'll merge this and open up an issue with Babel


Can't compile dependency

mix deps.compile type_check                                                                                1 ↵ fuelen@arch
==> type_check
Compiling 39 files (.ex)

== Compilation error in file lib/type_check/type.ex ==
** (CompileError) lib/type_check/type.ex:18: cannot import TypeCheck.Builtin.|/2 because it conflicts with Elixir special forms
    (elixir 1.11.0-rc.0) src/elixir_import.erl:96: :elixir_import.calculate/6
    (elixir 1.11.0-rc.0) src/elixir_import.erl:24: :elixir_import.import/4

elixir 1.11.0-rc.0-otp-22
erlang <IP_ADDRESS>

Thank you. I think this is a change introduced in a recent Elixir version.
Obviously it falls to TypeCheck to make sure it still works correctly. (Using | as a function directly can be considered depending on internal implementation details of Elixir's runtime, and when those are altered it is not considered a breaking change.)

I hereby confirm that it works correctly in Elixir 1.10.3 (with Erlang 23.0) and breaks for Elixir 1.11.0-rc.0-otp-23.


Textures example from Elm website doesn't work

The example is as follows:
import Graphics.Collage exposing (..)
import Graphics.Element exposing (..)

main : Element
main =
  collage 300 300
    [ textured "/stripes.jpg" (ngon 5 75)
    ]

Nothing is rendered and the Javascript console reports the error:
Uncaught ReferenceError: redo is not defined
Offending snippet taken from Collage.js:
	function setFillStyle(ctx, style)
	{
		var sty = style.ctor;
		ctx.fillStyle = sty === 'Solid'
			? Color.toCss(style._0)
			: sty === 'Texture'
				? texture(redo, ctx, style._0)
				: gradient(ctx, style._0);
	}

I'm using Elm 0.15.

Seems like this might be an issue again: http://elm-lang.org/examples/texture

No, not an issue again, but an issue still, in the sense that it will only be fixed on the site http://elm-lang.org when the next version of https://github.com/elm-lang/core/ has been released and is used for compiling the website.
So the fix exists and has been merged, but does not yet take effect in the deployed website.

Oh, I'm sorry, I misunderstood! Thanks for your quick response.


Added package.json

Added package.json for closing #16

@nguyentran0212 Thank you very much for your contribution!


Add LayerCI support

Purpose
Add support for layerci.com
Notable Changes
N/A
Tests and Risks?
Done
Update the SHA hash files
Done

@ColinChartier thanks for this PR. Unfortunately, we will be deprecating codecov-bash in favor of uploader. You are welcome to open a PR there.


correlation ID

Have correlation ID travel through out the system.

On every HTTP request from CLI - create a new correlation ID on service side and pass it through all requests until it is returned back to CLI. (we don't trust CLI, since it runs on user's machine - so don't let it control correlation ID)
On every HTTP request from Agent - agent creates Correlation ID and sets it a request header. Service side will retrieve correlation ID and use it through out request until returning back to the agent. Agent uses same correlation ID as part of custom dimensions for all the logging as part of the execution flow.
On every Timer request - create new Correlation ID in backend and use it throughout timer execution
On every Queue request  - Correlation ID should be part of the queue message, and it should be set as part of Custom Dimensions

AB#41463024

Potentially we should be looking at OpenTelemetry for (distributed) tracing as well:

https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-overview
https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable?tabs=net

And I think AppInsights might give us some of this for free, since it knows about each request. However we need to revisit this after we get rid of the -net suffix as there is a problem currently where it thinks that there are two .NET applications.

And I think AppInsights might give us some of this for free, since it knows about each request. However we need to revisit this after we get rid of the -net suffix as there is a problem currently where it thinks that there are two .NET applications.

The problem mentioned here was fixed by #2597

We should also output CorrelationId from CLI on error responses or when using verbose flag


gulp-browserify doesn't like bespoke-notes plugin

Hey,
I'm just starting using bespoke, and are lame in javascript (<24hrs of experience), but I noticed that there's a slight problem when using gulp-browserify with bespoke-notes:
[20:42:05] Finished 'css' after 1.44 s
[20:42:05] Plumber found unhandled error:
Error in plugin 'gulp-browserify'
module "./style" not found from "./node_modules/bespoke-notes/index.js"
[20:42:05] Finished 'js' after 1.9 s
[20:42:05] Starting 'build'...
Strange enough, it all works with 'npm start', somebody help please :)

Hi @sokoow.
I've done some tests and the problem comes from medikoo/bespoke-notes. The README says that if your CJS bundler does not support CSS modules you should do the following :
notes = require('bespoke-notes/dom');

This triggers code from this file which does not seem to work properly :

From what I've understood here, it should be arguments[1]
Maybe there should be a default option for slideWidth to prevent this if.

I'm closing the issue since it does not come from the generator. Maybe you should file an issue on medikoo/bespoke-notes.


Jquery plugins memory leak

When destroying datatables and yadcf instance, other plugins for number slider and select plugin are not destroyed which leads to memory leak.

Hi Daniel. Any view on this? I can help on this if we can discuss how to go forward with this.

Hi,
Sorry . lack of time recently, the solution should be very simple, inside the removeFilters function you should call a helper function that will iterate over all yadcf options and with a simple switch will call the destory function of the third party plugin (if used for that column). PR is welcome

gonna release this enachcement soon

fixed that one in 0.8.9.beta.19, please confirm its working well

This is great. Thanks a lot.


feat: check client status active when verifying membership on tenderm…

Description

closes: #5847
Commit Message / Changelog Entry
type: commit message

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Hi @kienn6034, I am going to ahead and close this PR as I had started work on this issue previously, and pushed the code this morning (see: https://github.com/cosmos/ibc-go/pull/5870). Sorry about that!
In future, we would kindly ask that you comment on an issue before working on it so that we can assign you and prevent situations like this from happening. This is documented in the ibc-go CONTRIBUTING.md doc. Thanks for your work none the less, it is appreciated! There will be plenty of more issues to worked on in the future if you are interested in contributing to the repository! ❤

Thank you @damiannolan. Will do next time, it is my first time contributing to ibc-go.


Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replace')

The error only happens when I access a page directly. For example, if I try to access example.com/books directly (which only uses transChoice), the page doesn't load and the exception is thrown. However, if I access example.com (which doesn't use transChoice) and then I access example.com/books from a Link Inertia component, then the page renders correctly.
I'm using Laravel 10 + Vue 3 + Inertia (@inertiajs/vue3: 1.0.14 and inertiajs/inertia-laravel: 0.6.11).
My lang directory structure is as follows:
├─ lang
     ├─ en
     │   └─ en.json
     └─ es
          └─ es.json

An excerpt of both files:
es.json
{ "book.count": ":count libro|:count libros" }

en.json
{ "book.count": ":count book|:count books" }

Isolated part of resources/js/Pages/Book/Index.vue, where the error occurs. I only use transChoice once here, with no trace of trans. The error also occurs in other pages that use transChoice. The pages that only use trans don't have any issue.
<script setup>
import { transChoice } from "laravel-vue-i18n";

defineProps({
    booksCount: {
        type: Number,
        required: true,
    },
});
</script>

<template>
    {{ transChoice("book.count", booksCount) }}
</template>

Even if I hardcode the booksCount value to 8, it still throws the same error.
The way I load the plugin from app,js:
import { createApp, h } from "vue";
import { createInertiaApp, Link } from "@inertiajs/vue3";
import { resolvePageComponent } from "laravel-vite-plugin/inertia-helpers";
import { register } from "swiper/element/bundle";
import { i18nVue } from "laravel-vue-i18n";

register();

createInertiaApp({
    progress: {
        color: "#d62",
    },
    resolve: (name) => resolvePageComponent(
        `./Pages/${name}.vue`,
        import.meta.glob("./Pages/**/*.vue")
    ),
    setup({ el, App, props, plugin }) {
        createApp({ render: () => h(App, props) })
            .use(plugin)
            .use(i18nVue, {
                resolve: async (lang) => {
                     const langs = import.meta.glob("../../lang/**/*.json");
                     return await langs[`../../lang/${lang}/${lang}.json`]();
                 },
            })
            .component("Link", Link)
            .mount(el);
    },
});

Exception:
laravel-vue-i18n.js?v=14ee09f0:10 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replace')
    at getPluralIndex (laravel-vue-i18n.js?v=14ee09f0:10:16)
    at choose (laravel-vue-i18n.js?v=14ee09f0:284:23)
    at laravel-vue-i18n.js?v=14ee09f0:629:49
    at ReactiveEffect.fn (chunk-CGJ6AWGQ.js?v=14ee09f0:1223:13)
    at ReactiveEffect.run (chunk-CGJ6AWGQ.js?v=14ee09f0:421:19)
    at get value (chunk-CGJ6AWGQ.js?v=14ee09f0:1234:64)
    at _I18n.transChoice (laravel-vue-i18n.js?v=14ee09f0:621:56)
    at Proxy.transChoice (laravel-vue-i18n.js?v=14ee09f0:377:35)
    at Proxy._sfc_render (Index.vue?t=1713967885542:72:67)
    at renderComponentRoot (chunk-CGJ6AWGQ.js?v=14ee09f0:2317:17)

I have another issue that I don't think is related to the above. I'll create another one if needed, but it basically happens when I set the language to "es" using the loadLanguageAsync and then refresh the page. The page is loaded in "en". It doesn't seem to store the language set by the user.
Thanks for your help and this awesome tool! Keep up the good work 💪

Hi @xiCO2k. Have you had a chance to take a look at this? The issue still persists and I haven't figured out what's causing it yet. If you need more information, just let me know! Thanks again.

Hey @HenestrosaDev sorry for the delay, can you create a repo with that exact error?
Thanks.

Sure @xiCO2k! Here it is: https://github.com/HenestrosaDev/the-wordsmiths-collection

Thanks will debug it!

Hi @xiCO2k. Did you find anything relevant to the bug?

sorry for the delay on that.
the issue is that you need to specify the language on load, you can add it here:
createApp({ render: () => h(App, props) })
    .use(plugin)
    .use(i18nVue, {
+	lang: 'es',
        resolve: async (lang) => {
	    const langs = import.meta.glob("../../lang/**/*.json");
	    return await langs[`../../lang/${lang}/${lang}.json`]();
    },
    })
    .component("Link", Link)
    .mount(el);

Or add it on the <html lang="es">.
That should solve it, but definitely I need to handler that error and show a different message or fallback to en.
Thanks.

Thank you, that solves the exception in my first message! However, this still remains:

I have another issue that I don't think is related to the above. I'll create another one if needed, but it basically happens when I set the language to "es" using the loadLanguageAsync and then refresh the page. The page is loaded in "en". It doesn't seem to store the language set by the user.

Now the issue is the other way around, as the lang value now is "es". When I change the language to "en" using loadLanguageAsync and then refresh the page, the page loads in "es". Why doesn't the language change persist?

Now the issue is the other way around, as the lang value now is "es". When I change the language to "en" using loadLanguageAsync and then refresh the page, the page loads in "es". Why doesn't the language change persist?

I fixed this in this commit of my project.


Issue with ak.flatten() for NanoEventsFactory with delayed=False

Describe the bug
Error:
TypeError: cannot compare unknown lengths against known values

This error occurred while calling

    ak.flatten(
        Array-instance
        axis = 3
    )

with coffea 2024.10.0 awkward 2.6.9.
To Reproduce
MRE:
events_delayed = nanoevents.NanoEventsFactory.from_root(
    {
        "root://cmseos.fnal.gov///store/user/lpcpfnano/cmantill/v2_3/2017/HH/GluGluToHHTobbVV_node_cHHH0_TuneCP5_13TeV-powheg-pythia8/GluGluToHHTobbVV_node_cHHH0/220808_163755/0000/nano_mc2017_1-1.root": "Events"
    },
    schemaclass=nanoevents.NanoAODSchema,
    delayed=True,
).events()

higgs = events_delayed.GenPart[events_delayed.GenPart.hasFlags(["fromHardProcess", "isLastCopy"]) * (events_delayed.GenPart.pdgId == 25)]
ak.flatten(higgs.children.children, axis=3)

This code runs fine with delayed=False.
Full stack trace:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[22], line 10
      1 events_delayed = nanoevents.NanoEventsFactory.from_root(
      2     {
      3         "root://cmseos.fnal.gov///store/user/lpcpfnano/cmantill/v2_3/2017/HH/GluGluToHHTobbVV_node_cHHH0_TuneCP5_13TeV-powheg-pythia8/GluGluToHHTobbVV_node_cHHH0/220808_163755/0000/nano_mc2017_1-1.root": "Events"
   (...)
      6     delayed=True,
      7 ).events()
      9 higgs = events_delayed.GenPart[events_delayed.GenPart.hasFlags(["fromHardProcess", "isLastCopy"]) * (events_delayed.GenPart.pdgId == 25)]
---> 10 ak.flatten(higgs.children.children, axis=3)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/_dispatch.py:51, in named_high_level_function.<locals>.dispatch(*args, **kwargs)
     49     continue
     50 else:
---> 51     result = custom_impl(dispatch, array_likes, args, kwargs)
     53     # Future proof the implementation by permitting the `__awkward_function__` to return `NotImplemented`
     54     # This may later be used to signal that another overload should be used.
     55     if result is NotImplemented:

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/core.py:1693, in Array.__awkward_function__(self, func, array_likes, args, kwargs)
   1691     except AttributeError:
   1692         return NotImplemented
-> 1693 return fn(*args, **kwargs)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/structure.py:445, in flatten(array, axis, highlevel, behavior, attrs)
    443 if not highlevel:
    444     raise ValueError("Only highlevel=True is supported")
--> 445 return map_partitions(
    446     _FlattenFn(axis=axis, highlevel=highlevel, behavior=behavior, attrs=attrs),
    447     array,
    448     label="flatten",
    449     output_divisions=None,
    450 )

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/core.py:2186, in map_partitions(base_fn, label, token, meta, output_divisions, traverse, *args, **kwargs)
   2178         arg_lens_for_repackers.append(1)
   2180 fn = ArgsKwargsPackedFunction(
   2181     base_fn,
   2182     arg_repackers,
   2183     kwarg_repacker,
   2184     arg_lens_for_repackers,
   2185 )
-> 2186 return _map_partitions(
   2187     fn,
   2188     *arg_flat_deps_expanded,
   2189     *kwarg_flat_deps,
   2190     label=label,
   2191     token=token,
   2192     meta=meta,
   2193     output_divisions=output_divisions,
   2194 )

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/core.py:2022, in _map_partitions(fn, label, token, meta, output_divisions, *args, **kwargs)
   2014 lay = partitionwise_layer(
   2015     fn,
   2016     name,
   2017     *args,
   2018     **kwargs,
   2019 )
   2021 if meta is None:
-> 2022     meta = map_meta(fn, *args, **kwargs)
   2024 hlg = HighLevelGraph.from_collections(
   2025     name,
   2026     lay,
   2027     dependencies=deps,
   2028 )
   2030 if len(dak_arrays) == 0:

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/core.py:2538, in map_meta(fn, *deps)
   2534 def map_meta(fn: Callable | ArgsKwargsPackedFunction, *deps: Any) -> ak.Array | None:
   2535     # NOTE: fn is assumed to be a *packed* function
   2536     #       as defined up in map_partitions. be careful!
   2537     try:
-> 2538         meta = fn(*to_meta(deps))
   2539         return meta
   2540     except Exception as err:
   2541         # if compute-unknown-meta is False then we don't care about
   2542         # this failure and we return None.

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/core.py:1982, in ArgsKwargsPackedFunction.__call__(self, *args_deps_expanded)
   1980     len_args += n_args
   1981 kwargs = self.kwarg_repacker(args_deps_expanded[len_args:])[0]
-> 1982 return self.fn(*args, **kwargs)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/dask_awkward/lib/structure.py:432, in _FlattenFn.__call__(self, array)
    431 def __call__(self, array: ak.Array) -> ak.Array:
--> 432     return ak.flatten(array, **self.kwargs)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/_dispatch.py:64, in named_high_level_function.<locals>.dispatch(*args, **kwargs)
     62 # Failed to find a custom overload, so resume the original function
     63 try:
---> 64     next(gen_or_result)
     65 except StopIteration as err:
     66     return err.value

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/operations/ak_flatten.py:172, in flatten(array, axis, highlevel, behavior, attrs)
    169 yield (array,)
    171 # Implementation
--> 172 return _impl(array, axis, highlevel, behavior, attrs)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/operations/ak_flatten.py:236, in _impl(array, axis, highlevel, behavior, attrs)
    234     out = apply(layout)
    235 else:
--> 236     out = ak._do.flatten(layout, axis)
    237 return ctx.wrap(out, highlevel=highlevel)

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/_do.py:196, in flatten(layout, axis)
    195 def flatten(layout: Content, axis: int = 1) -> Content:
--> 196     offsets, flattened = layout._offsets_and_flattened(axis, 1)
    197     return flattened

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/contents/listoffsetarray.py:724, in ListOffsetArray._offsets_and_flattened(self, axis, depth)
    721     return (listoffsetarray.offsets, content)
    723 else:
--> 724     inneroffsets, flattened = self._content._offsets_and_flattened(
    725         axis, depth + 1
    726     )
    727     offsets = Index64.zeros(
    728         0,
    729         nplike=self._backend.index_nplike,
    730         dtype=np.int64,
    731     )
    733     if inneroffsets.length is not unknown_length and inneroffsets.length == 0:

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/contents/listoffsetarray.py:724, in ListOffsetArray._offsets_and_flattened(self, axis, depth)
    721     return (listoffsetarray.offsets, content)
    723 else:
--> 724     inneroffsets, flattened = self._content._offsets_and_flattened(
    725         axis, depth + 1
    726     )
    727     offsets = Index64.zeros(
    728         0,
    729         nplike=self._backend.index_nplike,
    730         dtype=np.int64,
    731     )
    733     if inneroffsets.length is not unknown_length and inneroffsets.length == 0:

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/contents/indexedoptionarray.py:595, in IndexedOptionArray._offsets_and_flattened(self, axis, depth)
    591 next = self._content._carry(nextcarry, False)
    593 offsets, flattened = next._offsets_and_flattened(axis, depth)
--> 595 if offsets.length == 0:
    596     return (
    597         offsets,
    598         ak.contents.IndexedOptionArray(
    599             outindex, flattened, parameters=self._parameters
    600         ),
    601     )
    603 else:

File ~/mambaforge/envs/python311/lib/python3.11/site-packages/awkward/_nplikes/shape.py:70, in UnknownLength.__eq__(self, other)
     68     return True
     69 else:
---> 70     raise TypeError("cannot compare unknown lengths against known values")

TypeError: cannot compare unknown lengths against known values

This error occurred while calling

    ak.flatten(
        Array-instance
        axis = 3
    )

Following up on our discussion @lgray, I saved the higgs.children.children[:10] awkward array to json [1] and loaded it with dask_awkward and the same flatten operation worked correctly:
a = dak.from_json(Path("./higgs_children.json"), line_delimited=False)[0]
ak.flatten(a, axis=3).compute()  # works

[1] higgs_children.json

ah - this is definitely a bug in awkard. I'll make a posting.

Fixed by https://github.com/scikit-hep/awkward/issues/3324


Claim groups by default

Hi negz!
Can we have groups claim enabled by default, please?
P.s. Thanks for your project!

@negz I just couldn't figure out how to override default scopes.
But now I'll use the extra-scopes flag instead.
Thank you!

Got it! In that case I'll close this PR.


Update chain.schema.json

here is a proposed regex for version:
v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?=-[\w.-]+|$)

Explanation:
v?: Matches an optional "v" prefix.
(\d+): Matches the first part of the version (the major version number).
(?:.(\d+))?: Matches the optional minor version (second number), preceded by a dot.
(?:.(\d+))?: Matches the optional patch version (third number), preceded by a dot.
(?=-[\w.-]+|$): Ensures that it either ends or is followed by a dash and other alphanumeric characters (to account for tags or pre-releases like -alpha or -beta).
Examples that this regex will match:
Full Semver: 1.2.3, v1.0.0
Partial Semver: 1.2, v2.5
Basic Version: 1, v0
Simple: v1, 2.5, 1.2.3

As discussed, this is likely no longer needed.


Release 2.8.0

@EgorovEI Since we do not have SPM integration check flow automated yet, it would be necessary to check it manually.

I manually integrated source code to Cortex app and there is integration issue


Copy and paste fuction

Make copy text function for wallet addresses like TEC site. Also right click c/p isn't working right now.

Fixed in https://github.com/ArkEcosystem/ark-desktop/commit/a92ebdf9a6c5272929b2271fc2d31f91d1502f41


documentation link is not working

Zappa documentation link is not working
I tried to acccess https://blog.zappa.io/, but its not loading

Perhaps related to [#2114] already reported?

Yes actually. its already reported

Is this project dead?

No, we're sorting some issues out as a maintainer suddenly left.

No, we're sorting some issues out as a maintainer suddenly left.

can someone make community-fork and continue with that

Any eta?

any update? can we help?

any update? can we help?

https://github.com/MerreM/Zappa I'm going to try and move development to here.
https://join.slack.com/t/zappagroup/shared_invite/zt-ludx5h93-khGw664m9I5hlm1EXvhlEg


Bump jetty.version from 9.4.18.v20190429 to 9.4.24.v20191120

Consuming recent Jetty versions with Dropwizard 1.3.x is hindered by https://github.com/eclipse/jetty.project/issues/4385. The changes here update Jetty and in particular change the code to employ SslContextFactory.Server as needed for proper HTTPS/SNI support.

Actually, https://github.com/eclipse/jetty.project/issues/3464 is the issue that triggered the change for SNI.
Released in 9.4.16.v20190411 - 11 April 2019

@bentmann Thanks for your contribution!
Would upgrading your application to Dropwizard 2.0.0 be feasible?
Upgrading to Jetty 9.4.24.v20191120 would require some other changes as well (such as moving to Dropwizard Metrics 4.1.2 or higher), so I'm not sure it's a good idea to do this in Dropwizard 1.3.x.

Would upgrading your application to Dropwizard 2.0.0 be feasible?

If there was a stable and production-ready 2.0.0 release, probably.

Upgrading to Jetty 9.4.24.v20191120 would require some other changes as well (such as moving to Dropwizard Metrics 4.1.2 or higher), so I'm not sure it's a good idea to do this in Dropwizard 1.3.x.

Lovely.


mqtt autodiscovered don't show up in integrations

Hass version: 0.94.4
Last working Home Assistant release (if known):
Never seen it work
Operating environment (Hass.io/Docker/Windows/etc.):
Hass is running in a docker on a rasperry pi 3b+
Component/platform:
https://www.home-assistant.io/components/mqtt/
Description of problem:
I have setup mqtt to use mostly autodiscovery but only one of my automatically discovered devices is showing up int he integrations screen. All of them can be controlled from hass but only one of them can be assigned an area in the integrations screen. I've also got some configured in the configuration file and those don't show up either. I'm not sure that is a bug but the fact that only one discovered one seems one to me.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
mqtt:
   broker: mosquitto-service
   port: 1883
   discovery: True

sensor:
  - platform: mqtt
    state_topic: "sensor/luminescence/lx/filtered"
    name: Light Sensor
    qos: '1'
    unit_of_measurement: 'lux'
    expire_after: '40'
    force_update: true
  - platform: mqtt
    state_topic: "sensor/luminescence/lx"
    name: Light Sensor (unfiltered)
    qos: '1'
    unit_of_measurement: 'lux'
    expire_after: '40'
    force_update: true

binary_sensor:
  - platform: mqtt
    state_topic: "sensor/motion/tripped/filtered"
    name: "Motion sensor"
    qos: '1'
    device_class: "motion"
    payload_on: "true"
    payload_off: "false"
    force_update: 'true'

You need to define a device for your configuration to have it be recognized as a device.
https://www.home-assistant.io/components/sensor.mqtt/#device

@balloob To be clear my device needs to announce this in it's message on the announce topic group?

If it's discovery, you need to make it part of your discovery payload.


Make GC thing optional

It should be disabled when doing nearley-test, or (eventually) when rewinding.

When rewindable is enabled, that is. Hmm; should these be options given to parser?

Yeah, you should have to specify options when constructing a new Parser(). That way nearley-test can do the right thing.

Any suggestion for what this should be called?

something like preserveState maybe...

This is now merged. :)


Insert instead of add to ensure credentials is first parameter

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.3.9
❌ General: 0%
no tests were run for this category
❌ Azure: 0%
no tests were run for this category

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.3.9
❌ General: 0%
no tests were run for this category
❌ Azure: 0%
no tests were run for this category

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged


Add new metric: retention size bytes

Proposal
Adding a metric that exposes the currently configured retention size for tsdb storage could be useful for monitoring storage needs.
I would like to be able to use this metric to determine when we need a larger storage volume or otherwise move our data somewhere else.
Of course I could use the size of that actual filesystem but Prometheus is not always the only application storing data in the same filesystem, I just wan't to know how close we are to hitting our storage retention limit.

I'd like to make PR for this :)

@smoerboegen What would an example workflow, promql query would look like ?
Just trying to understand how would you use that.

btw, not sure it helps but there is an api to get the flags
https://prometheus.io/docs/prometheus/latest/querying/api/#flags

@krasi-georgiev I'm thinking somethin along the lines of a new exposed metric: "prometheus_tsdb_size_retention_bytes" that returns the currently configured size retention in bytes.
It could be used in this manner to return your current usage in percent:
prometheus_tsdb_storage_blocks_bytes / prometheus_tsdb_size_retention_bytes * 100
This way I could easily see if I'm close to my size limit before hitting it. This can be solved with just static values of course, but this would make this case a bit more dynamic.


Reliability improvements for OpenSSL tpm2 provider on an embedded system

related to libevse-security PR42
Background
The existing implementation was occasionally failing especially when there was a migration from using non-TPM keys to supporting TPM protected keys (TSS2). Issues were observed during the loading and unloading of providers. There was also some concern that another call could impact which providers were loaded and their property strings.
There were significant improvements once the the tpm2-abrmd daemon was included and running. Generating keys, CSRs etc. didn't appear to need tpm2-abrmd however once TLS was being used tpm2-abrmd became essential.
It also became clear that the provider configuration depends on the key type. Hence the first line of the PEM key file is read so that the provider can be configured before actually loading the key.
Updates
Note: the tpm2-abrmd daemon needs to be running for tpm2 where TLS is being used.
Functionality change
The meaning of UseTPM has been clarified to support interworking and upgrades from non-TPM keys to TPM protected keys.
For TLS the provider chosen is based on the PEM file and not the UseTPM OCPP configuration variable.
UseTPM is used to determine how a new key is to be generated and not how an existing key is used.
Changes
The code has been updated to use the new OpenSSL provider implementation in libevse-security. It provides a suitable implementation for:

OpenSSL v3

TPM protected keys
non-TPM protected keys

OpenSSL v1

non-TPM protected keys

One note related to the OpenSSL provider. At the moment we seem to use a global OpenSSL context using the OpenSSLProvider. I am not sure what side effects this could have. Would it be better to re-create the openssl context upon each connection?

… Would it be better to re-create the openssl context upon each connection?
Loading providers on demand was causing unreliability (in one instance there was a lockup while attempting to load a provider). The approach is based on loading providers as would be done in /etc/ssl/openssl.cfg; without needing to change the global configuration. Loading a provider is loading a DLL and running some initialisation and setup code. The SSL context for the connection doesn't change any of that, it just uses the loaded provider.

… Would it be better to re-create the openssl context upon each connection?
Loading providers on demand was causing unreliability (in one instance there was a lockup while attempting to load a provider). The approach is based on loading providers as would be done in /etc/ssl/openssl.cfg; without needing to change the global configuration. Loading a provider is loading a DLL and running some initialisation and setup code. The SSL context for the connection doesn't change any of that, it just uses the loaded provider.

I understand, probably that's why the old problems could arise, since loading/unloading the DLL can cause issues it seems. If there are checks so that concurrency problems do not arise (I've noticed the mutex) and also that there is no mis-calling of the wrong function (using the TPM instead of the normal openssl) then it's fine on my side.


Error : model inputs

Hi everybody,
I'd like to convert my tfjs graph model to keras. For this, I converted my model tfjs in onnx using the "tf2onnx" git.
And now, I need to use this git (.onnx to .h5).
But here, the error, I am currently facing:

Here my code I'm using:
import onnx
from onnx2keras import onnx_to_keras

onnx_model = onnx.load('model.onnx')
input_all = [node.name for node in onnx_model.graph.input] #get the name of my inputs
k_model = onnx_to_keras(onnx_model, input_all)

Can someone have an idea on how can I resolve this?
Thank you!

I would recommend printing all node names to debug this further. To print all, try this.
Also, from this thread, I had success converting a pytorch model -> onnx -> keras using this command:
keras_model = onnx_to_keras(onnx_model, input_names=['input'], name_policy="renumerate")

Setting the name_policy was crucial to get it working. Might be that you want to do something similar, but I would try printing the node names to see if you are able to extract them. Might be that something went wrong during tfjs -> onnx conversion.


About qdrant

I'm having problems related to installing and makingv theqdrant work, I've never really used them and I have no idea how to configure it, It would be great if there was a tutorial on YouTube or something like that on how to configure the memoir extension without using docker.

Hi,
I'm on Linux Mint, can you tell me what to comment in script.py? I downloaded "qdrant" binaries for linux and put in "text-generation-webui/extensions/Memoir"
Thanks for advance

i had this error:
Traceback (most recent call last):
File "E:\IA\Texto\Oobabooga\text-generation-webui\modules\extensions.py", line 37, in load_extensions
extension = importlib.import_module(f"extensions.{name}.script")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\IA\Texto\Oobabooga\text-generation-webui\installer_files\env\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\IA\Texto\Oobabooga\text-generation-webui\extensions\Memoir\script.py", line 23, in
from python_on_whales import DockerClient
ModuleNotFoundError: No module named 'python_on_whales'


Simplify securenn

Yo @yanndupis, The change is the Pond file were validated by @mortendahl if I'm not mistaken 👍

Hey @morgangiraud  :), Hope you are doing well! When I look at all the simplification you made to the API, I really love it! Thank you.
@jvmancuso - I think we can merge it :)


force declaration of public ip adress in config file (ISSUE #1852)

since 2.10.0 an empty string forces node listening on localhost. (see ISSUE #1852)
For security reasons i think it's better to break the pre 2.10.0 behaviour.

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

Thanks! Great work. Could you try to add an updated changelog as well?

Thanks!


Prettier adds semicolon in front of line conflict with tslint

Prettier would turn this:
({ x }) = foo()
into:
;({ x } = foo())
which conflicts with unnecessary semicolon (no-extra-semi)

:tada: This issue has been resolved in version 1.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

great!


Clarify build instructions:

Overview
Specify the project list for root and exonum-java-binding directories.
Update scripts to match.

Definition of Done

[x] There are no TODOs left in the code

Coverage remained the same at 85.946% when pulling 32b837d659cf19f35cb7262cdded7d01cebebe4c on dmitry-timofeev:clarify-instructions into 3718dc48057b166777cddd400b35365361f835ef on exonum:master.


Reactive Features of MicroProfile talk by Ondro at Code One 2019

Conference: Oracle Code One 2019
Conference website and social media links:
https://www.oracle.com/code-one/
@OracleCodeOne
Talk name: Reactive Features of MicroProfile You Need to Learn
Talk time: Thursday, September 19, 12:15 PM
Talk Link: https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=DEV2491
Speakers: Ondro Mihalyi, @OndroMih, Payara Senior Engineer
Tweet: Join @OndroMih to learn about new @MicroProfile #reactive APIs and why it's important to learn them even if you haven't heard about #MicroProfile @OracleCodeOne: https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=DEV2491 #Payara #opensource
Pictures of the speaker: https://blog.payara.fish/hubfs/Ondrej-1.jpg

It is scheduled to go out on Tuesday


[zh] Sync /workloads/pods/pod-lifecycle.md

Sync with the en version #37158
Modify the position of newline chars

content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md

Preview: https://deploy-preview-37161--kubernetes-io-main-staging.netlify.app/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/

/lgtm
/approve


Fix race in SyncContext.Value and delegate from ControlledBlockingCon…

This fixes the flaky tests reported in #118. I managed to consistently provoke the flakyness by running these tests repeatedly. The fixes below remedied the failures after sufficient runs of the tests (did not run them forever though, so not 100% sure 🤞)
The cause seem to be due to a race in ControlledBlockingContext.Value where consume and setValue could be called from multiple threads and cause the consumer to not be registered/ignored. This issue was also found in SyncContext so I fixed it there and refactored ControlledBlockingContext to delegate to a SyncContext.
This should not be an issue with the AsyncContext as it delegates all those methods to an internal CompletableFuture.

@danielnorberg merged the Promise/Value implementation of (Sync|Async)Context. But SyncContext uses a same thread executor instead.

hmm, unrelated build failure?
18:39:49.258 [main] DEBUG com.spotify.flo.freezer.PersistingContext - Could not find com.twitter.chill.ScalaKryoInstantiator: {}
java.lang.ClassNotFoundException: com.twitter.chill.ScalaKryoInstantiator


System.AccessViolationException

Hi,I used CppSharp convert an third native dll. I can invoke the third dll function,but when i used on function to set callback,it show error System.AccessViolationException.who can help me resolve this problem?thanks.The Project GitHub address is https://github.com/zjmsky/TapTradeSharp

Hello @zjmsky , sorry I do not have time to research why it throws the exception.
Have you been able to figure anything out?

@zjmsky 这个可能是native报错了，你用debug模式试下吧
This is may be crash by native error, may you try to use debug mode?

谢谢，已经可以正常了，很奇怪的问题。


add C# 10 specifications

The C# 10.0 feature specifications are completed. Add them to the specifications that we publish.
This may be easier to review commit-by-commit:
The first commit adds the C# 10 proposals.
The second commit updates metadata to fix warnings and suggestions.
Internal review link

Some warnings persist. These should be addressed in dotnet/csharplang#5018

closing and opening for a fresh build


[Cluster dashboard] Indicate when hosts are in progress

Depends on #293 [MERGED]

Pull Request Test Coverage Report for Build 1338

34 of 44 (77.27%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 87.033%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/BareMetalHosts/StatusComponents.js
17
19
89.47%

src/selectors/host/selectors.js
6
8
75.0%

src/utils/status/host/hostStatus.js
3
9
33.33%

Totals

Change from base Build 1328:
-0.2%

Covered Lines:
3235

Relevant Lines:
3560

💛  - Coveralls

Needs a rebase before any reviews

Ready for reviews

Dependent PR merged


add Player.js Support

required by https://embed.ly/providers/new

Player.js IFrame Compatibility Tester: http://playerjs.io/test.html?url=https%3A%2F%2Fsalt.odysee.com%2F%24%2Fembed%2Fforza-horizon-5-bugatti-divo-1500%2Fb3cb4c4e20b560472a73be32025e697b1a3c3265

When will this be live?


ARROW-11644: [Python][Parquet] Low-level Parquet decryption in Python

9631

 Quality gate: Failed
8 Issues

 7 Vulnerabilities
 1 Code issues

Details


Bugfixes on training step

I fixed two mistakes you made probably when you refactored the code

You're right, thanks!


pollset_posix.c:586: poll() failed: Interrupted system call

I sometimes see this message when running C# tests. According to @ctiller it's just an extraneous log message that should be silenced.

E10/29/2015 5:10:02 PM<PHONE_NUMBER>75104 src/core/iomgr/pollset_posix.c:586: poll() failed: Interrupted system call

Another log message that might be worth silencing:
D10/29/2015 5:10:03 PM<PHONE_NUMBER>52960 src/core/surface/server.c:399: finish_destroy_channel: 0x7f7d44009010


Page keeps refreshing

Locked pages keep refreshing in Chrome56/FF50.

Please can you provide more details such as URL example and what exactly is meant by locked page?
Just in case pleasy try to remove and install the extension from Chrome Store.

same here, looks like every locked page is affected

Console output attached

Thanks! Will look into it. Do you experiwnce the same with Firefox as well?

It's the same on Firefox

Seems like the "trick" with piano_t=1 no longer works.

Same on Opera 42.0.2393.517, Win10 x64