Cannot read property 'search' of null

🐞 Bug report
ng add @scullyio/init terminates uncorrectly with Cannot read property 'search' of null. I see that another similar issue was opened (#1168) but I'm not seeing any solution. W.r.t. this other issue (#1288), the name of my Angular project is something like xyz-showcase (yes, with the hyphen)
Description
🔬 Minimal Reproduction
Just run ng add @scullyio/init on the already-existing Angular project where I want to integrate scully
💻Your Environment
Angular Version:

Angular CLI: 11.2.14
Node: 15.14.0
OS: win32 x64

Angular: undefined
...
Ivy Workspace: No

Package                             Version
-------------------------------------------------------------
@angular-devkit/architect           0.1102.14
@angular-devkit/build-angular       0.1102.14
@angular-devkit/core                11.2.14
@angular-devkit/schematics          11.2.14
@angular/cli                        11.2.14
@angular/common                     11.2.14
@angular/compiler-cli               11.2.14
@angular/google-maps                12.0.2
@angular/language-service           11.2.14
@angular/platform-browser           11.2.14
@angular/platform-browser-dynamic   11.2.14
@angular/router                     11.2.14
@schematics/angular                 11.2.14
@schematics/update                  0.1102.14
typescript                          4.1.5

Scully Version:
    "@scullyio/init": "~1.1.4",
    "@scullyio/ng-lib": "~1.0.0",
    "@scullyio/scully": "~1.0.0",

🔥 Exception or Error

Skipping installation: Package already installed
Cannot read property 'search' of null

I partly managed to backtrace the problem.
As we can see from here:
https://github.com/scullyio/scully/blob/cbd940cf0f7db9f4a5b658b69f0a1b6fbebadde5/libs/scully-schematics/src/ng-add/package-config.ts#L56
Scully's schematics are requiring the presence of @angular/core in the dependency section of the package.json file.
It is a requirement that should be added to the doc, since an explicit @angular/core dependency is not required for a generic Angular project to work.
However, there is still something missing. Now, I'm receiving this error:
  Skipping installation: Package already installed
    ⚠  Skipping polyfills.ts
    Install ng-lib
    ✅ Added dependency
UPDATE package.json (1717 bytes)
√ Packages installed successfully.
Cannot set property 'scully' of undefined

Another implicit requirement: the package.json file is required to provide a script section, as we can see here:
https://github.com/scullyio/scully/blob/cbd940cf0f7db9f4a5b658b69f0a1b6fbebadde5/libs/scully-schematics/src/scully/index.ts#L31
Therefore, I was able to add the schematics by adding:
"scripts": {}
to my package.json file

@alessandro-tucci-visiontech Thanks for the thorough description. I'll be putting those issues on our to-do

@Jefiozie Did we already address this in our schematic updates?

No I don't think so, assigning it to me for investigation

This seems also related to #1520. Not the same issue, but e might be able to solve both with the same solution.


Any plans to make a release?

@eko  A lot of things done in master during a year (like freecache implementation), but the last release was 8 Dec 2019
maybe its time to make a new one? :-)

Ho @pavlovmike, you're right, thank you, I just tagged https://github.com/eko/gocache/releases/tag/v1.1.0


refactor UI markup and add support for BIP21

...
Related to lnbits/lnbits#1812

Closes #25

Card now looks like this, with Unified QR code if onchain is used:

Time elapsed:

Paid:

mempool.js was added in this PR https://github.com/lnbits/satspay/pull/26
please remove it from this PR, it will make it easier to review

Scanning with Muun and Phoenix did not work. Maybe they don't support BIP21?

Scanning with Muun and Phoenix did not work. Maybe they don't support BIP21?

on Muun: "Go to Settings > Lightning Network > Receiving protocol and set it to"Unified" to enable this feature
Link to issue:"
Phoenix should work, according to this: https://bitcoinqr.dev/


docker container reports unhealthy, the management login page reports "bad gateway" , no login possible

Info.txt
I've been reading/trying many possible solutions, but none gave a solution.
I've gathered data:
xxx@yyyy:~ $ cat /etc/debian_version
10.4
xxx@yyyy:~ $ uname -a
Linux yyyy 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
xxxn@yyyy:~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4
Hardware	: BCM2835
Revision	: a020d3
Serial		:<PHONE_NUMBER>806e22
Model		: Raspberry Pi 3 Model B Plus Rev 1.3
xxx@yyyy:/etc/docker $ docker --version
Docker version 19.03.11, build 42e35e6
xxx@yyyy:/etc/docker $ docker-compose --version
docker-compose version 1.26.0, build unknown
xxx@yyyy:~ $ sudo nano /etc/docker/config.json
{
"database": {
"engine": "mysql",
"host": "db",
"name": "npm",
"user": "npm",
"password": "npm",
"port": 3306
}
}
xxx@yyyy:~ $ sudo nano /etc/docker/docker-compose.yml
version: "3"
services:
app:
image: jc21/nginx-proxy-manager:2
restart: always
ports:
# Public HTTP Port:
- '8080:80'
# Public HTTPS Port:
- '8443:443'
# Admin Web Port:
- '81:81'
#environment:
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
# Make sure this config.json file exists as per instructions above:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: jc21/mariadb-aria:10.4
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql
xxx@yyyy:/etc/docker $ docker-compose up -d
reports no errors and returns normally to the prompt
Nginx Proxy Manager V2.3.1  login page on ip-addres:81  reports always "Bad Gateway" when using default login<EMAIL_ADDRESS>pwd:changeme
xxx@yyyy:/etc/docker $ docker ps
CONTAINER ID        IMAGE                        COMMAND             CREATED             STATUS                          PORTS                                                             NAMES
5f39e350d499        jc21/nginx-proxy-manager:2   "/init"             28 minutes ago      Up 28 minutes (unhealthy)       <IP_ADDRESS>:81->81/tcp, <IP_ADDRESS>:8080->80/tcp, <IP_ADDRESS>:8443->443/tcp   docker_app_1
fe0e95ee2373        jc21/mariadb-aria:10.4       "/scripts/run.sh"   28 minutes ago      Restarting (1) 23 seconds ago                                                                     docker_db_1
xxx@yyyy:/etc/docker $ docker logs fe0e95ee2373
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
...
xxx@yyyy:/etc/docker $ docker logs 5f39e350d499
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
❯ Enabling IPV6 in hosts: /etc/nginx/conf.d
❯ /etc/nginx/conf.d/default.conf
❯ /etc/nginx/conf.d/production.conf
❯ /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
❯ /etc/nginx/conf.d/include/ssl-ciphers.conf
❯ /etc/nginx/conf.d/include/assets.conf
❯ /etc/nginx/conf.d/include/force-ssl.conf
❯ /etc/nginx/conf.d/include/block-exploits.conf
❯ /etc/nginx/conf.d/include/ip_ranges.conf
❯ /etc/nginx/conf.d/include/proxy.conf
❯ /etc/nginx/conf.d/include/resolvers.conf
❯ Enabling IPV6 in hosts: /data/nginx
[6/11/2020] [11:34:06 AM] [Global   ] › ✖  error     connect ECONNREFUSED <IP_ADDRESS>:3306
[6/11/2020] [11:34:07 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:15 AM] [Global   ] › ✖  error     connect ECONNREFUSED <IP_ADDRESS>:3306
[6/11/2020] [11:34:16 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:17 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:18 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:19 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:20 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:21 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:24 AM] [Global   ] › ✖  error     connect ECONNREFUSED <IP_ADDRESS>:3306
[6/11/2020] [11:34:25 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
[6/11/2020] [11:34:26 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db
...

I'm trying to setup the nginx proxy manager on a raspberry pi 3B+.
The other issue discussions solved the problems I had during the load of the container in docker.
Now the "docker-compose up -d" command does not report any errors on the prompt.
But in the login page of nginx proxy manager I always get "bad gateway" as result of any login attempt. I've been searching in the other issues to find a way to solve this.
The logfile reports connection errors with the db it seems.
I really need some help, I don't grasp fully the concept of docker. So I've no clue where to start the troubleshooting.

I'm trying to setup the nginx proxy manager on a raspberry pi 3B+.
The other issue discussions solved the problems I had during the load of the container in docker.
Now the "docker-compose up -d" command does not report any errors on the prompt.
But in the login page of nginx proxy manager I always get "bad gateway" as result of any login attempt. I've been searching in the other issues to find a way to solve this.
The logfile reports connection errors with the db it seems.
I really need some help, I don't grasp fully the concept of docker. So I've no clue where to start the troubleshooting.

Have the same exact issue running Docker on macOS High Sierra 10.13.6. I also am new to Docker, but I have been working on it for a few days. I'll post back if I can figure out how to get things working.

I'm trying to setup the nginx proxy manager on a raspberry pi 3B+.
The other issue discussions solved the problems I had during the load of the container in docker.
Now the "docker-compose up -d" command does not report any errors on the prompt.
But in the login page of nginx proxy manager I always get "bad gateway" as result of any login attempt. I've been searching in the other issues to find a way to solve this.
The logfile reports connection errors with the db it seems.
I really need some help, I don't grasp fully the concept of docker. So I've no clue where to start the troubleshooting.

I believe the problem you are having is with your choice of the db. Please check but I think the official mariadb and jc21/mariadb-aria:10.4 only support x86 and arm64 not the RPi arm v7.
Try: yobasystems/alpine-mariadb:latest
My docker-compose.yml
version: "3"
services:
  app:
    image: jc21/nginx-proxy-manager:latest
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # Uncomment this if IPv6 is not enabled on your host
      DISABLE_IPV6: 'true'
    volumes:
      # Make sure this config.json file exists as per instructions above:
      - ./config/config.json:/app/config/production.json
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db
  db:
    image: yobasystems/alpine-mariadb:latest
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

  adminer:
    image: adminer
    restart: always
    ports:
      - 8080:8080
    depends_on:
      - db

I'm trying to setup the nginx proxy manager on a raspberry pi 3B+.
The other issue discussions solved the problems I had during the load of the container in docker.
Now the "docker-compose up -d" command does not report any errors on the prompt.
But in the login page of nginx proxy manager I always get "bad gateway" as result of any login attempt. I've been searching in the other issues to find a way to solve this.
The logfile reports connection errors with the db it seems.
I really need some help, I don't grasp fully the concept of docker. So I've no clue where to start the troubleshooting.

I believe the problem you are having is with your choice of the db. Please check but I think the official mariadb and jc21/mariadb-aria:10.4 only support x86 and arm64 not the RPi arm v7.
Try: yobasystems/alpine-mariadb:latest
My docker-compose.yml
version: "3"
services:
  app:
    image: jc21/nginx-proxy-manager:latest
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # Uncomment this if IPv6 is not enabled on your host
      DISABLE_IPV6: 'true'
    volumes:
      # Make sure this config.json file exists as per instructions above:
      - ./config/config.json:/app/config/production.json
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db
  db:
    image: yobasystems/alpine-mariadb:latest
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

  adminer:
    image: adminer
    restart: always
    ports:
      - 8080:8080
    depends_on:
      - db

I appreciate the help, at least in my case this did not help. When attempting to use MariaDB I get an error about unknown engine InnoDB, so I tried changing the image to use msql/mysql-server and everything builds fine, but I still get the bad gateway message when attempting to log in

Issue #333 sounds like the same problem as this.

Thanks to all for these hints, they gave me more insight on how docker containers are installed/configured from the commandline.
I've found a workable solution by forcing the database container to the right hardware infrastructure: armV7  (tag: "armhf")
With the tag: "latest" the database app was installed for the armv8 family (64 bit)
the docker-compose.yml file:
version: "3"
services:
app:
image: jc21/nginx-proxy-manager:2
restart: always
ports:
# Public HTTP Port:
- '80:80'
# Public HTTPS Port:
- '443:443'
# Admin Web Port:
- '81:81'
environment:
# Uncomment this if IPv6 is not enabled on your host
DISABLE_IPV6: 'true'
volumes:
# Make sure this config.json file exists as per instructions above:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: yobasystems/alpine-mariadb:armhf
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql


Control sampling rate

I would like to use this tool to extract some frames from image to train deep learning system.
The issue i have is too many similar frames generated.
Would it be possible to set constant sampling rate for video?
I.e show and annotate only two frames per second?

I think we can change the config in line 180 from https://github.com/dbolkensteyn/vatic.js/blob/master/index.html.


JSON: Option to display in index

Sometimes only there is two fields it would be nice if we can see from index

Added showOnIndex() method in 0.4.2


Opaque type fixes for interesting generic environments

Fix a few remaining issues with opaque result types that have "interesting" generic environments:

Only build opaque archetype types corresponding to opaque generic parameters, and do normal substitutions for outer generic parameters
Correct the IR generation logic for finding a particular witness table in an opaque type. It was hard-coded to only work with opaque type declarations that have a single opaque type in them and a "flat" set of conformances.

Although the tests here are described in terms of named opaque result types (which is hidden behind an experimental flag), the fixes also apply to structural opaque result types and any feature that allows us to add constraints to opaque result types.

@swift-ci please smoke test


Join effort with HotswapHelper

I guess to join effort with HotswapHelper that:

is based on HotswapAgent, that has parameter extraClasspath, that is used by classloaders to prioritize class loading from specified path. so it is possible to override classes in jars without jar recompilation
makes life with HotswapAgent and dcevm much easier for end users

It may be supported in JarEditor.
When using JarEditor to edit the class in the jar, it will first be saved to *jar_temp/jar_edit_out.
Maybe this can be used as extraClasspath.


Demo is not working

Gray page at https://koala.vaporsoft.xyz/user, console errors:
{name: 'Internal Server Error.', message: '500 - Internal Server Error.', statusCode: 500}

_app-a076690c1f35306d.js:4 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred

_app-a076690c1f35306d.js:4

POST https://koala.vaporsoft.xyz/api/trpc/getUserSettings?batch=1 401 (Unauthorized)

_app-a076690c1f35306d.js:4 Failed to fetch user settings: TRPCClientError: Please log in.
    at l.from (_app-a076690c1f35306d.js:4:20349)
    at _app-a076690c1f35306d.js:4:25032

Hi @d9k , thanks for letting me know about the problem.
You are the first person to raise an issue on this repo, so congratulations on that :sweat_smile:
I will investigate the problem. For now, you can sign in via https://koala.vaporsoft.xyz/api/auth/signin

I have a fix available here, but I can't merge yet because of some unrelated audio issues in that PR: https://github.com/RickCarlino/KoalaSRS/pull/55


CI improvements: toolbox & v1.5.0 support & more checks of the GPU operator deployment

6de20f8 - build/root/usr/local/bin/run: change CI_IMAGE_GPU_COMMIT_CI_REPO/REF to nvidia/master
2022bb3 - roles/nv_gpu/tasks/ci_checks.yml: extend checks and make it compatible with GPU-operator v1.5.0
ed67125 - toolbox: gpu-operator/run_ci_checks.yml: new script
c9f22a3 - toolbox: gpu-operator/undeploy_from_commit.yaml: new script
e38604b - roles/nv_gpu_install_from_commit/tasks/main.yml: always execute 'Cleanup custom commit resources'
6ac4ddd - roles/nv_gpu_install_from_commit/tasks/main.yml: allow install_gpu_operator_from_commit=no
fad0141 - roles/nv_gpu_install_from_commit/tasks/main.yml: fail if variables gpu_operator_git_repo/gpu_operator_git_ref/gpu_operator_image_tag_uid are not defined
962ab6d - roles/nv_gpu_install_from_commit/tasks/undeploy.yml: ignore failures when undeploying
911d138 - roles/nv_gpu_install_from_commit/tasks/cleanup.yml: also delete gpu_operator_ci_utils content
b7932e8 - roles/nv_gpu_install_from_commit/tasks/build.yml: make the build more resilient
90ea9aa - roles/nv_gpu_install_from_commit/files/helm_deploy_operator.sh: allow calling 'undeploy' with no parameter
aacaa5f - toolbox: gpu-operator/deploy_from_commit.sh: new script
94c3acc - toolbox: gpu-operator/deploy_from_operatorhub.sh: new script
a514d87 - toolbox: deploy_nfd_from_operatorhub.sh: new script
4ce8d05 - toolbox: scaleup_gpu_node.sh: new script
5eaa79f - roles/openshift_node/tasks/create_machine.yml: improve and make it safe to run it twice
5a270f9 - roles/nv_gpu_install_from_commit/files/helm_deploy_operator.sh: show gpu-operator git commit being used
36ca898 - roles/nv_gpu_install_from_commit/files/helm_deploy_operator.sh: remove hook for faulty devicePlugin image

commits are logically split, it would be easier to look at them one by one rather than the full PR change

I changed the target branch to release-next to run CI test with this commit

retrying with more delay for the GPU Feature discovery check

GFD seems to deploy only these labels:
        "                    nvidia.com/gfd.timestamp=1612375261",
        "                    nvidia.com/gpu.present=true",

so the test oc get nodes -l nvidia.com/gpu.count -oname | grep node/ is failing. Ignoring the failure for now, but capture the GFD logs to better understand what's going on.

updated the patch to remove the assumption that the gpu-operator-resources project is selected

/test gpu-operator-e2e-presubmit

I didn't update the var files roles/nv_gpu*/vars/main.yml -,-

@ArangoGutierrez \o/ \o/
LGTY ?

I changed the target branch back to master
(I'll update the release repo to avoid switching back and forth like that)

/lgtm

/lgtm

/test gpu-operator-e2e-presubmit

/test gpu-operator-e2e

and pushed in all the release- branches, :crossed_fingers: to everything to stay :green_circle: tomorrow ;-)


[UI] some icons are filled black

Describe the bug
The icon was ok when exporting from the Figma, but after it get converted into an icon font by using fatansticon, the icon becomes:
Expected icon:

Actual icon:

It seems like this fix the bug: https://github.com/tancredi/fantasticon/issues/455

The buggy icons will be replaced in nota-codicons repository very soon.


SleepNumber Auth not working

Seems like SleepNumber changed their API.
I am using your code in a hacky Jenkins job code setup to raise my bed 2x in the morning (it’s been incredible for my sleep quality and I don’t even set any alarms anymore - so thank you!!).
I noticed I was sleeping in a lot more over the last few weeks and figured out it’s because the script broke. I looked back at the logs and it had this:
login failed -  Login failed - Error #401: Authentication token of type [class com.bam.presentation.rest.endpoints.sleepnumber.auth.CognitoTokenForShiro] could not be authenticated by any configured realms.  Please ensure that at least one realm can authenticate these tokens.
I wanted to ask if you (or anyone else) is running into this same issue and if you have ideas on how to fix it.

Could also be something weird with Jenkins but I’m not sure. I figured if someone else is having this issue I’ll get a better idea of where I should focus on a solution

It looks like SleepNumber wanted me to reset my password. Once I did that, it worked normally.
Closing.


Implement email validation

What
Implement email validation helper
Why
To support adding email notification of scheduled visits
Screenshots
Notes

LGTM :+1:


Create the dedicated pool for global dirty path list using object pool

I also don't think it's a wise idea to have this global dirty rely on the same ClusterInfo resource pool that is used for allocating paths on incoming subscribe/read processing. This couples one onto the other - if there are a large number of subscribers who use up the majority of the pool, your dirty tracking system is not going to function well, if it all.
They have separate purposes, so having separate pools would be more sensible. Fine to do this as a follow-up issue.
Originally posted by @mrjerryjohns in https://github.com/project-chip/connectedhomeip/pull/9510#discussion_r704793327

This is pretty important to get a functioning subscription going.

@mrjerryjohns Says it's done

Implemented in #13472


No database-level error message

When a script errors out in the database, there's no diagnostic message as to what exactly went wrong.
To reproduce: create a database. Create a table in it:
create table dbo.t(n int not null)
Create a release definition with a "Run SQL Command" task in it, with the following SQL:
insert into dbo.t(n) values(null)
Execute the definition. See the log. No message about constraint violation, just a generic "Error running SQL script" message.
Some food for thought: http://stackoverflow.com/questions/27949081/how-do-you-get-powershell-script-output-in-the-deployment-log-for-a-vnext-releas
To fix: my testing shows that $_ object in the exception handler contains the raw error message as a string. So replace the exception handler in all the scripts with
Write-Error "Error running SQL script: $_"
and that will do the trick.

I've added that. Also added a switch to the Invoke-SQLcmd to output sql errors

The sensible message is there.
There's still a wrinkle - when the error is in a stored procedure, the error message doesn't reflect the SP name and the line number in the SP. SQL Server's error diagnostics do provide that, and most query tools output it, but invoke-sqlcmd doesn't. That's Microsoft's issue which I'll promptly report to them.


TextField cursor jump to go first when typing above and below letter in myanmar langauge

Steps to Reproduce

...
...
...

Logs

add Myanmar keyboard to the iOS device
create new flutter project
add TextField widget
TextField(
decoration: InputDecoration(labelText: 'Product description'),
maxLines: 4
)
Run to physical iOS Device (i never try on iOS emulator)
type some 4-6 Thai characters by slowly and alternate with a white space and type some 4-6 Myanmar characters again
try to delete by pressing backspace key several times.
bug will happen every time you type the vowel above and below the alphabet.
eg. ထက္ေဝယံ bug will happen on( ္) and ( ႔) and ุ


Fix Str::startsWith args order

Closes #569

Thank you! Can you also change it in here and here ?

Why test didn't catch these?

Why test didn't catch these?

Yeah.. I'll add more tests for this.

Hi,
First of thanks to both @canvural and @szepeviktor for picking this up so quickly.
I was just wondering: when will a release get tagged that includes this? I am currently locking larastan to 0.5.5 while a release is still pending.
Thanks for your response, and again: thanks for all your work.

19 days ago

The last release was 2 days before this PR :(
We have  32 commits hanging, so very soon!

@axit-joost There are couple of bugs I'd like to fix still. But I think we'll release 0.6 this week, or latest beginning of next week :+1:

Sweet! Looking forward to it.


[opt](inverted index)Modify the parameter passing method for compound…

… list
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Microphone not work with Alexa Smart Screen SDK but work perfectly with AVS Device SDK

Hi
I tried to create a new application with Alexa Smart Screen SDK, i followed this guide https://developer.amazon.com/it-IT/docs/alexa/alexa-smart-screen-sdk/raspberry-pi.html.
But microphone doesn't work.
What is the expected behavior?
Alexa Speak
What behavior are you observing?
The microphone not work and i receive this message
######################################
#       ALEXA STATE: LISTENING       #
######################################

2020-06-25 08:30:18.004 [ 18] I DirectiveProcessor:setDialogRequestIdLocked:oldValue=,newValue=6dc5551d-fa82-4417-8921-2242dc7a0148
2020-06-25 08:30:18.006 [ 18] W UUIDGeneration:low entropy on call to generate UUID:current entropy=32
2020-06-25 08:30:18.006 [ 1f] W MediaPlayer:getCurrentStreamOffsetError:name=SystemSoundMediaPlayer,reason=getElementGetStateUnsuccessful,stateChangeReturn=ASYNC
2020-06-25 08:30:18.456 [ 18] E AudioInputProcessor:executeRecognizeFailed:reason=Barge-in is not permitted while busy
2020-06-25 08:30:18.539 [ 18] E AudioInputProcessor:executeRecognizeFailed:reason=Barge-in is not permitted while busy
2020-06-25 08:30:18.539 [ 18] E AudioInputProcessor:executeRecognizeFailed:reason=Barge-in is not permitted while busy
2020-06-25 08:30:18.606 [ 15] W Channel:notifyActivitiesFailed::No Associated Activities Found
2020-06-25 08:30:18.633 [ 18] W UUIDGeneration:low entropy on call to generate UUID:current entropy=32
2020-06-25 08:30:18.633 [ 18] E SystemSoundPlayer:playToneFailed:reason=Already Playing a Tone
2020-06-25 08:30:18.636 [ 18] I DirectiveProcessor:setDialogRequestIdLocked:oldValue=6dc5551d-fa82-4417-8921-2242dc7a0148,newValue=6a55558e-0819-4c3d-b0fb-28dfcf6a720b
2020-06-25 08:30:18.637 [ 18] W UUIDGeneration:low entropy on call to generate UUID:current entropy=32

Provide the steps to reproduce the issue, if applicable:
When i start the AVS Device SDK with this command:
cd $HOME/sdk_folder/sdk-build
PA_ALSA_PLUGHW=1 ./SampleApp/src/SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG9

microphone and headphone(jack) work perfectly.
But if i start Alexa Smart Screen SDK with this command:
cd $HOME/sdk_folder/ss-build
 PA_ALSA_PLUGHW=1 ./modules/Alexa/SampleApp/src/SampleApp -C \
 $HOME/sdk_folder/sdk-build/Integration/AlexaClientSDKConfig.json -C \
 $HOME/sdk_folder/alexa-smart-screen-sdk/modules/GUI/config/SmartScreenSDKConfig.json -L DEBUG9

the microphone not work, i can ear the the "listening activation sound" when i press "A" button but microphone not work.
What version of the AVS Device SDK are you using?
  <1.19.1>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ X ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ X ] Other - tell us more: Raspbian Buster

Ok... I found the problem!!!
When the test is finish, on this passage https://developer.amazon.com/it-IT/docs/alexa/alexa-smart-screen-sdk/raspberry-pi.html#verify-the-avs-device-sdk-build, the raspberry need reboot.
But now i another problem, i setted the system to accept word wakeup in SmartScreenSDKConfig.json
"gui": {
    "appConfig": {
      "description": "TV PTT Device - Fullscreen + Lower Third Panel",
      "mode": "TV",
      "emulateDisplayDimensions": true,
      "scaleToFill": true,
      "audioInputInitiator": "WAKEWORD",
      "windows": [
        {....

But if i try to say "ALEXA" nothing is happening, but if i set audioInputInitiator  to "TAP" the system work perfectly when i press "A".
What am I doing wrong?
This is my command to start Alexa Smart Screen SDK
 PA_ALSA_PLUGHW=1 ./modules/Alexa/SampleApp/src/SampleApp -C\
 $HOME/sdk_folder/sdk-build/Integration/AlexaClientSDKConfig.json  -C\
 $HOME/sdk_folder/alexa-smart-screen-sdk/modules/GUI/config/SmartScreenSDKConfig.json \
 -K  $HOME/sdk_folder/third-party/alexa-rpi/models  -L DEBUG9

Hi @jbllea, this support forum is only for the AVS SDK, not the Smart Screen SDK. Unfortunately we cannot help with configuring the Smart Screen SDK.
You may want to verify the cmake commands you used to build the SDK; the default commands provided in the set-up guide you linked do not actually enable wake word, so if you followed those instructions, the SDK was not built with wake word enabled (that means that you can't wake up Alexa by saying her name -- you will have to press 'tap').
I'm going to close this issue since it's outside the scope of this forum.


implement BPF sockets to be used as RawSocketDesc on BSD-like OSes

I added a file under phy/sys named bpf.rs and put all the code there so you can review the code easily. I also made other small changes so as to be able to build and run on macOS and FreeBSD with the feature phy-raw_sockets. I also named the methods of the BpfDevice struct same as in the RawSocketDesc struct, and reimport BpfDevice as RawSocketDesc.
Another point that can be discussed about my implementation is about the interface_mtu method (see the comment in the code).
I tested the code with the tcpdump example and it works seamlessly, I didn't test it with the other examples yet though.
I did everything on macOS, but from my experience with BPF sockets this should work the same on FreeBSD, and probably other BSD-like OSes.
PS: Probably resolves #71.

Can you please add a Travis builder that uses macOS? After that I'll merge.

Should I add one only for builds with the 'phy-raw_socket' feature or for all builds? I am not familiar with Travis CI, just now I am reading through the docs (specifically this page)

I think one build with phy-raw_socket feature enabled, as everything else is not platform-dependent. Thanks!

Sorry if I am annoying, there was an error when building only with 'phy-raw_socket', namely:
error[E0392]: parameter `'a` is never used
   --> src/iface/ethernet.rs:244:13
    |
244 | enum Packet<'a> {
    |             ^^ unused type parameter
    |
    = help: consider removing `'a` or using a marker such as `core::marker::PhantomData`

So instead I added a builder with the default features, since the above error was caused by the fact that every member of Packet is feature-dependent. I hope this is ok.

That's fine.

Thanks!

My pleasure.

This may not always work on MacOS. At least on my machine, I have error code 22: invalid argument. I have to implement a raw socket with pnet.
use alloc::rc::Rc;
use std::cell::RefCell;
use std::time::Duration;

use eyre::{bail, ContextCompat};
use pnet::datalink::{Channel, Config, DataLinkReceiver, DataLinkSender};

use crate::{phy::{ChecksumCapabilities, Device, DeviceCapabilities, Medium, RxToken, TxToken},
            time::Instant};

pub struct PnetRawSocket {
	tx: Rc<RefCell<Box<dyn DataLinkSender>>>,
	rx: Rc<RefCell<Box<dyn DataLinkReceiver>>>,
	cap: DeviceCapabilities,
}
pub struct PnetRxToken {
	buffer: Vec<u8>,
}

impl RxToken for PnetRxToken {
	fn consume<R, F>(mut self, _timestamp: Instant, f: F) -> crate::Result<R>
	where
		F: FnOnce(&mut [u8]) -> crate::Result<R>,
	{
		f(&mut self.buffer[..])
	}
}
pub struct PnetTxToken {
	tx: Rc<RefCell<Box<dyn DataLinkSender>>>,
}
impl TxToken for PnetTxToken {
	fn consume<R, F>(self, _timestamp: Instant, len: usize, f: F) -> crate::Result<R>
	where
		F: FnOnce(&mut [u8]) -> crate::Result<R>,
	{
		let mut f = Some(f);
		let mut ret = Err(crate::Error::Illegal);
		self.tx
			.borrow_mut()
			.build_and_send(1, len, &mut |x| {
				ret = f.take().unwrap()(x);
			})
			.ok_or(crate::Error::Exhausted)?
			.map_err(|err| {
				net_warn!("error when sending to eth: {:?}", err);
				crate::Error::Illegal
			})?;
		ret
	}
}
impl PnetRawSocket {
	pub fn new(name: &str) -> eyre::Result<Self> {
		let ifc = pnet::datalink::interfaces()
			.into_iter()
			.filter(|x| x.name == name)
			.next()
			.with_context(|| format!("No interface named {}", name))?;
		let channel = pnet::datalink::channel(
			&ifc,
			Config {
				// to have nonblocking bahavior
				read_timeout: Some(Duration::from_micros(0)),
				..Default::default()
			},
		)?;
		match channel {
			Channel::Ethernet(tx, rx) => Ok(Self {
				tx: Rc::new(RefCell::new(tx)),
				rx: Rc::new(RefCell::new(rx)),
				cap: DeviceCapabilities {
					medium: Medium::Ethernet,
					max_transmission_unit: 1400,
					max_burst_size: None,
					checksum: ChecksumCapabilities::default(),
				},
			}),
			_ => bail!("unsupported channel type"),
		}
	}
}
#[allow(deprecated_where_clause_location)]
impl Device for PnetRawSocket {
	type RxToken<'a>
	where
		Self: 'a,
	= PnetRxToken;
	type TxToken<'a>
	where
		Self: 'a,
	= PnetTxToken;

	fn capabilities(&self) -> DeviceCapabilities {
		self.cap.clone()
	}

	fn receive(&mut self) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> {
		let mut lower = self.rx.borrow_mut();
		let mut buffer = Vec::with_capacity(self.cap.max_transmission_unit);
		match lower.next() {
			Ok(size) => {
				buffer.extend_from_slice(size);
				let rx = PnetRxToken { buffer };
				let tx = PnetTxToken {
					tx: self.tx.clone(),
				};
				Some((rx, tx))
			}
			Err(ref err) if err.kind() == std::io::ErrorKind::TimedOut => None,
			Err(err) => {
				net_warn!("Error when receiving data: {:?}", err);
				None
			}
		}
	}

	fn transmit(&mut self) -> Option<Self::TxToken<'_>> {
		Some(PnetTxToken {
			tx: self.tx.clone(),
		})
	}
}


CVE ID should be different to the rust-lang.org one.

This is on me, but I didn't get the right pattern for referring to the Rust CVE vs this CVE - are we able to get the advisory to have its own distinct CVE? @pietroalbini advises that scanners could be confused by the same CVE ID being used, and since the point of the vuln system is to let people know when they have to fix something, we should help them as much as possible,

Not sure if you can request an ID from GitHub once the advisory has been published, but it should be possible at least to remove the CVE ID from the advisory.

I have removed it, let me know if there's something it should be.

Thanks! In theory a new CVE ID should be requested, not sure if GitHub allows doing so after the advisory is public. Worst case go through MITRE.

I don't remember what we did, but all the fixes are public and done and dusted at this point.


Support for Python 3.12

Currently, the app doesn't support python version 3.12. It will immensely helpful if I can use it in 3.12.

LGTM, Thanks @uroybd for the PR.

LGTM, Thanks @uroybd for the PR.


Confusing configurations in the self registration configs

Issue
When we access the carbon console self-registration configuration following config options can be seen.

The above configurations are very confusing. Therefore it needs to be improved. Similar configs can be seen in the new developer console as well.

###Improvement

The configurations need to say which one has priority over the others. For example  if the Send sign up confirmation email is enabled, does it send the emails if the accounts are not locked on creation. Also, the descriptions and the config name need to be self-explanatory.
Group the configurations that are similar in meaning. The overall experience seems to be very troubling since we have to scroll down to see more additional configs.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


pybits: fix inconsistencies in talks

This has a merge commit. Didn't rebase? Anyway, didn't review yet. If possible, remove the merge commit and rebase with latest master. I'll handle it tomorrow morning.

Thanks @v-superuser. Merged manually.


Is there a problem with multi-threaded calling ksmc_SuspendeneEnvironment()

I have a thread A and a thread B, both threads are running continuously and will call ksmc_SuspendeneEnvironment() to suspend and capture the stack. I am worried about deadlock and other abnormal issues

Hi!
To better understand and assist with your issue, could you please provide more specific information. Have you actually encountered any deadlocks or abnormal issues when calling ksmc_SuspendeneEnvironment() from multiple threads? If so, can you share details like stack traces or error messages?

messages

I didn't encounter it, I was just worried about potential issues during the development phase and came to inquire if there might be any hanging problems. I'm not sure about the underlying principles

As the maintainer of KSCrash, I can assure you that neither we nor our many users have reported any recent issues related to multi-threaded calls to ksmc_suspendEnvironment().
Theoretically, the only scenario where problems might arise is if there's synchronization within the system Mach libraries used for thread suspension, and a crash occurs within those system libraries. This could potentially be an issue if these libraries are not async-safe or re-entrant-safe.
To be absolutely certain about the underlying implementation and potential edge cases, you can explore the open-source Mach kernel code. This would give you direct insight into how these low-level operations are handled and confirm their thread-safety and re-entrancy properties.

As the maintainer of KSCrash, I can assure you that neither we nor our many users have reported any recent issues related to multi-threaded calls to ksmc_suspendEnvironment().
Theoretically, the only scenario where problems might arise is if there's synchronization within the system Mach libraries used for thread suspension, and a crash occurs within those system libraries. This could potentially be an issue if these libraries are not async-safe or re-entrant-safe.
To be absolutely certain about the underlying implementation and potential edge cases, you can explore the open-source Mach kernel code. This would give you direct insight into how these low-level operations are handled and confirm their thread-safety and re-entrancy properties.

Do we need to add a lock? For example:
`static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
void ksmc_suspendEnvironment() {
#if KSCRASH_HAS_THREADS_API
KSLOG_DEBUG("Suspending environment.");
kern_return_t kr;
const task_t thisTask = mach_task_self();
const thread_t thisThread = (thread_t)ksthread_self();
if (g_suspendedThreads != NULL) {
    return;
}

pthread_mutex_lock(&g_mutex);

if ((kr = task_threads(thisTask, &g_suspendedThreads, &g_suspendedThreadsCount)) != KERN_SUCCESS) {
    KSLOG_ERROR("task_threads: %s", mach_error_string(kr));
    pthread_mutex_unlock(&g_mutex);
    return;
}

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    thread_t thread = g_suspendedThreads[i];
    if (thread != thisThread && !isThreadInList(thread, g_reservedThreads, g_reservedThreadsCount)) {
        if ((kr = thread_suspend(thread)) != KERN_SUCCESS) {
            // Record the error and keep going.
            KSLOG_ERROR("thread_suspend (%08x): %s", thread, mach_error_string(kr));
        }
    }
}

pthread_mutex_unlock(&g_mutex);

KSLOG_DEBUG("Suspend complete.");

#endif
}
void ksmc_resumeEnvironment() {
#if KSCRASH_HAS_THREADS_API
KSLOG_DEBUG("Resuming environment.");
kern_return_t kr;
const task_t thisTask = mach_task_self();
const thread_t thisThread = (thread_t)ksthread_self();
if (g_suspendedThreads == NULL || g_suspendedThreadsCount == 0) {
    KSLOG_ERROR("we should call ksmc_suspendEnvironment() first");
    return;
}

pthread_mutex_lock(&g_mutex);

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    thread_t thread = g_suspendedThreads[i];
    if (thread != thisThread && !isThreadInList(thread, g_reservedThreads, g_reservedThreadsCount)) {
        if ((kr = thread_resume(thread)) != KERN_SUCCESS) {
            // Record the error and keep going.
            KSLOG_ERROR("thread_resume (%08x): %s", thread, mach_error_string(kr));
        }
    }
}

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    mach_port_deallocate(thisTask, g_suspendedThreads[i]);
}
vm_deallocate(thisTask, (vm_address_t)g_suspendedThreads, sizeof(thread_t) * g_suspendedThreadsCount);
g_suspendedThreads = NULL;
g_suspendedThreadsCount = 0;

pthread_mutex_unlock(&g_mutex);

KSLOG_DEBUG("Resume complete.");

#endif
}
`

As the maintainer of KSCrash, I can assure you that neither we nor our many users have reported any recent issues related to multi-threaded calls to ksmc_suspendEnvironment().
Theoretically, the only scenario where problems might arise is if there's synchronization within the system Mach libraries used for thread suspension, and a crash occurs within those system libraries. This could potentially be an issue if these libraries are not async-safe or re-entrant-safe.
To be absolutely certain about the underlying implementation and potential edge cases, you can explore the open-source Mach kernel code. This would give you direct insight into how these low-level operations are handled and confirm their thread-safety and re-entrancy properties.

Do we need to add a lock? For example:
`
static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
void ksmc_resumeEnvironment() {
#if KSCRASH_HAS_THREADS_API
KSLOG_DEBUG("Resuming environment.");
kern_return_t kr;
const task_t thisTask = mach_task_self();
const thread_t thisThread = (thread_t)ksthread_self();
if (g_suspendedThreads == NULL || g_suspendedThreadsCount == 0) {
    KSLOG_ERROR("we should call ksmc_suspendEnvironment() first");
    return;
}

pthread_mutex_lock(&g_mutex);

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    thread_t thread = g_suspendedThreads[i];
    if (thread != thisThread && !isThreadInList(thread, g_reservedThreads, g_reservedThreadsCount)) {
        if ((kr = thread_resume(thread)) != KERN_SUCCESS) {
            // Record the error and keep going.
            KSLOG_ERROR("thread_resume (%08x): %s", thread, mach_error_string(kr));
        }
    }
}

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    mach_port_deallocate(thisTask, g_suspendedThreads[i]);
}
vm_deallocate(thisTask, (vm_address_t)g_suspendedThreads, sizeof(thread_t) * g_suspendedThreadsCount);
g_suspendedThreads = NULL;
g_suspendedThreadsCount = 0;

pthread_mutex_unlock(&g_mutex);

KSLOG_DEBUG("Resume complete.");

#endif
}
`

Do we need to add a lock? For example:
static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
void ksmc_suspendEnvironment() {
#if KSCRASH_HAS_THREADS_API
KSLOG_DEBUG("Suspending environment.");
kern_return_t kr;
const task_t thisTask = mach_task_self();
const thread_t thisThread = (thread_t)ksthread_self();
if (g_suspendedThreads != NULL) {
    return;
}

pthread_mutex_lock(&g_mutex);

if ((kr = task_threads(thisTask, &g_suspendedThreads, &g_suspendedThreadsCount)) != KERN_SUCCESS) {
    KSLOG_ERROR("task_threads: %s", mach_error_string(kr));
    pthread_mutex_unlock(&g_mutex);
    return;
}

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    thread_t thread = g_suspendedThreads[i];
    if (thread != thisThread && !isThreadInList(thread, g_reservedThreads, g_reservedThreadsCount)) {
        if ((kr = thread_suspend(thread)) != KERN_SUCCESS) {
            // Record the error and keep going.
            KSLOG_ERROR("thread_suspend (%08x): %s", thread, mach_error_string(kr));
        }
    }
}

pthread_mutex_unlock(&g_mutex);

KSLOG_DEBUG("Suspend complete.");

#endif
}
void ksmc_resumeEnvironment() {
#if KSCRASH_HAS_THREADS_API
KSLOG_DEBUG("Resuming environment.");
kern_return_t kr;
const task_t thisTask = mach_task_self();
const thread_t thisThread = (thread_t)ksthread_self();
if (g_suspendedThreads == NULL || g_suspendedThreadsCount == 0) {
    KSLOG_ERROR("we should call ksmc_suspendEnvironment() first");
    return;
}

pthread_mutex_lock(&g_mutex);

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    thread_t thread = g_suspendedThreads[i];
    if (thread != thisThread && !isThreadInList(thread, g_reservedThreads, g_reservedThreadsCount)) {
        if ((kr = thread_resume(thread)) != KERN_SUCCESS) {
            // Record the error and keep going.
            KSLOG_ERROR("thread_resume (%08x): %s", thread, mach_error_string(kr));
        }
    }
}

for (mach_msg_type_number_t i = 0; i < g_suspendedThreadsCount; i++) {
    mach_port_deallocate(thisTask, g_suspendedThreads[i]);
}
vm_deallocate(thisTask, (vm_address_t)g_suspendedThreads, sizeof(thread_t) * g_suspendedThreadsCount);
g_suspendedThreads = NULL;
g_suspendedThreadsCount = 0;

pthread_mutex_unlock(&g_mutex);

KSLOG_DEBUG("Resume complete.");

#endif
}

Thank you for your suggestion. While I appreciate the intent, introducing global variables and locks could potentially create new risks and complexity. Are you interested in creating a Pull Request to improve ksmc_suspendEnvironment, or were you just asking about potential improvements?

Thank you for your suggestion. While I appreciate the intent, introducing global variables and locks could potentially create new risks and complexity. Are you interested in creating a Pull Request to improve ksmc_suspendEnvironment, or were you just asking about potential improvements?

Just inquiring about potential improvements


vagrantfile for running tests without needing to install postgresql on  the host.  Supports python 3.5, 3.6 and 3.7 via venv.

I added python 3.6 and 3.7 venv

Thanks for the pull request.


failed to start child: Quantum.TaskStagesSupervisor and Quantum.ExecutorSupervisor

Config contains
config :qber, Qber.Scheduler,
  jobs: [
    {"* * * * *", {IO, :inspect, [:beep]}}
    # Every minute
    # {"* * * * *",      {Heartbeat, :send, []}}
  ]

Application contains
children = [
      supervisor(Qber.Repo, []),
      supervisor(Qber.Endpoint, []),
      worker(Qber.Scheduler, []),
      supervisor(Exq, [])
    ]

   opts = [strategy: :one_for_one, name: Qber.Supervisor]
   Supervisor.start_link(children, opts)

and my Scheduler contains
defmodule Qber.Scheduler do
  @moduledoc """

  """
  use Quantum.Scheduler, otp_app: :qber
end

After adding these quantum configs I got the following error
** (Mix) Could not start application qber: Qber.start(:normal, []) returned an error: shutdown: failed to start child: Qber.Scheduler
    ** (EXIT) shutdown: failed to start child: Quantum.TaskStagesSupervisor
        ** (EXIT) shutdown: failed to start child: Quantum.ExecutorSupervisor
            ** (EXIT) an exception was raised:
                ** (FunctionClauseError) no function clause matching in ConsumerSupervisor.init/2
                    (gen_stage) lib/consumer_supervisor.ex:265: ConsumerSupervisor.init([{Quantum.Executor, {Qber.Scheduler.Task.Supervisor, Qber.Scheduler.TaskRegistry}}], [strategy: :one_for_one, subscribe_to: [{Qber.Scheduler.ExecutionBroadcaster, [max_demand: 50]}]])
                    (gen_stage) lib/consumer_supervisor.ex:287: ConsumerSupervisor.init/1
                    (gen_stage) lib/gen_stage.ex:1825: GenStage.init/1
                    (stdlib) gen_server.erl:365: :gen_server.init_it/2
                    (stdlib) gen_server.erl:333: :gen_server.init_it/6
                    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

@tanweerdev the job schedule definition is invalid and should be "* * * * *". If that does not solve the problem, could you please provide a minimal test project (for example a public repo with a test project) that produces the error?

@c-rack here is the link to repo https://github.com/tanweerdev/quantum_demo. Actually the problem is incompatibility with gen_stage old version.

@tanweerdev You're didn't install timex (See README). Does that solve it?

@tanweerdev Never mind, that does not solve the problem.
@c-rack This was probably introduced by #294. We can now either revert the PR or require gen_stage >= 0.13.

@maennchen Pigeon requires old gen_server and thats why I am facing this compatibility issue.

@tanweerdev The library was compliant with gen_stage:v0.12.2 (I even made some contributions for this version.)
The PR #294 changed how we call the init function to get rid of a warning. But the minimal required version was never raised to ~> 0.13 which is required by now.
We can now either revert that change or raise the minimal version. I don't really mind which way we go.

@maennchen let me create an issue in pigoen library. Btw, Quantum should also support 0.12.2 as this is just a minor version change. So it would be better just to generate a warning

@tanweerdev I opened a PR #300

@maennchen thanks

Will be released with #301


Add a pageGroup func (or similar)

As discussed in https://discourse.gohugo.io/t/paginate-from-slice-of-page/12524 , Paginate currently do not accept a (plain) slice of Page, nor a Dict to used as PagesGroup. it would be a useful extension when specific ordering or grouping have to be used in templates

See my comment and the rest of the discussion in https://github.com/gohugoio/hugo/pull/4866#issuecomment-399762200

I tried to implement in #5132 what have been proposed in #4866 comments. The API is indeed really easier to use.


Refactor for Extensibility

I'm not sure if we should include the last commit, which is a test case.
When testing the case for mapping widgets by ID, I got the following error:
 FAIL  src/components/manage/Form/Field.test.jsx
  ● Console

    console.error node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5120
      The above error occurred in the <InjectIntl(Connect(SchemaWidget))> component:
          in InjectIntl(Connect(SchemaWidget)) (created by DragDropContext(InjectIntl(Connect(SchemaWidget))))
          in DragDropContext(InjectIntl(Connect(SchemaWidget))) (created by Field)
          in Field

      Consider adding an error boundary to your tree to customize error handling behavior.
      Visit https://fb.me/react-error-boundaries to learn more about error boundaries.

  ● Field › renders a field with a specific id

    Invariant Violation: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.

      41 |       },
      42 |     });
    > 43 |     const component = renderer.create(<Field id="schema" />);
      44 |     const json = component.toJSON();
      45 |     expect(json).toMatchSnapshot();
      46 |   });

      at invariant (node_modules/react-intl/node_modules/invariant/invariant.js:42:15)
      at invariantIntlContext (node_modules/react-intl/lib/index.js:358:3)
      at new InjectIntl (node_modules/react-intl/lib/index.js:431:7)
      at constructClassInstance (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2310:20)
      at updateClassComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3817:9)
      at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:4459:16)
      at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7271:16)
      at workLoop (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7294:26)
      at renderRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7325:9)
      at performWorkOnRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7881:24)
      at performWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7802:9)
      at performSyncWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7779:5)
      at requestWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7679:7)
      at scheduleWorkImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7554:13)
      at scheduleWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7514:12)
      at scheduleRootUpdate (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8142:5)
      at updateContainerAtExpirationTime (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8170:12)
      at Object.updateContainer (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8189:14)
      at Object.create (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8866:18)
      at Object.<anonymous> (src/components/manage/Form/Field.test.jsx:43:32)

To overcome that I wrapped  with injectIntl and thus had to mock store for the other test cases. Now it fails with:
yarn test:unit                                                                                17:02:58
yarn run v1.7.0
$ better-npm-run test_unit
running better-npm-run in /Users/d.medeiros/Projects/_plone/plone-react
Executing script: test_unit

to be executed: jest --no-cache --runInBand
 PASS  src/reducers/users/users.test.js
 FAIL  src/components/manage/Form/Field.test.jsx (8.895s)
  ● Console

    console.error node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5120
      The above error occurred in the <Connect(SchemaWidget)> component:
          in Connect(SchemaWidget) (created by InjectIntl(Connect(SchemaWidget)))
          in InjectIntl(Connect(SchemaWidget)) (created by DragDropContext(InjectIntl(Connect(SchemaWidget))))
          in DragDropContext(InjectIntl(Connect(SchemaWidget))) (created by Field)
          in Field (created by InjectIntl(Field))
          in InjectIntl(Field)
          in IntlProvider (created by Connect(IntlProvider))
          in Connect(IntlProvider) (created by Provider)
          in Provider (created by Provider)
          in Provider

      Consider adding an error boundary to your tree to customize error handling behavior.
      Visit https://fb.me/react-error-boundaries to learn more about error boundaries.

  ● Field › renders a field with a specific id

    SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)

       99 | @injectIntl
      100 | @connect((state, props) => ({
    > 101 |   value: JSON.parse(props.value),
      102 | }))
      103 | /**
      104 |  * SchemaWidget component class.

      at Function.mapToProps (src/components/manage/Widgets/SchemaWidget.jsx:101:15)
      at mapToPropsProxy (node_modules/react-redux/lib/connect/wrapMapToProps.js:54:46)
      at Function.detectFactoryAndVerify (node_modules/react-redux/lib/connect/wrapMapToProps.js:63:19)
      at mapToPropsProxy (node_modules/react-redux/lib/connect/wrapMapToProps.js:54:46)
      at handleFirstCall (node_modules/react-redux/lib/connect/selectorFactory.js:37:18)
      at pureFinalPropsSelector (node_modules/react-redux/lib/connect/selectorFactory.js:85:81)
      at Object.runComponentSelector [as run] (node_modules/react-redux/lib/components/connectAdvanced.js:43:25)
      at Connect.initSelector (node_modules/react-redux/lib/components/connectAdvanced.js:195:23)
      at new Connect (node_modules/react-redux/lib/components/connectAdvanced.js:136:15)
      at constructClassInstance (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2310:20)
      at updateClassComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3817:9)
      at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:4459:16)
      at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7271:16)
      at workLoop (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7294:26)
      at renderRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7325:9)
      at performWorkOnRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7881:24)
      at performWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7802:9)
      at performSyncWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7779:5)
      at requestWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7679:7)
      at scheduleWorkImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7554:13)
      at scheduleWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7514:12)
      at scheduleRootUpdate (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8142:5)
      at updateContainerAtExpirationTime (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8170:12)
      at Object.updateContainer (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8189:14)
      at Object.create (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8866:18)
      at Object.<anonymous> (src/components/manage/Form/Field.test.jsx:43:32)

@davilima6 all good now! :)

@robgietema @davilima6 I think I've completed all that I wanted to accomplish with this first batch of refactor for ease extensibility. Please review it and tell me what do you think. I think having this on place is a must in the short term for projects and GSOC. I would merge it during this week sprint.
/cc @tisto

LVGTM :) thanks @sneridagh !

@davilima6 Merged!! :)

Nice! Wish I was there, enjoy! :)


Can't install docs & material-ui

I did this:
git clone https://github.com/callemall/material-ui.git
cd material-ui
npm install
cd docs
npm install
npm start

I got this trying to install material: https://raw.githubusercontent.com/littleguga/test/master/npm-debug
And I got this while trying to install docs: http://pastebin.com/wxugmdQ8

@littleguga What os are you using? This is working fine for me on my mac.

@hai-cea I use Win7 & git bash(https://msysgit.github.io/)

@littleguga I think this might be related to #845

@hai-cea Unfortunally, now i get this: https://raw.githubusercontent.com/littleguga/test/master/npm-debug2
It is a defferent error or i'm wrong?


added basic implementation of the repositories

Added generic implementation for repository, added basic methods for entity specific repositories, minor code refactoring


Remove utc time of the working group meetings

With daylight saving time this would currently be at 7pm UTC. Having a wrong date is misleading while updating it twice a year or describing this would be too complicated.
I thought about linking the date to a website converting it to the users local time but did not want to choose one.

Thanks for fixing this!


Update to point to the correct github repo

Hi,
Again, I believe the link for the tfenv repository was pointing to the wrong project. I fixed it to now point to the version manager properly. But you can discard it if this is not the case.
Thanks,

Duplicate of pr #4


Add deliveryman commands

Fixes #13
Overlaps with #38
This PR adds Add, Delete & List commands for Deliveryman and the relevant parsing & tests.

Pull Request Test Coverage Report for Build 92

63 of 66 (95.45%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.4%) to 77.667%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/parser/OrderBookParser.java
0
1
0.0%

src/main/java/seedu/address/model/deliveryman/DeliverymanNameContainsKeywordsPredicate.java
5
7
71.43%

Totals

Change from base Build 88:
1.4%

Covered Lines:
2104

Relevant Lines:
2709

💛  - Coveralls


Meaning behind "consensus_direction"

I am a bit confused about the consensus_direction property. As I understand, it does not actually refer to direction (that is, going from A to B or the reverse), but instead captures whether consensus exists on the sign of the interaction. It seems that the following holds:
consensus_direction = consensus_stimulation | consensus_inhibition
Would that be correct? If so, the current name could be a bit confusing and, for example, consensus_sign might be more appropriate.
Thanks for any help with this! 😊

Hello Denes,
Thank you very much for the prompt response! The difference between them is now a bit more clear to me but, just to make sure, the is_directed column refers to actual directionality of the interaction (and seems to be True for all of them, at least when using default parameters), while the consensus_direction column seems to instead provide information on whether consensus exists on the effect sign (stimulation or inhibition) of each interaction.
That said, I will start using the is_stimulation and is_inhibition columns, as you suggested. Thank you!

Just a little clarification: OmniPath contains a few undirected interactions, but those are only returned with the directed=no parameter. The consensus_direction column is True if more evidences support the source -> target than the target -> source direction. The consensus_stimulation is True if more evidences support that the source -> target interaction is stimulatory rather than inhibitory. Consensus on the target -> source interaction is shown in another row, if any resource support that direction.

Thanks a lot, that clears my confusion!

I feel the need to re-open this, as I've come across some inconsistencies (or what might very well be a lack of understanding on my part).
It seems that the consensus_direction attribute of non-mutual (unidirectional) interactions can either be True or False. At first, my understanding was that consensus_direction set to True would imply one of two possibilities: 1. either the interaction is non-mutual and the reverse direction not supported by any sources/references, or 2. the reverse interaction exists in the DataFrame with its consensus_direction attribute set to False.
As an example, going through the TF-target interactions, I can see that P01106 → O14746 only exists in one direction and its consensus_direction is set to True. However, Q9UQE7 → P14316 also appears to be unidirectional, yet its consensus_direction is False.
Would that be expected behaviour? Thanks a lot again for the help!

Hi @pokedthefrog,
Indeed this seems contradictory first, but the reason is that all datasets (of the same interaction type) are considered when creating the "consensus" columns, not only the ones you have in your particular query.
library(OmnipathR)
library(dplyr)

grn <- import_transcriptional_interactions()
partners <- c('Q9UQE7', 'P14316')
grn %>% filter(source %in% partners & target %in% partners)

# A tibble: 2 × 16
  source target source_genesymbol target_genesymbol is_directed is_stimulation is_inhibition consensus_direction consensus_stimulation consensus_inhibition sources                   references         curation_effort dorothea_level n_references n_resources
  <chr>  <chr>  <chr>             <chr>                   <dbl>          <dbl>         <dbl>               <dbl>                 <dbl>                <dbl> <chr>                     <chr>                        <dbl> <chr>                 <dbl>       <int>
1 P14316 Q9UQE7 IRF2              SMC3                        1              1             0                   1                     1                    0 CollecTRI;ExTRI_CollecTRI CollecTRI:10082588               1 NA                        1           1
2 Q9UQE7 P14316 SMC3              IRF2                        1              0             0                   0                     0                    0 ENCODE-distal             NA                               0 NA                        0           1

The direction that you mention (2nd row above) is from the "tf_target" dataset, while the opposite interaction is from the "collectri" dataset. The former has no literature references, the latter has one, hence the consensus direction will prefer the one with reference.
Best,
Denes

@deeenes Thank you so much; I hadn't realised "CollecTRI" had been added and (incorrectly) assumed my query was pulling all transcriptional interactions. It makes perfect sense now!


Your Solution can't pass all test case, This is a good sulotion, i ho…

…pe useful
Thanks very much

Just re-tested my solution with Java 8 and it works


ARROW-7890: [C++] Add Future implementation

TODO:

[ ] Add docstrings

I still need to add docstrings, but otherwise I think this is ready for review. Also tested under ThreadSanitizer.

At the highest level, instead of FutureWaiter I'd like to extract its code to a subclass of FutureImpl (which would be an extensible interface).

I don't know how that would deal with the iteration case, which uses similar mechanics in the waiter.
(FTR, the Waiter design is inspired by the Python version of Futures).


move all keys-related functionality to chef_key_base [PR 1 of 8]

Previously key functionality was spread between individual object
modules, chef_wm_utils, and chef_object_base.  This change combines all of that into a new module, chef_key_base.

1/ 8 I've split these into separate PRs to make the changes clearer, but am currently planning to merge all 8 down into master as a unit.
/ping @chef/lob

+1, good refactor

Nice :+1:

:+1:


I can't easily change the notebook...

but the solutions notebook has an outdated version of my LG function. The latest is here: https://gist.github.com/sbromberger/74f456619105ac2309d39120fd73bfe9

Yeah, that's the issue with notebooks: hard to collaborate. Thanks for the materials though. Although we didn't get there, LG will still be part of the materials and I'll keep them online for people to go through.


Possible to set a SSH banner message in netopeer2

Hi,
We would like to test to set SSH banner when we connect to Netopeer2. Is it possible?
br,
//mike

No, the configuration of the SSH banner is not currently supported.

@michalvasko  any plans to include it?

Since this is a fairly simple change, it will be supported. However, only the server (netopeer2) will be able to customize its banner, it does not for the client, libssh limitation.

Done, with a special netopeer2 banner, which can be customized.


help needed to translated to Readme to malayalam

yes ,need help from other contributors work on progress @jlooper

Happy to help

Done Translating
how do I push my changes to this pull request when this one is drafted? 🤔
Should I go for a new Pull Request?

Done Translating how do I push my changes to this pull request when this one is drafted? 🤔 Should I go for a new Pull Request?

hi, you can add more commits to your branch and the PR will be updated, thanks. When it's no longer a draft, you can ask for a review and move it from status 'draft'

Can a new contributor edit or add more to this PR of mine? @jlooper

#510

#510 already merged
please close #427

Closing this one, then. Thank you all!


[i2c,dv] Verify handling of max-length SMBus messages

In PR https://github.com/lowRISC/opentitan/pull/21789, we increased the depth of the ACQ FIFO so it can absorb max-length SMBus messages (see the linked PR for a description of such messages) without having to rely on SW to drain the FIFO. We should add a directed (or tightly constrained) test to check that this holds, first for the simple case in which the ACQ FIFO starts empty. We should then add tests (or extend the previous test) to cover more complex scenarios, in which the ACQ FIFO is already almost full and SW is already draining it or will soon start to drain it, and a max-length SMBus message arrives (SW should be modeled such that it drains the ACQ FIFO fast enough that it never overflows; otherwise the i2c IP would have to NACK, which is a separate issue).

I2C DV carried over to M5.


Update Code Climate Badge due to repo move

Code climate doesn't support rename ATM.
I re-added it to code climate https://codeclimate.com/github/uPortal-Project/uportal-home


Rules of confirmed downlinks retransmition if no ACK from node

Is this a bug or a feature request?
Feature.
What did you expect?
Whant server to retransmit confirmed downlinks if node not answering.
What happened?
Server doesn't retransmit confirmed downlinks.
What version are your using?
How can your issue be reproduced?
Could you share your log output?

Is there any rules, of how the confirmed downlink with ack getting timeout will be retransmitted again?
Does server generally makes this retransmition? How much attempts will make server? Is there any dependencies on working in different LoRa classes?

When using the latest LoRa Server version, it will never re-transmit a confirmed downlink. Also LoRa Server would not be able to do so, as the payload is encrypted using the downlink frame-counter, which can not be re-used.  Please see: https://forum.loraserver.io/t/release-lora-app-server-0-15-lora-server-0-25/492.


rviz flooding console with warnings

When rviz is not able to find a TF, it floods the console with hundreds of messages like:
[rviz2-9] Warning: Invalid frame ID "ur_forearm_link" passed to canTransform argument source_frame - frame does not exist
[rviz2-9]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.5/src/buffer_core.cpp
[rviz2-9] Warning: Invalid frame ID "ur_shoulder_link" passed to canTransform argument source_frame - frame does not exist
[rviz2-9]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.5/src/buffer_core.cpp
[rviz2-9] Warning: Invalid frame ID "ur_upper_arm_link" passed to canTransform argument source_frame - frame does not exist
[rviz2-9]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.5/src/buffer_core.cpp
[rviz2-9] Warning: Invalid frame ID "ur_wrist_1_link" passed to canTransform argument source_frame - frame does not exist
[rviz2-9]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.5/src/buffer_core.cpp
[rviz2-9] Warning: Invalid frame ID "ur_wrist_2_link" passed to canTransform argument source_frame - frame does not exist
[rviz2-9]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.5/src/buffer_core.cpp

Changing the logging level does not have any effect:
rviz_config_file = (
        get_package_share_directory("bmt_common_bringup") + "/launch/bmt_rviz_default.rviz"
    )
    rviz_node = Node(
        package="rviz2",
        executable="rviz2",
        name="rviz2",
        output="log",
        arguments=["-d", rviz_config_file,
                   "--ros-args", "--log-level", "fatal"],
        parameters=[
            {"robot_description": robot_description['urdf']},
            robot_description['srdf'],
            move_group_config.ompl_planning_pipeline_config,
            kinematics_yaml,
        ],
        condition=IfCondition(rviz_lc),
    )
    rviz_ld = TimerAction(period=5.0, actions=[rviz_node])

Maybe those messages could be shown just once, or at least throttle them with a lower frequency. Also they should answer to the logging level set by ROS.
By the way, I am using ROS2 Galactic - (RViz version Alpha, according to the About screen)

Could you double-check if things are any better on Rolling?  We put some fixes in to reduce this spam, so I'm curious if it improves your situation.  Thanks.


AnyFrameModule error

When running with
JET.test_package(
    DynamicExpressions;
    target_defined_modules=true,
    ignored_modules=(
        JET.AnyFrameModule(
            DynamicExpressions.NonDifferentiableDeclarationsModule
        ),
    ),
)

in an attempt to ignore #642, I get the issue:
Error During Test at /Users/mcranmer/.julia/packages/JET/6kXRQ/src/JET.jl:1053
  Test threw exception
  Expression: (JET.report_package)(DynamicExpressions; toplevel_logger = nothing, target_defined_modules = true, ignored_modules = (AnyFrameModule(DynamicExpressions.NonDifferentiableDeclarationsModule),))
  `JET.match_module(::NonDifferentiableDeclarationsModule, ::InferenceErrorReport)` is not implemented
  Stacktrace:
    [1] error(s::LazyString)
      @ Base ./error.jl:35
    [2] match_module(x::String, report::JET.InferenceErrorReport)
      @ JET ~/.julia/packages/JET/6kXRQ/src/JET.jl:533
    [3] (::JET.var"#93#97"{JET.MethodErrorReport})(m::String)
      @ JET ~/.julia/packages/JET/6kXRQ/src/JET.jl:544
...

This seems like an issue because I would have assumed that AnyFrameModule would have been automatically implemented? So I am not sure why it requires the custom match_module definition.

Note also that DynamicExpressions.NonDifferentiableDeclarationsModule is a submodule. But, it should still get caught:
julia> DE.NonDifferentiableDeclarationsModule |> typeof
Module

so I'm confused...

Actually it looks like any package might not work?
julia> JET.test_package(
           DynamicExpressions;
           ignored_modules=[DynamicExpressions]
       )
Error During Test at /Users/mcranmer/.julia/packages/JET/6kXRQ/src/JET.jl:1053
  Test threw exception
  Expression: (JET.report_package)(DynamicExpressions; toplevel_logger = nothing, ignored_modules = Module[DynamicExpressions])
  `JET.match_module(::NonDifferentiableDeclarationsModule, ::InferenceErrorReport)` is not implemented
  Stacktrace:
    [1] error(s::LazyString)
      @ Base ./error.jl:35
    [2] match_module(x::String, report::JET.InferenceErrorReport)
      @ JET ~/.julia/packages/JET/6kXRQ/src/JET.jl:533
    [3] (::JET.var"#93#97"{JET.MethodErrorReport})(m::String)
      @ JET ~/.julia/packages/JET/6kXRQ/src/JET.jl:544
    [4] _any
      @ ./reduce.jl:1220 [inlined]
    [5] any
      @ ./reducedim.jl:1020 [inlined]
    [6] #92
      @ ~/.julia/packages/JET/6kXRQ/src/JET.jl:544 [inlined]
    [7] filter(f::JET.var"#92#96"{JET.ReportConfig{Nothing, Vector{String}}}, a::Vector{JET.InferenceErrorReport})
      @ Base ./array.jl:2675
    [8] configured_reports

is something converting it to a string?
Also related (maybe repeat of) #570

(I think the LazyString is why the error message repeats NonDifferentiableDeclarationsModule)

Argh. Nevermind, sorry. It's because I had it in the .JET.toml file and it wasn't converting the specified ignored_modules to Module type.

As explained in the note on the JET configuration documentation, please note that configurations specified in .JET.toml are overridden by those specified as keyword arguments.
What complicates the issue is likely the fact that ignored_modules used in the patterns like above does not work properly (i.e. report_package(A::Module; ignored_modules=(A::Module,)). This is because [test|report]_package virtualizes the module context of the package being analyzed. I plan to fix this issue soon along with #628 and other related issues.


"Add a click handler to the button, call 'search' method and pass the input value (Actual search functionality will be implemented in the next exercise)"
I don't understand. Where I can find the button?

What the issue is about
"Add a click handler to the button, call 'search' method and pass the input value (Actual search functionality will be implemented in the next exercise)"
I don't understand. Where I can find the button?
Where to start?
Start with reproducing Locally
Metadata:
This was filed through the feedback form.
Author: Vladimir
Date: Wed, 09 Oct 2019 17:07:28 GMT
Slide: Local,Prod

It's not immediately clear that the work has to be done in a separate file:

The goal of this task is to draw attention to the filename link.


Connectors list as grid

Related issue
https://github.com/CartoDB/cartodb/issues/15208
Acceptance
This acceptance should be done in Staging cloud environment.

[x] Test Dropbox connector

[x] Test Google Drive connector

[x] Test ArcGIS connector with the following URL: http://aerogisdata.sc.gov/arcgis/rest/services/CLUE/AirportData/MapServer/2

[x] Access the modal from New dataset button in Dashboard

[x] Check that tabs (Upload, Connect, ...) hide when you select a Connector (Google Drive)
[x] Select a dataset to upload but don't upload it. Check that CTA button is now active.
[x] Check that back button in the header returns to the Connectors list
[x] Check that tabs show back again
[x] Check that CTA button is now disabled

[x] Access the modal from New map button in Dashboard

[x] Check that tabs (Upload, Connect, ...) hide when you select a Connector (Google Drive)
[x] Select a dataset to upload but don't upload it. Check that CTA button is now active.
[x] Check that back button in the header returns to the Connectors list
[x] Check that tabs show back again
[x] Check that CTA button is now disabled

[x] Access the modal from Add new layer button in a Builder map

[x] Check that tabs (Upload, Connect, ...) hide when you select a Connector (Google Drive)
[x] Select a dataset to upload but don't upload it. Check that CTA button is now active.
[x] Check that back button in the header returns to the Connectors list
[x] Check that tabs show back again
[x] Check that CTA button is now disabled

The other connectors will be tested in other issues.

Acceptance done following the steps in description -> 🆗 👌 👌 👌


Statically link the CUDA runtime into a single shared library

This is a major update to the way this project builds and is designed to build all of the libcudf, libcudfjni, and libspark_rapids_jni code into a single shared library that is statically linked with the CUDA runtime.  Because we are no longer leveraging the contents of a cudf-like jar, the project has been collapsed into a single top-level Maven module that pulls in the cudf Java sources.
During the build, CMake is invoked to build libcudf and libcudfjni as static libraries.  Those static libraries are then whole-archive linked into a libcudf.so library which is statically linked with the CUDA runtime.  In addition a stub libcudfjni.so library is created as well that depends on libcudf.so.  This somewhat contorted build is done for the following reasons:

only have one static link of the CUDA runtime to minimize the number of separate CUDA contexts
preserve backwards compatibility with the cudf Java source that expects to find a libcudf.so and libcudfjni.so
preserve backwards compatibility with RAPIDS accelerated UDFs which may directly depend on libcudf.so and/or libcudfjni.so

This depends on rapidsai/cudf#10619.

build

build

build


KitchenSink asks for Kivy 2.2.0 whereas the latest release of Kivy is 2.1.0

Downloaded and installed Kivy and kivyMD using pip. Downloaded KitchenSink using git.
Latest release of Kivy is 2.1.0, see release documentation, but KitchenSink is asking for Kivy 2.2.0.
import kivy
kivy.require("2.2.0")

pip install https://github.com/kivy/kivy/archive/master.zip
pip install https://github.com/kivymd/KivyMD/archive/master.zip


NearestRotationMatrix_FOAM returns (0, 0, 0, 0, 0, 0, 0, 0, 1)

When the input to NearestRotationMatrix_FOAM is (0, 0, 0, 0, 0, 0, 0, 0, sqrt(3)), it will set r to (0, 0, 0, 0, 0, 0, 0, 0, 1), crashing the program later. I haven't got time to read the FOAM paper or check the code yet. Just reporting.

Thank you for reporting! Looking into it.

@chubei-oppen Your matrix is singular and this should generally not happen in practice.  Could you please share some more details about how you got it? Minimal input reproducing the problem would be great.

Thank you for your response! I'm detecting AprilTags and solving the camera pose from detected corners. This case happens when the camera sees only one tag. I dumped the coordinates that result in the case. Please see https://github.com/oppenfuture/sqpnp/commit/c2785f2b691800e192b08ae524628610952b6e6a for the data.

BTW switching to NearestRotationMethod::SVD works.

Added a fix that falls back to svd for singular matrices


:arrow_up: Upgrading WUT

The Wiki Update Tracker bot can now automatically create non-existing translation pages, marking it as stub and requiring an initialization. It will be useful:

to create the whole structure automatically, when adding new language
to avoid random 404 on the website when a new original page is created and no translation page in the dedicated language do not exist

The feature can be disabled setting the input auto-create to 0 in the wiki-update-tracker workflow. Merging this PR will enable it.
It does not require new permission from its dedicated Github App as it does not use Github API. Instead, it uses git commit and pushes on master, so it's all handled within the workflow.
Note that pushes produced by a job in Github Actions do not trigger jobs again, fortunately.
Some results can be seen on my test branch (see de new folder and a new page in fr folder), as well as issues, which didn't change much.
Here's the comparison for code reviewers between current and latest version.
I first thought about making automated PR rather than directly pushing files but it wouldn't be convenient as it would have required human validation...

This all looks good to me, but we've had several people offer to translate the wiki into different languages, and I can see the number of issues quickly becoming unwieldy.
There are currently about 20 issues just for the French translation.
Would it be possible to migrate the bot to use github's project tracker instead?
Ideally it would have a different project for each language.

Alright, I'm on it and will request pull here.
Unfortunately Projects and Issues are complement one another: a project will organize issues according to their status and conveniently link to them.
Using solely cards has limits (1024 characters max and displayed in bunch), it'll lose some info like the detailed patch when requiring an update.
Yet, it's entirely possible and has its advantages, I'll try to make it useable and bootiful.

Here it is, WUT has Projects support and should be much more robust and adaptable.
Suprisingly updating Projects is quite faster than Issues.
Please note the change in the workflow file:

input translation-paths was replaced by translations, because it's not the same format - now translations must be set with their language tag as of RFC 5646. E.g. possible value: "fr:wiki/fr,cs:wiki/cs".
new inputs update-issues and update-projects allow to enable or disable Issues / Projects management. E.g. possible values: "1" or "true", "0" or "false".

For further notice, templates were added, allowing to easily change the content and behaviour of the Update Tracker when issuing or changing cards in projects. Yet it is still raw in the code but I intend to make it customizable so that the Action works in other localised projects and is easily changed here.
For now, these templates are set to update:

create 1 project per translation

1 column for "To Initialize" and "To Be Created" translation pages
1 column for "To Update" translation pages
1 column for "Up-To-Date" translation pages

Translation instructions will go in Projects, 1 card per translation file in the correct column.
Result can be seen here on my fork. Issues were also set, you can see the difference between these methods.
The latter commit disables issues updating (will have to remove old issues manually) and enables projects updating. The auto create feature is enabled too and will push stub translation pages when enabled.
Here's the code comparison from previous version mentioned in this PR for code reviewers (a few changes were made structure).

This all looks great!
Thank you for your continued work on this project. It's really helping expand the wiki in a way that I originally didn't think would be possible.
To bring the French project tracker up to date with the existing issues, all I have to do is enable update-projects and it will generate the cards for the project, right? I was wondering if it would be out of sync with the existing issues, but it looks like it won't be a problem.

Yes, French projects will stay the same as in current issues.
Each run doesn't take account of old issues or projects, so creating new ones will always result in the same, even if you remove cards / add new cards. I believe we could call it stateless.
Two things to consider though:

it will not automatically remove issues when disabling it
translation projects created by WUT can be used for other purposes if necessary but cards in columns mentioned above will be archived because considered as duplicate or obsolete. Can still create cards in new columns harmlessly in these projects

Thanks for your support! I hope this will allow people to make the wiki available more widely, as it should be the reference for everyone playing Beat Saber, and especially for new players.
Actually, thank you, admins and redactors for actually building and maintaining this whole base up (not mentioning every projects making the community strong and alive).

added your commit to change template in v1.7.1


Make app windows resizable

Make app windows resizable by enforcing the resize style property and set minimum window sizes.

Hol on

then try again dummy

dang. thought that would work to make it look better

Thank you!
I intended to make a script for resizabilitty in all directions but for now this would do


Publish extensions to open-vsx

I'm a VS Codium user, a FLOSS version of VS Code, it's the same code but without the Microsoft's telemetry and branding.
I want to request if possible to add the SCSS Everywhere extension on the open-vsx.org market to us doesn't need to works with the Microsoft marketplace as is unclear if it's legal to use it on VS Code forks, see here.
Additional info:

This is how to publish a new extension.

Hey @orblazer. I've just published it. Thanks for bringing this to my attention.
I will make sure its always in sync between both marketplaces.


JSONPath scripts not executing correctly for objects

Using scripts to query objects does not seem to work properly (although it does work properly for arrays). Given an example JSON:
{
  "A": {
  },
  "B": {
    "B1": 1,
    "B2": 2
  },
  "C": {
    "C1": {
      "C11": true
    },
    "C2": 2
  }
}

Parsing this into a JObject and then executing SelectTokens with a script does not yield the correct results
Running $[?(@)] from the root returns the all of the properties in the object, as expected
Running $[?(@.B1)] or<EMAIL_ADDRESS>== 1)] should return the B property, but does not actually
If I use the recursive operator, $[?(@..B1)] then the B node is returned, which makes me think that the child operator is not working for a script inside an object.
Additionally, the value of the properties cannot be accessed from within the script.
If I run $[?(@ == 1)] inside the B object, I'd like to be returned the B1 token (or the token for its value) but it actually returns nothing.
The behavior that I'm referring to is based on the interpretation of the JSONPath spec expressions as well as the behavior of some JSONPath evaluators such as this and this) The examples that I mentioned above using JSON.Net can he found here.

I'm not sure about this. Nothing in the JSONPath says that filters should apply to objects.

Actually, the spec says that "expressions of the underlying script language can be used as an alternative to explicit names or indices", which makes me think that filter expressions can also be used instead of names.

I'm having the same problem as davilimap.
I must admit I'm pretty new with JSONPath, so I don't know exactly if it's written in JSONPath specs but since applying filters on objects is working with JSONPath validators like jsonpath.com, I expected it to work with JSON.Net as well.

I am facing the exact same issue. A quick test with Manatee.Json shows that its implementation of JsonPath yields the expected result.
Stefan Goessner wrote : "With JSONPath square brackets operate on the object or array addressed by the previous path fragment."

That's a real bummer. Just ran into this issue myself and was surprised to see it's been left with no attention for almost three years now :(

Interested in this too.

Also interested in this.

Still interesting in this.  Was a let down to see I couldn't do this and I'm not contemplating switching JSON libraries

any progress???

Also interested in this. Unfortunately, we'll likely have to switch to another JSON library that supports it.

Note that given the following JSON: {"x":{"a":1, "b":2}} and the given JSONPath expression: $.x[*] - the result is [1, 2] and not [{"a":1, "b":2}]. That's how JSONPath works.
Similarly, in the expression above, @ is resolved to 1 and 2, not to "a":1 and "b":2.


Fix article has no title

The title of this article is not displayed on this page, I found this error and fixed it.

After your change, please check the link https://deploy-preview-10670--kubernetes-io-master-staging.netlify.com/docs/setup/release/#downloads-for-v1-12-0-rc-1.  Thanks

/lgtm

@stewart-yu can you help me review it again please

apppear in many places in docs, that's normally?
can you check the preview link after changed?

apppear in many places in docs, that's normally?
can you check the preview link after changed?

Thanks for your suggestion, the recurring part has been removed.

@chenopis can you help here? It looks to me on cursory examination as though every time we import release notes things break on this page and there's a history of manual fixes. (But I'm not completely sure -- this is a superficial conclusion.) And we've also got PR #10692 which seems to (try to) address the same issue.
/assign

@Bradamant3
We can modify this article first so that it has a title.
How to improve this problem, I will open another question.
What do you think of doing this?

@MengZn can you fix per comment ^^, and rebase to fix merge conflicts? Thanks!

@Bradamant3 yes!it will be my honor (＾▽＾)

@Bradamant3 I already fix merge conflicts, and fix ugly yaml.


Apply latent style to paragraph

Hi,
My issue is that I have List Bullet 2 style in list of latent styles. I'm trying to apply the style to the paragraph but have following errors:
>>> p = doc.add_paragraph()
>>> p.style = 'List Bullet 2'
KeyError: "no style with name 'List Bullet 2'"
>>> doc.styles.latent_styles.default_to_hidden
False
>>> doc.styles.latent_styles.default_to_locked
False
>>> s = doc.styles.latent_styles['List Bullet 2']
>>> s.priority
1
>>> s.hidden
False
>>> s.quick_style
True
>>> p.style = s
TypeError: unhashable type: '_LatentStyle'

Could you help me please with the issue?
Thanks

Make sure you understand this page in the documentation:
http://python-docx.readthedocs.io/en/latest/user/styles-understanding.html
Briefly, latent styles cannot be applied to a paragraph (or other object) in python-pptx. Only defined styles available in document.styles can be applied. So you either restrict yourself to styles already available in the document, or add any desired styles before attempting to use them.
See this documentation page as well:
http://python-docx.readthedocs.io/en/latest/user/styles-using.html

So you either restrict yourself to styles already available in the document, or add any desired styles before attempting to use them.
Could you then tell me how can I add my own f.e. List Bullet 2 Custom if I have List Bullet 2 style in latent styles and I can't inherit from it for my style?

Thanks.

Having a latent style by a particular name doesn't prevent you from defining a style with the same name. That's exactly what Word does the first time you apply a style that isn't defined yet. The latent styles (in addition to any defined styles that are not also latent) determines what shows up in the list to pick from in the Word UI. But if you apply a latent style that isn't yet defined in that document, Word defines it there based on some built-in presets. That way the document doesn't have to carry around a lot of style definitions it doesn't use.
Short story is you can just define "List Bullet" and then use it. You can either define it in the starting document using Word, or use the python-pptx API to define it. To define it using Word, just apply that style to a new paragraph and then delete that paragraph. The paragraph goes away, but the style remains.

To define it using Word, just apply that style to a new paragraph and then delete that paragraph. The paragraph goes away, but the style remains.

Actually that's I'm doing at the moment. But I'd like to add the List styles automatically.

Short story is you can just define "List Bullet" and then use it.
Sorry, maybe that's a stupid question but I tried this one and it doesn't work. I mean the format of added paragraph is not a List Bullet 2

>>> styles.add_style('List Bullet 2', WD_STYLE_TYPE.PARAGRAPH)
>>> doc.add_paragraph('some text', style='List Bullet 2')

Did you read the documentation I linked to? To define a style you need to set its attributes to what you want. It doesn't pick those up automatically from the latent style, if that's what you were expecting. Word does that based on internal presets; we don't maintain presets for that because they change based on locale, Word version etc.
Creating a list bullet style is going to be tough because of the numbering object required. That style is much more sophisticated than just say "Heading 1". You'll be on your own to hack the XML to get the numbering working.


Arduino Portenta H7

Describe the bug
The Arduino Portenta H7 clocks are not correct. According to some prior discussion around this board, "the system is still running at 100 MHz while the system thinks it is running at 480 MHz (UART corrupted and blink sketch 4,8 times too slow).”
https://forum.arduino.cc/t/portenta-h7-stm32cubeide-please-join-me/1010091/6
The issue may related to the fact that the board is "confined to the internal clock and cannot use the external clock" -- maybe due to some power settings occurring in the bootloader? I don't have a clear understanding of what's going on beyond observing that the clocks are indeed too slow.
https://github.com/zephyrproject-rtos/zephyr/pull/45221#issuecomment-1190285580
Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using? arduino_portenta_h7_m4/arduino_portenta_h7_m7
What have you tried to diagnose or workaround this issue?
Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit? No, this seems to be a known bug.

To Reproduce
I am able to replicate this by flashing the Blinky app:
west build -b arduino_portenta_h7_m7 -d build-portenta-m7-hello-world samples/basic/blinky
west flash -d build-portenta-m7-hello-world
The LED should toggle at 1 Hz, but appears to toggle closer to 5 Hz.
Further, I am not sure if this is related to the clock issue, but I do not see any tty device for accessing uart output whenever I flash this or other examples (e.g. subsys/console/echo)
Expected behavior
With blinky, I expect the 1 Hz blink to blink at 1 Hz.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper): show stopper
Environment (please complete the following information):

OS: (e.g. Linux, MacOS, Windows): OS X
Toolchain (e.g Zephyr SDK, ...): Zephyr 0.15.2
Commit SHA or Version used: zephyr-v3.3.0

Looking to board dts description, it seems board is missing bus speeds configuration, it is likely not correctly configured.
Can you provide a known working configuration and we'll see how to convert it to dts ?


Change release notification to link to latest major release notes

Wagtail has a notifcation on the dashboard that is shown if the Wagtail installation is out of date:

This notification always links to the latest patch release. So clicking the link in the above screenshot will take the user to https://docs.wagtail.io/en/stable/releases/2.13.3.html
The problem with this is that this Wagtail site is a major version behind, so the release notes of the point release aren't relevant to this user since we only fix new regressions in point releases.
We should instead be pointing to the 2.13 release notes, which is much more relevant and interesting to someone on Wagtail 2.12.

@gasman please could you add a separate link to the major release notes to releases.wagtail.io/latest.txt ?

@kaedroho Sure. I figure we might as well add the data for the latest LTS release at the same time, so that we can potentially add a settings flag for people on LTS releases to ignore notifications for non-LTS upgrades - how about the following structure?
{
    "version": "2.13.4",
    "url":     "https://docs.wagtail.io/en/stable/releases/2.13.4.html",
    "majorUrl": "https://docs.wagtail.io/en/stable/releases/2.13.html",
    "lts": {
        "version": "2.11.8",
        "url": "https://docs.wagtail.io/en/stable/releases/2.11.8.html",
        "majorUrl": "https://docs.wagtail.io/en/stable/releases/2.11.html"
    }
}

If that looks good, let me know and I'll upload that to mark today's (non-urgent) 2.13.4 release.

@gasman Looks good to me!

OK, done (but it may take 24h for the cache to clear).

@gasman I have created #7671 to adjust the latest.txt according to your comment. Let me know if that works.

@gasman Do you have a preferred name for the LTS upgrade notification flag setting?
Or should that whole topic be covered in a separate PR?

@tbrlpld A separate PR for the LTS handling makes sense, I think.

Added the follow-up PR with the LTS: #7752


feat: expose debounce util in the excalidraw package

I feel like the debounce logic will be useful to a lot of usecases, so it would make sense to expose it.

I feel this is very generic util and not related to Excalidraw so we shouldn't expose it.

You are right, closing the pull request.