[BUG?] Not inserted records into files table.

Describe the bug
When finished upload a file, chibisafe doesn't insert a record into files table. So selecting Upload tab, no file is shown.
To Reproduce
Steps to reproduce the behavior:

Go to 'Home'
Drag and Drop a file in Drag & Drop your files or click to browse zone.
Upload finished.
Select Uploads tab.
No file is shown. (No record is inserted into files table`)

Expected behavior
Show uploaded file
Screenshots
After upload:

Show Uploads tab:

Additional context

DATABASE: PostgreSQL 13

Node.js: v12.20.0

npm: 6.14.10

chibisafe: commit f9444691627d6168511a5066553dae6dc0390c58

DB Records:

chibisafe=# select * from "albumsFiles";
 id | albumId | fileId
----+---------+--------
(0 rows)

chibisafe=# select * from files;
 id | userId | name | original | type | size | hash | ip | createdAt | editedAt
----+--------+------+----------+------+------+------+----+-----------+----------
(0 rows)

uploads directory:

chibisafe@x03:~/chibisafe/uploads$ ls -l
total 928
-rw-r--r-- 1 chibisafe chibisafe 472036 Jan  6 12:46 7y9kaed7tv1m.jpg
drwxr-xr-x 2 chibisafe chibisafe      6 Jan  6 12:42 chunks
drwxr-xr-x 4 chibisafe chibisafe     35 Jan  6 12:42 thumbs
-rw-r--r-- 1 chibisafe chibisafe 472036 Jan  6 12:50 z5xhasbjlhnv.jpg

:thinking: did you run npm i after pulling the commit? as it introduced a new dependency, which is indeed specific for uploads

:thinking: did you run npm i after pulling the commit? as it introduced a new dependency, which is indeed specific for uploads

also do npm run build afterwards to rebuild frontend. the said commit also added a small change to homepage uploader, that'd break your chunked uploads specifically until you rebuilt

also do npm run build afterwards to rebuild frontend. the said commit also added a small change to homepage uploader, that'd break your chunked uploads specifically until you rebuilt

Yes. After cloning the repository freshly, I ran npm i then npm run setup.

Yes. After cloning the repository freshly, I ran npm i then npm run setup.

One another error:
chibisafe@x03:~/chibisafe$ npm install

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/deasync
> node ./build.js

`linux-x64-node-12` exists; testing
Binary is fine; exiting

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[bcrypt] Success: "/srv/chibisafe/chibisafe/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/blake3
> node -e "try{require('./dist/build/install')}catch(e){}"

API version for<EMAIL_ADDRESS>linux not explicitly built, falling back to latest. If this does not work, open an issue at https://github.com/connor4312/blake3/issues/new
Retrieving native BLAKE3 bindings for Node v12 on linux...
Error trying to import bindings: Error: /srv/chibisafe/chibisafe/node_modules/blake3/dist/native.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeEPKNS_9CFunctionE
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at /srv/chibisafe/chibisafe/node_modules/blake3/dist/build/install.js:51:13
    at Generator.next (<anonymous>)
    at fulfilled (/srv/chibisafe/chibisafe/node_modules/blake3/dist/build/install.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
BLAKE3 will use slower WebAssembly bindings when required in Node.js

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/node-sass
> node scripts/install.js

Cached binary found at /srv/chibisafe/.npm/node-sass/5.0.0/linux-x64-72_binding.node

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/puppeteer
> node install.js

Downloading Chromium r818858 - 132.1 Mb [====================] 100% 0.0s
Chromium (818858) downloaded to /srv/chibisafe/chibisafe/node_modules/puppeteer/.local-chromium/linux-818858

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached /srv/chibisafe/.npm/_libvips/libvips-8.10.5-linux-x64.tar.br

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/srv/chibisafe/chibisafe/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node" is installed via remote

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/plyr/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/node-sass
> node scripts/build.js

Binary found at /srv/chibisafe/chibisafe/node_modules/node-sass/vendor/linux-x64-72/binding.node
Testing binary
Binary is fine

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/nodemon
> node bin/postinstall || exit 0

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/nuxt
> opencollective || exit 0

                                                            :-:
                                                          .==-+:
                                                         .==. :+- .-=-
                                                        .==.   :==++-+=.
                                                       :==.     -**: :+=.
                                                      :+-      :*+++. .++.
                                                     :+-      -*= .++: .=+.
                                                    -+:      =*-   .+*: .=+:
                                                   -+:     .=*-     .=*-  =+:
                                                 .==:     .+*:        -*-  -+-
                                                .=+:.....:+*-.........:=*=..=*-
                                                .-=------=++============++====:

                                                Thanks for installing nuxtjs 🙏
                                        Please consider donating to our open collective
                                               to help us maintain this package.

                                                   Number of contributors: 0
                                                     Number of backers: 402
                                                     Annual budget: $86,141
                                                    Current balance: $58,621

                                  👉  Donate: https://opencollective.com/nuxtjs/donate

npm WARN<EMAIL_ADDRESS>scripts['tests'] should probably be scripts['test'].
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 2155 packages from 1073 contributors in 111.613s

Is it related with this issue?

One another error:
chibisafe@x03:~/chibisafe$ npm install

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/deasync
> node ./build.js

`linux-x64-node-12` exists; testing
Binary is fine; exiting

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[bcrypt] Success: "/srv/chibisafe/chibisafe/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/blake3
> node -e "try{require('./dist/build/install')}catch(e){}"

API version for<EMAIL_ADDRESS>linux not explicitly built, falling back to latest. If this does not work, open an issue at https://github.com/connor4312/blake3/issues/new
Retrieving native BLAKE3 bindings for Node v12 on linux...
Error trying to import bindings: Error: /srv/chibisafe/chibisafe/node_modules/blake3/dist/native.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeEPKNS_9CFunctionE
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at /srv/chibisafe/chibisafe/node_modules/blake3/dist/build/install.js:51:13
    at Generator.next (<anonymous>)
    at fulfilled (/srv/chibisafe/chibisafe/node_modules/blake3/dist/build/install.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
BLAKE3 will use slower WebAssembly bindings when required in Node.js

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/node-sass
> node scripts/install.js

Cached binary found at /srv/chibisafe/.npm/node-sass/5.0.0/linux-x64-72_binding.node

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/puppeteer
> node install.js

Downloading Chromium r818858 - 132.1 Mb [====================] 100% 0.0s
Chromium (818858) downloaded to /srv/chibisafe/chibisafe/node_modules/puppeteer/.local-chromium/linux-818858

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached /srv/chibisafe/.npm/_libvips/libvips-8.10.5-linux-x64.tar.br

><EMAIL_ADDRESS>install /srv/chibisafe/chibisafe/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/srv/chibisafe/chibisafe/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node" is installed via remote

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/plyr/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/node-sass
> node scripts/build.js

Binary found at /srv/chibisafe/chibisafe/node_modules/node-sass/vendor/linux-x64-72/binding.node
Testing binary
Binary is fine

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/nodemon
> node bin/postinstall || exit 0

><EMAIL_ADDRESS>postinstall /srv/chibisafe/chibisafe/node_modules/nuxt
> opencollective || exit 0

                                                            :-:
                                                          .==-+:
                                                         .==. :+- .-=-
                                                        .==.   :==++-+=.
                                                       :==.     -**: :+=.
                                                      :+-      :*+++. .++.
                                                     :+-      -*= .++: .=+.
                                                    -+:      =*-   .+*: .=+:
                                                   -+:     .=*-     .=*-  =+:
                                                 .==:     .+*:        -*-  -+-
                                                .=+:.....:+*-.........:=*=..=*-
                                                .-=------=++============++====:

                                                Thanks for installing nuxtjs 🙏
                                        Please consider donating to our open collective
                                               to help us maintain this package.

                                                   Number of contributors: 0
                                                     Number of backers: 402
                                                     Annual budget: $86,141
                                                    Current balance: $58,621

                                  👉  Donate: https://opencollective.com/nuxtjs/donate

npm WARN<EMAIL_ADDRESS>scripts['tests'] should probably be scripts['test'].
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 2155 packages from 1073 contributors in 111.613s

Is it related with this issue?

The blake3 error is unfortunately an upstream-dependency issue.
It had been reported, and supposedly fixed, but the dev of blake3 npm package hasn't pushed a new release containing the fix yet.
Nonetheless, the said error shouldn't be related with the issue, since it'd fallback just fine to WebAssembly-mode, as the error message claimed.
Anyway, things work fine on my machine with the said commit, but unfortunately I only tested it with sqlite, the one point where our configurations differ.
I cannot test with pgsql for the time being though, so i can't say much. Perhaps try with sqlite to see if it's indeed specific to pgsql.

The blake3 error is unfortunately an upstream-dependency issue.
It had been reported, and supposedly fixed, but the dev of blake3 npm package hasn't pushed a new release containing the fix yet.
Nonetheless, the said error shouldn't be related with the issue, since it'd fallback just fine to WebAssembly-mode, as the error message claimed.
Anyway, things work fine on my machine with the said commit, but unfortunately I only tested it with sqlite, the one point where our configurations differ.
I cannot test with pgsql for the time being though, so i can't say much. Perhaps try with sqlite to see if it's indeed specific to pgsql.

I was able to reproduce this issue with PostgreSQL (v12) when uploading a file. The error is caused by these lines https://github.com/WeebDev/chibisafe/blob/f9444691627d6168511a5066553dae6dc0390c58/src/api/utils/Util.js#L229 https://github.com/WeebDev/chibisafe/blob/f9444691627d6168511a5066553dae6dc0390c58/src/api/utils/Util.js#L231 because the column in the database is called userId and not userid.
Seems like most SQL DB installations are case-insensitive by default while pg is case-sensitive by default, and that's how this issue was able to sneak past our testing.

I was able to reproduce this issue with PostgreSQL (v12) when uploading a file. The error is caused by these lines https://github.com/WeebDev/chibisafe/blob/f9444691627d6168511a5066553dae6dc0390c58/src/api/utils/Util.js#L229 https://github.com/WeebDev/chibisafe/blob/f9444691627d6168511a5066553dae6dc0390c58/src/api/utils/Util.js#L231 because the column in the database is called userId and not userid.
Seems like most SQL DB installations are case-insensitive by default while pg is case-sensitive by default, and that's how this issue was able to sneak past our testing.

Well, I'm glad the cause is found. I'm looking forward to fixing this. :)

Well, I'm glad the cause is found. I'm looking forward to fixing this. :)

I tried mariadb with lower_case_table_names  = 1, then the similar problem occurred.

I tried mariadb with lower_case_table_names  = 1, then the similar problem occurred.

@mzch could you check if it's fixed with this commit 9da45d616072cfaa535b539c2ecfdf96133fe381?

@mzch could you check if it's fixed with this commit 9da45d616072cfaa535b539c2ecfdf96133fe381?

Great! I can upload files successfully using both PostgreSQL and MariaDB. :)
But when creating an album, I need reload a page to see a new album on my browser using PostgreSQL.

Great! I can upload files successfully using both PostgreSQL and MariaDB. :)
But when creating an album, I need reload a page to see a new album on my browser using PostgreSQL.

@mzch this should be fixed in the latest release. Do a pull and restart, if the problem persists please re-open this issue

@mzch this should be fixed in the latest release. Do a pull and restart, if the problem persists please re-open this issue


Make mobile-to-desktop transfer more verbose

Use MultipartReader instead of ParseMultipartForm
Add progress bar to indicate transfer progress

This should resolve #67

Fetching dependencies failed, I had to manually run go get -u golang.org/x/sys/unix to get it working. The failure was:
# gopkg.in/cheggaaa/pb.v1
go/src/gopkg.in/cheggaaa/pb.v1/pb_x.go:43:13: undefined: unix.IoctlGetWinsize
go/src/gopkg.in/cheggaaa/pb.v1/pb_x.go:60:26: undefined: unix.IoctlGetTermios
go/src/gopkg.in/cheggaaa/pb.v1/pb_x.go:70:12: undefined: unix.IoctlSetTermios
go/src/gopkg.in/cheggaaa/pb.v1/pb_x.go:88:12: undefined: unix.IoctlSetTermios

I came across this issue which seems to be related: https://github.com/golang/go/issues/22688
I'm continuing reviewing, will send you updates soon.

It works great, thank you very much!


Configure the application to use IndexedDB

Acceptance criteria:
It is done when the application contains the code necessary to establish a connection to an IndexedDB database within a database.js file.


Update interactions data to the new release

From Intact team

We have released data today, which is available at following path ftp://ftp.ebi.ac.uk/pub/databases/intact/various/ot_graphdb/current This has interactor_pair_interactions.json (ftp://ftp.ebi.ac.uk/pub/databases/intact/various/ot_graphdb/current/data/interactor_pair_interactions.json) duplication issues resolved both which were reported and found by us.

[x] Update ETL pipeline to match with new changes in the fields and evidences
[x] Update API to accommodate the new changes produced by the ETL pipeline

Notes on fixes for unmatched IDs Oct 9th 10am (ordered by priority):

[ ] It was mentioned that some of the unmapped were uniprot isoforms (e.g. A6NFR6-4) were the -X numbering  can be ignored.  A6NFR6-4 is now fixed but others such as Q9Y2D5-5 don't match yet. Something to investigate.
[ ] Some are in other species (non-human). These we want to keep but not mapped to any entitiy. You can use the organism field to mark interactors that are not required to be mapped (Check specification) https://www.uniprot.org/uniprot/A0A0F7RLZ4
[ ] The RNAs from RNAcentral that do not map (e.g. MALAT1 URS0000A77400_9606(https://rnacentral.org/rna/URS0000A77400/9606) -> (https://alpha.targetvalidation.org/target/ENSG00000251562). They might require a 2-step mapping. From RNAcentral -> HGNC -> Ensembl.
[ ] Some are HGNC ids (HGNC:10354) I think we have this on our gene index, so I suspect it wouldn’t be hard to get them. They are not very frequent.
[ ] Most of the unmapped accession, correspond to Uniprot unreviewed (not very reliable) proteins. https://www.uniprot.org/uniprot/A0A024QZT2.

Other notes:

Some are reactome identifiers (R-HSA-9624909) you can probably ignore them for now
Some are intact identifiers (EBI-10828686) you can probably ignore them as well

@DSuveges it would be good to gather your thoughts on this. In particular on how to map uniprot unreviewed proteins

Mapping unreviewed proteins is tricky. Let's take a look at A0A024R4Q5. It's unreviewed, but has a 100% similarity with TFPT, which can be mapped to ENSG00000105619.
I'm not 100% sure how similar/identical proteins can be found, but it's certainly doable. However we need to make a call how to go about proteins, where there's no perfect match or there are multiple perfect matches.

I agree having over 3k unmapped entities is just unacceptable. We need to do something about it.

For the 2 cases listed above (A0A024R4Q5 & A0A024QZT2), a 2-step mapping using the Uniprot GeneID field would work.
❯ grep 29844 HUMAN_9606_idmapping.dat | grep GeneID
P0C1Z6	GeneID	29844
A0A024R4Q5	GeneID	29844

❯ grep 55770 HUMAN_9606_idmapping.dat | grep GeneID
Q96KP1	GeneID	55770
A0A024QZT2	GeneID	55770

So, let's assume we have an unmapped label, we look up the gene ID, but there might be multiple entries:
gzcat  HUMAN_9606_gene_ids.tsv.gz | awk '$3 == 3111'
P06340	GeneID	3111
X5CF87	GeneID	3111
A0A1V0E3S6	GeneID	3111
A0A1V0E3Q8	GeneID	3111
A0A1V0E3R8	GeneID	3111
A0A1V0E3Q1	GeneID	3111
A0A1V0E3Q3	GeneID	3111
A0A1V0E3P3	GeneID	3111
A0A1V0E3N6	GeneID	3111
A0A1V0E3R4	GeneID	3111
A0A1V0E3N7	GeneID	3111
A0A1V0E3Q4	GeneID	3111
A0A1V0E3S4	GeneID	3111
A0A1V0E3P8	GeneID	3111
A0A1V0E3R3	GeneID	3111
A0A1V0E3R0	GeneID	3111
A0A1V0E3P0	GeneID	3111
A0A1V0E3N3	GeneID	3111
A0A1V0E3Q7	GeneID	3111
A0A1V0E3N1	GeneID	3111
A0A1V0E3P9	GeneID	3111
A0A1V0E3R6	GeneID	3111
A0A1V0E3Q5	GeneID	3111
A0A1V0E3P1	GeneID	3111
A0A1V0E3M7	GeneID	3111
A0A1V0E3P6	GeneID	3111
A0A1V0E3Q2	GeneID	3111
A0A1V0E3T1	GeneID	3111
A0A1V0E3S7	GeneID	3111
A0A1V0E3S0	GeneID	3111
A0A1V0E3Q6	GeneID	3111

So we practically need a table with the uniprot gene ids and the uniprot id or ensembl gene id, then do the lookup. So all above listed A0... labels got resolved to the same label.

Q9Y2D5: Ok not to map. The reason being, the gene is defined in Ensembl as PALM2AKAP2 a fusion protein, whereas the uniprot proteins are defined as each of the constituents PALM2 and AKAP2.

About
"some are HGNC ids (HGNC:10354) I think we have this on our gene index, so I suspect it wouldn’t be hard to get them. They are not very frequent."
Fixed using the info stored in the target index (hgncId)

@d0choa
Released 0.46.4 for the dev appEngine server.

The new ETL 20.11 will contains the dataset of String without any threshold

The new structure for interactions:
*) Download the input file from PIS
*) ETL will transform the data
*) output for the ES

21.04 release contains the proper data


Add support for new organization repo to isNewRepo

https://github.com/organizations/npmhub/repositories/new
@fregante I don't know regex that well so I am not sure if this is correct

All good


Bad documentation

I have a bot which is using bot file. and i am loading This bot file in the startup.cs.
I created this bot locally and testing with Emulator without any appid or password. Now I want to deploy it to the azure and found out that it is not anymore supported. when following this document, its not working. I dont have appid and password yet. How to proceed. plus I have qna and LUIS services in the botconfiguration.
How to manage all. So frequent updates are making my work hell. please help me to figure it out? any example of follow such cases?

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

ID: ba8cc826-fa2f-5521-ead7-b771ad527269
Version Independent ID: 91bc6ab6-e909-e8da-74aa-4a178559c290
Content: Manage bot resources - Bot Service
Content Source: articles/v4sdk/bot-file-basics.md
Service: bot-service
Sub-service: sdk
GitHub Login: @ivorb
Microsoft Alias: v-ivorb

@vivekjainAco Can you specify the error you are facing while using the document?

I have created bot locally with .bot file and its working with Emulator. Now i want to move it to azure. and while deploying, it is required to remove the .bot file and use
var appId = Configuration.GetSection("MicrosoftAppId").Value;
var appPassword = Configuration.GetSection("MicrosoftAppPassword").Value;
options.CredentialProvider = new SimpleCredentialProvider(appId, appPassword);
but I tried this and since I don't have any MicrosoftAppId, MicrosoftAppPassword so it is failing and not even working locally.
I dont do any changes and keep the .bot file try to deploy it and then its not deploying either. So please let me know how to proceed?

@vivekjainAco After the changes you did according to the document, you can follow the steps in https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service-4.0&tabs=newrg
where it shows how to create an app id & password and how to deploy the bot.

i tried to follow the steps in the deployment document, and in the last step of it, i get the following json outcome
{
"active": true,
"author": "N/A",
"author_email": "N/A",
"complete": true,
"deployer": "Push-Deployer",
"end_time": "2019-06-13T13:14:49.6491874Z",
"id": "61e25de338b94fce84f8cbe678bc8227",
"is_readonly": true,
"is_temp": false,
"last_success_end_time": "2019-06-13T13:14:49.6491874Z",
"log_url": "https://edmspeechtotranslatebot.scm.azurewebsites.net/api/deployments/latest/log",
"message": "Created via a push deployment",
"progress": "",
"provisioningState": null,
"received_time": "2019-06-13T13:14:04.3311237Z",
"site_name": "edmspeechtotranslatebot",
"start_time": "2019-06-13T13:14:04.6577488Z",
"status": 4,
"status_text": "",
"url": "https://edmspeechtotranslatebot.scm.azurewebsites.net/api/deployments/latest"
}
if you go to log, it says there is an error and does clearly mention what is the error and how to debug it. In portal, it has not created any web app on the Azure portal. So I want to know what went wrong there.?
Is it necessary to remove .bot file or I can keep it?

Actually this document "Manage bot resources"  is just for the bot to work without a .bot file locally or on Azure. If you have to use this as a V4 bot(Where the deployment topic is for) then you can refer https://docs.microsoft.com/en-us/azure/bot-service/migration/conversion-framework?view=azure-bot-service-4.0

in the last messsage i meant "if you go to log, it says there is an error and does not clearly mention what is the error and how to debug it" instead of "if you go to log, it says there is an error and does clearly mention what is the error and how to debug it"

I am not using the V3 Bot but V4 bot with .bot file. So tell me please how to deploy this version of Bot without removing the .bot file. I will try to remember in my next bot to follow the latest MVC style. I have some time constraint so this time I must deploy the Bot with the .bot file.

The V4 bots won't create a .bot file. So did you create one?
Get Outlook for Androidhttps://aka.ms/ghei36

From: vivekjainAco<EMAIL_ADDRESS>Sent: Friday, June 14, 2019 5:43:11 PM
To: MicrosoftDocs/bot-docs
Cc: Tejaswini Nandakumara; Comment
Subject: Re: [MicrosoftDocs/bot-docs] Bad documentation (#1201)
in the last messsage i meant "if you go to log, it says there is an error and does not clearly mention what is the error and how to debug it" instead of "if you go to log, it says there is an error and does clearly mention what is the error and how to debug it"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/bot-docs/issues/1201?email_source=notifications&email_token=AJQGNXIAPTDFD3GZ27LIRG3P2ODNPA5CNFSM4HXYZGP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXWTQIY#issuecomment-502085667, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJQGNXLFTTTXXLMLDO4AKV3P2ODNPANCNFSM4HXYZGPQ.

clearly its not  V 4.3 Bot, but earlier version of V4 bot. i see that Documentation has been updated recently. But I have used the sample examples from github in February. I didnot create .bot on my own. but it was created when following the instruction with CLI tools.

Okay. The previous version used to use msbot clone command. Let me check if using the older version V4 is still there.

If you want to deploy bot that were created with .bot file to Azure, you need to migrate the settings from the .bot file to the appsettings.json or .env file. We have deprecated .bot file with the release of v4.4.

Closing this issue, per Kamran's input.


Contact names in message details

Respect Settings → General settings → Display → Show contact names (and Colorize contacts and Contact name color) in the message details screen.

Before
After

As discussed, I'm going to split up AddressFormatter into a variant for the message view screen (see #6641) and one for the message details screen. I'll open another PR for the latter one.


Updated models.py to check if CI is working

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 44.444%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
12

Relevant Lines:
27

💛  - Coveralls


Update Banana.dev docs to latest correct usage

Description: this PR updates all Banana.dev-related docs to match the latest client usage. The code in the docs before this PR were out of date and would never run.
Issue: #6404
Dependencies: -
Tag maintainer:
Twitter handle: BananaDev_

@baskaryan good to merge, I think? 👍

thanks @nik-418!


Add support for Reactive sources through @StreamEmitter

Fix #722
Rebased against 1.3.0
Incorporated most of the comments from https://github.com/spring-cloud/spring-cloud-stream/pull/885

Please, find a polishing here: https://github.com/artembilan/spring-cloud-stream/commit/fca75f42d014ee3edfd0e8556d9305f36ab51a6d.
Great to have a collaboration with you, so we have caught that Java DSL bug 😄
Would be glad to meet more often for similar pair programming!

The fix for SI Java DSL: https://github.com/spring-projects/spring-integration-java-dsl/commit/7ff8aa947f964542364358e77656a8fa64175fe2

Merged as https://github.com/spring-cloud/spring-cloud-stream/commit/c3246f32571b4e64065d7fd489ea70909d2be272


adding caret to sequelize to fix sequelize query builder

see issue #9 on why this caret is required.

Hi
As specified, I use too a shrinkwrap file which is exposed. So using the wildcard is not enough, and in all cases should not be used.
I will check to provide instead an option to specify your current sequelize instance
Regards


Naming convention for internal static readonly

In #11777, the readonly modifier was added to internal static members which raised an issue of our naming convention.
According to StyleCopAnalyzers on CodeFactor, "readonly variables that are not declared private must start with an upper-case letter" otherwise there are violations of the rule SA1304NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter
Our naming conventions state static fields should start with s_, however the existing code overwhelmingly uses PascalCase for internal static readonly members.
In my view conventions should be descriptive rather than prescriptive, so we should consider making changes to the written naming convention.

Yeah most of the newer code I see uses PascalCase for these. Might be that our naming conventions doc needs an update? /cc @SteveL-MSFT

https://github.com/dotnet/codeformatter/issues/281#issuecomment-442733951 makes a case that readonly should not change the casing style or prefixes.
I don't have a strong opinion either way, but CodeFactor rules should not conflict with naming conventions – it adds too much friction to pull requests.

Currently, the PowerShell naming convention states:

Use _camelCase to name internal and private fields and use readonly where possible.
Prefix instance fields with _, static fields with s_ and thread static fields with t_.

Unfortunately there is no StyleCop rule available to enforce the use of _camelCase for internal.
I think the following changes would be reasonably descriptive of the existing codebase:

Use _camelCase to name private fields (and prefix instance fields with _, static fields with s_ and thread static fields with t_).
Use PascalCase to name non-private fields.

If we modified the written convention as suggested we could enforce this using the StyleCop rule:
SA1307: AccessibleFieldsMustBeginWithUpperCaseLetter.

We should also consider: https://github.com/dotnet/runtime/blob/master/docs/coding-guidelines/coding-style.md

/cc @adityapatwardhan @daxian-dbw @TravisEz13 Thoughts?

If we want to modify our code style, we should modify our code style doc.  We can discuss it there.  I would suggest one issue at a time and not changing any existing rule without a good reason.  the main reason for them is consistency.   cc @daxian-dbw


[POC] add cli step 2 : verify inputs

Context
The goal of this ticket is to set up the coregistration parameterization from the CLI of xdem.
In the config file
In the JSON example file containing:
{

"inputs":{
"reference_dem": str,
"dem_to_be_aligne": str
},

"coregistration": {
"method": str
}

}

In the run

[ ] We must be able to verify the config:

# Get cfg from json file, checking inputs
cfg = compute_initialization(json_file_path)

example:

def verify_init(json_file_path):
    """

    """
   config = open(json_file_path)
    verify_inputs(config["inputs"])
    verify_coreg(config["coregistration"])

# exemple
def verify_inputs(config):

    schema = {
        "dem": And(str, function_to_verify),
        "dem_to_be_aligned": And(str, function_to_verify),
    }

    inputs_cfg = copy.deepcopy(config)

    checker = Checker(schema)
    checker.validate(inputs_cfg)

   # raise error or continue

I propose to add the function verify_initialization() in a new file named "cli_pipeline_helpers.py". It should take the configuration dictionary as input and test that all keys are valid. For this, I propose to use the json_checker module available here.
:warning: It is necessary to check that:

the keys are of the correct types
the input files exist
the coregistration method exists

In the tests
:warning: Be sure to fully utilize the potential of pytest: context, fixtures, parameters...

[ ] Add a file tests/test_config.py
[ ] Add the following tests:

[ ] a test that passes with a correct config
[ ] a test that fails with:

[ ] an incorrect reference_dem
[ ] an incorrect dem_to_be_aligned
[ ] an incorrect coregistration method in the list
[ ] a coreg key that is not a list

For the documentation

[ ] Update the quick start guide in the documentation

Estimation 2d

Some remarks:

"reference_dem": str, "dem_to_be_aligne": str . more explicit than demcompare (good!). so reference_dem ok for me. maybe test_dem (to be aligne long and not so clear for user). to be validated.
we can change name of existing demcompare functions not too clear.
I would separate clearly (not done in demcompare) the checking phase (check_config() function ) that doesn't return the config but only throw an exception if not good from a function that completes the original config, surcharging it to go to a full pipeline config with "defaults" parameters (for instance fill_config() function). See the first attempt to separate more logically each parts: https://github.com/CNES/demcompare/blob/master/demcompare/coregistration/coregistration_template.py#L142
maybe use directly jsonschema from jsonchecker ? if not too long and costly (to be arbitrate)
more explicitely than helpers_init.py --> pipeline_helpers.py or pipeline_config.py depending on choice of pipeline main file. To be arbitrate also with glaciohack.

Anyway thanks for the first description with many elements.

My own remarks:

I agree, "dem_to_be_aligned" is a bit long. I was thinking of "source_dem" but I'm open to other terms.
I would put all functions related to the config file in a submodule "config". In there, I don't have particular expectations how the files should be named, but I was thinking about files like "(config_)io.py" for anything related to reading the file, "(config_)checkers.py" for check functions, "(config_)defaults.py" for handling default parameters maybe? Or if limited number of functions, I would leave everything in a single file, but maybe that's bad habit 😉

-> reference_elev, to_be_aligned_elev actuellement dans xdem au final
-> a choisir ?

-> reference_elev, to_be_aligned_elev actuellement dans xdem au final

Ok pour garder ces termes alors.


Added Az 4.1.0 migration guide

Docs Build status updates of commit bb80e25:
:clock10: Full build: the average full build time is 26 min(s) 37 sec(s), this is based on the last 376 build(s) for this repository.

Docs Build status updates of commit bb80e25:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-conceptual/azps-4.1.0/azureps-vm-tutorial.yml
:warning:Warning
View (azps-4.1.0)
Details

docs-conceptual/azps-4.1.0/migration-az-4.1.0.md
:white_check_mark:Succeeded
View (azps-4.1.0)

docs-conceptual/azps-4.1.0/azureps-vm-tutorial.yml

Line 11: [Warning] Invalid file link:(~/docs-conceptual/azps-4.1.0/overview.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 2a8d1db:
:clock10: Full build: the average full build time is 26 min(s) 43 sec(s), this is based on the last 378 build(s) for this repository.

Docs Build status updates of commit 2a8d1db:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-conceptual/azps-4.1.0/migration-az-4.1.0.md
:warning:Warning
View (azps-4.1.0)
Details

docs-conceptual/azps-4.1.0/toc.yml
:warning:Warning
View (azps-4.1.0)
Details

azuresmps-4.0.0/include/aa-deprecation.md
:warning:Warning
View (azuresmps-4.0.0)
Details

docs-conceptual/azps-4.1.0/migration-az-4.1.0.md

[Warning] Missing attribute: title. Add a title string to show in search engine results.

docs-conceptual/azps-4.1.0/toc.yml

Line 0: [Warning] Invalid file link:(~/docs-conceptual/azps-4.1.0/migrate-az-4.1.0.md).

azuresmps-4.0.0/include/aa-deprecation.md

[Warning] Missing attribute: title. Add a title string to show in search engine results.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DOC: existence docs and benchmarks.

I've included some documentation on existence-type associations as requested by Jeff in this question over at Stack Overflow.
The content includes a couple of plots generated by the script bench/bench_existence.py but I was not able to find any automation that executed those bench/bench_*.py scripts, so I may be missing a hook somewhere. That script also takes a couple of minutes to run.

@chancyk can you update / revisit?

@chancyk can you revisit this?

@chancyk can you revist?

@chancyk want to update?

@chancyk I think this would be nice to include. pls reopen if you want to update.


GUI tonic inputs

Ability to set tonic bias parameters
Add a way to interface with .add_tonic_bias method to set Amplitude, start time, and end time for each layer and cell type.

@gtdang just wanted to flag that there is already an open PR: https://github.com/jonescompneurolab/hnn-core/pull/635 with discussion. Would be great to take over from there or at least account for the discussion

Any updates here? I am running some simulations and would love to play around with this feature using the GUI if it's available ...

@jasmainak we haven't' started on this issue quite yet. I think a need for an API update was discussed in #635, which will need to be addressed before adding this GUI feature.

@gtdang @gtdang I want to start working on my own PR instead of continuing #635 . I can take some notes and use some references from that PR in the new one.  Let me know your thoughts.

@kmilo9999 I think it's safe to begin it from scratch, the GUI code has changed quite a lot since then making rebasing a huge pain for this one...


Hard line breaks in block AsciiMath are not preserved

AsciiMath blocks require special line handling. You can find the logic here: https://github.com/asciidoctor/asciidoctor/blob/dd843d59b1e49f29d68386bfdf0438ce11b42577/lib/asciidoctor/converter/html5.rb#L697
The rules are as follows:

Two lines separated by only a newline character become a single line (the current behavior)
A line that ends with  \ should become a hard line break
A double line break (and any additional line breaks) should be preserved (effectively separating the equations).

2 & 3 are not honored.
See https://github.com/asciidoctor/asciidoctor/issues/2497#issuecomment-369865944 for the specification and examples.

Hey do you think this might be something easy for someone who doesn't know ruby to implement?
I really like asciidoctor so far and you have already helped me so I'd like to give up!
Learning Ruby is not in my todo list but I already know python and Rust so maybe I can hack something together based on the logic you linked

+1 for supporting hard line breaks in native AsciiMath syntax.  This is a major pain for my tooling right now, as I ended up going with the approach of translating /r's into separate `` chunks, which means I can't save off a single SVG since they're considered separate blocks.  Any ETA on getting a fully supported line break in place?

@SpyrosRoum This seems relatively straightforward to implement. I'd be happy to mentor you if you need assistance.

@SpyrosRoum @mojavelinux Thank you both for dedicating your time to this. @mojavelinux Thank you for being so welcoming and helpful.
Has any progress been made on this front? I ran into this on:
$ asciidoctor-pdf -v
----
Asciidoctor PDF 2.3.4 using Asciidoctor 2.0.18 [https://asciidoctor.org]
Runtime Environment (ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

I'm also having this problem when using :stem: latexmath.

It seems this problem is not limited to AsciiMath.


Support for Kibana 8.7.0

Could you please release the plugin version for kibana 8.7.0.
Many thanks in advance !

Well, Kibana 8.7 brings breaking changes that requires changes  in enhanced table plugin to be compatible.
The good news is that I managed to do required changes in enhanced table so that it works with « kibana dev mode ».
But the bad news is that it doesn’t work with « kibana prod mode ».
I already tried several ways, but for now, I’m blocked.
I will comment here when it will be available.

@fbaligand really appreciate for managing this plugin.  Is there a tentative plan to release support for 8.7.x and 8.8.x?

Yes, there is a tentative plan.
As explained in my previous comment, it works in kibana dev mode, but not in prod mode (the way you use it through kibana release).
I already spent a lot of time to understand and fix the problem. But for now, it still does not work. I continue to look for the problem.

Hi, can I try to build and deploy on the latest commit on the master branch?

Hi @phihdn,
Currently, I haven't commited the version for Kibana 8.7, as it does not work in prod mode.
But here is the current version that you can install on Kibana 8.7.0 (an on Kibana 8.7.1 if you change "kibanaVersion" in kibana.json inside zip file) :
enhancedTable-8.7.0.zip
And here is the actual source code:
enhancedTable-source-8.7.0.zip
Feel free to test it! And if you find a way to fix this version in prod mode, I would be the happiest man in the world! ;)

Hi @fbaligand,
Thank you for sharing the zip files. I tried on my Kibana 8.8.0. I changed the version as you guided.
It said the installation was successful but it was not.
~$ bin/kibana-plugin install file:///etc/enhancedTable-8.8.0.zip
Attempting to transfer from file:///etc/enhancedTable-8.8.0.zip
Transferring 1036448 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation complete

When I tried to list plugins, it's errored:
~$ bin/kibana-plugin list

/usr/share/kibana/src/cli_plugin/list/list.js:23
  plugins.forEach(([name]) => {
          ^
Error: Unable to read kibana.json file for plugin enhancedTable
    at /usr/share/kibana/src/cli_plugin/list/list.js:29:13
    at Array.forEach (<anonymous>)
    at list (/usr/share/kibana/src/cli_plugin/list/list.js:23:11)
    at Command.processCommand (/usr/share/kibana/src/cli_plugin/list/index.js:22:18)
    at Command.<anonymous> (/usr/share/kibana/src/cli/command.js:84:20)
    at Command.listener (/usr/share/kibana/node_modules/commander/index.js:370:29)
    at Command.emit (node:events:513:28)
    at Command.parseArgs (/usr/share/kibana/node_modules/commander/index.js:892:12)
    at Command.parse (/usr/share/kibana/node_modules/commander/index.js:642:21)
    at Object.<anonymous> (/usr/share/kibana/src/cli_plugin/cli.js:41:9)

Do you have same behaviors?

Well, first, the aim is to test with Kibana 8.7 (not 8.8 that will be next target).
Then, I don't reproduce your issue, not on Kibana 8.7 nor on Kibana 8.8.
Could you list files inside $KIBANA_HOME/plugins/enhancedTable ?
You should verify that kibana.json is here.
Then could you execute cat kibana.json and show here the result?

Please ignore my previous comment. I did use kibana user to install the plugin instead root. That caused permission issue. After chmod enhancedTable dir and files, the plugin has been loaded and now I see the error on Kibana when I tried to create new enhancedtable.
Regarding the version, since I have 8.8 ready so I just want to do a quick test while I am setting up the Kibana plugin development environment. I will setup another 8.7 instance to test. I will update here if I found something. Thank you.

Hi @fbaligand,
I would like to experiment this plugin in 8.7 version. It would help me if you push changes to git. I may try something here.

Hi @Hrithik-Manchanda,
To help you, I just published the current version for Kibana 8.7 in "8.7" branch.
So you can checkout 8.7 branch and work on it.
If you manage to find a change that makes it work in "prod" mode, I would enjoy that you create a PR!

Hi @fbaligand,
I read in the given source code but I didn't find any mistake. So, I have supposed an issue in the kibana plugin helper and I found this thread: https://github.com/elastic/kibana/issues/154325
A fix seems to be merged in the branch 8.7, unfortunately I tried to build a version with the updated branch but got the same problem :-(
I think you have to notify the Kibana team to resolve this issue.

Hi @pchakour,
First of all, I want to thank you for the time you spent to analyze the problem and look at a potential solution. I really appreciate!
Then, I looked at the issue, and found in the comments 3 potential ways to fix the issue:

update 8.7 branch to last commit (maybe I would be more lucky than you)
use 8.8 branch to build a 8.7 version
in Kibana webpack configuration, set "mode" to "production"

I will try these ways and give feedback here. If it doesn't work, as you mention, I will create an issue on Kibana repository.

Good news: using latest state of Kibana "8.7" branch, I finally manage to build a package that works on Kibana 8.7 standalone (production mode) !
So I should be able to publish soon the packages for Kibana 8.7.x !
Thanks again @pchakour for you help!

Great news !!
I must have missed something when I tried to build on my side :thinking:
Anyway, I'm glad you made it :smile:

Well, I had to modify few things so that it compiles without error. I precise that with kibana v8.7.0 tag, I don’t needed that.
I had to add a “common” directory (despite I don’t have server code), and I had to remove “IPrivate” export in angular/utils.

I'm glad to announce that Enhanced Table plugin for Kibana 8.7 is out!
You can get package here:
https://github.com/fbaligand/kibana-enhanced-table/releases/tag/v1.13.4

New good news, plugin works also with Kibana 8.8!
You can find the packages at the same place:
https://github.com/fbaligand/kibana-enhanced-table/releases/tag/v1.13.4

Amazing!!! Thank you @fbaligand

and what about 8.9? wink wink

Well, don’t be so hurry, kibana 8.9 is not yet out :)
https://github.com/elastic/kibana/releases

@F0RMaTC
I'm glad to announce you that Enhanced Table for Kibana 8.9 is out!
https://github.com/fbaligand/kibana-enhanced-table/releases/download/v1.13.4/enhanced-table-1.13.4_8.9.0.zip

Enhanced Table for Kibana 8.10 is out!
https://github.com/fbaligand/kibana-enhanced-table/releases/v1.13.5/


i can't execute the .sh file ,can you help me?

I really really need your help

Please read the docs and post problems not in the issues but in the forum.


Can I use PHP to create a gPRC server ?

I saw that "PHP can only create clients" in the doc, and the github readme file also gives a node server example in the PHP quickstart guide.
I want to know if the php server will be supported recently ? What's the plan ?
Thank you!

Currently there is no plan to support PHP as a server. Please see this discussion over at the mailing list.


Filip/use arkworks vanchor api

Current arkworks API assumes that every path comes from different tree. Until this is fixed, this PR should remain draft


Correct CAA len method and octet packing buffer

This fixes two bugs in my original CAA implementation, one in the record length calculation and another where the packing buffer was of size 0 and would always cause a out of bounds slice panic, and adds a test case that verifies the fix.

Looks good.


Document API design

Complete the documentation of the validator/pipeline API design:
https://github.com/okfn/tabular-validator/blob/master/docs/api-design.rst

DUMP of EARLIER DESIGN
API design
For interoperability, each validator needs to comply with a standard API (more or less). The API design is described here (but very much WIP).
Each Validator must configure itself via keyword arguments
This allows other code that uses the validators to pass in dictionary of keyword arguments as a configuration object.
Example
# definition
class TableStructureValidator(object):

    def __init__(self, fail_fast=False, ignore_blank_columns=False,
                 ignore_blank_rows=False, ignore_headless_columns=False,
                 ignore_defective_rows=False, ignore_duplicate_rows=False,
                 ignore_duplicate_columns=False, true_strings=None,
                 false_strings=None, none_strings=None, empty_string=''):
        pass

# instantiate
validator = TableStructureValidator(**options)

Each Validator must take a fail_fast keyword argument
fail_fast is a boolean.
If fail_fast is True, the validation should stop for this validator as soon as it encounters an error.
A report should be generated immediately based on results up to the first failure.
Each Validator must have a run_row method
The common use case when a validator is invoked as part of a validation pipeline is to validate a row of data.
The validator must expose a run_row method for this purpose.
run_row has two positional arguments: index and row.
run_row must return either True or False, indicating if the row is valid according to the validator.
Example
# instantiate
validator = TableStructureValidator(**options)

# run row validation, where `row` is the row data as a dict, and index is the index of the row
valid = validator.run_row(index, row)

Each Validator must have a generate_report method
generate_report returns a report for the validator, which is a dict. Any code that uses a validator should be able to call generate_report at any time, and expect to get a report of the current state of a validation flow. This is expected due primarily to the fail_fast option, so that 3rd party code, or the validators own run method, can generate a report of the current state of validation as soon as a validation error is detected.
Example
# instantiate
validator = TableStructureValidator(**options)

# fail_fast and generate a report
report = {}
valid = validator.run_row(index, row)
if not valid and validator.fail_fast:
    report[name] = validator.generate_report()
    return valid, report

Each Validator can have a run_init method
run_init provides an interface to run any validation tasks before running row-level validation. as with run_row, run_init must return either True or False, indicating if the run_init validation task is valid (i.e.: run_init also supports the fail_fast API).
Example
# instantiate
validator = TableStructureValidator(**options)

# data stream is in `data`, and data headers in `headers`
def run_validation():
    report = {}
    for index, row in enumerate(data):
        # if this is the first time we encounter a validator,
        # check if it has a `run_init` method and run it if present.
        if index == 0 and getattr(validator, 'run_init'):
            valid = validator.run_init(headers, data)
            if not valid and validator.fail_fast:
                report[name] = validator.generate_report()
                return valid, self.report

            # do the row validation

Each Validator must have a run method
run provides an interface to using the validator as a stand alone component.
run runs the validator over the whole data stream, and returns a tuple of valid, report, where valid is a boolean value, and report is a dict.
The return value of run on each validator is consistent with the return value of run on the pipeline validator class.


Restart Razor Language Server When Changing Trace Level

General implementation for properly stopping and restarting the Razor Language Server (ConfigurationChangeListener)
Propagation of the new trace level
Restart message prompt on configuration change
Telemetry for failed server stop

Addresses https://github.com/dotnet/aspnetcore/issues/14280

Note the Null Extension Description in the restart prompt. I just wanted to confirm this would be due to the Extension Development Host environment. I believe it should properly show in PROD.


Create pom.xml

Added to maven in the  pom.xml file added the dependancy for Apache Camel-CLI-Springboot for use in Apache Springboot framework.  A Java framework.

Added to maven in the pom.xml file added the dependancy for Apache Camel-CLI-Springboot for use in Apache Springboot framework. A Java framework.


add k-vswitch to networking plugin docs

Signed-off-by: Andrew Sy Kim<EMAIL_ADDRESS>Add k-vswitch to networking plugin docs.

/lgtm
/approve


fix: skip meters endpoint if it returns a 401

For D3.18.10 (f0855e) systems return 401 even if the user has access to the endpoint so we must skip it.
fixes #123

If this is merely skipping the endpoint does this mean we’ll no longer get per-inverter stats?

I'm not sure why skipping the meters endpoint would affect the inverters endpoint?

Sorry I misread

Thanks

@bdraco Thinking some more about this.... I'm still confused. You skip the Meters endpoint sure, but even the Inverters endpoint returns 401, which if I'm understanding correctly also prevents me from now getting per-panel data? Ie calling http://]gateway-ip]/api/v1/production/inverters returns
{
    "status": 401,
    "error": "",
    "info": "Authentication required",
    "moreInfo": ""
}


Support for IKEA TRADFRI LED1732G11

In ./node_modules/zigbee-shepherd-converters/devices.js I found the follow information about this device as it is already supported  by Koenkk/zigbee2mqtt:
{
    zigbeeModel: ['TRADFRI bulb E27 WS opal 1000lm'],
    model: 'LED1732G11',
    vendor: 'IKEA',
    description: 'TRADFRI LED bulb E27 1000 lumen, dimmable, white spectrum, opal white',
    extend: generic.light_onoff_brightness_colortemp,
},

Device description
TRADFRI bulb E27 WS opal 1000lm
MQTT message with device information
PUT here the device data you receive when publish message with topic
zigbee2mqtt/bridge/config/devices, as example
{"ieeeAddr":"0xd0cf5efffef2b3dc","type":"Router","model":"LED1732G11","friendly_name":"0xd0cf5efffef2b3dc"}

MQTT messages from device
Put here examples of MQTT messages with different states you've received from device, as example
MQTT message: zigbee2mqtt/0xd0cf5efffef2b3dc {'brightness': 254, 'color_mode': 2, 'state': 'ON', 'color_temp': 370, 'linkquality': 157, 'color': {'x': 0.46, 'y': 0.411}}

**MQTT state change commands**
If device supports state change put MQTT topics + payload examples to change device state here

Should be available with version from latest master branch

That’s funny. I just installed the latest version last Sunday for both your plugin and for Koenkk/zigbee2mqtt with the result of having an unsupported device.

I've just added the support less than hour ago

Ok, miss understanding. Thanks for your swift action. I will immediately update the plugin.

I confirm seeing new devices (expected however to see only one). Tha nks for your support and patience.


[BUG] Spells added to feature do not show on Spellbook.

Module Version: v4.0.0
Before open any issue
Debugging Enabled
No Exception in Console
Describe the bug
Spells added to items show in spellbook tab.
Spells added to features do not.
To Reproduce
Steps to reproduce the behavior:

Create Item, Add Spells, Attune/Equip - Spells show up
Create Feature, Add Spells, Attunement/Equip is not an option for this item type - Spells do not show up

Expected behavior
Spells added to a feature show in spell book tab
Screenshots

Browser:
FLC (Latest)
Foundry Version:v11.315
**Game System:3.0.4
Additional context
Migration was completed when 4.0 update was applied.
Using Latest 3.0.4 compatible Tidy5e Release from KGAR, fails on stock sheet as well however.

Please confirm whether you have this

Setting not selected.
Are there any console messages?

I do have that selected.
I saw no Magic Items related console messages during any part of the workflow (Item create, add, activate, spell changes, etc)

Deselecting the identify option fixes this, however, Feats do not have an identification property from what I can tell.

Deselecting the identify option fixes this, however, Feats do not have an identification property from what I can tell.

Yes, that is the bug, will try to fix that for 4.1.0

This will be fixed in 4.1.0


Connect

Hello.
This PR introduces the following changes:

add OBS::WebSocket::Connection. It's constructor accepts uri and password (optional) keyword arguments.
Since it sets up the driver I've added websocket-driver to runtime dependencies.
websocket-driver example has been updated to use the Connection class.
The default port for TCPSocket has been changed to 4455 as per the WebSocket5 docs. I don't know if there was a specific reason it was at 80?

I've tested connecting to several instances of OBS on the same machine and different machines and everything seemed to work.
Any feedback is welcome, thank you for your time.

Thanks! I'll review your patch soon.


[ci] switch to Drone CI

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master      #2   +/-   ##
======================================
  Coverage    87.7%   87.7%
======================================
  Files           3       3
  Lines         187     187
  Branches       19      19
======================================
  Hits          164     164
  Misses         14      14
  Partials        9       9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8ce2c0...0b83d23. Read the comment docs.


Markdown updates

Video
Drag and drop videos:
https://user-images.githubusercontent.com/36594527/115815563-861c6b80-a43a-11eb-89d4-22ba9ed7dd5e.mp4
https://user-images.githubusercontent.com/36594527/115815700-c4198f80-a43a-11eb-95b2-4c6fedabc65f.mp4
Assets
We need some new images.

These look great! Let's check them off against our spreadsheet of assets:
GitHub Assets.xlsx
You can also use them in readme files like here:
readme.md
And *.csv format for those not using Excel 😋

These look great! Let's check them off against our spreadsheet of assets:
GitHub Assets.xlsx
You can also use them in readme files like here:
readme.md


Can we use Android SurfaceTexture as the input for on-screen rendering?

Hello, filament supports on-screen rendering and off-screen rendering now. When we used on-screen rendering, we can use a NativeWindow as the input to createSwapChain, or we can use off-screen rendering without any real windows.

problem

The problem is that when we use rendering, we can't get the texture from filament directly. Therefore, we need readPixels from filament, and then, load pixel buffer to gpu texture, which takes a lot of time.

idea

Okey, I have a idea about on-screen rendering,  I want to do some optimization. Can we use android SurfaceTexture as the input for on-screen rendering? If so, I can get the rendered texture just from SurfaceTexture outside directly.

OS and backend

os: android platform, backend: opengl.

You can use the SurfaceTexture as a Filament texture to render it on screen. You could also get the SurfaceTexture from a TextureView and render into + send it to the video encoder. You could also use a virtual display.

You can use the SurfaceTexture as a Filament texture to render it on screen. You could also get the SurfaceTexture from a TextureView and render into + send it to the video encoder. You could also use a virtual display.

Is there any samples about surfacetexture input? I've tried it half year ago, but unfortunately, I failed.

You can use the SurfaceTexture as a Filament texture to render it on screen. You could also get the SurfaceTexture from a TextureView and render into + send it to the video encoder. You could also use a virtual display.

I wanna use surfacetexture instead of any real window, because it is well separated from the upper UI layer.


Documentation question,

Giving this a shot using
pe-hiera-<IP_ADDRESS>-1.pe.el6.noarch
pe-puppet-<IP_ADDRESS>-1.pe.el6.noarch

Default setup, simply ran puppet forge, mod'd heir.yaml against a working consul (though not finalized) and I'm getting this error about loading backends.  Even moved your module from environments/production/ to simply modules/ in puppets path..
Installed module here,
[root@puppet ~]# ls /etc/puppetlabs/puppet/modules/hiera_consul/
checksums.json  Gemfile  lib  LICENSE  metadata.json  Rakefile  README.md

Example hiera.yaml
---
:backends:
  - consul
  - yaml

:consul:
  :host: <IP_ADDRESS>
  :port: 8500
  :paths:
   - /v1/catalog/service
   - /v1/catalog/services
   - /v1/catalog/node
   - /v1/catalog/nodes

Yet,,
[root@puppet ~]# hiera dns
WARN: 2015-03-30 17:43:05 +0000: Cannot load backend consul: cannot load such file -- hiera/backend/consul_backend
nil

[root@puppet ~]# curl http://localhost:8500/v1/catalog/service/dns?tag=bind[{"Node":"puppet.example.lan","Address":"<IP_ADDRESS>","ServiceID":"dns","ServiceName":"dns","ServiceTags":["bind"],"ServiceAddress":"","ServicePort":53}][root@puppet ~]#
DEBUG: 2015-03-30 17:38:13 +0000: Looking for data source global

Is this typical? I'm assuming I'm missing something obvious here, as I haven't attempted this before.  Also though you give some examples of using this inside puppet am correct about the command line right? (While I wait I'll give it a try with in notify or such like your examples)

Hi,
This is due to the location of the hiera_consul module, it's in the puppet modules hierarchy so only puppet will be able to see it, calling hiera directly will cause an error.

Hi @auzieman , I suppose you want to debug from the CLI. I use this simple 'hack' in my vagrant dev env:
I link /vagrant/puppet/modules/hiera_consul/lib/hiera/backend/consul_backend.rb in this directory /usr/share/ruby/vendor_ruby/hiera/backend/ and I can use hiera cli with consul backend.
cheers


ATAC components

Hi,
missing ATAC components include:

[ ] ATAC-specific QC metrics (TSS, nucleosome_signal,...) see https://www.sc-best-practices.org/chromatin_accessibility/quality_control.html#calculating-qc-metrics and https://stuartlab.org/signac/articles/pbmc_vignette.html#computing-qc-metrics

[ ] scATAC doublet detection tool, e.g. AMULET or scDblFinder. see: https://www.sc-best-practices.org/chromatin_accessibility/quality_control.html#doublet-detection

[ ] LSI as dimensionality reduction

I think it's nice! But as far as I see, that's for the multimodal case of RNA+ATAC. I would say, if we want to start with the unimodal case, then that's for later.
I can start with the LSI component

thanks @SarahOuologuem  for working on LSI!
please check @DriesSchaumont's last update on the "setup" component that includes PCA, umap and Neighbours, https://github.com/openpipelines-bio/openpipeline/pull/396
you would need to add LSI as an additional dimred and test that when the component is called with one of the 2 dimreds or both, the outputs are consistent.

I'll take QC metrics and doublet detection :)

We also need:
[] HVG selection (literally scanpy function, so we can reuse existing components)
[] Normalization and log-transform (scanpy functions)
[] Neighbors graph building (scanpy function)
[] Clustering (scanpy function)
[] UMAP or other dim red methods (scanpy function)
[] Marker peaks search – this we should implement from muon

Double check HVG selection: it might use a slightly different approach due to high sparsity and the number of features


Clic on Action Button doesn't dismiss the notification

Hello,
I am testing your latest update (0.6.14), and when clicking on an action button, it doesn't dismiss the notification, and it recreates one, like a loop.
Is it how it should now work, and we have to dismiss it manually in code ?
I tested to manually dismiss it in my app, in actionStream, but it doesn't always dismiss it, I'm trying to understand why.
I also tested your example, I just clicked on "Show notification with buttons" without dismissing it in code, and it's same behaviour, the notification always reappears. clicking on the button "Cancel notification" is working though.
Thank you for your help and your work :)

Yes, you are right. There is a bug on the receiving process. I gonna send a fix for this today. Thank you so much for your help!

Version 0.6.15 released! Please check for me if the problem is solved.

I just checked. And it's working well.
Thx you're too fast :)


Migrate CSS to SCSS

Migrated all CSS to SCSS. SCSS is preferred to CSS as it:

Is more expressive
Encourages proper nesting
Supports better inline documentation
Is generally is easier to read

Please merge after approving #10

@elizetran @DhyeyLalseta Sorry there were some sudden merge conflicts :(

@elizetran @DhyeyLalseta Sorry there were some sudden merge conflicts :(


Fix empty attendance charts

What was broken?

GraphHelpers was converted to a list of ES6 functions, but this statements needed to be updated to plain function calls. This is the exact same kind of error as #1283.

Issue

Closes #1290.

Screenshot (if adding a client-side feature)
Non-empty attendance charts! (Local, demo data.)

JS tests pass locally, selfie 😄


pyodbc Calling Stored Procedures with SQL Server 2008

Hi,
I have a question/issue with a stored procedure in SQL Server 2008. I'm using python v3 with latest pyodbc version and ODBC Driver 17 for SQL Server. I follow the wiki documentation on Calling Stored Procedures. I want to call a stored procedure that takes only input parameters like in the examples on the wiki page
params = (14, "Dinsdale")  crsr.execute("{CALL usp_UpdateFirstName (?,?)}", params)
I have no luck calling the procedure like this. I get no error, but the procedure is not executing. I have grant all the rights for the SQL user that I'm using in my python script. If anyone have any suggestion on this issue, it would be nice.
Thanks

No need for help. Sorry and Thank You


Game Changes

Summary of Changes for Mushroom Speed Boost Mechanic
Player.js

Added speedBoostActive Propertythis.speedBoostActive = false;


LastWill- & SpeedRegulator functionality

In this merge the following has been added:

A seekbar where the user can adjust speed. Speed can be adjusted for both "forward" and "backward".

A lastWill method has been implemented. The functionality of this method will make sure that:
When the connection is lost, the car will automatically come to a stop smoothly (by using a method that will slow down the speed gradually until a complete stop).

The code has been tested manually by two developers: Albin and Felix.
The merge will fullfill the acceptance criteria for issue #34 and #25.
:ballot_box_with_check: Definition of Done checklist

Changes:
* Method onStartTrackingTouch will be implemented in a later issue?

* Private static boolean check? - Ambiguous variable, can be changed?

* Should also test code further with automated tests.

* If speed >10 in lastWill. Add comment for purpose of this for better understanding.

The method was auto generated no clue what to do with it for now
Updated the check variable
Yes we should, write some tests for next sprint
Added some comments to explain the lastWill method

Test


UAR-1152: Update dev dockerfile to use image node:18-alpine

JIRA link
Filed under https://companieshouse.atlassian.net/browse/UAR-1152
Change description
When running the ROE web app locally, as outlined in use-nodemon-in-docker-chs-development-dev-mode.md, the dev.dockerfile is used.
It's base image is node:16-alpine, which results in an error during startup as the environment doesn't meet the minimum requirements specified in the settings. This change simply updates the base image to node:18-alpine to meet the new requirements.

Change looks absolutely fine to me @conuirchgov but I'm just interested in when exactly this file is used? When "running the ROE web app locally" we use Tilt (which doesn't use this file), hence my question.

Change looks absolutely fine to me @conuirchgov but I'm just interested in when exactly this file is used? When "running the ROE web app locally" we use Tilt (which doesn't use this file), hence my question.

Morning @mwestacott :wave:. I mentioned this in the PR description, but it's when using nodemon to serve web, as it has a much quicker turnaround when rebuilding assets. It's a slightly different configuration than the typical 'dev mode' for running services.

Change looks absolutely fine to me @conuirchgov but I'm just interested in when exactly this file is used? When "running the ROE web app locally" we use Tilt (which doesn't use this file), hence my question.

Morning @mwestacott 👋. I mentioned this in the PR description, but it's when using nodemon to serve web, as it has a much quicker turnaround when rebuilding assets. It's a slightly different configuration than the typical 'dev mode' for running services.

Thanks. I did read the description but as we weren't getting this error during the upgrade I was wondering why you do get it. Will approve as it's clear this is needed but I now have another question - how do you switch/configure Tilt to use nodemon? Thanks.

Change looks absolutely fine to me @conuirchgov but I'm just interested in when exactly this file is used? When "running the ROE web app locally" we use Tilt (which doesn't use this file), hence my question.

Morning @mwestacott 👋. I mentioned this in the PR description, but it's when using nodemon to serve web, as it has a much quicker turnaround when rebuilding assets. It's a slightly different configuration than the typical 'dev mode' for running services.

Thanks. I did read the description but as we weren't getting this error during the upgrade I was wondering why you do get it. Will approve as it's clear this is needed but I now have another question - how do you switch/configure Tilt to use nodemon? Thanks.

The docs for setting it up is outlined in the PR description 👀 🙈 😂.
But essentially you setup your env like you would normally to run in 'Tilt Dev' mode.

open the tilt file
delete the line including repositories/overseas-entities-web/Tiltfile.dev
in the list of docker compose files at the top, add repositories/overseas-entities-web/dev.docker-compose.yaml

It's that docker compose file that uses this dev.dockerfile to build on
1|  version: "3.8"
2|
3|  services:
4|    overseas-entities-web:
5|      build:
6|       context: .
7|        dockerfile: repositories/overseas-entities-web/dev.dockerfile <---
8|  ...

Change looks absolutely fine to me @conuirchgov but I'm just interested in when exactly this file is used? When "running the ROE web app locally" we use Tilt (which doesn't use this file), hence my question.

Morning @mwestacott 👋. I mentioned this in the PR description, but it's when using nodemon to serve web, as it has a much quicker turnaround when rebuilding assets. It's a slightly different configuration than the typical 'dev mode' for running services.

Thanks. I did read the description but as we weren't getting this error during the upgrade I was wondering why you do get it. Will approve as it's clear this is needed but I now have another question - how do you switch/configure Tilt to use nodemon? Thanks.

The docs for setting it up is outlined in the PR description 👀 🙈 😂.
But essentially you:

setup your env like you would normally to run in 'Tilt Dev' mode
open the tilt file
delete the line including repositories/overseas-entities-web/Tiltfile.dev
in the list of docker compose files at the top, add repositories/overseas-entities-web/dev.docker-compose.yaml

It's that docker compose file that uses this dev.dockerfile to build on
1|  version: "3.8"
2|
3|  services:
4|    overseas-entities-web:
5|      build:
6|       context: .
7|        dockerfile: repositories/overseas-entities-web/dev.dockerfile <---
8|  ...

Ah right, then I didn't read the PR description!! 😆
Apologies! But thanks for the explanation and all good.


[Bug report] Can't edit paimon catalog due to valid error ValidationError: propItems[3].value is a required field

Version
main branch
Describe what's wrong

Error message and/or stacktrace
N/A
How to reproduce

Create a Paimon catalog
Edit the catalog
Click "UPDATE"

Additional context
No response

@LauraXia123 Can you help check this issue?


docs(README): explain outputPath && publicPath subtility

Closing due to inactivity for now, feel free to reopen :)


esp_wifi_set_csi(1)    Error

Describe the bug
An error occurs in csi_component.h" line 96

ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40088434
file: "../main/../../_components/csi_component.h" line 96
func: void csi_init(char*)
expression: esp_wifi_set_csi(1)

I replaced "ESP_ERROR_CHECK(esp_wifi_set_csi(1))" with "esp_wifi_set_csi(1)" and it worked fine.
I tied to track  "esp_wifi_set_csi(1)" to see what is the problem but I could not find the source.
Tool Settings

Baud Rate: 152000
WiFi Channel per Device: 6
FreeRTOS > Tick rate (Hz):  not sure

To Reproduce
Steps to reproduce the behavior:
Build project(s) :  ACTIVE_AP
Flash project(s) :  ACTIVE_AP
Desktop (please complete the following information):
OS: Windows10
ESP-IDF Version: 4.4
Thanks in advance.

I have also encountered this same error.

Baud rate: 115200
Project: passive
ESP-IDF: 4.3.2
OS: Win 10

I solved this problem by selecting o menuconfig > Conponent config > WI-FI  > WiFi CSI (Chanel State Information).

Hello, for a student engineering project I need to access raw CSI data, could you tell me more about the hardware setup you used? Do you have any ressources for how to use esp32 in that case?


solve issue on Add Discord invite link embedded in a logo in Readme #376

Description 📜

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #376
here i added Discord invite link embedded in a logo in Readme file

Domain of Contribution 📊

[ ] Web Development
[ ] App Development
[ ] Flutter Projects
[ ] Python Projects
[ ] C++ Projects
[ ] Clone Projects
[ ] HTML Projects
[ ] Javascript Projects
[ ] Machine Learning Projects
[ ] Others

Checklist ✅

[x] I have added a readme file with the description of my project.
[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.

Screenshots / Gif (Optional) 📸

before updation :
![Screenshot (113)](https://user-images.githubusercontent.com/72978519/136697069-caa733ef-5b73-48ac-913b-8f4c130daea1.png)
after solving error 👍

Pls resolve the conflicts in README


Implement password wall design to spec

Description (what's changed?)
Implements password wall design to spec
Testing instructions
Go to the app

Task linked: CU-86ay8mw8d Implement password wall design to spec


Java compatibility with API of NotEmptyList

Description
Like discussed in #156, we would like to mark declarations using the NotEmptyList type with the JvmName annotation for being able to call them from Java code.
Dependencies
This issue is blocked by the following ones:

[x] #176

Checklist

[ ] Mark declarations using this type with the JvmName annotation and test them on the JVM platform.
[ ] Check and update the public API binaries.
[ ] Update the Unreleased section in changelog.

We will not implement the idea https://github.com/kotools/types/discussions/156#discussioncomment-7347670.


Allow user to configure third number shown next to service bus queue name

While fixing an unrelated bug I finally found out what the third number shown is. It's the "TransferDeadLetterMessageCount"
As we don't use this I have compiled a version for our internal use, which shows the "ScheduledMessageCount" which we use instead.
A usefull enhancement might be to allow the end user to be able to configure which counts are shown next to the queue in the tree view.

Originally, the tool showed just two numbers: active and dead-lettered message counts. And that's because every queue is technically two queue: the actual queue and DLQ sub-queue.
Transfer dead-lettered messages where added as a result of the discovery of a very poorly documented fact that T-DLQ is yet another sub-queue. What's worse is that when that sub-queue contains messages, errors caused those messages to begin with would never be logged or surfaced to the users.
In terms of usability, I can see that someone who's not concerned about T-DLQ-ed messages would rather see Scheduled messages. Or perhaps Deferred messages? After all, deferred messages cannot be received and have to be proactively fetched to be processed. So should the configuration allow to chose between these 3 options? Or maybe we need to revisit the UI (which BTW is already showing that information).

Let's discuss 🙂

I 100% agree with you that the UI shows the full info for the "selected" queue. However in our case we need to monitor several queues, so we select the queues node and press F5 and get an overview we can then click on the queue we want detailed info on.
The option I was think about was to keep the first two counts as fixed, then allow the user to chose which other count was displayed as the third number.

Hi @MikeWilliams-UK you can eventually submit a PR to eventually add a dropdownlist to the Options form that allows to select what the third number shows: TransferDeadLetterMessageCount, ScheduledMessageCount, TransferMessageCount or TransferDLMessageCount. Meanwhile, I close this issue.


Does 'lines' work on Windows?

I was reading the code of lines in connection to #3 and noticed that it only cares about \ns.
I call lines on the result of getContents, which requires binary mode. That in turn means that the automatic newline conversion won't be happening.
So, if I'm reading this right, the code will not work correctly on Windows, will it?

FYI, I started working on this in my fork (as you can see above).
I'll let you know once I finish.

Sorry, I'm just getting to these. I was trying in these modules to replicate Data.ByteString.Lazy(.Char8) as much as possible. In bytestring, no account is taken of line endings other than \n it seems.  http://hackage.haskell.org/package/bytestring-<IP_ADDRESS>/docs/src/Data.ByteString.Lazy.Char8.html#lines

Yes, I also noticed that. But I don't think we should regard that as a standard; see e.g. this stackoverflow discussion.
Another question is whether unlines should be changed, too... While the conversion in lines hardly has any downsides, it's much trickier with unlines.


High latency when using Logger class

It appears that the Google::Cloud::Logging::Logger class makes individual blocking RPCs for each log entry. We were prototyping a Rails app that emits maybe a few dozen log entries per request, and this quickly became by far the bulk of the request latency as a whole.
Is there currently any plan or discussion around non-blocking RPCs, batching log entries, and/or any other ideas for improving Logger latency?

No current plans, but we are open to any/all of these ideas to improve.

@dazuma Great issue! Thanks for investigating this. I'm sure there are obstacles, but it would be awesome to have access to your test/demo app, if by any chance you can open-source it. (and most importantly: its deployment configuration...)

Closing this, since the AsyncWriter work has been merged.

Thanks Dan!


http_sd_config does not accept "application/json; charset=UTF-8" content type

What did you do?
Wrote a custom http_sd_config service discovery sidecar
What did you expect to see?
Succesfull call to url
What did you see instead? Under which circumstances?
2021-06-30T05:30:18.87+0200 [APP/PROC/WEB/0] OUT level=error ts=2021-06-30T03:30:18.876Z caller=refresh.go:79 component="discovery manager scrape" discovery=http msg="Unable to refresh target groups" err="unsupported content type \"application/json; charset=UTF-8\""

This is a valid Content-Type response but it is apparently not accepted by the http_sd_config handler.
Environment
Custom sidecar process using Echo v4 framework

System information:

Linux 5.4.0-72-generic x86_64

Prometheus version:

prometheus, version 2.28.0 (branch: HEAD, revision: ff58416a0b0224bab1f38f949f7d7c2a0f658940)
build user:       root@32b9079a2740
build date:       20210621-15:45:36
go version:       go1.16.5
platform:         linux/amd64

Prometheus configuration file:

- job_name: tf-redis-exporter-b18b3657a182435e-exporter
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /scrape
  scheme: http
  follow_redirects: false
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: tf-redis-exporter-b18b3657a182435e.apps.internal:9121
    action: replace
  http_sd_configs:
  - follow_redirects: false
    refresh_interval: 1m
    url: http://tf-redis-exporter-b18b3657a182435e.apps.internal:9122/targets

Logs:

2021-06-30T05:30:18.87+0200 [APP/PROC/WEB/0] OUT level=error ts=2021-06-30T03:30:18.876Z caller=refresh.go:79 component="discovery manager scrape" discovery=http msg="Unable to refresh target groups" err="unsupported content type \"application/json; charset=UTF-8\""

Already fixed: #8981


Integration not working after MSmartHome  change

After Midea changed to  MSmartHome
The integration is not working anymore - no errors in the log,
Account is correct - application working just fine

Thanks

Same issue. Unfortunately this integration doesn't work anymore :(

@andersonshatch any news?


patrol develop starts all group()s and test()s in a file, doesn't allow for more granular selection

Basically the title.
Idea:
patrol develop should accept --group and --test options to allow developers to pass names of the tests and groups to run.
$ patrol develop -t integration_test/awesome_test.dart --group 'alpha`

Context:

Support for multiple Dart-side group()s and test()s was added in #1634.

Possible follow-ups:

Add --exclude-group and --exclude-test. That'd introduce some more complexity and I don't think it's required it'll be a blocker for someone.

New idea: do the same thing that package:test does with --name and regex:
$ patrol develop -t integration_test/example_test.dart --name '.*' # selects all tests
$ patrol develop -t integration_test/example_test.dart --name '.*user' # selects all tests that end with "user"


Add SourcePawn

Links to application or project’s homepages:

https://sm.alliedmods.net/
https://github.com/alliedmodders/sourcemod/
https://github.com/alliedmodders/sourcepawn/

@CrazyHackGUT thanks for the contribution! Unfortunately this seems like a minor template and doesn't feel like a good fit for this repository.


Wrapped pre element in a grid container grows column albeit overflow being auto/scroll

Reduced Test Case

(I’m not sure whether that’s a bug or as per specification. Atleast for me, it is unexpected.)

An element specifies display: grid and some maximum width (e.g. 400px)
A child pre element has overflow: auto or overflow: scroll. If it overflows, it triggers scrollbars. The one grid column will then grow to the specified maximum width
Now, another pre element is wrapped in another element (it’s no longer a direct child of the grid container). It has the same properties as the other pre element. If it overflows, it grows as wide as its content demands. The one grid column will then grow just as wide.

Is this to be expected?
Let me know if additional info is needed. :)

Closing as intentional.
For more information, read css-tricks.com: Preventing a Grid Blowout.


Kite does not detect neovim on Linux

Running the installer, I notice that it does not detect neovim on my system, even though it is my default editor. It finds vim and vscode and offers to install the plugin for those. Can it be installed manually?
Running version 2.20190627.0 on Debian

Hi @fonnesbeck
Sorry for the delay here.
As of the latest version of Kite, you should be able to get Kite to detect your editor by starting an nvim instance and then restarting the Kite engine while nvim is still running. Please try this and let us know if you are still having trouble. Then you can install the plugin, and restart nvim for changes to take effect.
You can also install manually: https://github.com/kiteco/vim-plugin, but installing through Kite has the benefit of Kite keeping your plugin up-to-date. We have a rolling release process, so old versions of the plugins are not guaranteed to always work with the latest version of Kite.
For now I'm going to close this issue. Feel free to reopen if the steps I described above don't work for you.


release 1.0.1 does NOT work because nodejs8.10 is no longer supported

I followed this Alexa tutorial article.
https://developer.amazon.com/blogs/alexa/post/ab0901f8-5b18-483c-91ea-5d2347e117ca/how-to-set-up-alexa-account-linking-with-amazon-cognito-user-pools-to-create-a-personalized-customer-experience
Under "Create AWS Lambda Function",
I followed the link below to deploy a lambda function.
https://us-west-2.console.aws.amazon.com/lambda/home?region=us-west-2#/create/app?applicationId=arn:aws:serverlessrepo:us-east-1:173334852312:applications/alexa-skills-kit-nodejs-premium-facts-skill
Cloudformation showed Error:
CREATE_FAILED
The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException;

The same issue I encountered.

Thank you for the feedback. The serverless app has been updated.


COBOL textmate - the begin/end rules no longer work since the management of the line number and identification zones was added

Development environment used

Z Open Editor version: 4.1.0
Editor Platform

[X] Visual Studio Code
[ ] Red Hat CodeReady Workspaces
[ ] Eclipse Che
[ ] Standalone Theia

Editor Platform Version: 1.88.0
Operating System: Windows 10
Java Version: 1.17
[ ] Related to RSE API?

RSE API Plugin version:
Zowe CLI version:
Node.js version:

Logs attached:no

Problem Description
The begin/end rules no longer work since the management of the line number and identification zones was added.
This is due to the addition of the following rule at the start of the textmate grammar:
    {
      "match": "(^.{6})(.{0,66})(.*$)",
      "captures": {
        "1": {
          "name": "entity.name.function.seqnum"
        },
        "2": {
          "patterns": [
            {
              "include": "source.cobol"
            }
          ]
        },
        "3": {
          "name": "entity.name.function.seqnum"
        }
      }
    },

It has the effect of isolating the text in columns 7 to 72 and it is on this isolated text that the other rules are applied, therefore the rules based on begin / end (or while / end).
If this rule is disabled, then begin/end based rules work.
This impacts the management of multi-line EXEC xxx/END-EXEC sequences.
Observed behavior

Expected behavior

With additional management of line number and identification zones.

Related issue:
401

Hi,
I think that to resolve this problem we need to review the organization of the rules in the cobol.json file:

first process lines blocks, and potentially nested blocks,
in each block process each line: it is at this stage that the line must be divided between columns 1-6, 7, 8-72, 72-80, beyond 80,
process each token of 8-72 part of splitted line.

This means declaring a repository of named rules and referencing these named rules according to the sequence indicated above.
I am currently working on such an implementation and will come back here to share my work.

Hi,
I think that to resolve this problem we need to review the organization of the rules in the cobol.json file:

first process / isolate lines blocks, and potentially nested blocks,
in each block process each line, for captured lines and begin / end lines: it is at this stage that the line must be splitted between columns 1-6, 7, 8-72, 73-80, beyond 80,
process each token of 8-72 part of splitted line.

Blocks are:

"exec xxx" / "end-exec": call to external textmate with a local filtering for COBOL lines or parts of line (splitting line, COBOL comments, COBOL variable, ...)
comment paragraphs in Identification Division (ie: Remarks paragraph wich is a comments lines block)
others ?

Implementing "Division" blocks give capacity to implements fine grain rules:

level number for data-item in Data Division: they are level before to be number
pure numeric paragraph names in Procedure Division: they are identifier before to be numeric

Blocks can be:

"begin" / "end" when an "end" token exists
"begin" / "while" (not) when no end token exists (the "end" is the start of another block)
a single line (last rule in blocks rules)

Also consider "bad formed" blocks: missing end pattern in source text, so perhaps "begin" / "while" should be privilegied.
This means declaring a repository of named rules and referencing these named rules according to the sequence indicated above.
I am currently working on such an implementation and will come back here to share my work.
Difficulty is to isolate active tokens in begin / end / while rules (deal with commented tokens): trying to implement lookhead / lookbehind regex for this.

Hi @FALLAI-Denis, thank you for investigating this. Please do keep us updated on your findings. Will mark this and #401 as enhancements for now and investigate what we can do as well.


example.hpp: splitting OpenGL window into classes!

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Kernel Version (Linux Only)

Platform
PC

SDK Version
2.16.1

Language
C++

Segment
others

Hello once more again!
I previously attempted to create a new class file to create a OpenGL window to display the camera frames without example.hpp here.
But I still had trouble doing it despite, so I went back to looking at example.hpp and modified as little as possible to make it work. However, I have another slight problem that I cannot seem to overcome.
Desired Output

Here is the source code to display the above:
// main.cpp

int main(int argc, char* argv[]) {
	rsgui rsgui;
	rsgui.init();
}

// rsgui.hpp

class rsgui {
public:
	window_rs window; // window_rs is actually "window" class from example.hpp, just slightly modified.

	void init();
};

// rsgui.cpp

void rsgui::init() {
	window.onCreate(1280, 720, "IntelRealsenseXOneS"); //onCreate is actually constructor of "window" class from example.hpp
	ImGui_ImplGlfw_Init(window, false);

	texture_rs rgbPreview; // "texture" class from example.hpp
	rs2::pipeline pipe;

	pipe.start();

	bool show_color_camera = false;
	bool button_pressed = false;

	while (window) {
		rs2::frameset data = pipe.wait_for_frames();
		rs2::frame color = data.get_color_frame();
		rgbPreview.render(color, { 0, 0, window.width() / 2, window.height() / 2 });

		ImGui_ImplGlfw_NewFrame(1);
		menuGUIx(show_color_camera, button_pressed);
	}

}

Issue
As you noticed in rsgui.hpp, I created a public class object window_rs window; so as to be able to access window in the other class functions, instead of just using it in init() for example. I hope to be able to do this in order to make the code more modular and simpler. Also, there is a while(1) loop in init, which is a blocking function :( ..
Here is the source code I have tried:
// main.cpp

int main(int argc, char* argv[]) {
	rsgui rsgui;

	rsgui.init(); // Initializing the window object in rsgui.hpp class
	std::thread t2(&rsgui::testFunc, rsgui); // Threading to display camera frames

	t2.join();
}

// rsgui.hpp

class rsgui {
public:
	window_rs window;

	void init();
	void testFunc();
};

// rsgui.cpp

void rsgui::init() {
	window.onCreate(1280, 720, "IntelRealsenseXOneS");
	ImGui_ImplGlfw_Init(window, false);
}

void rsgui::testFunc() {
	texture_rs rgbPreview;
	rs2::pipeline pipe;

	pipe.start();

	bool show_color_camera = false;
	bool button_pressed = false;

	while (window) { // PROBLEM(?)
		rs2::frameset data = pipe.wait_for_frames();
		rs2::frame color = data.get_color_frame();
		rgbPreview.render(color, { 0, 0, window.width() / 2, window.height() / 2 });

		//ImGui_ImplGlfw_NewFrame(1); // Commented out since testing
		//menuGUIx(show_color_camera, button_pressed); // Commented out since testing
	}
}

The code does compile, but I get this result:

Through some testing, I believe it is while(window) in rsgui.cpp that is causing the issue, since while(1) also causes the issue.
In case you want to see my modified example.hpp file, the source code for that class is here.
Any help is appreciated, thank you once again for reading! Let me know if I need to further clarify on anything 😄

No I have not.. because I couldn't find a solution I ended up writing all my test functions in a single function rsgui.init(), all together in a while(window) loop.
Here is what it currently looks like:
Source.cpp
int main(int argc, char* argv[]) {
	rsgui rsgui;

	std::thread t1(&rsgui::init, rsgui);
	t1.join();
}

rsgui.cpp
void rsgui::init() {
	window.onCreate(1280, 720, "IntelRealsenseXOneS");
	ImGui_ImplGlfw_Init(window, false);

	std::ofstream testFile;
	testFile.open("test.csv");

	texture_rs rgbPreview, depthPreview;
	rs2::colorizer color_map;
	//rs2::pipeline pipe;
	auto pipe = std::make_shared<rs2::pipeline>();

	pipe->start(); // Cannot loop this over and over again

	bool show_color_camera = false;
	bool show_depth_camera = false;
	bool camera_button = false;
	bool coordinates_button = false;
	bool CSV_button = false;

	bool recorded = false;
	bool recording = false;

	while (window) {
		ImGui_ImplGlfw_NewFrame(1);
		menuGUI(show_color_camera, show_depth_camera, camera_button, coordinates_button, CSV_button);

		if (show_color_camera == true || show_depth_camera == true) {
			rs2::frameset data = pipe->wait_for_frames();
			rs2::frame color = data.get_color_frame();
			rs2::frame depth = color_map(data.get_depth_frame());
			//rs2::depth_frame depthS = data.get_depth_frame();

			if (show_color_camera) {
				//std::cout << depthS.get_distance(640, 360) << std::endl;
				rgbPreview.render(color, { 640, 0, window.width() / 2, window.height() / 2 });
			}
...
...

I will give it another shot to try and make it work again tomorrow. If you need any further information please let me know! Thank you Sergey!

[Realsense Customer Engineering Team Comment]
Hi @HippoEug,
In the GLFW document, we can find these words.
Most GLFW functions must only be called from the main thread, but some may be called from any thread.
http://www.glfw.org/docs/latest/intro_guide.html#thread_safety
I think, write all GLFW function in the same thread is an easy solution.

Yeah I think that is my only option at the only time. Thank you for your reply ❤!


Out of memory error (in Chrome last version)

Hello,
I've got an out of memory error with the following library:
@grapecity/wijmo.all

Does this still happen? https://npm.anvaka.com/#/view/2d/%2540grapecity%252Fwijmo.angular2.all - i tried this and was able to get the picture