Restriction of injection grammars for specific filename

I can not find a way to restrict injected syntax highlighting to specific files like foo.json.
In my use case I want extend syntax highlighting in dictionary string values of specific JSON files with a fixed file name. The syntax highlighting works fine but it is also enabled in other JSON files I do not want them to be enabled. Is there a way to restrict injected syntax highlighting to a specific file name or do I have to create a language server?

Currently there is no easy way
Either create a language server and use semantic highlighting (which won't have bracket highlighting support)
or
create a new languageId; allowing you to define "filenamePatterns"
Include source.json and then you can inject into your languageId

Thanks for the quick response!
I try to stick with the json languageId because I want to keep other nice features like json schema support. I suppose it is only enabled for the json languageId.
So it sounds like I have to go the language server route, which I thought I could try to avoid.
Is there any chance that restriction of injected grammars for specific filename could be considered as a new feature?

I am trying to get this through https://github.com/microsoft/vscode/pull/198583 to enable schema support etc for other json languageId's

Using semantic highlighting sounds like the best approach to me.

Closing the issue. No plans to make injections per file name.


URL change Reaper Scans FR

Source information
Reaper Scans Français 1.4.36
Source language
French
Source new URL
https://reaper-scans.fr/
Other details
Hi,
Its change from https://reaperscans.fr/ to https://reaper-scans.fr/
Thank for your work !!
Acknowledgements

[X] I have updated all installed extensions.
[ ] I have opened WebView and checked that the source URL has not changed yet.
[x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[x] I will fill out all of the requested information in this form.

And they use Keyoapp now


requirement, pypi: Add a --require-hashes flag

Closes #172

This needs cleanup + testing but I wanted to engage early on this one since the intended behaviour isn't straightforward.
@di You mentioned that the --require-hashes flag should skip dependency resolution. Did you mean that we shouldn't resolve dependencies for each requirement and instead, only audit what is explicitly listed in the requirements file?
I was also wondering how hashes should work when the --require-hashes flag isn't supplied. My thinking is that when the --require-hashes flag is supplied, every requirement in the file needs to have a hash. But if it isn't supplied, we should still check any hashes that we find against PyPI.

You mentioned that the --require-hashes flag should skip dependency resolution. Did you mean that we shouldn't resolve transitive dependencies for each requirement and instead, only audit what is explicitly listed in the requirements file?
I was also wondering how hashes should work when the --require-hashes flag isn't supplied. My thinking is that when the --require-hashes flag is supplied, every requirement in the file needs to have a hash AND we check them against PyPI. But if the flag isn't supplied, we should still check any hashes that we find against PyPI and fail if it doesn't match.

This is an indirect answer to both: we can skip dependency resolution entirely, since pip stipulates the following:

If any dependency has a content hash, then all dependencies have content hashes
(Transitively) All dependencies must be explicitly listed in the requirements file if hashing is enabled

In other words: our requirements parser in pip-api should preserve those properties: we should raise an error if we're given a requirements file with dependencies that are missing hashes, and we should not do dependency resolution because only the present hashed dependencies should be considered.
(Looking at things more, I'm not actually sure that we need the --require-hashes flag -- pip stipulates that passing it is identical to any requirement having hashes attached to it. But I guess we should preserve it as a no-op, since that's what pip seems to do?

In other words: our requirements parser in pip-api should preserve those properties: we should raise an error if we're given a requirements file with dependencies that are missing hashes, and we should not do dependency resolution because only the present hashed dependencies should be considered.

Ah! Right, I misunderstood how that works. Thanks for explaining.

(Looking at things more, I'm not actually sure that we need the --require-hashes flag -- pip stipulates that passing it is identical to any requirement having hashes attached to it. But I guess we should preserve it as a no-op, since that's what pip seems to do?

I think it's still important because your file may not have ANY hashes in it. If you pass in --require-hashes, it will complain whereas it otherwise would succeed.

I think it's still important because your file may not have ANY hashes in it. If you pass in --require-hashes, it will complain whereas it otherwise would succeed.

Ah! You're absolutely right. Yes, we need it for that case.

@di You mentioned that the --require-hashes flag should skip dependency resolution. Did you mean that we shouldn't resolve transitive dependencies for each requirement and instead, only audit what is explicitly listed in the requirements file?

Thinking about this more, I think we still need to do dependency resolution, and ensure that we have hashes for all subdependencies, because this is what pip does as well:
$ cat req.txt
sampleproject==2.0.0 \
    --hash=sha256:2b0c55537193b792098977fdb62f0acbaeb2c3cfc56d0e24ccab775201462e04 \
    --hash=sha256:d99de34ffae5515db43916ec47380d3c603e9dead526f96581b48c070cc816d3

$ python -m pip install -r req.txt
Collecting sampleproject==2.0.0 (from -r req.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/b8/f7/dd9223b39f683690c30f759c876df0944815e47b588cb517e4b9e652bcf7/sampleproject-2.0.0-py3-none-any.whl
Collecting peppercorn (from sampleproject==2.0.0->-r req.txt (line 1))
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    peppercorn from https://files.pythonhosted.org/packages/14/84/d8d9c3f17bda2b6f49406982546d6f6bc0fa188a43d4e3ba9169a457ee04/peppercorn-0.6-py3-none-any.whl#sha256=46125cad688a9cf3b08e463bcb797891ee73ece93602a8ea6f14e40d1042d454 (from sampleproject==2.0.0->-r req.txt (line 1))

I think it's still important because your file may not have ANY hashes in it. If you pass in --require-hashes, it will complain whereas it otherwise would succeed.

Agreed!

Thinking about this more, I think we still need to do dependency resolution, and ensure that we have hashes for all subdependencies, because this is what pip does as well:

Can we leave that validation to pip and not attempt to do that validation ourselves? I imagine that's going to introduce a significant chunk of code reinventing what pip does which will have to be removed during integration, since pip already contains this logic.

Can we leave that validation to pip and not attempt to do it ourselves? I imagine that's going to introduce a significant chunk of code reinventing what pip does which will have to be removed during integration, since pip already contains this logic.

I'm inclined to agree with this, although it does deviate our handling of --require-hashes from that of pip (our --require-hashes is more like --no-deps --require-hashes). My reasoning is that pip-audit isn't in the business of telling the user whether pip install ... would succeed, and that the overwhelming majority of hashed requirements files should be valid already (since, if they're like Warehouse's, they're checked in after successful local and CI usage).
Thoughts @di?

I suppose the pip install with an incompletely hashed requirements file, or a hashed requirements file that's missing dependencies, would fail to install anyways, so the user would be protected regardless.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1050 ms

Resolved: Bofrost.at performance has improved in e67747b.


Hints and error messages don't always describe form fields

We've noticed the address macro isn't linking up field hints and error messages correctly.
For guidance, see the aria-describedby attribute on this input
https://design-system.service.gov.uk/components/error-message/label/index.html
In CASA
The inputs are not described by the error message and hint
In the Design System
The inputs are described by the error message and hint
For radios/checkboxes we're half way there, but both the hint and the error message should describe the wrapping fieldset as shown here: http://govuk-frontend-review.herokuapp.com/components/radios/with-all-fieldset-attributes/preview

Thanks

Thanks Colin. The casaPostalAddressObject() macro and accompanying dateObject validator has recently changed to highlight the individual input field errors, rather than one encompassing the whole group. Would you mind testing these changes and confirming whether it resolves the above? Thanks

Thanks, I spotted this yesterday when rebasing our fork. It's much better!
More testing next week 🎉

Closing this, thank you for all the fixes


Documentation unclear about vSphere resources

Could someone please clear up what the documentation means by "The main differences are that you must have a new cluster name and cannot use the same vSphere resources.", what specifically is it referring to when it says "vSphere resources", this is for when creating a management cluster and workload clusters managed by the other cluster.
Thanks!

Good suggestion! Agree the "vSphere resources" are confusing. Updated the doc to be more explicit.

Thanks, just to clarify, the same resourcePool is ok ?

resourcePool

Yes, management and workload clusters can use the same resourcePool.


Hello, do you support license plate recognition in Singapore?

This library is just a wrapper around OpenAlpr. It will recognise plates of the country specified in config file. If there is a a config file for your country you need to search at https://github.com/openalpr/openalpr

thank you

country
Specifies which OpenALPR config file to load, corresponding to the country whose plates you wish to recognize. Currently supported values are:
au
br
eu
fr
gb
kr
mx
sg
us
vn2

Hello, I see your document about supporting Singapore (SG). It seems that I can't use it. I can't support the license plate of this country. The identification interface is filled with "SG". I don't know why? Is it not supported, or am I using the wrong method?

The way I understand it is following. OpenAlpr train their model on on different country licence plate. As a result they got different models/parameters. Those are specified in
https://github.com/RobertSasak/react-native-openalpr/blob/master/example/android/app/src/main/assets/runtime_data/openalpr.conf
I guess if you would add a new section into this file SG you could change country to SG and recognise SG plates.

I see. Do you have the model parameters of Singapore? Is it the parameter used in openalpr.conf? I'm an Android Developer and I don't understand algorithms. Or do you have a demo that can run license plate recognition in Singapore?
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if(resultCode == RESULT_OK) {
        String openAlprConfFile = ANDROID_DATA_DIR + File.separatorChar +
                RUNTIME_DATA_DIR_ASSET + File.separatorChar +OPENALPR_CONF_FILE;
        handleBigCameraPhoto();
        String parameters[] = {/*"ca"*//*"us"*/"SG", "", this.mCurrentPhotoPath, openAlprConfFile, "1"};
        Bundle args = new Bundle();
        args.putStringArray(ALPR_ARGS, parameters);
        AlprFragment alprFragment = (AlprFragment)getFragmentManager()
                .findFragmentByTag(ALPR_FRAGMENT_TAG);

        if(alprFragment == null){
            alprFragment = new AlprFragment();
            alprFragment.setArguments(args);

            FragmentTransaction transaction = getFragmentManager().beginTransaction();
            transaction.add(alprFragment, ALPR_FRAGMENT_TAG);
            transaction.commitAllowingStateLoss();
        }
    }
}

I have tried to give "SG"  national parameters, and found that they can't

I am not sure what above code means. I think you want to start with standalone OpenAlpr make it work with SG plates. And then try this wrapper.
Yes, you need to add section SG into openalpr.conf

thank you
<EMAIL_ADDRESS>From: Robert Sasak
Date: 2020-04-14 16:29
To: RobertSasak/react-native-openalpr
CC: Dreamskya; Author
Subject: Re: [RobertSasak/react-native-openalpr] Hello, do you support license plate recognition in Singapore? (#90)
I am not sure what above code means. I think you want to start with standalone OpenAlpr make it work with SG plates. And then try this wrapper.
Yes, you need to add section SG into openalpr.conf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


404 on Line Protocol Link

URL for relevant page?
https://docs.influxdata.com/influxdb/v1.0/write_protocols/line/
From this page:
https://docs.influxdata.com/influxdb/v1.0/tools/shell/#import-data-from-a-file-with-import
What products and version are you using?
Where did you look before opening the issue?

Even from glossary page : https://docs.influxdata.com/influxdb/v1.0/concepts/glossary/#line-protocol

Thank you, @azilber and @mvadu. All links to the line protocol pages were fixed in  https://github.com/influxdata/docs.influxdata.com/pull/720.


Will be thankthul for 0.14.8 update

I don't see a tagged release for that version: https://github.com/angular-ui/ui-sortable/tags

Why sortable?
I was asking about ui-select: https://github.com/angular-ui/ui-select/tags
On 21 February 2016 at 17:45, James Ward<EMAIL_ADDRESS>wrote:

I don't see a tagged release for that version:
https://github.com/angular-ui/ui-sortable/tags
—
Reply to this email directly or view it on GitHub
https://github.com/webjars/angular-ui-select/issues/13#issuecomment-186855891
.

--
Your sincerely,
Edgaras
+3144499157

Whoops.  My bad.  I tab-completed into the wrong WebJar directory.

Np. Thank you for responce :)
On 21 February 2016 at 18:04, James Ward<EMAIL_ADDRESS>wrote:

Whoops. My bad. I tab-completed into the wrong WebJar directory.
—
Reply to this email directly or view it on GitHub
https://github.com/webjars/angular-ui-select/issues/13#issuecomment-186859895
.

--
Your sincerely,
Edgaras
+3144499157


Primitive conversions

Resolves #22
Branched from #88 so it has a few extra commits.
TODO: missing documentation

Coverage decreased (-0.28%) to 99.72% when pulling 6cb07cca46f0f8057d147b44024ef69b376cfdf8 on dnephin:primitive_conversions into e57b344272766e49dcb89c66fe5e1a878733fa50 on striglia:master.

Coverage decreased (-0.28%) to 99.72% when pulling 6cb07cca46f0f8057d147b44024ef69b376cfdf8 on dnephin:primitive_conversions into e57b344272766e49dcb89c66fe5e1a878733fa50 on striglia:master.

Coverage decreased (-0.28%) to 99.72% when pulling ed3dcc1c01336edf413c55374e5f2faf6f2da83c on dnephin:primitive_conversions into e57b344272766e49dcb89c66fe5e1a878733fa50 on striglia:master.

Coverage decreased (-0.28%) to 99.72% when pulling fdc7f8e513b2dca4cc316a6d46e142ca2b96da93 on dnephin:primitive_conversions into e57b344272766e49dcb89c66fe5e1a878733fa50 on striglia:master.

Coverage decreased (-0.28%) to 99.72% when pulling 79e2fbaeff83abeab2c9536dda1070f855742420 on dnephin:primitive_conversions into a7ea69aca628dee5b1cfc632019592afb2d3b5fc on striglia:master.

Let's hash out what we want to do about the body validation special case and otherwise this looks great :) Think it's solid enough to document and changelog? I've been tossing around the idea of tagging a RC for 1.5 as we're including several significant features. If we did that, I'd be willing to tag it as soon as we get through this round of major features.

Added some more docstring and comment, and added a section to quickstart.rst.

Coverage decreased (-0.28%) to 99.72% when pulling 6b983af3b0d4a332789cade66e26d8cdda3ef301 on dnephin:primitive_conversions into a7ea69aca628dee5b1cfc632019592afb2d3b5fc on striglia:master.

Coverage decreased (-0.28%) to 99.72% when pulling 6b983af3b0d4a332789cade66e26d8cdda3ef301 on dnephin:primitive_conversions into a7ea69aca628dee5b1cfc632019592afb2d3b5fc on striglia:master.


[BUG] Configuring GDS breaks new host spillable buffers and batches

As it is, https://github.com/NVIDIA/spark-rapids/issues/8882 has added a scenario that breaks when GDS is configured. Currently GDS is disabled by default and we are not aware of anyone using it, but I am filing this to document that GDS will break in 23.10 unless we make some changes.
The least amount of change would be to have two "paths" for spilling buffers. Buffers/batches added to the device store could go to GDS, but if GDS is enabled a RapidsHostMemoryStore and a RapidsDiskStore would also be enabled and it would be available for host buffers and host batches. These "host originated" RapidsBuffer instances would only be able to go between host and disk, whereas the "device originated" RapidsBuffer instances would be allowed to go from RapidsDeviceMemoryStore to RapidsGDSStore, bypassing host memory/disk stores.

Removing GDS support in the plugin is the next step.


Api based sdk

Why are we adding this to the SDK repo?

There is a separate branch in cord.js named api_based_sdk, was working on this so did a git rebase


DOC-5260 add auth-session to cluster api ref

Addresses: DOC-5260

Adds mention of newly-doc'd auth-session CLI to the Cluster API reference landing page for versions v21.1 - v22.2 incl.

v22.2/cluster-api.md | v22.1/cluster-api.md | v21.2/cluster-api.md | v21.1/cluster-api.md

This change is

@knz Just adding in a missing callout that auth-session exists to our Cluster API reference page. LMK if you'd like to see any changes. Thanks!

@knz TYFR!


setup.py fails after installing libegl1-mesa-dev

Steps to reproduce

sudo apt install libegl1-mesa-dev
python setup.py install
Using Ubuntu 18.04

Observed Results
[ 24%] Linking CXX static library libtinyply.a
[ 24%] Built target tinyply
make: *** [Makefile:152: all] Error 2
Traceback (most recent call last):
File "setup.py", line 323, in
zip_safe=False,
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/medha/habitat2/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 24, in run
self.build()
File "/usr/lib/python3.7/distutils/command/install_lib.py", line 109, in build
self.run_command('build_ext')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 166, in run
self.build_extension(ext)
File "setup.py", line 220, in build_extension
shlex.split("cmake --build {}".format(self.build_temp)) + build_args
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', 'build', '--config', 'RelWithDebInfo', '--', '-j']' returned non-zero exit status 2.

Is there any output from g++?

sudo apt-get install libxi-dev did the trick


ButterKnife @BindViews not working correctly.

Hey, I'm trying to create a list of views with ButterKnife Binding but the library not working as expected.
This is my code where I'm creating list of views.
@BindViews({R.id.trackerHistoryExpandImageView, R.id.trackerHistoryExtraLayout})  List<View> viewList;
Library correctly made list of views but when I debug my code I got the error in library.
This is the ButterKnife generated code looks like for the list of views.
target.viewList = Utils.listOf(         Utils.findRequiredView(source, R.id.trackerHistoryExtraLayout, "field 'viewList'"),          Utils.findRequiredView(source, R.id.trackerHistoryExtraLayout, "field 'viewList'"));
You see the views Utils class is finding, the same view for both time "R.id.trackerHistoryExtraLayout";
This is my library version for butterknife.
// Butter knife dependencies     implementation 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'     annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-SNAPSHOT'
Any help would be highly appreciable.

Seems to have been caused by the new rScanner in https://github.com/JakeWharton/butterknife/pull/1244
Anyone have a clue if there is a workaround at the moment? Besides locking to an artifact prior to the PR merge.

As a temporary fix, use the previous snapshot version of ButterKnife-compiler:
dependencies {
    implementation 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'
    annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-20180329.192335-32'
}

@sir-boformer That's what we ended up doing today. One downside is that at some point that artifact will disappear from the maven repo. We opted for downloading the specific snapshot jar and pointing to it locally. One downside of that is that you need to provide the dependencies that the compiler needs as well (although not locally):
annotationProcessor files("$project.rootDir/jars/butterknife-compiler-9.0.0-20180329.192335-32.jar")
annotationProcessor 'com.squareup:javapoet:1.10.0'
annotationProcessor 'com.jakewharton:butterknife-annotations:9.0.0-SNAPSHOT'
annotationProcessor 'com.google.auto:auto-common:0.10'
annotationProcessor 'com.google.guava:guava:24.0-jre'

@fxdemolisher I'm sorry, though, i'm not so experienced in this kind of stuff but how can i get such .jar

@mauronra we grabbed the compiler snapshot from here and the main runtime snapshot from here. In my team we wanted the runtime and compiler versions to match but you may only need to do this trick with the compiler.

@fxdemolisher thank you, very much, it works now

i found the bug also
when you create BindViews
@BindViews({R.id.text1,R.id.text2}) List list;
then whatever you use list.get(0),or list.get(1),all happened to list.get(1),not one to one.
i happened to feel i am wrong

Im looking into the issue. Thanks for the report

I think I figured out the problem. Fix will be up in a bit


[AzureML v2] - Unable to create an AzureML compute cluster with No Public IP nodes (on private endpoint)

Package Name: azure-ai-ml
Package Version: 1.1.0
Operating System: Ubuntu 20.04.5 LTS
Python Version: Python 3.10.6

Describe the bug
Trying to create an AzureML compute cluster, on a private endpoint, with no public IPs enabled.
Using this code snippet in Azure's docs.
from azure.ai.ml.entities import AmlCompute

# specify aml compute name.
cpu_compute_target = "cpu-cluster"

try:
    ml_client.compute.get(cpu_compute_target)
except Exception:
    print("Creating a new cpu compute target...")
    compute = AmlCompute(
        name=cpu_compute_target, size="STANDARD_D2_V2", min_instances=0, max_instances=4,
        vnet_name="yourvnet", subnet_name="yoursubnet", enable_node_public_ip=False
    )
    ml_client.compute.begin_create_or_update(compute).result()

Traceback (most recent call last):
File "/home/azureuser/cloudfiles/code/[REDACTED]/src/aml_utils.py", line 16, in create_compute
cpu_cluster = ml_client.compute.get(compute_target_name)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
return func(*args, **kwargs)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/_telemetry/activity.py", line 259, in wrapper
return f(*args, **kwargs)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/operations/_compute_operations.py", line 78, in get
rest_obj = self._operation.get(
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
return func(*args, **kwargs)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/_restclient/v2022_01_01_preview/operations/_compute_operations.py", line 577, in get
map_error(status_code=response.status_code, response=response, error_map=error_map)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/core/exceptions.py", line 107, in map_error
raise error
azure.core.exceptions.ResourceNotFoundError: Operation returned an invalid status 'Not Found'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/entities/_compute/aml_compute.py", line 117, in init
super().init(
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/entities/_compute/compute.py", line 55, in init
super().init(name=name, description=description, **kwargs)
File "/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/entities/_resource.py", line 60, in init
super().init(**kwargs)
TypeError: object.init() takes exactly one argument (the instance to initialize)

Pip list for Azure's package:

azure-ai-ml                  1.1.0
azure-common                 1.1.28
azure-core                   1.26.1
azure-graphrbac              0.61.1
azure-identity               1.7.0
azure-mgmt-authorization     2.0.0
azure-mgmt-containerregistry 10.0.0
azure-mgmt-core              1.3.2
azure-mgmt-keyvault          10.1.0
azure-mgmt-resource          21.2.1
azure-mgmt-storage           19.1.0
azure-storage-blob           12.13.0
azure-storage-file-datalake  12.8.0
azure-storage-file-share     12.10.1
azureml-core                 1.47.0
azureml-dataprep             4.5.7
azureml-dataprep-native      38.0.0
azureml-dataprep-rslex       2.11.4
azureml-mlflow               1.47.0
msrestazure                  0.6.4
opencensus-ext-azure         1.1.7

To Reproduce
Steps to reproduce the behavior, run the following code:

Configure your ml_client to a private endpoint workspace
Create your aml compute and with no public ip access
Run the following snippet:

compute = AmlCompute(
        name="tmp-cluster", size="STANDARD_D13", min_instances=0, max_instances=2,
        vnet_name="myvnet", subnet_name="mysubnet", enable_node_public_ip=False)

Notes: my ml_client is already linked to a private endpoint workspace as mentioned here.
Is it possible I'm using the wrong name for the vnet and subnet?

Expected behavior
The same snippet should create an NPIP compute on the respective vnet and subnet
Screenshots
N/A
Additional context
N/A

Adding Service team to look into this.
@azureml-github, https://github.com/orgs/Azure/teams/azure-ml-sdk. Could you please look into this once you get a chance ? Thanks in advance.

@jadhosn Thank you for the feedback, we are looking into this.

@jadhosn We are still looking into this. Given the nature of the issue, it does not appear to be caused by the SDK, but rather an issue at the backend. I will keep you posted.

@jadhosn The enable-node-public-ip parameter was introduced in v1.3.0 of the SDK. Please update to this version or higher to create the cluster.
Our documentation is outdated regarding the creation of the compute cluster. Please try the following snippet instead:
from azure.ai.ml.entities import AmlCompute, NetworkSettings

# Specify the compute name

cpu_compute_target = "cpu-cluster"

# Specify the compute network settings
network_settings = NetworkSettings(vnet_name="yourvnet", subnet="yoursubnet")

compute = AmlCompute(
    name=cpu_compute_target,
    size="STANDARD_D2_V2",
    min_instances=0,
    max_instances=4,
    network_settings=network_settings,
    enable_node_public_ip=False,
)
ml_client.compute.begin_create_or_update(compute).result()

@nthandeMS do you support startup scripts as well through the SDK in 1.3.0?

@jadhosn Yes, we have support for startup scripts since 1.0.0. Here is an example snippet:
from azure.ai.ml.entities import ComputeInstance, SetupScripts, ScriptReference

creation_script = ScriptReference(path="Users/yourusername/creation.sh", command="echo Created! > startup.txt", timeout_minutes=15)
startup_script = ScriptReference(path="Users/yourusername.creati", command="echo Started! >> startup.txt", timeout_minutes=10)
setup_scripts = SetupScripts(startup_script=startup_script, creation_script=creation_script)

compute_instance = ComputeInstance(name='my-ci-setup-script', size='STANDARD_DS3_v2', setup_scripts=setup_scripts)

ml_client.compute.begin_create_or_update(compute_instance)

@nthandeMS Is it possible for specify a vnet from another resource group? We share the same vnet across different resource groups

@jadhosn This is by design; compute resources reference a subnet within the same resource group. Do you have an example of where you were able to connect a Compute to a resource outside of the compute's resource group?

@jadhosn This is by design; compute resources reference a subnet within the same resource group. Do you have an example of where you were able to connect a Compute to a resource outside of the compute's resource group?

Yes! the same snippet can connect to a vnet outside the compute's resource group on SDK v1.0.0

@jadhosn I've investigated further and it is true that you should be able to use a vnet in a different resource group on the UI and through direct REST API calls.Howver, I still don't see how you could do this through v1.0.0 of azure-ai-ml.  How were you defining which vnet to use on the Compute? Were you using the NetworkSettings class, or something else?

The bottom line is that we would need a code change to connect to a vnet outside of the compute's resource group. This is a gap in functionality between the different interfaces for AzureML, and we apologize for the inconvenience. We can change this, but it would take some time.

The bottom line is that we would need a code change to connect to a vnet outside of the compute's resource group. This is a gap in functionality between the different interfaces for AzureML, and we apologize for the inconvenience. We can change this, but it would take some time.

Is it possible through the CLI?

The CLI is dependent on the SDK, so the behavior of the SDK will be passed through to the CLI.
In your previous version, how did you define which resource group the vnet was in when it was different from the Compute's resource group? The NetworkSettings class does not contain a resource group parameter.

The CLI is dependent on the SDK, so the behavior of the SDK will be passed through to the CLI.
In your previous version, how did you define which resource group the vnet was in when it was different from the Compute's resource group? The NetworkSettings class does not contain a resource group parameter.

I did not, by simply providing the vnet and subnet, the compute would create without issue. The same snippet running on 1.0.0 should work if you want to reproduce on your end.

@jadhosn After some conversations on our end, we are going to fix this issue so that there's no difference between what you can do with 1.0.0 and our later versions. We will fix this by April. In the meantime, please use the Azure Machine Learning Studio to create computes with vnets in different resource groups.

Hi,
Do you have somes news about this issue?
Thanks


how to check if my object is on the "floor"?

I currently use if(myobj.body.velocity.y == 0) most time this works except if my object is on top of some object like this:

as you can see in the console the velocity.y is changed in every frame update even my obj is not moved, I think this can be fixed by setting some parameter for the world?
what caused this problem? and what is the right way to fix? thanks a lot.

@jcyuan I am curious: Why didn't you use Collides engine on this one ?

@fabienjuif you mean I should set a flag to indicate whether my object is on floor or not when it collides with the 'floor' right?

@fabienjuif dud do you have some 2d game tuts? Hero body should be a rectangle or a composite contains a rectangle and a circle? and move it just set angularVelocity for the circle like a wheel?

@jcyuan I mean, you can:

set a type to your floor, body.type = 'floor'
use collide events, and then use the flag to detect the floor:
http://brm.io/matter-js/docs/classes/Engine.html#events

collisionStart
collisionEnd
collisionActive

Set a boolean into your "player" to mark it "on the floor" indeed

What means tuts?
My game doesn't have gravity, and I use circles for the heros :)

@fabienjuif 'tuts' means tutorials LOL.  yepp, I changed my game logic, thanks man~


Pathogen does not work, when settings made in _gvimrc

I tried to use pathogen in my _gvimrc. All settings worked, except the pathogene. It did not load anything, even if I followed the instructions as given. When rename the _gvimrc to _vimrc pathogen worked as described. If this is not a bug, then it should be mentioned in the install-instructions.

Why are you setting up vim to only run pathogen when you open a GUI?
Anywho, see https://github.com/tpope/vim-pathogen/issues/114#issuecomment-31900934.

Yeah the instructions say vimrc. I don't really want to muddle them with things not to do.


Add ability to add annotations to deployment

The jaeger operator automatically injects sidecars to any deployment annotated with "sidecar.jaegertracing.io/inject" (described here). It would be beneficial to allow the helm chart to support this.
Not sure if we need a minor or patch version bump, I'll leave that to your discretion.
Closes #113

@arlyon I would just do a patch bump.

But other than that, it looks good to me 🎉

could you bump to version to 6.1.0


Offer option to upload key file in onboarding widget

Lead: @sarika01
Describe the solution you'd like
Onboarding should offer these options:

Upload and existing atKeys file
Create a free atsign
Activate an atsign

For 3 it should then offer:
a.  Scan a QR code
b.  Enter the atsign name to be activated.
Describe alternatives you've considered
This was discussed in the architecture call, and no alternatives emerged.
Additional context
Asking people to enter the name of their atsign before uploading an atKeys file is error prone and inconvenient.

No Progress.

With the existing issues coming up in onboarding flow - https://github.com/atsign-foundation/at_widgets/issues/353, https://github.com/atsign-company/at_handle_registrar_web/issues/271
this was not taken up.
Also, similar ticket: https://github.com/atsign-foundation/at_widgets/issues/352

This task is going to be addressed along with refactoring the entire code (https://github.com/atsign-foundation/at_widgets/issues/145).
This will take longer than 5SPs.

Adding it to current sprint with one week's effort. Need to re-evaluate post that.

Work is in progress. Moving to next sprint.

Work is done. Planning to roll out in phased manner after other changes like chunk based encryption.

screenshot.zip
I've made screenshots of the onboarding flow in Wavi app. Please check it!

screenshot.zip
Please try again with this file. Thank you!

@tinashe404 & @pavithragk please test this issue with two app:

Wavi on branch: feature/onboarding-2.0
Atmosphere Pro on branch: feature/onboarding-2.0
Both of them use the at_onboarding_flutter in branch feature/on-boarding-2.0

linked to issues reported on this ticket https://github.com/atsign-foundation/apps/issues/468

Closing as completed


Progress bar in list column not visible

Winter CMS Build
dev-develop
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
None
Issue description
When using progress bar in list's column, the bar does not have visible height.
The progress bar height is set to auto by table.table.data tbody th div.progress rule
https://github.com/wintercms/winter/blob/05000d2663b7bd1c7bc2272352ea932bc915ea97/modules/system/assets/ui/storm.css#L3166
Screenshot of the different heights with progress bar progression set to 60%:

a border was added to best view the progress bar.
This issue was seen with Firefox, need confirmation on other browsers.
Steps to replicate
Set a list's column to type: partial with markup as defined in UI docs.
Workaround
Maybe set table.table.data tbody th div.progress height to use either a minimal height or make use of a css variable with a default fallback (height: var(--progress-height, 9px)).
In the second case, we can set the progress bar height by defining a value in our partial :

        60% Complete

@damsfx I'd be happy for a minimum height to be enforced on progress bars in the list, as long as it is the same height as the text size by default.

@damsfx I'd be happy for a minimum height to be enforced on progress bars in the list, as long as it is the same height as the text size by default.

@bennothommo  The cell font-size is 13px while the cell line-height is 18.5667px.
I guess it would be better to fit line-height, rounded lower: 18px.
What do you think about using a css variable?
This allow user to define his own height in partial.


Dropdown does not open when clicked on right end areas when multi-select enabled

I encountered this issue on your demo page

Same here, on latest Chrome for Mac.
The dropdown only open when clicking on text "No city selected" and not on the entire input


[CROSSDATA-344] Encrypt the communication between the client and the server

This PR add some properties to references files to enable or not a secure cookie of Akka and obtain a simple way of security in the messages interchage

👍


Feature: Allow docker build to be resource constrained by the caller

Currently the docker build process runs under the docker daemon's cgroup, which means it has access to potentially unlimited CPU, Memory, and Disk bandwidth.  We would like to be able to constrain a docker build to a limited set of resources (similar to containers being run via docker run).  While today docker build currently runs with fairly high privileges, as things like user namespaces are added we will be increasing the security to where ordinary system users will be able to docker build more frequently.
I can think of two main user scenarios around constraining the resources a build can use:

I'm a user on the command line, and my administrator allows me to docker build on top of images that are not running as the root user.  My administrator would like my CPU, memory, and disk usage to be governed by the same limits as my normal user account.
I'm hosting docker builds for my company via an API, and I want to limit the resources that any individual build gets so that I can ensure aggressive or malicious builds don't cause the whole server to fall over.

The first use case would be that ideally docker build uses the cgroup the client PID is under to also run the build - resources are then shared between my session and the build, and are accounted for under my cgroup structure.
The second use case is a bit broader - the implementer of the hosting API might want to specify the exact cgroup based on attributes of the user, or simply have all docker builds default to a specific cgroup template.
There might be three increasing complexity features:

On daemon startup, provide a flag for a cgroup template (or other resource spec) which all docker builds should be contained under
Allow a cgroup or cgroup template (or resource spec) to be provided as an API argument on the build API, to limit the resources available for execution
Have the docker build CLI automatically send (or alternatively fetch via the unix socket credentials) the current cgroup of the CLI process (or default resource spec of the user calling the command) and use that as the default value to the daemon.

In our case, we're trying to host docker builds in a reasonably resource constrained fashion, and moreover, to do it from a container (which already has cgroup limits set).  We'd prefer for the build we run to inherit the limits of the caller so that it's easy to reason about the limits of the build (the "builder" container gets X CPU, so the docker build simply shares that).
Do others have a similar need or see the benefit in a feature like this in docker build?  We wanted to get feedback before pulling together a pull request.

+1. I think it would also be great if we could pass in arguments to docker build which propagate to all the containers ran during the build. This would allow resource constraints as well as volumes/networking

+1. I'd like to expose my host network when i build image. #10171

+1
I'm thinking in the context of a swarm cluster where you might be doing docker builds alongside running containers - being able to cap memory usage could be useful there.

Or to prevent malicious builders from denying progress on other builders on a "build host"

On Jan 28, 2015, at 8:13 PM, Peter Ericson<EMAIL_ADDRESS>wrote:
+1
I'm thinking in the context of a swarm cluster where you might be doing docker builds alongside running containers - being able to cap memory usage could be useful there.
—
Reply to this email directly or view it on GitHub.

I've got this implemented for cpu/cpushares/mem/memswap, but need to wait until #10298 gets merged.

+1

This isn't really fully resolved - use case 1 requires a bit more than 11410 provides.  I think the limits added are valuable and a good start though.

@smarterclayton I agree it's not fully resolved since you have two parts here, however:
Docker 1.6 will include the above mentioned resource constraints for docker build
Docker 1.6 also includes support for setting ulimits on containers, as well as setting default ulimits for all containers at the daemon level.
Does this provide sufficient resource restriction?
Setting default ulimits at the daemon level feels right... setting default memory/cpu/cpuset/swap at the daemon level feels... less right.... but I'm not sure.
One could intercept build requests and apply those resource constraints before sending to the daemon.
WDYT?

Not disagreeing this is a good first step.  Inheriting cgroup (being a subordinate cgroup of the launching docker builder) was the valuable next step for us, because that would allow a much finer grained control over how builds run.  Essentially allowing the caller cgroup to be properly configured with the right settings for network, block, etc controls and having the build use a subset of that.  I'll update the issue to focus more on that.
Thanks for pushing this through though - I'm grateful. :)

On Mar 19, 2015, at 12:17 PM, Brian Goff<EMAIL_ADDRESS>wrote:
@smarterclayton I agree it's not fully resolved since you have two parts here, however:
Docker 1.6 will include the above mentioned resource constraints for docker build
Docker 1.6 also includes support for setting ulimits on containers, as well as setting default ulimits for all containers at the daemon level.
Does this provide sufficient resource restriction?
Setting default ulimits at the daemon level feels right... setting default memory/cpu/cpuset/swap at the daemon level feels... less right.... but I'm not sure.
One could intercept build requests and apply those resource constraints before sending to the daemon.
WDYT?
—
Reply to this email directly or view it on GitHub.


Improve test coverage for packaging

We still have some areas for packaging that does not have sufficient test coverage.

@etefera I think Morten can use some help on this.  Can you sync up with him and see if this is something you can get engaged in as well?

Will do today.

Closing in favor of more targeted bugs for test cases.


Drop-Down Header Template

I want to add a header template which has dropdown feature in HTML and CSS .
Please assign me this issue as a part of hacktoberfest contribution.

You can work on it. Try to add animation also.

@Geeky-star , I can do it well. Could you assign it to me?

@Geeky-star , I can do it well. Could you assign it to me?

Yes, you can do it.

I updated the file


Effect: Fix crash when using an external shader file

Fix bug introduced by #13452

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13464/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13464/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13464/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13464/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13464/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13464/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13464/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13464/merge#BCU1XR#0


appId with value "[object Object]" must be of type string and a valid uuid.

Tool
Name: LUIS
Version: 2.2.0
OS: Windows 10
Describe the bug
When I run luis add application --in password.luis i get the following error:
appId with value "[object Object]" must be of type string and a valid uuid.
To Reproduce
Steps to reproduce the behavior:

Just run the command above

I am still getting the error. Does this change go live yet? if so what are the steps

Same issue. Looking for resolution

This error is a real issue when trying to automate the luis app creation. Can you release a new version of luis-apis tool considering that the fix was merged to master a month ago ?

Problem still exists. The tool seems generally not to work very well. Importing an app or a version is simply impossible.

@KinleyP I was able to import a JSON app by that command. I am currently using package version 2.6.2.
I have a couple of questions.
Is the app in JSON format or LU format?
are you on the latest version?
Can you share a sample app JSON that you are failing to import to be able to reproduce?

Hi,
The app is in JSON format and I am using version 2.6.2
I exported the JSON file from the LUIS (preview) portal and did not touch the file (no contamination from my side)
I am using this command:
luis import application --in ".<FILENAME>.json" --authoringKey "" --endpoint "https://-authoring.cognitiveservices.azure.com/" --name ""
And I am always getting this error message:
luisApp.entities.children with value "[object Object]" must be of type string.
Is there something like a minimal JSON / LU file, that can be used for a basic import test? I think you cannot use LU files directly with the LUIS CLI, only JSON.
I tried to convert LU files with the BF CLI tool, but that seems to leave out some mandatory sections in the JSON file (e.g. Phraselists) - so these files will not import at all. - But I guess the BF CLI tool is a different topic.
I am a bit reluctant to share a JSON or LU file, as I want to make sure, that the customer name does not get revealed...
Many thanks
regards
Edzard

Issue resolved for @KinleyP .
Edzard was getting a different error on import which is "BadArgument: Missing phraselist features field. "
It seems Edzard was exporting the app using the preview portal which uses V3-Preview authoring APIs while the current LUIS tool uses V2 APIs so the import operation was failing due to incompatibility of the API versions.


Firrtl vs. Verilator discrepancy when testing DUT with Decoupled IO's

Example DUT:
package example

import chisel3._
import chisel3.util._

class ExampleModule extends Module {
  val io = IO(new Bundle {
    val in  = Flipped(Decoupled(Bits(16.W)))
    val out = Decoupled(Bits(16.W))
  })

  val delay_value = 5.U

  val busy = Reg(init = false.B)
  val in_reg   = Reg(init=0.U(16.W))
  io.in.ready := !busy

  when(io.in.valid && !busy) {
    in_reg := io.in.bits
    busy := true.B
  }

  val wait_counter = Reg(init=0.U(16.W))

  when(io.in.valid && !busy) {
    wait_counter := 0.U
  }

  when(busy) {
    when(wait_counter === delay_value) {
      io.out.bits := in_reg
    }.otherwise {
      io.out.bits := 0.U
      wait_counter := wait_counter + 1.U
    }
  }

  io.out.valid := (io.out.bits === in_reg) && (wait_counter === delay_value) && busy

  printf("From printf -- in: ready %d   valid %d   value %d  -- out:  ready %d  valid %d  value %d\n",
         io.in.ready, io.in.valid, io.in.bits,
         io.out.ready, io.out.valid, io.out.bits)
}

Tests:
package example.test

import chisel3._
import chisel3.util._
import chisel3.iotesters._
import org.scalatest.{Matchers, FlatSpec}

import example._

class ExampleTester(dut: ExampleModule) extends AdvTester(dut){
  wire_poke( dut.io.in.valid, 1)
  wire_poke( dut.io.in.bits, 20)

  val inreadySignal:BigInt = peek(dut.io.in.ready)
  println(s"From peek in.ready: $inreadySignal")
  step(1)
}

class ExampleTestFirrtl  extends ChiselFlatSpec{
  "Example" should "show decoupled port controls correctly" in {
    chisel3.iotesters.Driver(() => new ExampleModule,"firrtl"){ c =>
      new ExampleTester(c)
    }should be(true)
  }
}

class ExampleTestVerilator  extends ChiselFlatSpec{
  "Example" should "show decoupled port controls correctly" in {
    chisel3.iotesters.Driver(() => new ExampleModule,"verilator"){ c =>
      new ExampleTester(c)
    }should be(true)
  }
}

when running the test with "Verilator" backend, we get:

From peek in.ready: 1
From printf -- in: ready 1   valid 1   value    20  -- out:  ready 0  valid 0  value     0

However, when running the test with "Firrtl" backend, we get:

From peek in.ready: 1
From printf -- in: ready 0   valid 1   value 20  -- out:  ready 1  valid 0  value 34543

The printf result of in.ready is incorrectly with "Firrtl", and there's a discrepancy between Firrtl and Verilator for the same test.

@pingfanm Are you running release or master?
There seem to be problems associated with either that i am trying to sort through right now.  Hopefully it will not take too long

I'm running master.

@pingfanm The problem seems to be related to how the two backends start-up.  The interpreter is putting poisoned random numbers everywhere, and it looks like verilator is not doing that or there are some hidden cycles that are allowing things stabilize.  Is it possible to put some simple initialization logic at the beginning of the test.  I have considered making some options for the Interpreter to start up with zero's.  Let me know how important that change is to you.  Thanks

I added
  reset(10)
  wire_poke(dut.io.in.valid, 0)
  wire_poke(dut.io.in.bits, 0)
  step(1)

To the beginning of the Test and the two backends seem to give the same results


Remove SDK build's "docs_gate/index.rst: WARNING: document isn't in a toctree"

Both the current and proposed RST files result in identical output but this removes the build warning.
Part of sdk, dimod PR, dwave-system, dwave-cloud-client, and dwave-hybrid PRs to reduce build warnings

For CircleCI probably needs one of these


NO module named ghost.core

#python3 ghost.py
Traceback (most recent call last):
File "/home/nouaman/GITHUB/Ghost/ghost/ghost.py", line 31, in
from ghost.core.base.console import Console
File "/home/nouaman/GITHUB/Ghost/ghost/ghost.py", line 31, in
from ghost.core.base.console import Console
ModuleNotFoundError: No module named 'ghost.core'; 'ghost' is not a package

pip3 install git+https://github.com/EntySec/Ghost


Update macOS-11 image to use Mono with MSBuild version 16.9

Tool information

Tool name: MSBuild
Tool license:
Add or update? Update
Desired version: 16.9
Approximate size:

Area for Triage:
Xamarin
Question, Bug, or Feature?:
Feature
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[x] macOS 11
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?
Yes

task: Bash@3
displayName: 'Install mono package'
inputs:
targetType: 'inline'
script: |
#!/bin/bash
set -ex
MONO_MACOS_PKG_DOWNLOAD_URL='https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg'

# install the desired mono package
mkdir -p /tmp/mono-install
cd /tmp/mono-install
wget -q -O ./mono-installer.pkg "$MONO_MACOS_PKG_DOWNLOAD_URL"
sudo installer -pkg ./mono-installer.pkg -target /

# output to make sure the update applied correctly
mono --version
ls -alh /Library/Frameworks/Mono.framework/Versions/Current

Tool installation time in runtime
About 40 seconds
Are you willing to submit a PR?
Wouldn't know how sorry!

Hello, @jahmai-ca
We have decided to revert mono version and not to pre-install <IP_ADDRESS>  due to some issues - https://github.com/actions/virtual-environments/pull/3543.

Hi @al-cheb fair enough, we can continue installing it during the pipelines. Can I keep this issue open until its resolved?

@jahmai-ca, Sure, we will keep it open.

Hey @al-cheb. Is there any schedule for updating mono to <IP_ADDRESS>?

Currently, no ETA. We are still investigating the issue.

@jahmai-ca , @mierzynskim , Mono <IP_ADDRESS> is on board.


Domain zones length limit

Length of domain zones can be more than 4 characters: in fact, up to 24 characters (link)
I'm talking about these methods:
https://github.com/misd-service-development/php-linkify/blob/master/src/Misd/Linkify/Linkify.php#L151
and
https://github.com/misd-service-development/php-linkify/blob/master/src/Misd/Linkify/Linkify.php#L203

I put in the email fix and a test at https://github.com/JMB-Technology-Limited/php-linkify/commit/1c193e476c940557302208931798789edf998471
But do you have any examples of web links that break without this? Because I tried some and they work already, I'm not sure how ...... https://github.com/JMB-Technology-Limited/php-linkify/pull/5


Insufficient time to serve a node in CVRPTW problem

Hello there,
First, thank you for the great work on the vrp solver. It is quite easy to use and really fast in many cases.
But I just came across this weird issue, that the route seems to be feasible, but the solver says "There is insufficient tiem to serve a node." I've attached the model details below. It is quite small, only ONE node.
Thank you in advance for looking into this. Please let me know if I need to clarify the issue clearer.
Best regards,
Tao
{
"MaxTotalVehiclesNumber": 10000,
"Points": [
{
"id": 0,
"name": "0",
"idCustomer": 0,
"serviceTime": 0.0,
"twBegin": 0,
"twEnd": 1821,
"penaltyOrCost": 0.0,
"demandOrCapacity": 0,
"incompatibleVehicles": []
},
{
"id": 1,
"name": "1",
"idCustomer": 1,
"serviceTime": 1023.6245850412403,
"twBegin":<PHONE_NUMBER>5875976,
"twEnd": 1236.0,
"penaltyOrCost": 0.0,
"demandOrCapacity": 199,
"incompatibleVehicles": []
}
],
"VehicleTypes": [
{
"id": 1,
"startPointId": 0,
"endPointId": 0,
"name": "VEH1",
"capacity": 200,
"fixedCost": 0.0,
"varCostDist": 1,
"varCostTime": 0.0,
"maxNumber": 90,
"twBegin": 0.0,
"twEnd": 1821
}
],
"Links": [
{
"startPointId": 0,
"endPointId": 1,
"name": "",
"isDirected": true,
"distance":<PHONE_NUMBER>8852663,
"time":<PHONE_NUMBER>8852663,
"fixedCost": 0.0
},
{
"startPointId": 1,
"endPointId": 0,
"name": "",
"isDirected": true,
"distance":<PHONE_NUMBER>6472716,
"time":<PHONE_NUMBER>6472716,
"fixedCost": 0.0
}
],
"Parameters": {
"timeLimit": 3600,
"action": "solve",
"upperBound": 1000000,
"heuristicUsed": false,
"timeLimitHeuristic": 20,
"configFile": "",
"solverName": "CLP",
"printLevel": -1
}
}

Dear @taox142 thank you for your interest in our solver, the solver returns an error because for the first node, twBegin + serviceTime(1,236.00000000000006) > twEnd (1,236).
Best regards,
Najib

@najibprog, thank you for looking into the issue.
Yes, you are right. Even though I computed twEnd by twBegin + serviceTime, somehow, the computer messed up with the accuracy. I fixed the issue by setting twEnd = twBegin + serviceTime + 0.000001. Works now.

Great! Thank you for taking the time to test, we think it will be better in the future to introduce rounding to 10^-(6) to avoid this kind of issue.
Best regards,
Najib


change all version of dependencies to  >= minver to reduce having to always bump versions

Please read the documentation, Cargo already will update dependencies to newer compatible versions (by the semver spec) by default: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html.
Allowing the build process to pull in any version, with no regard for compatibility, would be a nightmare.

/close 'not planned'


Unread counts aren't cleared sometimes from scrolling (regression?)

I noticed this just today and I'm fairly sure it's a recent regression.
Steps to reproduce:

Click on a stream in the sidebar with unread messages. The sidebar expands to show topics under that stream and has unread counts for the topics with unread messages and the total count for that stream.
Scroll down to read all the messages in the newly focused stream. The total unread count for the stream will be cleared automatically, but (some? all?) of the unread counts for the individual topics are still shown.

Cool, thanks for the report; we're looking into this.  There was indeed a production deploy yesterday that could have caused this.

@nicholasbs I think this is now fixed and deployed; let us know if you're still seeing this!


Fix time step printing in Matlab console

Hi @bjonkman
I worked with @nikhar-abbas to verify that your simulink updates work on Mac. Everything looks to work well, but I made a couple of changes.
First, I cleaned up SFunc creation routine a little more. Looking at this again now, I see why you named things the way you did, but I renamed some variables based on the nomenclature on Mac/linux. Specifically, the directory to link with -L is .../lib on Mac, so I called it libDir. I also just realized we need to update the includeDir with the default location on Windows. In any case, my point with mentioning this is that if you don't agree with the changes in create_FAST_SFunc.m, I'm not tied to any of it so I can revert it.
The change that I do feel strongly about is in calling SimStatus from FAST_Subs when running with simulink. I found that this call was wrapped in
         if (.not. Cmpl4SFun) then
            CALL SimStatus( m_FAST%TiLstPrn, m_FAST%PrevClockTime, m_FAST%t_global, p_FAST%TMax, p_FAST%TDesc )
         end if

so none of the time step printouts would show in the Matlab console.
Also, this pull request includes a merge from openfast/dev which brings in the fix in building the dwm driver.
Thanks
Rafael

@rafmudaf
I was never a fan of all the time step printouts in the Matlab console because the WrOver() routine doesn't work like it was intended there, and important messages get missed in all that text. Hence the above if statement.
Your changes to create_FAST_SFunc.m broke the build for Windows, so I have attempted to now get it to work for libraries created with either cmake or vs-build on Windows (though I haven't tried the cmake build for Simulink on Windows, yet). Let me know if I broke the build for Mac/linux in the process.


dashapi: send requests using multipart/form-data

This format is much better suitable for our API since we're including a potentially very big binary blob into every request.
No changes have to be made on the server side -- it already supports both formats.
Hopefully it will help remediate #4495.

Why do you think it is better?

We transfer binary data as is instead of urlencoding it (in the form of %dd), which triples the transferred amount of data.

We use https://pkg.go.dev/net/url#Values.Encode. It converts mau$ => mau%24 .
We do Values.Encode(gzip(marshal(req))).
Values.Encode will x3 the len, but I expect its result to be compressed with http gzip/deflate which will /3 the len.

multipart/form-data fits better here, but the decision was made and it currently works. I don't see the problem we solve here.

It converts mau$ => mau%24 .

Yes, the alphanumeric characters are preserved, but in the compressed data there will be all 256 values.

I don't see the problem we solve here.

We solve the problem of fitting big requests into the 32MB POST request limit.

I expect its result to be compressed with http gzip/deflate which will /3 the len.

AFAIK we don't compress the whole request. We compress the payload part of it (see the queryImpl method) and only afterwards urlencode it.


TCP connection error in ch 7

CARLA version: 0.9.13
Platform/OS: Linux 20.04
Problem you have experienced: TCP Connection error : Port closed -> Carla server is crashing.
What you expected to happen: Rendering carla simulator.
Steps to reproduce: python3 carla-gym/carla_gym/envs/carla_env.py
This the error I am getting while trying to run carla_env.py:

learing Carla server state
Traceback (most recent call last):
  File "carla_env.py", line 554, in <module>
    obs = env.reset()
  File "carla_env.py", line 231, in reset
    raise error
  File "carla_env.py", line 226, in reset
    return self.reset_env()
  File "carla_env.py", line 274, in reset_env
    scene = self.client.load_settings(settings)
  File "/home/ubuntu/carla-gym/carla_gym/envs/carla/client.py", line 75, in load_settings
    return self._request_new_episode(carla_settings)
  File "/home/ubuntu/carla-gym/carla_gym/envs/carla/client.py", line 160, in _request_new_episode
    data = self._world_client.read()
  File "/home/ubuntu/carla-gym/carla_gym/envs/carla/tcp.py", line 73, in read
    header = self._read_n(4)
  File "/home/ubuntu/carla-gym/carla_gym/envs/carla/tcp.py", line 91, in _read_n
    raise TCPConnectionError(self._logprefix + 'connection closed')
carla.tcp.TCPConnectionError: (localhost:44405) connection closed
Killing live carla processes set()
Clearing Carla server state

Hey @praveen-palanisamy, would you be able to help our reader figure out what is going wrong here?

Hi @Zehnaseeb ,
Looks like your CARLA Server is not running or has crashed before the Carla-Gym environment could be created using the ch7/carla-gym/carla_gym/envs/carla_env.py script.
Please try the following to resolve your issue:

Ensure that you have started the CARLA Server binary before running the above script.
If you did start the CARLA Server and you still run into the above issue, please check the console log produced by the CARLA Server binary to identify the reason it crashed.
You may be able to resolve the issue that caused the CARLA server to crash on your system. If not, please post that log along with the CARLA server (0.9.13?) and client versions that you are using.

Hey @Zehnaseeb,
Could you let us know whether we can close this issue if it has been resolved after following Praveen Palanisamy's solution and steps?


Nodes resource is listed twice in cluster & node role templates

rancher/rancher:master 7/25 (also reproduced in 2.0.5)
The nodes resource is listed twice in cluster owner/member & manage nodes / view nodes role templates.
Navigate to Security > Roles via the navigation menu
View the cluster member role
The nodes resource is listed twice

The api for these roles shows the following:
{
   "apiGroups":[
      "management.cattle.io"
   ],
   "resources":[
      "nodes",
      "nodepools"
   ],
   "type":"/v3/schemas/policyRule",
   "verbs":[
      "get",
      "list",
      "watch"
   ]
},
{
   "apiGroups":[
      "*"
   ],
   "resources":[
      "nodes"
   ],
   "type":"/v3/schemas/policyRule",
   "verbs":[
      "get",
      "list",
      "watch"
   ]
},

I've tested this issue. I think this should be an UI issue.
Here is what in addRoleTemplate for Cluster Member.
rb.addRoleTemplate("Cluster Member", "cluster-member", "cluster", true, false, false).
		addRule().apiGroups("management.cattle.io").resources("clusterroletemplatebindings").verbs("get", "list", "watch").
		addRule().apiGroups("management.cattle.io").resources("projects").verbs("create").
		addRule().apiGroups("management.cattle.io").resources("nodes", "nodepools").verbs("get", "list", "watch").
                 ...
                 ...

After I delete "nodes", before the "nodepools". The UI shows nodepools

This should be fixed in the UI. Node and nodepools are the only resource we send over with two resources listed so the UI is only grabbing the first value.

Version - 2.0 master 7/30
Verified fixed


download as html error

Uncaught TypeError: Cannot read property 'HTML' of undefined
at HTMLElement.downloadFromData (dl-behavior.js:1)
at HTMLElement.downloadfull (hax-export-dialog.js:118)

this is a developer only capability but still obviously should fix it. Easy fix I'm sure though we'll probably need to redo the thing that made this file stand up the way it did


bluetooth connection?

Hi, does this work with a serial connection via bluetooth?

This implementation supports both. A serial connection and communication via bluetooth.

Does this answer your question?

Yes, thank you! (unfortunately, I've discovered that my battery pack from BASEN does not contain a JDB BMS but a VIP BMS; and ther is not much available for that)

@mager33 I would like to give it a try to talk to your BMS. Do you have some spare time for doing some testing and experiments?

Hi Sebastian, yes, of course. But I won't be available until 22.2.23. Best, Martin
Gesendet: Mittwoch, 15. Februar 2023 um 21:38 Uhr
Von: "Sebastian Muszynski" @.>
An: "syssi/esphome-jbd-bms" @.>
Cc: "Martin" @.>, "Mention" @.>
Betreff: Re: [syssi/esphome-jbd-bms] bluetooth connection? (Issue #28)

@mager33 I would like to give it a try to talk to your BMS. Do you have some spare time for doing some testing and experiments?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@mager33 To close the loop: We talked already on Reddit and you did provide the capture. :-P


Is IDFV collection is permitted by Apple?

Hi,awesome lib!
Just want to confirm that if we use getUniqueID to get IDFV on iOS, is that permitted by Apple and whether  it will be rejected by AppStore? Thanks a lot. : )

IDFV is totally fine. It stands for "Identifier for Vendor" -- it's unique to only apps you own. For instance, if you owned two apps with the bundle IDs of:
com.symous.myApp1
com.symous.myApp2

they would both have access to the same IDFV. But my app
com.egold.myApp

would have a different value for IDFV.
You're probably thinking of IDFA, the advertiser one that was created to replace using UDID, but has been abused from time to time (in Apple's eyes). IDFA has legitimate uses, but also illegitimate uses.
More info on IDFV: https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor

thank u my friend. :)

@egold so can i use it do identify if certain task was done in the same device?


error:interpret examples

i follow the readme,but it‘s wrong!

Are you using the most recent version of the code? This is failing to parse ‘<<‘ on like 6, but that’s not there anymore — it got replaced with ‘<‘ a long time ago.

Are you using the most recent version of the code? This is failing to parse ‘<<‘ on like 6, but that’s not there anymore — it got replaced with ‘<‘ a long time ago.

I am not using the latest version because I want to reproduce the regex example from the FLM paper, but I can't find it in the latest version.

Sequence Abstractions for Flexible, Line-Rate Network Monitoring,I want to reproduce the examples from this paper. Could you please tell me which branch I should use to successfully replicate them?

It looks like the link in the paper is pointing to the SpecRegex branch, which would explain where the extra << is coming from. I’m guessing that somehow either the example files on that branch never got updated, or you’re using the main branch of lucid on the files from the SpecRegex branch.
For the puppies if getting lucid set up, you can probably try using the tutorial files from the main branch instead. Presumably the SpecRegex files which are directly related to the paper will work out-of-the-box. It would be nice if @aj3189 has the time to ensure all of SpecRegex is up-to-date with the rest of lucid, although it’s also a good idea to keep a dedicated branch for paper artifacts, so perhaps we should freeze SpecRegex (after making sure it all works) and create another branch that’s more up-to-date.

Thank you. Where can I find the latest usage instructions for Lucid? I'd like to try updating the regex code myself.

Off the top of my head, I’d start by doing the tutorial on the main branch to get a feel for lucid (if you haven’t already). Then you can look at the wiki and several of the examples to learn about the language features (examples/interp_tests is good for this). Note that the language features page on the is intended more as a reference than a tutorial.
You could try merging the SpecRegex branch into main on your computer, but I’m not sure how easy it would be. If you want to try fixing things manually, I can at least tell you that the error in your first post was caused by a syntax change where we changed e.g. int<<32>> into int<32>.

Off the top of my head, I’d start by doing the tutorial on the main branch to get a feel for lucid (if you haven’t already). Then you can look at the wiki and several of the examples to learn about the language features (examples/interp_tests is good for this). Note that the language features page on the is intended more as a reference than a tutorial.
You could try merging the SpecRegex branch into main on your computer, but I’m not sure how easy it would be. If you want to try fixing things manually, I can at least tell you that the error in your first post was caused by a syntax change where we changed e.g. int<<32>> into int<32>.
I am very sorry to bother you, but after reading the relevant content on the wiki, I still can't find a solution for some of the syntax issues. I have taken a screenshot of the content. Could you help point them out?

I need to delete keywords like entry and exit, but the wiki doesn't provide information on this. I'm not sure about it.and re is wrong too.

I am very sorry to bother you, but after reading the relevant content on the wiki, I still can't find a solution for some of the syntax issues. I have taken a screenshot of the content. Could you help point them out?

I need to delete keywords like entry and exit, but the wiki doesn't provide information on this. I'm not sure about it.and re is wrong too.

Hmm, unfortunately I don’t think we have any docs on updating code from an arbitrary previous version of Lucid. I pinged @aj3189, perhaps he can help.

Hmm, unfortunately I don’t think we have any docs on updating code from an arbitrary previous version of Lucid. I pinged @aj3189, perhaps he can help.

Alright, thank you for your assistance. I'll wait to hear from @aj3189.

hi @scxjyjy thanks for looking into the code. I was able to recreate your error buy running make on the "main" branch, then changing branches to the "SpecRegex" branch, and then trying to run the histogram file. To avoid this, you have to run make whenever you change branches, as the compiler passes change and the main branch is a little ahead of the SpecRegex branch with some syntax changes, which is why you're getting syntax errors.

hi@aj3189 Thank you for your response. I just want to reproduce the regex P4 code to help me understand the paper. At the same time, I want to see if there are techniques in the generated P4 code to handle the limitation that a pipe can only operate on one register at a time. However, I am unable to reproduce the steps as you mentioned, which is causing me frustration.

After using make on GitHub to generate dptc, there are no syntax errors, but it still reports an error.

After using make on GitHub to generate dptc, there are no syntax errors, but it still reports an error.

Hi, sorry the repo is a little messy. That file you are running was a test file for use in the interpreter, though I can see the confusion is easy to make. All of the examples from the paper are in the subfolders that have the same names as the headings in the paper table from section 9. So, for the DHCP example from the paper, we ran first the simple RIP (control) program at examples/regex/rip_added/rip_single_updated.dpt as a baseline and then the DHCP anomaly at examples/regex/rip_added/lucidRegex_DHCP.dpt, which has the regex added. The Chain Replication control and two examples are in the chain_replication folder, and so on. Note that some have an original version and a version with "_fixed", that means we had to fix (usually) a syntax error, such as combining the entry event to avoid the error you encountered.

hi@aj3189,If errors are difficult to resolve, could you provide a copy of the P4 code generated after compiling examples/regex/lucidRegex_DHCP.dpt? I would like to analyze the p4 code to see if it can help me. Thank you.

hi@aj3189,If errors are difficult to resolve, could you provide a copy of the P4 code generated after compiling examples/regex/lucidRegex_DHCP.dpt? I would like to analyze the p4 code to see if it can help me. Thank you.

Wow, we commented at exactly the same time. I've never seen that. See my other comment and post again if it doesn't help. Thanks again!

hi@aj3189,If errors are difficult to resolve, could you provide a copy of the P4 code generated after compiling examples/regex/lucidRegex_DHCP.dpt? I would like to analyze the p4 code to see if it can help me. Thank you.

If you don't care about adding the "simple_RIP" control, then the file at examples/regex/pseudocode/lucidRegex_DHCP.dpt is probably what you want.

hi@aj3189,If errors are difficult to resolve, could you provide a copy of the P4 code generated after compiling examples/regex/lucidRegex_DHCP.dpt? I would like to analyze the p4 code to see if it can help me. Thank you.

Wow, we commented at exactly the same time. I've never seen that. See my other comment and post again if it doesn't help. Thanks again!
lol,I sent the message yesterday and then went to rest. What a coincidence.


DestinationsNavTypeSerializer should accept nullable parsed value

Please consider the next example:
@NavTypeSerializer
class AddressSerializer : DestinationsNavTypeSerializer<Address> {

    override fun toRouteString(value: Address): String = when (value) {
        is Address.Eth -> "eth,$value"
        is Address.Zil -> "zil,$value"
    }

    override fun fromRouteString(routeStr: String): Address {
        val (network, value) = routeStr.split(",")
        return when(network) {
            "eth" -> Address.Eth(value)
            "zil" -> Address.Zil(value)
            else -> { }
        }
    }
}

In such cases naturally I would like to return null on when.else case. However, that not possible. That forces me to create some Address.Error subclass.
How it should work if null is accepted is a good question. If argument on the destination is not nullable but parsing failed - what should we do? Throw RuntimeException? I'd like to handle it somehow.

Hi @alexzaitsev !
If you really want to avoid crashes, your best bet is to consider an enum entry like Address.Unknown.
Also, are you expecting to use this serializer to parse a string coming from outside? Meaning, coming from other than the toRouteString? Because if not (most times), then you can throw exception yourself in the else. It will never happen that you receive something in there that is not a match for either "eth" or "zil" because you returned the string you get there on the toRouteString.

Makes sense. Thank you @raamcosta !


Ending month date is duplicated in calendar

I'm seeing at the end of each month a repeat of the last calendar date. In the screenshot below, July 31 is shown twice. Advancing to August, there is no duplicate at the beginning of the calendar, but there are two 31sts. In September there are two 30ths, etc.
I'm using version CLNDR v1.2.4

Looks like this was resolved in a later release.
Thanks!


One-way data flow might be broken

Version
2.3.3
Reproduction link
https://jsfiddle.net/mhfcrgqv/2/
Steps to reproduce
Pass an object (not a regular string or int property) as a prop to a child component. Mutate the properties of the object inside the child component. The mutations will also occur in the parent component. Check out the fiddle.
What is expected?
The properties inside the form object should not get mutated in the parent component. It should only get mutated in the child component for a one-way data flow.
What is actually happening?
The contents inside the parent object get mutated.

This issue may be intentional - I hope it is because I like the two-way flexibility - my apologies for reporting this if it is.

This is expected behaviour and documented in our guide.
It's not so much intentional (in the sense that we would want to allow that "two-way flexibility) as inevitable.
Otherwise we would have to clone each object passed through a prop which would come with a host of new problems, like performance and memory impacts.


Avoid Rollbacks during restart

Fixes https://github.com/input-output-hk/cardano-db-sync/issues/1190
This should drastically speed up restart times.
Still draft as it needs a lot of testing.

How does it avoid rollbacks?

How does it avoid rollbacks?

I added a description. In short db-sync will not delete a block from the db until the time that itself recognises that there is a fork, ie different block with the same BlockNo and not when the node sends a Rollback message.

Would be really nice to delete the description above and put in in the commit message so we have a permanent record of it in the Git repo rather than here on Github

.It will apply each new block to the ledger state and it will check if the block is already in the db. If it's already there it just goes to the next block.

I assume it also needs to act on all the ledger events. Is that what it does? If it gets a block that is already in the db, but the ledger state emits and event containing say rewards, wouldn't those rewards already be in the db? Does it check to see if they are already there and avoid inserting them again?

If the block hash is there it assumes ledger events have also been inserted, so it does nothing else with the block and ignores the events.

ok, would like to see a notes to this effect added to the commit message. The commit message can be a lot briefer than what you have above.


Scroll on drag

From issue: https://github.com/bevacqua/dragula/issues/121#issuecomment-138992160
TODO:

[x] vertical scroll
[ ] horizontal scroll
[ ] possibility to disable scroll
[ ] possibility to add the scroll triggers
[ ] possibility to override the scrollfunction
[ ] check touch
[ ] check if we should scroll on gu-mirror position instead of mouse position? (could break when containers are too close to each other)

I added an example at the bottom of the example page.

@Klaasvaak What's the state of this?

@btecu I didn't forget it. Not sure when I got time. Well give it an update soon though.

Could someone pick this one up?

If someone has got more time I can give them access to the fork, so they can help with this PR.

I think this should be a separate module. See how gtk does it: gtk scroll window. It would be more involved as a javascript module with all the possible events, but I think it's doable.
Then dragula can require the "scrollable", or users can make a dragula container scrollable from their own code.
A generic scrollable element like this could be used elsewhere as well. It would also be easier to maintain in the long run.
Also there are already some modules that do this. For example: zenscroll which can scroll to an element, or pixel position. There are others, but most of those are plugins for other frameworks. It's a lot to search through.

+1 keeping it out of dragula. Would be nice to have one to point people to, tho

I agree. There are modules. More than a hundred in fact that do scrolling found in npm. I'm searching through them now. If I don't find one that works well with dragula I might have to make it myself unless someone can get to it before me. Right now I'm considering zenscroll.

@hollowdoor If it's possible to keep it out than I agree. I needed this for a project and it wasn't hard to do. But still it would be nice if it worked out of the box.

I found this thread because of the same thing. I was working with dragula, and it wouldn't scroll my div. That's a problem for dragula I thought. But after some more thinking it breaks reusability, and least responsibility because scrolling elements is such a common problem, and dragula is not scrollula.
Like I said dragula could still require the module, but at least it's algorithms probably shouldn't be in dragula. I don't want to be dogmatic. So any good arguments to the contrary are welcome.
In the mean time I'm searching for a third party module that will do exactly what we're talking about. I'm trying zenscroll, and iscroll starting today.

Since probably most people using dragula would like their containers to be scrollable - because it makes sense from a UX perspective, I think it should be included with dragula.
Also, one of the nice ideas of dragula is that is simple and small... Pulling in another library may add more to the size than just having something custom.
Either way, having something, even if it depends on an external library is better than nothing (right now).

@btecu Right now there are not that many libs that support scrolling without a framework. Maybe the time is ripe for a module that does this as simple as dragula. You know something that handles the most common usages like scrolling while dragging, but stays small.
If dragula gets the code that would mean problems would bubble up from scrolling to where the two functionalities of scrolling, and dragging are coupled. The complexity has the potential to be horrendous with an increased potential of feature creep. Then we'd be waiting even longer for feature requests, and bug fixes.
The other side of the coin is a dependency could break without warning, but I'm thinking it would be best not to require a scroller at the module level anyway. Simple interoperability is possible.
These are the most common problems in scrolling:

events (There's a whole lot.)

mouse
touch
dragging in both of those.
multi-environment support

scroll to show element
scroll to pixel
animations

speed
acceleration

css conflicts (where pesky positions do not like eachother)

I have a feeling that everybody that wants to have scrolling in dragula are thinking of their own problem which is slightly different from everybody else's. This would be where the feature creep would come in, and down the line we'd be wishing there were an independent scrolling module.
The issue appears to be pervasive, but that's why it should be its own module. I can't predict the future. I could be wrong, but I don't think so.
Right now the main usage of scrolling would be getting the next/last out of scroll element into view. I see dragons in those waters.

@hollowdoor http://rubaxa.github.io/Sortable/ actually does scroll as well and it does it very well.
I don't agree. When you have more elements in your list than you can possible see and you want to move one at the bottom, it's a pain currently. I think this is what most people are after.

@btecu Most people is a present tense assumption. It's up to bevacqua if he wants to maintain that particular functionality as an internal. I see modularity as the way to go, and others will disagree. I've said my piece.
Meanwhile I'm going to see about modulization of scrollables for long term maintainability.

@hallowdoor how would you like to see this in code for people to use . Like this?:
var dragula = require('dragula');
var scrollableDragula = require('dragula-scroll');

var drake = dragula({ containers: containers });
var scrollableDrake = scrollableDragula(drake);

@Klaasvaak That would be great. Right now I'm working on something more generic, but your idea would be very useful for when dragula just needs to scroll without contributing to bloat. Perfect solution IMHO.
Would it be too dark to call it casket? :)

Closing in favor of modules such as dom-autoscroller

:+1:


Deposit robot load info into ispyb

Fixes #1017
To test:

Do thing x
Confirm thing y happens

Closing unmerged as we'll pick it up another day, see https://github.com/DiamondLightSource/hyperion/issues/1017#issuecomment-1914885656


TLS Handshake Error

Do you want to request a feature or report a bug?
Report a bug.
What did you do?
We are running traefik in Docker on Kubernetes, and K8s is deployed on Azure Container Service. We see the following error appearing in the console output approximately once a minute:
2017-07-05T12:38:59.832673311Z 2017/07/05 12:38:59 server.go:2753: http: TLS handshake error from <IP_ADDRESS>:58147: EOF

Having turned on debug logging, I see it is always accompanied by this log message:
2017-07-05T12:38:59.718337351Z time="2017-07-05T12:38:59Z" level=debug msg="Skipping event from kubernetes &Endpoints{ObjectMeta:ObjectMeta{Name:kube-scheduler,GenerateName:,Namespace:kube-system,SelfLink:/api/v1/namespaces/kube-system/endpoints/kube-scheduler,UID:673d8e35-5c66-11e7-b220-000d3a216355,ResourceVersion:10786823,Generation:0,CreationTimestamp:2017-06-29 01:00:54 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{control-plane.alpha.kubernetes.io/leader: {"holderIdentity":"k8s-master-16396601-0","leaseDurationSeconds":15,"acquireTime":"2017-06-29T01:00:54Z","renewTime":"2017-07-05T12:38:59Z","leaderTransitions":0},},OwnerReferences:[],Finalizers:[],ClusterName:,},Subsets:[],}"

As per this thread, this appears to be a new instance of #1025. Although the line number has changed, it remains well outside the range of possible lines in server.go. Additionally the IP addresses lie outside of the cluster subnet.
What did you expect to see?
traefik ticking along nicely, some informational messages, no TLS handshake messages.
What did you see instead?
These error messages. They're particularly annoying as they don't appear to be log messages, and so can't be turned down, turned off, or filtered out.
Output of traefik version: (What version of Traefik are you using?)

We are running traefik:1.3 from Docker on Kubernetes 1.5.3, running on Azure Container Service.
docker images traefik:1.3 output:
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
traefik             1.3<PHONE_NUMBER>36        5 days ago          45MB

kubectl version output:json
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.3", GitCommit:"029c3a408176b55c30846f0faedf56aae5992e9b", GitTreeState:"clean", BuildDate:"2017-02-15T06:34:56Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes Deployment for traefik is (including traefik args at the bottom):
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: traefik-controller
  labels:
    service: traefik
spec:
  replicas: 1
  selector:
    matchLabels:
      k8s-app: traefik-ingress-lb
  template:
    metadata:
      labels:
        k8s-app: traefik-ingress-lb
        name: traefik-ingress-lb
        service: traefik
    spec:
      terminationGracePeriodSeconds: 60
      volumes:
        - name: config
          configMap:
            name: traefik-conf
        - name: acme
          hostPath:
            path: /acme
      containers:
      - image: traefik:1.3
        name: traefik-ingress-lb
        resources:
          limits:
            cpu: 200m
            memory: 30Mi
          requests:
            cpu: 100m
            memory: 20Mi
        volumeMounts:
        - mountPath: "/config"
          name: "config"
        - mountPath: "/acme"
          name: "acme"
        ports:
        - containerPort: 80
          hostPort: 80
        - containerPort: 443
          hostPort: 443
        - containerPort: 8080
          hostPort: 8080
        args:
        - --configfile=/config/traefik.toml
        - --web
        - --kubernetes
        - --kubernetes.namespaces={{K8S_NAMESPACE}}
        - --loglevel=INFO

defaultEntryPoints = ["http","https"]
[file]
watch=true
[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
  [entryPoints.https.tls]
[web]
address = ":8080"
ReadOnly = true
  [web.statistics]
  RecentErrors = 10
[acme]
email = "{{REDACTED}}"
storageFile = "/acme/acme-ssl.json"
entryPoint = "https"
# caServer = "https://acme-staging.api.letsencrypt.org/directory"
OnHostRule = true

If applicable, please paste the log output in debug mode (--debug switch)
I can provide a full log file privately; please DM @alastairs on Slack if you would like it.

The log line is apparently from net/http's server.go. If it helps, someone could hack the file temporarily to add more logging / dump a stack trace in order to identify the root cause.

I am currently having the same issue in a docker swarm cluster in Digital Ocean

Seeing the same issue using Docker EE 17.06.1-ee-2 running on Ubuntu 16.04.03/vmware, I've also seen this on Swarm CE 17.06 running on Ubuntu 16.04/vmware. It doesn't appear to cause any critical issues, just log noise.

@alastairs @michaelchiche Do you see any issue related to this log ? As @kcrawley said, I think it's just some log noise.

Do you see any issue related to this log
Yeah, we ship our logs to Elastic Search, and the large amount of noise puts a ton of extra stress on our cluster that we'd rather avoid.

Also seeing this with v1.4.0 / roquefort, only the line number changed to 2848.
We are seeing several hundred of these messages per second at (~10% of the current throughput), the ip is the one of the one of the user requesting data.

I'm also seeing this issue on Kubernetes 1.7 alongside a "skipping event" log item during the ACME certification retrieval process.
time="2017-11-06T15:44:30Z" level=error msg="Service not found for default/dandy-duck-<redacted: chart name was here>"
time="2017-11-06T15:44:30Z" level=debug msg="Skipping event from kubernetes &Endpoints{ObjectMeta:ObjectMeta{Name:kube-scheduler,GenerateName:,Namespace:kube-system,SelfLink:/api/v1/namespaces/kube-system/endpoints/kube-scheduler,UID:18fd1002-bef5-11e7-8e7d-0ae8f2922d04,ResourceVersion:589500,Generation:0,CreationTimestamp:2017-11-01 11:09:15 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{control-plane.alpha.kubernetes.io/leader: {"holderIdentity":"ip-10-0-45-122","leaseDurationSeconds":15,"acquireTime":"2017-11-03T15:31:04Z","renewTime":"2017-11-06T15:44:30Z","leaderTransitions":1},},OwnerReferences:[],Finalizers:[],ClusterName:,},Subsets:[],}"
time="2017-11-06T15:44:30Z" level=debug msg="Look for provided certificate to validate [api-staging.<redacted>.com]..."
time="2017-11-06T15:44:30Z" level=debug msg="No provided certificate found for domains [api-staging.<redacted>.com], get ACME certificate."
time="2017-11-06T15:44:30Z" level=debug msg="Challenge GetCertificate api-staging.<redacted>.com"
time="2017-11-06T15:44:30Z" level=debug msg="ACME got domain cert api-staging.<redacted>.com"
2017/11/06 15:44:30 server.go:2848: http: TLS handshake error from <IP_ADDRESS>:48876: EOF
time="2017-11-06T15:44:30Z" level=debug msg="Look for provided certificate to validate [api-staging.<redacted>.com]..."
time="2017-11-06T15:44:30Z" level=debug msg="No provided certificate found for domains [api-staging.<redacted>.com], get ACME certificate."
time="2017-11-06T15:44:30Z" level=debug msg="Challenge GetCertificate api-staging.<redacted>.com"
time="2017-11-06T15:44:30Z" level=debug msg="ACME got domain cert api-staging.<redacted>.com"
2017/11/06 15:44:31 server.go:2848: http: TLS handshake error from <IP_ADDRESS>:48878: EOF
time="2017-11-06T15:44:32Z" level=debug msg="Received event from kubernetes &Endpoints{ObjectMeta:ObjectMeta{Name:kube-scheduler,GenerateName:,Namespace:kube-system,SelfLink:/api/v1/namespaces/kube-system/endpoints/kube-scheduler,UID:18fd1002-bef5-11e7-8e7d-0ae8f2922d04,ResourceVersion:589501,Generation:0,CreationTimestamp:2017-11-01 11:09:15 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{control-plane.alpha.kubernetes.io/leader: {"holderIdentity":"ip-10-0-45-122","leaseDurationSeconds":15,"acquireTime":"2017-11-03T15:31:04Z","renewTime":"2017-11-06T15:44:32Z","leaderTransitions":1},},OwnerReferences:[],Finalizers:[],ClusterName:,},Subsets:[],}"

Traefik does actually work, except SSL certificates are not used properly (I get a NET::ERR_CERT_AUTHORITY_INVALID error in chrome). Firefox gives the following info:
https://<redacted>.com/docs

Peer’s Certificate issuer is not recognized.

HTTP Strict Transport Security: false
HTTP Public Key Pinning: false

Certificate chain:

-----BEGIN CERTIFICATE-----
MIIF+jCCBOKgAwIBAgITAPrxPPwM/VAWTNiY/miE+ceI7zANBgkqhkiG9w0BAQsF
ADAiMSAwHgYDVQQDDBdGYWtlIExFIEludGVybWVkaWF0ZSBYMTAeFw0xNzExMDYx
MzQ3NTBaFw0xODAyMDQxMzQ3NTBaMCYxJDAiBgNVBAMTG2FwaS1zdGFnaW5nLmZp
bmRhcGxheWVyLmNvbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVQ
nAYDeBqf5C0fA0vvMSKWMUFZfxTX9U4XnrfgSLy7SV93oknzeck5NoNkwaKf2/LV
bM830FFWaDl7tn5DyQooINSyusRHhmLXnhjGkuHg/esXzml9wmOkAYAEJ+tZ80G0
IzSPY3OLTg5xVLquUEh4VOoLVRXoqPDV527/ZsUTGWb8lQV3YYOnghFQdVfpD2UD
h4vxlfvBnjmkaURmYksRQxf2mMS8o4xx0weHwp3vBynlctiqLbGAryizroGxLuzq
hH9pB59zdiMN8x7f4HvYab7KgQ/ywBKWYcfONYfsgpEcqE1G6bNVZ8MHVdsIEd/z
El0gU/EkTIqaO9Oq9SZtzUED97JpnCr/wJym2Jy1lvu7Js0TInbMuH5/T4iIulhv
tsu4k6oqeE3pwWxg7oPqLFW8O4SJI5ERVplsgC8r8j9zhzwLGYL3xWrPtA8hk631
IS5G4HfxqjAuMdK0NDxbBrk82VCWe4aPXasHiYtK3yiiKcaM65tL15E3DtBcJ5WF
yfz5fjp0t+/S+Ds2keIHSaWs5rnnEseTly9Af4GnO4hCxi/0I4KW2R6o+cMU3yP1
xTpMCz4mjGMJdbQeW/tU/2OgbjThqTlAvGTaDEx3zqxcYv21iT9c919Re5xyjjcm
QmIWq0j+zrkaPbvbyPUo18h7YRz2g3cIKzjmRnFVAgMBAAGjggIjMIICHzAOBgNV
HQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1Ud
EwEB/wQCMAAwHQYDVR0OBBYEFE9UyLwFLxsDWk+Uk/ATQa2NiVYcMB8GA1UdIwQY
MBaAFMDMA0a5WCDMXHJw8+EuyyCm9Wg6MHcGCCsGAQUFBwEBBGswaTAyBggrBgEF
BQcwAYYmaHR0cDovL29jc3Auc3RnLWludC14MS5sZXRzZW5jcnlwdC5vcmcwMwYI
KwYBBQUHMAKGJ2h0dHA6Ly9jZXJ0LnN0Zy1pbnQteDEubGV0c2VuY3J5cHQub3Jn
LzAmBgNVHREEHzAdghthcGktc3RhZ2luZy5maW5kYXBsYXllci5jb20wgf4GA1Ud
IASB9jCB8zAIBgZngQwBAgEwgeYGCysGAQQBgt8TAQEBMIHWMCYGCCsGAQUFBwIB
FhpodHRwOi8vY3BzLmxldHNlbmNyeXB0Lm9yZzCBqwYIKwYBBQUHAgIwgZ4MgZtU
aGlzIENlcnRpZmljYXRlIG1heSBvbmx5IGJlIHJlbGllZCB1cG9uIGJ5IFJlbHlp
bmcgUGFydGllcyBhbmQgb25seSBpbiBhY2NvcmRhbmNlIHdpdGggdGhlIENlcnRp
ZmljYXRlIFBvbGljeSBmb3VuZCBhdCBodHRwczovL2xldHNlbmNyeXB0Lm9yZy9y
ZXBvc2l0b3J5LzANBgkqhkiG9w0BAQsFAAOCAQEAX8XVCriVErAW09aaGkAw+ZsZ
nebQbCKe+2Fyb4tA+f5bVNizI4ptxg1rifJievfmThJHWvKMU7H4zVP56pC9fOll
yF4UiGXHrWbEucZJiYJWm6CVcUrVJY9q+X/eOUI173WKNIlSHyftJQrM0r80G9mS
4v6lGtWbguiSSkDACnjP4KSwTwaeqA8qZ7FwW5TduE8qFVzcaN5/8dvONQpWaD1t
/aH1xgQj1KzgzFed3bl0498UH0Cu6KjHm8XtyuEiRfpUPg4TxeFruLwt5qY8X2MF
6pwg56Hr5wGCR7fU7whqd4E7mH/8uLv5InGUI14shVSY3qdhl4VNW2B7J9Pz2Q==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIEqzCCApOgAwIBAgIRAIvhKg5ZRO08VGQx8JdhT+UwDQYJKoZIhvcNAQELBQAw
GjEYMBYGA1UEAwwPRmFrZSBMRSBSb290IFgxMB4XDTE2MDUyMzIyMDc1OVoXDTM2
MDUyMzIyMDc1OVowIjEgMB4GA1UEAwwXRmFrZSBMRSBJbnRlcm1lZGlhdGUgWDEw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDtWKySDn7rWZc5ggjz3ZB0
8jO4xti3uzINfD5sQ7Lj7hzetUT+wQob+iXSZkhnvx+IvdbXF5/yt8aWPpUKnPym
oLxsYiI5gQBLxNDzIec0OIaflWqAr29m7J8+NNtApEN8nZFnf3bhehZW7AxmS1m0
ZnSsdHw0Fw+bgixPg2MQ9k9oefFeqa+7Kqdlz5bbrUYV2volxhDFtnI4Mh8BiWCN
xDH1Hizq+GKCcHsinDZWurCqder/afJBnQs+SBSL6MVApHt+d35zjBD92fO2Je56
dhMfzCgOKXeJ340WhW3TjD1zqLZXeaCyUNRnfOmWZV8nEhtHOFbUCU7r/KkjMZO9
AgMBAAGjgeMwgeAwDgYDVR0PAQH/BAQDAgGGMBIGA1UdEwEB/wQIMAYBAf8CAQAw
HQYDVR0OBBYEFMDMA0a5WCDMXHJw8+EuyyCm9Wg6MHoGCCsGAQUFBwEBBG4wbDA0
BggrBgEFBQcwAYYoaHR0cDovL29jc3Auc3RnLXJvb3QteDEubGV0c2VuY3J5cHQu
b3JnLzA0BggrBgEFBQcwAoYoaHR0cDovL2NlcnQuc3RnLXJvb3QteDEubGV0c2Vu
Y3J5cHQub3JnLzAfBgNVHSMEGDAWgBTBJnSkikSg5vogKNhcI5pFiBh54DANBgkq
hkiG9w0BAQsFAAOCAgEABYSu4Il+fI0MYU42OTmEj+1HqQ5DvyAeyCA6sGuZdwjF
UGeVOv3NnLyfofuUOjEbY5irFCDtnv+0ckukUZN9lz4Q2YjWGUpW4TTu3ieTsaC9
AFvCSgNHJyWSVtWvB5XDxsqawl1KzHzzwr132bF2rtGtazSqVqK9E07sGHMCf+zp
DQVDVVGtqZPHwX3KqUtefE621b8RI6VCl4oD30Olf8pjuzG4JKBFRFclzLRjo/h7
IkkfjZ8wDa7faOjVXx6n+eUQ29cIMCzr8/rNWHS9pYGGQKJiY2xmVC9h12H99Xyf
zWE9vb5zKP3MVG6neX1hSdo7PEAb9fqRhHkqVsqUvJlIRmvXvVKTwNCP3eCjRCCI
PTAvjV+4ni786iXwwFYNz8l3PmPLCyQXWGohnJ8iBm+5nk7O2ynaPVW0U2W+pt2w
SVuvdDM5zGv2f9ltNWUiYZHJ1mmO97jSY/6YfdOUH66iRtQtDkHBRdkNBsMbD+Em
2TgBldtHNSJBfB3pm9FblgOcJ0FSWcUDWJ7vO0+NTXlgrRofRT6pVywzxVo6dND0
WzYlTWeUVsO40xJqhgUQRER9YLOLxJ0O6C8i0xFxAMKOtSdodMB3RIwt7RFQ0uyt
n5Z5MqkYhlMI3J1tPRTp1nEt9fyGspBOO05gi148Qasp+3N+svqKomoQglNoAxU=
-----END CERTIFICATE-----

@johnhamelink The symptoms you are experiencing differ from those of the original bug submitter.
Please ask your question on:

Stack Overflow using the "traefik" tag
the Traefik community Slack channel

@ldez Yes you are right, I have removed my previous comment as it would probably cause more confusion than anything else!

@ldez how can i assist with more info on this?

@MichaelErmer I have already analyze the problem. It's in Go itself.
For now I don't have a clean solution.

Closed by #2420.