help needed for configuration

After installing from NC app store and activating solid app i can find "/var/www/nextcloud/apps/solid/composer.json". Are you talking about this when considering something like "take and put JSON from ... to" and do you mean "copy the file".
When doing "https://myDomain/.well-known/openid-configuration" i get "message: openid-configuration not supported".
Some hints would be great.
Regards markus

Hi! Lets see if we can get you up and running...
For Solid NC to work, the OpenID .well-known file needs to be present under https://myDomain/.well-known/openid-configuration.
When this plugin was created, Nextcloud (NC20) did not have a mechanism to add files underneath  https://myDomain/.well-known/. All URLs had to be underneath the App space. This means the file is present at https://myDomain/index.php/apps/solid/openid (or https://myDomain/apps/solid/openid) instead of where it should be.
It could be possible to redirect from /.well-known/openid-configuration to /index.php/apps/solid/openid (for instance in the Apache config or a .htaccess file) but it proved difficult to add CORS headers to the redirect. Hence the advice to copy the JSON content from /index.php/apps/solid/openid to /.well-known/openid-configuration.
Reading the INSTALL.md, I think some rewording is needed to make that more clear.
In newer versions of Nextcloud it is (finally!) possible to add well-known file. We plan to implement this (see #46) but we need to finish #59 first, so for now the copy/paste is the best we can offer 😞
To get things started, is there JSON content at https://myDomain/index.php/apps/solid/openid ?

Thank you @Potherca
Sorry for being late. I appreciate your assistance.
When doing "https://myDomain/apps/solid/openid" a blank page opens.

No apology needed! I know everyone has their own timeline to consider.
If https://myDomain/apps/solid/openid shows a blank page, it is most likely there is an error somewhere underwater.
It might show up in your error logs.
What Nextcloud and PHP version are you using?

<IP_ADDRESS>
7.4.27

Ah, good! Then we can, at least, be assured it isn't one of the PHP8 related issues. NC22 has not been explicitly tested yet (this was planned together with PHP8 support) but things should work the same as NC21, which has been tested.
Remote debugging is somewhat cumbersome, so please bear with me. First, lets validate some assumptions:

Is there a vendor directory besides the  composer.lock file? (I.e. in the same directory on disk as where the  composer.json and composer.lock are)
To make sure there isn't some routing weirdness, is the response the same for
/index.php/apps/solid/openid (without trailing slash) and /index.php/apps/solid/openid/ (with trailing slash), as well as with and without the index.php prefix?
Are there any PHP errors in the error logs? (usually somewhere like nextcloud/data/nextcloud.log)

Thank you @Potherca

No vendor directory:
:~ $ ls /var/www/nextcloud/apps/solid/ appinfo  build  composer.json  composer.lock  css  img  js  lib  LICENSE  Makefile  phpunit.integration.xml  phpunit.xml  README.md  templates  tests
https://<myDomain>/index.php/apps/solid/openid: empty page
https://<myDomain>/index.php/apps/solid/openid/: empty page
https://<myDomain>/apps/solid/openid: empty page
https://<myDomain/apps/solid/openid/: empty page
When doing :/var/www/nextcloud/data# grep -E 'error' nextcloud.log | grep -E 'php' i get plenty of output such as {"reqId":"FXRwhucjBVp4psZTvZfU","level":3,"time":"2021-12-30T16:08:59+01:00","remoteAddr":"<wanIP>","user":"<user>","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 FATAL:  terminating connection due to administrator command\nSSL connection has been closed unexpectedly\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","version":"<IP_ADDRESS>","exception":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 FATAL:  terminating connection due to administrator command\nSSL connection has been closed unexpectedly\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.","Code":7,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1780,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\PostgreSQL\\ExceptionConverter","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1719,"function":"handleDriverException","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1067,"function":"convertExceptionDuringQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php","line":59,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Registry.php","line":52,"function":"getState","class":"OC\\Authentication\\TwoFactorAuth\\Db\\ProviderUserAssignmentDao","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php","line":125,"function":"getProviderStates","class":"OC\\Authentication\\TwoFactorAuth\\Registry","type":"->"},{"file":"/var/www/nextcloud/core/Middleware/TwoFactorMiddleware.php","line":119,"function":"isTwoFactorAuthenticated","class":"OC\\Authentication\\TwoFactorAuth\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":97,"function":"beforeController","class":"OC\\Core\\Middleware\\TwoFactorMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php","Line":83,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDO\\Exception","Message":"SQLSTATE[HY000]: General error: 7 FATAL:  terminating connection due to administrator command\nSSL connection has been closed unexpectedly\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.","Code":7,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":94,"function":"new","class":"Doctrine\\DBAL\\Driver\\PDO\\Exception","type":"::"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1057,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php","line":59,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Registry.php","line":52,"function":"getState","class":"OC\\Authentication\\TwoFactorAuth\\Db\\ProviderUserAssignmentDao","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php","line":125,"function":"getProviderStates","class":"OC\\Authentication\\TwoFactorAuth\\Registry","type":"->"},{"file":"/var/www/nextcloud/core/Middleware/TwoFactorMiddleware.php","line":119,"function":"isTwoFactorAuthenticated","class":"OC\\Authentication\\TwoFactorAuth\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":97,"function":"beforeController","class":"OC\\Core\\Middleware\\TwoFactorMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":26,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[HY000]: General error: 7 FATAL:  terminating connection due to administrator command\nSSL connection has been closed unexpectedly\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.","Code":"HY000","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":92,"function":"execute","class":"PDOStatement","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1057,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php","line":59,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Registry.php","line":52,"function":"getState","class":"OC\\Authentication\\TwoFactorAuth\\Db\\ProviderUserAssignmentDao","type":"->"},{"file":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php","line":125,"function":"getProviderStates","class":"OC\\Authentication\\TwoFactorAuth\\Registry","type":"->"},{"file":"/var/www/nextcloud/core/Middleware/TwoFactorMiddleware.php","line":119,"function":"isTwoFactorAuthenticated","class":"OC\\Authentication\\TwoFactorAuth\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":97,"function":"beforeController","class":"OC\\Core\\Middleware\\TwoFactorMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":92}},"CustomMessage":"--"}}

Maybe this not to be of much interest to you and there is some better expression for grep to find what you want.

Hmmm... Looking at the INSTALL.md instructions, I see that composer install is only mentioned when installing the app from source. But without the vendor directory nothing works, as all the third-party dependencies live there. We had the same issue in #50.
We really need to work on those install instructions 😞 Or maybe add the vendor package to the repo or deploy package.
For now, is it possible for you to run composer install --no-dev --prefer-dist in the /var/www/nextcloud/apps/solid/  directory?
(Or composer.phar install --no-dev --prefer-dist, depending on your setup).
I'll think on a better regex in case we need one further along.

Not possible:
root@<host>:/var/www/nextcloud/apps/solid# composer install --no-dev --prefer-dist
-bash: composer: Kommando nicht gefunden.
root@<host>:/var/www/nextcloud/apps/solid# composer.phar install --no-dev --prefer-dist
-bash: composer.phar: Kommando nicht gefunden.

Not possible:
root@<host>:/var/www/nextcloud/apps/solid# composer install --no-dev --prefer-dist
-bash: composer: Kommando nicht gefunden.
root@<host>:/var/www/nextcloud/apps/solid# composer.phar install --no-dev --prefer-dist
-bash: composer.phar: Kommando nicht gefunden.

Thank you for trying! I've been looking into things from our end, and it looks like during the last release, the step to add the vendor directory was missing. 😭
I've opened issues to fix the package release (#64), add the vendor directory (#65), and to warn other users while this issue is not resolved (#66).
For a new release I will need to work together with another member of our team, which will be monday at the soonest.
Looking at my current projects and deadlines, automation will probably take another week or so.
Regarding your issue, this gives us three options:

I could walk you through the process to get composer and run the vendor install step (the workaround described in #66)
You wait until a new release has been deployed (with the vendor included)
You wait until the process is automated on our end and a new release has been deployed

Whichever you choose, thank you again for reporting this and bearing with us. This project is still very young, and we appreciate any interst (and feedback!) it receives.

Thank you @Potherca
You are very welcome.
I know the project is young. When i started reading about the solid project, i wanted to have my own instance for privacy concerns. But i was somehow feared my knowledge not to be sufficient to get it up and running. So i started by having my own cloud. Now getting my own solid instance through NC-app would make me very happy.
I went through #66:
:/var/www/nextcloud/apps/solid $ sudo php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
:/var/www/nextcloud/apps/solid $ php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Installer verified
:/var/www/nextcloud/apps/solid $ sudo php composer-setup.php
All settings correct for using Composer
Downloading...
Composer (version 2.2.3) successfully installed to: /var/www/nextcloud/apps/solid/composer.phar
Use it: php composer.phar
:/var/www/nextcloud/apps/solid $ sudo php -r "unlink('composer-setup.php');"

I ran "composer install" as root despite the warning. Dependencies have been installed, but some warnings came up at the beginning and at the end:
:/var/www/nextcloud/apps/solid $ sudo php composer.phar install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Package operations: 54 installs, 0 updates, 0 removals
  - Downloading arc/base (2.1.1)
  ...
  - Installing phpunit/phpunit (5.7.27): Extracting archive
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

regards

My apologies for the delay, I was taken ill this week. 😥
The warnings about abandoned packages can be ignored. They are development dependencies which are not used by the main code. I'm working on updating the composer dependencies in a separate branch. From what I can see you shouldn't be too far behind with those dependencies so for now the warning about the lock file not being up to date can also be ignored.
At this point things at the .well-known/openid-configuration should start working, or we should start seeing errors in the Nextcloud logs (or the Apache logs if things are really bad).
You could also start seeing behaviour (i.e. errors) as described in #62. I'm hoping to merge and release fixes for this the coming week.

Thank you @potherca
No apology needed. Take your time to recover.
Actually i get output when doing "https://<myDomain>/apps/solid/openid" but also find log entries when starting solid:
[PHP] Error: in_array() expects parameter 2 to be array, string given at /var/www/nextcloud/apps/solid/lib/Controller/AppController.php#55

[PHP] Error: Invalid argument supplied for foreach() at /var/www/nextcloud/apps/solid/lib/Controller/AppController.php#37

[PHP] Error: Undefined variable: userClients at /var/www/nextcloud/apps/solid/lib/Controller/AppController.php#37

No errors in apache error.log so far.
With https://<myDomain>/.well-known/openid-configuration i get "not supported"

@Potherca
Tell me if i can contribute something.
No changes since my last post.

Things have been moving forward again lately!
Since release v0.5.0 the vendor directory has been part of the release, which solves this specific issue. (Hence me closing this issue)
Once #107 has been resolved, installing things should be smooth again (so you might want to wait for v0.7.1 to be released).


fix: QueryResults return startCursor if specified

Codecov Report

Merging #11 into master will increase coverage by 0.45%.
The diff coverage is 0.00%.

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


sort recommendations first by those who have collectives

sort first those with collectives & then the rest.

For now, we only have recommendations with collectives.

What I mean is, when you list the dependencies in the table below some of them have a collective linked to them, some don't. Instead of listing them alphabetically, I would bundle together all the repos with a certain collective, so it's easier for them to understand who affected they are by a collective.
For example: https://backyourstack.now.sh/ory
I would put first in the list the repositories with babel, the ones with jest & debug.
Then the rest of the dependencies with the Open Collective column empty


Syntax error when insert ; as its value.

It seems that a query is failed when including ; in MySQL like below;
create table if not exists `dbup_test` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `name` VARCHAR(50) NOT NULL,
  PRIMARY KEY (`id`) )
ENGINE = InnoDB;
insert into dbup_test (name) values(";");

Error occurs:
/usr/local/bin/php dbup.phar up
applied all candidates
applying... :V2__insert_test.sql

  [Dbup\Exception\RuntimeException]
  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right sy
  ntax to use near '"' at line 1

  insert into dbup_test (name) values("

up [--ini="..."] [-d|--dry-run] [file]

make: *** [mig-up] Error 1```

Environment:

-> % php dbup.phar --version
dbup version 0.4
-> % mysqld --version
mysqld  Ver 5.6.15 for osx10.9 on x86_64 (Homebrew)

When running a same query in mysql shell, it works well.
mysql> insert into dbup_test (name) values(";");
insert into dbup_test (name) values(";");
Query OK, 1 row affected (0.00 sec)

thank you for your report.
I check this bug.

.... https://github.com/brtriver/dbup/blob/master/src/Dbup/Application.php#L252

:eyes:

on fixing ...


Not able to expose service

Bug Description
I am not able to expose Mysql service outside of private network
I believe the issue is on the open ports Juju shows in status
To Reproduce
$ juju add-credential aws --client
$ juju show-cloud --local aws
$ juju bootstrap aws aws-controller

$ juju add-model databases
$ juju deploy mysql --channel=latest/edge
$ juju expose mysql

$ telnet <IP_ADDRESS> 3306
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection timed out

Environment
Cloud: AWS
Juju: 2.9.34 (Client and Controller)
Mysql charm: latest/edge (rev 80)
$ juju status -m aws-controller:databases
Model      Controller      Cloud/Region   Version  SLA          Timestamp
databases  aws-controller  aws/us-east-1  2.9.34   unsupported  16:49:50-04:00

App    Version          Status  Scale  Charm  Channel      Rev  Exposed  Message
mysql  8.0.30-0ubun...  active      1  mysql  latest/edge   80  yes      Unit is ready: Mode: RW

Unit      Workload  Agent  Machine  Public address  Ports  Message
mysql/0*  active    idle   0        <IP_ADDRESS>          Unit is ready: Mode: RW

Machine  State    Address        Inst id              Series  AZ          Message
0        started  <IP_ADDRESS>  i-031aae0b28befda3f  focal   us-east-1c  running

Relevant log output
n/a

Additional context
As a workaround I had to open the service port manually
$ juju run -m aws-controller:databases -u mysql/leader 'open-port 3306/tcp'
$ juju status -m aws-controller:databases

databases  aws-controller  aws/us-east-1  2.9.34   unsupported  16:53:22-04:00

App    Version          Status  Scale  Charm  Channel      Rev  Exposed  Message
mysql  8.0.30-0ubun...  active      1  mysql  latest/edge   80  yes      Unit is ready: Mode: RW

Unit      Workload  Agent  Machine  Public address  Ports     Message
mysql/0*  active    idle   0        <IP_ADDRESS>   **3306/tcp**  Unit is ready: Mode: RW

Machine  State    Address        Inst id              Series  AZ          Message
0        started  <IP_ADDRESS>  i-031aae0b28befda3f  focal   us-east-1c  running

$ telnet <IP_ADDRESS> 3306
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
[
8.0.30-0ubuntu<IP_ADDRESS>'=KjZ2�,=z%J(2
caching_sha2_password^]
telnet> quit
Connection closed.

After doing so, I do was able to see AWS security groups getting created

Name
Security group rule ID
IP version
Type
Protocol
Port range
Source
Description

–
sgr-055ed97fc945cee9a
IPv6
MYSQL/Aurora
TCP
3306
::/0
–

–
sgr-040da8c492cfa9a3e
IPv4
MYSQL/Aurora
TCP
3306
<IP_ADDRESS>/0
–

Hi @gustavosr98 and thank you for the bugreport!
The lack of exposing port is confirmed and will be addressed in https://warthogs.atlassian.net/browse/DPE-1214, https://warthogs.atlassian.net/browse/DPE-1215, https://warthogs.atlassian.net/browse/DPE-1216 and https://warthogs.atlassian.net/browse/DPE-1216 for mysql/mysql-router*VM/K8s respectively.
Tnx!

Dear @gustavosr98 the latest versions of VM charms mysql (channel edge) and mysql-router (channel dpe/edge) are able to expose ports, please check it from your side. K8s versions of charms are pending for migration on juju 3.1 (there are recent changes about sidecar ports exposing).
I am resolving this ticket as it was about VM charm. Feel free to reopen in if the issue is still reproducible on your side.
Thank you for the bugreport!


Implement Multi-Asset JSON instances

Multi-Asset JSON is of the following format:
{
  "fooPolicyId": { "fooAssetName": 42 },
  "barPolicyId": { "barAssetName": 84 },
  "lovelace": 3
}

Just a note that this needs to be rebased on master.

Sorry, I think we both did the last bit of name changing at the same time.

bors merge

https://hydra.iohk.io/build/4907903/nixlog/1

             ┏━━ test/Test/Cardano/Api/Typed/Value.hs ━━━
          35 ┃ prop_roundtrip_Value_unflatten_flatten :: Property
          36 ┃ prop_roundtrip_Value_unflatten_flatten =
          37 ┃     property $ do
          38 ┃       v <- forAll genValueNestedRep
             ┃       │ ValueNestedRep [ ValueNestedBundleAda 0 ]
          39 ┃       let v' = valueToNestedRep (valueFromNestedRep v)
          40 ┃       v `equiv` v'
          41 ┃   where
          42 ┃     equiv (ValueNestedRep a) (ValueNestedRep b) = sort a === sort b
             ┃     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             ┃     │ ━━━ Failed (- lhs) (+ rhs) ━━━
             ┃     │ - [ ValueNestedBundleAda 0 ]
             ┃     │ + []

Ok, this is a (minor) problem. The generator is producing nested rep values with zeros for the ada case. That's not a canonical representation.
Either we should canonicalise the nested rep, or we should generate only canonical reps.
I think the better solution is to canonicalise only the original rep and then we just use
canonicalise v === valueToNestedRep (valueFromNestedRep v)

The canonicalise would eliminate zero quantities, merge (sum) duplicates, and put the entries in order.

bors merge

bors merge

bors merge


Branch 0xflotus2

Description

Changed the hard coded Characters to Unicode. This will fix an issue that some Browsers can't render it correctly.
Motivation and Context

Checklist

[ ] I have added tests covering my changes
[ ] All new and existing tests pass
[ ] My changes required the documentation to be updated
  [ ] I have updated the documentation accordingly
  [ ] I have updated the TypeScript 1.8 type definitions accordingly
  [ ] I have updated the TypeScript 2.0+ type definitions accordingly

Current Versions of Firefox and Safari on macOS

@0xflotus It looks good for me on both Safari and Firefox on macOS with this example: https://codepen.io/simeg/pen/mEmQmP
Would you mind providing any screenshots?


added portfolio data entry

I added a portfolio data entry, Baimam Boukar JJ

One last remark ... as indicated in the readme, the tags correspond to the domains so instead of putting "AWS and GCP" you can just put "Cloud" that would facilitate the filter.
And also ... If you can just put two of your names like ... "Baimam Jacques"

Tanks so much


Add client name

Coverage increased (+5.2%) to 68.085% when pulling aa4c7a0e0b06cb110e7de8160fd31f82069c784f on omsmith:add-client-name into 89c9324d88d97a40c431c2183f05eed295254845 on Brightspace:master.

Coverage increased (+5.2%) to 68.085% when pulling aa4c7a0e0b06cb110e7de8160fd31f82069c784f on omsmith:add-client-name into 89c9324d88d97a40c431c2183f05eed295254845 on Brightspace:master.

Coverage increased (+5.2%) to 68.085% when pulling aa4c7a0e0b06cb110e7de8160fd31f82069c784f on omsmith:add-client-name into 89c9324d88d97a40c431c2183f05eed295254845 on Brightspace:master.


Dependabot update to 0.9.1 fails

Dependabot in my GH CI has attempted to update iced_aw to 0.9.1
There appears to only be a 0.9.0 release here on GH.
Crates has a 0.9.1 obviously (https://crates.io/crates/iced_aw)
README only mentions 0.8.0 (https://github.com/iced-rs/iced_aw)
Failure to build related to bootstrap module can be seen here:
https://github.com/andrewdavidmackenzie/flow/actions/runs/8997579956/job/24715990236?pr=2219
Dependency on iced in HEAD of master is 0.12.1 (version = "0.12.1") the same as I am using in my project.
So, seems like something is out of alignment?
Any suggestions, or just hold off until a new release in crates.io?

Still fails with 0.9.2:
https://github.com/andrewdavidmackenzie/flow/actions/runs/9001918848/job/24729125684?pr=2222
See Cargo.toml contents here:
https://github.com/andrewdavidmackenzie/flow/pull/2222/files#diff-8a6d293dbd7f6b54e28c3f5d573ca2bc6ca4bec14ad29b92ee3714eff919b145R71

oops, i made the card example not use icons as a feature. Also i renamed required to bootstrap via path compile when feature is not icons. sorry about that.

so Ima take it this issue is resolved now?

Yes with last release


fix(remix-dev): improve appTemplate message

When running npx create-remix@latest, The CLI asks me
"Where do you want to deploy? Choose Remix if you're unsure; it's easy to  change deployment targets."
But there is no option such as Remix, but Remix App Server. This PR is to make users not confused when first using create-remix

@nvh95 Code changes need to go against dev.

@MichaelDeBoey I think if any code changes need to go against dev, then remix repository should set the default branch to dev, instead of main, it will be easier to contributors to create PRs.
cc: @kentcdodds

I'm pretty sure the majority of PRs are for docs/examples/templates which need to go into main. Additionally, folks contributing code normally take more care about something like that than someone contributing to docs. I think we've got the right default.

@kentcdodds I see, it's clear that I haven't checked out the CONTRIBUTING guide. Thanks.

In short,

docs/ example/ templates PRs => PR to main
Touches code => PR to dev


Add IAM convenience methods to Pub/Sub Project

The current Pub/Sub API has convenience methods to get/set a Topic or Subscription's policy, but not for a Project. With the conversion to GRPC we can add convenience methods to Project as well.

After discussing this further we decided not to go in this direction.


Tempoross Harpoonfish Notifier Plugin

A plugin that notifies you when a double Harpoonfish spot appears while doing Tempoross

Instead of having an entire plugin for something this narrow, it should be added to the existing Tempoross plugin

That would be ideal for sure but the original author doesn't seem to be active anymore and I'm not sure how to contact him other than creating an issue on the repo. Any thoughts?

Done, now we wait and hope, lol


[beta]Es6: Problems with the var keyword

Challenge Name
https://beta.freecodecamp.com/en/challenges/es6/problems-with-the-var-keyword
Issue Description

I'm not sure if it is a bug or just me, but I can't seem to pass this challenge, even my simply commenting out let redNosedReindeer = "Comet"; and re-ordering the code so the hoisting is done correctly to assign redNosedReindeer before favorite
Your Code

 `let redNosedReindeer = "Rudolph";
// let redNosedReindeer = "Comet";
let favorite = redNosedReindeer + " is Santa's favorite reindeer.";
`

Screenshot

Same issue, if it doesn't have a bug then it's not explained properly, I have tried every possible combination.
Also "favorite should return Santa's favorite reindeer.");" So we should delete the  "= redNosedReindeer +" from favorite as well? It's just overall confusing really.

"camper is loged" - typo - should be "logged".

Same issue here. Don't know what to do.

I just attempted this. Any time I tried to change the var to let and run the test it said "something went wrong" only time it worked was when I removed the "comet" line completely

I just attempted this. Any time I tried to change the var to let and run the test it said "something went wrong" only time it worked was when I removed the "comet" line completely

I had to do the same thing. Also it keeps saying "use the function form of use strict". I'm using Chrome

Yeah, this task is really annoying me, not explained properly... is incorrect, using wrong answers etc.

Hi, newbie helper here. I think the directions should be re-written. "Use strict" is not required to pass the test and there is no function (so you can't really use the function form of 'is strict'); furthermore, wrapping the code in a function either fails all of the tests or says 'something went wrong, try again later'. I would be happy to rewrite the directions to be more clear, or the tests to accommodate a function.

Getting error:
// running test
"missing ) after argument list"
// tests completed


Testbed installation in a VM

Dear all,
I'm currently trying to install the testbed on a Virtual Machine and I'm having issues getting the packages downloaded through the terminal, so I was wondering if it had to do anything with it being a Virtual Machine.

Hello @Emilio-UAQ
Can you please attach your terminal logs to this opened issue?
In this way, we can help you with the problem you arefacing.

Hello @Emilio-UAQ,
Are you still facing problems?


Parse Push - PHP SDK

Hi all,
I tried to test the new "opened sourced" push functionality of the Parse Server, using a PHP app i had build when parse was hosted.
The new setup (on heroku) tried to trigger a file "ParsePush.php" which is not available as far as i can see (ERROR: 3.4251	1228744	Parse\ParseClient::_request( )	../ParsePush.php:75).
Maybe this will be available soon on a PHP SDK update?
Am i missing something here ?

I just updated the PHP SDK to version 1.2.0, you can now change the server url after initialization with
ParseClient::setServerURL('http://localhost:1337/parse');

To send push, you'll need to pass the second parameter as true to use the master key:
ParsePush::send($data, true);

If you have trouble, re-open or post a new issue.  Thanks

Thank you @gfosco . I did what you said and now i get no errors.
Here is the trick though. When i use the cURL code from http://blog.parse.com/announcements/parse-server-push-notifications/ to test my server, i DO receive the notification on my phone.
When i try to push via code (php), i get NO errors on my heroku logs, but no notification is delivered (this code was working when i was on Parse hosting).
Any thoughts on that?
Thnx again.


[FLINK-23043][k8s] Get real master node address when kubernetes.rest-service.exposed.type is NodePort

What is the purpose of the change
When running with Native Kubernetes in application mode, and Fabric8 Kubernetes client is configured by Service account, if you specify -Dkubernetes.rest-service.exposed.type=NodePort, the IP address in JobManager Web Interface url displayed is not master node, but instead it is the ClusterIP of service kubernetes.default.svc. This pull request fixes this problem.
Brief change log

Get real master node address when running in Native Kubernetes application mode with Kubernetes client is configured by Service account and kubernetes.rest-service.exposed.type is NodePort

Verifying this change
This change is already covered by existing tests, and I have tested it in my environment.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes, Kubernetes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Fixed by #16720.


Add Tracer implementation. Fix visibility for some classes.

Codecov Report

Merging #290 into master will decrease coverage by 0.03%.
The diff coverage is 70%.

@@             Coverage Diff              @@
##             master     #290      +/-   ##
============================================
- Coverage     93.57%   93.53%   -0.04%
- Complexity      456      457       +1
============================================
  Files            78       79       +1
  Lines          1774     1780       +6
  Branches        110      110
============================================
+ Hits           1660     1665       +5
- Misses           84       85       +1
  Partials         30       30

Impacted Files
Coverage Δ
Complexity Δ

...nstrumentation/trace/ThreadLocalRandomHandler.java
0% <0%> (ø)
0 <0> (?)

.../instrumentation/trace/TraceComponentImplJava.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...a/com/google/instrumentation/trace/TracerImpl.java
100% <100%> (ø)
1 <1> (?)

.../instrumentation/trace/TraceComponentImplBase.java
92.3% <100%> (+0.64%)
5 <0> (ø)
:arrow_down:

...om/google/instrumentation/trace/RandomHandler.java
75% <66.66%> (-25%)
1 <0> (ø)

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 c47993f...9463ab6. Read the comment docs.


wallet network not supported: Make a more bautiful warning

Step to reproduce:

Select in Freighter Mainnet
Press: "Connect Wallet"

What to do:
Capture the error and show a Beautiful modal, following our band guidelines with the same warning text

Duplicated: https://github.com/soroswap/frontend/issues/133


0.9.4-preview2 makes package dependent on netcoreapp1.0

The latest nuget package seems to be a step backwards in the dependency requirements of the package metadata. Where 0.9.2 was dependent on netstandard1.3 which supports using this package in for example library projects, the latest version specifies netcoreapp1.0. This also stops it from being used in projects that target netcoreapp1.0 (or I didn't understand how to target an older framework).

I see that this has been fixed as part of #57. Happy to close, or leave as reminder to release new packages to nuget.

yes, this was a mistake. a new nuget package is coming hopefully today with some important changes.

Thank You!


How can I reduce the "Survey" TextFields to TextInput (or textarea to text box)

Bug description
The UI isn't good as the TextField in the survey is really larger. Even for one line answer the TextFile is too huge. Is there a way to change the default behaviour of the Engagement Survery forms
Steps to reproduce
Steps to reproduce the behavior:

Go to 'Create and share a Survey'
Click on 'Open the Survey'
Scroll down to 'see the lengthy TextBoxes'
See error

Deployment method (select with an X)

[ ] Kubernetes
[ ] Docker
[x] setup.bash / legacy-setup.bash

Those answers are just 1 line or 2 lines, but my whole screen is occupied with TextFields.. I tried to understand and modify, but couldn't do it. any suggestions.


First run after first install on fresh profile without Cloud SDK results in error

Description
On a completely fresh (MacOS) profile I installed a fresh version of the emulator, upon running just functions I get this:
 demo$ functions
Inferring project ID from Cloud SDK config. Speed up CLI commands by setting a project ID: functions config set projectId YOUR_PROJECT_ID or export GCLOUD_PROJECT=YOUR_PROJECT_ID
/bin/sh: gcloud: command not found
/usr/local/lib/node_modules/@google-cloud/functions-emulator/src/utils/project.js:63
    throw new Error('Please provide a project ID: "functions config set projectId YOUR_PROJECT_ID" or "functions start --projectId YOUR_PROJECT_ID" or "export GCLOUD_PROJECT=YOUR_PROJECT_ID"');
    ^

Error: Please provide a project ID: "functions config set projectId YOUR_PROJECT_ID" or "functions start --projectId YOUR_PROJECT_ID" or "export GCLOUD_PROJECT=YOUR_PROJECT_ID"
    at module.exports.err (/usr/local/lib/node_modules/@google-cloud/functions-emulator/src/utils/project.js:63:11)
    at Object.<anonymous> (/usr/local/lib/node_modules/@google-cloud/functions-emulator/src/options.js:26:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/@google-cloud/functions-emulator/src/cli/commands/call.js:23:17)

I don't yet have gcloud installed, so I suspect this may be the cause (?)

And if you do as it says (functions config set projectId YOUR_PROJECT_ID) does it work after that? Or does the gcloud: command not found error persist?

I believe this has been fixed.


AWS Sqs queueURL filter or Regex

HI , new to keda
i wander if we can regex "queueURL"
queueURL: https://queue.amazonaws.com/xxxxxxxxxxxxx/my-q-func-* <---- regex
as i can have one server that listen to many queues
my-q-func-1
my-q-func-2
etc ....
and can we add list of queues
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: aws-sqs-queue-scaledobject
  namespace: dev
spec:
  scaleTargetRef:
    name: dev-notification-processor-high
  triggers:
    - type: aws-sqs-queue
      authenticationRef:
        name: keda-trigger-auth-aws-credentials
        kind: ClusterTriggerAuthentication
      metadata:
        queueURL:
          - https://queue.amazonaws.com/xxxxxxxxxxxxxx/Organization-0
          - https://queue.amazonaws.com/xxxxxxxxxxxxxx/Organization-1
          - https://queue.amazonaws.com/xxxxxxxxxxxxxx/Organization-2
          - https://queue.amazonaws.com/xxxxxxxxxxxxxx/Organization-3
        queueLength: "1"
        awsRegion: "us-east-1"
        identityOwner: operator

Thanks

This sounds totally legit indeed, other upstreams like RabbitMQ or Azure ServiceBus supports this feature (regex), but I think that SQS SDK doesn't support it, am I right? I mean, on those scalers, it's the upstream who receives the request with the regex and who returns the values for them in a single request.
In SQS we need to get the queues list, apply the regex with the result, and then make multiple request on every metric request (or just supporting the list of queues to avoid the requirement of getting them). I'm not totally sure about how this will work.
Just to know your use case better, you want to scale based on Sum/Avg from all of those queues, right? I mean, atm KEDA supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject to get all the queues you want, but in this case the HPA Controller will do a Max between all the results and I guess it's not enough for you use case.

@JorTurFer HI
My case is that i have micro service that listen to sqs that reprised priority
so one service listen to 10 SQS that reprised "high " all the SQS have same name except the suffix
Noam-Notification-Organization-0...4
Noam-Notification-User-0..4
Noam-Notification-Login-0...4
so i have one service that listen to all "0" and one for "1" etc ....
i need to be able to create one target that will "*"
now i need to create "triggers" to all the SQS i cant do it like
triggers:
- type: aws-sqs-queue
authenticationRef:
name: keda-trigger-auth-aws-credentials
kind: ClusterTriggerAuthentication
metadata:
queueURL:
- https://queue.amazonaws.com/xxxxxxxxxxxxxx/Noam-Notification-Organization-*
as you suggest   "supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject" i will do this but if i have a we to wildcard it will be nice :-)
noam

as you suggest "supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject" i will do this but if i have a we to wildcard it will be nice :-)

I totally understand the requirement, but SDK has to support that feature because if the server doesn't do the filter, in client could be a problem if regex returns a lot of queues because we should do a request per queue instead of a single request with the regex.

This sounds totally legit indeed, other upstreams like RabbitMQ or Azure ServiceBus supports this feature (regex), but I think that SQS SDK doesn't support it, am I right? I mean, on those scalers, it's the upstream who receives the request with the regex and who returns the values for them in a single request.
In SQS we need to get the queues list, apply the regex with the result, and then make multiple request on every metric request (or just supporting the list of queues to avoid the requirement of getting them). I'm not totally sure about how this will work.
Just to know your use case better, you want to scale based on Sum/Avg from all of those queues, right? I mean, atm KEDA supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject to get all the queues you want, but in this case the HPA Controller will do a Max between all the results and I guess it's not enough for you use case.

Actually, even the service bus doesn't SDK doesn't support regex. The implementation is fetching all queues / subscriptions and then checking the regex on them.

This sounds totally legit indeed, other upstreams like RabbitMQ or Azure ServiceBus supports this feature (regex), but I think that SQS SDK doesn't support it, am I right? I mean, on those scalers, it's the upstream who receives the request with the regex and who returns the values for them in a single request.
In SQS we need to get the queues list, apply the regex with the result, and then make multiple request on every metric request (or just supporting the list of queues to avoid the requirement of getting them). I'm not totally sure about how this will work.
Just to know your use case better, you want to scale based on Sum/Avg from all of those queues, right? I mean, atm KEDA supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject to get all the queues you want, but in this case the HPA Controller will do a Max between all the results and I guess it's not enough for you use case.

Actually, even the service bus doesn't SDK doesn't support regex. The implementation is fetching all queues / subscriptions and then checking the regex on them.

Lol, you are right :(
Isn't this way a bit unsafe? I mean, what will happen if we have 100-200 queues in the ServiceBus / SQS / Etc? Will we request all of them every time? 1 single metric means a random number of queries to the upstreams?

This sounds totally legit indeed, other upstreams like RabbitMQ or Azure ServiceBus supports this feature (regex), but I think that SQS SDK doesn't support it, am I right? I mean, on those scalers, it's the upstream who receives the request with the regex and who returns the values for them in a single request.
In SQS we need to get the queues list, apply the regex with the result, and then make multiple request on every metric request (or just supporting the list of queues to avoid the requirement of getting them). I'm not totally sure about how this will work.
Just to know your use case better, you want to scale based on Sum/Avg from all of those queues, right? I mean, atm KEDA supports multiple triggers so you could use multiple SQS triggers in the same ScaledObject to get all the queues you want, but in this case the HPA Controller will do a Max between all the results and I guess it's not enough for you use case.

Actually, even the service bus doesn't SDK doesn't support regex. The implementation is fetching all queues / subscriptions and then checking the regex on them.

Lol, you are right :( Isn't this way a bit unsafe? I mean, what will happen if we have 100-200 queues in the ServiceBus / SQS / Etc? Will we request all of them every time? 1 single metric means a random number of queries to the upstreams?

I wouldn't say unsafe, but obviously it isn't going to be performant. Maybe we can mention this in the docs noting the limitation of the SDK.

Yeah, I think we should mention this in docs if we do it, because maybe someone uses a regex that returns a huge amount of queues, and the disclaimer there isn't wrong. With a few queues it won't be efficient but at least either be a problem, but imagine the hypothetical case where > 100-200 queues match with the regex...


Updated the Head

Updated the title and favicon of the site
Changes

Replaced the vercel logo file with the company's icon
Changed the title from ClueLess to ClueLess - First Contribution

Screenshots

Issue Link

@Rajdip019 Please review my pr

Hey can you please add the ClueLess Logo with white background? @dishant-yadav

Fine

Hey is it done? @dishant-yadav

Yeah it's done.

Nice. It looks awesome. Feel free to raise any issue if you find one and also discuss any idea you have to make it better. @dishant-yadav

Congrats 🎉, your PR got merged. To be eligible for the swags from iNeuron X ClueLess. Follow this steps.

SignIn / SignUp in ClueLess Website .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

Nice. It looks awesome. Feel free to raise any issue if you find one and also discuss any idea you have to make it better. @dishant-yadav

Thanks for merging the PR.

Congrats tada, your PR got merged. To be eligible for the swags from iNeuron X ClueLess. Follow this steps.
1. SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

2. Go to profile section from the top right hand corner.
   ![https://s3.us-west-2.amazonaws.com/secure.notion-static.com/74339abf-adaf-4b25-8496-7642f08f7c03/Screenshot_2022-09-30_at_2.40.58_PM.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220930%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220930T091323Z&X-Amz-Expires=86400&X-Amz-Signature=346a58118a3686075c16e368b225e3c9ec7cb48c7a90c70903ff788e0812832f&X-Amz-SignedHeaders=host&response-content-disposition=filename%20%3D%22Screenshot%25202022-09-30%2520at%25202.40.58%2520PM.png%22&x-id=GetObject](https://camo.githubusercontent.com/1b580b98ebd3959fa079183b5d9930d6c99947df6e1cd2b21b7b0d15dd8e93c0/68747470733a2f2f73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f7365637572652e6e6f74696f6e2d7374617469632e636f6d2f37343333396162662d616461662d346232352d383439362d3736343266303866376330332f53637265656e73686f745f323032322d30392d33305f61745f322e34302e35385f504d2e706e673f582d416d7a2d416c676f726974686d3d415753342d484d41432d53484132353626582d416d7a2d436f6e74656e742d5368613235363d554e5349474e45442d5041594c4f414426582d416d7a2d43726564656e7469616c3d414b49415437334c324734354549505433583435253246323032323039333025324675732d776573742d322532467333253246617773345f7265717565737426582d416d7a2d446174653d3230323230393330543039313332335a26582d416d7a2d457870697265733d383634303026582d416d7a2d5369676e61747572653d3334366135383131386133363836303735633136653336386232323565336339656337636234386337613930633730393033666637383865303831323833326626582d416d7a2d5369676e6564486561646572733d686f737426726573706f6e73652d636f6e74656e742d646973706f736974696f6e3d66696c656e616d6525323025334425323253637265656e73686f742532353230323032322d30392d3330253235323061742532353230322e34302e35382532353230504d2e706e6725323226782d69643d4765744f626a656374)

3. Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

https://www.clueless.tech/profile/admin/97543666
@Rajdip019

Can you please check if I have followed all the steps correctly?

Hey my PR got excluded. Can you please tell me how can I fix it?

We are extremely sorry to inform you that this repo is excluded from Hactoberfest 2022 😢
But the contribution you made will not go waste, it still counts in for swags by Clueless.

Ok fine @Rajdip019


Developing applications > Building blocks > Observability pages should only contain developer-centric documentation

Describe the issue
Developing applications > Building blocks > Observability pages should only contain developer-centric documentation
URL of the docs
https://docs.dapr.io/developing-applications/building-blocks/observability/
Expected content

Keep only docs that have to do with developer code:
Move everything except W3C trace context and Health API to Operations
Tracing page should be minimal - just explain no code is needed to instrument and link to operations / tracing

Screenshots

Additional context

This is now


prefer package.json + node_modules to current godot.d.ts generation workflow

Imo, more idiomatic typescript development (this might change with deno) practices call for the godot.d.ts and decorators.ts files to be a dependency, rather than generated by the editor. A combination of both could work, but I think the current workflow:

Run the menu command Project > Tools > ECMAScript > Generate TypeScript Project from the godot editor to generate a TypeScript project

would be better done by generating a package.json that depends on some godot-ecmascript package on npm that would be maintained by this group.
I wouldn't mind contributing this, but I think it warrants discussion.
Other benefits I can think of:

versioning the godot binding types
updating the godot binding types without updating the ECMAScript engine module
can use a npm-style project's .gitignore, in my project using this (awesome) binding set, I manually ignore the generated files because I prefer it that way

The godot.d.ts and enumerations.jsx is generated from the godot ClassDB. It can make sure the generated API always be correct to the current version of engine's API.

you're right. I wanna say you could use a file: version dependency, but I think it's fine as is. I'll close this. Thank you!


Marketplace:  "Manage Extension" is broken for golang.go

I cannot see acquisition nor user reviews from the https://marketplace.visualstudio.com/manage/publishers/... pages.  I can see the extension publishing history page though. golang.go-nightly works, so I suspect it is related to the extension renaming as seen in  https://github.com/microsoft/vscode/issues/76253.

Hi,
Thanks for reaching VS Marketplace Team, this issue was fixed. If the error is still persisting, please feel free to reopen or create a new issue.
Regards,
VS Marketplace Team


z-index in case of multiple Draggable elements

I am using Draggble to generate multiple draggable components on click of a button. But Each component by default overlaps the previous one. Is there a way I can bring currently being dragged component to the front when I click on it?

Hey. I noticed when dragging the Shadow root element acquires a .react-draggable-dragging className. You could then simply in your CSS for that React component add something like this:
.react-draggable-dragging {
  z-index:<PHONE_NUMBER>000 !important;
}

This will then ensure the element being dragged will always be the one on top @nik10-mah
Hope that helps :)


nitdoc: does not show the correct signature of the anonymous constructor

nitdoc always shows the anonymous "init" constructor as a having no arguments. It looks like it displays only information on its introduction in Object.
This is very impractical, since the constructors have gotten more complex it gets harder to guess the signature.
See the popular Container[E] class for an example. It's anonymous constructor takes an argument of type E, but the doc shows an empty signature.
http://nitlanguage.org/doc/stdlib/class_standard__collection__abstract_collection__Container.html#standard__kernel__Object__init
Assigned to @privat because he introduced the new constructors which (probably) broke nitdoc. I'm trying to fix the same issue in the Vim plugin and can't get anywhere, I can't get the usual resolve/anchor methods to do their black magic. I could use some sample code to reproduce!

Yeah, that assignee is just fine :)

I can do it, but what is the status of nitdoc in term of code-stability?

duplicate of #875 that is assigned to @Morriar since november :)

@privat, if @Morriar doesn't take your offer to fix it in Nitdoc, you can fix it for the doc in Vim instead! :smile:
Here's where I "print" the signature of all the properties of a class, you could add a condition for the anonymous constructor: https://github.com/privat/nit/blob/master/src/doc/vim_autocomplete.nit#L216


Make Req and Res a Stream

Hello,
First, tanks for the project, very good to see a project with a performance goal in mind.
So... Its possible to make Req and Res (from ws or/and http) a Node Stream?
*quick reference: "https://www.freecodecamp.org/news/node-js-streams-everything-you-need-to-know-c9141306be93/"
Current the core HTTP/TCP stack is already a stream object, and this a very userfull feature. Of couse we can do some kind of intermediary stream like you did on the video sample, but the full drain/cork/uncork/pipe/unpipe... cicle probably can be made on the c++ side (plugin/addon/host) improving performance and reducing the some type conversions.

Hi,
From v0.15 and forward the project is not concerned with or tied to any particular Node.js design. So this means it does not try to mimic any particular interface such as Node.js Streams or anything like that.
It also does not try and mimic Express or anything similar.

Understood.
Anyway, the Stream interface probably is very good for you C/C++ side too (IMHO). It's an interesting pattern.
Basically it is only necessary to implement these methods:

Readable Streams
Writable Streams

Events
data, end, error, close, readable
drain, finish, error, close, pipe, unpipe

Methods
pipe(), unpipe(), wrap(), destroy()
write(), destroy(), end()

read(), unshift(), resume(), pause(), isPaused(), setEncoding()
cork(), uncork(), setDefaultEncoding()

And you already have some functions using the same logic (like getBufferedAmount / onAborted, onWritable etc) to make a good pipe. Then at the end of the day, it may not require many changes.
My only concern is to reduce some of the hacking necessary to make a streaming (as in the example), avoiding things like "buffer.buffer.slice".
Anyway, thank you very much for your attention.

not concerned with or tied to any particular Node.js design

What Node.js does with their streams has no significance to this project. If you see similarities - good - but that doesn't mean anything more than that there are similarities.
The entire premise, the hypothesis of this project since day 1 has always been and will continue to be:
"Node.js is doing things unreasonably inefficient."
In other words - the differences between this project and Node.js is no act of random.

I just remember I have a lot of opinions on this subject.


Refactoring get account logic.

Resolves #12

@maoueh I think all of your requests have been addressed, please review :)

@tampajohn Hi John.
It's really cool to see community contribution, thank you !
I would appreciate if you'd consider merging your refactoring of the CPU/NET/RAM stuff with the changes we've made in the meantime to permissions.
Your branch output:
$ eosc get account eoscanadacom
permissions:
     active         4:
     blacklistops   1:  1 EOS7idX86zQ6M3mrzkGQ9MGHf4btSECmcTj4i8Le59ga7CpSpZYy5
     claimer        1:  1 EOS7NFuBesBKK5XHHLtzFxm7S57Eq11gUtndrsvq3Mt3XZNMTHfqc
     day2day        1:
     eosforumdapp   1:  1 EOS7YNS1swh6QWANkzGgFrjiX8E3u8WK5CK9GMAb6EzKVNZMYhCH3
     owner          4:  1 EOS5nFqz4giFz9kRZj6bByp9bgJQw7vEdrBAvMe7QWhr1xvX5YsTY, 1 EOS6EuWTngWDhzCwKoNxmrYnY87Pr8wPGYZ54ombRhQgpojqjavZX, 2 EOS7jFKsnSaA1BFdHBdhyFHHqHMdz4gcVG74WHtofeEGBiGLj4HCs, 1 EOS8CiR3Dpa1tHAY1yH8Tyf7Ue2JYRHKWAYMeo5gBHuHM2m8gKtBJ, 2 EOS8esiBart2LgGd98CwWgupqFMGtHxBV2uueesY5mHJNPRxCXCQQ

Master branch output:
$ eosc get account eoscanadacom
permissions:
     "owner" w/ 4                     :  +1 EOS5nFqz4giFz9kRZj6bByp9bgJQw7vEdrBAvMe7QWhr1xvX5YsTY, +1 EOS6EuWTngWDhzCwKoNxmrYnY87Pr8wPGYZ54ombRhQgpojqjavZX, +2 EOS7jFKsnSaA1BFdHBdhyFHHqHMdz4gcVG74WHtofeEGBiGLj4HCs, +1 EOS8CiR3Dpa1tHAY1yH8Tyf7Ue2JYRHKWAYMeo5gBHuHM2m8gKtBJ, +2 EOS8esiBart2LgGd98CwWgupqFMGtHxBV2uueesY5mHJNPRxCXCQQ
           "active" w/ 4              :  +2 eoscanadaaaa@active, +2 eoscanadaaab@active, +2 eoscanadaaac@active, +2 eoscanadaaad@active, +2 eoscanadaaae@active, +1 eoscanadaaaf@active, +1 eoscanadaaag@active, +1 eoscanadaaah@active, +1 eoscanadaaai@active, +1 wait 10800 seconds
                 "blacklistops" w/ 1  :  +1 EOS7idX86zQ6M3mrzkGQ9MGHf4btSECmcTj4i8Le59ga7CpSpZYy5
                 "claimer" w/ 1       :  +1 EOS7NFuBesBKK5XHHLtzFxm7S57Eq11gUtndrsvq3Mt3XZNMTHfqc
                 "day2day" w/ 1       :  +1 eoscanadaaaa@active, +1 eoscanadaaac@active, +1 eoscanadaaaf@active, +1 eoscanadaaag@active, +1 eoscanadaaah@active, +1 eoscanadaaai@active
                 "eosforumdapp" w/ 1  :  +1 EOS7YNS1swh6QWANkzGgFrjiX8E3u8WK5CK9GMAb6EzKVNZMYhCH3

I wonder if we could do a better printout, but I certainly prefer the one that is nested visually with tab indentation

@tampajohn Perfect, I checked the permissions rendering on your current branch and it's perfect!
Merging, thanks again for your contribution(s)!


Please consider supporting ipython.parallel as a computation backend

Migrated from mrocklin fork.  Originally posted by @phrrngtn
It would be super nice to be able to give a parallel.client.view  as the 'get' for a compute
my_array.compute(get=my_funky_view)
I think that this may help support #5 and it might also support funky topologies orthogonal to dask.

The current async scheduler assumes shared-memory or nearly-shared-memory communication.  We use multiprocessing only with workflows that don't involve intertask communication (e.g. dask.bag).
So one alteration of this issue might be use ipython views in nearly-embarassingly-parallel workflows.  That is quite doable.
Another alteration of this issue might be "make a distributed memory scheduler" which is something that I'm thinking about and have tiny experiments for but will probably hold off on making very usable for a while.
I do agree with you though that a future solution should easily hook in to IPython's parallel solution as a way to manage worker nodes.  There is a decent amount of tooling built up there.
This can't just be ipython parallel though (for non-trivial communication patterns).  Their abstractions don't really support point-to-point communication styles.  It's mostly master-slave.

I have "toy distributed scheduler" about two-to-three months out on my timeline.  I wouldn't be surprised if it was pushed out further.

Hi @phrrngtn,
What kinds of operations / communication patterns interested you when using IPython parallel?  Is it only embarrassingly parallel tasks with some reductions?

I used IPython parallel as as example only. I haven't given much if any thoughts to particular topologies and access patterns. My suggestion stems more from wanting to separate out the process creation from the dask. I am interested in having a bunch of engines/cores/job scheduler queues/whatever and being able to come up with a placement policy for the execution of parts of the graph in particular places. As an example, I may want to do a bunch of analysis and filtering close to the data but have a single worker processing the queue of results to be written back to a database.
IPython parallel came to mind because I frequently have many IPython clients (notebook, CLI, QT GUI on windows) hanging off an IPython kernel that in turn has views  onto a mesh of processes, some of which are running in distinct network campuses separated by a high latency WAN. The inspiration for this came from reading dabeaz 2'nd tutorial on generators from a few years ago.

great. I will take a look at it shortly (i.e. within 1 to 5 days)

Closing this due to #208


Fixed wrong duty cycle in generated square wave

Hello!
I noticed that SignalGenerator generates square waves with wrong duty cycle. It sets the first sample of second half cycle to the minimum value even when sample rate is evenly divisible by wave frequency, e.g. in case of 192000 Hz sample rate and 8000 Hz signal frequency both half cycles should have equal number of samples - 12 and 12, but now it's 13 and 11, see screenshot below

On the screenshot tracks with prefix "naudio" generated by NAudio SignalGenerator, "aud_" are generated by Audacity. 8000, 16000, 24000 are wave frequencies.
Audacity square waves generated via its "Generate" -> "Tone" function.
NAudio square waves generated by this code:
using NAudio.Wave;
using NAudio.Wave.SampleProviders;

int sampleRate = 192000;
int channels = 1;

foreach (var freq in new[] { 8000, 16000, 24000 })
{
    var signalGenerator = new SignalGenerator(sampleRate, channels)
    {
        Gain = 0.9,
        Type = SignalGeneratorType.Square,
        Frequency = freq
    };

    var bufferLen = 64;
    var buffer = new float[bufferLen];

    signalGenerator.Read(buffer, 0, bufferLen);

    using (var wav = new WaveFileWriter($"square_{freq}_{sampleRate}_naudio.wav", WaveFormat.CreateIeeeFloatWaveFormat(sampleRate, channels)))
    {
        wav.WriteSamples(buffer, 0, bufferLen);
        wav.Flush();
    }
}

Wav files and test project in the archive
GeneratorTestProject.zip

thanks


Does this require installing the Bridge as a separate APK, or is it somehow included in the Unity Build APK?

just curious how this works. is this a separate apk that you need to build/install, or is it part of the apk that unity builds?

The plugin is just a .aar file that u have to put in unity project Assets/Plugins/... Then, when u make an actual build, the logic of your app AND plugin as well is included in the final Unity .apk file

awesome, thanks. gonna try this out.


[bug] Module not found: Can't resolve 'lit-html'

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
2.1.3
wagmi Version
2.9.2
Current Behavior
Use command "yarn create @rainbow-me/rainbowkit" to init project, and then run "yarn dev" to start the project, below error will be reported:
Module not found: Can't resolve 'lit-html'
Expected Behavior
No error.
Steps To Reproduce
yarn create @rainbow-me/rainbowkit
yarn dev
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Seems like an polyfill issue. Let's keep the discussion here https://github.com/rainbow-me/rainbowkit/issues/2098


[Dev Hub] Update to run and debug tutorial

https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/debug?pivots=ide-vs-code
For C# swa-func MS SQL template - add:
"You'll have to manually start the Start API task, and then Debug API (F5). You'll be asked to pick from a list of running .NET processes, search for the name of your app and select it."

@puicchan is this note just for the VS Code instructions, or for both VS Code and Visual Studio?

Just VS Code.

Updated


Unexpected null value

Flutter Channel stable, 3.13.2
Responsive framework 1.1.1
On web and macOS I got error when resizing window:
> ======== Exception caught by widgets library =======================================================
> The following TypeErrorImpl was thrown building ScrollConfiguration(behavior: _WrappedScrollBehavior):
> Unexpected null value.
>
> The relevant error-causing widget was:
>   ResponsiveScaledBox ResponsiveScaledBox:file:///Users/xxx/StudioProjects/xxxx/lib/app.dart:28:22
> When the exception was thrown, this was the stack:
> dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:49      throw_
> dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 855:63  nullCheck
> packages/xxxx/routing/router.g.dart 67:39                       $36SurveyIntroRouteExtension$124_fromState
> packages/go_router/src/route_data.dart 97:53                                      factoryImpl
> packages/go_router/src/route_data.dart 107:28                                     redirect
> packages/go_router/src/configuration.dart 464:34                                  [_getRouteLevelRedirect]
> packages/go_router/src/configuration.dart 460:9                                   processRouteRedirect
> packages/go_router/src/configuration.dart 480:14                                  [_getRouteLevelRedirect]
> packages/go_router/src/configuration.dart 422:13                                  processTopLevelRedirect
> packages/go_router/src/configuration.dart 438:16                                  processRedirect
> packages/go_router/src/configuration.dart 444:14                                  redirect
> packages/go_router/src/parser.dart 149:10                                         [_redirect]
> packages/go_router/src/parser.dart 74:12                                          parseRouteInformationWithDependencies
> packages/flutter/src/widgets/router.dart 743:12                                   [_processRouteInformation]
> packages/flutter/src/widgets/router.dart 622:7                                    restoreState
> packages/flutter/src/widgets/restoration.dart 923:5                               [_doRestore]
> packages/flutter/src/widgets/restoration.dart 909:7                               didChangeDependencies
> packages/flutter/src/widgets/router.dart 692:11                                   didChangeDependencies
> packages/flutter/src/widgets/framework.dart 5448:11                               [_firstBuild]
> packages/flutter/src/widgets/framework.dart 5273:5                                mount
> packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
> packages/flutter/src/widgets/framework.dart 3701:20                               updateChild
> packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
> packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
> packages/flutter/src/widgets/framework.dart 5628:5                                update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
> packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
> packages/flutter/src/widgets/framework.dart 5373:5                                update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 6441:14                               update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 6441:14                               update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
> packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
> packages/flutter/src/widgets/framework.dart 5373:5                                update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 6441:14                               update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
> packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
> packages/flutter/src/widgets/framework.dart 5628:5                                update
> packages/flutter/src/widgets/framework.dart 3685:14                               updateChild
> packages/flutter/src/widgets/layout_builder.dart 135:18                           layoutCallback
> packages/flutter/src/widgets/framework.dart 2719:19                               buildScope
> packages/flutter/src/widgets/layout_builder.dart 153:5                            [_layout]
> packages/flutter/src/rendering/object.dart 2604:59                                <fn>
> packages/flutter/src/rendering/object.dart 1059:15                                [_enableMutationsToDirtySubtrees]
> packages/flutter/src/rendering/object.dart 2604:7                                 invokeLayoutCallback
> packages/flutter/src/widgets/layout_builder.dart 228:7                            rebuildIfNecessary
> packages/flutter/src/widgets/layout_builder.dart 313:5                            performLayout
> packages/flutter/src/rendering/object.dart 2493:7                                 layout
> packages/flutter/src/rendering/box.dart 2382:11                                   layout
> packages/flutter/src/rendering/proxy_box.dart 279:7                               performLayout
> packages/flutter/src/rendering/object.dart 2493:7                                 layout
> packages/flutter/src/rendering/box.dart 2382:11                                   layout
> packages/flutter/src/rendering/layout_helper.dart 52:10                           layoutChild
> packages/flutter/src/rendering/stack.dart 580:43                                  [_computeSize]
> packages/flutter/src/rendering/stack.dart 607:12                                  performLayout
> packages/flutter/src/rendering/object.dart 2332:7                                 [_layoutWithoutResize]
> packages/flutter/src/rendering/object.dart 1013:17                                flushLayout
> packages/flutter/src/rendering/binding.dart 494:19                                drawFrame
> packages/flutter/src/widgets/binding.dart 918:13                                  drawFrame
> packages/flutter/src/rendering/binding.dart 360:5                                 [_handlePersistentFrameCallback]
> packages/flutter/src/scheduler/binding.dart 1297:15                               [_invokeFrameCallback]
> packages/flutter/src/scheduler/binding.dart 1227:9                                handleDrawFrame
> packages/flutter/src/scheduler/binding.dart 1085:5                                [_handleDrawFrame]
> lib/_engine/engine/platform_dispatcher.dart 1304:13                               invoke
> lib/_engine/engine/platform_dispatcher.dart 278:5                                 invokeOnDrawFrame
> lib/_engine/engine/initialization.dart 185:45                                     <fn>
> dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 574:37  _checkAndCall
> dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 579:39  dcall
> ====================================================================================================

This is builder in MaterialApp, without it, app works without null exception:
 ResponsiveBreakpoints.builder(
        child: Builder(
          builder: (context) {
            return MaxWidthBox(
              maxWidth: 1200,
              background: Container(color: context.appColors.inputBorderUnfocused),
              child: ResponsiveScaledBox(
                width: ResponsiveValue<double>(
                  context,
                  conditionalValues: [
                    Condition.equals(name: MOBILE, value: 450),
                    Condition.between(start: 800, end: 1100, value: 800),
                    Condition.between(start: 1000, end: 1200, value: 1000),
                  ],
                ).value,
                child: BouncingScrollWrapper.builder(
                  context,
                  child!,
                  dragWithMouse: true,
                ),
              ),
            );
          },
        ),
        breakpoints: [
          const Breakpoint(start: 0, end: 450, name: MOBILE),
          const Breakpoint(start: 451, end: 800, name: TABLET),
          const Breakpoint(start: 801, end: 1920, name: DESKTOP),
          const Breakpoint(start: 1921, end: double.infinity, name: '4K'),

        ],
 ),

Your responsive value doesn't cover all screen widths. So if the device is between 450 and 800, it returns a null value.
Either provide a default value ResponsiveValue(defaultValue: 450), or set conditions that cover all possible screen widths.
ResponsiveValue<double>(
                  context,
                  conditionalValues: [
                    Condition.equals(name: MOBILE, value: 450),
                    Condition.between(start: 800, end: 1100, value: 800),
                    Condition.between(start: 1000, end: 1200, value: 1000),
                  ],
                ).value

Conditions are set in builder in MaterialApp. Same as yours.

I had the same issue.
You need to set the default value here:
ResponsiveScaledBox(
        width: ResponsiveValue<double>(
          context,
          defaultValue: 450, // default value to avoid _TypeError (type 'Null' is not a subtype of type 'double' in type cast)
          conditionalValues: [...],
        ).value,
        child: child

When i met it in the first time, It has crashed my features when i updated to new version of this package, i took a while to found out the reason.
i think the owner should add an assert or mark defaultValue required  to inform for the developer know.
Thanks


Support ~ in path for dependencies

Problem
I would like to specify a dependency relative to my home directory. At the moment I would need to specify the home directory as a full path which is platform dependent, e.g Linux
my_dep = { path = "/home/name/rust/my_dep" }

Proposed Solution
Most shells expand ~ into the current users home directory. It would be nice if cargo could do the same.
my_dep = { path = "~/rust/my_dep" }

That would than be expanded into the user home directory.
Notes
Currently ~/something is resolved to project-dir/~/something which is obviously not what is intended by the user.
Also looking through existing issues, this might be the same as https://github.com/rust-lang/cargo/issues/12873

Could you expand on your use case for why  you are using absolute paths in dependencies?
For myself, my projects tend to be in repos and shared with others, so I can't count on an absolute path being there, only relative paths to other items within my repo.  If I need to reference something outside my repo, it then needs to be a git dependency.

FWIW, previously we had https://github.com/rust-lang/cargo/pull/9855 and https://github.com/rust-lang/rfcs/pull/3074.

My use case is the following:
I had a problem with a library: In this case rust-derive-builder.
Created a small test project to reproduce the issue.
After some discussion I started working on a fix.
Now I want to use my local implementation of rust-derive-builder in my test project to ensure that I have a working solution.
Maybe a better solution would be to just copy my minimal test case into a proper test within the library.
That said I was still surprised about the fact that ~ is not handled the way I would expect it to. I always assumed that ~ was a special character in paths and only learned that ~ is a shell feature, after googling for it when creating this issue.

Thanks for explaining, that helps a lot in understanding how someone would run into this in day-to-day operations.
On the broader side of this topic, I've wondered if we could have an improved workflow around patching, like a new subcommand that would make it easy to patch a dependency to an in-dev version, then clone that dependency so you can make a change, and then back this out of your project.  We have issues like #1545 and #1861 which tie into that.


Use 'AMD64' rather than 'x86_64' (RedHat.TermsErrors)

Describe the bug
This word or expression triggers an illegitimate vale alert:
error  Use 'AMD64' rather than         RedHat.TermsErrors
'x86_64'.
I recommend removing this rule for the following reasons:
x86_64 and AMD64 are not interchangeable. x86_64 covers both Intel 64 and AMD64. To rewrite x86_64 as AMD64 means telling readers (including those that use Intel 64 for Red Hat products) that Intel 64 does not exist and is not supported. (In other words, with this rule Vale tells us that car is an error and that we must replace car with BMW.)
OpenShift docs (and many, many package names for Linux distros) refer to x86_64: https://docs.openshift.com/container-platform/4.10/installing/installing-preparing.html
More info below:
https://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures#64-bit_(x86-64)
https://en.wikipedia.org/wiki/X86
https://www.pcmag.com/encyclopedia/term/x64
https://www.intel.com/content/www/us/en/architecture-and-technology/microarchitecture/intel-64-architecture-general.html
https://www.pcmag.com/encyclopedia/term/amd64 (edited)

(source: https://www.intel.com/content/www/us/en/architecture-and-technology/microarchitecture/intel-64-architecture-general.html)
Intel 64 is explicitly supported on RHEL:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_a_standard_rhel_installation/installing-rhel-on-adm64-intel-64-and-64-bit-arm
x86_64 overall is supported on Fedora:
https://getfedora.org/en/coreos?stream=stable

I've opened a SSG issue: https://github.com/redhat-documentation/supplementary-style-guide/issues/171

@themr0c - Hi Fabrice, were you looking for somebody to work on removing this from our list of terms (as a good newbie task!). I can open a PR next week for that if that works?

That would be awesome!

I touched base with Max. He thinks we should wait until the style council finalizes their decision before updating rule in Vale. Max is chasing it up with the style council

From Kelly Brown: "Myself and some SMEs from multi-arch and arm are working on a best practices guide on the use cases for both x86_64 vs amd64 and arm64 vs aarch64"

This rule is being downgraded to a suggestion in #466. We can perhaps fine-tune further after we see the details in the related SSG issue.

We should update the current Vale rules based on the following:
https://redhat-documentation.github.io/supplementary-style-guide/#amd64
https://redhat-documentation.github.io/supplementary-style-guide/#bit-64-x86
https://redhat-documentation.github.io/supplementary-style-guide/#bit-64-arm

Looking at the above links, the only guidance that wouldn't be conflicting would be to disallow the incorrect forms:
Incorrect forms: x64, x86-64, or x86
Instead use either 64-bit x86 (noun) or x86_64 (noun)


Async validation called too aggressively

Docs for async validation at https://react-form.js.org/#/form-inputs say:

The function will get called when you tab out of the field for the associated function.

However, it looks like it gets called onChange if synchronous validations pass. Is this intentional? What would be the suggested approach if we only wanted to async validate onBlur (or potentially debounce)? For example in a case where you make an XHR but don't want to fire a lot of requests.

I ran into this same problem. The asyncValidtor should only be called onBlur, as the documentation suggests.
Checking if a username is available (like the documentation shows as an example) is a prime example of too many API calls for every letter typed (not to mention errors being set when the user hasn't finished typing out what they want).
If anyone sees a quick workaround I'd appreciate it.

I actually agree with you guys. We updated it because some people actually want it to get called on every key stroke. What is cool however is that it does debounce for you. That being said maybe we should add a flag that allows you to turn off this feature and only call async validation on blur

Why was this closed, is there a way to only call validate on blur?


Appreciation

Hi, just wanted to tell the theme is beautiful, thanks to everyone who contributed with the project. If I'm being inconvenient to say this on the "issues" category I'm sorry but I didn't find any other place to say this

that means a whole bunch, seriously haha <3 thank you


Make a FirmwareBundle Generator

some people while making firmwarebundle can be complex for them so for example when someone plugs in iDevice to mac, a script automatically takes info from iDevice and generates FirmwareBundle that matches the iPhone, but before the script has successfuly generated the FirmwarBundle it asks the user the iOS version they want to downgrade to (13.5) then the firmwarebundle is now generated and the downgrade process can be started. (sorry for bad grammar btw)

You must understand the complexity behind the bundles themselves before making such an absurd request. This isn’t possible to automate at the moment and would require immense work to even begin to automate. Closing this issue is it’s not valid

@NotHereForTheDong ok I am sorry, then I will try to make my own FirmwareBundle Generator.

@NotHereForTheDong why you give me a thumbs down?


Support TLDs of up to 7 characters

isURL only supports TLDs up to 6 characters long. However, there are several common TLDs with 7 or more letters: .example, .systems, etc.
I would be open to increasing this number if desired, because according to RFC 1034, the TLD could be as long as 63 characters.
Pre-launch Checklist

[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or @jonataslaw said the PR is test-exempt.
[x] All existing and new tests are passing.

Thanks for your contribution!
LGTM