Related cycles and node type autodetect

Fix the pyproject pypi license identifier.
Add get_node_type function.
Add term_related_cycles

I have added a test for the graph cycle search. However I have some mixed feelings about using specific (e.g. id dependent) API calls for the tests. If there are changes within
the staging server of hestia (e.g. a different name or id for a cycle), the test will fail.
I propose to continue the same way until some test will not pass due to changes on the staging server. If it occurs we should have a small general discussion on the structure of the api calling tests.
@cmutel Can you review the pull request and merge it into main?

@cmutel give me a sec, I'll fix get_node_type behavior


Redeploy Production using Terraform

[ ] dump PostgreSQL database
[ ] sync s3 bucket
[ ] snapshot elastic search
[ ] deploy production environment with terraform
[ ] restore elastic search snapshot
[ ] restore PostgreSQL database
[ ] sync s3 bucket up to new environment
[ ] Initial testing by operations
[ ] announce for testing
[ ] shut down original environment

@derekbelrose is this done?

Yes


Running tests in workspace packages fails

          > Can you add a test for when this happens? It sounds like the XML file exists, but maybe no tests were run?

I ran into the issue today. I create a simple repo to help reproducing the problem at https://github.com/tuanbass/test-ws-rust
open foo/src/lib.rs and try to run the test.
But the fix, while necessary, still does not resolve the root cause. No more crash, but the test was not run.
The root cause seem is occurred when determined the cwd to run cargo nextest command for rust project with workspace enable.
When open such project, the cwd is set to root project's path not the member's one. Hence cargo nextest cannot found any test/test suite.
Originally posted by @tuanbass in https://github.com/rouge8/neotest-rust/issues/33#issuecomment-1717389626

Some workspace packages succeed. For example, I can still run the tests in the Tokio package that I used to develop https://github.com/rouge8/neotest-rust/issues/27.

@tuanbass this should be fixed now. Thanks for the example repo!

@tuanbass this should be fixed now. Thanks for the example repo!

I can confirm that the issue is gone. Thanks for the fix.


hssi: support hssi performance

Signed-off-by: =vmallavax<EMAIL_ADDRESS>

If you like, I can help you with the enumeration changes.  Please let me know if we can work together on your branch.

Coverage decreased (-0.2%) to 61.168% when pulling a64257f9ec635ab72bac8857e85943efac3051c4 on viswa/hssi_perf into 04388105af117dc2d48b1bb221c2a94bc2be71af on master.

Hi vmallavx, please close this if it is no longer valid.  Thanks


Add SageMaker Studio support

Description of changes:
The changes enables Amazon SageMaker Studio to use the sample as a customized SageMaker Project which includes

Updates README with Studio specific instructions
Adds scripts/{build,lint}.sh and .pre-commit-config.yaml for development
Addsstudio.yml to create Service Catalog provisioned product with minimal required IAM permissions for SageMaker Project
Gets the env variables from the output of pipeline.yml through the provisioned service catalog products
Remove SageMaker 1.x support
Remove stepfunction rendering in Studio
Removes canary from mlops.ipynb and dashboard
Fixes datacapture S3 uri
Fixes retrain rule
Includes necessary permissions for workflow.ipynb

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Unfortunately Studio neither accepts empty parameter not empty string so need to put some value. I will include that in the instruction in the README.

This is awesome @ehsanmok.  There is one minor update in the readme to reference the correct path for build.sh.
I've uploaded the latest pipeline.yml, studio.yml and project.zip to s3://mlops-amazon-sagemaker-safe-deployment-pipeline

Thanks! done. Please make sure you update the artifacts after this PR is merged. A better way is to setup a GitHub action for s3 upload and managing credentials.

PR to remove prefix and public read acl #33


Improve the error message when 2 projects resolve to the same config

Summary
Before:

After:

Test plan
Updated the existing test.
cc @pedrottimark

Codecov Report

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

@@           Coverage Diff           @@
##           master    #5674   +/-   ##
=======================================
  Coverage   63.16%   63.16%
=======================================
  Files         216      216
  Lines        7913     7913
  Branches        3        4    +1
=======================================
  Hits         4998     4998
  Misses       2914     2914
  Partials        1        1

Continue to review full report at Codecov.

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


Will the inference API ever allow greater than 50 rows?

Hello!
In the file docs/inference_api_beta/js/example.js the header comment read:
/*
REQUIREMENTS
...
3. Maximum of 50 rows. Use the standard /models batch API for more.
...

Is there any intention to increase the limit, or will 50 rows always be the greatest amount of rows possible with the streaming API endpoint at v1/inference/tabular/stream?
Is it possible to stream results from the /models batch API as the suggestion states?  Or is that a situation where we must wait for the record to be created and then retrieve them.
Thank you!

Hi Arie. In our Python SDK (available for pip install via PyPi) we expose a control mechanism to set the sample buffer size. See here: https://github.com/gretelai/gretel-python-client/blob/main/src/gretel_client/inference_api/tabular.py#L436
Here's our docs page covering the Python SDK. https://docs.gretel.ai/gretel-basics/getting-started/environment-setup/cli-and-sdk
We agree feature parity here makes sense and we will be updating the JS SDK, but I do not have a current time estimate to execute that work. Would utilizing our Python SDK be feasible for you in the interim? I will keep you posted via this GitHub issue as I have any updates.

@benmccown Thank you for the pointers.  Unfortunately, for the environment that we are building our app for, Javascript is required.  I would totally get on the Python bandwagon, but we are supporting a run time that requires Javascript.  We definitely want to make use of it.
I might be able to implement a work around whereby after the 50 are retrieved, the code retrieves another 50.  I might be able to send the first 50 records as "sample data" with the subsequent calls to ensure the structure of the response is consistent.
If you can offer any insight into a timeline for that singular parameter to be implemented, that would help us decide whether or not to implement the approach I'm suggesting.  Let me know your thoughts.  Thank you!

Hi there! I just merged #388 which allows you to ask for more than 50 rows of data! Hopefully it's still useful to you.

@thesteady Many thanks for this add!  It will definitely help.  Much appreciated!


remove style attribute entirely

As a follow-up to this PR: https://github.com/Shopify/quilt/pull/304, @lemonmade and I discussed in 🍖 👾 and reached the conclusion that we should remove the style attribute entirely. This will still be a breaking change requiring a 4.0.0 release of react-html.

cc: @tzvipm


⚠ Bofrost.at has degraded performance

In e3ab09e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1272 ms

Resolved: Bofrost.at performance has improved in 8bfa0a8 after 6 minutes.


Missing SQLite & PDO SQLite support (unable to use some plugins)

Steps to reproduce this issue
After a fresh install go to Admin Panel > Extension Manager and install both struct Plugin and sqlite Plugin. Then go to Admin Panel > Additional Plugins > Struct Schema Assignments
Expected behaviour
No errors, and plugins working properly.
Actual behaviour
Page shows these errors:

SQLite & PDO SQLite support missing in this PHP install - plugin will not work
The struct plugin requires the sqlite plugin. Please install and enable it.

So please, could you include php7-pdo_sqlite and php7-sqlite3 also?
Thank you!

@regystro

So please, could you include php7-pdo_sqlite and php7-sqlite3 also?

php7-sqlite3 is already available.
php7-pdo_sqlite has been added


added two new methods. CTag and CField for FieldLevel #282

Fixes Or Enhances # .
Make sure that you've checked the boxes below before you submit PR:

[x] Tests exist or have been written that cover this particular change.

Change Details:

@go-playground/admins

Thanks @s4l1h  but I'd like to expose that information a little differently without exposing cField nor cTag
I appreciate the help, but may close the PR after implementing

Update see: https://github.com/go-playground/validator/tree/add-fl-field-name
just have to write the tests...they need to cover not only a normal FieldLevel, but also and array and map to ensure the names are appropriate with key and or index included.

@joeybloggs pretty good .Maybe you can add another function direct return Struct Name


Dictionary metadata (language name)

Saving dictionary meta data, such as full language name, could be useful. For instance to use in language selection menu.
Should metadata be stored as a key in the dictionary, or should the dictionary as a whole be a key in a parent level wrapper, also containing metadata? The former risks a collision if the user wants to label a phrase or phrase group 'dictionary'. Does the latter have any drawbacks?

Implemented in a5384ac3dc15922f5314ed30c592cb64bc67561b


Can no longer access EDDI interface after Windows 10 Update

EDDI interface is prevented from loading after latest Windows 10 Update.
EDDI version is: 2.0.7
It seems to load with VA, but no longer provides responses of any kind.  VA is the proper version and was working well with EDDI prior to Windows 10 update.
I have tried Admin rights for both programs, but it just seems that EDDI is blocked from even starting.
Ideas?
Thanks!  (When it's working... I'm loving the program!! )

Corrected by deleting the "credentials.json" file in  C://Users//AppData/Roaming/EDDI
This allows the EDDI interface to open up (as found on the Forum post - Thanks!)
You must once again set the ED email and password/verification code to allow for monitoring of events.


remove loopback alias

Motivation
Remove unrequired loopback alias

@philbrookes I added the if statement to only create the lo0 interface if it is a private ip. I actually don't know if it's still required. I think @jasonmadigan has a better idea? I am happy to remove it anyway.

👀

@wei-lee assume this came from how we used to do this in fh-cup? The main reason we added it was to prevent IP addresses shifting/moving when switching networks, but it's also useless for accessing OCP from mobile apps, so I'd guess removal makes sense.

@jasonmadigan I think some of this stuff came from https://github.com/fusor/catasb, which was the basis for the very early "installer" when we basically just needed catasb with tweaks and a few extras. I think it's good to remove.

tried this on external ip and local ip all good

@philbrookes do we want to retag to 1.0.0-alpha

@maleck13 I've updated the tag now.


Closes #440 | Add Dataloader ASR-IBSC: AN IBAN SPEECH CORPORA

Closes #440
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

this dataloader hasn't passed python -m tests.test_seacrowd seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py yet. Would you mind fixing it first until it can pass the unit test?

It is working in mine w/o any changes. Could you share your output?

Test result
INFO:__main__:args: Namespace(path='seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py', schema=None, subset_id=None, data_dir=None, use_auth_token=None)
INFO:__main__:self.PATH: seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py
INFO:__main__:self.SUBSET_ID: asr_ibsc
INFO:__main__:self.SCHEMA: None
INFO:__main__:self.DATA_DIR: None
INFO:__main__:Checking for _SUPPORTED_TASKS ...
module seacrowd.sea_datasets.asr_ibsc.asr_ibsc
INFO:__main__:Found _SUPPORTED_TASKS=[<Tasks.SPEECH_RECOGNITION: 'ASR'>]
INFO:__main__:_SUPPORTED_TASKS implies _MAPPED_SCHEMAS={'SPTEXT'}
INFO:__main__:schemas_to_check: {'SPTEXT'}
INFO:__main__:Checking load_dataset with config name asr_ibsc_source
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:2508: FutureWarning: 'use_auth_token' was deprecated in favor of 'token' in version 2.14.0 and will be removed in 3.0.0.
You can remove this warning by passing 'token=<use_auth_token>' instead.
warnings.warn(
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:923: FutureWarning: The repository for asr_ibsc contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py
You can avoid this message in future by passing the argument `trust_remote_code=True`.
Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.
warnings.warn(
INFO:__main__:Checking load_dataset with config name asr_ibsc_seacrowd_sptext
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:2508: FutureWarning: 'use_auth_token' was deprecated in favor of 'token' in version 2.14.0 and will be removed in 3.0.0.
You can remove this warning by passing 'token=<use_auth_token>' instead.
warnings.warn(
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:923: FutureWarning: The repository for asr_ibsc contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py
You can avoid this message in future by passing the argument `trust_remote_code=True`.
Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.
warnings.warn(
INFO:__main__:Dataset sample [source]
{'audio': {'path': 'ibf_001_001.wav', 'array': array([ 5.72814941e-01,  5.49011230e-01, -1.82495117e-02, ...,
     -2.31628418e-02, -1.26342773e-02, -3.05175781e-05]), 'sampling_rate': 16000}, 'transcription': 'pukul sepuluh malam'}
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:2508: FutureWarning: 'use_auth_token' was deprecated in favor of 'token' in version 2.14.0 and will be removed in 3.0.0.
You can remove this warning by passing 'token=<use_auth_token>' instead.
warnings.warn(
/home/akhdan/miniconda3/envs/seacrowd/lib/python3.10/site-packages/datasets/load.py:923: FutureWarning: The repository for asr_ibsc contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at seacrowd/sea_datasets/asr_ibsc/asr_ibsc.py
You can avoid this message in future by passing the argument `trust_remote_code=True`.
Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.
warnings.warn(
INFO:__main__:Dataset sample [seacrowd_sptext]
{'id': '0', 'path': None, 'audio': {'path': 'ibf_001_001.wav', 'array': array([ 5.72814941e-01,  5.49011230e-01, -1.82495117e-02, ...,
     -2.31628418e-02, -1.26342773e-02, -3.05175781e-05]), 'sampling_rate': 16000}, 'text': 'pukul sepuluh malam', 'speaker_id': None, 'metadata': None}
INFO:__main__:Checking global ID uniqueness
INFO:__main__:Found 3132 unique IDs
INFO:__main__:Gathering schema statistics
INFO:__main__:Gathering schema statistics
train
==========
id: 3132
audio: 9396
text: 3132

.
----------------------------------------------------------------------
Ran 1 test in 6.545s

OK

Well, I don't know why those comments result in an error on your end, but not on mine. I've uncommented the line there.

A friendly reminder for @akhdanfadh to check on this PR. 👀

in case you missed it, it seems that this dataset has a test split aside from the train split. In case you didn't, is there a reason to exclude the test split?

@holylovenia there is only the train set in HF datacard and that's why. Since I think that the author in HF is not the original author, I will reimplement the dataloader with the github version. Let me work on this this weekend.
Probably better to remove the HF URL in our datasheet, no?

Done @holylovenia @faridlazuarda . Please re-review cause this one is a totally different implementation based on the GitHub data (instead HF).


Publish assets

CRUD depends on AdminLTE and other front-end files. They should be published.

One big problem in solving this is overwriting the assets: if we include the assets in the package and then publish them, then any re-publish will overwrite those files. So any modifications the user has done to the css/js files will be lost.
A possible solution for this would be including everything from a CDN. I can easily create an AWS bucket for that. But...


Cache Policy for Server-Side-Website

There is an issue with the cache policy. If there happens multiple requests per second to an url with same paths but different get-parameters, it happens that you get cache hits from cloudfront and the request result is the same, regardless of the get parameters.
Solution:
For the cache policy, all query strings have to be included into the cache key.

Thanks for the report. When we look at the CloudFront cache policy for Server-side website (for the backend):
https://github.com/getlift/lift/blob/b09781eabcee08fc9e59b30c1ca43ca4c85331bd/src/constructs/aws/ServerSideWebsite.ts#L127
the default cache is set to 0 seconds.
So the goal is that there is no caching by default (no matter the query parameters).
We could look into adding query string parameters to cache key, but first I'd love to clarify why you see caching happening:

is it because your backend (code running on Lambda) returns caching headers? is that intentional?
or could it be that defaultTtl: Duration.seconds(0) still results in caching happening for 1 second?

Any extra information you have is welcome.

The backend code does not send caching headers.
The ttl=0 caching policy does not disable the caching for cloudfront. You see it at the response headers. Cloudfront delivers a cache:hit when multiple requests per second happen.

@mnapoli I just ran into this and my experience is because the app is returning Cache-Control headers. This is documented on AWS, but not so clear from this libs perspective.

CloudFront uses this setting’s value as the object’s TTL only when the origin does not send Cache-Control or Expires headers with the object.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html?icmpid=docs_cf_help_panel#cache-key-understand-cache-policy-ttl

How do I specify that I want the cache policy to include All query parameters via serverless.yml ?

Hey, we've had another report of this behavior here: https://github.com/brefphp/bref/discussions/1200
I'm not +1 to change the cache policy to disable cache entirely (Maximum TTL: 0 seconds), as you suggest. If that means removing the "HeaderBehavior" config, why not? 🤷
Would you have time to send a pull request for this change?

I'd like to suggest not using the "CachingDisabled" policy.
While the application I'm using doesn't need the Authorization header, I know JWT uses it, and I've had callback pages that processed needed to process the Authorization header.
So instead I tried ndurchx's original suggestion, and I used the custom caching policy with All Cookies and All Query Strings in the cache key.
That worked.  Same-second requests did not result in a cache hit, and the Authorization was still passed in.

Update: I looked into this problem again and tried a few things, including #218.

Switching to the "CachingDisabled" policy drops the Authorization header, we indeed don't want that -> not a good solution
Adding all query strings and all cookies to the cache key is IMO an incomplete approach: we don't want to cache based on cookies or query strings, we don't want cache at all. -> not a good solution
Adding minTtl: 0 doesn't change anything -> not needed
Adding maxTtl: 0 doesn't work, it's equivalent to the "CachingDisabled" policy above and we run into the Authorization header problem -> not a good solution
CloudFront seems to cache requests in the same second when no cache headers are set

Regarding 5, to clarify: I used to believe that CloudFront might cache responses that contained any kind of cache headers (whether it was intentional or not). But after testing @ndurchx's scenario (simple "echo Hello world" PHP script that doesn't set any header), I do get cache hits here too.
My conclusion so far is that Lift's current config is not working as expected. It may be a CloudFront bug, but I don't want to hold my breath on AWS fixing this.
How can we fix this? #218 will not fix the problem.
The only solution I could think of is this one, but it is very convoluted:

Whitelist specific headers via a custom Origin policy. Do NOT whitelist the Host header.
Downside: we can whitelist up to 10 headers.
Use the official CachingDisabled policy (no caching).
We cannot forward the Authorization header by whitelisting it (https://stackoverflow.com/a/66619476/245552).
Forward the Authorization header in a custom X-Bref-Authorization header via a CloudFront function.
In the Bref runtimes, set the X-Bref-Authorization header to the Authorization header.

Any other idea?

I tried another approach:
Skip CloudFront, use API Gateway + S3.

Host the website behind API Gateway
Serve assets from the S3 public URL
Set up a custom domain with API Gateway Edge endpoint to get the HTTP -> HTTPS redirect

Conclusion: this works. No cache hits (it seems that caching is entirely disabled in the "Edge distribution"), and all headers are forwarded, including the Authorization header.
Downsides:

Assets are hosted on a different domain.
We cannot use CloudFront functions to redirect to the main domain.
When no custom domain is set up, REST APIs have a /prod URL prefix. We may use Lambda Function URLs when no domain is configured.

Downsides:

Assets are hosted on a different domain.
We cannot use CloudFront functions to redirect to the main domain.
When no custom domain is set up, REST APIs have a /prod URL prefix. We may use Lambda Function URLs when no domain is configured.

Those are some nice features to give up on :frowning:
But if that's the only realistic solution in a prod environment, we may be forced to switch...

We may use Lambda Function URLs when no domain is configured.

That can work with Bref, but in other cases it may not work because API gateway v1 and v2 payloads are different (function URLs are using v2 format).

Some more updates: turns out there are 2 different behaviors into play with CloudFront:

response caching
request collapsing

The problem we are seeing is actually not related to caching, but to request collapsing. So it's not a matter of "caching below 1 second". It's just that CloudFront can consider 2 identical requests as the same and will return the same server response.
More resources about that:

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-traffic-spikes
https://repost.aws/questions/QUe8vbIDvNTiy8ZSYDv85iTQ/amazon-cloud-front-collapsed-request-answered-with-cache-control-no-store
https://stackoverflow.com/questions/67313451/problem-with-caching-in-cloudfront-cdn-aws-cache-and-collapse-forward-are-ac
https://stackoverflow.com/questions/69421737/refreshhit-from-cloudfront-even-with-cache-control-max-age-0-no-store/69455222#69455222

Request collapsing is not dependent on HTTP response cache headers. CloudFront decides to "collapse" similar requests before even getting any response.
That means the only way to prevent that entirely (which we want) is to disable CloudFront caching.
I have a call with someone from the CloudFront team soon, I'll try to find out more. In the meantime, I will probably reopen and merge #218 because it avoids the problem in probably 99% of cases. It's good mitigation.


A Problem

When I want to convert from SVG to G code, the SVG images I downloaded on some websites cannot be converted at all~it will throw all kinds of errors

Hi,
Thanks for the feedback. Can you include a sample of the SVG file that is failing, along with some of the errors you receive?
Steve


services/horizon: upgrade psql support to most recent versions

What would you like to see?
RDS has very recently added support for psql15, so we're quite a few major versions behind at this point. We should support (at a minimum) the last 2 major versions, which is this case would be psql 14 and psql 15. However, we'll likely want to go back further with postgres (for CI/testing purposes in this repo). Because we build apt packages for ubuntu 20.04 and 22.04, and those distros ship with postgres 12 and 14, respectively, we should make sure we're still running tests against 12+
We currently do not have alignment on which version of psql we support, test against, and deploy. We should sync all of these references up as part of this upgrade process as well. Current state is:

Go monorepo integration tests are run against versions 9 and 10 of psql
RDS instances for staging+prod for both testnet and pubset are running v12.13
Puppet specifies these same instances as 10.15 (unclear to me where this is being overridden)

The scope of this issue will cover:

Performance testing on v14 + query optimizations necessary to support it. There was an outdated/prior investigation that saw performance hits when upgrading to v14. We'll need to utilize goreplay/traffic mirroring in staging to check for any regressions, particularly on the more problematic queries (trade_aggregations, claimable_balances, etc)
Migrating all production instances to the latest version possible (presumably, v15)
Updating horizon helm chart + external documentation to recommend latest version possible
Updating CI in this repo to run against all supported versions

What alternatives are there?

Stay on current versions (production runs 12.13). This is quite out-of-date/old; currently RDS/aurora minimum version is 11, so we may soon be forced to upgrade. We're likely missing out on a lot of performance improvements, but also just generally not testing on/guaranteeing performance on versions that our partners will reasonably want to run
Support only the versions that ship out-of-the-box with the distros for apt packages we build (this would be 12 and 14). Unless there's some significant differences that matter to us between 12+ and exclusively 12/14, I don't think this is worthwhile, as people running horizon are not ultimately limited by what version ships with their distro.

Note that now (when we're pulling this in) psql 16 is the most recent version of postgres, so this is the version we should upgrade to. Psql 16 is supposed to have performance improvements to the COPY function, which is now how ingestion works.

We should do a performance comparison between the new postgres 16 cluster and the current postgres 12 staging cluster. The performance comparison should include the following both latest ledger ingestion with traffic mirroring enabled and historical reingestion (e.g. on a period of 24 hours worth of ledgers).
We'll want to examine the following horizon metrics:

Average Ledger Ingestion Duration
ingestion processors Run Duration
Response per status
Request duration broken down per endpoint

We should also look at the postgres metrics dashboard to observe if there are any differences between the two postgres DBs.
Finally, we should look at the AWS RDS performance insights Top SQL dashboard and the metrics dashboard (particularly CPU utilization) for the two DBs.

Due to performance regressions noted on psql16, we are deferring this until after the truncation.


WIP: refactor(eslint): use cordova-eslint

Ref https://github.com/apache/cordova/issues/142
Ref https://github.com/apache/cordova/issues/4
Depends on #120, therefor WIP

Platforms affected
Motivation and Context

Description

Testing

Checklist

[ ] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[ ] I've updated the documentation if necessary

I see that there are two .eslintrc.yml files.

<root>/.eslintrc.yml
<root>/tests/.eslintrc.yml

You can consolidate them into one file.

<root>/.eslintrc.yml

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

root: true
extends: '@cordova/eslint-config/browser'

overrides:
  - files: [tests/**/*.js]
    extends: '@cordova/eslint-config/node-tests'


Jagex launcher

Type
Other
Operating System
Windows
OS Version
No response
Bug description
I upgraded my account so i could use the Jagex launcher so that i could play in a hardcore ironman group, after doing so my main account (normal) now cannot access the grand exchange and says i'm in a group ironman, but i can still use houses and according to the iron man tutor, i am not an ironman.  Someone please help.
Screenshots or videos
No response
RuneLite version
Runelite version: 1.10.19
Oldschool version: Rev 219
Launcher version: 2.6.7
Logs
No response

You've probably installed a plugin which limits grand exchange use. Using safe mode will disable the plugin and let you play. RuneLite does not restrict usage of the GE.

The last plug-in I installed was a tombs of amascut, this started when I
upgraded my account to use the Jagex launcher
On Thu, Jan 11, 2024 at 10:21 PM Adam @.***> wrote:

You've probably installed a plugin which limits grand exchange use. Using
safe mode will disable the plugin and let you play. RuneLite does not
restrict usage of the GE.
—
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/issues/17367#issuecomment-1888371235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFJGBYB2CNVCG6L44WELP5DYOCT4BAVCNFSM6AAAAABBXPNQVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGM3TCMRTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Nvm I found the issue, thank you!!!!
On Thu, Jan 11, 2024 at 10:24 PM Stephen Wilkes @.***>
wrote:

The last plug-in I installed was a tombs of amascut, this started when I
upgraded my account to use the Jagex launcher
On Thu, Jan 11, 2024 at 10:21 PM Adam @.***> wrote:

You've probably installed a plugin which limits grand exchange use. Using
safe mode will disable the plugin and let you play. RuneLite does not
restrict usage of the GE.
—
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/issues/17367#issuecomment-1888371235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFJGBYB2CNVCG6L44WELP5DYOCT4BAVCNFSM6AAAAABBXPNQVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGM3TCMRTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


EventData is not pickeable and can't work with multiprocessing Pool

Package Name: azure-eventhub
Package Version: 5.2.0
Operating System: Ubuntu 20.04
Python Version: 3.8

Describe the bug
Object EventData is not pickeable, thus it is not possible to process them in a process pool.
To Reproduce
Steps to reproduce the behavior:
from multiprocessing import Pool
from typing import List
from azure.eventhub import EventData

def build_event_data(i):
	return EventData(body=f'{i}')

if __name__ == "__main__":
	with Pool() as p:
		eventdata : List[EventData] = p.map(build_event_data,[(i) for i in range(10)])

Expected behavior
It's expected that eventdata holds a list of all events created in parallel.
Exception Raised
multiprocessing.pool.MaybeEncodingError: Error sending result: '[EventData(body='0', properties={}, offset=None, sequence_number=None, partition_key=None, enqueued_time=None)]'. Reason: 'TypeError('no default __reduce__ due to non-trivial __cinit__')'

hey @jelther , sorry for the late response.
It is somehow expected as the EventData is composed of C object, to make it pickable. it is required to overload the __reduce__ method (due to the non-trivial cinit).
This is a topic on object serialization, the team would still need some time to discuss on different approaches we want for this kind of scenario.
to better understand your use case:

do you use any properties on the EventData other than body?

if that's the case, you might just need to pass EventData.body (which is a generator of bytes) or EventData.body_as_str() around to process your data instead of the whole object.

do you use any schema for the data?

hey @jelther , sorry for the late response.
It is somehow expected as the EventData is composed of C object, to make it pickable. it is required to overload the __reduce__ method (due to the non-trivial cinit).
This is a topic on object serialization, the team would still need some time to discuss on different approaches we want for this kind of scenario.
to better understand your use case:

do you use any properties on the EventData other than body?

if that's the case, you might just need to pass EventData.body (which is a generator of bytes) or EventData.body_as_str() around to process your data instead of the whole object.

do you use any schema for the data?

@yunhaoling ,
got it.

Yes, we use other properties, as well the field properties from EventData object.
no, we don't use a specific schema for the data.

Our use case is simple : we have a class that acts as an wrapper around a pandas Dataframe.
Based on several properties of this dataframe, we have a method that builds the eventdata and returns it.
Below you can find a snippet with a sample of what we're trying to achieve.
from typing import List

import pandas as pd
from io import BytesIO
from multiprocessing import Pool

from azure.eventhub import EventData

class MyWrapper:
    mydf: pd.DataFrame

    def __init__(self, mydf):
        self.mydf = mydf

    def build_eventdata(self) -> EventData:
        parquetdata = BytesIO()
        self.mydf.to_parquet(path=parquetdata)

        eventdata = EventData(body=parquetdata.getvalue())

        # add some properties to eventdata
        eventdata.properties["dataframerowamount"] = len(self.mydf.index)

        return eventdata

def build_my_event(obj: MyWrapper):
    return obj.build_eventdata()

if __name__ == "__main__":
    object_list: List[MyWrapper] = []
    for i in range(1, 10):
        object_list.append(MyWrapper(mydf=pd.DataFrame([{"col1": "value1"}])))

    # this works pretty well
    my_events: List[EventData] = []
    for obj in object_list:
        my_events.append(obj.build_eventdata())

    # this doesn't
    my_events: List[EventData] = []
    with Pool() as _pool:
        my_events = _pool.starmap(build_my_event, [(obj,) for obj in object_list])

@yunhaoling ,
got it.

Yes, we use other properties, as well the field properties from EventData object.
no, we don't use a specific schema for the data.

Our use case is simple : we have a class that acts as an wrapper around a pandas Dataframe.
Based on several properties of this dataframe, we have a method that builds the eventdata and returns it.
Below you can find a snippet with a sample of what we're trying to achieve.
from typing import List

import pandas as pd
from io import BytesIO
from multiprocessing import Pool

from azure.eventhub import EventData

class MyWrapper:
    mydf: pd.DataFrame

    def __init__(self, mydf):
        self.mydf = mydf

    def build_eventdata(self) -> EventData:
        parquetdata = BytesIO()
        self.mydf.to_parquet(path=parquetdata)

        eventdata = EventData(body=parquetdata.getvalue())

        # add some properties to eventdata
        eventdata.properties["dataframerowamount"] = len(self.mydf.index)

        return eventdata

def build_my_event(obj: MyWrapper):
    return obj.build_eventdata()

if __name__ == "__main__":
    object_list: List[MyWrapper] = []
    for i in range(1, 10):
        object_list.append(MyWrapper(mydf=pd.DataFrame([{"col1": "value1"}])))

    # this works pretty well
    my_events: List[EventData] = []
    for obj in object_list:
        my_events.append(obj.build_eventdata())

    # this doesn't
    my_events: List[EventData] = []
    with Pool() as _pool:
        my_events = _pool.starmap(build_my_event, [(obj,) for obj in object_list])

Thanks for your patience @jelther. The fix will be out in the next uamqp release.


Samba 7

The samba addon is not mapping the /backup folder correctly - it is now mapping it to /share
{
  "workgroup": "myname",
  "username": "myuser",
  "password": "mypassword",
  "interface": "",
  "allow_hosts": [
    "<IP_ADDRESS>/24",
    "<IP_ADDRESS>/12"
  ],
  "name": "debian",
  "guest": false,
  "map": {
    "config": true,
    "addons": true,
    "ssl": true,
    "share": true,
    "backup": true
  }
}

It was working perfectly before version 7. On hass.io 0.81.4
Log:
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
added interface eno1 ip=xxxx:xxxx:xxxx::xxxx:xxxx:xxxx:xxxx bcast= netmask=ffff:ffff:ffff:ffff::
added interface hassio ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
added interface eno1 ip=x.x.x.100 bcast=x.x.x.255 netmask=<IP_ADDRESS>
added interface docker0 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
making subnet name:<IP_ADDRESS> Broadcast address:<IP_ADDRESS> Subnet mask:<IP_ADDRESS>
making subnet name:x.x.x.100 Broadcast address:x.x.x.255 Subnet mask:<IP_ADDRESS>
making subnet name:<IP_ADDRESS> Broadcast address:<IP_ADDRESS> Subnet mask:<IP_ADDRESS>
create_subnets: ignoring non IPv4 interface.
making subnet name:UNICAST_SUBNET Broadcast address:<IP_ADDRESS> Subnet mask:<IP_ADDRESS>
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:<IP_ADDRESS> Subnet mask:<IP_ADDRESS>
load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
daemon_ready: STATUS=daemon 'nmbd' finished starting up and ready to serve connections
smbd version 4.8.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2018
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
added interface eno1 ip=xxxx:xxxx:xxxx::xxxx:xxxx:xxxx:xxxx bcast= netmask=ffff:ffff:ffff:ffff::
added interface hassio ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
added interface eno1 ip=x.x.x.100 bcast=x.x.x.255 netmask=<IP_ADDRESS>
added interface docker0 ip=<IP_ADDRESS> bcast=<IP_ADDRESS> netmask=<IP_ADDRESS>
INFO: Profiling support unavailable in this build.
No builtin backend found, trying to load plugin
tdb(/var/lib/samba/registry.tdb): tdb_open_ex: could not open file /var/lib/samba/registry.tdb: No such file or directory
daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections
waiting for connections
check_for_master_browser_fail: Forcing election on workgroup myworkgroup subnet <IP_ADDRESS>
check_for_master_browser_fail: Forcing election on workgroup myworkgroup subnet x.x.x.100
check_for_master_browser_fail: Forcing election on workgroup myworkgroup subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet x.x.x.100
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet x.x.x.100
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
run_elections: >>> Won election for workgroup myworkgroup on subnet <IP_ADDRESS> <<<
become_local_master_browser: Starting to become a master browser for workgroup myworkgroup on subnet <IP_ADDRESS>
send_election_dgram: Sending election packet for workgroup myworkgroup on subnet <IP_ADDRESS>
run_elections: >>> Won election for workgroup myworkgroup on subnet <IP_ADDRESS> <<<
become_local_master_browser: Starting to become a master browser for workgroup myworkgroup on subnet <IP_ADDRESS>
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
check_ntlm_password:  authentication for user [admin_hass] -> [admin_hass] -> [admin_hass] succeeded
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service backup initially as user root (uid=0, gid=0) (pid 33)
*****

Samba name server DEBIAN is now a local master browser for workgroup myworkgroup on subnet <IP_ADDRESS>

*****
*****

Samba name server DEBIAN is now a local master browser for workgroup myworkgroup on subnet <IP_ADDRESS>

*****
Failed to fetch record!
pcap cache not loaded
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service addons initially as user root (uid=0, gid=0) (pid 33)
Failed to fetch record!
pcap cache not loaded
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service share initially as user root (uid=0, gid=0) (pid 33)
Failed to fetch record!
pcap cache not loaded
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service ssl initially as user root (uid=0, gid=0) (pid 33)
myhost (ipv4:x.x.x.x:59529) closed connection to service backup
Failed to fetch record!
pcap cache not loaded
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service config initially as user root (uid=0, gid=0) (pid 33)
Failed to fetch record!
pcap cache not loaded
myhost (ipv4:x.x.x.x:59529) closed connection to service addons
myhost (ipv4:x.x.x.x:59529) closed connection to service share
idmap range not specified for domain '*'
myhost (ipv4:x.x.x.x:59529) connect to service backup initially as user root (uid=0, gid=0) (pid 33)
Failed to fetch record!
pcap cache not loaded
myhost (ipv4:x.x.x.x:59529) closed connection to service ssl
myhost (ipv4:x.x.x.x:59529) closed connection to service backup
myhost (ipv4:x.x.x.x:59529) closed connection to service config
Could not find child 35 -- ignoring
Could not find child 37 -- ignoring
Could not find child 39 -- ignoring

same here
for some reason also when you restart some this info will disapear dont mater what you it always disapear
  "name": "xxxxxxx",
  "guest": false,
  "map": {
    "config": true,
    "addons": true,
    "ssl": true,
    "share": true,
    "backup": true
  }
}

I'm finding /backup is now a duplicate of /share in samba. But checking from the host my backup directory does contain tar file snapshots.

Fix is in #439


[WIP] Octicons v2

Testing out the new icons in Primer Components.
Blocked on https://github.com/primer/doctocat/pull/142
TODO

[x] Create the @primer/styled-octicons package to replace StyledOcticon https://github.com/primer/octicons/pull/417
[ ] Write docs for using @primer/styled-octicons in Primer Components
[ ] Update types
[ ] Fix tests

This PR is failing tests because Dropdown.Button does not implement sx behavior, which is odd because this PR doesn't touch Dropdown.Button 🤔https://github.com/primer/components/pull/774/checks?check_run_id=664296086#step:6:172

Game plan as of last week:

Add deprecation notice for requiring a theme provider
Keep @primer/octicons-react as a peer dependency

Open Questions:

Should we keep StyledOcticon and not use @primer/styled-octicons afterall?

@BinaryMuse brought up a good point that it feels a little weird to have a library that implements primer-y react components separate from @primer/components but I'm still not sure - @primer/styled-octicons doesn't really implement any primer-specific styles, it just gives access to styled-system and uses whatever theme you pass it to create styles. Technically it could be used with any design systems set of spacing/color/etc values. I view it more as a "tool" than something specific to Primer React Components. In concept it feels closed to octicons than Primer React Components which is why I think it makes sense living in the octicons monorepo. 🤔
Ultimately I don't think it matters too much where it lives. One benefit of keeping StyledOcticon is that it would maintain some of the current API of interacting with icons in Primer React Components

This week I've been testing out whether or not using something like StyledOcticon with the new icon components in @primer/octicons-react will work - I remember Cole mentioning something about how the new API of the components (on base component vs the old wrapper around a base component) might make forwarding styles down to the appropriate DOM elements tricky, but I'm testing that out this week to see if I can come up with something that works!

Ok! After much discussion with @BinaryMuse we've decided to keep StyledOcticon around for now, in lieu of using @primer/styled-octicons. I know we previously discussed this back in April but now with a clearer idea of the pros and cons involved, I think the best choice for us going forward is to use StyledOcticon + @primer/octicons-react instead of using @primer/styled-octicon.
Here's the reasoning:

Using @primer/styled-octicons would mean that we'd expect users to always wrap their application in a ThemeProvider with the @primer/components default theme passed in. In general, that's not a bad idea anyways, but right now that would be quite a breaking change for folks. Users of Primer React Components expect all components & access to the theme to work right out of the box so it feels jarring for that not to be the case with @primer/styled-octicons
As previously discussed icon components wrapped with styled system and our COMMON and sx prop linked to our theme are more of an extension of Primer React Components than of Octicons, so it makes sense for them to live inside of Primer React Components
Although it's been mentioned that using StyledOcticon  feels a bit clunky, using @primer/styled-octicons instead would mean that we'd be adding another peer dependency, and we'd also require a ThemeProvider with access to the default theme which feels clunky as well
If we do change our mind and decide to use @primer/styled-octicons afterall, it will be much easier to make that change than it will be to undo things the other way around

I'm still open to deciding to use @primer/styled-octicons in the future and would be curious to hear what Cole's thoughts are when he's back, but going forward with this approach allows us to get the new icons in ASAP (which are quite overdue 😬 ) and make the decision about whether or not to use @primer/styled-octicons at a later time.

I'm going to close this PR and open a new one that's not a hot mess, since changes for the approach going forward should be pretty minimal 😂


Add simulate option

Add simulate option.
In youtube-dl the simulate option is described:
-s, --simulate  Do not download the video and do not write anything to disk

Use case:
In combination with #40 --print-json you could list one comic url possible downloads between days and compare it to know if it still working.
Example:
manga-py  --print-json --simulate https://www.readmng.com/kumo-desu-ga-nani-ka > kumo-desu-ga-nani-ka.2018-06-08.json
# Ten days before you do the same
manga-py  --print-json --simulate https://www.readmng.com/kumo-desu-ga-nani-ka > kumo-desu-ga-nani-ka.2018-06-18.json
# Compare the results and see if it is the same
diff kumo-desu-ga-nani-ka.2018-06-08.json kumo-desu-ga-nani-ka.2018-06-18.json

if no_diff_output:
    nothing to do
else:
    new comics or the web structure have changed.

Good.
The output must contain information that the program is going to load and what is already available.
For example, we already have 3 chapters. The output will contain the "skip" flag, for example, with the value "true".
I understand correctly?

And another question.
Does it make sense for you to look for images?
This is almost always a long process.

Simulation worked now on version >= <IP_ADDRESS>


Allow multiple addressable outputs for "ui-template" node

Description
In order to reduce the number of nodes used for developing controls, I suggest enabling multiple outputs for the ui-template node. This feature would bring immense flexibility in intelligently utilizing control resources for projects.
Despite being aware that culturally, users and developers of dashboards and their features greatly appreciate creating an observation environment, there are projects like mine that aim to utilize the dashboard for control purposes and its many possibilities alongside data observation.
Below, I provide an example of the suggestion.

node.send([{payload: "ON"}, null]);
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

I have some technical questions about this change.
The client-side implementation of this change seems pretty simple, to send an array of msg objects to the server (instead of a single msg object).
However it is not clear to me how the server-side should be implemented.  Because it seems not to be located in the dedicated ui-template.js file, but instead in a general ui_base.js code snippet:

So passing an array would have a series of dashboard-wide implications:

All onSend plugin hooks could suddenly receive a single msg or an array of msg's (currently only in case of the template node).
All onAddConnectionCredential plugin hooks have the same impact.
Not only the default handlers would be impacted, but also all other custom handlers.

Anybody any thoughts?

This is a duplicate of https://github.com/FlowFuse/node-red-dashboard/issues/433


Sync with DSpace/DSpace docker-compose setup

Description
Small update to docker-compose-rest.yml to "sync" it up with the docker-compose.yml in the DSpace/DSpace repo: https://github.com/DSpace/DSpace/blob/main/docker-compose.yml
These files should be kept in sync at all times (to avoid oddities in CI or similar), and it looks like I forgot to copy over the changes that I applied in https://github.com/DSpace/DSpace/pull/7999
Assuming this passes in GitHub CI, I'm going to merge immediately just to resync these files.

Merging, as this passes tests.


<EMAIL_ADDRESS>server returned an error (404) Not Found

Updating 'kitty' (<IP_ADDRESS> -> <IP_ADDRESS>)
Downloading new version
OperationStopped: C:\Users\Mark\scoop\apps\scoop\current\lib\install.ps1:130
Line |
 130 |          throw $e
     |          ~~~~~~~~
     | The remote server returned an error: (404) Not Found.

https://github.com/cyd01/KiTTY/releases/
v<IP_ADDRESS> packages removed.
v<IP_ADDRESS> available.

https://github.com/cyd01/KiTTY/releases/
v<IP_ADDRESS> packages removed.
v<IP_ADDRESS> available.


Update for 1.0 preview1

Updated for the nuget package names for C++
@mcleanbyron - do you want to do the global search and replace for Experimental -> Preview?

@AdamBraden : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Closing this PR - we are handling this via the private repo.


feat: jsapi core module

Just showing that we can import the JS API as a module dynamically
Needs https://github.com/deephaven/deephaven-core/pull/2733

Opening up https://github.com/deephaven/web-client-ui/pull/1084 instead


Have an input type=checkbox that is activated by a hover. Can't check it.

The element is the element where the hover is detected.
I'm getting the 'element not interactable' error when attempting to check or click it.
Here is html snippet before hovering:

                             Publish

                                     <input type="checkbox" name="is_publish" />

                                     If checked, items will automatically be made public.

The input with name 'is_publish' has to be hovered over to accept check or click.
Here is the html when the element is hovered over:

Any suggestions?

I found it.
Must drop to selenium webdriver and use action chain:
       driver = self.py.webdriver         a = ActionChains(driver)         target = driver.find_element("css selector", "input[name='is_publish']")         if publish:             if not target.is_selected():                 a.move_to_element(target).click().perform()         else:             if target.is_selected():                 a.move_to_element(target).click().perform
alrighty, then!

I was going to suggest that you use some kind of command from Action
Chains. Glad you found something!
On Mon, Apr 19, 2021 at 4:05 PM Patrick M Neve @.***>
wrote:

Closed #185 https://github.com/ElSnoMan/pyleniumio/issues/185.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ElSnoMan/pyleniumio/issues/185#event-4615490783, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHZS6S2QQ73G353L5EKU4FTTJSSKRANCNFSM43GWSF4Q
.

@vernko Thanks!!


Unknown Error

Logger: aiohttp.server
Source: custom_components/eero/config_flow.py:127
First occurred: 12:20:23 PM (4 occurrences)
Last logged: 12:23:57 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 150, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 106, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 158, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/eero/config_flow.py", line 127, in async_step_resources
if network.id == self.user_input[CONF_NETWORKS][self.index]:
IndexError: list index out of range

Sorry for the slow response, are you still experiencing this error?

I'm getting the same error, but when i'm trying to sign in to my Eero account (both with my associated phone number and email address; i do not have an amazon account associated to my eero profile, so i am not using that login method);
any chance you might remember what you did to get past that?

I'm getting the same error, but when i'm trying to sign in to my Eero account (both with my associated phone number and email address; i do not have an amazon account associated to my eero profile, so i am not using that login method);
any chance you might remember what you did to get past that?

to be honest, i've been trying to get past that same error for a while but eventually gave up.
Ended up using the integration that this was orginally based from.
https://github.com/jrlucier/eero_tracker
since I only needed the device tracking functionality mainly.
worth a shot if that's all you need to do as well.


[FR] Reset interface when it stops processing packets.

Under certain conditions (16.1.14 kernel using netmap), some interfaces (realtek) stop processing packets. A simple "down && up" restores connectivity, but it would be much better if opnsense could automatically detect that the interface has stopped processing packets and restart it.

How to detect that the interface has stopped working properly? Apparently the gateway monitoring mechanism doesn't work for this case. Is there another mechanism in place which could be used

Add a script to restart the interface when failure is detected

@oparoz you probably best create a script for your specific situation yourself (look for dmesg messages for example, or try to ping a local machine).
Restarting interfaces automatically is usually not a very good idea and leads to all kinds of unexpected behaviour, which we try to avoid. Broken or not very well supported hardware often reacts very differently, so my advice would be to either search for better supported hardware or script your way out of your specific issue ;)

Pinging seems to be the only solution since there is no error in any logs, but I was hoping to find a way which is more integrated into opnsense than using a cronjob since the interface can become unavailable under normal circumstances such as enabling Suricata.
@AdSchellevis - Are there flags in opnsense which indicate when a reconfiguration is happening? Kind of like the maintenance mode used in web apps.

@oparoz you could search you log for interface up/down events if they are emitted in your fault situation, something like this:
clog -f /var/log/system.log
May 25 14:42:36 OPNsense kernel: em0: link state changed to DOWN
May 25 14:42:39 OPNsense kernel: em0: link state changed to UP
This happens when you pull the plug, but if the driver hangs, you might not see anything... (or maybe other kernel messages concerning failure)
You could also create a script that runs in the background and start it using the plugins hook.

@AdSchellevis - The interface doesn't go down. Everything looks normal, except for the kernel trying to send packets to a non-responsive interface. The only difference is the number of missed frames, but it's going to severely pollute dmesg if stats are being printed every minute.
After having lookedat the doc, I don't think a plugin will add anything to the script for now, but I guess I could monitor suricata.pid for changes and add other PIDs when noticing problems.

timeout


Latest ReactRedux template from generator doesn't work

Installed latest generator-aspnetcore-spa
Created a ReactRedux app
dotnet run
App shows the following error:
ERROR in [at-loader] ./ClientApp/components/Layout.tsx:13:21
    TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<NavMenu> & { children?: ReactNode; } & void'.
  Type '{}' is not assignable to type 'void'.

it worked for me about 20mins ago
npm install -g yo generator-aspnetcore-spa

@Sohojoe - thanks for confirming.
I just checked and it worked fine for me too. @emzero, I guess you were seeing an issue in 3rd-party code that's since been fixed.
Closing as resolved.

Finally I was able to repro this issue, and have applied a fix in dev. It's still not clear to me why it wasn't reproing before, and why the error still doesn't show up in VS Code (presumably it's a change in the TypeScript compiler, but I don't know exactly what).

I think this was due to an enhancement with typescript 2.3.1 and due to incorrect use of void generic args to react components, when it should have been {} (empty objects) as react always has an empty state/props object when none is defined, so defining as void is incorrect.


Alpine C Binding

See https://github.com/uber/h3/issues/103

Coverage remained the same at 100.0% when pulling a72594d9438f37c617b1cac77d47f3b7cdf7d025 on Alien2150:master into e506b81626894f5db73908bce972f2f5147cabd1 on uber:master.


HADOOP-19044: AWS SDK V2 - Update S3A region logic

If both fs.s3a.endpoint & fs.s3a.endpoint.region are empty, Spark will set fs.s3a.endpoint to
s3.amazonaws.com here:https://github.com/apache/spark/blob/9a2f39318e3af8b3817dc5e4baf52e548d82063c/core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala#L540
HADOOP-18908, updated the region logic such that if fs.s3a.endpoint.region is set, or if a region can be parsed from fs.s3a.endpoint (which will happen in this case, region will be US_EAST_1), cross region access is not enabled. This will cause 400 errors if the bucket is not in US_EAST_1.
Proposed: Updated the logic so that if the endpoint is the global s3.amazonaws.com , cross region access is enabled.
Description of PR
How was this patch tested?
Its being currently tested against us-west-2 by explicitly setting the endpoint as s3.amazonaws.com
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

Thanks @HarshitGupta11 , I think we should go with @virajjasani's implementation #6479 .. let me know what you think.

Cool, I will close this pull request.


Can't log in into Gmail, Outlook, other services after stopping Outline

Describe the bug
I can't log in into Gmail. outlook, digitalocean services after disconnecting to outline server, or just because of not using Outline at all. Facing network issues on various web sites.
I can visit https://www.google.com/ but I can't search anything .
At the same time, when I am connected to VPN server through the Client, I can't access other sets of web pages (e.g. https://www.scala-lang.org/).
To Reproduce
I connected to the Outline server using Outline Client and then disconnect, or just didn't start outline client / connection to the server. If I don't connect then I have network issues - can't log in into Google / Microsoft services.
Expected behavior
Expected to be able to log in into all services in same way as without Outline
Screenshots

When trying to connect to https://teams.microsoft.com/  I see just white screen in the browser - so, no screenshot.
Client System (please complete the following information):

Outline Client Version [e.g. iOS 1.7.0]
Your Operating System: [ArchLinux, Kernel: 5.17.9-arch1-1]

Maybe it is because of modification of resolvconf.conf by Outline?
cat /etc/resolvconf.conf
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details

resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=<IP_ADDRESS>

How to change to make working without Outline?

Still same problem  - some web pages do not open if i am disconnected from VPN, very problematic

Can someone please help to resolve the issue?

@av-maslov Error 400 is an application-layer error. It cannot be caused by Outline.
Are you on Linux?

@fortuna Hi, thanks for the reply.
Yes, I am on Arch Linux.
Quite often there is no error reported, just white screen while web page is trying to load itself.
Also, Microsoft Teams stops working (both app and when trying to use it from the browser) when I am not connected through Outline.

We don't currently support Arch Linux, but marking this as a feature request to support it in the future. Thank you!


Add methods inmutables, add withEncodeTags.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

[x] add WithEncodeTags.
[x] add methods() inmutables.
[x] code coverage 100%.

seems to be the solution to #36 ?! Sorry for checking this pull request after posting the issue. Cheers Philipp

👍


Question: How could I use ReSharper's SSR rule for Rider

I've already created a workable SSR inspection rule in ReSharper, and try to save it to computer and team-shared dotSetting file. But when I open my Rider and the same project, it still didn't hint in Rider inspections. Is it possible that use the same SSR custom patterns in ReSharper and Rider?

I compare and modify Rider global dotSettings with ReSharper, and it works now. But I remember it should be work by just share solution.dotSettings, I don't know why it didn't work this time.


Windows Client 3.0 Window disappears and can not be restarted

Version 3.0.0
under windows 10 2004
Client Window in windows disappear after a while.
was not able to open (a new client) window by re-starting the program.
Then taskbar symbol disappeared when moving the mouse over.
Task manager showed still some rocket chat processes.
After killing all processes manually it was possible to restart the client.
Problem occurred some hours later again.
Here I was not able to restart after killing all processes.

Same thing

same on Version 3.0.1

the remaining processes have a high processor load.
maybe it's related to https://github.com/RocketChat/Rocket.Chat.Electron/issues/1768

@Langlaeufer is it possible to have crashed while receiving messages?

I always noticed the crash later so I can not be sure if a message was the trigger. But it is possible.

From my testing it seems that if you receive a dm while the chat with that user is open and the setting Window > Show on unread messages is set to true, it crashes

Until now release 3.0.2 seems to be stable.


CUDA Forward Compatibility on non supported HW

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[x] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
[x] I carefully followed the README.md.
[x] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
[x] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior
There's no tagged cuda image on ghcr so after buildting the Dockerfile.cuda image,
docker run --gpus=all --rm -it -p 8000:8000 -v /home/***/models:/models -e MODEL=/models/GPT4-X-Alpasta-30b_q4_0.bin llama_cpp_server_cuda

Current Behavior
==========
== CUDA ==
==========

CUDA Version 12.1.1

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

llama.cpp: loading model from /models/GPT4-X-Alpasta-30b_q4_0.bin
llama_model_load_internal: format     = ggjt v2 (latest)
llama_model_load_internal: n_vocab    = 32016
llama_model_load_internal: n_ctx      = 2048
llama_model_load_internal: n_embd     = 6656
llama_model_load_internal: n_mult     = 256
llama_model_load_internal: n_head     = 52
llama_model_load_internal: n_layer    = 60
llama_model_load_internal: n_rot      = 128
llama_model_load_internal: ftype      = 2 (mostly Q4_0)
llama_model_load_internal: n_ff       = 17920
llama_model_load_internal: n_parts    = 1
llama_model_load_internal: model size = 30B
llama_model_load_internal: ggml ctx size = 135.75 KB
llama_model_load_internal: mem required  = 21695.61 MB (+ 3124.00 MB per state)
WARNING: failed to allocate 0.13 MB of pinned memory: forward compatibility was attempted on non supported HW
CUDA error 804 at ggml-cuda.cu:405: forward compatibility was attempted on non supported HW

llama_cpp.server works perfectly outside of docker with virtualenv so I believe this is isolated to the nvidia-docker setup.
Here's some  info about my system:
Driver Version: 525.105.17
CUDA Version: 12.0
OS: Ubuntu 22.04

Please see PR https://github.com/abetlen/llama-cpp-python/pull/235. Eliminates issue

This only eliminates it for me so would be nice to get more testers

FROM nvidia/cuda:12.1.1-devel-ubuntu20.04
is working with my 3090Ti.
My Ubuntu Docker host:
$ uname -a
Linux asushimu 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Ubuntu 22.04.2 LTS \n \l

$ dpkg -l | grep "^ii.*nvidia-driver"
ii  nvidia-driver-530                      530.30.02-0ubuntu1                      amd64        NVIDIA driver metapackage

Passing the CUDA version as an ARG seems like a flexible way to run.
I just have an aversion to version N.0 for any N, as N.1 often fixes a lot of regressions. :man_shrugging:

Should be addressed in #258.

shall we close this issue?

Just got it on 4090 with last master:
Commit: 2d7bf110edd8c49209401a16132052cba706ffd0
Built with: make LLAMA_CUBLAS=1
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

uname -a
Linux ddf7cfbdde40 5.15.0-73-generic #80~20.04.1-Ubuntu SMP Wed May 17 14:58:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

llama.cpp/main -m ./guanaco-65B.ggmlv3.q4_0.bin -p "hello!"
main: build = 631 (2d7bf11)
main: seed  =<PHONE_NUMBER>
CUDA error 804 at ggml-cuda.cu:1039: forward compatibility was attempted on non supported HW

Are you running in a virtualized environment and trying to access your NVidia GPU?
If so, try and update your nvidia driver in your VM or Docker instance.

What worked for me was upgrading my nvidia-driver on the host, then Cuda version 12.1 should work. Also try CUDA 11.7 if upgrading nvidia driver is pain. Very likely the issue in your case as well @d0rc

What worked for me was upgrading my nvidia-driver on the host, then Cuda version 12.1 should work. Also try CUDA 11.7 if upgrading nvidia driver is pain. Very likely the issue in your case as well @d0rc

That makes more sense. I can see that an older driver in the VM works fine with a newer driver on the host, but not vice versa.


python3Packages.unstructured: 0.16.8 -> 0.16.10

Things done
update and restructure dependencies according to the current state of the repo
@mentalblock this should fix the structure of the dependencies for unstructured.
Let me know if you still see problems.
(I've commented out unpackaged dependencies, anyone is welcome to add them, I'll be happy to review and help merge).

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This needs to be rebased on top of master branch now that it has been updated to 0.16.11 by ofborg. I'll set it to draft in the meantime, feel free to mark it as ready when you feel it is ready to be reviewed again.

I'm not sure why this was closed, I've reopened
https://github.com/NixOS/nixpkgs/pull/365635
I have done a poor job with one of the dependencies, but hopefully all should pass now.


Error: input stream: This video is unavailable

Happens on a opusEncoded stream

More info? Can you tell what were you trying to play?

@FredTheNoob it's nothing to do with opusEncoded. See ytdl#658

I tried to play this video:
https://www.youtube.com/watch?v=FuFJzY10mqc&t=2s
My dispatcher looks like this:
const stream = ytdl(song.url, {             filter: 'audioonly',             opusEncoded: true,             highWaterMark: 1024 * 1024 * 10         });
const dispatcher = serverQueue.connection.play(await stream, {type: 'opus'})

@FredTheNoob The video is either age / region restricted. That's why this error occurs. Only way to fix it is by using proxy service.


Create an ILLMProvider interface and have our current implementation use it

Summary of the Pull Request
This PR is mostly just moving code around

Creates an ILLMProvider interface
The current implementation that supports Azure OpenAI now uses this interface
Separates the code that handles the conversation with the AI with the part of the code that handles the UI
TerminalPage is now responsible for initializing an LLMProvider and passing that into ExtensionPalette upon initialization
There has been a small change regarding the settings - now the user does need to hit "Save" in the settings UI when they change the endpoint/key to trigger a hot reload so that we will reinitialize the ExtensionPalette

Validation Steps Performed
Everything still works
PR Checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

Converting to draft because based on how github copilot ends up requiring auth the interface will need some updates


fixing tip

and since I'm at it, fixing the numbers too (not that is required) 😄
/cc @kendrahavens

I chatted with @kendrahavens offline and noticed there were a few improvements and a few missing steps while reviewing the topic more thoroughly. I've also renamed the files to be all lowercase, added a few VS code resources in the See Also and changed the action steps on the Hello World section to be all in the bulleted list vs. being a mix of steps in the numbered list and some in the bulleted list.
Let me know what you think of the changes.

I'll also submit a bug since using our regular tip format inside the list caused some numbering issues. Using the blockquote solved that for now.

LGTM.

testing my theory that you need to rebase to be able to get builds working again

The actual PR build that shows up in the portal has passed with just the warnings being fixed in #1331. I don't know where the other builds are coming from. Merging this.


updates styled-jsx to fix issues and bugs

upgrades styled-jsx version to resolve pseudo issue caused by styled-jsx

I wonder why greenkeeper doesn't take care of this?

@sedubois - what is greenkeeper?

https://greenkeeper.io

@sedubois cause it only runs on your default branch (v3-beta in this case).

@khrome83 thank you very much for this. @arunoda we should do a new patch release.

Published: 2.4.4.

Thaaaaaanks!


check whether env: GOPRIVATE: "github.com/some-org" has to be set to download private repos

Update readme and example.

Not needed as it works without.


Unit measurement log warnings

I have been getting these Warnings in the log for some reason. Not sure if its a known issue or not.
`
Logger: homeassistant.components.sensor
Source: components/sensor/init.py:980
Integration: Sensor (documentation, issues)
First occurred: January 26, 2023 at 16:48:53 (8 occurrences)
Last logged: January 26, 2023 at 16:48:53
Entity sensor.ams_han_pf2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('power_factor') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"
Entity sensor.ams_han_pf1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('power_factor') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"
Entity sensor.ams_han_pf (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('power_factor') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"
Entity sensor.ams_han_qo (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'VAr' which is not a valid unit for the device class ('reactive_power') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"
Entity sensor.ams_han_q (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'VAr' which is not a valid unit for the device class ('reactive_power') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"
`

I am not sure this log is from this integrations. The integration does not use MQTT sensors. The MQTT integrations is only used to subscribe to a MQTT topic.

Getting this in my logs as well, assume that these are constants used.  Issue 69 (https://github.com/toreamun/amshan-homeassistant/issues/69) seems to be a duplicate of this issue.
2024-03-04 21:37:02.857 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.861 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.866 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.870 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.875 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.879 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.883 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.887 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at c
2024-03-04 21:37:02.891 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues
2024-03-04 21:37:02.895 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from amshan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/toreamun/amshan-homeassistant/issues


html2pdf rendered all text as image

I am using the html2pdf to create a PDF from a html element.
The PDF is being generated, but all texts are being rendered as image.
Can someone please support me?
Code is below:

[reportissue.zip](https://github.com/eKoopmans/html2pdf.js/files/12178314/reportissue.zip)
<title>QualityLab</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />

    <input type="button" value="Generate PDF" onclick="Convert_HTML2PDF()">

1. SUMMARY

                    Firstname
                    Lastname
                    Age

                    Jill
                    Smith
                    50

                    Eve
                    Jackson
                    94

                    John
                    Doe
                    80

because it creates an image and converts it to pdf

because it creates an image from html and converts it to pdf

Thanks Vitaliy...
Is there a way to convert the HTML to PDF in text?

yes you can use jspdf or makepdf or mostly react-pdf


chore(main): release 1.2.4

:robot: I have created a release beep boop
1.2.4 (2023-03-21)
Styling

Format code with prettier (ca50930)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/future-front-end/releases/tag/v1.2.4 :sunflower:


I use the SAMSUNG MR ,and when I open the game, the UI showing under my feet but no in front of me

Dear Sir,Thank you for your plugins anyway!
I do not want to trouble you for this small issue but  It will be grateful that you can fix  it.

I think my hand controller can not be readed,because the UI always appears on the  position where the controller is

I am not a programmer , so I do not have the ability to solve it myself

Same here with SAMSUNG MR. It does start up the Steam VR and KKS VR environment, but the game can't recognize both controller

I don't have that headset or anything similar so I can't really do much to fix it. I accept PRs if anyone is able to find a fix though.

Same here with HTC Vive Cosmos. No controller recognized. But they are recognized in HS2 so they normally work with vrgin based plugins.

I am having the same problem with HP Reverb 1st gen.
I think the UI is fixed to the floor because KKS_VR does not recognize the Windows Mixed Reality controller.

I think the UI is fixed to the floor because KKS_VR does not recognize the Windows Mixed Reality controller.

Most likely yes, there's only provisions for oculus and vive/steam headsets and controllers, everything else is untested.


Use HTTPS for lutece repository

Using HTTPS allow to avoid issue with latest Maven version (see https://maven.apache.org/docs/3.8.1/release-notes.html).

@ryahiaoui thanks for the feedback. Ok to close this PR.
I guess that I start this PR back when master was the default branch and didn't realized that a develop branch exists (or maybe I accidentally switch to from develop to master).


Align with WholeTale format

The WholeTail project is defining a Tale format using BDBag and Bagit-RO manifest.json - so RO Lite should align with what they have concluded so far. @kylechard and @craig-willis are involved.
See https://github.com/craig-willis/bdbag-water-tale/pull/1 where I try to align this with RO Lite, and two alternative extremes:

all schema.org: https://gist.github.com/stain/2673f4c920a86d1b257cc0a696b32df4 (RO and bdbag tools does not know this yet) - no ORE aggregates :-(
soft schema: prefix usage hema: prefix only: https://gist.github.com/stain/93686e8e557f13e8edccc15a767e8499  (still works in https://search.google.com/structured-data/testing-tool/)

One interesting take I got was to use http://schema.org/dataset as an upper property, making the ResearchObject also be a boring http://schema.org/DataCatalog of 1 http://schema.org/Dataset.
This split might make more sense than the current direct Dataset approach which quickly becomes inflexible.

Why the :-( for no ORE?


TPCDS Q72 - Exchange receiver meet error: Region 1679 is unavailable:

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

deploy a cluster with 1 TiDB + 3TiKV + 1 TiFlash
Import TPCDS 50g data
run Query 72

select  i_item_desc
      ,w_warehouse_name
      ,d1.d_week_seq
      ,sum(case when p_promo_sk is null then 1 else 0 end) no_promo
      ,sum(case when p_promo_sk is not null then 1 else 0 end) promo
      ,count(*) total_cnt
from catalog_sales
join inventory on (cs_item_sk = inv_item_sk)
join warehouse on (w_warehouse_sk=inv_warehouse_sk)
join item on (i_item_sk = cs_item_sk)
join customer_demographics on (cs_bill_cdemo_sk = cd_demo_sk)
join household_demographics on (cs_bill_hdemo_sk = hd_demo_sk)
join date_dim d1 on (cs_sold_date_sk = d1.d_date_sk)
join date_dim d2 on (inv_date_sk = d2.d_date_sk)
join date_dim d3 on (cs_ship_date_sk = d3.d_date_sk)
left outer join promotion on (cs_promo_sk=p_promo_sk)
left outer join catalog_returns on (cr_item_sk = cs_item_sk and cr_order_number = cs_order_number)
where d1.d_week_seq = d2.d_week_seq
  and inv_quantity_on_hand < cs_quantity
  and d3.d_date > d1.d_date + 5
  and hd_buy_potential = '1001-5000'
  and d1.d_year = 2001
  and cd_marital_status = 'M'
group by i_item_desc,w_warehouse_name,d1.d_week_seq
order by total_cnt desc, i_item_desc, w_warehouse_name, d_week_seq
limit 100;

2. What did you expect to see? (Required)
The query was executed successfully.
3. What did you see instead (Required)
ERROR 1105 (HY000): other error for mpp stream: Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Code: 0, e.displayText() = DB::TiFlashException: Region 1679 is unavailable: (while doing learner read for table, logical table_id: 75), e.what() = DB::TiFlashException,, e.what() = DB::Exception,, e.what() = DB::Exception,
4. What is your TiFlash version? (Required)
6.2.0-alpha-155-ge28911
commit e289119502cb4f2643eb1810dffb4434a611b0a9

same as https://github.com/pingcap/tiflash/issues/5458


update k8s deployment to v1.22.14-0

Is your feature request related to a problem? Please describe.
versions need updating, let's start with v1.22.14-0
Describe the solution you'd like
keep older versions, just add updated version.

upgrade paths in any RHEL
1.19.3 -> 1.20.15
1.20.15 -> 1.21.14
1.21.14 -> 1.22.15
1.22.15 -> 1.23.12

@all-contributors please add @fasongan for code


Protect against not having .env file

Currently the examples are down because of this

Coverage remained the same at 96.584% when pulling 3bc4409cad892a4e3888c42ab5f35f442877c845 on bartvde:fix-build into 968f98f7e28589a173a178986c0c51b889d73205 on boundlessgeo:master.


⚠ Mysql - Hydeos has degraded performance

In fe84751, Mysql - Hydeos (https://phpmyadmin.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 1575 ms

Resolved: Mysql - Hydeos performance has improved in ca8a12a after 20 minutes.


Exist _lock earlier if target lock balance is zero

Changes to Frax Convex Strategy from yAudit comments.

Exit _lock function earlier if target and locked balances are both zero
Added a fork test to measure the gas usage of checkBalance

This PR has been replaced with https://github.com/OriginProtocol/origin-dollar/pull/1976


fix(provision) kong package url

Kong packages URL changed recently, to accommodate for new architectures.

did we change the names in the url backward, so ranging from 0.15.0 uptil 1.3.0? otherwise  this will now fail if someone tries to build the box with an older version, eg:
KONG_VERSION=1.0.0 vagrant up

1.3.0 is released such that it's backwards compatible

That's a very good point @Tieske - fixed here https://github.com/Kong/kong-vagrant/pull/122. Thanks!


Move Tilda source code and deploy from devops to github

Description
The source code for the Tilda plugin needs to be moved here and upgraded to functions v4.
Create workflow for deploy to existing function apps
Additional Information
No response
Tasks
No response

Moved :)


Add the ability to define user-specific throttles.

This adds the ability to override the rate/concurrency related limits of the system on a per-namespace basis to be able to adapt to specific user needs.
Implementation:
User defined throttles are placed in an extra document in couchdb, $namespace/limits. That document is automatically processed by the existing view, thus no extra request is needed. If no such document exist, default limits will apply.
Todo:

[x] Tests
[x] Add admin functionality to wskadmin

PG3 925 🔵

#2530 should be merged first, the first commit is taken from there to prevent merge conflicts.

still had to resolve a conflict - will wait for travis.


Integrate WAMR as an enclave runtime for rune

The PAL interface is implemented in WAMR.
This patch provides brief guides for uses and developers to run
WASM app in WAMR with SGX by rune.
Signed-off-by: Le Yao<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Center gravity?

Is it possible to center the tags in chipView? Thanks in advance

I'm also having the same requirement to centre align all the chips leaving extra unused space from most left and most right.
Anyone help would be appreciated.

Hi @dakshays  and @borjaruiz Were you guys able to do this ? I also have the same requirement. Please help me out.

Hi @AnkitTailoredTech - No, I'm still not able to align all views of row to centre. For now i have kept left aligned.


Add --release flag to build_docs.py

Feature that would streamline the web release process a bit:

Add a --release flag to build_docs.py that causes the output to go to docs/<curr_version> and the latest symlink to be updated. And then, when the flag isn't passed have the standard output location be documentation/_build which is already ignored by git, and which I think is, by convention, the standard location of sphinx output

See additional context in #32.

This as completed partly by d436348912586e5d0ca30c6f4961419891f90d85 (Which set build output to be a versioned sub folder) and partly thereafter (the soft linking latest)

This as completed partly by d436348912586e5d0ca30c6f4961419891f90d85 (Which set build output to be a versioned sub folder) and partly thereafter (the soft linking latest)


[1.3.1 AE] CTD on load or new game start

Would be happy about any hint at what I could change to fix it.
crash-2023-08-29-14-47-22.log
ReservedMagicka.log

Weird. That log points to https://github.com/cppcooper/MagickaReserve/blob/249b3a681c19ce4356137a56e650150825eda2ca/src/EquipEventSink.cpp#L25-L28
Specifically line 27, implying rpel is null. Which it definitely should not be.
You are probably missing the esp being enabled or something, otherwise it should be able to find the global variable. Unless it's AE but no 1.6.640 in which case I guess it could be an SKSE or commonlib problem.

my bad, the esl seems to have been disabled - sorry about wasting your time.

Don't worry about it. Happy I could help. Good luck with your 120GB of RAM XD


Render bookmarks in the bookmarks panel

bookmarksView.ts:
Created a header for global / workspace bookmarks.
Rendered bookmarks in the panel. Each entry displays the name of the directory and its path, so as to differentiate between directories with identical names.
Added focus icon next to the name of each directory, allowing the user to change the root of the file tree to a bookmarked directory.
Each container is collapsible. There is still work to be done on the scrolling for each one (at the moment the scrollbar is always visible and touch pad scrolling is not implemented).
Changed the icons for each type of bookmark.
Added more CSS into bookmarkIcon.css to properly align the icons depending on where they are rendered.

I'm working on refactoring this to reuse the code and add an extra parameter (to indicate the bookmark scope), rather than having very similar methods for workspace / global bookmarks.


Good news, rather than issue

Hello Daniel:
I am the original coder for the "novel" class, when it was on CTAN. We have corresponded before. I no longer have a CTAN ID, and do not have "novel" here at GitHub.
Instead, I have a project that makes Arch Linux ARM work on many kinds of tablets. For example, right now I am using my Galaxy Tab A WiFi 10.1" (no phone) with Bluetooth keyboard and mouse. If I wish, I can launch Linux via Termux app. Does not require rooting or jailbreaking.
TeXLive can be installed, and its works well. I have tested it using the TeXLive (2020) novel class, with a portion of my own writing. Also allows custom fonts.
So, even though desktop computers are becoming rare, and lighter portable devices are becoming more common, it is still possible to write a novel. Also, GIMP and Inkscape work, as well as ImageMagick, so it is possible to do the graphics as well.
Other news: I am now of the opinion that ligatures should be off by default, even for main text. Microtype often expands more than it contracts, and the effect does not look good when there are ligatures.
That's all. You can close this "issue" now.

Closed.


Set code editor overflow to always visible?

Possible to affix the horizontal scrollbar to the bottom of the code window rather than needing to scroll to the bottom of the code to get to it (see main.ts)?
Author: Angelo
Slide: Local,Public

Don't understand

think he means something like `overflow-x: visible

`

Ah, I see, isn't it possible to actually scroll with the touchpad / arrow keys ?

ah, ok I see now

My understanding is that this has been fixed?

afaik we gave up on it is that the same thing lol


Funding period changes to "one-time" on its own after clicks

To recrete:
On the Deploy project screen:
Step 1: Open the "Funding tab". The duration should show as "recurring".
Step 2: Toggle the target on. Then toggle is off again.
Step 3: Now the duration shows as "one-time"
This can cause projects to accidentally create one-time projects.

fixed


Create my web

Your pull request is opened in griddb/nodejs_client repository,
but I guess it is not related to this repository.

I will close your pull request as it is not related to this repository.
If any issue and question related to GridDB server or client, please open a new issue.


PlaybackRate is described as a percentage, but it's actually a ratio

The Remarks section is correct -- 1.5 means 150%.  But the initial descriptions says it's "expressed as a percentage" (so you'd set it to 150 to get 150%)

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

ID: 8fd39a0b-05c9-0c41-5b98-bb8752c59987
Version Independent ID: 99c3fab3-16f0-4642-c617-d94429a34f86
Content: MediaPlayer.PlaybackRate Property (Windows.Media.Playback) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.media.playback.mediaplayer.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Thanks for helping to improve the documentation. The language has been fixed in the source and the change will show up on the live site within ~24 hours.