Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

m1 max ，Running the official example will result in the following error：
Error occurred when executing KSampler:
Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
File "/Users/weiwei/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/Users/weiwei/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/Users/weiwei/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/Users/weiwei/ComfyUI/nodes.py", line 1344, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "/Users/weiwei/ComfyUI/nodes.py", line 1314, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/control_reference.py", line 47, in refcn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/utils.py", line 111, in uncond_multiplier_check_cn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/modules/impact/sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
File "/Users/weiwei/ComfyUI/comfy/sample.py", line 37, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 1446, in KSampler_sample
return _KSampler_sample(*args, **kwargs)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 761, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 1469, in sample
return _sample(*args, **kwargs)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 663, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 650, in sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 629, in inner_sample
samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 534, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/torch/utils/contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/Users/weiwei/ComfyUI/comfy/k_diffusion/sampling.py", line 137, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 272, in call
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 992, in call
return self.predict_noise(*args, **kwargs)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 1042, in predict_noise
out = super().predict_noise(*args, **kwargs)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 619, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 258, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/.patches.py", line 4, in calc_cond_batch
return calc_cond_batch_original_tiled_diffusion_3bb493f6(model, conds, x_in, timestep, model_options)
File "/Users/weiwei/ComfyUI/comfy/samplers.py", line 218, in calc_cond_batch
output = model.apply_model(input_x, timestep, **c).chunk(batch_chunks)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/utils.py", line 63, in apply_model_uncond_cleanup_wrapper
return orig_apply_model(self, *args, **kwargs)
File "/Users/weiwei/ComfyUI/comfy/model_base.py", line 97, in apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_ExtraModels/PixArt/models/PixArtMS.py", line 242, in forward
out = self.forward_raw(
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_ExtraModels/PixArt/models/PixArtMS.py", line 177, in forward_raw
).unsqueeze(0).to(x.device).to(self.dtype)

This should be fixed now. Could you update and test it? I don't own a mac to test it on.

Much appreciated, I'll try to check it out tomorrow as the models are all cleared out for me

Just tested it and the issue is indeed fixed, thanks a lot!


Device not added in Azure Device Update Groups in IoT Hub

Hi,
Expected/Current Behavior
I try to use firmware update with Azure IoT Hub.
I followed this guide Device Update for IoT Hub documentation but device is not shown in Groups and deployments.
What I already checked:

Azure Device Update has the role IoT Hub Data Contributor in the hub
Device was deleted and recreated after setting Device Update
DU agent was update in twin before adding ADUGroup:

"reported": {
            "deviceUpdate": {
                "__t": "c",
                "agent": {
                    "deviceProperties": {
                        "manufacturer": "Company",
                        "model": "model",
                        "contractModelId": "dtmi:azure:iot:deviceUpdateContractModel;2",
                        "aduVer": "DU;agent/1.0.0"
                    },
                    "compatPropertyNames": "manufacturer,model",
                    "state": 0,
                    "installedUpdateId": "{\"provider\":\"Company\",\"name\":\"model\",\"version\":\"1.0.0\"}"
                }
            },

ADUGroup is:

    "tags": {
        "test": 1,
        "ADUGroup": "adutest"
    },

Device Information

Host OS [e.g. Ubuntu 18.04, Windows Server IoT 2019]: ESP32
Architecture [e.g. amd64, arm32, arm64]: arm32
Provisioning Method: DPS
*DU Agent Version: DU;agent/1.0.0

Thank you

what is the device and module Id (if any) and the ADU account and instance Ids?

I will not write it here but I can give it to you by mail. Thank you

@jbiemar Investigating the issue on our end

Do you have any idea ?

@jbiemar Please create a Customer Support Ticket so that we can continue the investigation which would allow you to share the account and instance info.
Can you additionally see if the device appears in the default group or run the device sync operation?


Can't Download File or the File becomes Corrupt

When I tried to download a .rar file Motrix only download the file till size 105 KB. It does not have a download speed. The file becomes corrupt . I had tried resetting the app it does not work. Please suggest a way to fix the issue.

I've got the same problem... the download finishes, but the file is corrupt and I cannot extract it. Let me know if you are they have a fix.

for the time being downgrading to version 1.6.10 fixed it.


[installer] Ignore startmenu shortcut on update

Summary of the Pull Request
Users that don't want PowerToys Start Menu shortcut tend to remove it after installation. After every update, it keeps being added again. With this change, installer will ignore adding Start Menu shortcut if it's an update scenario
note: If the user wants Start Menu shortcut back after manually removing it, clean installation or manually adding it back is needed

PR Checklist

[x] Closes: #16490
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

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

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

There was an issue about removing the unwanted (Preview) from the start menu shorcut - can't find the number. Would you like to adress that too?

There was an issue about removing the unwanted (Preview) from the start menu shorcut - can't find the number. Would you like to adress that too?

#11900 here it is. There is a PR linked there. Anyway, let's keep this PR as it is.


Remove runtime dependency on typing_extensions package

A few improvements to package typing.
I removed the runtime dependency on the typing_extensions package.
See also https://github.com/python-poetry/poetry/pull/9251 where I promoted that practice.

I wanted to move type aliases to the if TYPE_CHECKING branch, but that would pose some problems to those who don't use PEP 563.

@willmcgugan Let me know if you'd be interested in moving @overload to if TYPE_CHECKING branches like here https://github.com/jaraco/path/pull/224/files.

Thanks.
What is the benefit of moving overloads inside a if TYPE_CHECKING block? Faster import?

Thanks.
What is the benefit of moving overloads inside a if TYPE_CHECKING block? Faster import?

I'd say less runtime overhead and less namespace mess (you don't have runtime access of typing-only overload and you don't create a few functions that are inexistent just a few moments later). For such a small library like this, it might not be necessary, but just showing that it's feasible.


Executing validation tasks through Spark Connect is failing

Issue
I've been using Spark Connect for both testing and data validation tasks. Despite following the provided documentation closely, I encountered errors with every example I attempted.
These issues occurred on Apache Spark version 3.5.1. Below, I provide detailed steps to reproduce two specific errors, along with the corresponding error messages.
Environment:

Python Version: 3.11.8
Apache Spark Versions Tested:  3.5.1
Scala Version: 2.12
Operating System: Windows

Steps to Reproduce:
Setup

Single node Spark cluster initiated via Docker using the command:

docker run -ti --name spark -p 15002:15002 bitnami/spark:latest /opt/bitnami/spark/sbin/start-connect-server.sh --packages org.apache.spark:spark-connect_2.12:3.5.1

Spark Session creation:

spark = SparkSession.builder.appName("PySpark Test") \
            .remote("sc://localhost:15002") \
            .getOrCreate()

1. Error with Dates Example
Issue Reproduction:
Executing the Dates Example as provided in the documentation:
# Unique values on id
check = Check(CheckLevel.WARNING, "CheckIsBetweenDates")
df = spark.sql(
    """
    SELECT
        explode(
            sequence(
                to_date('2022-01-01'),
                to_date('2022-01-10'),
                interval 1 day)) as date
    """)
assert (
    check.is_between("date", "2022-01-01", "2022-01-10")
    .validate(df)
    .first()
    .status == "PASS"
)

Error Message:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[8], line 14
      3 df = spark.sql(
      4     """
      5     SELECT
   (...)
     10                 interval 1 day)) as date
     11     """)
     12 df = df.toPandas()
     13 assert (
---> 14     check.is_between("date", "2022-01-01", "2022-01-10")
     15     .validate(df)
     16     .first()
     17     .status == "PASS"
     18 )

File c:\Users\Dsaad\GitHub\pyspark-tools\.venv\Lib\site-packages\cuallee\__init__.py:403, in Check.is_between(self, column, value, pct)
    401 def is_between(self, column: str, value: Tuple[Any], pct: float = 1.0):
    402     """Validation of a column between a range"""
--> 403     Rule("is_between", column, value, CheckDataType.AGNOSTIC, pct) >> self._rule
    404     return self

File <string>:13, in __init__(self, method, column, value, data_type, coverage, options, status, violations, pass_rate, ordinal)

File c:\Users\Dsaad\GitHub\pyspark-tools\.venv\Lib\site-packages\cuallee\__init__.py:100, in Rule.__post_init__(self)
     99 def __post_init__(self):
--> 100     if (self.coverage <= 0) or (self.coverage > 1):
    101         raise ValueError("Coverage should be between 0 and 1")
    103     if isinstance(self.column, List):

TypeError: '<=' not supported between instances of 'str' and 'int'

2. Error with Completeness Check Example:
Issue Reproduction:
Executing an example that checks for null values and uniqueness:

from datetime import date
from pyspark.sql import Row

df = spark.createDataFrame([
        Row(user_id=1111, order_id=4343, preferred_store='string1', birthdate=date(1999, 1, 1), joined_date=date(2022, 6, 1)),
        Row(user_id=2222, order_id=5454, preferred_store='string2', birthdate=date(2000, 2, 1), joined_date=date(2022, 7, 2)),
        Row(user_id=3333, order_id=6565, preferred_store='string3', birthdate=date(2001, 3, 1), joined_date=date(2022, 8, 3))
        ])

# Nulls on column Id
check = Check(CheckLevel.WARNING, "Completeness")
(   check
    .is_complete("user_id")
    .is_unique("user_id")
    .validate(df)
).show()

Error Message:
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In[7], line 13
      7 # Nulls on column Id
      8 check = Check(CheckLevel.WARNING, "Completeness")
      9 (   check
     10     .is_complete("user_id")
     11     .is_unique("user_id")
---> 12     .validate(df)
     13 ).show()

File c:\Users\Dsaad\GitHub\pyspark-tools\.venv\Lib\site-packages\cuallee\__init__.py:703, in Check.validate(self, dataframe)
    700     self.compute_engine = importlib.import_module("cuallee.polars_validation")
    702 else:
--> 703     raise Exception(
    704         "Cuallee is not ready for this data structure. You can log a Feature Request in Github."
    705     )
    707 assert self.compute_engine.validate_data_types(
    708     self.rules, dataframe
    709 ), "Invalid data types between rules and dataframe"
    711 return self.compute_engine.summary(self, dataframe)

Exception: Cuallee is not ready for this data structure. You can log a Feature Request in Github.

I would appreciate any guidance or updates on resolving these errors. Thank you for your assistance.

I have investigated the issue in more depth:

DataFrames generated via Spark Connect are of the pyspark.sql.connect.dataframe.DataFrame type. Unfortunately, this type is not compatible with the validate function located in __init__.py. Which can be remedied, for example:

try:
    from pyspark.sql.connect.dataframe import DataFrame as pyspark_connect_dataframe
except (ModuleNotFoundError, ImportError):
    logger.debug("KO: PySpark Connect")

def validate(self, dataframe: Any):
        ...
        # When dataframe is Spark Connect DataFrame API
        elif "pyspark_connect_dataframe" in globals() and isinstance(
            dataframe, pyspark_connect_dataframe
        ):
            self.compute_engine = importlib.import_module("cuallee.pyspark_validation
        ...

Additionally, the summary function in pyspark_validation.py lacks the functionality to accept parameters necessary for initiating a Remote Spark Session, essential for Spark Connect.
A workaround for this issue involves setting one environment variable as follows in the code:os.environ['SPARK_REMOTE'] = "sc://localhost:15002"

Currently, as of its latest version 3.5.1, Spark Connect does not support the Observation feature, which is crucial to this library's functionality.raise PySparkNotImplementedError(
pyspark.errors.exceptions.base.PySparkNotImplementedError: [NOT_IMPLEMENTED] Observation support for Spark Connect is not implemented.

It's unfortunate, as I was eager to integrate the cuallee package into my PySpark process. I'll keep an eye on subsequent releases of PySpark, and if they start supporting Observation with Spark Connect, I will submit a detailed proposal or contribute via a pull request.

Thank you @dsaad68 for investigating the use of cuallee in the context of Spark Connect. To be honest, the fix does not look that complex. The pyspark_validation.py already takes in consideration versions earlier of 3.3.0 that don't have support for Observation and it falls back to use a plain SELECT to compute the quality metrics. We will explore the feature of searching for a Spark Connect session in the globals as we do for compatibility with Databricks, and follow your advise on the use of a ENV=CUALLEE_SPARK_REMOTE to retrieve the location of the endpoint as a fallback. Thanks for the very detailed root cause analysis, very much appreciated.

Solved with #185

Thanks a lot. It was quick.
I finished my fix, but you beat me to it.
Just one suggestion, if os.environ[SPARK_CONNECT_MODE_ENABLED] == "1"  that means the spark session is connected with spark connect. It is a good identifier that Spark Connect is being used.

Hi @dsaad68 , bring your implementation in, if you feel it fits more your use case. Always happy to see new contributions, and let me know if the v0.9.1 worked out. The fact that you investigated all the way, made the rest of the spark-connect part relatively trivial. The real value was understanding the session creation and the observation limitation you highlighted. So again, thanks again for pointing out that.


npm install fails to run on clean install

Describe the bug
I have been trying to run npm install (as well as npm run dev) on a fresh Laravel & Grafite CMS installation but continuously run into a NPM Unexpected end of JSON input while parsing near '...:false,"directories":' error for the buffer-indexof package. I am therefore unable to finalise the setup of Grafite CMS because NPM refuses to install whatever dependencies there may be.
To Reproduce
In a terminal window run the following commands. I've tried it in two different projects and the same error is reproduced every time.
$ composer create-project laravel/laravel grafite
$ composer require grafite/cms
$ php artisan vendor:publish --provider="Grafite\Cms\GrafiteCmsProvider"
$ php artisan grafite:cms-setup
$ npm install

Expected behavior
I don't know what I should be seeing when running npm install but I certainly do not expect to see errors. This is a show-stopper.
Terminal Output
After running php artisan grafite:cms-setup the following is outputted:
$ php artisan grafite:cms-setup
Copying routes...
Copying config...
Copying app/Http...
Copying app/Events...
Copying app/Listeners...
Copying app/Notifications...
Copying app/Models...
Copying app/Services...
Copying database...
Copying resources/views...
Copying tests...
Publishing theme

 Please confirm that you have a database set and configured in your .env file. (yes/no) [no]:
 > yes

Migrating database
Setting roles
Creating default account
Finished setting up your site with Grafite CMS!
You can now login with the following username and password:
<EMAIL_ADDRESS>admin
Please add to your app.scss:
@import '../../themes/default/assets/sass/_theme.scss';
Please run:
npm install
and:
npm run dev

This is expected. Now, when running npm install this is the error output:
$ npm install
npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR! Unexpected end of JSON input while parsing near '...:false,"directories":'

npm ERR!      /Users/mbp/.npm/_logs/2018-10-01T21_59_50_434Z-debug.log

This is the key take-out from the debug.log file below. You can view the full debug log file here.
4139 silly resolveWithNewModule<EMAIL_ADDRESS>checking installable status
4140 http fetch GET 200 https://registry.npmjs.org/buffer-indexof 11ms (from cache)
4141 silly fetchPackageMetaData error for<EMAIL_ADDRESS>Unexpected end of JSON input while parsing near '...:false,"directories":'
4142 timing stage:rollbackFailedOptional Completed in 5ms
4143 timing stage:runTopLevelLifecycles Completed in 89595ms
...
4144 silly saveTree (with tons of output which is snipped in this report.....)
....
4145 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...:false,"directories":'
4145 verbose stack     at JSON.parse (<anonymous>)
4145 verbose stack     at parseJson (/usr/local/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
4145 verbose stack     at consumeBody.call.then.buffer (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50)
4145 verbose stack     at <anonymous>
4145 verbose stack     at process._tickCallback (internal/process/next_tick.js:188:7)
4146 verbose cwd /Volumes/500GB/Mega/Code/GitLab/grafite
4147 verbose Darwin 17.7.0
4148 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
4149 verbose node v8.11.3
4150 verbose npm  v6.4.1
4151 error Unexpected end of JSON input while parsing near '...:false,"directories":'
4152 verbose exit [ 1, true ]

You can view my composer.json file here.
Desktop (please complete the following information):

OS: macOS 10.13.6
Node: v8.11.3
NPM: 6.4.1
Darwin: 17.7.0
Composer: 1.6.5
PHP: 7.2.7
Laravel Framework 5.7.6
Composer JSON file: composer.json

The buffer-indexof project was last updated on 22 August 2017 and that was hardly a commit worth noting. In truth, the last major change to the code happened on 1 September 2016 which was over 2 years ago.
I'm very worried that this package is basically dead. I don't know if you guys reference this project in your app directly, or if it forms part of another package's dependency, but I would recommend looking to move away from package. I can't see anything happening with this project in the future.


Determine SQLite compatibility with Windows

The solution to this may be as simple as "always use conda" but want to make sure we at least track what our system requirements are as we discover them on Windows.

With conda it should always be fine since it installs SQLite for you. As part of this, we're interested in exploring what happens if you try to use Python outside of conda with Prefect.

Hi Michael, I requested your review on a PR that adds examples testing compatibility with Windows.
With a Python 3.9 venv with dependencies installed from the requirements.txt, testing was done in a variety of scenarios:

Running flows with different task runners (SequentialTaskRunner, DaskTaskRunner, ConcurrentTaskRunner())
Storage creation (local and remote)
Deployments: SubprocessFlowRunner(), DockerFlowRunner(), UniversalFlowRunner()

Other notes:
storage, auth.toml, and config.toml were not in the /.prefect (although profiles.toml and orion.db were). I am wondering if they might be kept elsewhere on Windows, as the command prefect config view`` worked as expected. I don't believe there is a show-origin argument available at this time. But perhaps those could be useful for those who wanted to see their storage (deployment ids) and open their prefect config.

With a Python 3.9 venv (not conda) with dependencies installed from the requirements.txt, testing was done in a variety of scenarios:

Great!

auth.toml, and config.toml

These are Prefect v1 files.


Provide meaningful error message when the disk is full

When trying to upload a distro to the container I hit the disk size limit, but the error was the following. It should be clearer that the problem is due to lack of disk space.
# mgradm distro copy /root/SLE-15-SP5-Full-x86_64-GM-Media1.iso sle-15-sp5
4:14PM INF Welcome to mgradm
4:14PM INF Executing command: copy
4:14PM INF Copying distribution sle-15-sp5

⠸ podman cp /tmp/mgrctl2301103013 uyuni-server:/srv/www/distributions/sle-15-sp5Error: 2 errors occurred:
	* copying to container: copier: put: error creating "/srv/www/distributions/sle-15-sp5/Module-Containers/ARCHIVES.gz": copier: put: error writing file "/srv/www/distributions/sle-15-sp5/Module-Containers/ARCHIVES.gz": unexpected EOF
	* copying from host: copier: get: "/tmp/mgrctl2301103013"("/tmp/mgrctl2301103013"): copying /tmp/mgrctl2301103013/Module-Containers/ARCHIVES.gz: read /tmp/mgrctl2301103013/Module-Containers/ARCHIVES.gz: input/output error
Error: cannot copy /srv/www/distributions/sle-15-sp5: exit status 125

Can we check if the disk will have enough space on the disk before start copying stuff?


Feature/teams page

Creation of the Teams page and functionality:
The user can add a team with himself as a manager
The user can access his/her created or assigned team.
The user can create / edit the team, assign areas of interest, and add and delete emails.
If the emails are confirmed the user can give them admin permission.
This data is saved in the teams API.

[x] Get the teams from the microservice
[x] Add view and create / edit pages
[x] Go to create page if the user doesn't have a team
[x] Go to edit page if the user clicks edit button
[x] Create / Update team:

[x] Create form for the name, areas and members (users and managers)
[x] Select Areas of interest from the state and add them to the form
[x] Delete users from the form
[x] Add users to the form by email
[x] Change users status in the form
[x] Add email and name validation

[x] Edit page styling
[x] View page styling
[x] Add loader

Also we need to merge develop 👏

Also I think your last merge has overwritten a lot of the bug fixes/changes I made to get filters working with areas and translations from API


Captcha at every 1 hour or less

We receive a lot of Captcha due this version.On other versions i didn t receive a captch for 5-6-7 hours and now a captcha pops up at 1 hour or less of using this app.Can you do something about that repetitive captcha please.Also you can improve the buy system to buy every card we want ,i mean the buy sistem to be instant.

The Version doesn't have anything to do with the fact you are receiving more captchas now. Sounds crazy but it is normal, you are probably marked in the system by now, like the rest of us, we all receive more captchas now, and is not because of the version, is because we sent way to many request to the server. Also, you should know that the captcha popup was added in a recent version, the initial versions didn't had the notification, so you would continue to send request to the server, even you had to do the captcha, so say A BIG THANK YOU for adding the notification, otherwise you would probably be banned by now for not doing the captchas.
This autobuyer is already one of the fastest bots on the internet and it's free. You can't make it faster then it already is, there aren't any UI elements to wait to load, it just calls 2 functions. Trust me, the buy "sistem" is as instant as it can be.


AP region CI Test Failing

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
PingOne Terraform provider Version

n/a
Terraform Version

1.2
Affected Resource(s)

pingone_environment

Terraform Configuration Files
# Copy-paste your PingOne related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

Debug Output

Error: Error when calling `EnvironmentsApi.CreateEnvironmentActiveLicense``: 400 Bad Request

Panic Output

Expected Behavior

Complete CI test
Actual Behavior

Failed CI test (likely failed provider AP region code)
Steps to Reproduce

terraform apply

Important Factoids

References

https://github.com/pingidentity/terraform-provider-pingone/runs/7372530931?check_suite_focus=true

Incorrect repo secret value.  Resolved


Command stopped working with new update

Hi, I was using this command pretty heavily (I found it here on github a couple of months ago):
shift + alt - t: layer="$(yabai --message query --windows --window | jq --raw-output .layer)" && yabai --message window --layer "$([ "$layer" = 'below' ] && echo 'normal' || echo 'below')"

Suddenly it stopped working, could someone help me understading why?
Thank's

Read the query paramter value sub-layer instead of layer #2062

What's the difference between sub-layer and sub-level?

sub-level is the actual integer number reported by the macOS API; sub-layer is the yabai mapping to give it meaning from a user pov.

Yabai .config:
# layer
yabai -m rule --add app=".*" layer=below

skhd config:
shift + alt - t: layer="$(yabai --message query --windows --window | jq --raw-output .layer)" && yabai --message window --layer "$([ "$layer" = 'below' ] && echo 'normal' || echo 'below')"

So, I've tried multiple combinations, like:
shift + alt - t: layer="$(yabai --message query --windows --window | jq --raw-output .sub-layer)" && yabai --message window --sub-layer "$([ "$layer" = 'below' ] && echo 'normal' || echo 'below')"

But it does not work. Can you please help me to fix the skhd code? Thank's.

This one works for me:
shift + alt - t: layer=$(yabai --message query --windows --window | jq -re '."sub-layer"') && yabai --message window --layer "$([ "$layer" = 'below' ] && echo 'normal' || echo 'below')"


Ability to reopen a case

Currently only bioinformatics can do this, need  button in GUI to do it
Might have to be restricted who can do it

A case can now be reopened once complete and this will put it back to the previous check. These changes are made in issue9 branch

Bug: Unassign doesn't work in this branch- check brackets?

Completed cases can be reopened only by the person who closed the previous check - check is taken back to pending and assigned to that person. Are there other use cases we'd want for this?

fixed in #57


tssFacilityOwner is not documented

Description

The description for the parameter TSS Facility Owner in file zowe-install-apf-server.yaml is not documented.
Pages to Update

# APF server users
users:
  # User to run Zowe server (required, no default values)
  zoweUser=IZUSVR
  # TSS Facility Owner (Required for TSS. 'auto' supplies the running user)
  tssFacilityOwner=auto

Screenshots

Expected behavior

Documentation for this field should be added.
Additional context

This is a new field.

Duplicate of #727?

Hey @John-A-Davies, yes, this is a duplicate of #727 . Working on 727 now.


Add hop.nvim colours

Adds colour highlights definitions for the hop.nvim EasyMotion-like plugin
(https://github.com/phaazon/hop.nvim).

As you please, merged :)


How to link docker containers through marathon??

Through docker run command we can link two container by giving name. Is there any configuration
(In json) for doing so in marathon??
ex: docker run -d --link 'name-of-container-to-lnked':'name' 'image'
PS: other than mesos-dns.

Hi @madhusudand .
Yes this should be possible.
You can specify arbitrary Docker parameters as described at the bottom of this page:
https://mesosphere.github.io/marathon/docs/native-docker.html

thanks @aldipower  for the response.
In my case configuration would be like
"parameters": [  { "key": "link", "value": "CONTiANER NAME" } ]
But how can i get container name.The name gets assigned automatically by mesos. Is there any way that i can override it.

If I understood correctly you want to link against a container on a running slave?
From the mesos docs:
The Docker Containerizer launches all containers with the “mesos-” prefix plus the slave id (ie: mesos-slave1-abcdefghji), and also assumes all containers with the “mesos-” prefix is managed by the slave and is free to stop or kill the containers.

So the containername would be mesos-slavename-container-name.
But I am not sure if it makes sense to link against single slaves in terms of reliability.
Could you explain your linking scenario a little bit more in detail? What do you want to achieve?
Thank you.

i'm on the new side myself, but i think this kind of linking would require that the containers being linked reside on the same node.
i have had some success "linking" containers via a call out to the mesos-dns api in the entry point of the container wanting to do the "discovery". for instance, a web-app and it's database. the entrypoint script of the web-app could locate the database via mesos-dns and set some environment variables to connect the web-app to the database. granted this is not ideal, but it works.
there is also https://github.com/mesosphere/marathon/issues/2232 which touches on similar.
i'm visualizing something along the lines of docker-compose which can be applied to a marathon group.

news on this? i need to link more container for deploy the developer branches, i have a web, mysql and elasticsearch container to link together.

Tried with Marathon provided container name, but it did not work:
{
        "id": "/gitlab/gitlab",
        "container": {
                "type": "DOCKER",

                "docker": {
                        "image": "sameersbn/gitlab:8.5.4-1",
                        "network": "BRIDGE",
                        "portMappings": [{
                                "containerPort": 10080,
                                "hostPort": 10080,
                                "protocol": "tcp"
                        },{
                                "containerPort": 10022,
                                "hostPort": 10022,
                                "protocol": "tcp"

                        }],
                        "parameters": [{
                                "key": "env",
                                "value": "GITLAB_PORT=10080"
                        }, {
                                "key": "env",
                                "value": "GITLAB_SSH_PORT=10022"
                        }, {
                                "key": "link",
                                "value": "mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.9eaa61df-5d59-4180-9f5a-4d8923dc3e76:postgresql"
                        }, {
                                "key": "link",
                                "value": "mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.583e892e-01c8-4898-b03f-08a4bf7426d0:redisio"
                        }, {
                                "key": "publish",
                                "value": "10080:80"
                        }, {
                                "key": "publish",
                                "value": "10022:22"
                        }, {
                                "key": "env",
                                "value": "GITLAB_SECRETS_DB_KEY_BASE=86eafb1e193bab14fa05d9da"
                        }, {
                                "key": "volume-driver",
                                "value": "rexray"
                        }, {
                                "key": "volume",
                                "value": "gitdata:/home/git/data"

                        }]
                }
        },
        "instances": 1,
        "constraints": [
                ["hostname", "CLUSTER", "node264.localnet"]
        ],
        "cpus": 0.25,
        "mem": 256
}

I get streaming errors from a slave:
Mar  8 15:51:59 node264 docker: time="2016-03-08T15:51:59.797737471-05:00" level=error msg="Handler for GET /v1.22/containers/mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca/json returned error: No such container: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca"
Mar  8 15:51:59 node264 docker: time="2016-03-08T15:51:59.804550849-05:00" level=error msg="Handler for GET /v1.22/images/mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca/json returned error: No such image: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca"
Mar  8 15:51:59 node264 mesos-slave[1499]: W0308 15:51:59.816366  1739 slave.cpp:4629] Failed to get resource statistics for executor 'gitlab_gitlab.8248ae46-e56f-11e5-9c76-02429ce31955' of framework 7901cb4e-1e48-4a06-a85b-f340322ad02b-0000: Failed to 'docker -H unix:///var/run/docker.sock inspect mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca': exit status = exited with status 1 stderr = Error: No such image or container: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca
Mar  8 15:52:02 node264 flanneld: I0308 15:52:02.131899 01595 vxlan.go:340] Ignoring not a miss: ea:c7:d4:a5:45:a8, <IP_ADDRESS>
Mar  8 15:52:14 node264 mesos-slave[1499]: I0308 15:52:14.248411  1739 http.cpp:189] HTTP GET for /slave(1)/state.json from <IP_ADDRESS>:49578 with User-Agent='Go-http-client/1.1'
Mar  8 15:52:14 node264 docker: time="2016-03-08T15:52:14.872720814-05:00" level=error msg="Handler for GET /v1.22/containers/mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca/json returned error: No such container: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca"
Mar  8 15:52:14 node264 docker: time="2016-03-08T15:52:14.876342476-05:00" level=error msg="Handler for GET /v1.22/images/mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca/json returned error: No such image: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca"
Mar  8 15:52:14 node264 mesos-slave[1499]: W0308 15:52:14.979513  1742 slave.cpp:4629] Failed to get resource statistics for executor 'gitlab_gitlab.8248ae46-e56f-11e5-9c76-02429ce31955' of framework 7901cb4e-1e48-4a06-a85b-f340322ad02b-0000: Failed to 'docker -H unix:///var/run/docker.sock inspect mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca': exit status = exited with status 1 stderr = Error: No such image or container: mesos-567979e6-1c9d-4147-8679-d2978f9333b1-S6.b6b74cbd-2e06-4fca-9ab6-78dbab617aca
Mar  8 15:52:19 node264 mesos-slave[1499]: I0308 15:52:19.624517  1742 slave.cpp:3987] Terminating executor ''gitlab_gitlab.8248ae46-e56f-11e5-9c76-02429ce31955' of framework 7901cb4e-1e48-4a06-a85b-f340322ad02b-0000' because it did not register within 1mins
Mar  8 15:52:19 node264 mesos-slave[1499]: I0308 15:52:19.627485  1742 docker.cpp:1385] Destroying container 'b6b74cbd-2e06-4fca-9ab6-78dbab617aca'
Mar  8 15:52:19 node264 mesos-slave[1499]: I0308 15:52:19.627944  1742 docker.cpp:1425] Destroying Container 'b6b74cbd-2e06-4fca-9ab6-78dbab617aca' in PULLING state
Mar  8 15:52:19 node264 mesos-slave[1499]: E0308 15:52:19.756479  1740 slave.cpp:3440] Container 'b6b74cbd-2e06-4fca-9ab6-78dbab617aca' for executor 'gitlab_gitlab.8248ae46-e56f-11e5-9c76-02429ce31955' of framework 7901cb4e-1e48-4a06-a85b-f340322ad02b-0000 failed to start:  future discarded

Any news on this?

+1 for adding link with dynamic name

+1

+1, and others including "hostname" and "net".

+1

+1

+1

+1

Here's what I can say: normal apps will likely never get linking support  without using something like mesos-dns or dcos and/or things like IP per container etc- remember, they are not guaranteed to be on the same host- so some kind of service discovery mechanism should be used instead.
However, we've been working on a pod feature that has all of the services in a shared CNI namespace on a single host. Perhaps that will meet some of the needs?


TypeScript support for config file (vue.config.ts)

What problem does this feature solve?
Type tracking when configured.
What does the proposed API look like?
can config width: vue.config.ts
or
vue.config.js:
  const VueConf = require('@vue/conf');
  VueConf({
    // baseUrl/assetsDir/devServer/... conf in here
  });

Yeah could be nice to have.
Also /cc @octref
Is there anyway for VSCode to have special type checking / autocomplete for vue.config.js, like for tsconfig.json?

I think we could have something like webpack does:
// vue.config.ts

import { Config } from '@vue/cli-service'

const config: Config = {
  // ...
}

export default config

If anyone want to work on this that'd be great. /cc @ktsn @HerringtonDarkholme

special type checking / autocomplete for vue.config.js

JS/TS have different story for type checking / autocomplete than JSON. They are actually closer to what we have in Vetur — finding out the default export and wrap that in a typed function call.
We have plan on our roadmap to support linting / autocomplete for webpack and I believe when it's done it can be easily used to support vue.config.ts.

I'll work on the vue.config.ts support. 👍

Any updates on this?

We might as well enable JS type checking on vue.config.js.
On tsconfig.json enable JS type checking and make sure the config file is included somehow.
Mine looks like this:
{
	"compilerOptions": {
		// ...
		"checkJs": true,
	},
	"include": [
		// ...
		"vue.config.js"
	],
	// ...
}

Then import ProjectOptions with this specific syntax:
/**
 * @typedef { import("@vue/cli-service").ProjectOptions } Options
 */

Importing the definitions other ways didn't worked for me.
Here's a working example with completion working inside chainWebpack as well:
// vue.config.js
/**
 * @typedef { import("@vue/cli-service").ProjectOptions } Options
 */

const { ProvidePlugin } = require('webpack')
const { resolve, join } = require('path')

/** @param args {string[]} */
const path = (...args) => resolve(join(__dirname, ...args))

/** @type {Options} */
const options = {
	devServer: {
		host: 'bp.viz',
		port: 80,
	},
	chainWebpack: config => {
		config.merge({
			resolve: {
				modules: ['node_modules', path('src')],
			},
			devtool: 'source-map',
		})

		config.plugin('provide').use(ProvidePlugin, [
			{
				Component: ['vue-property-decorator', 'Component'],
				Base: ['./src/components/Base', 'Base'],
			},
		])
	},
}

module.exports = options

Can confirm this works!
I had to install @types/webpack-chain to make sure I got the proper types for chainWebpack as well.
My vue.config.js:
/**
 * @type { ProjectOptions }
 */
module.exports = {
  css: {
    sourceMap: true,
  },
  configureWebpack: {
    target: 'electron-renderer',
  },
  lintOnSave: false,
  chainWebpack: config => {
    const svgRules = config.module.rule('svg')

    svgRules.uses.clear()

    svgRules.use('raw-loader').loader('raw-loader')
  },
}

Here's my vue.config.js setting
/**
 * @typedef { import("@vue/cli-service").ProjectOptions } Options
 * @typedef { import("webpack-chain") ChainWebpack }
 */

/**
 * @type { Options }
 */
module.exports = {
  ....
  ....
  /** @type {ChainWebpack} */
  chainWebpack: config => {
    ....
    ....
  }
}

it works without checkJs.
just install @types/webpack-chain to devDependency and add comments:
/**
 *  @typedef { import("@vue/cli-service").ProjectOptions } Options
 *  @type { Options }
 */
module.exports = {
...
}

What's the status of vue.config.ts support?

(function (exports, require, module, __filename, __dirname) { import * as path from 'path';
^
SyntaxError: Unexpected token *

Would like this too. I'm writing scripts for prerendering that I call in my vue.config.js and I prefer to write everything in TypeScript.

Any update on this?
Also might be a good idea to add ability to specify path to tsconfig.json since it may need to be different from default one for your project.
Aside of type checking this will make it easier to reuse ts code from your codebase. Currently I'm using ts-node with a custom tsconfig because my projects compiles to esnext but it is not yet supported by default in node, so I need a separate config to override target as well as add node types since this is compilation process that can use nodejs specific modules.
My IDE does a good job on type-checking and auto-completion but I have to import all utils as require("...").name or require("...").default. Having a proper vue.config.ts support would make code so much nicer and cleaner.

Note: Webpack itself does support various languages for their config files: https://webpack.js.org/configuration/configuration-languages/
This however mostly only includes file extensions and not type hints

Support?

Bump, I need to import some things from .ts files, would be really nice to have this feature. What are my other options, if any?

@GrayStrider you can create vue.config.ts and move all your code to it and use import and export in there, and in vue.config.js you can import it, but keep in mind that if your project output is not supported by node you will need to have additional tsconfig.js that has module set to commonjs:
require('ts-node').register({
  project: _PATH_TO_TSCONFIG_WITH_COMMONJS_,
})

module.exports = require("vue.comfig.ts").config;

And then your vue.config.ts can look like this
import { ProjectOptions } from "@vue/cli-service"

export const config: ProjectOptions = {
    // ... your vue comfig here
};

Now you have type checks and code completion in your vue config.
I keep additional tsconfig with node support in my ./scripts folder, then I can also use it to write my projects build/deploy/etc scripts in ts so I could reuse my code in them and run then from cli directly using ts-script shebang.

Any changes?

Bump, looking forward to this 🙏

Bump, looking forward to this 🙏 Any updates?

I've created vue.config.ts, now it looks:
import { ProjectOptions } from "@vue/cli-service"
import * as path from 'path'

const conf: ProjectOptions = {
    publicPath: process.env.BASE_URL || "/",
    chainWebpack: config => {
        config.resolve
        .alias
        .set('@public', path.resolve(__dirname, 'src/module/public/'));
    },
    devServer: {
        proxy: {
            '^/api': {
                target: "http://localhost:8072",
                pathRewrite: {'^/api' : ''}
            }
        }
    },
    configureWebpack: {
        devtool: 'source-map',
    },
    productionSourceMap: false
}

module.exports = conf

Added script to package.json
"compile:config": "tsc -m commonjs --esModuleInterop vue.config.ts"
Added vue.config.js to gitignore
Now if i've changed configuration  i just need to type: pnpm run compile:config and vue.config.js appears :)
I use pnpm, not yarn or npm

Would love to see vue.config.ts for vue 3.x!

 I'd like to run my prod server in dev mode w/o having to rebuild manually.

@n1kk 's solution seems cleaner. I had to add tsconfig-paths as well for my use case.
require('ts-node').register({
	project: _PATH_TO_TSCONFIG_WITH_COMMONJS_,
});
require('tsconfig-paths/register'); // In case you need paths
module.exports = require("./vue.config.ts").config;

Any progress on this?

Finally got it working.
vue.config.js:
// eslint-disable-next-line n/no-deprecated-api
const isTsRegistered = require.extensions['.ts'];

if (!isTsRegistered) {
    require('ts-node').register({
        project: './tsconfig.json',
        compilerOptions: {
            module: 'commonjs',
        },
    });
}

module.exports = require('./vue.config.ts').config;


[Bug]  Unsupported table metadata field type 216 when parsing binlog event

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
1.15.2
Flink CDC version
2.3.0
Database and its version
mysql version = 8.0.18
Minimal reproduce step
This error occurs when parsing the binlog.
What did you expect to see?
Support this kind of even type.
What did you see instead?
Caused by: io.debezium.DebeziumException: Failed to deserialize data of EventHeaderV4{timestamp=1679640836000, eventType=TABLE_MAP, serverId=1704062425, headerLength=19, dataLength=89, nextPosition=359034816, flags=0}
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.wrap(MySqlStreamingChangeEventSource.java:1154)
... 5 more
Caused by: com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException: Failed to deserialize data of EventHeaderV4{timestamp=1679640836000, eventType=TABLE_MAP, serverId=1704062425, headerLength=19, dataLength=89, nextPosition=359034816, flags=0}
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.deserializeEventData(EventDeserializer.java:309)
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.deserializeTableMapEventData(EventDeserializer.java:281)
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.nextEvent(EventDeserializer.java:228)
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource$1.nextEvent(MySqlStreamingChangeEventSource.java:230)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:952)
... 3 more
Caused by: java.io.IOException: Unsupported table metadata field type 216
at com.github.shyiko.mysql.binlog.event.deserialization.TableMapEventMetadataDeserializer.deserialize(TableMapEventMetadataDeserializer.java:52)
at com.github.shyiko.mysql.binlog.event.deserialization.TableMapEventDataDeserializer.deserialize(TableMapEventDataDeserializer.java:59)
at com.github.shyiko.mysql.binlog.event.deserialization.TableMapEventDataDeserializer.deserialize(TableMapEventDataDeserializer.java:37)
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.deserializeEventData(EventDeserializer.java:303)
... 7 more
https://github.com/ververica/flink-cdc-connectors/issues/2001#issuecomment-1482349231
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

I add a test, but cannot reproduce the error.
MySQL : docker mysql:8.0
Table sql :
CREATE TABLE multi_value_index (
    id bigint NOT NULL,
    f1 json,
    PRIMARY KEY (id)
);

insert into multi_value_index(id, f1)
values (1, cast('{"inner":[1,3]}' as json)),
       (2, cast('{"inner":[1,3,9,8]}' as json));

Test:
@Test
    public void testMultiValueIndex() throws Throwable {
        fullTypesMySql8Database.createAndInitialize();
        String sourceDDL =
                String.format(
                        "CREATE TABLE multi_value_index (\n"
                                + "    `id` INT NOT NULL,\n"
                                + "    f1 STRING,\n"
                                + "    primary key (`id`) not enforced"
                                + ") WITH ("
                                + " 'connector' = 'mysql-cdc',"
                                + " 'hostname' = '%s',"
                                + " 'port' = '%s',"
                                + " 'username' = '%s',"
                                + " 'password' = '%s',"
                                + " 'database-name' = '%s',"
                                + " 'table-name' = '%s',"
                                + " 'scan.incremental.snapshot.enabled' = '%s',"
                                + " 'server-id' = '%s',"
                                + " 'server-time-zone' = 'UTC',"
                                + " 'scan.incremental.snapshot.chunk.size' = '%s'"
                                + ")",
                        MYSQL8_CONTAINER.getHost(),
                        MYSQL8_CONTAINER.getDatabasePort(),
                        fullTypesMySql8Database.getUsername(),
                        fullTypesMySql8Database.getPassword(),
                        fullTypesMySql8Database.getDatabaseName(),
                        "multi_value_index",
                        incrementalSnapshot,
                        getServerId(),
                        getSplitSize());
        tEnv.executeSql(sourceDDL);

        // async submit job
        TableResult result = tEnv.executeSql("SELECT id, f1 FROM multi_value_index");

        CloseableIterator<Row> iterator = result.collect();
        waitForSnapshotStarted(iterator);
        Thread.sleep(10000L);

        try (Connection connection = fullTypesMySql8Database.getJdbcConnection();
             Statement statement = connection.createStatement()) {
            statement.execute(
                    "ALTER TABLE `multi_value_index` ADD INDEX `k_source`  ( (CAST(f1->'$.inner' AS UNSIGNED ARRAY)) );");
            statement.execute(
                    "insert into multi_value_index(id, f1) values (3, cast('{\"inner\":[1,4,5,8]}' as json));");
        }

        while (true) {

        }
//        assertEqualsInAnyOrder(Arrays.asList(), fetchRows(iterator, 2));
//        result.getJobClient().get().cancel().get();
    }

Debug

The value is:
{"source":{"file":"mysql-bin.000005","pos":1001,"server_id":223344},"position":{"transaction_id":null,"ts_sec":1686219039,"file":"mysql-bin.000005","pos":1240,"gtids":"9444d53c-05e4-11ee-b649-0242ac110004:1-17","server_id":223344},"databaseName":"column_type_test_mysql8_1gppbph","ddl":"ALTER TABLE `multi_value_index` ADD INDEX `k_source`  ( (CAST(f1->'$.inner' AS UNSIGNED ARRAY)) )","tableChanges":[]}

I noticed that you are using docker mysql:8.0
Can you try with mysql:8.0.18 ?
docker pull mysql:8.0.18
The problem occurred again recently, reproducible in MySQL 8.0.18 but not in 8.0.22-13.

Hi, @racoon945 .
I change the version to mysql:8.0.18, but the error does not occur.

I was using flink1.16.2 and mysql 5.6 for data capture, and such errors also occurred,cdc versions 2.4.0 and 2.4.1 have the same error

Hi, @hanpi14.
Which MySQL version are you using when the error occurs?
And do you know what sql will cause this error ? Thanks.

Close this issue as no reply received.
If the problem still exists, please re-create your issue in English on Apache Jira under project Flink with component tag Flink CDC. Thank you!


Make timebar a bit easier to click (on youTube it has some padding that's clickable)

Don't know if this bothers anyone else, just have noticed that few times I had to aim a bit to click the bar.
YouTube:

Odysee:

Yup bugs me as well, it's in discussion to be 'fixed' should be out pretty soon, thanks for the issue!


Feature Request Template

Pull Request

[x] I have checked for similar PRs.
[x] I have read the contributing guidelines.

Changes

[ ] Code
[ ] Documentation
[x] Other: Template

Description
Adds a new GitHub issue template targeting feature requests.

@DManstrator could please add the same to PR to kbl-model and the navigation-extender?

Will do that!


Dutch language

Heya AJ,
This is the Dutch translation so far for the memberprofiles module!
Enjoy :)

Thank you for your contribution here. I just wanted to let you know that we’re looking to improve our management of issues and pull requests, with a goal to providing clear direction on how Symbiote contributes to the open source community. As part of this ongoing effort:

issues and pull requests that have been open prior to December 2017 with no recent activity are being closed

this is included

if you can confirm this remains applicable for SS3.6+ please do open it again

remaining issues and pull requests will be

categorised

on a clear path to resolution (whatever the next step may be).

This ultimately brings us one step closer to our ambition; being able to prioritise current issues and contributions in a timely manner. If you have any questions, please see https://www.symbiote.com.au/contributing for further information.


Commander level 15 class features do not work.

https://drive.google.com/file/d/1fcXIDsd25I5BLHsNE1LiyRjjFNUQwReN/view?usp=drive_link

location saves won't work. Must be a campaign. Also, cannot find anything wrong here. Mod doesn't touch this sub.

위치 저장이 작동하지 않습니다. 캠페인이어야 합니다. 또한 여기서 잘못된 점을 찾을 수 없습니다. Mod는 이 하위 항목을 건드리지 않습니다.

The mod doesn't touch any class features, but it doesn't work when you learn the Slash feat, which has a similar mechanic. If you haven't learned the Slash feat, it will work normally.


converted spaces to tabs and remove superfluous tabs\spaces

As written in https://github.com/wiremod/wire/wiki/Coding-style
"To make sure the code is readable with all tab sizes, we use tabs for indentation and spaces for alignment."
and "Your code shouldn't have trailing whitespace,..."

Later, I can send a request for corrections to "Non-standard language elements like C-style operators (eg. !, &&), C-style comments (//) and continue are banned. They're a custom feature of Garry's Mod Lua and usually unsupported in other environments."

we use tabs for indentation and spaces for alignment.

I don't see any existing PR. He converted spaces to tabs, but yes some spaces such as those in strings shouldn't be converted.

I don't see any existing PR.

#1253
But, seems like it was ended.. And there was one more PR iirc.

@CaptainPRICE Yes, I opened the entire folder, and then manually redid it. I had a controversial question, at the expense of tabs in rows. I decided that it was necessary. Thanks for the review.

I think this pr is ended. Or not?

There are lots of places where you missed indents (mostly for/if with only one line of code), added massive indentations when a line is split and a couple places where there are tabs and a single space before the line.
You should definitely go over it at least once manually or alternatively redo it by using one of the lua pretty-printers/autoformatters you can find on the web.

14000 lines changed, this is very likely going to break something.
The gain is minimal, if there is any.
There are disadvantages, even if nothing breaks.
I don't know you and I don't trust you to make the right decision in each of those 14000 cases.
Since GitHub tells me you're new to this repository, I'm going to guess the other developers will think similarly.

You can use ?w=1 to verify only whitespace changes. Then it's just a matter of making sure no strings were changed. Then as long as it compiles, I'd say it's fine. The only real downside is it'll most likely cause conflicts for other PRs, but that's not a huge issue.

From what I gather, people have already found whitespace changes he made inside strings.
You wouldn't detect that with ?w=1.
Along with conflicts (which is a one-time problem), we'll introduce another big blocker for the "blame" feature.
If we want this, ideally, they'd post a script with which they do all the changes and we'd review that instead of the 14000 (manual?) changes he's proposing here.

I know, that's why I marked it work in progress. Not sure I understand your ideal case. Are you saying do it one script at a time?

no i'm saying there should be a script that does the changes.

Regardless of whether a script does it or it's done manually, it'll need to be reviewed to be sure neither failed.

really, is anyone gonna look at all 14000 changes?

I'd probably only take 10 min. I'll do it once its ready.

14000 lines in 10 minutes is 23 (changed!) lines per second. I doubt that :)

I will post another commit later.

I think the PR is done.

@adosikas Thanks for the review. Yes, I will review the entire diff soon.

I think the PR is done.

Rechecked the entire diff. It took me half an hour.

Ok, I'll look later

Please make absolutely sure you didn't change any strings. I'll look once those are fixed.

Wonder if something like this would work https://github.com/dptole/lua-beautifier

"Wait for @adosikas to find all the places where i messed up and then selectively fix just those" isn't really the type of behavior i was hoping for when commenting here.
I'm out here can only strongly recommend against merging this mess in the current form.

@adosikas Thank you for everything. Sorry, did not want to exploit you.
I would like to spend more time on this.

Damn me if now is not done.

Again I am not sure how you keep "missing" obvious stuff like that.

@adosikas It didn't cost me to do this.

@realpack I appreciated the attempt at least. The code is pretty messy. I think a lua styler script would be a better solution.


contrib: require an end-user sponsor

cc @envoyproxy/envoy-maintainers @moderation for comment

I'm going to take a stab at better defining end user today and will ping back for another review.

@envoyproxy/envoy-maintainers I updated this PR and attempted to define end user which also is relevant to the security list membership policy. PTAL.


fixed a typo

fixed a small typo

 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.

@askari01 Thanks for the PR! Nice spot :)
Could you please sign the Contributor License Agreement?
After which we can get this merged! 👍

signed. please merge the pull request when ever feasible. thanks

Thanks!


Flyway 6.0.3 By Redgate：Soft link path format error

Which version and edition of Flyway are you using?
Flyway 6.0.8 By Redgate
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
I am using the latest version.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
command-line
Which database are you using (type & version)?
postgresql 10.6
Which operating system are you using?
cent-os 7.4
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
I am moving the flyway from one directory to another and calculating md5 information for each file.
What did you expect to see?
I want to be able to calculate md5 for every file under flyway.
What did you see instead?
When traversing to 'flyway/jre/legal/java.compiler/ADDITIONAL_LICENSE_INFO', the system prompts that the file does not exist. After viewing, the directory pointed to by all the soft connections under a does not exist, but in fact only the path separator format used in the soft connection is wrong.
expect:  ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
actual: ADDITIONAL_LICENSE_INFO -> ..\java.base\ADDITIONAL_LICENSE_INFO

flyway/jre is an embedded copy of OpenJDK... this isn't a bug in Flyway per se as far as I can see.


Cache cargo artifacts

Supersedes #114
This does not cache ~/.cargo/registry because it's too big.

bors r+


Build filter for image ratio

We want to add a filter to CC Search, to allow users to filter by image ratio. The ratios we'd like to allow people to filter by are:

Tall
Wide
Square
Other

Users should be able to select one or more of these filters. When no ratio filter is selected (i.e. no option is checked), all ratio types should be shown.
This ticket will be preceded by [Create Left Hand Side Bar for Filters #529] (https://github.com/creativecommons/cccatalog-frontend/issues/529) and will be structured as indicated in [this wire frame] (https://app.moqups.com/OD23yiSWK9/view).

What would an example of an 'other' ratio that doesn't fit into tall, wide, or square?

Fixed in #533


The WebP framework fails to link on arm64 simulator

The error thrown is:
Building for 'iOS-simulator', but linking in object file (/.../irccloud/WebP.framework/WebP[arm64][4](bit_reader_utils.o)) built for 'iOS'

I don't have any plans to support building for the Simulator on arm64, only on Intel. Feel free to submit a pull request if you get it working, it will require updating the YYImage library to use a newer version of WebP from CocoaPods.


link errors: I must point out that we have two problems with checking links

I think this issue can be closed since we already have a link checker, and the question of whether there is a problem with the link checker in operation should be discussed in a separate issue.
Originally posted by @SkyeYoung in https://github.com/apache/apisix-website/issues/1047#issuecomment-1107679989
Background
Hi, this problem is from a user's question from IM. He asked, "why this link is pointed to 'page not found". You can click this link here to reproduce this question.

Then he will get this page! (In the language state of English)

Then he will get this page! (In the language state of Chinese)

How to solve this problem?
Of course, some people attribute this problem to the CI.
They think that we have to add the "link checker", however, the truth is that we already have this CI tool. (refer to this link)
So why do we still have this broken link problem even after having a link checking tool?
I must point out two questions we have!

This is a historical problem. We have done many document refactorings to optimize the reading experience of the documents, and thus many broken links have been left behind. And the documentation team was not aware of the problem.
The site's link checking tool does not fully meet our needs. After my review, the tool also reported off-site links, which led to a very high number of links being misreported. (refer to this link)

cc @navendu-pottekkat @SkyeYoung @juzhiyuan @hf400159
If we solve these two problems, there will be no more problems with broken links.

@Chever-John Hi, pls check and specify which links are problematic. I don't think we should waste our time with everyone checking over the links.
Off-site links are certainly something that needs to be checked, and we need to make sure that every link in the document is valid as much as possible. All that needs to be improved is the way in which it is checked.

Off-site links are certainly something that needs to be checked, but they should not be considered a "Fail".

Also, this link is correct, and it is reported as a "Fail".

These pictures are from the brokenList.json autogenerated by the link-checker tool.
You can click this link for the brokenList.json and download it to verify.
It seems that the link-checker does not work.

but they should not be considered a "Fail".

Current, we just have Fail state, so it's what need to improved but not a problem.

Also, this link is correct, and it is reported as a "Fail".

I will check this.

fell free to reopen this issues if you need it.


error when run examples/train/train_husky_navigate_ppo2.py

I got this error when running examples/train/train_husky_navigate_ppo2.py
File "/home/volkan/research/gibson/GibsonEnv/gibson/utils/fuse_policy2.py", line 265, in init
TypeError: fc() got an unexpected keyword argument 'act'
Any thoughts on solving this problem? I can run 'examples/train/train_husky_navigate_ppo1.py' successfully.

Hi Volkan,
You said you could able to run examples/train/train_husky_navigate_ppo2.py script. I couldn't understand the problem completely. fc() got an unexpected keyword argument 'act' error is related with fuse_policy2.py while you were trying to initiate variables. It seems to your act variable is not defined in that class.

Hi,
Thank you very much for your reply. I solved the issue by reinstalling (upgrade the version) of the gym library. Now I could run the script and see some statistics on the terminal without any problem.
Am I supposed to see a window for the camera outputs and robot visual locations? What I see is only a terminal. But there are visual outputs when running 'python examples/demo/play_husky_camera.py'.

OK. I see. I should run 'enjoy_husky_navigate_ppo1/2' to see the results.


bestChain / daemonStatus.blockchainLength becomes null in graphql

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/MinaProtocol/mina/issues
[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/MinaProtocol/mina/discussions

Description
    query {
      daemonStatus {
        blockchainLength
      }
    }

=>
{
  "data": {
    "daemonStatus": {
      "blockchainLength": null
    }
  }
}

Steps to Reproduce
use minaprotocol/mina-daemon:3.0.0-93e0279-buster-mainnet
run after sometimes call above graphql
Expected Result
so chain length
Actual Result
blockchainLength: null
Daemon version
minaprotocol/mina-daemon:3.0.0-93e0279-buster-mainnet
How frequently do you see this issue?
Sometimes
What is the impact of this issue on your ability to run a node?
Blocker
Status
(i call this just after node reboot)

Mina daemon status
-----------------------------------

Max observed block height:              364037
Max observed unvalidated block height:  0
Local uptime:                           4m11s
Chain id:                               a7351abc7ddf2ea92d1b38cc8e636c271c1dfd2c081c637f62ebc2af34eb7cc1
Git SHA-1:                              93e02797f72abe2cbf8dfca6f2328e9c8cd76546
Configuration directory:                /root/.mina-config
Peers:                                  38
User_commands sent:                     0
SNARK worker:                           None
SNARK work fee:                         100000000
Sync status:                            Bootstrap
Block producers running:                0
Coinbase receiver:                      Block producer
Consensus time now:                     epoch=1, slot=521
Consensus mechanism:                    proof_of_stake
Consensus configuration:
        Delta:                     0
        k:                         290
        Slots per epoch:           7140
        Slot duration:             3m
        Epoch duration:            14d21h
        Chain start timestamp:     2024-06-05 00:00:00.000000Z
        Acceptable network delay:  3m

Addresses and ports:
        External IP:    <masked>
        Bind IP:        <IP_ADDRESS>
        Libp2p PeerID:  12D3KooWGfpwsvVscaXSaNfXSVJai2RfSwAGUpjAsiotJikviLqa
        Libp2p port:    8302
        Client port:    8301

Metrics:
        block_production_delay:             7 (0 0 0 0 0 0 0)
        transaction_pool_diff_received:     11
        transaction_pool_diff_broadcasted:  0
        transactions_added_to_pool:         0
        transaction_pool_size:              0
        snark_pool_diff_received:           1
        snark_pool_diff_broadcasted:        0
        pending_snark_work:                 0
        snark_pool_size:                    0

Additional information
n/a

Mina daemon status
-----------------------------------

Max observed block height:              364038
Max observed unvalidated block height:  364038
Local uptime:                           6m19s
Chain id:                               a7351abc7ddf2ea92d1b38cc8e636c271c1dfd2c081c637f62ebc2af34eb7cc1
Git SHA-1:                              93e02797f72abe2cbf8dfca6f2328e9c8cd76546
Configuration directory:                /root/.mina-config
Peers:                                  73
User_commands sent:                     0
SNARK worker:                           None
SNARK work fee:                         100000000
Sync status:                            Bootstrap
Block producers running:                0
Coinbase receiver:                      Block producer
Consensus time now:                     epoch=1, slot=522
Consensus mechanism:                    proof_of_stake
Consensus configuration:
        Delta:                     0
        k:                         290
        Slots per epoch:           7140
        Slot duration:             3m
        Epoch duration:            14d21h
        Chain start timestamp:     2024-06-05 00:00:00.000000Z
        Acceptable network delay:  3m

Addresses and ports:
        External IP:    <masked>
        Bind IP:        <IP_ADDRESS>
        Libp2p PeerID:  12D3KooWGfpwsvVscaXSaNfXSVJai2RfSwAGUpjAsiotJikviLqa
        Libp2p port:    8302
        Client port:    8301

Metrics:
        block_production_delay:             7 (0 0 0 0 0 0 0)
        transaction_pool_diff_received:     22
        transaction_pool_diff_broadcasted:  0
        transactions_added_to_pool:         0
        transaction_pool_size:              0
        snark_pool_diff_received:           56
        snark_pool_diff_broadcasted:        0
        pending_snark_work:                 0
        snark_pool_size:                    0

after reboot a while but still same for that call

{
  daemonStatus {
    blockchainLength
    chainId
    catchupStatus
  }
}
=>
{
  "data": {
    "daemonStatus": {
      "blockchainLength": null,
      "chainId": "a7351abc7ddf2ea92d1b38cc8e636c271c1dfd2c081c637f62ebc2af34eb7cc1",
      "catchupStatus": null
    }
  }
}

{
  daemonStatus {
    blockchainLength
    chainId
    catchupStatus
  }
  bestChain(maxLength: 10)
}

{
  "errors": [
    {
      "message": "Could not obtain best chain from transition frontier",
      "path": [
        "bestChain"
      ]
    }
  ],
  "data": {
    "daemonStatus": {
      "blockchainLength": null,
      "chainId": "a7351abc7ddf2ea92d1b38cc8e636c271c1dfd2c081c637f62ebc2af34eb7cc1",
      "catchupStatus": null
    },
    "bestChain": null
  }
}

on node
2024-06-20 23:09:21 UTC [Error] Duplicate producer and slot: producer = $block_producer, consensus_time = $consensus_time, previous protocol state hash = $hash, current protocol s[35/335]
h = $current_protocol_state_hash
        block_producer: "B62qocN7WxNyAnWoNTuKZkFCYetthSUPX65Y41hgnkdZUmmSeJ1dZcc"
        consensus_time: { "slot_number": "7663", "slots_per_epoch": "7140" }
        hash: "3NKd1tzh5tXtosK29kc1xsGauYHnFt6Vfj4LQukV7uD7dRjiFbRS"
        current_protocol_state_hash: "3NKg3QzYkzLwXygn8S5z9E8Pnc1LhvUvNefXUYfZSDbth91m1SoT"
2024-06-20 23:09:46 UTC [Warn] RPC call error for "answer_sync_ledger_query"
2024-06-20 23:10:33 UTC [Warn] RPC call error for "answer_sync_ledger_query"
2024-06-20 23:10:40 UTC [Error] error sending message on stream "614": $error
        error: {
  "commit_id": "93e02797f72abe2cbf8dfca6f2328e9c8cd76546",
  "string": "only wrote 0 out of 9 bytes error: libp2p error: stream reset"
}
2024-06-20 23:10:40 UTC [Warn] failed to reset stream (this means it was probably closed successfully): $error
        error: {
  "commit_id": "93e02797f72abe2cbf8dfca6f2328e9c8cd76546",
  "string": "internal RPC error: unknown stream_idx"
}
2024-06-20 23:11:13 UTC [Error] Validation timed out on block $state_hash
        state_hash: "3NLyDs27ZoqKq9mpXwjAXre7khkVGvTbmmN8VbPJ4b3WDy2w7XVY"
2024-06-20 23:11:13 UTC [Warn] validation callback timed out before we could respond
2024-06-20 23:11:13 UTC [Error] libp2p_helper: validation timed out :(
2024-06-20 23:11:13 UTC [Error] Validation timed out on block $state_hash

is it possible node shutdown when partial insert of t.table block  table above?!

Hello @jun0tpyrc, thanks for submitting an issue.
It is expected behavior for the blockchainLength to be null while your node is still bootstrapping to the chain (which is what your status output indicates). The errors from the logs your posted are unrelated. Some of those errors are benign (such as the duplicate producer message).
I see you've updated the title of this issue to include a node halt but you haven't given information about the node halt. If there is a node halt you wish to report, please open a new issue. For now, I'm closing this issue as the initial bug you are reporting is the expected behavior of the GraphQL API.


Added functional test for api/2.0/config

@brianparry @abildw @dalebremner @srinia6

test this please

+1

:+1:


DevOps Academy: Critical failure at Chef build

When you follow the instructions for the start of day 2 to set up the Chef server on your AWS instance, the installation fails with the following text:

echo 'Adding EC2 instance to NGINX config using xip.io...'
Adding EC2 instance to NGINX config using xip.io...
export SERVICE_NAME=EC2-Service-Extension-1
SERVICE_NAME=EC2-Service-Extension-1
cp /workspace/Platform_Management/Load_Platform_Extension/service/aws/ec2-extension.conf ec2-extension.conf
sed -i s/###EC2_SERVICE_NAME###/EC2-Service-Extension-1/ ec2-extension.conf
sed -i s/###EC2_HOST_IP###/<IP_ADDRESS>/ ec2-extension.conf
docker cp ec2-extension.conf proxy:/etc/nginx/sites-enabled/EC2-Service-Extension-1.conf
docker exec proxy /usr/sbin/nginx -s reload
nginx: [emerg] BIO_new_file("/etc/nginx/ssl/cert.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Build step 'Execute shell' marked build as failure
[ssh-agent] Stopped.
Finished: FAILURE

This has been verified by multiple users.

Closing issue as this has been resolved in PR https://github.com/Accenture/adop-doa-materials/pull/27. This issue was due to unused SSL certs being removed from adop-nginx in https://github.com/Accenture/adop-docker-compose/commit/bc5b9d18dfaef6b934b59d607a2deafcfc1074b9


WIP: Refactor of cw1-whitelist unit tests

As there is a request to create additional UTs for some contracts: https://github.com/CosmWasm/cosmwasm-plus/issues/105, I went through the whitelist contract UT and found that kind of problem with adding many tests there is repetitive boilerplate in every test, which is not actually easy to read. Also because of some edge cases, some test may be actually incorrect (eg. if in future some items would be returned in different order because of any reason, UTs would start failing - while ordering in many cases shouldn't matter).
Therefore I came up with proposal to kind of unify the UTs structure to have visible setup => execute => verify structure, with - what is important - clear setup, so it is easier to figure out what is the test about.
Additional changes I am considering to make execution and possibly verify part simpler is to add execute/query methods directly on Suite (query via router), so the deps and mock_env are hidden. Additionally it would make testing queries through whole ecosystem, not just locally which might be more complete.
At the end I think, that the Suite structure could be partially generalized and extracted to multi-test, to encourage having clean an uniform test through the smart contracts.

 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.Bartłomiej Kuras seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

For some reason I cannot reply to this, but I will inline it:

I am actually thinking about this - this is very generic proposal, but suggestions are very much welcome. I even considered to split initialization and early execution, adding utility for executes, to achieve something like:

let Suite { deps, owner_info: owner, .. } = SuiteConfig {
  // Only minimal config, or maybe just `Suite::init(...)` with args required to setup properly
}
.init()
.execute_increase_allowance(&owner, SENDER1, vec![coin(1111, TOKEN)], None)
.execute_increase_allowance(&owner, SENDER2, vec![coin(2222, TOKEN)], None);

This would benefit also redability of test logic imho. There can be argument, that this thing hides what is actually called (the execute itself), but wrapping it in init hides it even more, so I am ok with that.

I am happy adding all kinds of magic helpers to SuiteConfig / init. Anything to build up the Suite. This is just to set up initial state, we trust that code works.
The code that is later being tested (execute), I would like to explicitly call.
The test body and the expected results should be explicit. The setup code is more or less boilerplate we can optimize away somehow

I just removed draft flag. One thing I wanted to have before merging is getting rid of prepare_test_case function to avoid two different approaches of setup in single test suite. One test I didn't clean up is the test of independence, but honestly my idea of how to improve this kind of testing is out of scope of this. Basically I am sure that introducing proptest would allow many test cases to be generated and not overflow the reader, but it is some work to do to introduce it, and it has its downsides.


SVGElement is not inferred as Element

Bug Report
SVGElement is not inferred as Element.
One could always ignore the harmless inferred signature Element | SVGElement or specify an Element signature.

🔎 Search Terms
svg element

🕗 Version & Regression Information

Playground link with relevant code
💻 Code

// The return type is inferred as `Element | SVGElement | null`
// The compiler infers `HTMLElement` as `Element`,
// but it doesn't perform the same inference on `SVGElement`.
const f = (el: unknown) => {
  if (!(el instanceof HTMLElement) && !(el instanceof SVGElement)) {
    // Returning `Element | null`
    return document.activeElement;
  }

  // Returning `HTMLElement | SVGElement`
  return el;
};

🙁 Actual behavior

SVGElement is not inferred as Element.
🙂 Expected behavior

SVGElement should be inferred as Element.

I don't understand what you're trying to say here.

@RyanCavanaugh sorry, I see a few ways the example above can be hard to digest, hopefully this comment is going to be more clear.
if a function returns an Element | HTMLElement, the return type is inferred as Element and that's fine.
If a function, instead, returns an Element | SVGElement, the return type is inferred as Element | SVGElement (even though an SVGElement is in fact an Element), which is not wrong but it's not consistent with how the compiler handles other similar cases.
For instance, here is an example with numbers:
const f = (n: unknown) => {
  // return a `number`
  if(n !== 4 && n !== 5) return Number(n);

  // return `4 | 5`
  return n;
}

// The inferred return type of `f` is `number`,
// rather than `number | 4 | 5`.

it's not a subtype due to its className property.

So how it comes that Element | HTMLElement is reduced to Element?
HTMLElement has a className property too, right?

SVGElement's classNameisany`,

Oh I see, the className of an SVGElement is an SVGAnimatedString object.
Please, forgive my ignorance.


Convert GitHub workflows that install Python to use actions/setup-python@v2

Task to do
Change from specific install of python in GitHub workflows to use GitHub action for all relevant repo's
Reason
Less overhead for maintaining GitHub Workflow YAML files
Result
No noticeable changes to workflow results, YAML files updated to use Action

Removing as part of #235


If user date format is yyyy/mm/dd, Enable hierarchy link (split to 3 journal link)

On Logseq, It's enabled in tooltips, but for some reason it's disabled in journal titles.

https://github.com/YU000jp/logseq-plugin-show-weekday-and-week-number/commit/dfc84b1869893b9e3247fc3e2b7b06bcfafaeb7d
DONE


CX20751_2 Add HDMI/DisplayPort Output

CX20751_2 Add HDMI/DisplayPort Output

Thank you for this patch! We noticed some issues due to file saving and merged the pull request manually.


Support installing modules from git branches

This issue is a continuation/redirection of this Puppetlabs Jira ticket.
The two use-cases described on that Jira ticket (here and here) seem best solved by a Beaker helper to install modules from git branches.
Of the two uses-cases linked above, I'll re-describe mine here, as I'm most familiar with it. I need the camptocamp-archive mod on the VMs provisioned and tested by Beaker, so I do something like this in spec/spec_helper_acceptance.rb:
    hosts.each do |host|
      on host, puppet('module', 'install', 'camptocamp-archive'), { :acceptable_exit_codes => [0] }
    end

I'd like to be able to install my fork of camptocamp-archive from GitHub for pre-PR testing. Something like this:
    hosts.each do |host|
      on host, puppet_mod_git_install('camptocamp-archive', 'https://github.com/dfarrell07/puppet-archive', 'origin/master'), { :acceptable_exit_codes => [0] }
    end

Note that the syntax I made up in that last block is just a quick example, not a suggestion for actual final syntax.
I'm mostly trying to get the discussion started with this issue, and move it to the right project. Thoughts?

More +1s from the original Jira ticket to Beaker being the right place to solve this.

Instead of origin/master you could just do the branch name assuming we could assume that the remote is always called 'origin' ( just to keep things simpler )
Beyond that i like the idea!

Looking at a vagrant-opendaylight Fedora 20 Puppet RPM VM, manually checking facter, I see the expected relevant values:

Totally reasonable. Could also split origin and master into two params, both of which default to those values.

Beyond that i like the idea!

Huzzah! :)

Follow up here:
https://tickets.puppetlabs.com/browse/BKR-21


GEOMESA-3285,GEOMESA-3292 Update to GeoTools 30.1/Java 11

Many dependency updates
Remove osm module - moved to https://github.com/geomesa/geomesa-convert-osm
Remove geomesa-metrics-ganglia module

@aheyne there are probably too many changes in this branch to meaningfully review, but do any of the changes outlined in the upgrade guide give you pause? https://github.com/locationtech/geomesa/blob/6fdf0d62ed94c1b7800e745b9d1b628cc98a8c00/docs/user/upgrade.rst#version-500-upgrade-guide


Update app-insights-asp-net-exceptions.md

corrects casing on the JavaScript method to track exceptions

Hi @ChrisMissal, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

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

TTYL, AZPRBOT;

@alancameronwills - Please review this contribution in the public repo from @ChrisMissal and let @ggailey777 know if he can merge it. Thanks!

#sign-off

@ggailey777: fine, please accept
@ChrisMissal : Thanks, Chris!

@ChrisMissal thank you for finding and fixing this bug. We appreciate your help improving the quality of Azure docs.


/usr/bin/env: node: No such file or directory

Following the instructions at http://www.augur.net/blog/the-augur-alpha-is-now-available-to-download, I've tried to install the Augur client. But when I run grunt broswerify:build, I get the following error:
/usr/bin/env: node: No such file or directory
I receive no errors leading up to this point.
I'm running unbuntu 15.04, 64-bit, Linux 3.19.0-21-generic.

it looks as if you haven't installed node for your platform.
if you're more interested in running the client than development at this point, you can skip building the client and just use http://client.augur.net
while this won't always be bleeding-edge, we do update it frequently with the latest build.

Thanks for the response!
TL;DR

I've got Node.js installed, but it doesn't appear to have registered in usr/bin/env (researching this now)
client.augur.net fails, as well with "Failed to connect to Ethereum"

I've installed Node.js using sudo apt-get install nodejs and confirmed that I'm currently running v0.10.25.
When I visit http://client.augur.net, I get the following message:
Failed to connect to Ethereum

Augur requires a local node of the Ethereum client running

Visit the ethereum github wiki for help installing the latest client

If geth is installed:
geth --rpc --rpccorsdomain http://client.augur.net --shh --unlock primary

even though I've confirmed with geth that I'm running version 0.9.33 and am able to get a server up and running with the following (from http://www.augur.net/blog/the-augur-alpha-is-now-available-to-download):
geth --rpc --rpccorsdomain "http://client.augur.net http://localhost:8080" --shh --networkid 1010101 --datadir "~/.augur" --protocolversion 59 --bootnodes "enode://587aa127c580e61a26a74ab101bb15d03e121a720401f77647d41045eae88709b01136e30aba56d1feddff757d4a333f68b9a749acd6852f20ba16ef6e19855a@[::]:30303 enode://4014c7fa323dafbb1ada241b74ce16099efde03f994728a55b9ff09a9a80664920045993978de85cb7f6c2ac7e9218694554433f586c1290a8b8faa186ce072c@<IP_ADDRESS>:30303 enode://e30a4cd1ec5ca4dbd19c40785d7d61363b44110cb20f27a21c5009ec20f68548b1d0705ba4483cb889cf835e0774db4df0f062054b412b0e17dae063c875939e@[::]:30303 enode://b8092b9c390c40463f152bfb5e16837b435255db0780594bc473811e31c05ea0994c4cb435f2ce93eef59786477d445a558b2d8519e6afb614918ae0924ff727@<IP_ADDRESS>:30303" --unlock primary console

So it appears that ethereum was installed successfully and is running.

Okay, found the Node.js issue. According to https://github.com/joyent/node/issues/3911, this is a naming "error" that can occur with package manager installs on Ubuntu. It can be solved with the following command:
ln -s /usr/bin/nodejs /usr/bin/node

After this, grunt browserify:build succeeded.
I received the same error message Failed to connect to Ethereum when I went to http://localhost:8080/. This part I find confusing. The server was running (logging messages scrolling across the screen), but I thought I might need to restart it. So I hit CTRL+C, at which point I was prompted for a password. After entering my password, the page reloaded and I'm now up and running. Is this standard behavior? I didn't see anywhere in the documentation that I would need to hit CTRL+C to get prompted. Or am I starting up Ethereum the wrong way?
Thanks!

Nm. This is all just new to me. The log messages are just piling on top of the Password prompt and pushing it up the screen. So I wasn't seeing it.


Only send suggestions updates when type changes

Pull Request Description
The change adds an additional field to ExpressionUpdates messages sent by ProgramExecutionSupport to indicate if the type of value (or its method pointer) has changed and therefore would potentially require a suggestions' update.
Prior to #3729 that check was done during the instrumentation. However we still want to continue to support "pending expression" functionality therefore SuggestionsHandler will use the additional information to filter only the required expression updates.
Most of the changes are related to adapting our tests to the new field.
Closes #6706.
Important Notes
The associated project now loads and navigates smoothly.
Also attaching a screenshot from the project that illustrates that pending functionality continues to work:
Kazam_screencast_00006.webm
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

~[ ] The documentation has been updated, if necessary.~
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Also appears to help slightly with #6639


Moment doesn't use "best fit" format to accurately convey errors.

Description of the Issue and Steps to Reproduce:
I would like to convey to my users that their day choice is invalid in a date such as 2/30/2019 7:00pm.  Typically, parsingFlags() allows me to see there's an overflow error, and I can accurately report back to the user. However, if I use multiple formats, moment appears to report the parsingFlags() for the final format, not necessarily the one that best "fit" the string argument. In my example, M/DD/YYYY h:mma  "fits" much better than MM-D-YYYY h:mm, but if it's the last format in my array I'll see the parsingFlags() for that one. I demonstrated this in jsfiddle.
Environment:
Moment 2.20.1

It appears there might be something special with my choice of 2/30/2019. If I use 02/30/2019 instead, I get the proper overflow reporting.

If you get to the bottom of it, feel free to make a PR!

@newtang there is the concept of best-fit in the code for handling multiple formats, so it shouldn't be too hard to add.

If this is still up for grabs, I think I see how to fix it.


Responsive:  Tooltip is not responsive in certain breakpoints.

This is a responsive issue with the tooltip that opens on hover the data points.
Tooltip is not responsive in certain breaktpoint, e.g. ipad portrait.
Screenshot attached below:

Works on post DR site


Tag creation

Add tags to exercise creations form and exercise edit form
@annadolan @NZenitram @bermannoah

Yay, tags!


BTCPayServer Update

https://blog.btcpayserver.org/btcpay-server-1-3-0/

tested working on v1.7.1 with a simple reinstall after editing the version in the script

To update BTCPayServer to v1.3.1:

#download
wget https://raw.githubusercontent.com/openoms/raspiblitz/btcpayv1.2.3/home.admin/config.scripts/bonus.btcpayserver.sh -O config.scripts/bonus.btcpayserver.sh

# run the update
config.scripts/bonus.btcpayserver.sh update

https://github.com/rootzoll/raspiblitz/pull/2683

It would be nice if we could get the latest version 1.4.x for the new UI overhaul.
The only difference in the script I think is upgrading dotnet from v3.1 to v6.0

Yes BTCPay will come on version v<IP_ADDRESS>  with the v1.7.2 Raspiblitz ... closing issue for release.


Eye target update

This PR fixes the eyes constantly following the eye target even after targeting is over.
The glitch was seen when animating and teleporting NPCs.

This PR fixes the slerp and adds an if for the common case of no eye target, for efficiency.


fix blocks

@princewang1994 , Hi, thanks for your code firstly, but I found the conv1 and conv2_x (the block1, i.e. the layer1 in Pytorch implementation) of ResNet if fixed when it is used as the base rcnn of RFCN model. And I'm wondering what the purpose of such default configuration is. For a quicker convergence or a better performance?

@liuqk3 Thanks, this repo(rfcn/couplenet) is modified from the jwyang's faster-rcnn.pytorch. In his implementation, fixing layer1 and conv1 is the default setting, and I had tried to unfreeze these layers when I reproduced faster-rcnn, experiments shows that there is no performance gain by setting them free, converging needs even more epochs. So I kept it untouched in my R-FCN/CoupleNet implement.
BTW, if you are interesting in tuning this hyper parameter, you can change the config in lib/model/utils/config.py, by setting __C.RESNET.FIXED_BLOCKS = N, hope this can help you.

@princewang1994  Thanks for your reply, here is another question:) You uploaded the pretrained resnet101_caffe.pth in the issue psroi can use rightly? of this repo, is the pretrained model the origin resnet101 trained using caffe? If so, why not load the pretrained model by the function model.load_state_dict(model_zoo.load_url(model_urls['resnet101'])) from the model zoo directly?

It seems that using model_zoo.load_url is equal with loading pth file locally after downloading from url, both ways are ok. This weight is pretrained on ImageNet, which referes to the other repo.


Where is the multi-scale testing?

Sorry, I don't write it. @luissen, The network supports input of any size,  and you can fuse results of different scales by yourself using NMS or soft-NMS.


Generalize the 'ssh' play in main.yml for any type of cluster

The main.yml playbook's Configure SSH connections between nodes. play was written for a cluster of Raspberry Pis running Raspberry Pi OS. As such, it's a little inflexible in its current form.
I would like to make this more generic so it can work on any cluster.
In fact, I may consider breaking that play out into its own playbook, especially if it can be run independent of the main benchmarking setup/benchmark playbook.

Working on this now.

Heh, ran into same DNS issue I ran into when benchmarking the Turing Pi 2 cluster...
https://github.com/geerlingguy/turing-pi-2-cluster/issues/1#issuecomment-981159948
Hint: It was DNS.

Got it all working—now it's time for some tweaking! https://github.com/geerlingguy/deskpi-super6c-cluster/issues/4#issuecomment-1317437439


artisan schema:dump error

Laravel Version: 8.6.0
PHP Version: 7.3.22
Database Driver & Version:
mysqldump  Ver 10.16 Distrib 10.1.45-MariaDB, for debian-linux-gnu (x86_64)
mysql 8.0.20

Description:
When i run php artisan schema:dump it returns followed error:
mysqldump: unknown variable 'set-gtid-purged=OFF'
[2020-09-30 05:29:36] local.ERROR: The command "mysqldump --set-gtid-purged=OFF --skip-add-drop-table --skip-add-locks --skip-comments --skip-set-charset --tz-utc --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" "${:LARAVEL_LOAD_DATABASE}" --routines --result-file="${:LARAVEL_LOAD_PATH}" --no-data" failed.

Steps To Reproduce:
I am using php:7.3-apache-stretch docker image and install default mysql-client with apt.

https://github.com/laravel/framework/issues/34280

I have the same error, in Alpine linux. It comes from mariadb client, because it is default on alpine.
mysqldump  Ver 10.17 Distrib 10.4.13-MariaDB, for Linux (x86_64)
In my opinion it is no problem to remove this option. In documentation of original mysqlclient it is:

I think this might have been fixed in the very latest release. Can you upgrade?

If you have a fix please submit a PR. I do not plan to spend anymore time on various mysql client issues with schema:dump.

It is not laravel bug. In my case - client is maria db, but DB is MySQL. When you install mysql client on Alpine linux, it uses mariadb client instead. So code:
\Illuminate\Database\Schema\MySqlSchemaState::baseDumpCommand
$gtidPurged = $this->connection->isMaria() ? '' : '--set-gtid-purged=OFF';
not works

@yarbala Yea, I understand it. And I don't say what is a bug. But the given command don't give me a choice to choose any options. Moreover the GTID option is for servers that use GTID-based replication, it's not enabled by default in mysql 5.6, 5.7, 8.0, so I don't understand why this --set-gtid-purged=OFF should be included in mysqldump command.