Setting authority for client configuration?

Is there anyway I can set an authority property for BackendAuthorizationClient? developer.bentley.com uses a different issuer and using APIs from that authority requires URL set to "https://ims.bentley.com" rather than "https://imsoidc.bentley.com".

⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking

LINK: BackendAuthorizationClientConfiguration---backend-itwin-client-link-to-docs
TAG: imodeljs-docs-question
SOURCE: https://www.itwinjs.org/reference/backend-itwin-client/authentication/backendauthorizationclientconfiguration/?term=backendautho

@BaoTon the most direct way to switch the issuer is by creating a sub-class of BackendAuthorizationClient and override the getUrl() method and provide the new issuer url.

Okay, that's what I was planning on doing. Also, not sure if intended but older OIDC clients can't seem to call the newer APIs such as https://developer.bentley.com/api-groups/administration/apis/projects/operations/get-project-validation-tests - even though they share the same scope and I swapped out to the newer issuer.
New applications I created from developer.bentley.com have something unique about them versus the old registration-dashboard.

Yes, this is due to the newer APIs available at developer.bentley.com using "https://ims.bentley.com" as their issuer when validating the incoming token. Whereas the currently used service APIs, from various urls, are using "https://imsoidc.bentley.com" as you highlighted above.
This will require an application to use the appropriate issuer for their use-case or the easier solution is to get a token for both if you're consuming the new APIs at all.  Since both tokens are issued from the same authority, the session will be the same therefore not requiring an interactive sign-in for the second token request, rather just a silent sign-in workflow to get the new one.
You're correct in that this isn't currently documented anywhere, or easily usable within our clients. I will try and take a pass at it in the next couple days to see if I can make this easier with the current clients and/or better docs.

For info just ran across this again this morning with the CRA getting started scripts, setting the bentley authority to https://ims.bentley.com resolved the issue.
  const authConfig: BrowserAuthorizationClientConfiguration = {
    authority: "https://ims.bentley.com",
    scope: process.env.IMJS_AUTH_CLIENT_SCOPES ?? "",
    clientId: process.env.IMJS_AUTH_CLIENT_CLIENT_ID ?? "",
    redirectUri: process.env.IMJS_AUTH_CLIENT_REDIRECT_URI ?? "",
    postSignoutRedirectUri: process.env.IMJS_AUTH_CLIENT_LOGOUT_URI,
    responseType: "code",
    noSilentSignInOnAppStartup: true
  };

Yes, an update has been made to support the https://ims.bentley.com issuer for all APIs with a new itwinjs scope.  @aruniverse has a good explanation here. He is referencing Desktop specifically but the same applies to Web as well.


Updated phpDoc and removed duplicates

Updated phpDoc,
ValidatorPluginManager - deleted duplicate for line 103.

Updated following the latest comments

@Maks3w
Regarding @return $this:
In ZF2 @return self is used. I mentioned it earlier in another PR and referenced the comment from @weierophinney there: https://github.com/zendframework/zf2/pull/4436#issuecomment-17538536.

Updated to @return self


fix: remove gas overrides

You should also remove those:
https://github.com/valory-xyz/optimus/blob/9c6c3f94158702ab479c449787147edca17d0e60/packages/valory/skills/optimus_abci/skill.yaml#L153-L156

You should also remove those:
https://github.com/valory-xyz/optimus/blob/9c6c3f94158702ab479c449787147edca17d0e60/packages/valory/skills/optimus_abci/skill.yaml#L153-L156

resolved in the latest commit

There are remaining instances of manual_gas_limit in configurations and models. Looks like it is not necessary anymore.

Resolved in this commit 195cf650e20bde46c645d166755ea41cd422f0ae


AttributeError: type object 'BaseCommand' has no attribute 'option_list'

I am on Django==2.0.4. When I add django-nose in INSTALLED_APPS, I get the below error. Please help.
django-nose==1.4.6
nose==1.3.7
/usr/local/python3/bin/python3.6 manage.py help test
Traceback (most recent call last):
File "manage.py", line 12, in
execute_from_command_line(sys.argv)
File "/usr/local/python3/lib/python3.6/site-packages/django/core/management/init.py", line 371, in execute_from_command_line
utility.execute()
File "/usr/local/python3/lib/python3.6/site-packages/django/core/management/init.py", line 347, in execute
django.setup()
File "/usr/local/python3/lib/python3.6/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/python3/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "/usr/local/python3/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/python3/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/usr/local/python3/lib/python3.6/site-packages/django_nose/init.py", line 5, in
from django_nose.runner import BasicNoseRunner, NoseTestSuiteRunner
File "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 285, in
class BaseRunner(DiscoverRunner):
File "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 287, in BaseRunner
options = _get_options()
File "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 143, in _get_options
django_opts = [opt.dest for opt in BaseCommand.option_list] + ['version']
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

That code was removed in django-nose 1.4.4. Can you try re-installing django-nose 1.4.6?
These should both show (1, 4, 6) for the installed version:

/usr/local/python3/bin/python3.6 -c "import django_nose; print(django_nose.VERSION)"
/usr/local/python3/bin/python3.6 ./manage.py shell -c "import django_nose; print(django_nose.VERSION)"


Cannot get schema from model using string $ref as a field alias

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
Calling model_json_schema  raises an error if the model has a field with alias $ref.
Example Code
from pydantic import BaseModel, Field

class MyModel(BaseModel):
    my_field: str = Field(alias="$ref")

print(MyModel.model_json_schema())

Python, Pydantic & OS Version
pydantic version: 2.0.2
        pydantic-core version: 2.1.2 release build profile
                 install path: /home/matthew/.cache/pypoetry/virtualenvs/sandbox-pwkskCd0-py3.9/lib/python3.9/site-packages/pydantic
               python version: 3.9.15 (main, Nov  6 2022, 17:01:32)  [GCC 11.3.0]
                     platform: Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35
     optional deps. installed: ['typing-extensions']

Selected Assignee: @davidhewitt

@Matthew-Burkard Thanks for reporting it. Yep, it's a bug.


feat(cli): add minimal clap commands

exposes version and simple help

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Cloudflare's Invocation routes cannot be replaced/extended [adapter-cloudflare]

Describe the bug
I am experiencing an issue with the @sveltejs/adapter-cloudflare where the _routes.json file I create is not being accepted or used by Cloudflare Pages. Instead, an autogenerated version of _routes.json replaces it, preventing the execution of specific Cloudflare Functions.
Reproduction

Create a _routes.json file in the root of the Svelte project with the following content:

{
  "version": 1,
  "description": "Generated by @sveltejs/adapter-cloudflare",
  "routes": [
    {
      "pattern": "/og-image-intro",
      "custom_domain": false
    },
    {
      "pattern": "/og-image-coreid/*",
      "custom_domain": false
    },
    {
      "pattern": "/*",
      "include": [
        "/*"
      ],
      "exclude": [
        "/_app/*",
        "/icons/corepass.svg",
        "/icons/icon-144x144.png",
        "/icons/icon-16x16.png",
        "/icons/icon-192x192.png",
        "/icons/icon-32x32.png",
        "/icons/icon-48x48.png",
        "/icons/icon-512x512.png",
        "/icons/icon-72x72.png",
        "/icons/icon-96x96.png",
        "/icons/manifest.json",
        "/pattern.svg"
      ]
    }
  ]
}

Deploy the project to Cloudflare Pages.

Logs
Cloudflare pages building log:

2024-05-27T05:30:15.441278Z	Cloning repository...
2024-05-27T05:30:16.074071Z	From https://github.com/***
2024-05-27T05:30:16.074477Z	 * branch            *** -> FETCH_HEAD
2024-05-27T05:30:16.074594Z
2024-05-27T05:30:16.106122Z	HEAD is now at *** Fix routes
2024-05-27T05:30:16.106467Z
2024-05-27T05:30:16.188002Z
2024-05-27T05:30:16.188488Z	Using v2 root directory strategy
2024-05-27T05:30:16.213819Z	Success: Finished cloning repository files
2024-05-27T05:30:17.958774Z	Checking for configuration in a wrangler.toml configuration file (BETA)
2024-05-27T05:30:17.959413Z
2024-05-27T05:30:18.065196Z	No wrangler.toml file found. Continuing.
2024-05-27T05:30:18.219334Z	Detected the following tools from environment<EMAIL_ADDRESS><EMAIL_ADDRESS>2024-05-27T05:30:18.220003Z	Installing nodejs 20.5.1
2024-05-27T05:30:18.292485Z	nodejs 20.5.1 is already installed
2024-05-27T05:30:18.798603Z	Installing project dependencies: npm install --progress=false
2024-05-27T05:30:28.366762Z	npm WARN deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2024-05-27T05:30:28.38031Z	npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
2024-05-27T05:30:28.524524Z	npm WARN deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
2024-05-27T05:30:29.030355Z	npm WARN deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
2024-05-27T05:30:31.183356Z
2024-05-27T05:30:31.183972Z	added 322 packages, and audited 323 packages in 12s
2024-05-27T05:30:31.18438Z
2024-05-27T05:30:31.184475Z	73 packages are looking for funding
2024-05-27T05:30:31.18463Z	  run `npm fund` for details
2024-05-27T05:30:31.184813Z
2024-05-27T05:30:31.185157Z	found 0 vulnerabilities
2024-05-27T05:30:31.210329Z	Executing user command: npm run build
2024-05-27T05:30:31.791145Z
2024-05-27T05:30:31.791342Z	><EMAIL_ADDRESS>build
2024-05-27T05:30:31.791538Z	> vite build
2024-05-27T05:30:31.791665Z
2024-05-27T05:30:32.620555Z	vite v5.2.11 building SSR bundle for production...
2024-05-27T05:30:32.654267Z	transforming...
2024-05-27T05:30:33.622778Z	✓ 86 modules transformed.
2024-05-27T05:30:33.674556Z	rendering chunks...
2024-05-27T05:30:34.178424Z	vite v5.2.11 building for production...
2024-05-27T05:30:34.180986Z	transforming...
2024-05-27T05:30:34.854791Z	✓ 151 modules transformed.
2024-05-27T05:30:34.907367Z	rendering chunks...
2024-05-27T05:30:34.94904Z	computing gzip size...
2024-05-27T05:30:34.95485Z	.svelte-kit/output/client/_app/version.json                             0.03 kB │ gzip:  0.05 kB
2024-05-27T05:30:34.955136Z	.svelte-kit/output/client/.vite/manifest.json                           3.12 kB │ gzip:  0.55 kB
2024-05-27T05:30:34.955436Z	.svelte-kit/output/client/_app/immutable/assets/3.D1Pbbl3H.css          0.06 kB │ gzip:  0.08 kB
2024-05-27T05:30:34.955689Z	.svelte-kit/output/client/_app/immutable/assets/0.BcfDK-sl.css          9.75 kB │ gzip:  2.80 kB
2024-05-27T05:30:34.955814Z	.svelte-kit/output/client/_app/immutable/entry/start.Beio0Ze6.js        0.07 kB │ gzip:  0.08 kB
2024-05-27T05:30:34.955936Z	.svelte-kit/output/client/_app/immutable/chunks/stores.CV_Iyu3Z.js      0.23 kB │ gzip:  0.16 kB
2024-05-27T05:30:34.956074Z	.svelte-kit/output/client/_app/immutable/nodes/2.ABQuFquf.js            2.06 kB │ gzip:  0.90 kB
2024-05-27T05:30:34.95621Z	.svelte-kit/output/client/_app/immutable/chunks/scheduler.BeaK0CkN.js   2.26 kB │ gzip:  1.07 kB
2024-05-27T05:30:34.956333Z	.svelte-kit/output/client/_app/immutable/nodes/0.DLszrXnC.js            3.73 kB │ gzip:  1.66 kB
2024-05-27T05:30:34.956445Z	.svelte-kit/output/client/_app/immutable/nodes/1.DPqxKtkc.js            4.36 kB │ gzip:  1.75 kB
2024-05-27T05:30:34.956592Z	.svelte-kit/output/client/_app/immutable/chunks/index.ByvvvYjY.js       5.65 kB │ gzip:  2.41 kB
2024-05-27T05:30:34.956724Z	.svelte-kit/output/client/_app/immutable/entry/app.DaM9SprI.js          6.27 kB │ gzip:  2.54 kB
2024-05-27T05:30:34.956891Z	.svelte-kit/output/client/_app/immutable/chunks/index.BGkkFHzb.js      12.96 kB │ gzip:  5.71 kB
2024-05-27T05:30:34.95706Z	.svelte-kit/output/client/_app/immutable/chunks/entry.-7dg50dx.js      27.44 kB │ gzip: 10.82 kB
2024-05-27T05:30:34.957267Z	.svelte-kit/output/client/_app/immutable/nodes/3.BbmfNwF0.js           45.53 kB │ gzip: 16.13 kB
2024-05-27T05:30:34.957472Z	✓ built in 778ms
2024-05-27T05:30:35.409901Z	.svelte-kit/output/server/.vite/manifest.json                          2.03 kB
2024-05-27T05:30:35.410233Z	.svelte-kit/output/server/_app/immutable/assets/_page.D1Pbbl3H.css     0.06 kB
2024-05-27T05:30:35.410366Z	.svelte-kit/output/server/_app/immutable/assets/_layout.BcfDK-sl.css   9.75 kB
2024-05-27T05:30:35.410477Z	.svelte-kit/output/server/internal.js                                  0.31 kB
2024-05-27T05:30:35.410583Z	.svelte-kit/output/server/chunks/stores.js                             0.80 kB
2024-05-27T05:30:35.410692Z	.svelte-kit/output/server/entries/pages/_page.svelte.js                1.15 kB
2024-05-27T05:30:35.410781Z	.svelte-kit/output/server/entries/pages/_error.svelte.js               2.00 kB
2024-05-27T05:30:35.410861Z	.svelte-kit/output/server/chunks/ssr.js                                3.55 kB
2024-05-27T05:30:35.41094Z	.svelte-kit/output/server/entries/pages/_layout.svelte.js              5.03 kB
2024-05-27T05:30:35.41102Z	.svelte-kit/output/server/chunks/exports.js                            5.96 kB
2024-05-27T05:30:35.411099Z	.svelte-kit/output/server/entries/pages/_coreid_/_page.svelte.js       7.16 kB
2024-05-27T05:30:35.411183Z	.svelte-kit/output/server/chunks/internal.js                           7.51 kB
2024-05-27T05:30:35.41127Z	.svelte-kit/output/server/index.js                                    93.33 kB
2024-05-27T05:30:35.41136Z	✓ built in 2.77s
2024-05-27T05:30:35.411685Z
2024-05-27T05:30:35.412046Z	Run npm run preview to preview your production build locally.
2024-05-27T05:30:35.4164Z
2024-05-27T05:30:35.416724Z	> Using @sveltejs/adapter-auto
2024-05-27T05:30:35.749485Z	Installing @sveltejs/adapter-cloudflare...
2024-05-27T05:30:37.296936Z
2024-05-27T05:30:37.297449Z	added 5 packages, and audited 328 packages in 1s
2024-05-27T05:30:37.297802Z
2024-05-27T05:30:37.297892Z	73 packages are looking for funding
2024-05-27T05:30:37.298038Z	  run `npm fund` for details
2024-05-27T05:30:37.298877Z
2024-05-27T05:30:37.299009Z	found 0 vulnerabilities
2024-05-27T05:30:37.321116Z	Successfully installed @sveltejs/adapter-cloudflare.
2024-05-27T05:30:37.322465Z
2024-05-27T05:30:37.322611Z	If you plan on staying on this deployment platform, consider replacing @sveltejs/adapter-auto with @sveltejs/adapter-cloudflare. This will give you faster and more robust installs, and more control over deployment configuration.
2024-05-27T05:30:37.322721Z
2024-05-27T05:30:37.842087Z	  ✔ done
2024-05-27T05:30:37.910977Z	Finished
2024-05-27T05:30:37.911404Z	Found _worker.js in output directory. Uploading.
2024-05-27T05:30:38.886833Z	✨ Compiled Worker successfully
2024-05-27T05:30:38.941415Z	Found _routes.json in output directory. Uploading.
2024-05-27T05:30:38.954273Z	Validating asset output directory
2024-05-27T05:30:39.589563Z	Deploying your site to Cloudflare's global network...
2024-05-27T05:30:41.252517Z	Parsed 2 valid header rules.
2024-05-27T05:30:42.736051Z	Uploading... (20/29)
2024-05-27T05:30:43.387746Z	Uploading... (23/29)
2024-05-27T05:30:43.433296Z	Uploading... (26/29)
2024-05-27T05:30:43.848707Z	Uploading... (29/29)
2024-05-27T05:30:43.848957Z	✨ Success! Uploaded 9 files (20 already uploaded) (1.76 sec)
2024-05-27T05:30:43.849124Z
2024-05-27T05:30:44.21567Z	✨ Upload complete!
2024-05-27T05:30:50.617467Z	Success: Assets published!
2024-05-27T05:30:52.837824Z	Success: Your site was deployed!

### System Info

```Shell
System:
    OS: macOS 14.4.1
  Binaries:
    Node: 21.7.3 - ~/.nvm/versions/node/v21.7.3/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v21.7.3/bin/npm
    pnpm: 8.6.12 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 125.0.6422.77
  npmPackages:
    @sveltejs/adapter-auto: ^3.2.1 => 3.2.1
    @sveltejs/kit: ^2.5.10 => 2.5.10
    @sveltejs/vite-plugin-svelte: ^3.1.0 => 3.1.0
    svelte: ^4.2.17 => 4.2.17
    vite: ^5.2.11 => 5.2.11

Severity
blocking an upgrade
Additional Information
Expected Behavior:
Cloudflare Pages should recognize and use the provided _routes.json file to route requests to the specified functions (/og-image-intro and /og-image-coreid/*).
Actual Behavior:
The provided _routes.json is not used. Instead, an autogenerated _routes.json replaces it with the following content:
{
  "version": 1,
  "description": "Generated by @sveltejs/adapter-cloudflare",
  "include": [
    "/*"
  ],
  "exclude": [
    "/_app/*",
    "/icons/corepass.svg",
    "/icons/icon-144x144.png",
    "/icons/icon-16x16.png",
    "/icons/icon-192x192.png",
    "/icons/icon-32x32.png",
    "/icons/icon-48x48.png",
    "/icons/icon-512x512.png",
    "/icons/icon-72x72.png",
    "/icons/icon-96x96.png",
    "/icons/manifest.json",
    "/pattern.svg"
  ]
}

The routes for Cloudflare Functions (/og-image-intro and /og-image-coreid/*) need to be explicitly included to ensure they are recognized and executed. The current behavior replaces the intended routes with a generic catch-all route, which does not serve the required purpose.

We should probably warn if that gets overwritten because the adapter auto generates it and you are supposed to customise it in the adapter config  https://kit.svelte.dev/docs/adapter-cloudflare#options-routes
I’m not aware of the routes key though and couldn’t find mention of that in the cloudflare pages routing docs https://developers.cloudflare.com/pages/functions/routing/ . We would need to make changes so that’s configurable. Currently only excludes and includes can be configured.
cc: @dario-piotrowicz is the routes key with an array value a new way to configure route patterns?

routes key is not valid, the way it is generated currently is correct
Linked docs list all available options (which are all in use already)

Thanks for confirming Walshy And Dario! I’ll close this ticket for now.

As another possible cause of this error, change the svelte.config.js file to svelte.config.ts . I've been working on this for two hours!!!!!


Add to settings: Whether to select the current note as the default context.

加入设置：是否选择当前笔记为默认上下文。
因为很多时候不需要上下文。
Add to settings: Whether to select the current note as the default context.
Because many times context is not needed.

We're considering implementing a feature where you can remove the current file context by pressing the delete key. Would this address your needs? If not, we'll also consider adding a settings option as you suggested.

We're considering implementing a feature where you can remove the current file context by pressing the delete key. Would this address your needs? If not, we'll also consider adding a settings option as you suggested.

Often, I find myself switching back and forth between activity notes and the chat box, even when I don't need the activity notes for context. It would be more convenient to have a dedicated option for this.

Thanks for clarifying your workflow needs. We'll consider adding a dedicated option also.


Grafana Some Panel No Data

What happened:
Some panel appear no Data.

In prometheus , i can find the detail metrics data ,like below.

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:  1.0.0-rc2
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region, or self maintained): minio
Metadata engine info (version, cloud provider managed or self maintained): mysql
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others: prometheus 2.36.2、pushgateway  1.4.3、grafana 9.0.5

Whether the time range is too small and no I/O operations are performed during this period？

The Operations panel's metrics is juicefs_fuse_xxx like, not juicefs_object_xxx.
You can query juicefs_fuse_written_size_bytes_sum or juicefs_fuse_read_size_bytes_sum in your prometheus

The Operations panel's metrics is juicefs_fuse_xxx like, not juicefs_object_xxx. You can query juicefs_fuse_written_size_bytes_sum or juicefs_fuse_read_size_bytes_sum in your prometheus

the Operations panel edit page is below:

i query  juicefs_fuse_ops_durations_histogram_seconds_count in promethus, the data is 0 . is it normal ?

Whether the time range is too small and no I/O operations are performed during this period？

past five miniute , those no data panel still no data .

These panels display the fuse metrics, you don't mount it for use (Hadoop SDK mode) and some fuse metrics like fuse read and fuse write don't exist.

These panels display the fuse metrics, you don't mount it for use (Hadoop SDK mode) and some fuse metrics like fuse read and fuse write don't exist.

i just use juicefs hadoop sdk ， so the some panel  appear no data is normal ？

These panels display the fuse metrics, you don't mount it for use (Hadoop SDK mode) and some fuse metrics like fuse read and fuse write don't exist.

i just use juicefs hadoop sdk ， some panel appear no data is normal ？ if it is noraml , i will close this issue later.

Yes, you can mount it and do some read or write in the mounted directory, then these panels should be OK.

These panels display the fuse metrics, you don't mount it for use (Hadoop SDK mode) and some fuse metrics like fuse read and fuse write don't exist.

i just use juicefs hadoop sdk ， some panel appear no data is normal ？ if it is noraml , i will close this issue later.

The prometheus can't pull metrics from Hadoop SDK, you need to use the P8S push gateway or graphite to push metrics from Hadoop SDK.


Disable notifications for partial proofs

When farming for a pool using the new pool protocol, chiadog triggers hundreds of "found proof" notifications per day, because your farmer finds proofs for partials (low difficulty solutions for a pool) all the time.
This gets you a lot of messages by a telegram bot for example. ;)
Suggestion: Teach chiadog to differentiate "normal" proofs from partial proofs and disable partial proof notifications. Daily notifications about partial proofs should be sufficient. Or just make proof notification deactivatale.

We could perhaps monitor log for "farmed unfinished_block" instead of "found X proof"

I was so happy when i received this ‘ ℹ Chia HARVESTER
Found 1 proof(s)!’ message for the first time ever. Almost took my GF out to diner on the spot.
Too bad it was just a false positive, based on the 100’s of additional proof-found messages that came in afterwards 😃

+1 here - Chiadog used to be discreet but with the partial proof found notifications, it is barking so much that my Telegram bot is now spammed ;)

Until we have changed the default behaviour, you can comment / delete this line:
https://github.com/martomi/chiadog/blob/429b90cf2d3f74a885d4ffcb748fb63b1521e48b/src/chia_log/handlers/harvester_activity_handler.py#L30

Thanks. This seems to work fine for a temporary solution.

I was thinking of just counting the partial proofs and report them daily. That shouldn't be hard to code

I'll try, but it's 28 °C outside and inside so my brains works slowly

The very next log event after a partial proof should contain something like Submitting partial for XXX to https://pool.url. So additional checker will be needed for this.
Then a special exception needs to be put into the activity handler which waits to append the Proof event until the next line has been checked.
I believe @springjools has volunteered for the pull request stuck_out_tongue_winking_eye

@kilbot  One thing you may want to think about is that if a user is using DEBUG as their log level then the Submitting partial for XXX to https://pool.url would not be the next line after the found proof log entry. So might change the logic you were going to use if you were going to just look at the next line for text.

Could someone please post some log files with partials (preferably in dubug mode as @btbamman989 suggested)

Harvester and farmer logs in INFO mode from the one minute with 3 partials
grep -E "2021-07-12T04:17:" mainnet/log/debug.log | grep -E "chia.harvester.harvester|chia.farmer.farmer"

2021-07-12T04:17:03.158 harvester chia.harvester.harvester: INFO     2 plots were eligible for farming a34de8c137... Found 0 proofs. Time: 0.35711 s. Total 570 plots
2021-07-12T04:17:12.054 harvester chia.harvester.harvester: INFO     2 plots were eligible for farming a34de8c137... Found 1 proofs. Time: 0.90075 s. Total 570 plots
2021-07-12T04:17:12.083 farmer chia.farmer.farmer         : INFO     Submitting partial for <<LAUNCHER_ID>> to https://asia1.pool.space
2021-07-12T04:17:12.617 farmer chia.farmer.farmer         : INFO     Pool response: {'new_difficulty': 1}
2021-07-12T04:17:22.544 harvester chia.harvester.harvester: INFO     2 plots were eligible for farming a34de8c137... Found 2 proofs. Time: 2.25946 s. Total 570 plots
2021-07-12T04:17:22.576 farmer chia.farmer.farmer         : INFO     Submitting partial for <<LAUNCHER_ID>> to https://asia1.pool.space
2021-07-12T04:17:22.592 farmer chia.farmer.farmer         : INFO     Submitting partial for <<LAUNCHER_ID>> to https://asia1.pool.space
2021-07-12T04:17:22.876 farmer chia.farmer.farmer         : INFO     Pool response: {'new_difficulty': 1}
2021-07-12T04:17:23.126 farmer chia.farmer.farmer         : INFO     Pool response: {'new_difficulty': 1}
2021-07-12T04:17:30.144 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming a34de8c137... Found 0 proofs. Time: 0.16493 s. Total 570 plots
2021-07-12T04:17:41.789 harvester chia.harvester.harvester: INFO     0 plots were eligible for farming a34de8c137... Found 0 proofs. Time: 0.13492 s. Total 570 plots
2021-07-12T04:17:49.748 harvester chia.harvester.harvester: INFO     0 plots were eligible for farming a34de8c137... Found 0 proofs. Time: 0.14340 s. Total 570 plots
2021-07-12T04:17:58.439 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming a34de8c137... Found 0 proofs. Time: 0.29906 s. Total 570 plots

The very next log event after a partial proof should contain something like Submitting partial for XXX to https://pool.url. So additional checker will be needed for this.
Then a special exception needs to be put into the activity handler which waits to append the Proof event until the next line has been checked.
I believe @springjools has volunteered for the pull request stuck_out_tongue_winking_eye

@kilbot One thing you may want to think about is that if a user is using DEBUG as their log level then the Submitting partial for XXX to https://pool.url would not be the next line after the found proof log entry. So that might change the logic you were going to use if you were going to just look at the next line for text.

Interesting option.. the logfile wouldn't get too verbose if using DEBUG mode?

I agree with the above suggestions, it's better than what I was going to suggest, which was to make an own counter from scratch

I have a work-in-progress implementation with parsing Farmed block and submitting partial
https://github.com/kanasite/chiadog/tree/farming-log

I have a work-in-progress implementation with parsing Farmed block and submitting partial
https://github.com/kanasite/chiadog/tree/farming-log

the default behavior proof/partial notification will be disabled

example of daily stats:
ℹ Chia DAILY
Hello farmer! 👋 Here's what happened in the last 12 hours:
Received ☘: 0.0000005 XCH
Proofs 🧾: 100 found!
Search 🔍:

average: 0.53s over 3694 searches
over 5s: 0 occasions (0.0%)
over 15s: 0 occasions (0.0%)
Plots 🌱: 1524
Eligible plots 🥇: 2.95 average
Skipped SPs ⚠: 2 (0.05%)
Partials submitted 🧾: 100!
Blocks 📦: None

example of daily stats:
Chia DAILY
Hello farmer!  Here's what happened in the last 12 hours:
Received : 0.0000005 XCH
Proofs : 100 found!
Search :

average: 0.53s over 3694 searches
over 5s: 0 occasions (0.0%)
over 15s: 0 occasions (0.0%)
Plots seedling: 1524
Eligible plots 1st_place_medal: 2.95 average
Skipped SPs warning: 2 (0.05%)
Partials submitted receipt: 100!
Blocks package: None
Is it ready to test it on a live environment?

example of daily stats:
Chia DAILY
Hello farmer!  Here's what happened in the last 12 hours:
Received : 0.0000005 XCH
Proofs : 100 found!
Search :

average: 0.53s over 3694 searches
over 5s: 0 occasions (0.0%)
over 15s: 0 occasions (0.0%)
Plots seedling: 1524
Eligible plots 1st_place_medal: 2.95 average
Skipped SPs warning: 2 (0.05%)
Partials submitted receipt: 100!
Blocks package: None

Is it ready to test it on a live environment?

I added for my own usage, then it came across make me thinking if Submitting partial is worth noting since it's not much different from a found proof.

@kanasite did a great job on a first shot at implementing this. Please check out his PR here: https://github.com/martomi/chiadog/pull/268
Further feedback and testing would be appreciated there.

The release 0.7.0 including this change is now out!

Great job! Thanks a lot!!!


Update user password in SandboxSetup.md

Jim had the wrong password.
Signed-off-by: Sam Wood<EMAIL_ADDRESS>Fix to set Jim's password to match membersrvc.yaml

Good catch, LGTM thanks! Please add the DCO sign-off as dco-bot requested

Signed-off-by: Sam Wood<EMAIL_ADDRESS>

reverify jenkins

reverify jenkins

restarted Travis - the previous fail was resolved with subsequent merged PR

Thanks! LGTM


filter config tab for SPECIES and STRAIN

Reverted back to master to use your config tab which looked a lot better then mine. Here I've just filtered the config files to only display the species and strain that the user selects to make it easier to use.
This should close #18

The filter looks good.


app running forever on port 3000

1 Also having this issue.

CTRL+C should stop the process, if that doesn't work for you see this SO answer: https://stackoverflow.com/questions/11583562/how-to-kill-a-process-running-on-particular-port-in-linux

Killing the port does not solve the issue. Must have to do with it being a persistant app. For example, it does not appear when you're in incognito mode.

Oh you mean the caching? Yeah it's cached with AppCache and ServiceWorker
chrome://appcache-internals
chrome://serviceworker-internals

Delete the localhost:3000 entry on both sites to get rid of the cache.

So everytime I make a change to the code, I should delete both of them?

No, in development it updates automatically, only when you run it in production mode.

How about for safari? Worth adding to the readme, as this will probably happen to lots

yes I have killed all operation running. Closed and reopened my terminal. Deleted the whole folder that i forked from here.  Still this happens. any other leads?


Support for Rails and ActiveRecord 7.1

The gemspec includes activerecord < 7.1 so this is currently a blocker for upgrading. Potentially relevant changes include support for composite primary keys, and some new async query methods.
Opened #124

v1.0 is now live: https://rubygems.org/gems/activerecord-nulldb-adapter/versions/1.0.0


Make Travis CI test with multiple Rails versions

I noticed that .travis.yml currently runs bundle exec rake, which just runs the default task, test, which runs rspec and cucumber on one rails version. If it ran bundle exec rake test:all it would attempt to run on all three versions of rails, which would be more thorough and therefore could detect more issues. I'm unsure if this will work well, but it seems it might.

Yeah we've had issues running the all task on CI. It would be awesome to get working though. I'm going to close this pull request for now. If you get it working, please open a new one. Much appreciated!

Thanks! If I'd noticed the exit code issue I would have submitted an issue rather than a pull request. This will be here for the next person who comes along and searches for it, though (I searched before posting). If I get it working it will be with my own Travis CI install because I don't have an account yet (signups are limited).


Retrieve zones / CustomAreas automatically

everything in the title

I would highly appreciate this feature be added to your plugin.

For the moment, they can be logged at least. Keeping open for futur improvments.


Run a single e2e test

I am working on #2285 and have a failing e2e test.
To debug this issue is a massive headache as it running the e2e tests takes a long time.
I have already used e2e:docker --test-suite kitchensink and commented out as many tests as I could find in the test suite and in e2e-kicthensink.sh but running the tests still takes 10+ minutes.
Is there a way we can target a single test so they can be debugged significantly quicker?
Even better, keep running tests against the same build when just editing tests?
Pinging @EnoahNetzach

I think the e2e tests need to migrate away from large shell scripts. Then we'd benefit from all the features of a real JavaScript test runner, including executing individual tests.

technically the "e2e" scripts are not needed for testing, they're there to simulate different kinds on "normal usage": development and production builds before and after ejecting (and set up because of CI).
If you want to only run one test case, you should be able to start your server and test against it.

@EnoahNetzach - I am specifically referring to when writing or modifying an e2e test.
E.g. Make change. Check working by running dev + prod. Write new e2e. Check if e2e test is written/working correctly.
In my case, the test was failing not because it the code was wrong, nor that the test was written wrong, but I needed to add some mocking functionality. However, when trying to debug it, I had to keep running the entire test suite over and over, trying to track down the error.


please specify in readme

i dont understand why i need this plugin
can you show an example? please of code that will get error without this plugin and with it.

When you use vitest, the eslint plugin checks that the global function does not exist.
Whatever, If you're not sure if you need this plugin, then you probably don't need this plugin.


stdenv: Fix error message when checkPhase is missing

Can you target staging? This change is very little but it rebuilds a lot.

Rebased to staging

I wonder how long this has been this way.

Since 50af975d8595c7fce05bc8bbd9db93e3c4cece25, (git blame is a squealer)


Support init type modifiers via the --with option

e.g. $ gradle init --type java-library --with spock
This patch adds support for generating the java-library init type using Spock instead of JUnit.  Additionally it adds a generic withModifier hook so that other ProjectInitDescriptor classes can implement their own modifiers as desired.
ref: https://groups.google.com/forum/#!topic/gradle-dev/gszYkhkMt0g

CI failure seems down to Travis weirdness and not the patch.. 3/4 passed, 4th seems to have had VM issues .

@calid I've restarted the build on TravisCI

@adrianbk awesome, thanks.  Looks like that did the trick.

Thank you for the pull request. This is something that we would like to support. Would you mind updating the design document at https://github.com/gradle/gradle/blob/master/design-docs/build-initialisation.md? Creating or updating a design document is something that we do at Gradle for all non-trivial changes, especially when changing the behavior or public API. We would like to use the same standards for pull requests.

@pioterj I've updated the design document.  I've also rebased the branch onto current master.

Thank you. I should be able to look into it soon.

Could you also update the user guide at update user guide page at https://docs.gradle.org/current/userguide/build_init_plugin.html?

Hi Piotr, done

It's merged. Thank you for the contribution. I'll do some refactoring now. It will be available in Gradle 2.11. If you are interested in contributing more it would be cool to add such modifier for TestNG too after the refactoring is done.

@pioterj awesome, definitely.  Just give me a heads up when the refactoring is done and I'll go ahead and add the TestNG modifier.

@calid Great. I committed the refactoring to master but there may be some additional changes after a code review. I'll let you know once this is completed (probably early next year due to holidays).

Cool, no worries.  I'll still get started on this and I can always reshuffle the code if there's further refactoring necessary.
With this merged it opens the door for some other options I think would be nice (e.g. gradle init --with gitignore).  The Contribution Guidelines recommend posting to the developer list first.  Should I still do this for non-major fixes/improvements, or can I open a PR directly?

It's always a good idea to start with a discussion on the developer list, especially when changing the API. Adding gitignore modifier is less clear-cut than testng.

Cool, I'll play it safe and stick with posting to the developer list first, thanks

@pioterj just a heads up I noticed a very minor typo in buildInitPlugin.xml, "Tu" should read "To"

Fixed, thanks!


Happy birthday, Awesomplete!

:date: Feb 19
Awesomplete is now 1 year old! :gift:

Woohoo! Happy birthday Awesomplete! :)

LOL, I love that you added the LGTM label to this :P

BTW, Awesomplete looks like a beautiful butterfly!


bug(Datepicker): Datepicker with Moment ignores locale

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
16
Description
Since updating to Angular 17, my mat-datepicker ignores my locale. Everything should be in German but instead it's all in English now.
Reproduction
StackBlitz link: https://components-issue-uudyxr.stackblitz.io
Steps to reproduce:

Open the datepicker to select a date
Select a year and a month

Expected Behavior
The months are displayed in German (screenshot taken from production environment that doesn't have the update to Angular 17 yet).

Actual Behavior
The months are displayed in English

Environment

Angular: 17.0.6
CDK/Material: 17.0.3
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11

Yes, we do

Okay, but can we fix that somehow or is it in fact a bug?

Same issue here, with my newly migrated app to Angular 17, using the new Vite builder.

So, do you guys think this bug will be adressed soon? I really don't want to go back to Angular 16 or the old builder.

Hmm I tried removing import '@angular/localize/init';. Didn't fix it though

You can use a workaround like:
import 'moment/locale/de';
This way the locales get compiled and work again.

Had the same issue.
Also used the workaround @CodingMonkeyN  suggested.

Have the same issue but I don't understand this workaround.
Where I have to add this import 'moment/locale/de'; ?

You need to adjust your imports where you normally import Moment with the import specifying the wanted locales.

I'm still having problems with this. We also use the new application builder. For ng serve it works as intended however for our prod build moment locales throw an error "Cannot read properties of undefined (reading 'defineLocale')".

This is how we import moment together with the locales:

What I see in Chrome:

So apparently everything is shipped correctly which makes sense since it's the de.js that's throwing the error.
We initially had some issues with the esbuild because of the "baseHref" option. I understand way to little about bundling etc. to figure out if this could be related.
I'd be greatful for any ideas! Let me know if you need additional info of me.

Okay nevermind my issue has something to do with scoping. Someone actually defined a global variable called "require" facepalm, hence, this check failed inside the locales

The fix of @CodingMonkeyN works for me now as well :D

You can use a workaround like: import 'moment/locale/de';
This way the locales get compiled and work again.

OMG, 2 hours fighting with multiple locales configurations and it was simply a bug...
Your solution worked for me, even setting it in bootstrap app.config.ts
Thank you.

Hi there, issue still happening on Angular Material v18 + Moment v2.30.1
Commented workaround is working for me too

It seems this is not a bug. Previously, locales worked because, according to the Moment documentation, it was a webpack feature:

By default, webpack bundles all Moment.js locales (in Moment.js 2.18.1, that’s 160 minified KBs).

see: https://momentjs.com/docs/#/use-it/webpack/
For typescript importing every single locale is the way to include it in the bundle.
see: https://momentjs.com/docs/#/use-it/typescript/
So apparently import 'moment/locale/de'; is not a workaround, but an official solution.


Syntax Highlighting

It is hurting to my eyes to look at Bella code without syntax highlighting, now I myself am a programming language hobbyist but the languages I create are easy to look at unlike Bella. I have some experience with Sublime Text syntaxes.
We should at least support these:

[x] Visual Studio
[ ] Atom/Pulsar/Zed
[ ] Vim & Neovim

Since learning three (or four) different formats takes time, this is a long term thing and I plan for this issue to act as a progress update so it is easy to find what the progress on syntax highlighting has been.

Okay I'll check it out.

In the screenshot, why is and and or not highlighted?

It depends on the color scheme, but and and or are part of the keyword.operator scope as recommended by TextMate. The default VS Code color scheme does not highlight them any differently from symbol operators.

No, I am using the default color scheme (Dark Modern).

So that must mean the default VS Code colour scheme does not highlight symbol operators?

It is weird that normal operators aren't highlighted then, any reason for this?


Add support for geopackagebinary format loads/dumps

This is described in the OGC GeoPackage spec (12-128r9). Its like
WKB, but with some extra noise (including the SRID) on the front.

@bradh, looking for a working Python implementation of a Geopackage binary parser, this PR is the only thing I found. Did you contribute this code to some other package eventually?

No. Noone wantes wanted it.

Encourage geomet to re-address it.  I was trying to get it in there too. :)

I respect the maintainers call. We might like the feature, but they have have to carry the overhead.


login Google Account failed

Login with Google Account failed.
Hope resolve it. Thanks.

After you go through the login process you will end up on the Google homepage not logged in.
Not sure what it is yet however it is certainly a bug.


Updates to Testing ontology

See RACK_Ontology/Orienteering.md for a background and description of TESTING changes.

@tuxji any idea why this CI failed?

@tuxji any idea why this CI failed?

I'm not certain if this is the cause, but I see the following two messages which probably indicate that shellcheck did not pass:
./assist/databin/ar:36:22: note: Double quote to prevent globbing and word splitting. [SC2086]
./assist/databin/ar:36:43: note: Double quote to prevent globbing and word splitting. [SC2086]

I noticed that the TESTING_updates_kwq branch is 5 commits ahead, 116 commits behind master.  Your best bet is to rebase the TESTING_updates_kwq branch on master (there shouldn't be any conflicts), force push, and see if CI passes:
git switch TESTING_updates_kwq
git pull
git rebase origin/master
git push --force-with-lease

@tuxji OK, I was confused because this PR didn't touch any shell files but I think what happened is shellcheck got updated and master accomodated that after this branch, so I've merged with master and that fixed the linting problem, but now there's a docker image CI problem that I'm unsure about.

but now there's a docker image CI problem that I'm unsure about

I reran the CI job and it got past that problem, so your change didn't cause that problem (probably a slow computer or network caused it).  You can merge the PR anyway, @kquick

Thanks, @tuxji.  That CI job is actually not completing and shows having run for 18h40m and counting, but I think we can chalk that up to gremlins rather than bugs.
This is ready for merging after discussion and approval in the data model decision team, @kityansiu .

@kquick : the data model decision team will make a decision to merge after v12

Graphical representation of the new TESTING ontology included: https://github.com/ge-high-assurance/RACK/blob/TESTING_updates_kwq/RACK-Ontology/Graphs/TESTING_scoped.svg

Fully approved by DMDT.


Link error

Chapter: 1 Review of the core modules of NumPy and Pandas
Section: Technical requirements
The link https://github.com/PacktPublishing/Hands-On-Data-Preprocessing-in-Python doesn't work, because this repository ends with a hyphen.

Thank you @uwsd for pointing that out. It should be fixed before its published.


Add missing isos to global

I was determined that some isos that are present in the release version of the ald data, are not accounted for in the global region of our scenarios in r2dii.data::region_isos.
global should account for every country. I'm not sure the most reproducible way to do this, but what I've done here is:

Manually determine all unique isos in the release ald data
Save this to data-raw/all_ald_isos.csv (happy to rename this)
Ensure that these isos are appended to the end of region_isos when sourcing that data

@maurolepore I'm not sure if this is a great solution, so please feel free to comment.

Yup good shout! news updated.


Error when starting the route

Hello again,
After I get Apollo working, when I follow all the steps in the documentation to run the example.
I get this error and can't get the car to follow the defined route. Has anyone had this problem or have any suggestions on how I can solve this problem?

E0403 22:18:33.270490  6624 channel_manager.cc:326] [spawn_objects] newly added writer(belongs to node[conti_radar_front])'s message type[apollo.drivers.ContiRadar] does not match the exsited writer(belongs to node[cyber_bridge_node])'s message type[apollo.drivers.PointCloud].

Best Regards

do you fix this?

Hello! We have fixed this issue in the latest version and will soon release it

Problem solved by Release 0.3.0, so this issue is closed.


Parallax scrollTo happens too fast second time

Hi,
I am having this issue when I have a nav toolbar and send a state value onclick to my parallax page. I use this.parallax.scrollTo inside a componentDidUpdate.
  componentDidUpdate(prevState) {
    if (prevState.currentPageScroll !== this.state.currentPageScroll) {
      this.parallax.scrollTo(this.state.currentPageScroll);
    }
  }

I am aware that my prevState.currentPageScroll is undefined which I want to so when I scroll up without clicking nav button, my scrollTo will always hit.
The problem is when page load click the nav button, the page scroll smoothly. But when I scroll up using mouse then click on nav button agai, my background move very fast like instant without the smooth scroll effect. I am seeking out for help since I am not sure how the problem is. I am also open for anything different approach using navBar. Thank you

Could you provide a sandbox? Thanks 👍
Closing until you respond.

I have this issue as well and I think that this can be reproduced in the demo for Parallax on the React Spring page: https://codesandbox.io/s/nwq4j1j6lm?from-embed.
Steps:

After loading the page, click the screen (at offset 0) to scroll to the second page (offset 1).
Use mouse to scroll back up to the top of the page (offset 0).
Click the first screen (offset 0) again to scroll to the second page (offset 1) again.

Expected: Clicking the first screen (offset 0) for the second time should smoothly scroll to the second page (offset 1) as it did for the first click.
Actual: For the second click, the screen jumps up suddenly and the "bash" image of the second place also seems to appear out of nowhere very quickly.
Also it should be noted that the transition from page 1 -> page 2 remains smooth as long as you click through all three screens to get back to the first page.


⚠ Bofrost.be has degraded performance

In ae86c2d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 968 ms

Resolved: Bofrost.be performance has improved in 7b0bb3c after 9 minutes.


Sensitivity to line-spacing

Thank you for the package! It addresses a real awkward part of using org. A question I have is if there is any hope of being able to use non-nil line-spacing alongside sliced images. I enjoy increased reading comfort with a slight bump to line-spacing, but this introduces gaps in sliced images.

Thanks. Could you try setting line-spacing to nil and putting the desired value in default-text-properties, eg (setq default-text-properties '(line-spacing 5))?

Thank you for the suggestion! That has the interesting effect of increasing the spacing around newlines (e.g. paragraph breaks), but not between consecutive lines of wrapped text.

Gotcha. What if you also used wrap-prefix:
(setq my-line-spacing 5)
(setq default-text-properties
      `(line-spacing my-line-spacing
        wrap-prefix (space . (:height (,(+ (default-font-height) my-line-spacing))
                              :width (0)))))

This is a little strange. Given I wanted a line-spacing of 0.2, I can use the approach you suggest here by using 0.2 for the line-spacing text property to affect newlines and giving wrap-prefix a :height property of 1.2. What this does to a test with a sliced image is insert a gap after the first row, then a smaller gap after the second row, and then no more gaps for the rest of the image.

Very odd. To summarize, on your machine:

(setq default-text-properties '(line-spacing 0.2)) gives the desired spacing between logical lines, no spacing between visual lines, and no gaps between slices.
(setq default-text-properties '(line-spacing 0.2 wrap-prefix (space . (:height 1.2 :width 0)))) gives the desired spacing between logical lines and visual lines, and differently-sized gaps between the first three slices.

The latter is not the case on my machine (emacs 29.3, org 9.6.15); there are no gaps between slices.
What is the nature of the links you are using (ie their length and placement wrt other text)? Is the same true with emacs -Q? What  versions of emacs and org do you have?

I'm testing on GNU Emacs 29.3 (build 1, aarch64-apple-darwin23.4.0, NS appkit-2487.50 Version 14.4.1 (Build 23E224)) and Org mode version 9.6.26. I'm going to work with the default-text-properties approach and figure out why it's not always working, as it's very close for me. Thank you for your help!
In changing those settings back and forth a lot while toggling inline images, I did encounter some changes to my test document. In particular, non-headline text following an image would sometimes lose newlines between the image and the text. When this happened, I saw this in *Messages*: org-sliced-images-remove-inline-images: Wrong type argument: number-or-marker-p, nil next-line: End of buffer [2 times]
And this in *Warnings*: ⛔ Warning (org-element-cache): org-element--cache: Unregistered buffer modifications detected (796 != 794). Resetting.
I'm only seeing it when updating these settings we're talking about. If I can make a reproducer, I'll open another Issue.


Is there anyway to extract text from html string of react-quill editor ?

Hi,
I got html string from editor and save to db. Now can I extract the text from that string.
The problem is when I enter new line, react-quill render "<p>" tag. So I can't reverse it to \n

I'm also facing this problem


how to config the rule for react/jsx-wrap-multilines?

"rules": {
	"react/jsx-wrap-multilines": {
		"declaration": "parens",
		"assignment": "parens",
		"return": "parens",
		"arrow": "parens",
		"condition": "ignore",
		"logical": "ignore",
		"prop": "ignore"
	}
}

is this the right syntax to config this rule ? Because it doesn't work for me at all.

In what way does it not work? What are you expecting, and what are you getting?


create table function

leader can use this page to create tables

It looks good, it can create the table for leader.


More tests

This is a work in progress. Creating a PR to add to the Jira issue.

I fixed the failure for run, but the failure for artifact is due to the change in the way imports work. Sorry about that!
BTW, I also released version 0.3.0. I was able to test if GitHub actions can push to PyPI, and it worked!

Do you have permission to merge, @ayaz91?

Do you have permission to merge, @ayaz91?

Yes, I can merge.


it has some delay in low internet speed mode!

nanoScrollerJS is fine! (Howerver, it has some delay in low internet speed mode!)

https://github.com/kamlekar/slim-scroll/issues/26

I think it shouldn't display the scrollbar style, until the js files loaded!

Thanks!
I don't see this as a big issue, as it is not a problem in the library, but rather in the website. :)


[Experimental] [CSharp Core] Fix World Translations

Description
Modified ComponentTranslations to match new Dispatcher interface.
Modified SpatialOSReceiveSystem to use new Dispatcher interface.
Tests
How did you test these changes prior to submitting this pull request?
What automated tests are included in this PR?
Documentation
How is this documented (for example: release note, upgrade guide, feature page, in-code documentation)?
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

@zeroZshadow Going to close this as its gonna be superseded by a ton of other changes.


Error with make install, to install jekyll

Hi all,
Following this tutorial to serve the GTN materials locally:
https://training.galaxyproject.org/training-material/topics/contributing/tutorials/running-jekyll/tutorial.html
I am working on a Mac, have updated my GitHub fork, cloned a fresh copy of the training-material locally, run the commands to install conda and create a virtual env called galaxy_training_material, then activated it.
Issue:
When I run make install I get errors.
These include:
Building native extensions. This could take a while...
ERROR:  Error installing jekyll-last-modified-at:
	ERROR: Failed to build gem native extension.

and
compiling posix-spawn.c
posix-spawn.c:6:10: fatal error: 'errno.h' file not found
#include <errno.h>
         ^~~~~~~~~
1 error generated.
make[1]: *** [posix-spawn.o] Error 1

and
11 gems installed
make: *** [install] Error 1

Does anyone know why?
I can include the full screen log if that's useful.
Thanks,
Anna

maybe @bebatut has some insight as a Mac user?


AWS build pipeline error "Error: Cannot find module 'amplify-prompts'" since today

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
this is the build pipeline in the AWS console
If applicable, what version of Node.js are you using?
14
Amplify CLI Version
5.3.1
What operating system are you using?
linux
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Everything was working fine, but since today the build pipeline throws the following error because amplify-prompts cannot be found.
2022-01-13T10:09:21.046Z [INFO]: /root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen/src/utils/validateAmplifyFlutterCapableZeroThreeFeatures.js:1
                                 Error: Cannot find module 'amplify-prompts'
                                 Require stack:
                                 -<EMAIL_ADDRESS>                                 -<EMAIL_ADDRESS>...

Amplify Categories
hosting
Amplify Commands
init
Describe the bug
run amplify init as usual, get the above error
Expected behavior
should work, like it did yesterday (we did not update any code, this was a redeploy of the same build, same CLI version, etc)
Reproduction steps

GraphQL schema(s)
No response
Log output

# Put your logs below this line

Additional information
No response

The dependency of amplify-prompts is removed from amplify-codegen in the latest verison v2.27.3. The issue is due to a caret version dependency of amplify-codegen from the old version CLI(starts at the version 4.x) when the amplify-prompts is not bundled yet in CLI. Since the package is just released, the problem should be resolved by fetching the latest codegen.
Please reopen this issue if the problem is still unresolved and need further assistance.

Related PR: https://github.com/aws-amplify/amplify-codegen/pull/373


Copy/Paste Other SerializeReference Objects

Add a contextmenu to the ShowValueType drawer that can copy and paste a SerializeReference object.
Copy should add the object to a static field.
Paste should attempt to paste the object, and if it's unassignable, it should show a warning in the console.

Released in Version 2.1.0


@torch.jit.script is not working properly

Torch version is: 0.4.1(the lastest version shown in official website)
CUDA: 8.0
CUDNN: 7.0
I have no idea about the error and my colleague came with the same problem.
Here is the log:
raise NotSupportedError(base.range(), "slicing multiple dimensions at the same time isn't supported yet")
torch.jit.frontend.NotSupportedError: slicing multiple dimensions at the same time isn't supported yet
@torch.jit.script
def fused_add_tanh_sigmoid_multiply(input_a, input_b,n_channels):
n_channels_int = n_channels[0]
in_act = input_a+input_b
t_act = torch.nn.functional.tanh(in_act[:, :n_channels_int, :])
<--- HERE
s_act = torch.nn.functional.sigmoid(in_act[:,n_channels_int:, :])
acts = t_act * s_act
return acts

https://github.com/NVIDIA/waveglow/issues/4#issuecomment-441032996
it's pytorch version issue. if you update pytorch 1.0.0a0, it works well.

I removed all the @torch.jit.script and it works well for pytorch of version 0.4

Please update to pytorch 1.0 to benefit from the performance improvement.

@jiqizaisikao  Awesome! That works, thanks man!

@jiqizaisikao ， @zceehua ，  i removed @@torch.jit.script , and pytorch of version is 0.4, but result a error: AttributeError: Can't get attribute '_rebuild_parameter' on <module 'torch._utils' from '/home/greed/anaconda3/lib/python3.6/site-packages/torch/_utils.py'>

Please update to pytorch 1.0.

@rafaelvalle  , I update to pytorch 1.0,  it work well now. Tks.

well i had pytorch 1.0 installed and i had to downgrade it to solve an error so i can't upgrade it again


Fixed not closed SSH connections

SSH connections doesn't get closed at all. Should work now.
https://github.com/dadoonet/fsriver/issues/96

David Pilato » fsriver #139 FAILURE
Looks like there's a problem with this pull request
(what's this?)


Python 3.8 threading is crashing: TypeError: run() takes 1 positional argument

Hi all,
We upgraded to Python 3.8 and the new sentry, and we are seeing this error TypeError: run() takes 1 positional argument but 3 were given
We are also seeing it showing sometimes as TypeError: run() takes 1 positional argument but 2 were given
We are also using ddtrace.
Exception ignored in thread started by: <bound method Thread._bootstrap of <Thread(AgentWriter, started daemon<PHONE_NUMBER>60384)>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.8/threading.py", line 924, in _bootstrap_inner
Exception ignored in thread started by: <bound method Thread._bootstrap of <Thread(AgentWriter, started daemon<PHONE_NUMBER>53088)>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.8/threading.py", line 924, in _bootstrap_inner
    del _limbo[self]
KeyError: <Thread(AgentWriter, started daemon<PHONE_NUMBER>53088)>
    del _limbo[self]
KeyError: <Thread(AgentWriter, started daemon<PHONE_NUMBER>53088)>
Exception in thread AgentWriter:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
    reraise(*_capture_exception())
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 57, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
    return old_run_func(self, *a, **kw)
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
    reraise(*_capture_exception())
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 57, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
    return old_run_func(self, *a, **kw)
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
    reraise(*_capture_exception())
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 57, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
    return old_run_func(self, *a, **kw)
TypeError: run() takes 1 positional argument but 3 were given

Does anyone know why this issue is happening?

Hey, I've never seen this issue before. Can you try downgrading Python to 3.7 or removing ddtrace to rule out inessential factors?
My first thoughts on that stacktrace are that somehow our instrumentation is initialized multiple times. The only way I can imagine this to be possible is if somehow our SDK was initialized while the process is forking.

@untitaker Thanks!
When using py 3.7, this is issue is not happning

Have you tried removing datadog, and does this happen for other threads as well? I did not find anything suspicious in ddtrace that would explain this

https://stackoverflow.com/questions/37116721/python-typeerror-in-threading-function-takes-x-positional-argument-but-y-were
This stackoverflow issue solved it for me. add a comma after you argument if you only have one.

@musterjunk I really don't think this issue is relevant

@musterjunk I think this issue is unrelated

It happens for any unhandled exception. Without any message, I then have to guess the line throwing the exception. Is there any generic way to solve this?

We're seeing this error in python 3.7.10 any updates on a fix?

@yardensachs @jcshott, I am struggling to reproduce this bug with the information you have provided so far. Can you please provide a specific code snippet which causes this error, and also provide the exact Python version and packages you have installed? And, can you please also verify whether you still observe the bug with the latest SDK version?

Yea we don't see this issue anymore FWIW


Adds internationalization

The translated files are not completed yet and I need to add a redirect from /calibrate because that route is broken now in favour of [locale]/calibrate.

From what I can tell, things look good, but it’s very hard to tell since files were renamed and those whole files are showing as new. This one probably makes more sense testing from a browser. If things look good on your Vercel build, I’d say go for it!
I can pull the branch and run it locally later today or tonight, but if you don’t want to wait for me, that’s fine too!

It does touch too many files! I'll be happy to have this one merged. Here's the vercel preview so you don't have to build it locally.

We appear to have lost the border around the opened pdf. Everything else appears to be intact!

I'm not sure how I managed to put that change in there! I moved it to the inner div so it rotates with the pdf.


Add a lot of new languages

Thanks a lot! 💯

Btw, if you are interested in esolangs, I hope you would check out mine: https://github.com/FreakC-Foundation/FreakC


Make ModificationCommandComparer handle shared table.

Fixes #10568

Could this be ported to release/2.0 for a servicing release?

@dasMulli Since there is a workaround the fix doesn't meet patch criteria.

okay, personally I'm fine with the fix, just replacing an internal class with a custom patched version in all projects just to be safe is a bit scary. and it is a bug that affects all users of a 2.0 feature and requires some good googling to find the workaround (took me a day) while the fix doesn't seem to be too "risky" (in terms of bug fixed vs possibility of introducing new ones) though I have absolutely no authority in judging this.
this is my reasoning for pitching it for a patch release.


Space in REQUEST_COOKIE is triggering 941100 XSS attack rule

Hi,
The following userid cookie rXXAAl OnJK6gwAXXXXeAg== generated by Nginx appears to trigger the xss rule 941100, the uuid is generated per user session so it is intermittent, however the only consistent pattern is that the userid cookies that are blocked contain a space " ", rather than a plus "+" character.
[client xxx.xxx.xxx.xxx] ModSecurity: Access denied with code 403 (phase 2). detected XSS using libinjection. [file "/etc/nginx/conf.d/modsecurity/rules/3.0.2/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "37"] [id "941100"] [rev "2"] [msg "XSS Attack Detected via libinjection"] [data "Matched Data: rXXAAl OnJK6gwAXXXXeAg== found within REQUEST_COOKIES:id: rXXAAl OnJK6gwAXXXXeAg=="] [severity "2"] [ver "OWASP_CRS/3.0.0"] [maturity "1"] [accuracy "9"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "OWASP_CRS/WEB_ATTACK/XSS"] [tag "WASCTC/WASC-8"] [tag "WASCTC/WASC-22"] [tag "OWASP_TOP_10/A3"] [tag "OWASP_AppSensor/IE1"] [tag "CAPEC-242"] [hostname "xxx.xxx.xxx.xxx"] [uri "/summary"] [unique_id "160319605595.840815"] [ref "v668,24t:utf8toUnicode,t:urlDecodeUni,t:htmlEntityDecode,t:jsDecode,t:cssDecode,t:removeNulls"]

Nginx: 1.17.9
CRS ruleset: 3.0.2
ModSecurity: v3/master from around 29th April 2020
From testing it appears to be related to the space, which I believe with base64 encoded is a legal character, but typically ignored during parsing. I am not sure if this space is triggering a rule that would normally detect something like a CRLF-type attack i.e. if a space, page return, et al are in a value it is automatically assumed to be an XSS?

Ha @danielluke. Thanks for the report. That seems to be an libInjection issue. Let me dig a little bit on that and I will get back to you.

Hi @zimmerle, I think you meant to tag @danielwrayois and not me :)

Hi @zimmerle, I think you meant to tag @danielwrayois and not me :)

sorry :)
Hi @danielwrayois :P

Kamino closed and cloned this issue to libinjection/libinjection


🐛 [BUG] NotADirectoryError when attempting to run git (#264 again)

Describe the bug
The get_commit function generates a NotADirectoryError by calling a git subprocess with a value of cwd that is not a valid directory.
Previously reported in https://github.com/mir-group/nequip/issues/264
Apparently the fix did not work (or maybe was reverted in later code?)
To Reproduce
After compiling nequip-0.6.1 from source:
/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/__init__.py:20: UserWarning: !! PyTorch version 2.0.1 found. Upstream issues in PyTorch versions 1.13.* and 2.* have been seen to cause unusual performance degredations on some CUDA systems that become worse over time; see https://github.com/mir-group/nequip/discussions/311. The best tested PyTorch version to use with CUDA devices is 1.11; while using other versions if you observe this problem, an unexpected lack of this problem, or other strange behavior, please post in the linked GitHub issue.
  warnings.warn(
INFO:root:Loading best_model.pth from training session...
Traceback (most recent call last):
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/bin/nequip-deploy", line 33, in <module>
    sys.exit(load_entry_point('nequip==0.6.1', 'console_scripts', 'nequip-deploy')())
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/scripts/deploy.py", line 307, in main
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/utils/versions.py", line 53, in check_code_version
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/utils/versions.py", line 47, in get_current_code_versions
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/utils/versions.py", line 47, in <dictcomp>
  File "/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/utils/git.py", line 20, in get_commit
  File "/ccc/products/python3-3.10.6/gcc--8.3.0__openmpi--4.0.1/cuda-11.7/lib/python3.10/subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/ccc/products/python3-3.10.6/gcc--8.3.0__openmpi--4.0.1/cuda-11.7/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/ccc/products/python3-3.10.6/gcc--8.3.0__openmpi--4.0.1/cuda-11.7/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: '/ccc/work/cont003/gen7069/andredun/applications/nequip-0.6.1/lib/python3.10/site-packages/nequip-0.6.1-py3.10.egg/nequip/..'

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
OS: CentOS Linux release 8.4.2105
Python 3.10.6
nequip version: 0.6.1
e3nn version: 0.5.1
pytorch version: 2.0.1

Hi @fxcoudert ,
Thanks for the issue report. Unless the commits are important for your needs, feel free to comment out the offending lines in nequip/utils/versions.py and hack it to achieve what you want. The get_commit function has been removed anyway in the develop branch (d479aadd99ba0b8e2c1d0693c71d23c9bcfd4953), so this bug shouldn't re-appear in future releases.


CBPV semantic for calculus?

We sort of have Y (it can be pulled out of language(thx to FTG) to get a purely functional & total lang)
right now there's just a ordinary CBV calculus, will be nice to handle divergence systematically?

mess things up. right now I have more of a traditional ssos. but will be cool to see if denotational semantic help


Doom does not allow for pixel scrolling under railwaycat's mac port

What did you expect to happen?
When I scroll with my macbook touchpad, I see pixel scrolling
What actually happened?
When I scroll with my macbook touchpad, I see line-by-line scrolling
Additional details:

I have an empty doom emacs install.
I am able to see pixel scrolling in railwaycat's mac port after doing mv ~/.emacs.d ~/.emacs.d.doom_restore_after . Also, I don't have to do M-x pixel-scroll-mode to enable it. I can pixel scroll right away in an empty emacs install.

System information:

emacs   version    26.3
        features   NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS
        build      Jan 29, 2020
        buildopts  (--enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-mac/emacs-26.3-z-mac-7.8/share/info/emacs --prefix=/usr/local/Cellar/emacs-mac/emacs-26.3-z-mac-7.8 --with-mac --enable-mac-app=/usr/local/Cellar/emacs-mac/emacs-26.3-z-mac-7.8 --with-gnutls)
        windowsys  mac
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop, origin/develop, origin/HEAD 58c6aea7c 2020-01-30 17:38:12 -0500
        dir        ~/.doom.d/
system  type       darwin
        config     x86_64-apple-darwin19.2.0
        shell      /bin/bash
        uname      Darwin 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
        path       (~/.nvm/versions/node/v13.3.0/bin ~/google-cloud-sdk/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/share/dotnet /opt/X11/bin /Library/Frameworks/Mono.framework/Versions/Current/Commands ~/kg_bin/ ~/bin /usr/local/Cellar/emacs-mac/emacs-26.3-z-mac-7.8/libexec/emacs/26.3/x86_64-apple-darwin19.2.0/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash neotree ophints (popup +all +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs dired electric ibuffer vc :term eshell :checkers syntax :tools (eval +overlay) (lookup +docsets) magit :lang data emacs-lisp markdown (org +dragndrop +present) sh :config (default +bindings +smartparens))
        packages   (n/a)
        elpa       (n/a)
        unpin      (n/a)

I've disable smooth scrolling because it's slow to the point that it's unusable. Try (setq mac-mouse-wheel-smooth-scroll t) to restore it. Perhaps tweak mouse-wheel-progressive-speed as well.

On a fresh doom installation, enabling pixel-scroll-mode lags scrolling, and freezes doom emacs within a few seconds.
Removing the scrolling configuration in core-ui.el allows pixel-scroll-mode to work like normal. For those that want to use pixel-scroll-mode, is editing core-ui.el the optimal solution? Or is there a way to disable the added scrolling configurations specified in core-ui.el via a personal config?

This issue is still relevant.


update README and cleanup setup.py

@sebastianrosenzweig @LLDievelop do you know if conda reads the dependencies from the install_requires field in setup.py? If yes, we could remove the duplicate code from environment.yml.

Yes, if recently found a way to install the packages specified in setup.py using conda:
conda create -n pytch python=3.6.7
conda activate pytch
python setup.py install

So we can remove the environment and maybe put this procedure in the README?

Yes, if recently found a way to install the packages specified in setup.py using conda:
conda create -n pytch python=3.6.7
conda activate pytch
python setup.py install

So we can remove the environment and maybe put this procedure in the README?

Ah, maybe it's good to have the environment.yml in there. Probably it's the most straight forward go-to for conda users. Let's postpone that decision.


Enable NPU power monitor on Ryzen 5 7640U

I need to enable power monitor on Ryzen 5 7640U with NPU. During NPU task I execute the xrt-smi examine --report platform  cmd, but it returns no power value:

[00c2:00:01.1] : NPU
Platform
Name                   : NPU
Power Mode             : Turbo
Power                    : N/A
Does this NPU-Type support power monitoring? On the other site the npu validate check works properly by typing xrt-smi validate --run all, so xrt should be fine:
Validate Device           : [00c2:00:01.1]
Platform              : NPU
Power Mode            : Performance
Test 1 [00c2:00:01.1]     : latency
Details               : Average latency: 110.0 us
Test Status           : [PASSED]
Test 2 [00c2:00:01.1]     : throughput
Details               : Average throughput: 23385.2 ops
Test Status           : [PASSED]
Test 3 [00c2:00:01.1]     : cmd-chain-latency
Details               : Average latency: 27.7 us
Test Status           : [PASSED]
Test 4 [00c2:00:01.1]     : cmd-chain-throughput
Details               : Average throughput: 35808.7 ops
Test Status           : [PASSED]
Test 5 [00c2:00:01.1]     : df-bw
Details               : Average bandwidth per shim DMA: 23.0 GB/s
Test Status           : [PASSED]
Test 6 [00c2:00:01.1]     : tct-one-col
Details               : Average TCT throughput: 192346.5 TCT/s
Test Status           : [PASSED]
Test 7 [00c2:00:01.1]     : tct-all-col
Details               : Average TCT throughput: 419662.0 TCT/s
Test Status           : [PASSED]
Test 8 [00c2:00:01.1]     : aie-reconfig-overhead
Details               : Array reconfiguration overhead: 9.7 ms
Test Status           : [PASSED]
Test 9 [00c2:00:01.1]     : spatial-sharing-overhead
Details               : Overhead: 5752.9 ms
Test Status           : [PASSED]
Test 10 [00c2:00:01.1]    : temporal-sharing-overhead
Details               : Overhead: '11426.6' ms
Test Status           : [PASSED]
Validation completed. Please run the command '--verbose' option for more details
Does anyone have an idea about the missing Power Value?

@jena1-usr, this is the expected behavior. Power is only reported for the STX family of devices. Power reporting is not available for PHX or HPT families. We will update the documentation accordingly.


Version 1.8.1 not working with gcc 4.4.7

➜  googletest git:(ec44c6c) ✗ git checkout release-1.8.1
➜  googletest git:(2fe3bd9) ✗ docker run --rm -it -v $PWD:/sources test_env
[root@19539de69b85 sources]# cd bb
[root@19539de69b85 bb]# cmake ..
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.6.6")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /sources/bb
[root@19539de69b85 bb]# make
Scanning dependencies of target gtest
[ 12%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 25%] Linking CXX static library libgtest.a
[ 25%] Built target gtest
Scanning dependencies of target gmock
[ 37%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
cc1plus: warnings being treated as errors
In file included from /sources/googlemock/include/gmock/gmock-spec-builders.h:71,
                 from /sources/googlemock/include/gmock/gmock-generated-function-mockers.h:44,
                 from /sources/googlemock/include/gmock/gmock.h:62,
                 from /sources/googlemock/src/gmock-all.cc:39:
/sources/googlemock/include/gmock/gmock-matchers.h: In member function 'testing::internal::PointwiseMatcher<TupleMatcher, RhsContainer>::operator testing::Matcher<T>() const':
/sources/googlemock/include/gmock/gmock-matchers.h:3028: error: declaration of 'use_UnorderedPointwise_with_hash_tables' shadows a member of 'this'
make[2]: *** [googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[1]: *** [googlemock/CMakeFiles/gmock.dir/all] Error 2
make: *** [all] Error 2

Version 1.8.0 working without problem

Docker image based on centos 6

@013ez thank you for the information. https://www.gnu.org/software/gcc/gcc-4.4/ was released back in 2012.
https://abseil.io/about/compatibility specifies 5 years horizon for support.
We don't have this complier in the CI build matrix, we dont test agains this compiler.
With that, if you can provide a PR to fix this issue we would consider it.
Thanks

Looks stale, closing


Passive Customization Attributes are ignored when used in combination with [Frozen]

If a test method parameter is decorated with both [Substitute] and [Frozen] attributes, a concrete instance is created instead of a substitute. The following test fails:
[Theory, AutoNSubstituteData]
public void FreezeConcreteTypeSubstitute([Frozen, Substitute] ConcreteType ct1, ConcreteType ct2)
{
    Assert.Same(ct1, ct2);
    Assert.True(ct1.GetType().BaseType == typeof(ConcreteType)); // fails
    // A real instance is created instead of a mock.
}

The issue has been addressed in PR #627 but it was agreed that the solution is sub-optimal. To be implemented in a new PR.

@sergeyshushlyapin, while I haven't added the jump in label to this issue, you're still more than welcome to attempt to address it. You seem to be on top of things :+1:

The issue is not about the [Substitute] attribute only. It's about all the Passive Attributes that require corresponding relays to create specimens (e.g. StringLengthAttributeRelay):
[Theory, AutoData]
public void StringLengthConstraintWorksWithoutFrozen([StringLength(3)]string str)
{
    Assert.True(str.Length == 3); // pass
}

[Theory, AutoData]
public void StringLengthConstraintFailsWithFrozen([Frozen][StringLength(3)]string str)
{
    Assert.True(str.Length == 3); // fails
}

The underlying reason is in the wrong assumption that in order to create a specimen only type is required. In the Glue Libraries specimens can be defined by types and Customization Attributes.
The FreezeOnMatchCustomization resolves specimens using type only which causes the issue:
var specimen = context.Resolve(this.TargetType);

Just a hint: as a potential way to fix this issue is to create a custom ICustomAttributeProvider implementation and resolve it. That implementation should hide one attribute that we already processed. However, that could lead to large refactoring for existing code..

Will be fixed in v4.


Prepare component to handle Connector State

Apply something as the GE expectations docs https://greatexpectations.io/expectations

Introduced at
Status (beta, prod)
supports lineage Y/N
supports profiler Y/N
...

component definition


Support providing Astro.locals through the adapter

💻

[ ] Would you like to work on this feature?

What problem are you trying to solve?
The first party astro node adapter supports providing Astro.locals when ran in middleware mode. It would be convinient to implement it for the aws adapter as well to enable easily passing data from the handler to Astro.
https://docs.astro.build/en/guides/middleware/
Describe the solution you'd like
Add a new optional parameter that enables supplying Astro.locals
Describe alternatives you've considered
As a workaround you can write Astro middlewares that can make request to s3 buckets for instance. (The problem is mixing responsibilities with this approach)
Documentation, Adoption, Migration Strategy
No response

@Csszabi98 Could you please provide more info like a link or a repo with an example of what you want?
Right now middleware and Astro.locals work so I am not sure what you are requesting.
Thanks you!

This has been completed.


Added AsciiTable in Third Party Modules GitHub

Thanks for the patch, but it must be green to be considered. Due to the high volume, I'm not reviewing red PRs, just closing to clear out the queue. I apologize if I haven't addressed something. Please open a new PR.


Consider migrating signing to signatory

We are writing our own wrapper around boringssl instead of using ring, so it'd be nice to use our library for signing. One way to implementing this without forcing everyone to use the same crypto library would be to use signatory, which abstracts over a number of different libraries.

Note that Signatory presently supports Ed25519 and ECDSA with NIST P-256 or secp256k1. I'm open to adding other constructions/curves if need be.

Also if there's interest I can send a PR for this

I think this is reasonable, but we already have a lot of PRs open for restructuring. You can submit one, but there might be a lot of rebasing. Idk if you want to wait until some of this flurry calms down some.

We are writing our own wrapper around boringssl instead of using ring, so it'd be nice to use our library for signing.

Aren't we using ring already? What "our library" is at the moment?

One way to implementing this without forcing everyone to use the same crypto library would be to use signatory, which abstracts over a number of different libraries.

I'm totally lost, is this proposing to use signatory and get rid of anything that we are doing on our own about signing?
I'm totally new to this code base and struggling a bit around keys and signatures, given that it's not the core business of this project I would expect that it's entirely reusing some other solution. So if this is the proposal, I cannot agree more.

Happy to help with Signatory support soon. Also note that in addition to YubiHSM2s as hardware-backed key storage, we're working on support for regular YubiKeys here (WIP):
https://github.com/iqlusioninc/yubikey-piv.rs


Multi Select checkmarks not lining up with rows when filtering enabled

I have seen previous fixes to this but still encountering offset RowHeader selection checkmarks with their associated row when enableFiltering = true.   Is there a CSS quick fix for this?  Using latest build......

This is discussed in #3394


Allow disabling starting multiple instances of a launch config

I'd like a setting to disable the ability to start a launch config multiple times.
Also, @isidorn mentioned that it might be possible to start multiple instances accidentally by pressing F5 twice quickly, and we could fix that independently of a setting.

I would not like to introduce a setting for this case, and ideally we could figure out a solution which works for everybody. Maybe we should simply prompt: "Are you sure you already have the same session running.."
Pressing F5 quickly should ideally not be a problem because we disable starting debugging while another session is in the INIT phase.

Yes, I still like the prompt (because that was my initial proposal).

I have added a prompt. Feedback on the wording is very welcome. Thanks!

It's more like "Start a second instance" right? This sounds like I am restarting it

My proposal:

'Launch Program' is already running. Do you want to start another instance?

@weinand @roblourens thanks! I like that wording as it makes it more clear. I have updated it.

How I can disable this? https://github.com/microsoft/vscode/issues/132201
It's annoying. I don't want vscode to stop me to press f5 twice

@iamwwc do you really want to start multiple concurrent debug sessions or do you just want to restart your session?

I'm developing some rust app, restart just restart previous binary, don't recompile it. So I use macros to first stop and then start, which make sure lldb rebuild my project.
But I found stop and then start cause showing confirm dialog. After some discovery, It seems executeCommand will run commands concurrently
Could you follow this steps to reproduce the issue?
https://github.com/microsoft/vscode/issues/132446

I agree with iamwwc. In my case I really do want multiple concurrent debug sessions running. A "don't ask again" button would be great.


Leaking of password reset token through the reset url

I think it is possible to leak the password reset token since it is left in the url.
In Django 1.11 the token is stripped during a redirect (docs, code) to prevent the token from being taken in the referrer header from 3rd party apps on the page. I haven't dug too deeply into the source for this project but at a first glance it seems that the vulnerability exists.
If this is the case would be happy to help fix similar to django-registration-redux, or at the very least alert you to the issue. Let me know if you guys need any help!

Hoo boy. I got this exploiiit to work too, and this error reports nearly a year old. Abandon ship folks.

This is fixed in v4.0.0 of the still maintained fork of this repo, here: https://github.com/django-userena-ce/django-userena-ce


[Window] Add ability to set rounded corners on an undecorated Aurora window

In Windows 11, rounded corners for windows were introduced. Of course, with an undecorated window and the nature of Java being cross-platform, it does not inherit this functionality from the operating system.
Therefore, it would be good if, for example, there was the ability to make the corners rounded, or have the corners automatically round when on Windows 11. I imagine this could be done by allowing the window to have a certain shape (of which RoundedRectangle() could be passed) or through a parameter of roundedCorners = true. Hopefully, this would then make Aurora applications feel more native for Windows 11 whilst maintaining cross-platform functionality.

I do not have plans to support rounded corners, any sort of translucency, drop shadows or acrylic / aero / anything similar on top-level windows.

How come - is there any reason why?

Window translucency (Aero / Acrylic on Windows, and general translucent areas on macOS) require usage of native APIs. Beyond the additional complexity required to build and test such dependencies across different OSes, there is the inescapable cost that comes with trying to keep up with the ever evolving native capabilities. See my post on this from yesterday.
These are also design trends that last for a few years, to be replaced with something different. I build Radiance and Aurora for a longer time span, and do not chase such trends.
If an interested third-party wants to provide native integration for windows-level features (such as, let's say, snap layouts on Windows 11), I will consider providing support in Aurora for configuring Aurora-provided title pane with such integration points. But I will not be in the business of chasing short term fads from OS vendors.

If an interested third-party wants to provide native integration for windows-level features (such as, let's say, snap layouts on Windows 11), I will consider providing support in Aurora for configuring Aurora-provided title pane with such integration points. But I will not be in the business of chasing short term fads from OS vendors.

Following this, could there potentially be a future integration of Aurora with Compose Window Styler?

Is there anything that stops you from using both of these projects together today?

ComposeWindowStyler requires FrameWindowScope whereas an AuroraWindow provides AuroraWindowScope.

Looks like that could be WindowScope instead, unless they have plans to only limit it to frames and not dialogs


Distinguish 'object group'- vs 'collection'-specific terms

[x] #477
[x] #478
[x] #429
[ ] create table in wiki that divides terms into Human vs Machine-readable terms

See notes from 13 April 2023

Note: The distinguishing point here is that the term is intended to help in a machine readable context rather than something more helpful for humans to read.

The csv in the review branch https://github.com/tdwg/cd/blob/review/reference/humanVmachine.md.


create datadir on launch

create data dir on poetry run lnbits if it does not exist.

Codecov Report

Merging #1674 (898eb29) into main (bd47527) will decrease coverage by 0.16%.
The diff coverage is 33.33%.

:exclamation: Current head 898eb29 differs from pull request most recent head 4dd23de. Consider uploading reports for the commit 4dd23de to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1674      +/-   ##
==========================================
- Coverage   46.18%   46.03%   -0.16%
==========================================
  Files          47       47
  Lines        6916     6919       +3
==========================================
- Hits         3194     3185       -9
- Misses       3722     3734      +12

Impacted Files
Coverage Δ

lnbits/extension_manager.py
46.62% <33.33%> (ø)

lnbits/server.py
43.90% <33.33%> (-0.84%)
:arrow_down:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Changed "image" to array of attachments

( also I cannot into typescript but I hope this syntax is correct )


[TRI-1430] Improve the OpenAI integration documentation

Overview:
Update the OpenAI integration documentation so it is much easier to use as a reference.
We have just overhauled our GitHub documentation and would like all of the rest of our integrations to follow the same structure.
Please use the references and resources at the bottom of this post to complete this issue.
Pages to add:
OpenAI overview & authentication:
This page is currently this.

Page Title: OpenAI overview & authentication
Sidebar title: Overview & authentication
Page content: authentication with OpenAI, in the same format as this. If there is no overview, write one. You can use their company website for inspiration.

OpenAI Tasks:

Page title: OpenAI tasks
Sidebar title: Tasks
Page content: all the tasks available from our OpenAI integration, in the same format as this: https://trigger.dev/docs/integrations/apis/github-tasks. Please include code comments in all of the code examples. Also include one example at the bottom with clear comments. See references below for sample code.

References & resources:

GitHub documentation to reference
Our current OpenAI documentation in the GitHub repo.
Example job code to use - job catalog and jobs showcase.
We use Mintlify for our docs, documentation here

[!IMPORTANT]
Please include a video or screenshots of the pages when you submit a PR for us to check

TRI-1430

pls assign me this issue


add recent hypr-utilities

we should check the hyprwm org more often with the speed Vaxry creates new things lol

I already added them, but they probably should be there too https://github.com/hyprland-community/awesome-hyprland/commit/4cc099568b6bb44d67d0218669e6fcbfca2e937f

oh oop didn't notice.
I do believe they belong in the Official tools section, given that hyprpaper and hyprpicker aren't in their appropriate sections.

oh oop didn't notice. I do believe they belong in the Official tools section, given that hyprpaper and hyprpicker aren't in their appropriate sections.

dy think it'd be better to remove them from the sections there?

dy think it'd be better to remove them from the sections there?

that or add hyprpaper and hyprpicker to fitting categories too

dy think it'd be better to remove them from the sections there?

that or add hyprpaper and hyprpicker to fitting categories too

yeah, then could you add those to their own categories too?

hope that works

sick


Fixes broken Examples Link

The URL is case sensitive.

Hi @hdansou, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Excellent, thanks for catching that Hounsou!


⚠ Bofrost.de has degraded performance

In b007e49, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 888 ms

Resolved: Bofrost.de performance has improved in e91376e.


Expose tickSize in market create form

ref #4828

One minor change — make sure the step size validates against being less than 0.

A couple minor design updates:

We need to preserve the spacing between the fields. See the "Multiple Choice" market type and the spacing between the Potential Outcomes fields.
"Range Denomination" can be shortened to "Denomination".

@stephensprinkle Are traders going to understand what ".0001" is? We don't have a label or placeholder text for that field currently, so there's no indication of what it is.

Traders do understand the concept of ‘tick size’, but as per the current implementation of the input field, I wouldn’t expect it to be immediately obvious as to what exactly that field means.  We could set the placeholder to say ‘Tick Size’, which some traders would understand, but ultimately some copy or label w/ tooltip would be definitely be helpful.

@sharkcrayon — just making sure you’re notified re: comment above.

@sharkcrayon I added a label to tick size but could probably use further refinement.

When I view the Create Market:Outcome page and click on Numerical Range, I'm getting a JS error that says TypeError: Cannot read property 'length' of undefined.
Anyone else getting that?

Just fixed. Unsure why it worked for me yesterday but it def works now.

Also note the error message runs over the label I added for tick size. How should I address this?

Per the changes coming in https://app.clubhouse.io/augur/story/5669/update-create-market-error-placement, that should get resolved.
@sharkcrayon — you OK merging this as is under the assumption that 5669 will resolve that layout issue?

@stephensprinkle Yep, good to go!


Usage of ROS 2 namespaces

Hi @b1n-ch1kn :wave:, when maintaining large projects, it is more convenient to use namespaces rather than to hard-code prefixes in topics/actions/services names :wink:

¸Just to chime in (since I set those prefixes up initially), it may make more sense to have the namespace on top of them. E.g. /robotname/vizanti/get_dynamic_reconfigure_nodes instead of just /robotname/get_dynamic_reconfigure_nodes, since these are mainly intended to be services for the web app's internal use and probably don't have much of a use case outside of it.
Unless anyone actually does want to use them, in which case I suppose we should document them 😂

I totally agree :+1: If we would like to use Vizanti to control a fleet of robots, then clearly a namespace identifying the robot should be added.