High-contrast mode: Search form should define a border

This is a bug specific to Windows high-contrast mode. cc @kbayliss who did the testing for this.

High contrast will override the border colour for forms, though the search box does not define one so it appears lost. Adding a 1px border (of any colour) resolves that.

Current:

Proposed:

Hey @thibaudcolas, can I take this up?

Hi @prakhar-asaiya, definitely! Please take a look at our Contributing to Wagtail guide first.
Once you’re set up, I would expect the change to be needed somewhere around here:
https://github.com/wagtail/wagtail/blob/95693efc108c30ffecb6bbc1e563efb9e1183559/client/scss/components/_header.scss#L100-L106
It’ll be worth reviewing options on what would be the most correct change so we fix the issue for high-contrast mode users without changing how the UI works for others.

Hi @thibaudcolas , I was thinking to add outline: 1px solid transparent. This seemed to work in wagtail bakerydemo, as it showed a border in only WHCM. Could you please look into this and tell me whether this the right direction or not?

@prakhar-asaiya ah yes, I hadn’t thought of this but that sounds like a great idea. Or border: 1px solid transparent? Either way please also add a comment in the code so we note this is for high-contrast moe.
Could you take screenshots of the result and post them here for reference?

Sure @thibaudcolas. Here the the screenshots for reference as tested on wagtail bakerydemo.
So this is how it looks originally without adding border :

And this is how it looks after adding border :

That added styling doesn't affect the normal view (without WHCM) :

If this sounds right, I'll go ahead and add a PR with the necessary changes.

@prakhar-asaiya
I am trying to set up the project locally but I am having issues.
When I compile and run npm start nothing is happening after the message webpack compiled successfully.
Can you please help me?


Lowercase tf.print when print is a function?

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): n/a
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): n/a
TensorFlow installed from (source or binary): n/a
TensorFlow version (use command below): n/a
Python version: n/a
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: n/a
GPU model and memory: n/a
Exact command to reproduce: n/a

Describe the problem
Since TensorFlow must be compatible with Python 2.7, tf.Print is uppercase.  However, tf.print would work fine for Python 3 users and Python 2 users with from __future__ import print_function?  There's no difficulty adding this to the source, since all TensorFlow source files have from __future__ import print_function, and it wouldn't interfere with any other 2.7 users.
Objections to me adding?

For API change: Looks good, go ahead :)

@girving did you find a fix or workaround for the issue regarding the Xcode upgrade? I'm getting the same error.

@girving : There are a few other improvements to tf.Print that we were thinking of folding into tf.print (so that it appears and acts a little more like print). So, we're considering undoing this export for the 1.10 release (which will be cut on July 12) and then restoring it for the next release.
Please speak up loudly if you object :)

So the idea is that tf.Print and tf.print would have incompatible behavior?  This seems like a bad idea to me if so, but I don't object strongly enough to work to prevent the mistake.
Note that tf.print is accessible only from Python 3 or Python 2.7 with from __future__ import print_function.  Making functionality available only with that constraint and making the natural alias do something different would be confusing.
If I've misunderstood and they'll have the same behavior, then I'm not unsure why it needs to be removed and then added back.

Discussed with Martin in person.  I'm fine with the change.  Amused, even.

Nagging Assignee @asimshankar: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

tf.print has now been added as an operator.


Hey! Would be great if you could credit the original author

Hey! Thanks for using my portfolio design 😊 Happy to see someone using it.
I saw that in the README there is no credit given to the original source (https://github.com/Posandu/portfolio), so mentioning the original source would be fine.
Thanks!

Fixed. You can see the readme now.


ball and BallMatrix interface

Scalar operations

[ ] elementary functions
[ ] mixed ball/number operations (#3 )
[ ] how to represent empty set/ real line e.g. Ball(0, NaN) -> empty set, Ball(0, Inf) --> real line, Ball(0+im, Inf) --> complex plane
[ ] how to handle division by zero and other exceptions (square root, log, etc.)

Matrix operations

[x] FFT
[ ] linear systems
[ ] factorizations
[ ] matrix functions
[ ] matrix characterization (M, Z, P, H, etc., etc.)
[x] BallVector (define BallArray and have BallMatrix and BallVector aliase)

Infrastructure

[ ] docs
[x] test
[x] autoformatting + on CI

[ ] Special matrices


added further reading

Thanks, but we have other places for links.

@timdorr would it be better if I added it here? https://redux.js.org/introduction/learningresources#middleware


ignore malicious ballots during sync

Motivation

Closes #2697

Changes

the block part is done in https://github.com/spacemeshos/go-spacemesh/pull/3189
same should be done for ballots.

@evt please review. thank you.

bors merge


horizontal polyline - mouseover

It looks like hovering over some clickable polylines is not correctly recognized, which makes them really hard to click on.
It also seems to be only an issue with nearly horizontal lines. Alll other lines behave correctly.
There's a fiddle on http://stackoverflow.com/questions/32882523/how-to-apply-css-on-polylines-leaflet where you can see the problem:
If you hover over the top line the cursor doesn't always change to 'pointer'. Hovering over the two bottom lines works fine, though.
Any idea how to fix this?

Can't reproduce the bug on either firefox or chrome. Hovering over horizontal SVG lines works just as expected, as fas as I can see.
Do you have any specific environment this is reproducible in? If not, it's unlikely we'll accept this as a bug.

Nope, no specific environment.
If you won't mind you could try the same fiddle  and change the css to:
#map { height: 300px; }
.my_polyline {
stroke: green;
fill: none;
stroke-width: 50;
}
as it's more apparent with thicker lines, escpecially when hovering in from the top.
Here's a screenshot:

But if it's not reproducable on your side, then I suppose it might not have been leaflet.

With a thickness of 50 px it still behaves as expected on my side.
What browser are you using, anyway?

I only has the issue on firefox 38.6.1.
Just tested IE11 and it's working fine.

My advice then is to upgrade your Firefox up to v44.
We do care for outdated browsers, but this seems like just a glitch and not a breaking bug, not really worth the time to research and fix it. It might as well be a (now fixed) upstream SVG bug.


Customizing the TagCell

Hey, lucifer, thanks for creating this project and explaining it, it was very helpful.
Actually I am trying to customize the cell, and it should look like the below picture.

So as you can see in the above image, their is Music and an arrow mark, so both  should be clicked separately, when selecting, because it has different actions. Music click will do a different action and arrow click will do a different action.
So can you please help me out in doing this.

@luceefer can you please look at the issue.

@RanjitKadam, sorry for late reply. I have GitHub notification turned off, so I don't know about your comment :(
About the cell, I suggest doing the following things:

You know that, the FlowLayout which we customized, is responsible for calculating cell size and place cell in right position. With your cell, you should update the method in the LayoutDelegate class to correctly calculate width and height of your cell, corresponding with the text. For example: Music take 100 points wide, plus left and right spacing, plus size of arrow mark. Do not forget to add spacing between cells.
About buttons click, you should extends UICollectionViewCell, then drag your button outlets to this class, handle click from cell class itself. You can send click events to your controller by create a CellDelegate with two distinct functions for your two buttons.

Please try and hope my answer is not too late for you.

@luceefer, Thanks for replying, I managed to do this, here is my flowLayout code, but some times the cells do arrange them properly, their is gap between two cells. here is my flowLayout code
import UIKit
class FlowLayout: UICollectionViewFlowLayout {

    override func layoutAttributesForElementsInRect(rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
        var newAttributesForElementsInRect = [UICollectionViewLayoutAttributes]()
        // unwrap super's attributes
        guard let attributesForElementsInRect = super.layoutAttributesForElementsInRect(rect) else { return nil }

        // modify attributes

        var leftMargin: CGFloat = 8.0;

        for attributes in attributesForElementsInRect {

            let itemAttributesCopy = attributes.copy() as! UICollectionViewLayoutAttributes

           print("attCopy",itemAttributesCopy.frame.size.width)
            print("left",leftMargin)
            print("collWidth",self.collectionView?.frame.size.width)

            print("sectionInset",self.sectionInset.left)

            if( itemAttributesCopy.frame.size.width + leftMargin > self.collectionView?.frame.size.width)
            {
                leftMargin = 8.0
            }
            if (itemAttributesCopy.frame.origin.x == self.sectionInset.left) {
                leftMargin = self.sectionInset.left
            } else {

                 print("itemAttributeCopy",itemAttributesCopy.frame)

                var newLeftAlignedFrame = itemAttributesCopy.frame
                newLeftAlignedFrame.origin.x = leftMargin
                itemAttributesCopy.frame = newLeftAlignedFrame
                 print("newFrame",newLeftAlignedFrame)
            }
            leftMargin += itemAttributesCopy.frame.size.width + 8
             print("finalleftMargin",leftMargin)

            newAttributesForElementsInRect.append(itemAttributesCopy)
        }

        return newAttributesForElementsInRect
    }
}

Can you tell me whether it is correct?

@RanjitKadam, I can not tell you whether your code is correct or not, but I prefer to talk about how it work.
First, the problem here is, we want to calculate exact left position of the cell. Also exact width of the cell too. Note that, the height is not too important.
Second, because of auto-layout and other things, width of the cell can be inaccurate when this method is called, my suggestion is manually calculate the width too, beside the left. Mostly, the layout works incorrectly because of:
leftMargin += itemAttributesCopy.frame.size.width + 8
This line may not correctly calculate width of item.
Finally, you already know that value 8 is manually inserted padding, right? For example, 8 shall be space between leading edge of UICollectionView to leading edge of first cell in each line, and 8 shall be space between cells too.

@luceefer , I have few doubts,

exact left position of the cell, is w.r.t to the other cell or w.r.t to the collectionView
How to calculate exact width of cell manually?

@RanjitKadam

To the collectionView.
ExactWidth of cell = width of all elements inside cell plus all horizontal spaces

The problem here, is text.
If you have image, button, then you should have their widths already.
But with text, you should calculate its width, for example:

"Music" -> take 60 point with font size 14
"Stream" -> take 72 point with font size 14

Refer to http://stackoverflow.com/questions/19128797/calculating-uilabel-text-size for calculating text size, take width of calculated frame. Add add to your calculation above.
Do not forget that, maximum width shall not exceed width of the collection view itself.


Extract Variable buttons disabled until I edit the suggested name

The Preview and Refactor buttons are initially disabled. They shouldn't be.

Well they are disabled because until you change the name there's nothing to preview/apply because it has already been set as the default name by the refactoring.
But now that I fixed the inplace renaming, extract variable will show the red rectangle instead of the popup, so this issue has become obsolete.


Added anonym auth access when credentials missing

Thanks for the PR, make sure to lint the changes first and the rest should be fine. (yarn lint and yarn format to make it attempt to auto fix).
Forgot to enable lint checking in PRs so they should be enabled now.


Error in module.ngFactory. Calling function 'document', function calls are not supported

OS?
windows 10
Versions.
@angular/cli: 1.0.0-beta.31
node: 7.1.0
os: win32 x64
@angular/common: 2.4.7
@angular/compiler: 2.4.7
@angular/compiler-cli: 2.4.7
@angular/core: 2.4.7
@angular/forms: 2.4.7
@angular/http: 2.4.7
@angular/platform-browser: 2.4.7
@angular/platform-browser-dynamic: 2.4.7
@angular/platform-server: 2.4.7
@angular/router: 3.0.0
@angular/upgrade: 2.4.7
@ngtools/webpack: 1.2.9
Repro steps.
Webpack aot plugin was used to compile the angular app.
The intention of this part code is to retrieve server-side state stored in a hidden element by using document.querySelector
In module.ts,
import { StoreModule } from '@ngrx/store';
import { getRehydratedState } from './rehydratedState';
@NgModule({
    imports:[
        StoreModule.provideStore(reducer, getRehydratedState('RehydratedState') )
    ]
})

in rehydratedState.ts
export function getRehydratedState(selector: string): string {
    return document.querySelector(selector).textContent;
}

The log given by the failure.
Error encountered resolving symbol values statically. Calling function 'document', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol getRehydratedState...
Mention any other details that might be useful.
Seems like angular static analyzer doesn't like document

you can't have function calls in your decorators. Decorators need to be static.

What @deebloo said. The Angular annotations are supposed to be fully static.


[Packaging] Add Dockerfile.mariner to support Mariner build

[Packaging] Add Dockerfile for mariner
[Packaging] Update Readme to reflect mariner build steps
[Packaging] Fix test for fedora Dockerfile

Description

Add docker build support for creating azure-cli.rpm for CBL-Mariner.
Update the Readme to document mariner specific build.
Update Dockerfile.fedora to include the az --version.

Testing Guide

Created a dev rpm and tested it with installation & uninstallation.
Step 14/14 : RUN rpm -i ./azure-cli-*-1*.rpm &&     az --version
 ---> Running in 0d18c0d9c386
WARNING: You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
azure-cli                         2.29.0 *

core                              2.29.0 *
telemetry                          1.0.6

Python location '/usr/bin/python3.7'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.7.10 (default, Sep 28 2021, 20:29:11)
[GCC 9.1.0]

Legal docs and information: aka.ms/AzureCliLegal

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
Removing intermediate container 0d18c0d9c386
 ---> 5b549ca69286
Successfully built 5b549ca69286
Successfully tagged azure/azure-cli:mariner-builder

History Notes

NA

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

@yonzhan, @kairu-ms, @jiasli -- Team, a gentle reminder on this.
Do we have an update for this PR.


Lib should not : throw new InvalidFrameException( "bad rsv " + rsv );

On Draft_10.java when rsv is != 0 it throws InvalidFrameException but the RFC states :
https://tools.ietf.org/html/rfc6455#page-28

 RSV1, RSV2, RSV3:  1 bit each
 MUST be 0 unless an extension is negotiated that defines meanings
 for non-zero values.  If a nonzero value is received and none of
 the negotiated extensions defines the meaning of such a nonzero
value, the receiving endpoint MUST _Fail the WebSocket
Connection_.

So it should be the role of the user of your lib to fail if non-expected rsv value is received.

Hello @DeepSnowNeeL ,
you are mixing up different specs!!
Draft_10 is an implementation of Hypi 10.
The spec you are revering to is implemented with Draft_17!
Greetings
marci4

Allright ! Thanks for the info :)


open_zarr: PermissionError with multiple processes despite use of ProcessSynchronizer

What happened?
Several processes read and write to a xarray stored in .zarr format, on a network.
The write operations write to existing regions. These regions are not aligned to chunks, therefore I use a ProcessSynchronizer.
The ProcessSynchronizer points to a local folder on SSD, separate from the actual stored array.
After several hundreds of read/write I get permission errors like below.
So far I have failed to reproduce the error with a MCVE.
The file 0 that gave a permission error is the chunk of coordinates of a certain dimension in the dimension folder dim_yyy:
dim_yyy
|-- .zarray
|-- .zattrs
`-- 0

What did you expect to happen?
No permission error.
Minimal Complete Verifiable Example
**I have failed so far to reproduce the error with an MVCE. Here my attempt.**

from pathlib import Path

import dask.array as da
import pandas as pd
import xarray as xr
from dask.distributed import Client
from zarr.sync import ProcessSynchronizer

if __name__ == "__main__":
    path_store = Path(aaa)
    path_synchronizer = Path(bbb) # must exist, and not same location as store

    # create and save a datset to zarr
    s0, s1, s2 = 10, 10, 10
    temperature = da.random.random((s0, s1, s2), chunks=[s0, s1, s2])
    precipitation = da.random.random((s0, s1, s2), chunks=[s0, s1, s2])
    lon = da.random.random((s0, s1))
    lat = da.random.random((s0, s1))
    time = pd.date_range("2014-09-06", periods=s2)
    reference_time = pd.Timestamp("2014-09-05")
    ds = xr.Dataset(
        data_vars=dict(
            temperature=(["x", "y", "time"], temperature),
            precipitation=(["x", "y", "time"], precipitation),
        ),
        coords=dict(
            lon=(["x", "y"], lon),
            lat=(["x", "y"], lat),
            time=time,
            reference_time=reference_time,
        ),
        attrs=dict(description="Weather related data."),
    )
    print(f"{ds=}")
    ds.to_zarr(path_store, mode="w")

    def read_write(path_store: Path):
        """lazily opens the dataset, then writes into a region. Comment/uncomment to use synchronizer"""
        synchronizer = ProcessSynchronizer(path_synchronizer)
        for b in range(100):
            # open the saved dataset
            # xr.open_zarr(path_store, synchronizer=synchronizer)
            ds = xr.open_zarr(path_store)

            # process a region
            dst = (
                ds.temperature.isel(x=slice(0, 5), y=slice(0, 5), time=slice(0, 5))
                .to_dataset()
                .load()
            )
            dst["temperature"] = -dst["temperature"]
            dst = dst.drop_vars(["time", "reference_time"])

            # save the region to the zarr store
            dst.to_zarr(
                path_store,
                region={
                    "x": slice(0, 5),
                    "y": slice(0, 5),
                    "time": slice(0, 5),
                },
                # synchronizer=synchronizer,
            )

    # independent processes that perform read and write operations
    with Client(processes=True) as client:
        futures = [client.submit(read_write, path_store) for a in range(1000)]
        client.gather(futures)

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[ ] Complete example — the example is self-contained, including all data and the text of any traceback.
[ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
return xr.open_zarr(path, synchronizer=synchronizer)
  File "C:\anaconda3\lib\site-packages\xarray\backends\zarr.py", line 787, in open_zarr
    ds = open_dataset(
  File "C:\anaconda3\lib\site-packages\xarray\backends\api.py", line 539, in open_dataset
    backend_ds = backend.open_dataset(
  File "C:\anaconda3\lib\site-packages\xarray\backends\zarr.py", line 862, in open_dataset
    ds = store_entrypoint.open_dataset(
  File "C:\anaconda3\lib\site-packages\xarray\backends\store.py", line 43, in open_dataset
    ds = Dataset(vars, attrs=attrs)
  File "C:\anaconda3\lib\site-packages\xarray\core\dataset.py", line 604, in __init__
    variables, coord_names, dims, indexes, _ = merge_data_and_coords(
  File "C:\anaconda3\lib\site-packages\xarray\core\merge.py", line 575, in merge_data_and_coords
    return merge_core(
  File "C:\anaconda3\lib\site-packages\xarray\core\merge.py", line 755, in merge_core
    collected = collect_variables_and_indexes(aligned, indexes=indexes)
  File "C:\anaconda3\lib\site-packages\xarray\core\merge.py", line 365, in collect_variables_and_indexes
    variable = as_variable(variable, name=name)
  File "C:\anaconda3\lib\site-packages\xarray\core\variable.py", line 168, in as_variable
    obj = obj.to_index_variable()
  File "C:\anaconda3\lib\site-packages\xarray\core\variable.py", line 624, in to_index_variable
    return IndexVariable(
  File "C:\anaconda3\lib\site-packages\xarray\core\variable.py", line 2844, in __init__
    self._data = PandasIndexingAdapter(self._data)
  File "C:\anaconda3\lib\site-packages\xarray\core\indexing.py", line 1420, in __init__
    self.array = safe_cast_to_index(array)
  File "C:\anaconda3\lib\site-packages\xarray\core\indexes.py", line 177, in safe_cast_to_index
    index = pd.Index(np.asarray(array), **kwargs)
  File "C:\anaconda3\lib\site-packages\xarray\core\indexing.py", line 524, in __array__
    return np.asarray(array[self.key], dtype=None)
  File "C:\anaconda3\lib\site-packages\xarray\backends\zarr.py", line 68, in __getitem__
    return array[key.tuple]
  File "C:\anaconda3\lib\site-packages\zarr\core.py", line 821, in __getitem__
    result = self.get_basic_selection(pure_selection, fields=fields)
  File "C:\anaconda3\lib\site-packages\zarr\core.py", line 947, in get_basic_selection
    return self._get_basic_selection_nd(selection=selection, out=out,
  File "C:\anaconda3\lib\site-packages\zarr\core.py", line 990, in _get_basic_selection_nd
    return self._get_selection(indexer=indexer, out=out, fields=fields)
  File "C:\anaconda3\lib\site-packages\zarr\core.py", line 1285, in _get_selection
    self._chunk_getitem(chunk_coords, chunk_selection, out, out_selection,
  File "C:\anaconda3\lib\site-packages\zarr\core.py", line 1994, in _chunk_getitem
    cdata = self.chunk_store[ckey]
  File "C:\anaconda3\lib\site-packages\zarr\storage.py", line 1085, in __getitem__
    return self._fromfile(filepath)
  File "C:\anaconda3\lib\site-packages\zarr\storage.py", line 1059, in _fromfile
    with open(fn, 'rb') as f:
PermissionError: [Errno 13] Permission denied: 'xxx.zarr\\dim_yyy/0'

Anything else we need to know?
 But unfortunately I'm not sure there's much we can do — we're passing the sychronizer through to zarr, and would think that's the source of any issues. Can we get any info this is an xarray-specific issue?

Thanks @max-sixty.

Can we get any info this is an xarray-specific issue?

I indeed still do not know.
At the time of posting I made the workaround below. It fixed the issue at the time, and it is still in place.
It is currently not verbose, so I do not know whether it still is catching these errors. I can make these catches verbose and report here in a week whether they are still occurring.

Workaround: my xarray open/load/write operations always use safe methods like below. It uses the retrying library tenacity.
@retry(
    retry=retry_if_exception_type((PermissionError, ValueError)),
    wait=wait_random_exponential(multiplier=0.5, max=30),
    stop=stop_after_delay(3600),
)
def open_safe(path: Path, **kwargs) -> xr.Dataset:
    return xr.open_zarr(path, synchronizer=synchronizer, **kwargs)


include: add log dependency header to connection_handler.h

Description: This file uses spdlog but is missing a header. Causes problems when compiling internally.
Risk Level: Low
Testing: Let the CI run
Docs Changes: N/A
Release Notes: N/A
cc/htuch

@nareddyt seems like you need to fix DCO. Enabling ./support/bootstrap might be helpful too.


Fix docstring in Entity

The JSDoc for Entity.prototype.computeModelMatrix incorrectly stated that the result would be undefined if the entity's position or orientation was undefined. The method actually assumes a default orientation if none was specified.
This PR corrects the doc

Thanks for the pull request @jjhembd!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @jjhembd!


not able to Compile the nbody sample inside the container

I m trying to  execute the usage example  below
Import the CUDA 10.0 image from NVIDIA GPU Cloud
$ enroot import 'docker://$oauthtoken@nvcr.io#nvidia/cuda:10.0-base'
Create a container out of it
$ enroot create --name cuda nvidia+cuda+10.0-base.sqsh
$ enroot list
cuda
Compile the nbody sample inside the container
$ enroot start --root --rw cuda sh -c 'apt update && apt install -y cuda-samples-10.0'
Here i m getting below error.
dgx-cn:/etc/apt/sources.list.d$ enroot start --root --rw cuda sh -c 'apt update && apt install -y cuda-samples-10.0'
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Temporary failure resolving 'developer.download.nvidia.com'
Err:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease
Temporary failure resolving 'developer.download.nvidia.com'
Err:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
 They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cuda-samples-10.0
E: Couldn't find any package by glob 'cuda-samples-10.0'
E: Couldn't find any package by regex 'cuda-samples-10.0'

I have a requirement to use enroot in my project on DGX A100.
Could you please share a proper step by step learing and usage for Enroot for CUDA,Tenserflow,Pyaxis,Pytroch.slurm and importing containers from NGC and enroot them .

Looks like you have DNS issues, can you resolve these domain on your host? Do you have any specific DNS config?

We are using proxy ....no dns problem

You should configure it in the container accordingly then


I keep getting error "Youtube-dl download failed [<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>]" when trying to update Youtube-DLG

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dl-gui version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[x] I think my problem is NOT with youtube-dl
[x] I've verified and i assure that I'm running youtube-dl-gui 0.4
[x] I assure that i am using the latest version of youtube-dl
[x] Searched bugtracker
[x] I've read the FAQs file

What is the purpose of your issue?

[x] Bug report
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Please remove any sections between (---) if they are not related to your issue

Bug report
If the problem occurs when downloading a URL please provide the full verbose output as follows:

Restart youtube-dl-gui
Go to Options > Extra tab
Enable Debug youtube-dl
Go to Options > Advanced tab and Clear your log content
Try to download the URL
Copy the whole log content and insert it between the ``` part below

Exception in thread Thread-3:
Traceback (most recent call last):
  File "threading.pyc", line 801, in __bootstrap_inner
  File "youtube_dl_gui\downloadmanager.pyc", line 599, in run
  File "youtube_dl_gui\downloaders.pyc", line 162, in download
  File "youtube_dl_gui\downloaders.pyc", line 337, in _create_process
  File "subprocess.pyc", line 390, in __init__
  File "subprocess.pyc", line 640, in _execute_child
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyc", line 801, in __bootstrap_inner
  File "youtube_dl_gui\downloadmanager.pyc", line 599, in run
  File "youtube_dl_gui\downloaders.pyc", line 162, in download
  File "youtube_dl_gui\downloaders.pyc", line 337, in _create_process
  File "subprocess.pyc", line 390, in __init__
  File "subprocess.pyc", line 640, in _execute_child
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden

What operating system do you use ?
List of actions to perform to reproduce the problem:

..
..
..

What is the expected behaviour ?
I'm trying to update youtube-dlg after installing everything, since I got a new PC and everything worked wonderfully.
What happens instead ?
It immediately gives me the error "Youtube-dl download failed [<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>]".
I've already tried adding "--no-check-certificate" in options with no success.
Feature request (request for a new functionality)
Please make sure that the requested feature is NOT already in the TODO list

[x] I've verified and i assure that my requested feature is NOT in the TODO list

What operating system do you use ?
Win10

When trying to update it immediately gives me the error "Youtube-dl download failed [<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>]".
I've already tried adding "--no-check-certificate" in Options>Extra with no success.
YT downloads don't work either. And yes, I'm aware there is a similar topic created already, but that didn't help me and it's closed.

This is an issue on their side.
I'm also on a fresh install of Windows, and nothing about this program works properly.
I had to install YTDL from another source and manually set it up for the program to even work, and even then it doesn't finish converting properly.

Someone needs to make an alternative.

Why don't you go ahead and do it yourself? The first working release of Tartube only took five or six weeks, and that includes the time spent learning Python.
I can think of several ways that someone could write their own app:

Start with the youtube-dl-gui code. Update it from python 2 to python 3. Work out how to package it.
Start with the Tartube code. Remove everything that you find too convoluted. Full packaging instructions are already published, so you can use that
Write a completely independent GUI for youtube-dl. This would not be difficult, especially if you don't want a lot of features
Write a completely independent GUI and don't use youtube-dl at all. Most video sites (including YouTube) provide an RSS feed for channels and playlists, so you can just read that, and then download the video files you don't already have

This is an issue on their side. I've been trying to get this to work for a week.
I'm also on a fresh install of Windows, and nothing about this program works properly.
I had to install YTDL from another source and manually set it up for the program to even work, and even then it doesn't finish converting properly.
Someone needs to make an alternative.
I had the EXACT issue as you, there's no solution anywhere and the other issues mentioning it get closed.
Tartube doesn't work well and is overly convoluted.

Glad to hear I'm not the only one. Hopefully they'll fix this soon if it's not on my end.
Never heard of Tartube but I'll give it a shot.

@Teutowolf, this project is not being updated any more, so don't look forward to a fix. Tartube is here if you want to try it.

@axcore I tried downloading a video in classic mode in .mp3 but it gives me an error saying "ERROR: requested format not available"

Someone needs to make an alternative.

Why don't you go ahead and do it yourself? The first working release of Tartube only took me five or six weeks, and that includes the time spent learning Python.

Because I'm a consumer. Nobody cares how long it took you btw.

@Teutowolf In the Classic Mode tab, the format selector is broken in v2.1.051. You can use this workaround or install v2.1.0 instead.

Because I'm a consumer.

Ah, so you are waiting for someone else to do all of the work that you can't be bothered to do yourself.
I hope it's not too long a wait.

Someone needs to make an alternative.

Why don't you go ahead and do it yourself? The first working release of Tartube only took me five or six weeks, and that includes the time spent learning Python.

Because I'm a consumer.

While it is true that tools and services are not above reproach and constructive criticism, you are not in the position to speak for everyone so please check the attitude at the door. It's clear if you read what is being said that it is not boasting, but simply conveying the sense of time and effort that it took to develop the program. Given your response, I'm sure you would not react well if someone had said what you've said about a personal project you worked on, would you? It's not a constructive attitude to have, and definitely does not encourage the person you're talking with to help.
If anything, direct your frustration at the media companies who make tools like youtube-dl desired by people (necessary, IMO) by forcing many asinine restrictions on content.
Yeah, life's tough and it sucks for a lot of people right now. Please be more compassionate and charitable. All this unprovoked hostility is way out of bounds and unnecessary.

@Teutowolf By the way, the broken selector is fixed. I haven't created new installers yet, but you can download the source code from here or from PyPI.

You should delete expired intermediate certificates for Windows 10. See https://github.com/ytdl-org/youtube-dl/issues/7309#issuecomment-172354527.

Because I'm a consumer.

Ah, so you are waiting for someone else to do all of the work that you can't be bothered to do yourself.
I hope it's not too long a wait.

I'd love for someone to make a documentary on OSS, its devs/maintainers, and the amount of time/stress it entails.  Devs used to have the sanctuary of BBS, listserv, or CVS/SVN to shield them, but as VCS/ALM tools have evolved it also reduced the distance between them and ignorant users.  The amount of unrewarded/underappreciated time put into OSS, and the swelling potential for dev burnout is an increasing issue IMO.
Admittedly, i'll curse when I come across an abandoned software project I relied on, and then have to remind myself that I've abandoned popular projects with no warning myself.  There's an org/repo I came across a while ago that helps thwart this paradigm by letting a dev request that someone take over as maintainer, kind of like a payless job board (been meaning to post there myself).  Wouldn't be a bad idea for GitHub to help streamline that process by encouraging stale repo owners to hand the keys over to someone else if there's still devs willing to work on a project, as few people know how to look for active forks.
/raaaaaant

I' ve a definitive solution to this .You can redirect  the download directory for youtube-dl to avoid this error :1.  first locate your "settings.json" usually in  "C:\Users<your user>\AppData\Roaming\youtube-dlg" 2. edit the last line ("youtubedl_path".............. ")
and change the path  to something practical like C:\youtube-dl  3. paste the latest  youtube-dl.exe   downloaded from this  url  https://github.com/ytdl-org/youtube-dl/releases/
Probably you need to make the copy a a fresh .exe  time to time to get the latest version but  its straight and works.
This is a way to  manually update the library avoiding  the certificate error and the lost of time .Enjoy

Seems that installing internet explorer 11 fix also the problem.Damn


Reduce LAMMPS I/O

Make it so LAMMPS runs on a temporary directory on a RAM disk
Fixes #93

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

13 of 14 (92.86%)  changed or added relevant lines in 1 file are covered.
26 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 41.351%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mofa/simulation/lammps.py
13
14
92.86%

Files with Coverage Reduction
New Missed Lines
%

mofa/utils/src/edm.py
26
58.46%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
4138

Relevant Lines:
10007

💛  - Coveralls


Allow opening the details view with the keyboard/mouse using the Context Menu

On the lists, there should be a context menu that allows opening an item in a separated view.

On UX perspective I would recommend - Enter key for keyboard and double click for mouse(already there) to open details view instead of introducing context menu.


Use box-shadow mixin for .form-select

This PR fixes css property box-shadow become invalid when $enable-shadows: true; and one of $form-select-box-shadow or $form-select-focus-box-shadow are null.

This should be backported manually


apiserver uses only one etcd node even when given several

I ran kube-apiserver with five etcd nodes and kube-apiserver only sent reads and writes to one. If I took that node down, all reading and writing to etcd stopped with errors in the log about connection refused to that node's IP. There was no load balancing of reads or writes across the nodes of the cluster.
Using Kube version cb0850d7cf0847c969b2a2988a3c1d60eb49f4ae.
Here's the command line I'm using to start apiserver:
/usr/local/bin/kube-apiserver --address=<IP_ADDRESS> --etcd_servers=http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:4001 --cloud_provider=gce --admission_control=NamespaceLifecycle,NamespaceAutoProvision,LimitRanger,ResourceQuota --allow_privileged=False --portal_net=<IP_ADDRESS>/16 --cluster_name=thekubey --tls_cert_file=/srv/kubernetes/server.cert --tls_private_key_file=/srv/kubernetes/server.key --secure_port=6443 --token_auth_file=/srv/kubernetes/known_tokens.csv --v=2

I haven't yet reproduced this beyond my one instance of kube-apiserver, so if someone could confirm or deny that this is happening more broadly, that would be very helpful.

We just call etcd.NewClient with the list:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cmd/kube-apiserver/app/server.go#L187
https://github.com/coreos/go-etcd/blob/master/etcd/client.go#L86
It looks to me like this doesn't load-balance:
https://github.com/coreos/go-etcd/blob/6c0c031546a10bafb185c792b0b05cf7dccd2754/etcd/requests.go#L356
Assuming sequential consistency, that's the right thing for writes, maybe not for reads, depending on various implementation details. In my experience with similar systems, reads hitting non-leader replicas in the quorum may slow down writes to the master more than reading from the master due to an increase in variance in replicating transactions. To actually scale reads, one needs asynchronously updated (eventually consistent) read-only replicas.

cc @hchoudh

subscribe to the issue.

Sort-of related: #5589

cc: quinton-hoole@

To me, this is totally unacceptable. What's the purpose of using a database like etcd which operates in a cluster if you literally use only one server of the cluster, and go hard down when that server goes down? IMO it should be a 1.0 goal to both load balance across the cluster for reads, and not completely fail if the one etcd node you're using goes down. Keep in mind the current behavior doesn't even recover gracefully to use a different node if the other N nodes of your cluster are up and functioning properly.
I'm out until 4/20 starting tomorrow, but happy to discuss further on this when I return.

Cc @tstclair - I thought you were looking in this area so may want to weigh in.

#6422

@bgrant0607

Assuming sequential consistency, that's the right thing for writes, maybe not for reads,

If you read from one etcd member synchronously, etcd guarantees sequential consistency for both write and read.
If you want to have sequential consistency guarantee across the cluster/clients (linearizable) , you need to use quorum-read. It is kind of expensive today both in throughput and latency. But we plan to improve in the future. Sacrificing latency should be enough.
Let me know if there is anything I can help with.

@ghodss HA is not on the 1.0 roadmap, though we'll want it shortly thereafter. We understand that some people may want it sooner. That would be great -- PRs welcome.
@xiang90 What's the proper way to ensure failover to active/healthy replicas? How long should we expect a client to take to detect a replica failure and to redirect?

I think we can do this in two steps:

Start running etcd in a replicated configuration: Raft propagates writes to all replicas. All reads and writes go through the etcd leader. All reads and writes go through the k8s API server.

Have an API server always running in a "standby" mode on every etcd replica node, except on the etcd replica node that is the etcd leader; that API server is the "active" one. If a node fails, the API server on the node that becomes the new etcd leader becomes the active API server. All reads/write still go through the one active k8s API server. The advantage of (2) over (1) is that failover is very fast.

[Sharding the API server, so all replicas are active, would be a third step that I don't think is necessary any time soon.]
Load-balancing reads across etcd replicas could be introduced at any time but introduces consistency issues, as others have mentioned.

@xiang90 does this matter when you have a 3-node quorum?  If so, how?

So fwiw we see no real issue here, unless you wanted to rotate "initial" traffic across servers, b/c raft will still propagate anyway (thus connection).
What/if any is the actual issue here?
cc @rrati, @jayunit100

Yeah I think this is basically a feature request, not a bug report.

@bgrant0607
Today's client is dump. It can only detect the stop-failure. It should try to connection other members in its list.
If a etcd member is partitioned from the majority, the client will not be aware of that. In this case, the etcd member itself should know it is partitioned and disconnect the client. There are more things we can do at client side too.

See also #5589

/cc @rrati @abhgupta, this is an indeed an issue in the apiserver as it caches the copy so if an etcd server goes down you receive:
Error: Get http://:2379/v2/keys/registry/minions?quorum=false&recursive=true&sorted=true: dial tcp :2379: connection refused

@xiang90 So, is this an etcd client issue?  It sounds like the etcd client isn't actually trying other members in the list if a failure is detected.

@timothysc @rrati I cannot follow.
From @ArtfulCoder's comment, there is only one etcd instance in k8s cluster today. How do you expect the client to fail back to other etcd instances? Can you provide more information?

@xiang90 It's a very easy test.  Setup a cluster similar what @ghodss has decribed.

Setup a etcd 3-node cluster
Startup the apiserver with proper args for etcd
netstat to determine which server the apiserver appears to have chosen
kill that etcd server
apiserver is now hosed, and it doesn't chose any of the other clients that have been provided to the etcd client.
Toast!

@timothysc @rrati Replied in the etcd issue.

I'd like to clarify further why I think this is a critical issue, and why it is a bug and also doesn't conflict with the current 1.0 roadmap.
@ArtfulCoder

The single instance of etcd runs on the mater today. If that node goes down, the entire cluster is hosed anyway. If, just etcd goes down, it is restarted.

To be clear, I am not proposing that any default or primary configuration of kubernetes change to support multiple nodes. However, the beauty of the apiserver/etcd design is that I can hook up apiserver to my multi-node etcd cluster and get redundancy for the cluster state even while kubernetes does not support HA apiserver.
It's completely different for the single master to crash and for me to lose the entire cluster state than for the stateless apiserver to crash and for me to have to simply manually spin up a new one and point it at my etcd cluster. Therefore, in our environment, we run a 5-node etcd cluster to ensure that we do not lose cluster state, but we run apiservers in an active/passive pair since they are not HA yet, which is totally fine. @briangrant I am not saying apiserver should be HA by 1.0, but I do believe that kubernetes should support an HA etcd configuration by 1.0, since it should be minimal work given the current design for tremendous robustness benefit.
For now, coreos/etcd#2677 seems to indicate that the etcd client SHOULD recover on a failure, so more investigation needs to occur to see exactly what's going on.

@ghodss I'm a solid +1 on this and will dig further into the issue.
@xiang90 sorry for the lag, priority inversion.  I'll take a look either this evening or tomorrow a.m.

I've sandbox repro'd the problem here: https://github.com/timothysc/etcdk8s-stress

Same issues for me.
https://github.com/GoogleCloudPlatform/kubernetes/issues/7423

preference is to close this issue in favor of: #11962

SGTM


security header value name

I found a problem while writing documentation based on the example code.

Perhaps now, it seems that the header name is only created as "todo_apikey" in swagger ui.

Maybe this part hasn't been implemented yet?
If so, I have an idea to contribute.

I am sorry, but I don't quite get what is the actual issue here? api_key there is only the name of the security schema to use which must match to security schema in the components. Then that security schema defines the actual specification of what kind of security is being expected for then endpoint. E.g. in this case header named todo_apikey is expected. Typically if the authorization is any type of api key or bearer token the scopes are superfluous. They are usually used with oauth flows.

ah! I guess I'm confused.
I will close the issue.


N-API Documentation not present in "View on single page"

If you click on View on single page" from N-API, then N-API chapter is not present.

Yeah, there’s a weird bug – the N-API docs should not be there anyway yet, see https://github.com/nodejs/node/issues/12833

Thanks. I see it was fixed with #12957.


Diseging menu items related to use case 1

Add styles
Add menu items
Fix #31
Proposed Changes

Add menu itmes related to use case 1
Add related styles

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests
[ x] Build locally
[ ] Code format / lint
[ ] Docs have been reviewed and added

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ x] Feature
[ x] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: #31
User see only one plain interface with not content

Fixes #31
What is the new behavior?

The Interface displays three items menu into use case one, name and description of selected data.
Does this introduce a breaking change?

[ ] Yes
[X ] No

Other information

Exactly what was needed!
Pull request is accepted.


Support for multi-users scenarios on HPC

Tell us about your request
I expect that docker can support multi-users scenarios on High-Performance Cluster. Specifically, I expect docker can provide isolation to limit users' behaviors and separate images and containers created by different users on the server. So far, everyone can access (attach, start, stop) any container that exists. To my understanding, running docker with a user namespace does not provide mentioned features.
Which service(s) is this request for?
Docker engine for ubuntu
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
We have a multi-GPUs server for our lab. Even though the docker is running with a user namespace to avoid getting root permission, everyone in the server can still attach containers created by anyone. That's quite insecure.

There is already rootless mode for this usecase
https://rootlesscontaine.rs/getting-started/docker/

@BenjaminChoou Closing this as we believe rootless addresses your need :)

There is already rootless mode for this usecase
https://rootlesscontaine.rs/getting-started/docker/

Thanks.


WIP: Initial config for waf filter

https://github.com/envoyproxy/envoy/issues/7918
Signed-off-by: Prakasam Kannan<EMAIL_ADDRESS>Commit Message: Initial WAF filter config for review.
Additional Description: https://github.com/envoyproxy/envoy/issues/7918
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

cc. @arifsetiawan

@mattklein123 & @htuch I saw your comments, I primarily work on these during weekend please post your comments and suggested I'll respond to them over the weekend. Thanks for the appreciation and support.

Thanks for getting this going! I'm trying to grok the basic match/watcher/action model to begin with, would you be able to provide some insight into why we have three things here rather than just match/action?

@mattklein123 & @htuch:
I was also ambivalent about having 4 different extension mechanism (Action, RuleMatchCallback, Watchers and Executor), I based the design on the following premise.

Generally an action is either terminal (drop, reset, redirect request) or non terminal (add, modify, delete headers or body) at the time of policy definition.
Sometimes an action are neither terminal or non terminal at the time of definition policy but upon execution yields another action which is terminal or non terminal (External service action which invokes an external service let's day a Bot detector which may in turn return either a terminal or a non terminal action)
Generally upon first policy match, WAF will execute the associated action and stop further policy evaluation.
Sometimes it is desirable to continue policy evaluation when the action is non terminal (add, modify, remove header)

Current design provides for addressing all combination of the above rules through custom implementation of Action, RuleMatchCallback, Watchers and Executor but complicates the design.
Upon further reflection, I wonder if we added an attribute to the policy that specifies whether the policy evaluation should continue even after the match, and the Action to return a boolean that would essentially say if it is safe to evaluate additional policies and execute associated action (this is necessary since some actions become terminal or otherwise only upon execution), we should be able to address most of the above combinations of rules if not all.
This will simplify the design a great deal and we can certainly us iterate and improve the design and implementation in the future. Please let me know at very high level if you want to continue with this approach so I can update the design and Protobuf accordingly and address other related issues.

Sure, that seems a bit simpler, you could even have TerminalAction and NonTerminalAction types if this is static, but it would need to be a return if dynamic. It would be interesting to see a comparison with other WAF rule systems. How complete/expressive is this vs. state-of-the-art?

drive by q.. Functionally, what is in there that cannot be accomplished by the existing RBAC filter in envoy, or even just basic route matching that only allows the matched routes to work while denying the rest? Is there a dynamic rule loading component at play here that is missing in other filter types like rbac? If so, can it be accomplished by providing per-filter chain reload ability or heck, even a simple grpc call out in the existing rbac filter that periodically reloads rbac rules from some central server.

drive by q.. Functionally, what is in there that cannot be accomplished by the existing RBAC filter in envoy, or even just basic route matching that only allows the matched routes to work while denying the rest? Is there a dynamic rule loading component at play here that is missing in other filter types like rbac? If so, can it be accomplished by providing per-filter chain reload ability or heck, even a simple grpc call out in the existing rbac filter that periodically reloads rbac rules from some central server.

@rshriram raises a good point which is whether we should build a new filter or just built actions into the existing RBAC filter. See https://github.com/envoyproxy/envoy/issues/11594 for an example of this. @davidraskin @liminw

That’s another way to do it, since we are proposing now to simplify the design to extend functionality by custom actions. Even in the original proposal we intended to use the same matching engine.

drive by q.. Functionally, what is in there that cannot be accomplished by the existing RBAC filter in envoy, or even just basic route matching that only allows the matched routes to work while denying the rest? Is there a dynamic rule loading component at play here that is missing in other filter types like rbac? If so, can it be accomplished by providing per-filter chain reload ability or heck, even a simple grpc call out in the existing rbac filter that periodically reloads rbac rules from some central server.

@rshriram raises a good point which is whether we should build a new filter or just built actions into the existing RBAC filter. See #11594 for an example of this. @davidraskin @liminw

+1. My preference is also to extend actions in the existing RBAC filter.

+1. My preference is also to extend actions in the existing RBAC filter.

Agreed, let's do that. We can add more actions as needed. @kprakasam can you take a look at https://github.com/envoyproxy/envoy/issues/11594 as inspiration and propose some additional config there for new actions?

Sure

Initial Design Doc - v2
https://docs.google.com/document/d/1PYw3BnqIbX93qv3e-jbPY0lv_alJAQlv9ToVI5OKa5s/edit?usp=sharing

@kprakasam Thanks.. can you make the doc world commentable?

I should be editable for any one with the link I posted. Should I do anything else?

It doesn't need to be editable, just commentable. It still appears to require a request for "edit access" to comment.

+1 please add world comment access.

Commentable link: https://docs.google.com/document/d/1PYw3BnqIbX93qv3e-jbPY0lv_alJAQlv9ToVI5OKa5s/edit?usp=sharing

@mattklein123, @htuch, et al., I have simplified the config and provided examples of how RBAC, IP tagging, reset, drop, redirect, etc. would be configured as an action. I'd appreciate if you guys can provide feedback on if we want to continue down this path in terms of design.

@kprakasam I'd like to know how this and https://github.com/envoyproxy/envoy/issues/11832 relate. Tagging @yangminzhu. I think they are somewhat related, since while #11832 is about access control, there's a common match aspect, and both proposals are about trying to unify interfaces across similar filers, e.g. ext_authz, RBAC.

@kprakasam I'd like to know how this and #11832 relate. Tagging @yangminzhu. I think they are somewhat related, since while #11832 is about access control, there's a common match aspect, and both proposals are about trying to unify interfaces across similar filers, e.g. ext_authz, RBAC.

They are very related while  #11832 just try to create shared matching engine, this one will unify the matching engine and provide ability to execute any Action upon matching condition. ext_authz and RBAC will become an action. Please see the example configurationshere which shows how RBAC, IP_TAGGING, EXT_AUTH will be configured as an action.

@kprakasam @yangminzhu can you folks sync up and see what can be done to reconcile proposals? It would be helpful to have a single proposal or a clear delineation between them to review. Thanks :)

We should have a single matching API shared by many different filters (ext_authz, RBAC, tap and possibly this new waf). @kprakasam is there a reason to introduce a new matching API in the waf filter? does the unified matching API (https://shorturl.at/gkrM3) satisfy your need here? (Please let me know if it doesn't and we can improve it to support)
@htuch my understanding is that this PR is doing something more than the matching API part that I proposed in https://github.com/envoyproxy/envoy/issues/11832, the unified matching API should be part of this new waf filter as well.

@yangminzhu I sent PR on June 1,  before your proposal, if you look at the proposal it is exactly the same, unified matching API and implementation could be a library target shared by waf, rbac, etc.

@yangminzhu I sent PR on June 1, before your proposal,

It's not about who send out the PR/proposal first, I didn't know this until noticed by Harvey. Both the matching API here and the one in my proposal is just based on the RBAC API because it's already used in the control plane (istio) since we originally introduced it. Let's focus on having a better and consistent matching API in Envoy instead of arguing who sent out the PR earlier.

if you look at the proposal it is exactly the same, unified matching API and implementation could be a library target shared by waf, rbac, etc.

It's not the same and actually quite different. The intention is to create a common shared matching API that can be used in different filters, instead of embedding it in any of the specific filter (i.e. filters/http/waf/v3/waf.proto).  And from what I have seen in the PR, it looks like the waf filter doesn't need anything special from the matching API, it can just refer to the unified matching API where is likely to be placed in a common directory. This is the things that we should consolidate and share, does this look good to you?

Let me rephrase I meant to say that I was not aware when I sent the PR of your proposal. I can use your matching API, one thing missing matcher is a CIDR set, which will be useful when blocking multiple CIDR ranges and more efficient.

Thanks, that proposal is still pending for feedback and will have some changes to make sure it support all different use cases (e.g. a CIDR set). Once @mattklein123 is back from vacation, I think it will get some more feedback and we can discuss it further in the next Envoy community meeting, wdyt?

Sure no problem.


Pagination on related models

How can i limit related models? I have a lot of related models for a model.
I want to limit and do pagination on the related models like:
model.fetchPage({
    withRelated: {relation: ["users"], page: page,
    pageSize: 1}
  });

Is there any way to do this?

I found the solution myself
model.fetch({withRelated:['users']});
model.related('users').fetchPage({
    page: page,
    pageSize: 1}
  });

Bookshelf is an awesome library ❤


Caching parsed expressions in sql planner

Description
Druid can parse the same expressions over again while it explores the search space of candidate plans. This PR adds caching parsed expressions per query. This could also be useful when the search space is large. Caching is disabled by default.
SqlBenchmark.planSql() results after applying this and https://github.com/apache/druid/pull/11041. Only the query 19 (the giant union query) shows a noticeable improvement (total ~25%, ~7% for only caching). However, in my testing after I quadrupled the query 19, the gain in planning time was smaller (~11%) than with the original query. This was because of too many candidate plans to explore. I think parallelizing query planning can help in this case, but didn't investigate that idea much because it should be done in Calcite.
master

Benchmark             (query)  (rowsPerSegment)  (vectorize)  Mode  Cnt    Score   Error  Units
SqlBenchmark.planSql        0                 5        false  avgt   15    0.563 ± 0.005  ms/op
SqlBenchmark.planSql        1                 5        false  avgt   15    0.603 ± 0.004  ms/op
SqlBenchmark.planSql        2                 5        false  avgt   15    0.662 ± 0.007  ms/op
SqlBenchmark.planSql        3                 5        false  avgt   15    0.808 ± 0.009  ms/op
SqlBenchmark.planSql        4                 5        false  avgt   15    1.156 ± 0.014  ms/op
SqlBenchmark.planSql        5                 5        false  avgt   15    1.291 ± 0.011  ms/op
SqlBenchmark.planSql        6                 5        false  avgt   15    1.504 ± 0.011  ms/op
SqlBenchmark.planSql        7                 5        false  avgt   15    1.270 ± 0.013  ms/op
SqlBenchmark.planSql        8                 5        false  avgt   15    2.044 ± 0.013  ms/op
SqlBenchmark.planSql        9                 5        false  avgt   15    1.982 ± 0.022  ms/op
SqlBenchmark.planSql       10                 5        false  avgt   15    0.707 ± 0.005  ms/op
SqlBenchmark.planSql       11                 5        false  avgt   15    0.741 ± 0.002  ms/op
SqlBenchmark.planSql       12                 5        false  avgt   15    0.624 ± 0.006  ms/op
SqlBenchmark.planSql       13                 5        false  avgt   15    0.874 ± 0.007  ms/op
SqlBenchmark.planSql       14                 5        false  avgt   15    0.980 ± 0.008  ms/op
SqlBenchmark.planSql       15                 5        false  avgt   15    0.628 ± 0.007  ms/op
SqlBenchmark.planSql       16                 5        false  avgt   15    0.745 ± 0.005  ms/op
SqlBenchmark.planSql       17                 5        false  avgt   15    0.956 ± 0.009  ms/op
SqlBenchmark.planSql       18                 5        false  avgt   15    1.078 ± 0.011  ms/op
SqlBenchmark.planSql       19                 5        false  avgt   15  129.221 ± 0.725  ms/op

patch

Benchmark             (query)  (rowsPerSegment)  (vectorize)  Mode  Cnt   Score   Error  Units
SqlBenchmark.planSql        0                 5        false  avgt   15   0.541 ± 0.003  ms/op
SqlBenchmark.planSql        1                 5        false  avgt   15   0.608 ± 0.004  ms/op
SqlBenchmark.planSql        2                 5        false  avgt   15   0.650 ± 0.003  ms/op
SqlBenchmark.planSql        3                 5        false  avgt   15   0.700 ± 0.008  ms/op
SqlBenchmark.planSql        4                 5        false  avgt   15   1.131 ± 0.007  ms/op
SqlBenchmark.planSql        5                 5        false  avgt   15   1.121 ± 0.004  ms/op
SqlBenchmark.planSql        6                 5        false  avgt   15   1.315 ± 0.015  ms/op
SqlBenchmark.planSql        7                 5        false  avgt   15   1.166 ± 0.011  ms/op
SqlBenchmark.planSql        8                 5        false  avgt   15   1.769 ± 0.014  ms/op
SqlBenchmark.planSql        9                 5        false  avgt   15   1.587 ± 0.017  ms/op
SqlBenchmark.planSql       10                 5        false  avgt   15   0.710 ± 0.003  ms/op
SqlBenchmark.planSql       11                 5        false  avgt   15   0.732 ± 0.005  ms/op
SqlBenchmark.planSql       12                 5        false  avgt   15   0.584 ± 0.005  ms/op
SqlBenchmark.planSql       13                 5        false  avgt   15   0.801 ± 0.005  ms/op
SqlBenchmark.planSql       14                 5        false  avgt   15   0.894 ± 0.005  ms/op
SqlBenchmark.planSql       15                 5        false  avgt   15   0.583 ± 0.007  ms/op
SqlBenchmark.planSql       16                 5        false  avgt   15   0.691 ± 0.003  ms/op
SqlBenchmark.planSql       17                 5        false  avgt   15   0.820 ± 0.005  ms/op
SqlBenchmark.planSql       18                 5        false  avgt   15   0.937 ± 0.007  ms/op
SqlBenchmark.planSql       19                 5        false  avgt   15  97.453 ± 0.540  ms/op

Key changed/added classes in this PR

CachingExprParser

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

@jihoonson

##就是

**### _

[ ] 1. ss

_**

I created https://github.com/apache/druid/pull/11041 so that we can focus on caching expressions in this PR.


Icon positioning incorrect on IE11

Environment
(Reproducible on https://material-ui-pic.firebaseapp.com/)

Tech
Version

material-ui-pickers
v1.0.0-beta.15.1

material-ui
1.0.0-beta.33

React
16.2.0

Browser
IE11

Platform
Windows 7

Steps to reproduce

Open https://material-ui-pic.firebaseapp.com/ in IE11
Look at icon

Expected behavior
Icon positioning should match other browsers
Actual behavior
Icon is too low
Live example

Setting height: 48px; on the MUIInputAdornment root fixes this (and doesn't change layout in other browsers).
Also, adornments are further right on IE11, but that's a material-ui issue (also present on https://material-ui-next.com/demos/text-fields/ whereas this one isn't) - width 100% on the input element.

I think this issue should be open in the material ui repository

Raised as https://github.com/mui-org/material-ui/issues/10342


file path

Type: Performance Issue
copy relative file path does not work.If the file path is linked to a image also,it just doesnt show the file or image.
VS Code version: Code 1.71.0 (Universal) (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:25:38.437Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

Workspace Info
|  Window (File not found — Untitled (Workspace))
|    Folder (calypso): 6 files
|      File types: csslintrc(1) jpeg(1) html(1) css(1)
|      Conf files:;

/gifPlease

gitkraken>settings>general>external editor>dropdown menu——shows only atom and none as options.

On 06-Sep-2022, at 8:27 PM, VSCode Triage Bot @.***> wrote:
Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev https://gifcap.dev/ helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).
Happy coding!
—
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/159993#issuecomment-1238269991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AROMJUIWJHNAJ7OGYOPPTMTV45LVXANCNFSM6AAAAAAQD5KVGU.
You are receiving this because you authored the thread.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


Variable Names

Hello @alla-eddine ,
I've been trying to understand your code and I'm stuck trying to figure out what A0 and Ar matrices stand for in the MPC controller. Could you please explain what all the matrices stand for?
Thanks

Hey,
Those matrices are part of the MPC control method,  which based on the linear tracking error.
To understand more about them you need to read the following article paper:
https://www.sciencedirect.com/science/article/abs/pii/S0921889007000140

Hello @alla-eddine,
Thank you so much for the prompt response. Now everything makes much more sense. I just have a couple of more questions.
When you created the F matrix, why did you do F << A0A0,	A0A0A0,	A0A0A0A0,	A0A0A0A0A0; The paper has a different F where F(k)=[A(k|k) A(k+1|k)A(k|k) ... Λ(k,0)]T.  The first term should just be A0 instead of A0*A0 right?
Am I missing something?
Similarly, the variable H in your code is G in the paper. The first element is just B whereas your H has first element as A0*B.
I would love to understand why you made this choice. Thank you once again

salam @jashmehta20
in the paper the author used a time varying predicted output model F(k)=[A(k|k) A(k+1|k)A(k|k) ... Λ(k,0)]T that can be work with any type of trajectory (circular, infinity, square, ...etc), in my code the turtlebot 3 is tracking a circular trajectory where the reference velocities are constant so no need to use his model, ( for simplicity i just used this model F << A0A0, A0A0A0, A0A0A0A0, A0A0A0A0A0;)
for the sconed question, it doesn't matter what variable name you use H or G you can name it as you like .
for more information : Kalancar the author of the article paper has published a book in 2017 titled " Wheeled-Mobile-Robotics-From-Fundamentals-Towards-Autonomous-Systems "   which contains a very useful control method for wheeled mobile robot and he also provide with the book a full MATLAB code for every chapter ( I basically used his MATLAB code to program this ROS based package ) .
you can find the book and the code in the following links :
book : https://www.sciencedirect.com/book/9780128042045/wheeled-mobile-robotics
code : https://booksite.elsevier.com/9780128042045/manuscript.php   (MPC MATLAB code are in chapter 3)


lerna bootstrap failing

On Debian buster, freshly installed yarn and lerna, freshly downloaded master:
$ lerna bootstrap
lerna notice cli v3.20.2
lerna info Bootstrapping 5 packages
lerna info Installing external dependencies
lerna ERR! npm install exited 2 in '@castaway/lifeboat'
lerna ERR! npm install exited 2 in '@castaway/lifeboat'

Turns out this was a problem caused by installing the default nodejs package from debian repos - it's nodejs v10, and didn't even include npm.  So it was failing for a variety of reasons.
I had to fiddle a bit to find a working solution - eventually got the nodesource package installed, although I had to run as root (not with sudo, but in a root shell session) and needed to run yarn update in the castaway root before lerna bootstrap would run right.
The dump project is working now, I'm still looking into issues with the viewer (which I'm more interested in, although the dump helps a bit with something else I was looking into).  Looks like really great work so far!
I'd opened this because I thought maybe there was something missing in the setup instructions.  Not the problem I thought it was, but a couple suggestions as someone setting this up for the first time:

Might want to mention that RESOUCE.MAP and RESOURCE.001 need to be in /data subdir of the castaway root
looks like "yarn global add lerna" really wants to be run as root (sudo's fine), otherwise it installs in user homedir and probably requires environmental setup and other things to work right.

Hey,
Thanks for looking at the project. I will do those suggestions.
The project structure is a bit weird I can say, not really happy with it.
I have been thinking about the project lately again and thought about focusing on just getting the scenes working correctly to support the story mode and have the viewer as a separate app.
There are some serious issues with JS obj reference due to the way I did the state object and that causes some weird behaviours in the scenes. That part needs a completely knew approach.
I am interesting to know what you plan to do with the project. Let me know if you get some progress.
Cheers,

Lerna no longer used


Fix undefined behavior when Python plugin is given no args

Split() was incrementing the iterator past the end iterator when given
an empty string, which is undefined behaviour, and triggered an assert
when compiled with debug iterators in MSVC.
Fixes #22431

@karthikravis

My employer has signed the CLA, and I am authorised, but I'm having trouble convincing EasyCLA of that fact - I'm trying to figure out why.

We sometimes need to close and reopen the PR to trigger it. Let me give that a shot.

I signed it

(that comment text was what was suggested by https://identity.linuxfoundation.org/projects/cncf but apparently it didn't work - I've associated my LF login with GitHub on two separate "Linux Foundation Identity" pages, and I'm out of ideas - I'll file a JIRA with LF)

Ah, it turns out we signed old v1 CLA, and gRPC no longer uses that (sigh)

Unrelated failure: https://github.com/grpc/grpc/issues/24404


Fortune System - Broken Compass Support

The fortune system is pretty simple. It works via counting matching dice results. You roll a pool of d6s.
If you get;
2 of a kind - Basic Success
3 of a kind - Critical Success
4 of a kind - Extreme Success
5 of a kind - Impossible Success
You can have multiple successes. So if you rolled 6d6 and got 1, 1, 1, 3, 3, 6.
You would have 1 basic success and 1 critical success.

Changed the grouping from ORE to max out at 5. It's in Rollem Next now.


0.5.0 migration

When migrating an xprjson to 0.5.0, convert a Matplolib plot to Matplotlib rather than image
Similar, PlotlyPy widget should be kept, instead of being converted to Plolty JS

Done


Composer is broken in php variant

Running composer returns
env: can't execute 'php': No such file or directory

Symlinking ln -sf /usr/bin/php7 /usr/bin/php appears to fix the issue.

Fixed. Kindly pull the image again.
Thanks.


[Functions] Need a way to enable debug log level in functions running in production

As mentioned in this issue: https://github.com/apache/pulsar/issues/3259
there is currently no way to change the log level of a function to debug level.
For solving the issue here: https://github.com/apache/pulsar/issues/6054
I need to be able to enable debug logging in Pulsar functions to observe the permits behavior of ConsumerImpl.
Only being able to see the permit behavior on the broker tells half of the story and is insufficient for finding the problem.

Running functions in local-run mode is not sufficient to solve the problems linked above.


Angular Material Tooltip stop working after virtual scrolling

I'm submitting a ...  (check one with "x")
[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When one of the datatable cells contains an Angular Material2 Tooltip component, it will stop working after the user scrolls (the datatable is configured with vertical virtual scrolling). When this happens, you can see a blank tooltip shows at the top left corner of the page.
Expected behavior
Material Tooltip should always work regardless the user scrolls or not
Reproduction of the problem

Browse https://stackblitz.com/edit/angular-mq8vbn
move the cursor over the 1st column cell values, you should see 'Hello World' tooltips
now scroll down several rows
move the cursor over the 1st column cell values, this time the tooltip won't work.

(I suspect it might be a zone issues)
What is the motivation / use case for changing the behavior?
It breaks the tooltip
Please tell us about your environment:
N/A

Table version: latest

Angular version: 5.0.0

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Any update on this issue? It also happens when opening a material dialog after virtual scrolling. The dialog won't open unless you wrap it with zone.run()

We experience a similar issue with the ng-bootstrap tooltip if used with a template inside a cell.
The template's data-bindings get lost after scrolling the table rows in and out of view.
Before scrolling...

After scrolling...

<ng-template let-value="value" ngx-datatable-cell-template>
    <ng-template #valueToolTip>
        The value is {{value}}
    </ng-template>

        {{value}}

</ng-template>

This issue only occurs,

if virtualization is enabled in combination with [scrollV]="true",
if Angular 5 is used (Angular 4 is fine with any version of ngx-datatable, such as 10.3 or 11.2),
if a template for ngb-tooltip is used within the ngx-datatable-cell-template.
Directly binding the tooltip text using the ngbTooltip input property is fine, e.g.

. In general, using templates inside
ngx-datatable-cell-template is also working, e.g.:

<ng-template let-value="value" ngx-datatable-cell-template>
        <ng-template #valueToolTip>
             The value is {{value}}
        </ng-template>

             <ng-container *ngTemplateOutlet="valueToolTip"></ng-container>

</ng-template>

Turning off virtualization (<ngx-datatable [virtualization]="false">) or switching to Angular 4 is not an option for us.

I found the root cause:
in file \src\components\body*scroller.component.ts* at ngOnInit(),
The usage of this.ngZone.runOutsideAngular cause the zone issues.
removing this.ngZone.runOutsideAngular solves the issue.
I think that the reason for using this runOutsideAngular() is for perf reasons, however it breaks functionality - in case virtual scrolling is on, you might expect Zone issues and weird things will happen (tooltip not working properly, dialogs opened weird, etc...)
  ngOnInit(): void {
    // manual bind so we don't always listen
    if (this.scrollbarV || this.scrollbarH) {
      const renderer = this.renderer;
      this.parentElement = renderer.parentNode(renderer.parentNode(this.element));
      this.ngZone.runOutsideAngular(() => {
          this.parentElement.addEventListener('scroll', this.onScrolled.bind(this));
      });
    }
  }

This regression came in this commit:
amcdnl@https://github.com/swimlane/ngx-datatable/commit/7227e559107f531fdeaf056d9c79133dcb62fdbf
fix(perf): improved scroll performance

This regression came in this commit:
@amcdnl@7227e55
fix(perf): improved scroll performance

This seems to be the root cause for about a dozen zone / change detection-related problems in the issues list.  Really surprising that this hasn't been fixed - the problem has been there since before Christmas and I've had to keep using v11.0.4 since then as a result.
Is this project still actively maintained and will it ever be fixed?  I hope the answer is "yes" to both as it's a really useful datatable, but the way things are going it might be time to switch to something else...

+1 We are also seeing this error happening when using the datatable. I manually removed the runOutsideAngular wrap which fixed our problem.

I also removed runOutsideAngular, it fixed the problem and I don't see any performance issues without it

Routerlinks stop working when i scroll my data table. I can only get the links to work when I change
this.ngZone.runOutsideAngular(() => {
          this.parentElement.addEventListener('scroll', this.onScrolled.bind(this));
});

to
this.parentElement.addEventListener('scroll', this.onScrolled.bind(this));

If anyone is interested to use a version with scrolling running in zone, you can replace your package.json:
"@swimlane/ngx-datatable": "semanticresearch/ngx-datatable#scroll-in-zone",
The only difference from release v13 is making scrolling happen inside zone:
https://github.com/semanticresearch/ngx-datatable/commits/scroll-in-zone

Fixed in 13.0.1


[DIDStore Tests] Infinite jackson loop on nodejs

during stringify():
store -> metadata -> store -> metadata ...

Fixed by adding @JsonIgnoreType on top of DIDStore


grpcio-tools v1.55.0 with MAC_SDK 11

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

this is using MACOSX_SDK_VERSION / MACOSX_DEPLOYMENT_TARGET 11

I give it one more try with only requiring  the MACOSX_SDK_VERSION but not MACOSX_DEPLOYMENT_TARGET since it is only a mission macro

pinning @conda-forge/core as suggested by https://conda-forge.org/docs/maintainer/knowledge_base.html since we change the MACOSX_SDK_VERSION

1.55 was yanked from PyPi https://pypi.org/project/grpcio


enable kanji option by default

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 3 files are covered.
15 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.08%) to 33.22%

Files with Coverage Reduction
New Missed Lines
%

microqr/encode.go
15
83.54%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
2645

Relevant Lines:
7962

💛  - Coveralls


Bump GMT to 6.3.0

Checklist

[X] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Already merged in https://github.com/conda-forge/gmt-feedstock/pull/178. Closing this PR.


Stepsize not working when min is specified

Expected Behavior
Stepsize should be considered from the min value.

Steps to Reproduce (for bugs)
This is my fiddle - https://jsfiddle.net/4p93aew7/10/

Context
I have a scenario where I have min, max and stepsize of each chart

Environment

Chart.js version: 2.7.2
Browser name and version: Chrome, Firefox

@kashwath the issue is that the range (40-5=35) is not divisible by 8. When this happens, there needs to be 1 uneven step to draw. I don't think we make any guarantees as to which edge the uneven step is on. @simonbrunel @benmccann thoughts?

Another issue with stepSize - see the fiddle. Working on v2.5 and broken on v2.7.2
Step size should be 1.4
https://jsfiddle.net/4p93aew7/37/ ( working - v2.5)
https://jsfiddle.net/4p93aew7/38/  (broken - v2.7.2)

@kashwath The last problem is resolved by #4841.

The last problem was not fixed by #4841 because ticks.precision is effective only if stepSize is not specified. I created a new PR #5786.


Cuts GUI: put cuts as vertical lines on plot

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).

It would be nice to have the cuts shown as vertical lines on the plot. Dan's usage its to always change the cuts and the plot range to be identical.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Fixed this issue with commit a0a61b662a592b8.


Facebook Oauth when published is not working in skype.

I have integrated Facebook Oauth in my bot implementation.It is working fine when tested locally in emulator but when published ,it is not redirecting to the facebook page.Instead it is giving us a bad request in browser.The atachement is the error that we are getting when we click the url that redirects to facebooklogin page.
Please do help to resolve this issue.Thanks in advance.

Hi there. I think we are seeing a similar issue, but with Oauth and facebook messenger. We are currently getting this error:
Facebook graph API call failed with: BadRequest {"error":{"message":"(#100) The parameter [text] is required","type":"OAuthException","code":100,"fbtrace_id":"EKfT60urKRO"}}
on our Facebook messenger channel in the bot framework site. We have 3 other bots running, all with the same setup, all working. I've re-created the bot, the facebook page and the app, still no luck.
Is this a known issue with facebook or the bot connector?
Any feedback would be much appreciated.

Facebook Sample Auth doe not work on Skype but works fine on Emulator. The moment the WebHook goes on to Azure, it stops working. Has anybody got it working ?

this https://github.com/Microsoft/BotBuilder/commit/4de17cc4fddba29454c07d65d2a0a42f249b2182 should solve this issue.


feat: edit checkbox to provide a custom label component and to add an onPress event to the label

To which ticket/issue is this PR linked to?

MGW-620

What does this PR add, change or fix?

Edit the checkbox to make it receive a custom label component to be rendered as a label
Edit the checkbox label to add an onPress event listener

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Code refactoring
[ ] CI/CD or build process changes
[ ] Other

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


friction with cargo install forest-filecoin

If this list gets too big, we should reconsider end-user support for this feature

Actor bundling complexity in our build-script
Shared code between build script and library(?)

@aatifsyed Given that @lemmih wants to keep the crates.io support, should this be closed? Or do you need to discuss it more?


Demo breaking with the JSDelivr load

I tried cloning the repo just to check out the demo - both index and pong break with seemingly the same issue:
Uncaught ReferenceError: require is not defined                                                                      handtrack.min.js:2464:294
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:2464
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:1
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:1

and
Uncaught TypeError: handTrack.load is not a function
    <anonymous> http://localhost:3005/js/index.js:86

If I switch to loading from <script src="lib/handtrack.js"> </script>  instead of JSDelivr everything runs fine. But loading from <script src="handtrack.min.js"> </script> produces the same error. (seems like the libs folder still has the older version from 2018).
The same thing happens when trying to run this example https://github.com/victordibia/handtrack.js#import-via-script-tag :
Uncaught ReferenceError: require is not defined                                                                        handtrack.min.js:2464:294
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:2464
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:1
    <anonymous> https://cdn.jsdelivr.net/npm/handtrackjs@latest/dist/handtrack.min.js:1

and
Uncaught SyntaxError: await is only valid in async functions and async generators index.html:21:22
Line 22 in index.html is  const predictions = await model.detect(img); from the example

That is correct! I am currently working on bundling the new version of handtrack js which is under active dev. Will revert the demo to the previous version.
Sent from my iPhone

On Apr 13, 2021, at 16:32, Maxim Safioulline @.***> wrote:

I tried cloning the repo just to check out the demo - both index and pong break with seemingly the same issue:
Uncaught ReferenceError: require is not defined                                                                      handtrack.min.js:2464:294
 @./dist/handtrack.min.js:2464
 @./dist/handtrack.min.js:1
 @.***/dist/handtrack.min.js:1
If I switch to loading from  instead of JSDelivr everything runs fine. But loading from  produces the same error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have updated the handtrack.min.js version to v0.0.13.
<script<EMAIL_ADDRESS></script>

Does this mean the new version will not work with the <script> embed - npm only? And thank you for all your work!

Hi @ConnectedCat,
I plan to make it happen (once I find time fix a couple bugs). The main challenge is correctly bundling up the umd module for handtrack.js which contains all dependencies. It appears some aspects of the tensorflow.js library are making that process fail. Will update when its ready.  You can also attempt to bundle the npm installable version and share any insights you find.
-V.

I spent a while trying to figure out why i couldn't get the "open" and "closed" label with the example on the readme since it got changed to 0.0.13. I was able to bundle 0.1.2 with webpack though since the 0.1.2 jsdelivr doesn't work yet. Not anyone's fault but my own; I missed the note in the readme that warns about this.

@ConnectedCat
Thanks to pointers from @bandaloo and @matthiasmiller , I have now updated the js web bundle to correctly load using webpack. It might take jsdelivr 24hrs to update @latest tag to the most recent bundle (v0.1.3).
Let me know if you still have issues!
Victor.


(Try to) Fix HyperLine on Hyper 2

Try to make HyperLine work on Hyper 2 (cf. https://github.com/Hyperline/hyperline/issues/159 and https://github.com/Hyperline/hyperline/issues/160):

React is now bundled as a dependency, as it should be;
Using hyper/component is deprecated, use React.Component instead;
Remove prop-types from devDependencies (already present in dependencies).

Works with Hyper 2.1.0-canary.2 on macOS 10.13.

Just try it with Hyper 2.1.0-canary.2 on Ubuntu 18.04, not working :(

Used your pull request as boilerplate and added the code I mentioned in #163
Hyper@latest (canary)
Arch

@liloow can you upload that to a fork?

@jpmckearin Sorry I was on vacation last week : fork
Tested on Arch

Tested again Hyper 2.1.0-canary.2 on Ubuntu 18.04 with https://github.com/liloow/hyperline and works perfect, thank you.

Any ideas on when this will be merged in? Currently, Hyperline is unusable on Hyper 2.1.0 on MacOS because of these deprecations.

Is there any plan to merge this?

Had to delete hyperline bcoz of annoying deprecation messages. Please merge it someone!