torch.hub.load with no internet connection causes TypeError

🐛 Bug
torch.hub.load with no internet connection causes TypeError
If I have an internet connection
>>> import torch
>>> model = torch.hub.load('pytorch/fairseq', 'roberta.large')
Using cache found in <path>
>>>

No internet connection:
>>> import torch
>>> model = torch.hub.load('pytorch/fairseq', 'roberta.large')
Using cache found in <path>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/pytorch-1.7/lib/python3.7/site-packages/torch/hub.py", line 370, in load
    model = _load_local(repo_or_dir, model, *args, **kwargs)
  File "~/pytorch-1.7/lib/python3.7/site-packages/torch/hub.py", line 399, in _load_local
    model = entry(*args, **kwargs)
  File "<path>/pytorch_fairseq_master/fairseq/models/roberta/model.py", line 251, in from_pretrained
    **kwargs,
  File "<path>/pytorch_fairseq_master/fairseq/hub_utils.py", line 56, in from_pretrained
    kwargs["data"] = os.path.abspath(os.path.join(model_path, data_name_or_path))
  File "~/pytorch-1.7/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

I originally made this bug report in the pytorch repo, but they sent me here.
To Reproduce
Steps to reproduce the behavior:

Have an internet connection
conda create -n <name> python=3.7
conda activate <name>
Install pytorch via instructions from pytorch website along with other prerequisites

conda install pytorch torchvision torchaudio cudatoolkit=11.0 -c pytorch
pip install omegaconf
pip install hydra-core --upgrade --pre
pip install regex
pip install requests
pip install cython

Launch python - python
Run the following to pull the model from github

>>> import torch
>>> model = torch.hub.load('pytorch/fairseq', 'roberta.large')

Exit python and disconnect network
Launch python and run the same commands

>>> import torch
>>> model = torch.hub.load('pytorch/fairseq', 'roberta.large')

It should say: Using cache found in <path> but then it crashes with the above error.

Expected behavior
I expected to be able to use the model offline as I believed it's using a cached model instead of having to download one every time.
Environment
Collecting environment information...
PyTorch version: 1.7.1
Is debug build: False
CUDA used to build PyTorch: 11.0
ROCM used to build PyTorch: N/A
OS: CentOS Linux release 7.8.2003 (Core) (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Clang version: Could not collect
CMake version: Could not collect
Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: Tesla V100-SXM2-32GB
GPU 1: Tesla V100-SXM2-32GB
GPU 2: Tesla V100-SXM2-32GB
GPU 3: Tesla V100-SXM2-32GB
Nvidia driver version: 450.80.02
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.19.2
[pip3] torch==1.7.1
[pip3] torchaudio==0.7.0a0+a853dff
[pip3] torchvision==0.8.2
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               11.0.221             h6bb024c_0
[conda] mkl                       2020.2                      256
[conda] mkl-service               2.3.0            py37he8ac12f_0
[conda] mkl_fft                   1.2.0            py37h23d657b_0
[conda] mkl_random                1.1.1            py37h0573a6f_0
[conda] numpy                     1.19.2           py37h54aff64_0
[conda] numpy-base                1.19.2           py37hfa32c7d_0
[conda] pytorch                   1.7.1           py3.7_cuda11.0.221_cudnn8.0.5_0    pytorch
[conda] torchaudio                0.7.2                      py37    pytorch
[conda] torchvision               0.8.2                py37_cu110    pytorch
Increased Log Levels
Here's the message printed when logging levels are increased:

INFO:fairseq.file_utils:Archive name 'http://dl.fbaipublicfiles.com/fairseq/models/roberta.large.tar.gz' was not found in archive name list. We assumed 'http://dl.fbaipublicfiles.com/fairseq/models/roberta.large.tar.gz' was a path or URL but couldn't find any file associated to this path or URL.

The contents of roberta.large.tar.gz are in the following directory but the load_archive_file function in file_utils.py is unaware of the cache_dir:
~/.cache/torch/pytorch_fairseq/83e3a689e28e5e4696ecb0bbb05a77355444a5c8a3437e0f736d8a564e80035e.c687083d14776c1979f3f71654febb42f2bb3d9a94ff7ebdfe1ac6748dba89d2/

We haven't really tested offline use for the torch.hub interface. If you find a fix, we'd be happy to accept a PR!

We haven't really tested offline use for the torch.hub interface. If you find a fix, we'd be happy to accept a PR!

I am using torch.hub for german-english machine translation offline. I first did the setup on my online machine, downloaded all the model files and the packages required(which by default downloads everything in the machine cache). After that, I copied the same downloaded files(in cache) to my offline machine cache. Typically, one needs to copy two folders(hub, pytorch_fairseq) in the offline machine cache. Instead of using 'pytorch/fairseq'(github path), I have given the path of my local machine cache.
import torch
de2en = torch.hub.load('/home/AdsRcm/.cache/torch/hub/pytorch_fairseq_master', 'transformer.wmt19.de-en.single_model', source='local',tokenizer='moses', bpe='fastbpe')
When I run this I got the same error-
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/huawei/AdsRcm/nandani/translation/n00445872/transenv/lib/python3.7/site-packages/torch/hub.py", line 339, in load
    model = _load_local(repo_or_dir, model, *args, **kwargs)
  File "/opt/huawei/AdsRcm/nandani/translation/n00445872/transenv/lib/python3.7/site-packages/torch/hub.py", line 368, in _load_local
    model = entry(*args, **kwargs)
  File "/home/AdsRcm/.cache/torch/hub/pytorch_fairseq_master/fairseq/models/fairseq_model.py", line 272, in from_pretrained
    **kwargs,
  File "/home/AdsRcm/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py", line 56, in from_pretrained
    kwargs["data"] = os.path.abspath(os.path.join(model_path, data_name_or_path))
  File "/opt/huawei/AdsRcm/nandani/translation/n00445872/fairseq/../transenv/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

I hardcoded the model path after line 52 in hub_utils.py
(/home/AdsRcm/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py)
model_path = file_utils.load_archive_file(model_name_or_path)
cache_model_path='/home/AdsRcm/.cache/torch/pytorch_fairseq/f42bb1b72d293668a5c50d9589fd2f3cc27322e390b1ef4cf3fdcf625c0d2fd7.bf6e22453272c2cba218a5ccecd045f73e926c34c1d66c47c9b31233343820a9'
model_path = cache_model_path

Model is working offline now.
import torch
de2en = torch.hub.load('/home/AdsRcm/.cache/torch/hub/pytorch_fairseq_master', 'transformer.wmt19.de-en.single_model', source='local',tokenizer='moses', bpe='fastbpe')
de2en.eval()
print(de2en.translate(['Hallo Welt!', 'Die Katze saß auf der Matte.','adidas Turnschuhe', 'Fahrräder']))
Loading codes from /home/AdsRcm/.cache/torch/pytorch_fairseq/f42bb1b72d293668a5c50d9589fd2f3cc27322e390b1ef4cf3fdcf625c0d2fd7.bf6e22453272c2cba218a5ccecd045f73e926c34c1d66c47c9b31233343820a9/bpecodes ...
Read 30000 codes from the codes file.
['Hello world!', 'The cat was sitting on the mat.', 'adidas sneakers', 'bicycles']

I am using torch.hub for german-english machine translation offline. I first did the setup on my online machine, downloaded all the model files and the packages required(which by default downloads everything in the machine cache). After that, I copied the same downloaded files(in cache) to my offline machine cache. Typically, one needs to copy two folders(hub, pytorch_fairseq) in the offline machine cache. Instead of using 'pytorch/fairseq'(github path), I have given the path of my local machine cache. import torch  de2en = torch.hub.load('~/.cache/torch/hub/pytorch_fairseq_master', 'transformer.wmt19.de-en.single_model', source='local',tokenizer='moses', bpe='fastbpe')
When I run this I got the same error-
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/lib/python3.7/site-packages/torch/hub.py", line 339, in load
    model = _load_local(repo_or_dir, model, *args, **kwargs)
  File "~/lib/python3.7/site-packages/torch/hub.py", line 368, in _load_local
    model = entry(*args, **kwargs)
  File "~/torch/hub/pytorch_fairseq_master/fairseq/models/fairseq_model.py", line 272, in from_pretrained
    **kwargs,
  File "~/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py", line 56, in from_pretrained
    kwargs["data"] = os.path.abspath(os.path.join(model_path, data_name_or_path))
  File "~/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

I hardcoded the model path after line 52 in hub_utils.py (~/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py)
model_path = file_utils.load_archive_file(model_name_or_path)
cache_model_path='~/.cache/torch/pytorch_fairseq/f42bb1b72d293668a5c50d9589fd2f3cc27322e390b1ef4cf3fdcf625c0d2fd7.bf6e22453272c2cba218a5ccecd045f73e926c34c1d66c47c9b31233343820a9'
model_path = cache_model_path

Model is working offline now.
import torch
de2en = torch.hub.load(~/.cache/torch/hub/pytorch_fairseq_master', 'transformer.wmt19.de-en.single_model', source='local',tokenizer='moses', bpe='fastbpe')
de2en.eval()
print(de2en.translate(['Hallo Welt!', 'Die Katze saß auf der Matte.','adidas Turnschuhe', 'Fahrräder']))
Loading codes from ~/.cache/torch/pytorch_fairseq/f42bb1b72d293668a5c50d9589fd2f3cc27322e390b1ef4cf3fdcf625c0d2fd7.bf6e22453272c2cba218a5ccecd045f73e926c34c1d66c47c9b31233343820a9/bpecodes ...
Read 30000 codes from the codes file.
['Hello world!', 'The cat was sitting on the mat.', 'adidas sneakers', 'bicycles']

Isn't that blocking use of every other models ?
Does anyone have a solution ? @NandanIITM @myleott @brandon-biggs


stdlayout instead of std-layout for svn migration

@github/services-engineers tested this out lately, and the syntax for the command is --stdlayout instead of --std-layout
looking for a :+1: here!

@brntbeer you've got one! 👍
git-scm.com documentation link, for reference

The option --stdlayout is a shorthand way of setting trunk,tags,branches as the relative paths, which is the Subversion default. If any of the other options are given as well, they take precedence.

thanks @nathos !


Find memory leaks and fix them

before 1.0.0 the lib should be checked for memory leaks.

At least authenticatorMakeCredential and authenticatorGetAssertion (and implicitly pinUvProt etc) have no memory leaks under "normal" operation. Might be different depending on where you crash the application but those cases could be discovered with fuzzing.

we track issues in the codeberg branch


Storing response as intermediate value doesn't always work

Response cannot be stored as intermediate value because it doesn't always work.
// does not work
"not be gzipped for a path that's in the exclude list" in {
      val response = get(nonGzip, withAcceptEncodingGZip and withAccept(mimeType = "application/json"))
      response must beSuccessfulWith(Dog())
      response must beNotHaveContentEncodingGzipHeader
    }

// works
"not be gzipped for a path that's in the exclude list" in {
      get(nonGzip, withAcceptEncodingGZip and withAccept(mimeType = "application/json")) must beSuccessfulWith(Dog()) and beNotHaveContentEncodingGzipHeader
    }

@pijusn is this still relevant ?

No. https://github.com/wix/wix-http-testkit/pull/32#issuecomment-343723311 was merged. HttpEntity.Strict allows consuming it multiple times.


Drag and drop into editor does not work for notebook or custom editor

Testing #127355

Have a text file open in one window, and a notebook or custom editor in enother
Try to drag the text file into the editor area of the notebook or custom editor
It does not work 🐛

See https://github.com/microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Awebview+label%3Aworkbench-dnd


Getting value from Form.Select

How do I can get a selected value from Form.Select Class? I tried a onChange event, but the result is an undefined value.

The Select has the same onChange signature as the Dropdown:
<Select onChange={(e, { value }) => alert(value)} />

Working example here: http://react.semantic-ui.com/modules/dropdown#remote

You made my day.... Thanks


Move sia binaries from /sia to /usr/bin.

Moving the siac and siad binaries from /sia to /usr/bin, so they easily accessible on the path. This will help with debugging from outside the container (with docker exec -it).

I found this line in README.md also needed to be modified:
https://github.com/NebulousLabs/docker-sia/blob/95f2df3d75cd043a3cb404f1f16d308798e22516/README.md#L74


Typos in README.md

I'm keeping a track of typos and minor errors in the readme in this issue:

"or further information on the development process got to the appmetrics wiki." -- "got" should be "go"

Fixed by PR #27


Fix Truffle invariants for Nothing with a warning

This PR ensures that from the Truffle interop perspective, Nothing does not have meta parents.

Timeout in EngineManagementApiSpec: https://github.com/enso-org/enso/actions/runs/7743955600/job/21116569741?pr=8764#step:8:1640


Code Structure and understanding requirements

This is an awesome initiative first of all, Unifiying different AI backends under one standard abstraction layer. I just cloned the repo, I see the current structure of the code. The current structure is with the existing structure of keras, we now have a backend. The backend has similar kind of functions and classes implemented to maintain the extincibility.
However, some parts of the code requires more contributions and I am not sure which parts of the code are completed and which are not. Yes, I do agree this project is in a very nascent stage. Being an OSS enthusiast just starting out to put contributions, I am highly intersted to know the following things:

what are your plans regrading existing code structure? Will there be any major changes or refactor or will follow the existing standards
What are the set of functions required for all the backend? For example: Inside backend/jax/image and backend/pytorch/image both have just one function called resize. I am not sure that resize is the ONLY function we might be requiring inside /image. So it would be awesome to know the requirements (in terms of what are the functions/classes needed to be defined inside the module of interest.)

Please let me know and would be happy to answer contribute here.

Hi,
Thank you for interest in contributing to the Keras repo, since Keras 3 is rolled out to public, now the team is focused on adding the new features and fixing the bugs.
You can always look for labels contribution welcome to start contributing https://github.com/keras-team/keras/issues?q=is%3Aopen+is%3Aissue+label%3A"stat%3Acontributions+welcome"
We encourage community to contribute to the repository.
You are free to work on any open issues.

Awesome, thanks

Feel free to close the issue.


Support for Prettier version 3

Is your feature request related to a problem?
Cannot currently be used with version 3 of Prettier
npm i -D @ianvs/prettier-plugin-sort-imports
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/prettier
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@ianvs/prettier-plugin-sort-imports
npm ERR!   dev @ianvs/prettier-plugin-sort-imports@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/tvanantwerp/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/tvanantwerp/.npm/_logs/2023-07-10T15_00_10_576Z-debug-0.log

Describe the solution you'd like
Support for version 3 of Prettier.
Related issue in @trivago/prettier-plugin-sort-imports

Thanks, I believe we actually do work with version 3, just haven't bumped the peer dependency range.  Would you be willing to try installing with --legacy-peer-deps, and check that the plugin works correctly?  And if so, maybe you can submit a PR that updates our peer dependency range?  Thanks!

Seems to work for me.

@IanVS I submitted a PR, not sure if you got a chance to see it: https://github.com/trivago/prettier-plugin-sort-imports/pull/239

Ah sorry my mistake, thanks

@basselworkforce if you're motivated, could you possibly test this PR? https://github.com/IanVS/prettier-plugin-sort-imports/pull/75
I think we're ready for prettier3 with that PR!

@basselworkforce if you're motivated, could you possibly test this PR? #75
I think we're ready for prettier3 with that PR!

sorry for the confusion I don't actually use this version, I use the trivago one


Modin fails to load csv from s3 with ray client

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu
Modin version (modin.__version__): master (0.8.3+22.ge99b629)
Python version: 3.7
Code we can use to reproduce:

import ray
import os
import ray.util
ray.util.connect("<service_ip>:50051")
import modin.pandas as pd
pd.DEFAULT_NPARTITIONS = 10
df = pd.read_csv("s3://<bucket>/HIGGS_100k.csv")

Describe the problem
Modin fails to load csv from s3 with ray client and throws an error.
Source code / logs
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-10-9b3c648a226d> in <module>()
----> 1 df = pd.read_csv("s3://<s3_bucket>/HIGGS_100k.csv")

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/pandas/io.py in parser_func(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, skipfooter, doublequote, delim_whitespace, low_memory, memory_map, float_precision)
    114
    115         kwargs = {k: v for k, v in f_locals.items() if k in _pd_read_csv_signature}
--> 116         return _read(**kwargs)
    117
    118     return parser_func

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/pandas/io.py in _read(**kwargs)
    133
    134     Engine.subscribe(_update_engine)
--> 135     pd_obj = EngineDispatcher.read_csv(**kwargs)
    136     # This happens when `read_csv` returns a TextFileReader object for iterating through
    137     if isinstance(pd_obj, pandas.io.parsers.TextFileReader):

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/data_management/factories/dispatcher.py in read_csv(cls, **kwargs)
    102     @classmethod
    103     def read_csv(cls, **kwargs):
--> 104         return cls.__engine._read_csv(**kwargs)
    105
    106     @classmethod

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/data_management/factories/factories.py in _read_csv(cls, **kwargs)
     85     @classmethod
     86     def _read_csv(cls, **kwargs):
---> 87         return cls.io_cls.read_csv(**kwargs)
     88
     89     @classmethod

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/base/io/file_dispatcher.py in read(cls, *args, **kwargs)
     27     @classmethod
     28     def read(cls, *args, **kwargs):
---> 29         query_compiler = cls._read(*args, **kwargs)
     30         # TODO (devin-petersohn): Make this section more general for non-pandas kernel
     31         # implementations.

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/base/io/text/csv_dispatcher.py in _read(cls, filepath_or_buffer, **kwargs)
    192         dtypes = cls.get_dtypes(dtypes_ids) if len(dtypes_ids) > 0 else None
    193
--> 194         partition_ids = cls.build_partition(partition_ids, row_lengths, column_widths)
    195         # If parse_dates is present, the column names that we have might not be
    196         # the same length as the returned column names. If we do need to modify

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/base/io/text/text_file_dispatcher.py in build_partition(cls, partition_ids, row_lengths, column_widths)
     51                     for j in range(len(partition_ids[i]))
     52                 ]
---> 53                 for i in range(len(partition_ids))
     54             ]
     55         )

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/base/io/text/text_file_dispatcher.py in <listcomp>(.0)
     51                     for j in range(len(partition_ids[i]))
     52                 ]
---> 53                 for i in range(len(partition_ids))
     54             ]
     55         )

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/base/io/text/text_file_dispatcher.py in <listcomp>(.0)
     49                         width=column_widths[j],
     50                     )
---> 51                     for j in range(len(partition_ids[i]))
     52                 ]
     53                 for i in range(len(partition_ids))

/home/bhavya.agarwal/.local/lib/python3.7/site-packages/modin/engines/ray/pandas_on_ray/frame/partition.py in __init__(self, object_id, length, width, ip, call_queue)
     25 class PandasOnRayFramePartition(BaseFramePartition):
     26     def __init__(self, object_id, length=None, width=None, ip=None, call_queue=None):
---> 27         assert type(object_id) is ray.ObjectID
     28
     29         self.oid = object_id

AssertionError:

Thanks @Bhavya6187! Ray 2.0 will deprecate the ray.ObjectID name in favor of ray.ObjectRef. This name change is currently supported in the latest stable release of Ray.

@devin-petersohn: I installed the latest version of modin (0.8.3+41.g5cb3283) from the master. I am getting a similar error:
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/pandas/io.py", line 134, in read_csv     return _read(**kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/pandas/io.py", line 60, in _read     pd_obj = EngineDispatcher.read_csv(**kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/data_management/factories/dispatcher.py", line 104, in read_csv     return cls.__engine._read_csv(**kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/data_management/factories/factories.py", line 87, in _read_csv     return cls.io_cls.read_csv(**kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/io/file_dispatcher.py", line 29, in read     query_compiler = cls._read(*args, **kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/io/text/csv_dispatcher.py", line 30, in _read     return cls.single_worker_read(filepath_or_buffer, **kwargs)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/backends/pandas/parsers.py", line 87, in single_worker_read     return cls.query_compiler_cls.from_pandas(pandas_frame, cls.frame_cls)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/backends/pandas/query_compiler.py", line 209, in from_pandas     return cls(data_cls.from_pandas(df))   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/frame/data.py", line 2032, in from_pandas     new_frame, new_lengths, new_widths = cls._frame_mgr_cls.from_pandas(df, True)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/frame/partition_manager.py", line 580, in from_pandas     for i in range(0, len(df), row_chunksize)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/frame/partition_manager.py", line 580, in <listcomp>     for i in range(0, len(df), row_chunksize)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/base/frame/partition_manager.py", line 578, in <listcomp>     for j in range(0, len(df.columns), col_chunksize)   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/ray/pandas_on_ray/frame/partition.py", line 148, in put     return PandasOnRayFramePartition(ray.put(obj), len(obj.index), len(obj.columns))   File "/Users/shossain/anaconda3/envs/py37/lib/python3.7/site-packages/modin/engines/ray/pandas_on_ray/frame/partition.py", line 27, in __init__     assert type(object_id) is ray.ObjectRef
Here is the snippet:
`import ray
import ray.util
ray.util.connect(':')
import modin
import modin.pandas as pd
columns_names = [
"trip_id", "vendor_id", "pickup_datetime", "dropoff_datetime", "store_and_fwd_flag",
"rate_code_id", "pickup_longitude", "pickup_latitude", "dropoff_longitude", "dropoff_latitude",
"passenger_count", "trip_distance", "fare_amount", "extra", "mta_tax", "tip_amount",
"tolls_amount", "ehail_fee", "improvement_surcharge", "total_amount", "payment_type",
"trip_type", "pickup", "dropoff", "cab_type", "precipitation", "snow_depth", "snowfall",
"max_temperature", "min_temperature", "average_wind_speed", "pickup_nyct2010_gid",
"pickup_ctlabel", "pickup_borocode", "pickup_boroname", "pickup_ct2010",
"pickup_boroct2010", "pickup_cdeligibil", "pickup_ntacode", "pickup_ntaname", "pickup_puma",
"dropoff_nyct2010_gid", "dropoff_ctlabel", "dropoff_borocode", "dropoff_boroname",
"dropoff_ct2010", "dropoff_boroct2010", "dropoff_cdeligibil", "dropoff_ntacode",
"dropoff_ntaname", "dropoff_puma",
]
parse_dates=["pickup_datetime", "dropoff_datetime"]
df = pd.read_csv('https://modin-datasets.s3.amazonaws.com/trips_data.csv', names=columns_names,
header=None, parse_dates=parse_dates)`

@

@devin-petersohn: is there a combination of Ray and Modin versions that is sure to work? I am trying to load some data and run some simple analysis.

The issue is the Client API, which is new. If you create and connect to a Ray cluster without the Client, it will work.

@devin-petersohn: I tried to submit the following script to an existing cluster using ray submit:
`
import ray
ray.init(address='auto', _redis_password='5241590000000000')
import modin.pandas as pd
columns_names = [
"trip_id", "vendor_id", "pickup_datetime", "dropoff_datetime", "store_and_fwd_flag",
"rate_code_id", "pickup_longitude", "pickup_latitude", "dropoff_longitude", "dropoff_latitude",
"passenger_count", "trip_distance", "fare_amount", "extra", "mta_tax", "tip_amount",
"tolls_amount", "ehail_fee", "improvement_surcharge", "total_amount", "payment_type",
"trip_type", "pickup", "dropoff", "cab_type", "precipitation", "snow_depth", "snowfall",
"max_temperature", "min_temperature", "average_wind_speed", "pickup_nyct2010_gid",
"pickup_ctlabel", "pickup_borocode", "pickup_boroname", "pickup_ct2010",
"pickup_boroct2010", "pickup_cdeligibil", "pickup_ntacode", "pickup_ntaname", "pickup_puma",
"dropoff_nyct2010_gid", "dropoff_ctlabel", "dropoff_borocode", "dropoff_boroname",
"dropoff_ct2010", "dropoff_boroct2010", "dropoff_cdeligibil", "dropoff_ntacode",
"dropoff_ntaname", "dropoff_puma",
]
df = pd.read_csv('https://modin-datasets.s3.amazonaws.com/trips_data.csv', names=columns_names)
def q1(df):
return df.groupby("cab_type")["cab_type"].count()
print(df)     # Works fine
print(q1(df))  # Throws exception
`
But, I am getting the following exception:
`
(raylet) [2021-02-22 12:17:09,584 C 4100 4100] pull_manager.cc:100:  Check failed: active_object_pull_requests_[obj_id].erase(request_it->first)
(raylet) [2021-02-22 12:17:09,584 E 4100 4100] logging.cc:435: *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1614025029" if you are using GNU date ***
(raylet) [2021-02-22 12:17:09,584 E 4100 4100] logging.cc:435: PC: @                0x0 (unknown)
(raylet) [2021-02-22 12:17:09,593 E 4100 4100] logging.cc:435: *** SIGABRT (@0x3e800001004) received by PID 4100 (TID 0x7f3902812800) from PID 4100; stack trace: ***
(raylet) [2021-02-22 12:17:09,595 E 4100 4100] logging.cc:435:     @     0x556fe05a223f google::(anonymous namespace)::FailureSignalHandler()
(raylet) [2021-02-22 12:17:09,596 E 4100 4100] logging.cc:435:     @     0x7f3902d743c0 (unknown)
(raylet) [2021-02-22 12:17:09,596 E 4100 4100] logging.cc:435:     @     0x7f390285d18b gsignal
(raylet) [2021-02-22 12:17:09,596 E 4100 4100] logging.cc:435:     @     0x7f390283c859 abort
(raylet) [2021-02-22 12:17:09,599 E 4100 4100] logging.cc:435:     @     0x556fe0593615 ray::SpdLogMessage::Flush()
(raylet) [2021-02-22 12:17:09,601 E 4100 4100] logging.cc:435:     @     0x556fe059364d ray::RayLog::~RayLog()
(raylet) [2021-02-22 12:17:09,602 E 4100 4100] logging.cc:435:     @     0x556fe028df8d ray::PullManager::DeactivatePullBundleRequest()
(raylet) [2021-02-22 12:17:09,603 E 4100 4100] logging.cc:435:     @     0x556fe0290ed9 ray::PullManager::CancelPull()
(raylet) [2021-02-22 12:17:09,604 E 4100 4100] logging.cc:435:     @     0x556fe027e28a ray::ObjectManager::CancelPull()
(raylet) [2021-02-22 12:17:09,605 E 4100 4100] logging.cc:435:     @     0x556fe01d0b77 ray::raylet::DependencyManager::RemoveTaskDependencies()
(raylet) [2021-02-22 12:17:09,606 E 4100 4100] logging.cc:435:     @     0x556fe023afdd ray::raylet::ClusterTaskManager::DispatchScheduledTasksToWorkers()
(raylet) [2021-02-22 12:17:09,607 E 4100 4100] logging.cc:435:     @     0x556fe0209d2f ray::raylet::NodeManager::HandleWorkerAvailable()
(raylet) [2021-02-22 12:17:09,608 E 4100 4100] logging.cc:435:     @     0x556fe0209e30 ray::raylet::NodeManager::HandleWorkerAvailable()
(raylet) [2021-02-22 12:17:09,608 E 4100 4100] logging.cc:435:     @     0x556fe020a373 ray::raylet::NodeManager::ProcessAnnounceWorkerPortMessage()
(raylet) [2021-02-22 12:17:09,609 E 4100 4100] logging.cc:435:     @     0x556fe0226f1a ray::raylet::NodeManager::ProcessClientMessage()
(raylet) [2021-02-22 12:17:09,610 E 4100 4100] logging.cc:435:     @     0x556fe01852a1 ZNSt17_Function_handlerIFvSt10shared_ptrIN3ray16ClientConnectionEElRKSt6vectorIhSaIhEEEZNS1_6raylet6Raylet12HandleAcceptERKN5boost6system10error_codeEEUlS3_lS8_E0_E9_M_invokeERKSt9_Any_dataOS3_OlS8
(raylet) [2021-02-22 12:17:09,614 E 4100 4100] logging.cc:435:     @     0x556fe054da4e ray::ClientConnection::ProcessMessage()
(raylet) [2021-02-22 12:17:09,618 E 4100 4100] logging.cc:435:     @     0x556fe054aaec boost::asio::detail::reactive_socket_recv_op<>::do_complete()
(raylet) [2021-02-22 12:17:09,622 E 4100 4100] logging.cc:435:     @     0x556fe0910e41 boost::asio::detail::scheduler::do_run_one()
(raylet) [2021-02-22 12:17:09,624 E 4100 4100] logging.cc:435:     @     0x556fe09124e9 boost::asio::detail::scheduler::run()
(raylet) [2021-02-22 12:17:09,624 E 4100 4100] logging.cc:435:     @     0x556fe09149d7 boost::asio::io_context::run()
(raylet) [2021-02-22 12:17:09,627 E 4100 4100] logging.cc:435:     @     0x556fe0151572 main
(raylet) [2021-02-22 12:17:09,627 E 4100 4100] logging.cc:435:     @     0x7f390283e0b3 __libc_start_main
(raylet) [2021-02-22 12:17:09,629 E 4100 4100] logging.cc:435:     @     0x556fe0166665 (unknown)
`

@shossain What version of Ray are you running?
@simon-mo Have you seen this before?

Ray 2.0.0.dev0 installed from here:
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl
On Tue, Feb 23, 2021 at 6:30 AM Devin Petersohn<EMAIL_ADDRESS>wrote:

@shossain https://github.com/shossain What version of Ray are you
running?
@simon-mo https://github.com/simon-mo Have you seen this before?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/modin-project/modin/issues/2688#issuecomment-784242353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGXPMHGYG4P5QVVSWVZPSTTAO3XZANCNFSM4XB5TRCA
.

This is an issue currently on latest Ray wheels, being discussed here: https://github.com/ray-project/ray/issues/14279

I am not able to reproduce this on the latest master. This seems to be working now.


fix addon component name validation.

resolve: https://github.com/istio/istio/issues/22092
[ ] Configuration Infrastructure
[ ] Docs
[ X ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@morvencao: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-local-tests_istio
13b8a0d665e58f6186346f0e508126c54aef6408
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-local-tests_istio
13b8a0d665e58f6186346f0e508126c54aef6408
link
/test integ-local-tests_istio

unit-tests_istio
13b8a0d665e58f6186346f0e508126c54aef6408
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Looks like the failing tests isn't caused by this PR.

I am working on it
On Thu, Mar 12, 2020, 7:52 AM Morven Cao<EMAIL_ADDRESS>wrote:

Looks like the failing tests isn't caused by this PR.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/22126#issuecomment-598231680, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXOFJCNQV2K5SPUOHLDRHDZKFANCNFSM4LGND2OA
.

@morvencao: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
13b8a0d665e58f6186346f0e508126c54aef6408
link
/test unit-tests_istio

integ-local-tests_istio
ece1260a25c9dc1e1db50cb0a5693221ba416ca2
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-local-tests_istio
ece1260a25c9dc1e1db50cb0a5693221ba416ca2
link
/test integ-local-tests_istio

unit-tests_istio
ece1260a25c9dc1e1db50cb0a5693221ba416ca2
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Instead of adding back the addon component names from name.go, can you read it from the data file, e.g. names-1.6.yaml under translateConfig which we define the built in addon names for specific version.

I tried your proposal, looks like ii will make things more complicated. I mean if I just read the translateConfig file, we need to update the version for each release. As an alternative, I can import translate pkg, but that will introduce much more components for validate pkg. Not sure if this is a good idea, since we should keep the validate pkg independent of others.

But we're already loading the names from the file?

@morvencao if you don't want to use the file, have a look at https://github.com/istio/istio/pull/21410 - if that is merged we don't require the files anymore, it will read addonComponentNames straight from the charts

@morvencao: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
e9542c9e4eb618b45dc6421455c998cfe9148290
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test gencheck_istio

@morvencao: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
e9542c9e4eb618b45dc6421455c998cfe9148290
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dgn Thanks for your suggestion, it helps a lot.

@richardwxn PTAL

@morvencao: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
9676f9695dffd0fa4542c4b0c4b2741e6f2db0d6
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-multicluster-k8s-tests_istio


adds imp for azure using filtertype security group

also add in the readme

@fahad-rauf Image is available for testing. docker pull stakater/whitelister:SNAPSHOT-PR-17-3

@fahad-rauf Image is available for testing. docker pull stakater/whitelister:SNAPSHOT-PR-17-4

@fahad-rauf Image is available for testing. docker pull stakater/whitelister:SNAPSHOT-PR-17-5

@hamza3202 kindly review it when you have time

@fahad-rauf Image is available for testing. docker pull stakater/whitelister:SNAPSHOT-PR-17-6


test: Brillig array initialization optimization [DO NOT MERGE]

Please read contributing guidelines and remove this line.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,720
1,546
709 (+2%)
752 (+2%)
775 (+1%)

proof_construction_time_sha256_30_ms
11,966 (+5%)
3,051
1,444 (+6%)
1,403 (-1%)
1,453

proof_construction_time_sha256_100_ms
46,608 (+6%)
12,305 (+5%)
5,410
5,396
5,345

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0
87.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,518
417
200
219 (-2%)
268 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,757
1,598 (+2%)
724
781 (-2%)
788 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,440
9,448
9,452

l1_rollup_execution_gas
610,261
610,269
610,273

l2_block_processing_time_in_ms
755
1,436 (+3%)
2,672

l2_block_building_time_in_ms
22,259 (-4%)
44,789 (-3%)
87,084 (-3%)

l2_block_rollup_simulation_time_in_ms
22,168 (-4%)
44,495 (-3%)
86,748 (-4%)

l2_block_public_tx_process_time_in_ms
18,984 (-4%)
41,112 (-3%)
83,440 (-3%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
6,580 (+3%)
9,512 (+3%)

node_database_size_in_bytes
10,551,376
14,372,944

pxe_database_size_in_bytes
9,242
15,127

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms

GasToken:_increase_public_balance
68.6 (-2%)

GasToken:set_portal
16.2 (-4%)

Token:constructor
93.1 (-2%)

FPC:constructor
63.8 (+1%)

GasToken:mint_public
55.1 (+1%)

Token:mint_public
78.7 (+15%)

Token:assert_minter_and_mint
202 (-8%)

SchnorrAccount:approve_public_authwit
32.6 (+2%)

FPC:prepare_fee
74.7 (-6%)

Token:transfer_public
48.1 (+8%)

FPC:pay_refund
61.6 (+4%)

Benchmarking:increment_balance
2,339 (-3%)

Token:_increase_public_balance
58.7 (+2%)

FPC:pay_refund_with_shielded_rebate
52.0

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.174 (-2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (+1%)
17.0
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.604 (+1%)
0.520
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.5
76.3 (+2%)
131 (-1%)
251 (+3%)
467

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
288
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.496
0.470 (+1%)
0.450
0.454 (+3%)
0.437

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.8 (+1%)
113 (+2%)
180 (-2%)
361 (+3%)
688

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
208
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.508 (+1%)
0.505 (+1%)
0.478 (-1%)
0.489 (+3%)
0.473

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
75.1 (+1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
135
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.525 (+1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
83,854
676,749

Transaction size based on fee payment method
| Metric |  |
| - |  |


Fix dependencies in setup.py

PR should fix the pip install problems.
install_requires is the correct way to specify dependencies, packages is used to package up directories.
https://colab.research.google.com/drive/1OgcT3Ur1hMm-gPfNsNgsocfrCjq8MP2o?usp=sharing

This LGTM! Currently there are no nice error messages for catching failed pyrosetta imports - it's a hardcoded dependency. Perhaps we should add a friendly error message upon failed pyrosetta imports?
Also, could we get a meta.yaml for installing viewer3d via conda?
https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html
It doesn't have to be this PR but in the future it would be worth adding.


Makefile change for cross compiling.

Working from wsl and compiling for windows this change makes it much easier to compile a static library for windows on arm. To compile a static library for windows on arm:
make PLATFORM=PLATFORM_DESKTOP TARGET_OS=WINDOWS CROSS_CC=/llvm/bin/aarch64-w64-mingw32-gcc CROSS_AR=/llvm/bin/aarch64-w64-mingw32-ar

This does not work to compile a shared library yet, only static.

@superxkooda nice addition! thanks!


fix RUF012 #156

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have updated the changelog accordingly.
[ ] I have added tests to cover my changes.

one can check for all occurrences of RUF102 using ruff check . --select RUF012


Add MetricBeats to Web and ASIP

Need to be able to monitor the performance of the VMs Website and ASIP.  This should be done using the MetricsBeats or LogStash services to allow for a dashboard locally.

Load (Memory, CPU, etc.)
Requests (number, and location)
Security must be enabled.
This ticket is only to setup the connection from the VM to a elastic search server.

After discussing with @alanamircruz, we will put this on pause until further notice.


Github Action Deprecation: actions/upload-artifact@v3

[!warning]
Artifacts v3 brownouts
Artifact actions v3 will be closing down by December 5, 2024. To raise awareness of the upcoming removal, we will temporarily fail jobs using v3 of actions/upload-artifact or actions/download-artifact. Builds that are scheduled to run during the brownout periods will fail.  The brownouts are scheduled for the following dates and times:
– November 14, 12pm – 1pm EST
– November 21, 9am – 5pm EST

Notice of Breaking Changes published Nov 5, 2024
This repository will be impacted by this brownout and deprecation, based on this query.
Want to avoid tracking this manually? Setup dependabot to automatically bump version numbers of dependencies including GitHub Actions.
Add a .github/dependabot.yml configuration
version: 2
updates:
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"

Example Source

Thanks for filing this issue. We'll need this before 2.19 release otherwise it will impact the artifacts generation.

This is fixed as part of the following PRs

https://github.com/opensearch-project/query-insights/pull/163
https://github.com/opensearch-project/query-insights/pull/171
https://github.com/opensearch-project/query-insights/pull/174


"Associations" Parser/Stepper

Feature or enhancement
As a collection manager, I have many collecting events with "habitat" data parsed out, but not translated into biological associations.
I want a task where these are suggested to me.
I want to use https://github.com/gnames/gnparser to produce a list of collecting events that have names in the habitat field, or in buffered collecting event (if there is no CE associated) - then stepwise go through them.
Location
New Task - Associations Stepper
Screenshot, napkin sketch of interface, or conceptual description
I want to use https://github.com/gnames/gnparser to produce a list of collecting events that have names in the habitat field, or in buffered collecting event (if there is no CE associated) - then stepwise go through them - similar to other "stepper" or "stepwise" tasks.
Your role
Collection manager

If the field contains more than scientific names, then https://github.com/gnames/gnfinder might be a better tool (or perhaps piping like gnfinder | gnparser > scientific_name_output)

I'm sure I'm getting the tools confused - I want to use Global Names tools to do this. Sorry if I said the wrong one.


Added TextArea Example

Added TextArea Example

Current coverage is 100% (diff: 100%)

No coverage report found for master at 9445fa7.

Powered by Codecov. Last update 9445fa7...7f9935c

Thanks much!  CI will ship this in a few minutes.


contextmanager-based rendering

This PR implements rendering functional components using context managers.

There's one potential issue with this implementation, if you have a functional component like the following:
@component
def Example(self):
	View()(
       Label("foo"),
       Label("bar"),
    )

The Example component doesn't render to just the View component, it renders to the three components [View, Label("foo"), Label("bar")]. This is because the View component doesn't create a new context manager.
I thought of dropping the __call__ method on the Component class but that would make the non-functional component style quite difficult to use.
What do you think @jamesdbrock?

I thought of dropping the __call__ method on the Component class but that would make the non-functional component style quite difficult to use.
What do you think @jamesdbrock?

I am willing to break the old API, including eliminating the class-component style, if we we decide that's best. I will re-write all of the documentation, examples, and tests.

@jamesdbrock I'll definitely update tests if we decide to go that way. I don't think we can eliminate the old style completely without first implementing all hooks though.
Note that we wouldn't be able work around this issue by replacing __call__ with some other method as the issue is with instantiating components in another component without creating context managers at each level of the tree.

Explanation for the version history:
We have changed the syntax for declaring component trees.
The old syntax was that a component’s children are __call__ed on the component, and the component is returned from a render() function.
class MyComponent(Component):

    def __init__(props):

    def render():
         return View()(
            Label(text="a"),
            Label(text="b"),
        )

We have changed this so that components are functions decorated with a @component decorator, and component children are declared in the with context of a component. Nothing is returned.
@component
def my_component(props):
    with View():
        Label(text="a")
        Label(text="b")

Reasons for doing this:

We can use Python’s match-case statement for declaring component trees.
The syntax is cleaner when we can declare children line-by-line instead of packing them into a Python function call with the comma and parenthesis rules.
props and state?

I've found that the reason for calling __init__ multiple times is likely due to to @register_props. I'll to a refactor, removing it in favor of self.register_props(props)


[3.0-Triple] Fix  duplicate wrap executor

What is the purpose of the change
fix https://github.com/apache/dubbo/issues/10289
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10293 (fc12707) into 3.0 (92bf15d) will decrease coverage by 0.56%.
The diff coverage is 100.00%.

:exclamation: Current head fc12707 differs from pull request most recent head dba5992. Consider uploading reports for the commit dba5992 to get more accurate results

@@             Coverage Diff              @@
##                3.0   #10293      +/-   ##
============================================
- Coverage     65.65%   65.09%   -0.57%
+ Complexity      296      294       -2
============================================
  Files          1233     1233
  Lines         53725    53718       -7
  Branches       8110     8085      -25
============================================
- Hits          35273    34966     -307
- Misses        14616    14904     +288
- Partials       3836     3848      +12

Impacted Files
Coverage Δ

...ubbo/rpc/protocol/tri/call/AbstractServerCall.java
51.97% <100.00%> (+0.29%)
:arrow_up:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-67.31%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
15.72% <0.00%> (-55.90%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
41.66% <0.00%> (-25.00%)
:arrow_down:

.../remoting/api/SingleProtocolConnectionManager.java
61.53% <0.00%> (-23.08%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

... and 58 more

Continue to review full report at Codecov.

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


Multi-architecture support?

I view this one of the best features in an OS kernel, as it allows reusing anything above the hardware abstracting layer on more than one architecture.
Is multi-architecture support something this project aims for?

Not really, or at least, not until far in the future. Given this is mostly about education, learning the details of multiple platforms is a distraction from the primary task, which is an overview of OSes as a whole, IMO.

My following point is true for the book and the code: intermixing x86(-64) hardware specifics with general OS concepts is more distracting than establishing a clear abstraction.
It is the reality that there is a lot of hardware out there, and there are even more related software specifications that are there to either be adopted or ignored :-D When designing and implementing an OS, the first question that will come up is of course which hardware you target (first). My understanding is that the whole point of an OS, as opposed to a firmware application, is to abstract the hardware bits for most software components so that they can be reused.


Carla encountered an error loading xodr file (missing spiral segment)

CARLA version:0.9.15
Platform/OS:windows
Problem you have experienced:
I generated an xodr file using https://odrviewer.io/ After loading, it can display normally, as shown in the figure below. However, when Carla loads, it crashes. It is speculated that this is due to an error in the road topology in the xodr file. I printed the road points and found that they were missing in the position of the spiral segment, as shown in the figure.May I ask if Carla's requirements for loading xodr are not completely consistent with the opendrive format, or if there are errors in my xodr file?
What you expected to happen:
The map successfully loaded through https://odrviewer.io/ can also be loaded correctly on Carla

<?xml version="1.0" encoding="utf-8"?> <OpenDRIVE>     <header date="2024-08-02 17:10:27.384713" east="0.0" name="myroad" north="0.0" revMajor="1" revMinor="5" south="0.0" west="0.0"/>     <road id="1" junction="-1" length="1486.035381584003" rule="RHT">         <link/>         <planView>             <geometry hdg="0" length="5" s="0" x="0" y="0">                 <line/>             </geometry>             <geometry hdg="0" length="180.0" s="5" x="5.0" y="0.0">                 <spiral curvEnd="0" curvStart="0"/>             </geometry>             <geometry hdg="0.0" length="380" s="185.0" x="185.0" y="0.0">                 <line/>             </geometry>             <geometry hdg="0.0" length="180.0" s="565.0" x="565.0" y="0.0">                 <spiral curvEnd="0" curvStart="0"/>             </geometry>             <geometry hdg="0.0" length="365" s="745.0" x="745.0" y="0.0">                 <line/>             </geometry>             <geometry hdg="0.0" length="180.0" s="1110.0" x="1110.0" y="0.0">                 <spiral curvEnd="0.003205128205128205" curvStart="0"/>             </geometry>             <geometry hdg="0.28846153846153844" length="196.0353815840031" s="1290.0" x="1288.507977796179" y="17.205094690461763">                 <arc curvature="0.003205128205128205"/>             </geometry>         </planView>         <elevationProfile/>         <lateralProfile/>         <lanes>             <laneSection s="0">                 <left>                     <lane id="1" level="false" type="driving">                         <link/>                         <width a="5" b="0" c="0" d="0" sOffset="0"/>                         <roadMark color="standard" height="0.02" sOffset="0" type="solid" weight="standard" width="0.2"/>                     </lane>                 </left>                 <center>                     <lane id="0" level="false" type="none">                         <roadMark color="standard" height="0.02" sOffset="0" type="solid" weight="standard" width="0.2"/>                     </lane>                 </center>                 <right>                     <lane id="-1" level="false" type="driving">                         <link/>                         <width a="5" b="0" c="0" d="0" sOffset="0"/>                         <roadMark color="standard" height="0.02" sOffset="0" type="solid" weight="standard" width="0.2"/>                     </lane>                 </right>             </laneSection>         </lanes>     </road> </OpenDRIVE>

Hi,
can you try changing
<spiral curvEnd="0" curvStart="0"/>

to
<line/>


Cannot use self signed certificate

For self signed certificate per https://github.com/reactphp/socket#connector added to config.php:
'options'  => [
	'tls' => [
		'verify_peer' => false,
		'verify_peer_name' => false,
	],
]

but still seeing:
wildphp.ERROR: An error occurred in the IRC connection: {"message":"Connection to <IP_ADDRESS>:6697 failed during TLS handshake: Unable to complete TLS handshake: SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed","file":"vendor\\react\\socket\\src\\SecureConnector.php","line":63} []

Sounds like the handoff of options from the configuration file to the connector isn't working as it should, although your error message would suggest the bot is catching an error from the socket library.
Just to be sure, are you using the tls:// scheme for your address? If I'm reading the documentation correctly these options only work on the tls:// and tcp:// schemes.

Using the following config:
'server' => '<IP_ADDRESS>',
'port' => 6697,
'secure' => true,

Tried with 'server' => 'tls://<IP_ADDRESS>', it's the same.


[Bug] For netstandard2.1 skus, the HttpMethod.Patch method should be supported

[Bug] For netstandard2.1 skus, the HttpMethod.Patch method should be supported

Reopening for the release notes

in 1.0.6-preview


matrix inversion: improve memory usage & runtime

use associativity of matrix operations to reduce size of temporary matrices and number of multiplications in the M <= N case
minimize the number of temporary matrices required

In particular this reduces stack usage for the PX4 control allocator module by 1.3KB (1.2KB for 1. commit, ~150B for 2. commit).
Runtime:

master (Os)
this PR (Os)
this PR (O2)
this PR (O3)

F4
0.45ms
0.3ms
0.3ms
0.12ms (+7KB flash size)

F7

0.12ms

0.07ms

CI is broken (travis-ci free shutdown).


Use bang methods for create/update/destroy

Changes .save to .save!
Changes .destroy to .destroy!
Changes .update_attributes to .update_attributes!
Changes .create to .create!
Handles some tests

I strongly prefer that we add if  else  for this kind of thing; using bang methods means that if it fails the user will see an Unhandled Error page rather than a useful error message, which isn't ideal. We should always prefer handling errors where we can.


key has change, never revalidate

Bug report
Description / Observed Behavior
version: 1.0.1,  key has change, never revalidate
Repro Steps / Code Example
CodeSandbox
Context
https://github.com/vercel/swr/pull/1430#issuecomment-928890102

I think this should be the correct behavior of revalidateOnMount: false. When the key changes, it should not automatically revalidate if revalidateOnMount is manually disabled.

@shuding I had a similar issue I want to only revalidate if the key changes but otherwise never revalidate. What combination of options should I use?

@shuding I had a similar issue I want to only revalidate if the key changes but otherwise never revalidate. What combination of options should I use?

I have the same problem, I don't want revalidateOnMount but I need revalidateOnKeyChange.
Can you add the new config revalidateOnKeyChange?

Reopened the issue since the following should be the correct behavior. When the key changes, useSWRImmutable should definitely refetch.

More clear, I want using useSWRImmutable and can revalidateOnKeyChange to be true

Is this still an active bug?

here is the reproduce
You can switch key by click each button, and see the revalidate log.
It won't revalidate if key already fetched, so I want a config like revalidateOnKeyChange


Delete google-services.json

Uploading google-services.json will allow others to access your firebase account along with the Firebase Bucket. This is because google-services.json has some secret information like Bucket Public URL using which anyone can use it and further change the rules of your firebase.

Hi @AbhishekDoshi26

For starters, simply removing the file in a commit doesn't remove it from the git repository, someone can clone the repo, go back to a previous commit, and would be able to get the file again. Read this if you wanna know how to remove a file completely from a git repository.
The google-services.json file is not really a secret, it's easily extractable from an APK, and it can be used against If the rules haven't been set properly. Currently, only the Read permission is public, and Write permission is disabled for everyone, so no one can misuse this file. Read this.


docs: Converted divs to labels in form

@wardbell converted the form headings to use labels for consistency based on suggestion from @marcysutton
Let me know if this is correct.

Yay! :tada:

@Foxandxss Good catch on the missing quotes. I have updated. Thanks!
About the []. I thought that we only need the []'s if we want change tracking on the property? In this case I wanted it to be a more like "one-time" bind since it's a unique id that will never change. It just needs to be set once. Am I wrong here?

Yes, [attr.foo]="expr" is the same as attr.foo="{{expr}}". Interpolations are also just a shorthand syntax for property binding.

Interpolations are also just a shorthand syntax for property binding.

Except only for string values, right ?

Yes @gkalpak. And you SHOULD use the no-brackets form if the value never changes during the lifetime of the component/directive.
If that's the case here (and I think it is), I'd prefer:
{{question.label}}
...
<select id="{{question.key}}" *ngSwitchWhen="'dropdown'"

If I am not mistaken (and that is how we have it documented) there is no difference on:
[foo]="bar"
foo="{{bar}}"

And technically Angular compiler will convert the second line into the first one.
We should make a convention on what to use for the entire documentation.

I believe you ARE mistaken. The critical difference is that Angular will continue to watch bar for future changes in the first case. It will NOT do so in the second; that will be a first-time binding only.
Also, you don't need the ("). This is fine: foo={{bar}}

Then we need to fix our doc.

Yes. I was just looking at Template Syntax. I thought I updated it for this case but evidently not. Put it on my todo list ;-)

I am playing here: http://plnkr.co/edit/XwONaKDlpSCeqBR9AJDb?p=preview
In both cases, it gets updated, also without quotes it fails. Am I doing something wrong?

AAARGH!  I was wrong.  The use of interpolation at all means that A2 continues to update the value ... something I just tested.  So the special first-time-only case works only if set with an object literal.
In the following example, <selector> is a component with its own id input property. The attr.for setting is for demo purposes to prove a point; you'd actually just write for="foo".
{{question.label}}
...
<selector id="foo" ...

Hm.. That caught my by surprise. I thought the no []'s version would not do any change tracking and behave like the :: one time in Angular 1.
How would you do one-time in A2 now? To me the no [] seems like the perfect syntax for one-time :-)

I agree. Now we have to be careful again. At least the change detection cycle doesn't spin over and over as in A1.  To be honest, first-time binding never made that much of a difference in any test known to me. It made us feel good though :-)

Please fix to consistent syntax. I personally like this:
{{question.label}}
...
<select id={{question.key}} *ngSwitchWhen="'dropdown'"

But the following is acceptable too:
{{question.label}}
...
<select [id]="question.key" *ngSwitchWhen="'dropdown'"

But, please, not a mix of property binding and interpolation
Unrelated: how is the new image different from the first? I couldn't see it ;-)

I just pushed an update to switch to use [] for all of them.
Did someone at some point say that one of the reasons for the [] syntax is that it makes it easier to make tooling around the bindings? If that's the case then maybe we should opt to use [] everywhere? Given that there is no behavioral difference between the different formats.
The image does not look very different, but I figured it made sense to just regenerate it since I switched to label tags :-)

I haven't heard that [] is easier to tool than {{}}. I don't understand why that would be so. Handlebars/mustaches are tooled by Visual Studio just fine.

first-time binding never made that much of a difference in any test known to me

Faulty tests ?


request supporting let pattern = expr else { stats }; syntax

Thanks for reaching out. You can subscribe to https://github.com/rust-lang/rustfmt/pull/5690 for updates on let-else formatting.


Lab111 - Label standard - Large #814

Create Label Large with standard icon and ingressTitle content

Look good! :+1:


Permutation.pretty_out should output trailing whitespace on each line.

The return value should correspond to a length-n array of length-width*n strings.

While you're there, an exception should be raised if a width is provided but it is too small.

This was addressed in https://github.com/cheyneh/permpy/pull/39.


Automatically correct metadata

This pull request adds additional functionality when corrections are enabled. Instead of relying only on the manually vetted list in npm-license-corrections, licensee also applies correct-license-metadata, which in turn applies some reliable rules to correct old-style licenses arrays and other common, but unambiguous, invalid metadata.
correct-license-metadata is very conservative. I don't foresee much additional risk in using its automatic corrections.

@watilde, don't apologize! I moved very quickly. Got some other positive reactions.

@watilde, don't apologize! I moved very quickly. Got some other positive reactions.


add config section, misc

added a config section.  also made some minor wording edits.
noticed some control-m s in the diff.  not sure where those are coming from ... don't seem to affect the html generation.

Custom Configuration looks good.

PR merged; closing


Add support for disabling authorization without removing the [FunctionAuthorize] attribute

In order to disable authentication & authorization easily for local development, as well as production when needed with just a simple configuration(appsetting) change, so that no code change + redeployment is required. Please help research a way to allow disabling authorization without removing the [FunctionAuthorize] attribute, or if we can add that attribute dynamically at runtime.
Original discussion: https://github.com/dark-loop/functions-authorize/issues/19#issuecomment-1908990656
Thanks!

What kind of scenarios are we trying to support in production? I'm a little concerned that a simple configuration that can be leaked into production may affect applications desired behavior.
My idea was to mix configuration plus code like in ASP.NET env.IsDevelopment() can ensure the conditions are right to disable auth.

@artmasa The scenario would be when someone messed up with the role/scope settings and caused a lot of authorization failures, or the authorization server is down or overwhelming, or the auth implementation prod go-live does not work out as expected, or other cases when we need to disable the authorization check temporarily, there should be an option to turn it off easily with a configuration change.
Even with env.IsDevelopment() check, it is still not possible to add or remove the [FunctionAuthorize] attribute at runtime, unless the package itself exposes certain property or method for it.

@BenjaminWang1031, I have created #22 for this suggestion

Hi @BenjaminWang1031, I have created a preview for 3.1.3: https://www.nuget.org/packages/DarkLoop.Azure.Functions.Authorize/3.1.3-preview-240211-5
I have validated on my side the expected behavior, any chance you can take a look on your side. Based on feedback I'm looking into promoting to release in the next days

Thanks for releasing the preview! @artmasa
It worked as expected, I was able to disable the authorization at the app level without removing the [FunctionAuthorize] attribute!

Awesome! Thanks for the feedback @BenjaminWang1031
I will be promoting to release later today or tomorrow

I will go ahead and close this issue as the implementation is contained in 3.1.3 release package


Slate does not seem to be operational

I am trying to use pantheon per the README although Slate does not seem to be functional.  I created an account on it but everything I attempt to upload results in unexplained errors.  And there is no readily apparent way to contact them.
Should I expect their functionality to work and, if so, what should I do to move forward?  No worries if you/Pantheon and/or Slate are not being actively supported.  However, if they are, I would love to figure out how to use them.

Hello, you are right, Slate is no longer being supported. We are searching for an alternative, but it may take a while.

Right on.  Thanks for the timely response.
FYI - I've kicked the tires on Fleek (https://fleek.co/) a little and it
seems to do the sort of thing that Slate was attempting.  Emphasis on "a
little."  Also, I am not really sure what all is needed nor would I call
myself an expert by any means.  So that is strictly FYI and should not be
taken as a recommendation.
Best of luck with the continued development.
On Sun, Feb 19, 2023 at 3:13 PM litlep-nibbyt @.***>
wrote:

Hello, you are right, Slate is no longer being supported. We are searching
for an alternative, but it may take a while.
—
Reply to this email directly, view it on GitHub
https://github.com/sidnym-ladrut/pantheon/issues/2#issuecomment-1436095367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6SQHF5KTHRYBZ2HATHYMDWYKEG5ANCNFSM6AAAAAAVBFFAPM
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix(website/linter): better md rendering for primitive arrays

#6604
#6603
#6602  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on  Graphite


Adding DHT11 submodule

Adding the Python DHT11 library as a submodule and adding a dependency on
RPi.GPIO since DHT11 needs it.

Coverage remained the same at 90.909% when pulling 6bedc3c113ccaed80858f681a312d8403ca4f9c0 on mtlynch:dht11 into 42e01309c5f2c946be3621ececc0bd8da4297231 on JeetShetty:master.

Whoops, hang on, this is wrong


Finish converting to template strings in app.js

Travis tests have failed
Hey Austin Couturier,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

Travis tests have failed
Hey Austin Couturier,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

Travis tests have failed
Hey Austin Couturier,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

npm test

><EMAIL_ADDRESS>test /home/travis/build/Zarel/Pokemon-Showdown
> eslint --cache . && tsc && mocha

/home/travis/build/Zarel/Pokemon-Showdown/test/application/team-validator.js
  124:56  error  Missing trailing comma  comma-dangle

✖ 1 problem (1 error, 0 warnings)
  1 error, 0 warnings potentially fixable with the `--fix` option.

npm ERR! Test failed.  See above for more details.

:|
app.js is intentionally designed not to use modern JavaScript features, so it won't crash old versions of Node.js, so it can successfully print the "You need to upgrade your Node version" message.


Define the work plan with the team

In a face-to-face meeting, the team decided to use Github as a means of sharing project-related files and Github projects as a task scheduler.


QuickCarpet Edition

https://www.curseforge.com/minecraft/mc-mods/quickcarpet

Do you realize how much work that's going to be?

Pfffff who am I to complain I fix bugs.
Ask and you shall receive: quickcarpet-fixes


<EMAIL_ADDRESS>decompress error

Hello,
I tried to install GIMP with scoop, but Windows Defender flags one of its files as Serious trojan.

It also lists a lot of other files as Moderate threat. Here are all the files: (3 screenshots)

I simply typed : scoop install gimp, so I think you could be able to reproduce that error.
I am running Windows 10 build 18363 with everything updated (including Windows Defender).
When I install GIMP with the official installer, I don't get any error from Windows Defender.

duplicate of #3873


empty_label not displayed for ModelSelect2MultipleWidget

Describe the bug
Hi @codingjoe
I assume it is something related to this issue.
empty_label is not displays for the ModelSelect2MultipleWidget on page loads, but if I select one of options and then clear selection it gonna showed.
Code Snippet
field_name = forms.ModelChoiceField(
        required=False,
        blank=True,
        queryset=Organisation.objects.all(),
        widget=OrganisationsPickWidget(
            attrs={
                'class': 'form-control',
                'data-minimum-input-length': 0,
            },
        ),
    )

def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.fields['field_name'].empty_label = 'empty_label text'

Screenshots
Open.

Select.

Cleared selection

Thanks in advance.

Hi @rez0n,
Interesting. Yes, I believe you are right, that doesn't work right now. Select2 doesn't really support empty options, since it'll be simply empty. However, you could use the placeholder, right? I actually don't know how Django handles the empty label on a native multiple select.
@rez0n, as a frequent contributor and sponsor, do you want to contribute this yourself? Or do you want me to take a swing?
Cheers,
Joe


/etc/default/docker file is missing in SLES12

Description
I just downloaded docker 1.12.1 build and wondering where to find the config file for docker.

Steps to reproduce the issue:

Download docker 1.12.1 build
wget https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.1.tgz
Extract it using 'tar -zxvf docker-1.12.1.tgz'
Copy all binaries(docker, docker-containerd, docker-containerd-ctr, docker-containerd-shim, docker-proxy, docker-runc, dockerd) from ./docker/ directory to /usr/bin/ and /usr/local/bin
Start docker daemon by 'dockerd' command or 'docker daemon' command

Describe the results you received:

Docker engine started successfully

Describe the results you expected:

I'm just wondering which config file the daemon used to start
I don't have any option to define 'DOCKER_OPTS' in this scenario

Additional information you deem important (e.g. issue happens only occasionally):
I'm using SLES12 VM.
Output of docker version:
Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 17:32:24 2016
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 17:32:24 2016
 OS/Arch:      linux/amd64
 Experimental: true

Output of docker info:
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 24
Server Version: 1.12.1
Storage Driver: vfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: active
 NodeID: 0qudwynvpvzmxbrbfeskwp59a
 Is Manager: true
 ClusterID: 1rjr5qgmgypzqzwoeunl2nlt6
 Managers: 1
 Nodes: 3
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 3.12.28-4-default
Operating System: SUSE Linux Enterprise Server 12
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.763 GiB
Name: diego-master
ID: KOIF:WXD2:BRTI:TNCL:JSXW:BPBY:N6ML:F7MS:NCCQ:2ANH:RHZG:Y736
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: saravana9210
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
WARNING: No kernel memory limit support
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):

/etc/default/docker is specific to Upstart, which was reading this file in.
The tarball does not include init scripts or anything like that, only distro packages do.
The best way to configure the daemon is to use /etc/docker/daemon.json, which is documented here: https://docs.docker.com/engine/reference/commandline/dockerd/#/linux-configuration-file
Closing since this is not really an issue.

Hi Brian,
Thank you for your information!
But, I could not fond /etc/docker/daemon.json either. There is only one file 'key.json' under /etc/docker/ directory. I'm still wondering which config file docker daemon uses to start. If I'm creating this file (daemon.json) manually, how should I instruct the docker daemon to make use of it. Please guide me to a appropriate link if possible.
Thanks in advance !

@Saravana9210 Just read the docs and make the file.
Docker does not provide a default configuration in there (nor could it with the tarball you).

Thanks Brian, got it :)


Bug while merging updates from server.

Current Behavior
Node-RED creates empty flows while merging updates from server.
Expected Behavior
Node-RED does not create empty flows
Steps To Reproduce

Open 2 Node-REDs.

Make changes in one of them and deploy.
2.1

2.2

Open another Node-RED tab and pay attention to "Update" alert.
3.1

3.2

Click "Review changes" and than "Merge"
Node-RED creates an empty flow (only visual)

If we click on another flow and turn back code will create a duplicate (only visual)

Example flow
paste your flow here

--
Environment

Node-RED version: 2.1.4
Node.js version: latest
npm version: latest
Platform/OS: MasOS
Browser: Chrome

Can you check the browser's JavaScript console for any errors?

Can you check the browser's JavaScript console for any errors?

No, nothing there

related to #3364

Closing in favour of #3364 - please track this issue there.


[Doc Improvement][Note added for mute and unmute API]

Docs Build status updates of commit dc8ca54:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit dc8ca54:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 0b99394:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 5889ddc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit e0c8c94:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit a87767c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 7582ee3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 2c38344:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
29
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 4fca7a3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
29
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit bf81cf2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
92
29
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit f11d051:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


refactor: use client.options internally to avoid copying

Removes use of client.Options() from the internal code to avoid copying the options object.
#skip-changelog

Let me get you merge access, brb 🙂


update kinostate to new anvil 2.0 format

We might want to do some sort of print in the case when this errors with an older anvil binary
this is the error of the old kinostate.json with anvil 2.0
error: invalid value 'kinostate.json' for '--load-state <PATH>': failed to parse json file: "kinostate.json": missing field `transaction` at line 1 column 72718

I agree -- but we can also help users to have the right version of foundry: #172


Update documentation: specify change directory into repo as prerequisite

Issue
The existing documentation does not specific that they user must change directories into the repository directory after cloning to local machine.
Solution
Add a step telling the user to navigate into repo
# please note: you will need to specify the parent directory
# be sure to change the path below
cd example/parent/directory/guidance-for-carbon-data-lake-on-aws

Checking in to work on this issue.

Confirming issue closed. Updates to README are complete.


fix: scope a Safari-specific workaround

Cherry-pick https://github.com/vaadin/vaadin-text-field/pull/568

@web-padawan
Seems that the workaround is still needed for the P2-codebase version. The tests were failing on:

P2: Safari Desktop & iOS 12 simulator
P3 (transpiled): iOS 12 simulator

Neither affects the next-gen version so it should be fine to only have the workaround in the P2 -codebase version.

@tomivirkki good to know, thanks. I think it's ok to keep the workarounds only for 2.x

Seems that we might need to scope this in 3.x also :/ https://github.com/vaadin/vaadin-text-field/runs/1869591236


Variable level metadata: create csv frictionless schema; syncing functionality

This PR

introduces the frictionless schema used for validation of the csv template (located in variable-level-metadata-schemas/frictionless/csvtemplate/fields.json).
Additionally, it initiates a script called build.py for automated updates and syncing between csv schema and the json schema.
The json schemas are now under the directory "jsonschemas."
These additional features (and a few other items) have been added to the variable-level-metadata-schemas/README.md in addition to how to contribute to VLMD schemas.

#15 - Added modules to schemas in this PR as well


docker build gdown errors

Describe the bug
gdown failed downloading
To Reproduce
docker build -t esmfold:test .

Expected behavior
 => ERROR [18/21] RUN mkdir -p /home/vscode/.cache/torch/hub/checkpoints &&     gdown https://drive.google.com/uc?id=1lW8CVTSzX8bwLxbM8lAu_  0.9s
------
 > [18/21] RUN mkdir -p /home/vscode/.cache/torch/hub/checkpoints &&     gdown https://drive.google.com/uc?id=1lW8CVTSzX8bwLxbM8lAu_qXQkrPZuSxA -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D-contact-regression.pt &&     gdown https://drive.google.com/uc?id=1CHTS2cB8HrgayylwVB8tsrLKcpTqKFLx -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D.pt &&     gdown https://drive.google.com/uc?id=1CQZdYpXI1pb55ro8hCEP37pMsG2_Dbul -O /home/vscode/.cache/torch/hub/checkpoints/esmfold_3B_v1.pt:
0.821 Traceback (most recent call last):
0.821   File "/home/vscode/.local/bin/gdown", line 8, in <module>
0.821     sys.exit(main())
0.821   File "/home/vscode/.local/lib/python3.10/site-packages/gdown/cli.py", line 156, in main
0.822     filename = download(
0.822   File "/home/vscode/.local/lib/python3.10/site-packages/gdown/download.py", line 259, in download
0.822     filename_from_url = m.groups()[0]
0.822 AttributeError: 'NoneType' object has no attribute 'groups'
------
Dockerfile:81
--------------------
  80 |     # use gdown to download above files from google drive
  81 | >>> RUN mkdir -p /home/vscode/.cache/torch/hub/checkpoints && \
  82 | >>>     gdown https://drive.google.com/uc?id=1lW8CVTSzX8bwLxbM8lAu_qXQkrPZuSxA -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D-contact-regression.pt && \
  83 | >>>     gdown https://drive.google.com/uc?id=1CHTS2cB8HrgayylwVB8tsrLKcpTqKFLx -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D.pt && \
  84 | >>>     gdown https://drive.google.com/uc?id=1CQZdYpXI1pb55ro8hCEP37pMsG2_Dbul -O /home/vscode/.cache/torch/hub/checkpoints/esmfold_3B_v1.pt
  85 |
--------------------
ERROR: failed to solve: process "/bin/sh -c mkdir -p /home/vscode/.cache/torch/hub/checkpoints &&     gdown https://drive.google.com/uc?id=1lW8CVTSzX8bwLxbM8lAu_qXQkrPZuSxA -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D-contact-regression.pt &&     gdown https://drive.google.com/uc?id=1CHTS2cB8HrgayylwVB8tsrLKcpTqKFLx -O /home/vscode/.cache/torch/hub/checkpoints/esm2_t36_3B_UR50D.pt &&     gdown https://drive.google.com/uc?id=1CQZdYpXI1pb55ro8hCEP37pMsG2_Dbul -O /home/vscode/.cache/torch/hub/checkpoints/esmfold_3B_v1.pt" did not complete successfully: exit code: 1

Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Version: 22.04

Installing the latest version of gdown (v5.0.1) solved this issue.


Livestream icons aren't shown

All these people in the screenshot are streaming but in none of them the live icon appears, I don't know if this was intended or not.

fixed 👍


Support full range of Unicode characters for identifiers specified in Python language reference

Python v3 supports a wide variety of Unicode character classes in identifiers. The grammar definition should support the same sets as specified.

I think @maxbrunsfeld filed an issue about making it easier to refer to specific classes of Unicode characters, though I can’t find it now. That would probably be the more holistic way of doing things. We also need this for tree-sitter-go, which went all wobbly when presented with an EXTENDED ARABIC-INDIC DIGIT ZERO in an identifier.

Thanks @patrickt. It looks like this is the issue you're referencing? https://github.com/tree-sitter/tree-sitter/issues/95

Yeah, that’s it!