Default action for keys on layer

I know I can do something like the following to apply a modifier to a full layer by default.
[mylayer:M]

But it would be handy to generalise the concept to all actions, so you could define what the default behavior is for a layer. And if a key does not override this, it gets assigned to the default action.
I think it could reduce the amount of lines in the configuration when you want to redeclare all the keys to do the same action. See an example:
[mylayer]
default = layer(otherlayer)
a = b
b = c

And to go even a bit further, a placeholder current could mean the "current key", to allow things like:
[mylayer]
default = timeout(current, 1000, S-current)
a = b
b = c

Here, all keys on mylayer except a and b would be assigned to the timeout operation defined as default.
What do you think?

Cf #651 and in particular https://github.com/rvaiya/keyd/issues/651#issuecomment-1925893039
#681 is also related, and I'd expect that if it makes it in, these two features should be achieved with the same mechanism.

current could mean the "current key"

With the current key meaning whatever it is bound to on the layer underneath, I presume.


Fix trigger shown and hidden events for dropdown

Hi,
it's a fix for https://github.com/twbs/bootstrap/issues/16828
Thanks to @DaGLiMiOuX

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED
Commit: 98ccf83677b997b86c7ca141802e90a6e023ed94
Build details: https://travis-ci.org/twbs-savage/bootstrap/builds/72183457
(Please note that this is a fully automated comment.)

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED
Commit: 6aafcfb68441baffd60bfecb59524f26305d865c
Build details: https://travis-ci.org/twbs-savage/bootstrap/builds/72423124
(Please note that this is a fully automated comment.)

Thanks @cvrebert for your feedbacks :shipit:

Thanks!


Sort ResourceNames in Role rules created from RoleTemplates

Issue: #47409

Problem
I've observed some role objects being updated quite often. Using kubectl get -w I observed the only change was the order of the resourceNames inside the rules.
Since wrangler's apply is being used, the update produced by previous applies trigger new reconciliation, possibly causing an endless update loop due to successive lists of resourceNames not being equal.
Solution
Sort the names obtained from the result of GetByIndex, ensuring the result is stable.
Testing
A small refactor was needed in order to add a unit tests (dynamic.Controller is not an interface so it can't be mocked).

@bigkevmcd @andreas-kupries @pmatseykanets please review the backport at:
https://github.com/rancher/rancher/pull/47411
In preparation for the unfreeze


is it possible this mod will be updated to 1.16.5 in the near future or perhaps even 1.17 as well?

It is possible to put it for 1.14.4, i need it too much

It is possible to put it for 1.14.4, i need it too much

Please could you answer me

Please could you answer me


Update & patch VMA, and re-implement the small buffers optimization

Since VMA's master branch doesn't feature the small buffers optimization that was being sketched in a feature branch, this PR reformulates how that is achieved, with some benefits.
The optimization consisted in having in VMA an additional list of blocks in the default pool, which would be used for allocations <= 4 KiB and which was configured to ignore the device's allocation granularity.
The new approach consists in letting additional pools in VMA contain allocations of multiple memory types (in contrast to the original inteded usage, which is to allow memory type specific pools). This comes with the advantage of allowing applications to have additional pools as flexible as the default one and scatter allocations among them at wish and convenience.
Therefore, the Vulkan RD code is changed to leverage such addition, bringing back what was happening in the aforementioned, now outdated VMA's feature branch. That is, Vulkan RD creates an additional pool to store there objects of a size below some threshold (the 4 KiB from the VMA experiment is used).
The other aspect of the old VMA optimization (namely, setting granularity to 1) can now be used in non-default pools via the VMA_POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BIT that VMA provides out of the box (and it can be used across memory types thanks the custom changes in this PR). However, my benchmarking has shown that the granularity trick wasn't involved in the performance improvement (and, as far as I can tell, would break correctness, so this PR is also an improvement in that regard, by not enabling it).

I've done some benchmarking in debug_release with an updated version of the script used in #51524 (ClassProfiling4.zip), with the following results:

#
Version
Benchmark time

1
Current master
6511 ms

2
master + new VMA with no extra pool
6549 ms

3
master + new VMA with small objects pool
5035 ms

4
master + new VMA with small objects pool + granularity hack
5125 ms

Being 1 the baseline, I'd expect 2 to be slower, but maybe the new VMA already does a good job without any optimization effort. In any case, the small objects pool added to Vulkan RD seems to be beneficial as shown in 3. I would've expected 4 to be faster than 3, but, given the correctness concerns, we don't really care (we even get a greater peace of mind because there's no temptation to enable the granularity trick with fingers crossed).
With all that said, I believe this PR improves the state of things, but I'm not sure how useful it will be for #48978.
P. S. If the changes done to VMA here for having universal pools are wanted upstream, I am willing to make it opt-in (via a creation flag or something) and submit a PR to their repo so users can benefit from the new pool semantics if they need them while keeping the current behavior still available.

I'm not familiar with those but Clang seems to raise some warnings about nullability completeness: https://github.com/godotengine/godot/runs/5162802525?check_suite_focus=true

Looks like an upstream issue. I'll make sure and write a patch.

Fixed nullability errors, and upstreamed: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/pull/235

Thanks!


create new work does not give an error message when failing

name: User Story
about: 'User Story '
title: ''
labels: ''
assignees: ''

As a (type of user)
I want (goal)
so that (reason/ why/ value)
Acceptance Criteria
Scenario 1:
GIVEN ... (you or your condition)
WHEN ... (what you do)
THEN ... (what you see)
Scenario 2:
xxxxxx
Validation Rules?
(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

just continues to spin the wheel forever


Fix package unit testing

Drop import test (it's already in run_tests.py)
Fix name of test script
Check CUDA major minor version only
Group all pytests together
Bump build number to 6

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] 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.

Builds off of PR ( https://github.com/conda-forge/pycuda-feedstock/pull/6 ), which added these tests. Fixes some issues that were found when running locally

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.

@conda-forge-admin, please re-render

These can be run locally on an existing package by doing...
conda build --test <package filename>.tar.bz2

Here's the results from downloading one of the packages and running it locally
$ curl -LO https://anaconda.org/conda-forge/pycuda/2020.1/download/linux-64/pycuda-2020.1-py36h03bce38_6.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3805    0  3805    0     0   7718      0 --:--:-- --:--:-- --:--:--  7702
100  619k  100  619k    0     0   483k      0  0:00:01  0:00:01 --:--:--  483k
$ conda build --test pycuda-2020.1-py36h03bce38_6.tar.bz2
TEST START: pycuda-2020.1-py36h03bce38_6.tar.bz2
Copying package to conda-build croot.  No packages otherwise alongside yours will be available unless you specify -c local.  To avoid this warning, your package must reside in a channel structure with platform-subfolders.  See more info on what a valid channel is at https://conda.io/docs/user-guide/tasks/create-custom-channels.html
WARNING:conda_build.build:Copying package to conda-build croot.  No packages otherwise alongside yours will be available unless you specify -c local.  To avoid this warning, your package must reside in a channel structure with platform-subfolders.  See more info on what a valid channel is at https://conda.io/docs/user-guide/tasks/create-custom-channels.html
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /datasets/jkirkham/miniconda/conda-bld/pycuda_1616658286511/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla

The following NEW packages will be INSTALLED:

    _libgcc_mutex:      0.1-conda_forge            conda-forge
    _openmp_mutex:      4.5-1_gnu                  conda-forge
    appdirs:            1.4.4-pyh9f0ad1d_0         conda-forge
    attrs:              20.3.0-pyhd3deb0d_0        conda-forge
    boost-cpp:          1.74.0-hc6e9bd1_2          conda-forge
    bzip2:              1.0.8-h7f98852_4           conda-forge
    ca-certificates:    2020.12.5-ha878542_0       conda-forge
    certifi:            2020.12.5-py36h5fab9bb_1   conda-forge
    cudatoolkit:        10.2.89-h8f6ccaa_8         conda-forge
    decorator:          4.4.2-py_0                 conda-forge
    icu:                68.1-h58526e2_0            conda-forge
    importlib-metadata: 3.7.3-py36h5fab9bb_0       conda-forge
    importlib_metadata: 3.7.3-hd8ed1ab_0           conda-forge
    iniconfig:          1.1.1-pyh9f0ad1d_0         conda-forge
    ld_impl_linux-64:   2.35.1-hea4e1c9_2          conda-forge
    libblas:            3.9.0-8_openblas           conda-forge
    libcblas:           3.9.0-8_openblas           conda-forge
    libffi:             3.3-h58526e2_2             conda-forge
    libgcc-ng:          9.3.0-h2828fa1_18          conda-forge
    libgfortran-ng:     9.3.0-hff62375_18          conda-forge
    libgfortran5:       9.3.0-hff62375_18          conda-forge
    libgomp:            9.3.0-h2828fa1_18          conda-forge
    liblapack:          3.9.0-8_openblas           conda-forge
    libopenblas:        0.3.12-pthreads_h4812303_1 conda-forge
    libstdcxx-ng:       9.3.0-h6de172a_18          conda-forge
    lz4-c:              1.9.3-h9c3ff4c_0           conda-forge
    mako:               1.1.4-pyh44b312d_0         conda-forge
    markupsafe:         1.1.1-py36h8f6f2f9_3       conda-forge
    more-itertools:     8.7.0-pyhd8ed1ab_0         conda-forge
    ncurses:            6.2-h58526e2_4             conda-forge
    numpy:              1.19.5-py36h2aa4a07_1      conda-forge
    openssl:            1.1.1j-h7f98852_0          conda-forge
    packaging:          20.9-pyh44b312d_0          conda-forge
    pip:                21.0.1-pyhd8ed1ab_0        conda-forge
    pluggy:             0.13.1-py36h5fab9bb_4      conda-forge
    py:                 1.10.0-pyhd3deb0d_0        conda-forge
    pycuda:             2020.1-py36h03bce38_6      local
    pyparsing:          2.4.7-pyh9f0ad1d_0         conda-forge
    pytest:             6.2.2-py36h5fab9bb_0       conda-forge
    python:             3.6.13-hffdb5ce_0_cpython  conda-forge
    python_abi:         3.6-1_cp36m                conda-forge
    pytools:            2021.2.1-pyhd8ed1ab_0      conda-forge
    readline:           8.0-he28a2e2_2             conda-forge
    setuptools:         49.6.0-py36h5fab9bb_3      conda-forge
    six:                1.15.0-pyh9f0ad1d_0        conda-forge
    sqlite:             3.35.2-h74cdb3f_0          conda-forge
    tk:                 8.6.10-h21135ba_1          conda-forge
    toml:               0.10.2-pyhd8ed1ab_0        conda-forge
    typing_extensions:  <IP_ADDRESS>-py_0               conda-forge
    wheel:              0.36.2-pyhd3deb0d_0        conda-forge
    xz:                 5.2.5-h516909a_1           conda-forge
    zipp:               3.4.1-pyhd8ed1ab_0         conda-forge
    zlib:               1.2.11-h516909a_1010       conda-forge
    zstd:               1.4.9-ha95c52a_0           conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

done
export PREFIX=/datasets/jkirkham/miniconda/conda-bld/pycuda_1616658286511/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla
export SRC_DIR=/datasets/jkirkham/miniconda/conda-bld/pycuda_1616658286511/test_tmp
===== testing package: pycuda-2020.1-py36h03bce38_6 =====
running run_test.py
============================= test session starts ==============================
platform linux -- Python 3.6.13, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: $SRC_DIR
collected 120 items

test/test_cumath.py ............................                         [ 23%]
test/test_driver.py ..............................                       [ 48%]
test/test_gpuarray.py .................................................. [ 90%]
..ss........                                                             [100%]

=============================== warnings summary ===============================
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.6/site-packages/pycuda/tools.py:478
  $PREFIX/lib/python3.6/site-packages/pycuda/tools.py:478: PytestUnknownMarkWarning: Unknown pytest.mark.cuda - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
    return mark_test.cuda(f)

test/test_cumath.py: 20 warnings
  $PREFIX/lib/python3.6/site-packages/pycuda/cumath.py:13: DeprecationWarning: please use 'out' or 'stream' keyword arguments
    warnings.warn("please use 'out' or 'stream' keyword arguments", DeprecationWarning)

test/test_gpuarray.py::TestGPUArray::test_numpy_integer_shape
test/test_gpuarray.py::TestGPUArray::test_numpy_integer_shape
test/test_gpuarray.py::TestGPUArray::test_ndarray_shape
test/test_gpuarray.py::TestGPUArray::test_ndarray_shape
  $PREFIX/lib/python3.6/site-packages/pycuda/gpuarray.py:183: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
    s = np.asscalar(s)

test/test_gpuarray.py::TestGPUArray::test_ndarray_shape
  $PREFIX/lib/python3.6/site-packages/pycuda/gpuarray.py:173: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
    shape = np.asscalar(shape)

test/test_gpuarray.py::TestGPUArray::test_struct_reduce
  $SRC_DIR/test/test_gpuarray.py:928: DeprecationWarning: register_dtype is deprecated. Use get_or_register_dtype instead.
    register_dtype(mmc_dtype, "minmax_collector")

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========== 118 passed, 2 skipped, 27 warnings in 110.30s (0:01:50) ============
===== pycuda-2020.1-py36h03bce38_6 OK =====

Resource usage statistics from testing pycuda:
   Process count: 6
   CPU time: Sys=0:00:27.2, User=0:00:17.1
   Memory: 612.3M
   Disk usage: 233B
   Time elapsed: 0:01:53.8

TEST END: pycuda-2020.1-py36h03bce38_6.tar.bz2
--dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

INFO:conda_build.config:--dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

INFO conda_build.config:__exit__(855): --dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

All tests passed

####################################################################################
Source and build intermediates have been left in /datasets/jkirkham/miniconda/conda-bld.
There are currently 7 accumulated.
To remove them, you can run the ```conda build purge``` command


.NET 5 linux-arm: Unable to attach to CoreCLR. Unknown Error: 0x80131c4f

Issue Description
I'm trying to build a simple console project in VS Code on Win 10 x64 using the .NET 5 (5.0.100) SDK. When deploying and executing the program remotely on a Raspberry Pi 4 using the 'vsdbg'-Debugger the debugger fails with the following error: Unable to attach to CoreCLR. Unknown Error: 0x80131c4f.
Steps to Reproduce

I have created a minimal console project with the following content:

RPiDemo.csproj
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>
</Project>

Program.cs
using System;

namespace RPiDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello RPi!");
        }
    }
}

The project is successfully compiled in VS Code on Win 10 x64 using the locally installed .NET 5 SDK. The project is published for 'linux-arm' and copied to the Raspberry Pi 4 (with Raspian 10, latest version as of today) with the following command:
dotnet publish -c Release -r linux-arm -o ./publish/linux-arm ${workspaceFolder} ; scp -rp -P 2222 ./publish/linux-arm/ root@<IP_ADDRESS>:/opt/RPiDemo
I'm essentially following the instructions at https://github.com/OmniSharp/omnisharp-vscode/wiki/Remote-Debugging-On-Linux-Arm (or similar tutorials on the internet).
The project is then launched on the RPi with the 'vsdbg' remote debugger. My launch.json looks like this:
{
    "configurations": [
        {
            "name": "Launch LOCAL",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
            "program": "${workspaceFolder}/bin/Debug/net5.0/RPiDemo.dll",
            "args": [],
            "cwd": "${workspaceFolder}",
            "stopAtEntry": false,
            "console": "internalConsole"
        },
        {
            "name": "Launch REMOTE",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "BuildPublishCopyLinuxARM",
            "program": "/usr/bin/dotnet",
            "args": [
                "/opt/RPiDemo/RPiDemo.dll"
            ],
            "cwd": "/opt/RPiDemo",
            "stopAtEntry": false,
            "console": "internalConsole",
            "pipeTransport": {
                "pipeCwd": "${workspaceRoot}",
                "pipeProgram": "ssh",
                "pipeArgs": [
                    "-T",
                    "-p", "2222",
<EMAIL_ADDRESS>                ],
                "quoteArgs": true,
                "debuggerPath": "/usr/bin/vsdbg/vsdbg"
            },
            "logging": {
                "engineLogging": true,
                "programOutput": true,
                "exceptions": true
            }
        },
    ]
}

Expected Behavior
Debugger should launch and attach to the process on the RPi and provide debug information to VS Code.
Actual Behavior
Debugger prints the following error message: Unable to attach to CoreCLR. Unknown Error: 0x80131c4f.
I have then enabled logging via "engineLogging": true, to obtain more details (as shown in the log below).
I'd like to note, that the console project works perfectly both locally on the Win 10 x64 host and also when being launched manually on the RPi via the dotnet RPiDemo.dll command (directly in the published directory '/opt/RPiDemo').
Logs
OmniSharp log
Starting: "ssh" -T -p 2222<EMAIL_ADDRESS>"/usr/bin/vsdbg/vsdbg --interpreter=vscode"
-> (C) {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"coreclr","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us","supportsProgressReporting":true,"supportsInvalidatedEvent":true},"type":"request","seq":1}
-> (C) {"command":"launch","arguments":{"name":"Launch REMOTE","type":"coreclr","request":"launch","preLaunchTask":"BuildPublishCopyLinuxARM","program":"/usr/bin/dotnet","args":["/opt/RPiDemo/RPiDemo.dll"],"cwd":"/opt/RPiDemo","stopAtEntry":false,"requireExactSource":false,"console":"internalConsole","pipeTransport":{"pipeCwd":"D:\\Repos\\Demo\\RPiDemo","pipeProgram":"ssh","pipeArgs":["-T","-p","2222","root@<IP_ADDRESS>"],"quoteArgs":true,"debuggerPath":"/usr/bin/vsdbg/vsdbg"},"logging":{"engineLogging":false,"programOutput":true,"exceptions":true},"__configurationTarget":5,"internalConsoleOptions":"openOnSessionStart","__sessionId":"7be5a8c7-37ec-4071-b82e-6f72e8fd2038"},"type":"request","seq":2}
<- (E) {"seq":2,"type":"event","event":"output","body":{"category":"console","output":"-------------------------------------------------------------------\nYou may only use the Microsoft .NET Core Debugger (vsdbg) with\nVisual Studio Code, Visual Studio or Visual Studio for Mac software\nto help you develop and test your applications.\n-------------------------------------------------------------------\n","severity":"ok"}}
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
<- (R) {"seq":3,"type":"response","request_seq":2,"success":true,"command":"launch"}
<- (E) {"seq":4,"type":"event","event":"initialized","body":{}}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":3}
<- (R) {"seq":5,"type":"response","request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":["user-unhandled"]},"type":"request","seq":4}
<- (R) {"seq":6,"type":"response","request_seq":4,"success":true,"command":"setExceptionBreakpoints"}
-> (C) {"command":"configurationDone","type":"request","seq":5}
<- (E) {"seq":7,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/ProcessCreate","data":{"VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"10","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"b7159782","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.vsdbg.Version":"16.8.11013.1 commit:4b0f186e434a6a8e833baeddc7bd2fad8dd08f41"}}}
<- (E) {"seq":8,"type":"event","event":"process","body":{"name":"/usr/bin/dotnet","systemProcessId":1420,"isLocalProcess":false,"startMethod":"launch"}}
<- (E) {"seq":9,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/Launch","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.Launch.Duration":180,"VS.Diagnostics.Debugger.vsdbg.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.vsdbg.TargetType":"Live","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"10","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"b7159782","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.vsdbg.SourceFileMappings":0,"VS.Diagnostics.Debugger.vsdbg.Version":"16.8.11013.1 commit:4b0f186e434a6a8e833baeddc7bd2fad8dd08f41"}}}
<- (R) {"seq":10,"type":"response","request_seq":5,"success":true,"command":"configurationDone"}
-> (C) {"command":"threads","type":"request","seq":6}
<- (R) {"seq":11,"type":"response","request_seq":6,"success":true,"command":"threads","body":{"threads":[]}}
<- (E) {"seq":12,"type":"event","event":"output","body":{"category":"stderr","output":"Unable to attach to CoreCLR. Unknown Error: 0x80131c4f","severity":"error"}}
Unable to attach to CoreCLR. Unknown Error: 0x80131c4f
Environment information
VSCode version: 1.51.1
C# Extension: 1.23.6
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.100
 Commit:    5044b93829
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19042
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\5.0.100\
Host (useful for support):
Version: 5.0.0
Commit:  cf258a14b7
.NET SDKs installed:
2.1.701 [C:\Program Files\dotnet\sdk]
2.1.801 [C:\Program Files\dotnet\sdk]
2.2.207 [C:\Program Files\dotnet\sdk]
2.2.401 [C:\Program Files\dotnet\sdk]
5.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

code-runner
formulahendry
0.11.1

cpptools
ms-vscode
1.1.1

csharp
ms-dotnettools
1.23.6

EditorConfig
EditorConfig
0.15.1

gitlens
eamodio
11.0.1

Ionide-fsharp
Ionide
4.17.0

jupyter
ms-toolsai
2020.11.358541065

markdown-all-in-one
yzhang
3.4.0

path-intellisense
christian-kohler
2.3.0

powershell
ms-vscode
2020.6.0

python
ms-python
2020.11.358366026

remote-containers
ms-vscode-remote
0.148.1

remote-ssh
ms-vscode-remote
0.56.0

remote-ssh-edit
ms-vscode-remote
0.56.0

remote-wsl
ms-vscode-remote
0.51.3

resourcemonitor
mutantdino
1.0.7

vscode-icons
vscode-icons-team
11.0.0

vsliveshare
ms-vsliveshare
1.0.3121

xml
DotJoshJohnson
2.5.1

I just tested the same procedure with .NET Core 3.1 (3.1.404) and it works!
For the test, all I did was to replace the targetFramework with netcoreapp3.1 and I (of course) installed the 3.1 SDK on the RPi. Everything else (incl. launch.json, etc. configuration) was the same as before. So apparently, this is a .NET 5 runtime/debugger issue.

Thanks @profix898 This looks like a regression in the .NET runtime. I opened https://github.com/dotnet/runtime/issues/44745 to track it.

Looks as if this is not the only problem:
ms-dotnettools.csharp version 1.23.6 + net5.0 => 943 problems reported
ms-dotnettools.csharp version 1.23.6 + netcoreapp3.1 => 8 problems reported
Restarting the language server makes no difference to this observation.
In my experience this shows that at this point omnisharp's language service is currently unusable with .NET 5.0 when running it in a docker container and using remote development.
My environment:

VS Code 1.51.1
Docker Desktop for Windows <IP_ADDRESS>
ms-dotnettools.csharp version 1.23.6
Docker base image: mcr.microsoft.com/dotnet/sdk:5.0 (when showing 943 problems)
Docker base image: mcr.microsoft.com/dotnet/sdk:3.1 (when showing 8 problems)

This has now been fixed by the .NET team. It will work when the target app is running on .NET 5.0.2+.

So I just hit this today, when will 5.0.2 be released?   5.0.101/5.0.1 showing currently ?

I think I have the same problem

I think I have the same problem


[DRAFT] fix(datastore): full sync when sync predicate changes

Issue #

Description

Perform a full sync when the sync expression for the model changes. To do this, we have to persist and retrieve it from the sync metadata table.
General Checklist

[ ] Added new tests to cover change, if needed
[ ] Build succeeds with all target using Swift Package Manager
[ ] All unit tests pass
[ ] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[ ] PR title conforms to conventional commit style
[ ] New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lawmicha  What is the status of this fix? is it going to be merged soon?

Codecov Report
Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (b9b5918) 68.17% compared to head (331d746) 68.19%.

Files
Patch %
Lines

...Plugin/Sync/InitialSync/InitialSyncOperation.swift
93.02%
3 Missing :warning:

...Core/Sync/ModelSync/ModelSyncMetadata+Schema.swift
0.00%
2 Missing :warning:

...PluginsCore/Sync/ModelSync/ModelSyncMetadata.swift
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2757      +/-   ##
==========================================
+ Coverage   68.17%   68.19%   +0.02%
==========================================
  Files        1077     1077
  Lines       35973    35996      +23
==========================================
+ Hits        24523    24546      +23
  Misses      11450    11450

Flag
Coverage Δ

API_plugin_unit_test
67.07% <ø> (ø)

AWSPluginsCore
64.52% <0.00%> (-0.07%)
:arrow_down:

Amplify
47.83% <ø> (+0.01%)
:arrow_up:

Analytics_plugin_unit_test
81.16% <ø> (ø)

Auth_plugin_unit_test
79.47% <ø> (+<0.01%)
:arrow_up:

CoreMLPredictions_plugin_unit_test
59.44% <ø> (ø)

DataStore_plugin_unit_test
81.03% <93.02%> (+0.06%)
:arrow_up:

Geo_plugin_unit_test
70.75% <ø> (ø)

Logging_plugin_unit_test
63.09% <ø> (ø)

Predictions_plugin_unit_test
37.29% <ø> (ø)

PushNotifications_plugin_unit_test
87.03% <ø> (ø)

Storage_plugin_unit_test
78.00% <ø> (ø)

unit_tests
68.19% <85.10%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


⌘1 sometimes stops working in other apps

Please include:

Operating System:ProductName:	Mac OS X
ProductVersion:	10.13
BuildVersion:	17A405

Clear steps to reproduce the issue:
Run the application for a while.  Eventually, the ⌘1 hotkey starts getting captured regardless of where my keyboard focus is until I restart the application.

I am only logged in to one Zulip, but if I select settings, ⌘Tab away, and then hit ⌘1 in another app when in this state, I can see it switch back to that Zulip rather than the Settings window, so I assume that for those with multiple Zulips it would globally capture ⌘2, etc.

⌘1 sometimes stops working in other apps

@glyph can you define sometimes here? Does it happen all the time or in any specific case like when you switch to other apps using ⌘Tab?

@zulipbot claim

Hey @glyph, I'm going to be trying to fix this issue. In addition to defining what sometimes means, is there a specific application (when you CmdTab) you're using that you see this issue happen with or is it multiple applications? I'm attempting to reproduce and haven't been able to so far. Thanks!

@cedricium it seems likely the other application is irrelevant, and that the problem is that we're in some circumstance failing to unregister the hotkey from the OS...

@timabbott that makes sense. I'm having trouble reproducing, am I understanding the issue correctly:

In Zulip app, open the Settings page. Settings page is the active window.
Switch to another application using CmdTab. Different application is now focused.
Use the Cmd1 shortcut in different application.
Focus the Zulip app - active window is now the first sever (no longer the Settings page).

There's some sort of timing in between switching applications and using Cmd1 which causes the issue, but is the right way to go about it?

I'm guessing this is what @glyph experiencing -

Open Zulip app, add a server
Open setting page
CMD+1 should switch to the first added server (this is expected)
Now open other app, for an example Chrome
Press CMD+1, which should open the first tab of Chrome but instead it focuses on Zulip app and opens the first server.

I can't reproduce the last step. I'm not sure if we have to unregister CMD+1 when window loses focus, hidden etc since electron-localshortcut automatically unregister the shortcut.

I still haven't been able to reproduce this issue, and looking at the code where the keyboard shortcuts for switching between servers gets set, I don't see anything that explicitly stands out which would cause this issue 😕

@glyph can you help us reproducing this issue. We've both tried to reproduce and read the code, and don't see how we can investigate further without more info 😕

@vbNETonIce can you reproduce this issue on Windows?

no, never run into this but I also don't really add new servers anymore (if that is relevant to the issues - just skimmed over this)

Hmm, thanks.

I also don't really add new servers anymore

Yeah, it's irrelevant. It could happen when you have only one server as well (since CTRL+1/⌘1 gets assigned).

I am also noticing this with ⌘R now, and it seems to happen almost every day now, which means part of my web-dev workflow is to quit zulip 3 or 4 times per day.
Anything I can do to make this more reproducible?

My OS is now
ProductName:	Mac OS X
ProductVersion:	10.13.1
BuildVersion:	17B48

so not fixed by Apple :)

I am not sure what the exact race condition is here, but https://www.npmjs.com/package/electron-localshortcut looks like a horrible hack that seems like a magnet for exactly this kind of bug. It is not appropriate for a mac app to register global hotkeys just to avoid populating the menu bar.  Please just put the stuff into a menu like the human interface guidelines recommend, and this global registration race won't even be possible.

Hey @glyph, can verify the steps taken to reproduce this? Or if it's not always reproducible, just outline what happens when you use ⌘1 / ⌘R. I didn't understand your original comment about when you opened this issue.
Would love to help get this fixed!

@akashnimare what do you think about replacing that library?  I am partial to @glyph's argument here.

@cedricium I just launch Zulip and wait for it to steal my hotkeys ;).  What happens when I press ⌘1 with Zulip in the background is that it does exactly what ⌘1 does with Zulip in the foreground, whatever that would be.

I know electron-localshortcut has created problems in past but I guess we fixed most of the issues. I updated my macOS from 10.12 to 10.13 but couldn't repro this hotkey bug. @glyph
just to make sure that we're on same page can you confirm that you're using the latest version which is v1.5.0 via clicking on  Menu > About Zulip -

Yes, I'm using 1.5.0.

I know electron-localshortcut has created problems in past but I guess we fixed most of the issues.

Only on your computer, apparently ;-).
The way electron-localshortcut works is fundamentally a bad idea.  Calling APIs like this for no reason is the sort of thing that gets you banned from the mac app store, flagged as malware, etc.  Global hotkeys should only be mapped if you are clearly calling this out to the user as global.
To help track this down, in case it's an interaction with something else, a list of applications I routinely run are:

Sip (the old mac app store version)
OmniFocus
Emacs, mituharu's "mac port" version, installed from homebrew
1password (mac app store version)
Dropshare
Docker for Mac
Codepoints
iStat Menus
Google Chrome
Moom
SizeUp
Dash
iTerm2

There's nothing I can think of that I do with Zulip, or with any other app, that causes it to start grabbing the keyboard focus in the background; it just runs for a while and then I notice my command keys aren't doing what I expect.

I see this pretty consistently with iTerm in particular.  Switching to Zulip (or quitting it) releases the cmd-1 key back to the system.   I can consistently get this to happen when I switch spaces.

Okay, so we need to remove electron-localshortcut library which is the root cause of this issue. I'm looking for ways to implement same shortcuts without the use of this module which should fix this issue.

I have pushed a fix in remove-electron-localshortcut. I have removed electron-localshortcut dependency and now using electron's default globalShortcut api to register the shortcuts. Can somebody cross check if it works as expected?

The problem with localshortcut is that it uses globalShortcut.  If anything this would be worse.

@glyph I have completely removed electron-localshortcut and globalShortcut. Now we only rely on menu for shortcuts - https://github.com/zulip/zulip-electron/commit/bcb8ffb55f7ef28c2b56bfee07322d1357f76458.

Just released 1.6.0-beta. @glyph, @olbrich please update app (via selecting Get beta updates from setting option or download manually through this link) and see if it fixes this issue.

@akashnimare Fantastic. Thank you so much for the fix - and for fixing it the Right Way!
I got the auto-update notification and installed it, and despite using it for longer than the average time where this would trigger, with all my usual apps running, I have not had my hot keys get grabbed.  Seems to be working great!
It's hard to be totally sure since I don't know what I did that would reliably trigger it, but at this point I'd be confident closing this bug if I were you.  (Hopefully @olbrich can confirm.)

seems good so far, I can switch spaces without issue.

Awesome. Glad we hunt down the root cause of this issue. @olbrich, @glyph thanks a lot for helping us in debugging  ❤   Feel free to re-open if it happens again.


Remove token from html

Now keeps the token in memory and copies it over directly to the users' clipboard.
Fixes #9

I guess I'lI need to pull this branch to the tryggve server to see it action first. And I also realized that it is a highly user-facing feature we may need to inform about when we introduce it in prod :)

I guess I'lI need to pull this branch to the tryggve server to see it action first. And I also realized that it is a highly user-facing feature we may need to inform about when we introduce it in prod :)

I've already tested it by setting up a mock server and seeing how the website responds to the incoming token. All good here. But yes, users definitely will assume that website broke cause they no longer see the token!
Let me know if you'd like some UI updates as well :)
Currently it simply removes it so it could potentially look a little 'out of place'

It's now deployed on the https://tryggve.tsd.usit.uio.no server/site. I can login, a few gotchas:
The "user-id-string" is not displayed anymore, not sure we want to remove that completely.
The copy button does not work for me. I click it, but the content does not seem to reach my clip-board. When I paste in a terminal window, I get the previous content instead. Can you test on the tryggve site?

And we probably want some visual representation of the token on the page. It feels a bit truncated and the previous users will expect "something" to appear. Maybe and icon, with a text "Your token is ready"or similar ?


Update another-post-in-the-wall.mdx

👷 Deploy Preview for rhoneysworld processing.

Name
Link

🔨 Latest commit
e966f8a53c3ef2297887c2aa4f56034e30054635

🔍 Latest deploy log
https://app.netlify.com/sites/rhoneysworld/deploys/64695935cda43700084d83b2


Add new hover effective button

This is a(n):

[ ] Update to an existing Animated Button
[ ] Any Error
[x ] Proposal to the Repository
[ ] Documentation / README.md changes

Details:

I'd like to contribute by adding a new button on the site @Spyware007

Please check #1346

Sorry for the inconvinience, but we are closing all the issues! Please open a new issue if you want to contribute anything. Also now you can create a new button from the website itself! You will get points for those too! I will add the instructions on how to create a new button soon and create an empty pr for the same to get points!


Support for templates in configuration files on file backend

Do you want to request a feature or report a bug?
Bug
What did you do?
The documentation suggests that go templates or sprig functions may be used for file configuration backends.
I tried to define a configuration using go template in a TOML file.
cat traefik.toml
[file]
directory = "conf/"

cat conf/sub.toml
[backends]
  [backends.backend1]
  url = "http://firstserver"
  [backends.backend2]
  url = "http://secondserver"

{{$frontends := dict "frontend1" "backend1" "frontend2" "backend2"}}
[frontends]
{{range $frontend, $backend := $frontends}}
  [frontends.{{$frontend}}]
  backend = "{{$backend}}"
{{end}}

What did you expect to see?
No error
What did you see instead?
An error : Error starting provider *file.Provider: error reading configuration file: Near line 5 (last key parsed 'backends.backend2'): bare keys cannot contain '{'
Output of traefik version: (What version of Traefik are you using?)

{
 "GraceTimeOut":<PHONE_NUMBER>0,
 "Debug": false,
 "CheckNewVersion": true,
 "AccessLogsFile": "",
 "AccessLog": null,
 "TraefikLogsFile": "",
 "LogLevel": "ERROR",
 "EntryPoints": {},
 "Cluster": null,
 "Constraints": [],
 "ACME": null,
 "DefaultEntryPoints": [],
 "ProvidersThrottleDuration":<PHONE_NUMBER>,
 "MaxIdleConnsPerHost": 200,
 "IdleTimeout": 0,
 "InsecureSkipVerify": false,
 "RootCAs": null,
 "Retry": null,
 "HealthCheck": {
  "Interval":<PHONE_NUMBER>0
 },
 "RespondingTimeouts": {
  "ReadTimeout": 0,
  "WriteTimeout": 0,
  "IdleTimeout":<PHONE_NUMBER>00
 },
 "ForwardingTimeouts": {
  "DialTimeout":<PHONE_NUMBER>0,
  "ResponseHeaderTimeout": 0
 },
 "Docker": null,
 "File": null,
 "Web": null,
 "Marathon": null,
 "Consul": null,
 "ConsulCatalog": null,
 "Etcd": null,
 "Zookeeper": null,
 "Boltdb": null,
 "Kubernetes": null,
 "Mesos": null,
 "Eureka": null,
 "ECS": null,
 "Rancher": null,
 "DynamoDB": null,
 "ConfigFile": ""
}

If applicable, please paste the log output in debug mode (--debug switch)
INFO[0000] Using TOML configuration file /home/ubuntu/deploy-swarm/sample.toml
INFO[2017-09-01T11:50:37Z] Traefik version v1.4.0-rc1 built on 2017-08-29_08:16:35AM
DEBU[2017-09-01T11:50:37Z] Global configuration loaded {"GraceTimeOut":10000000000,"Debug":true,"CheckNewVersion":true,"AccessLogsFile":"","AccessLog":null,"TraefikLogsFile":"","LogLevel":"DEBUG","EntryPoints":{"http":{"Network":"","Address":":80","TLS":null,"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":false}},"Cluster":null,"Constraints":[],"ACME":null,"DefaultEntryPoints":["http"],"ProvidersThrottleDuration":2000000000,"MaxIdleConnsPerHost":200,"IdleTimeout":0,"InsecureSkipVerify":false,"RootCAs":null,"Retry":null,"HealthCheck":{"Interval":30000000000},"RespondingTimeouts":{"ReadTimeout":0,"WriteTimeout":0,"IdleTimeout":180000000000},"ForwardingTimeouts":{"DialTimeout":30000000000,"ResponseHeaderTimeout":0},"Docker":null,"File":{"Watch":true,"Filename":"/home/ubuntu/deploy-swarm/sample.toml","Constraints":null,"Trace":false,"DebugLogGeneratedTemplate":false,"Directory":"/conf/"},"Web":null,"Marathon":null,"Consul":null,"ConsulCatalog":null,"Etcd":null,"Zookeeper":null,"Boltdb":null,"Kubernetes":null,"Mesos":null,"Eureka":null,"ECS":null,"Rancher":null,"DynamoDB":null}
INFO[2017-09-01T11:50:37Z] Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:false} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s
INFO[2017-09-01T11:50:37Z] Starting provider *file.Provider {"Watch":true,"Filename":"/home/ubuntu/deploy-swarm/sample.toml","Constraints":null,"Trace":false,"DebugLogGeneratedTemplate":false,"Directory":"/conf/"}
INFO[2017-09-01T11:50:37Z] Starting server on :80
ERRO[2017-09-01T11:50:37Z] Error starting provider *file.Provider: error reading configuration file: Near line 5 (last key parsed 'backends.backend2'): bare keys cannot contain '{'

Sorry the documentation is wrong, you cannot use template with the File Backend.

Ok, good to know. That's too bad, this would be a killer feature for a less verbose declaration of static frontends and backends!
I am using traefik in a micro-service architecture with Docker, and issue #1689 currently is a blocker for my deployment (dynamic frontends are not persisted, and 404 error codes are returned, which is not consistent with my api which expects 50x).
Just so you know, as a workaround I ended up dropping docker labels and statically declaring my backends/frontends in an custom docker template file... as they support go/sprig templates features.

Solving #1689 for Docker seems doable. Let me have a look tonight.

Closed by #2048.


Window only sees the dekstop, not the applications below

macOs 13.0.1 (22A400), CPU: apple M1
Since switching to Ventura, the window does not seem to "see" the windows below .See screenshot.
Thank you!

ah I just saw this https://github.com/michelf/sim-daltonism/issues/13  and looked in my system preferences, activated the option, and voilà! problem solved!


Update Docs for Current Data Ingestion Workflow

Per tonight's meeting will try to update data ingestion doc in onboarding resources accordingly to focus on dataset provenance, DB tables, and ingest prioritization.

@xee5ch I'm assuming this was covered by your PR, so I'm closing the issue - if there is something additional you needed to add, feel free to re-open the issue and comment as to what additional stuff might be needed.


Bump GitPython version

See the relevant dependabot report for more context.
https://github.com/Ericsson/codechecker/security/dependabot/81
https://github.com/Ericsson/codechecker/security/dependabot/82

The new version needs python 3.7:  https://pypi.org/project/GitPython/ That`s the reason the actions fail.
Re-run, and merge after #3842  is implemented/

Dependabot is sending like 5 emails every day about a bazillion of affected related packages. I propose that we do a single sweep of upgrading 3rdparties in the project at some reasonable "sequence point" before every release. (Same proposal as with the "checker label configuration".) Little changes that bump a number here or there just pollute the history and the review queue, and we potentially miss conflicts between changing package versions (e.g., upgrading one package will break the API use of another) on the way.


feat: rename default branch do "main"

In order to eradicate problematic language, we should rename our default branch to "main" instead of "master".
This PR changes the occurrences of "master" to "main" in a few files, so we can rename the default branch of our repo accordingly. These occurrences are mainly paths and action triggers.
Some occurrences are not relative to our repo (for what I figured), and were left as-is.
Questions
I would like to ask you, reviewers, the following:

do you think something is missing?
do you think some change is unnecessary?

Please let me know your thoughts!
Migration plan
[EDIT] I deleted the 'main' branch I previously created in the Freshmaker upstream repo. I'll follow Qixiang's suggestion and just rename the 'master' branch once everything is ready. The steps will be simpler in this approach:

merge the changes to the 'master' branch upstream
rename the 'master' branch to 'main' with the github interface

Please let me know if you think something won't work or is missing!
JIRA: CWF-1799

I fixed the failure in the test action! This was the succesful run:
https://github.com/redhat-exd-rebuilds/freshmaker/actions/runs/4534995806
I'll make a final change on the trigger and set the branch to 'main'. This will deactivate the next test run, but it will work again once I rename the default branch!


Add Submit (optional), Validate, and Reset buttons to a pinned toolbar

Is your feature request related to a problem? Please describe.
As a user, it is hard to navigate different form actions if I am filling out a lengthy schema with many subschemas.

If there are errors, I need to scroll back all the way to the top to view errors then scroll all the way to the bottom to submit. This process is repeated many times for lengthy schemas.
Sometimes I want to validate my progress partway through filling out a very long schema, so that I can fix errors along the way.
Sometimes I also want to easily reset/ clear the form without refreshing the entire page.
I want to easily identify the schema and version that I am completing, in case I have many tabs open or need to reference this.

Describe the solution you'd like

Add "Submit" (optional), "Validate", and "Reset" buttons to the toolbar.

react-jsonschema-form playground shows examples of programmatic form buttons.
Users should be able to validate their form at any time (don't have to scroll and Submit and the bottom)
Users should be able to reset their form at any time (don't have to refresh the page)
[Optional] Users should be able to submit their form at any time (don't have to scroll to the bottom of the page after fixing errors at the top)

Pin the toolbar (and title section) to the top of the web page. When forms are long, only the form section should be scrollable.

Users should be able to always see the currently selected schema and version

Mockup:

Describe alternatives you've considered
Submit button in the toolbar is optional because it might crowd the toolbar or be confusing since it will also be at the bottom of the form as before.
Additional context
Add any other context or screenshots about the feature request here.

Consider also adding focusOnFirstError prop to rjsf. This will autoscroll the form to the first error on Submit, rather than having the user always scroll to find the errors.


Installing dependencies after deployment

Thanks for sharing your setup!
If I'm not mistaken, you actually do the following:

Build, package it (including node modules).
Deploy to your resource.
Run an additional npm install on the actual app service to link native dependencies.

Is this correct? I'm struggling a bit with the last step.
The reason why I'm asking is to gain a bit more knowledge in this step. I've got a similar setup on which I just only do a release:

Download latest version from git and deploy

Then post deployment script:

Install required dependencies
Build app

This seems to work; but the kudu part with the post deployment I don't fully understand. This seems to run in a nodejs version 10. And it does not seem possible to change this. Did you do that in the deploy file you have?

No worries - hopefully it's been helpful!
The steps in the pipeline boil down to:

Create / update the resources (app service, CDN etc)
Build and package the app (not including node_modules) into a dist folder

This step places all the Next build outputs, plus some additional files required by the app service to run a node app into a dist folder

Deploy the dist folder to the app service via web deploy

Then when the app service receives the deployment it will run a Kudu custom deployment script that is primarily there to run yarn install - this deployment script is deployed to the app service with everything else in the dist folder.
I would have liked to push up node_modules with the deployment given I have already done that in the pipeline, but if I do that the web deploy step in the pipeline takes sometimes upwards of 30 mins! Not deploying node_modules and running yarn install on the app service is more like 1 to 5 mins depending on volume of changes.
It sounds like you have a pretty similar approach, except you are doing the build on the app service via Kudu also. The post-deployment script is a little hard to understand, I agree, especially as it's a .cmd script and I don't have a lot of experience with those. I found some documentation that helped me with it as well as another repo on GitHub as an example that helped me as I was using Yarn and the default scripts were using npm.
As for the Node version - check if you have the WEBSITE_NODE_DEFAULT_VERSION application setting set to 12.13.0. With that in place if I run node -v from the Kudu console it returns v12.21.0. I must have read about that setting somewhere, but I can't find any "official" documentation for it just doing a quick search now so I'm not sure what other valid versions are available, but Node 12 is enough to satisfy Next (for now)!

If you haven't come across my blog posts I wrote out my approach for Next on Azure here and here, which may also help to have a scan through for ideas. I've been tinkering with the approach a bit since I wrote those posts so the repo is more up to date, but they might still be of some use.
Hope that helps!

Thanks for the elaborate reply!
Only with WEBSITE_NODE_DEFAULT_VERSION I could still not get a specific version in kudu.
After retrying I ended up doing deployment by shipping the whole node_modules folders in a zip. You say it took up to 30 minutes at your end?
I'm not sure, maybe my setup / project is a bit different, but perhaps this speed can be improved by using a more recent version of node & npm (using node: 14 at the moment and npm: 7).
The build pipeline seems to take about 2-4 minutes (usually around 2) and the release itself usually 4 minutes up to (not often 8 minutes). Task name: 'Package deployment using ZIP Deploy'. Again, perhaps the projects are different; but I did got it to work a lot faster with more a recent version of node and npm.
Again, thanks for going into detail and thanks for writing the blog post! Dedefinitely gave me more knowledge about how this works.


xRegistry: Option to request a reboot after Set-TargetResource has run

Some registry changes require a reboot. It would be useful if xRegistry could request a reboot if Set-TargetResource runs.
Ideally, instead of setting $global:DSCMachineStatus, it could set one of the flags examined by the xPendingReboot resource (or maybe support both options)
I don't mind implementing this, but would like to discuss preferred approach.

@bozho Could you propose a updated schema.mof for this change? This proposal would reboot the server every time the Set-TargetResource is run (when configuration was set in desired state)?
Could you provide an real time scenario where this would be used?


feat: allow sorting by description

I'd like my maps to be sorted by description (as would some others, see #362), so I implemented an option and comparator function to do just that.

@folke Will this PR be merged in the recent days?
It seems be very helpful! As my nvim config, there're so many keymaps be defined in every plugin definition position, so if they can be ordered by description then it should be very clear in which-key screen.)

fixed in v3


Node error at first run, and then the action disappears from Control Panel

Hi, I have no knowledge of node, but any help is welcome.
Tried remove & reinstall, the same thing happens again.
Error message:
CSScomb error:
(node:96684) UnhandledPromiseRejectionWarning: [object Object]
(Use `node --trace-warnings ...` to show where the warning was created)
(node:96684) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:96684) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Versions: macOS 10.15.4 (19E287)
$ node --version
# v14.2.0

$ which node
# /usr/local/bin/node

$ subl --version
# Sublime Text Build 3211

I found a bug that would prevent CSScomb: Try online from running, and reinstalled the plugin.
The following error message shows:
CSScomb error:
(node:96860) UnhandledPromiseRejectionWarning: [object Object]
(Use `node --trace-warnings ...` to show where the warning was created)
(node:96860) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:96860) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


feat: add WaitForIdleTaskOptions.timeoutStrategy

See https://github.com/hiroki0525/idle-task#timeoutstrategy

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WebServiceTarget - Write multiple LogEvents in single request

Added Group-Layouts to merge multiple LogEvents into single bulk-write. See also #1952

Thanks!


docs(table-libraries): added basic info about tegel, tanstack and ag-grid

Describe pull-request
Basic info on differences and when to use each library for table
Issue Linking:
Choose one of the following options

Jira: Add ticket number after CDEP-: CDEP-3449

How to test

Check text written under Intro --> Announcements --> Table Libraries
Please suggest changes if something in not current or wrong with grammar or spell check.

Nice @theJohnnyMe, should we mention somewhere that the styling is limited to theme Quartz?

Great work! Should we update the links to the demo pages once the AG-Grid and TanStack examples have been merged?

Great idea! I will try to merge code in demo pages so we can already link to it.

Nice @theJohnnyMe, should we mention somewhere that the styling is limited to theme Quartz?

Good point, will do that ;)
It also reminds me that maybe we will need to update overwrites file according to new theme builder.

@nathalielindqvist and @timrombergjakobsson  - Updates done!


CB-11204: Catch when SDK not present on build and provide appropriate…

… message
Currently we don't have any check before calling the build through msbuild which doesn't give a meaningful error when the required SDK is not installed. We should catch this before and respond with the appropriate error message.

[Current coverage][cc-pull] is 72.71%

Merging [#177][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.70%

@@             master       #177   diff @@
==========================================
  Files            14         14
  Lines          1862       1880    +18
  Methods         342        347     +5
  Messages          0          0
  Branches        379        384     +5
==========================================
  Hits           1367       1367
- Misses          495        513    +18
  Partials          0          0

Powered by Codecov. Last updated by [f4e20a3...43831e5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/apache/cordova-windows/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/apache/cordova-windows/compare/f4e20a3a10dcdc038abe3699d7a4f6576cc8eded...43831e5ba819bfe05bef381b5ceb17fae8ad5a4e
[cc-pull]: https://codecov.io/gh/apache/cordova-windows/pull/177?src=pr

@vladimir-kotikov to help review

@nikhilkh , @vladimir-kotikov : Refactored the code to be more compact. Please have a look.

LGTM

LGTM. Thanks, Raghav for doing the refactor!


Use assembly load context for extensions

If an extension contains multiple assemblies, they will now resolve from within the extension thanks to a private load context. We want to ensure that we don't load a different version of anything the default context loads, so this checks for that as well.

@mjrousos This change became a bit bigger but also ensures we're dealing with the default extension in the same way as others. The build process will now move them to a subfolder and then at runtime we'll only load from there.


Allow block creation via db-shell REPL

What was wrong?
Trinity does not have a mode of operation where it mines blocks. However, every know and then it is useful to manually mine blocks. Mostly for testing but also for learning purposes, fiddling with private test nets etc.
So, far the only way to mine blocks was to put together a custom script. It would be great to be able to manually create blocks on a REPL.
How was it fixed?

Expose a MiningChain in the db-shell REPL
Profit.

$ trinity --genesis ./trinity/assets/eip1085/private_net.json --data-dir /home/cburgdorf/.local/share/trinity/deadbeef --network-id 666 db-shell
    INFO  08-27 17:23:29               trinity
      ______     _       _ __
     /_  __/____(_)___  (_) /___  __
      / / / ___/ / __ \/ / __/ / / /
     / / / /  / / / / / / /_/ /_/ /
    /_/ /_/  /_/_/ /_/_/\__/\__, /
                           /____/
    INFO  08-27 17:23:29               trinity  Started main process (pid=3023)
    INFO  08-27 17:23:29               trinity  Trinity/0.1.0a27/linux/cpython3.7.3
    INFO  08-27 17:23:29               trinity  Trinity DEBUG log file is created at /home/cburgdorf/.local/share/trinity/deadbeef/logs-eth1/trinity.log
> /home/cburgdorf/Documents/hacking/ef/trinity/trinity/plugins/builtin/attach/console.py(148)get_eth1_shell_context()
-> from eth.chains.base import MiningChain
(Pdb) continue
Trinity DB Shell
---------------
An instance of `ChainDB` connected to the database is available as the `chaindb` variable

    Head: #0
    Hash: 0x065fd78e53dcef113bf9d7732dac7c5132dcf85c9588a454d832722ceb097422
    State Root: 0x96afaf18b5d2a2c2b0f2e670ba7d3d8d60d56d42398185e94adcdc95362811d3
    Inspecting active Trinity? False

    Available Context Variables:
      - `db`: base database object
      - `chaindb`: `ChainDB` instance
      - `trinity_config`: `TrinityConfig` instance
      - `chain_config`: `ChainConfig` instance
      - `chain`: `Chain` instance
      - `mining_chain: `MiningChain` instance. (use a REPL to create blocks)

In [1]: block = mining_chain.get_vm().finalize_block(mining_chain.get_block())

In [2]: from eth.consensus.pow import mine_pow_nonce

In [3]: nonce, mix_hash = mine_pow_nonce(block.number, block.header.mining_hash, block.header.difficulty)

In [4]: nonce
Out[4]: b'\x00\x00\x00\x00\x00\x00\x00\x00'

In [5]: mix_hash
Out[5]: b'r\xcd)\xee\xd5\xd1<MQ\xb5\xe9xN\xeeu\xf5\xb4Z\x95~\x94h\x9f\xe5\xa87z`V\xf1\xe6\x7f'

In [6]: block = mining_chain.mine_block(mix_hash=mix_hash, nonce=nonce)

In [7]: block
Out[7]: <PetersburgBlock(#Block #1)>

In [10]: chain.get_canonical_head()
Out[10]: <eth.rlp.headers.BlockHeader at 0x7f51e6bc8a20>

In [12]: chain.get_canonical_head().hash
Out[12]: b"\xc4m\x01\x90/8\xe1\xb6\x08\x07i\xf7\xbe\xb5\xa3\xeb\x81\xa8P\xf4\x85$l\xba9\x14+\x89\x17'\x0fI"

In [13]: chain.get_canonical_head().parent_hash
Out[13]: b'\x06_\xd7\x8eS\xdc\xef\x11;\xf9\xd7s-\xac|Q2\xdc\xf8\\\x95\x88\xa4T\xd82r,\xeb\tt"'

In [14]: from eth_utils import encode_hex

In [15]: encode_hex(chain.get_canonical_head().parent_hash)
Out[15]: '0x065fd78e53dcef113bf9d7732dac7c5132dcf85c9588a454d832722ceb097422'

To-Do

[x] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

My preferred route to do this would be support for the POA protocol used on Goerli

As far as I understand, both would be valuable and it should ultimately be something that depends on the concrete mining strategy being used.
If I want to create real valid blocks in a PoW network, then I will need to mine a nonce and a mix_hash. Of course there is no production usage for this but I think being able to produce real valid blocks on our db-shell REPL is great for testing and demonstration purposes.
Here's where I'd like to use this:
I want to document how to use trinity with a custom genesis file. Ideally, this could be a guide that walks you through how to create a private testnet for development.

You'd start off creating your own my_devnet.json file per EIP 1085.

Then you launch one node and create some blocks on the REPL.

Then you spin up a second node that connects to the first node and syncs until it catches up

The goal of this PR is to make this use case possible without it being to cumbersome. Being able to create blocks on a REPL feels a little more convenient compared to offloading it to another script.

I'm totally on board with you that POA is more useful than POW for this.
Here's where I'm coming from with this:
I want to close the gap of features we currently have and features we have well documented. We do currently support running Trinity from a custom genesis file but we do not support POA. So what I'm trying to do is to come up with a minimal viable example that demos the custom genesis feature. For that I was thinking of:

Setup custom net
Run node A
Connect a REPL, manually create some blocks
Spin up node B, connected to node A
Make it sync up to the tip of A

The feature proposed in this PR would just smooth out the edges for this minimal viable example. But it isn't strictly needed. If you feel strongly about not exposing our mining chain in the REPL then I can still throw together a script that mines a few blocks.

I can be :+1: on this approach if you'll add a big .. warning or something that makes it clear what the limitations are such as it not being a good idea to try and use this for something long lived.


Feature: when read-write-split, use SQL hint to force the sql route to master node.

What would you like to be added:
Why is this needed:

@sanxun0325 will solve it

@sanxun0325 will solve it

Hi @sanxun0325   welcome.


Index Segment Persist and Bootstrap

Design doc:
https://docs.google.com/document/d/1GjnQlYr7uQIQ2keqxwTWlBDASEQyBXMNuEmkpsvZJXQ/edit?usp=sharing

Closing in favor of proposal issue following the updated proposal process (issues should be opened against the proposal repository):
https://github.com/m3db/proposal/issues/2


Feedback tabs are broken

Come custom (read: bad, inaccessible) styles were used for the tabs on the feedback page, and those are now broken. The styles must have been removed at some point.

We should instead do something simple, like add two buttons that are jump links to each form. Maybe we could show them next to each other on desktop and stacked on mobile.

Related to #749.


swift package init never completes at the root of a drive on Windows

Steps to reproduce
Run swift package init from the root of a drive on Windows:
D:\>swift package init

Expected behavior
The drive is initialized as a Swift package. Maybe with the name "D" (the drive letter?)
Actual behavior
The swift package init command never completes. Presumably because SPM is trying and failing to figure out the name of the package from the directory.
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a)
D:\>swift --version
compnerd.org Swift version 5.9-dev (LLVM f58e4c448dc4009, Swift 07f938435a8b7d1)
Target: x86_64-unknown-windows-msvc

(mid-july 2023 build)

@compnerd Another Windows path issue. It may be interested to see if the hang is in SPM or some lower-level path library that needs fixing.

This is unlikely to be addressed anytime soon.  The current path representation does not store nor have the ability to interact with Windows path roots.  As a result we cannot truly identify the root.  The manifest path spellings do not have native path spellings to allow for cross-platform usage, but the representation does not allow for handling platform specific behaviour.

Perhaps we should just fail with an error if this is attempted.


add deprecated headers, fix #872

Thanks for the quick PR Guilhem!
Is it possible to change the #pragma message to
#pragma DEPRECATED(msg), to follow the deprecation structure we had before?

@cmastalli : as you prefer
@proyan : I found the DEPRECATED(msg, func) macro for functions and methods, but for whole files or includes. Did I miss anything ?

@proyan : I found the DEPRECATED(msg, func) macro for functions and methods, but nothing for whole files or includes. Did I miss anything ?

Yes, that's correct. deprecated macro cannot be used in this case.
I think the @nim65s approach is OK.

You are right, we don't have the possibility of just a deprecation message. That would have to be some other time.

Please see PINOCCHIO_PRAGMA_DEPRECATED_HEADER if you want to have inspiration. The idea of it is that we can change the format of the message in one single place.

@nim65s
Could you please introduce the macro PRAGMA_DEPRECATED and PRAGMA_DEPRECATED_HEADER( based on https://github.com/stack-of-tasks/pinocchio/blob/master/src/macros.hpp#L31)
These two macros would supplement the macro DEPRECATED that we already have

Merci Justin

@nim65s You may need to format the code

-#CROCODDYL_PRAGMA_DEPRECATED_HEADER(crocoddyl/multibody/costs/control.hpp,crocoddyl/core/costs/control.hpp)
+#CROCODDYL_PRAGMA_DEPRECATED_HEADER(crocoddyl / multibody / costs / control.hpp, \
+                                    crocoddyl / core / costs / control.hpp)

I'm not sure that's what we really want… But I'll fix it :)

Hi Guilhem, I think you forgot to push :)

ping :)

Fixed :)


Spyder 5 problems

Spyder-kernel 2.1.0  issue
If there is an error when clicked on the line of code Spyder, doesn't open it.
I can't close and open cell of code.

Hey @fahmanali, thanks for reporting. This is a duplicate of issue #15091 and it'll be fixed in our next version (5.0.1), to be released shortly.

If there is an error when clicked on the line of code Spyder, doesn't open it.

This is a duplicate of issue #15166 and it'll also be fixed in 5.0.1

I can't close and open cell of code.

I can't reproduce this problem. Collapsing cells is working for me as expected. Could you post a screenshot of what you're seeing? Thanks!

One issue: If I want to open the function def by clicking its name; it is not opened.

What do you mean exactly by that? I don't get it.

I mean if you create a function and call it later in code or in another file. So, when you right-click and choose to go to definition; it doesn't work.

I can't close and open cell of code.

I can't reproduce this problem. Collapsing cells is working for me as expected. Could you post a screenshot of what you're seeing? Thanks!

I mean: like vscode near to each function, there is a row in the left to close and open cell of if block or function block.

I wish also if we can change the variable name and at the same time change all the existence of it in the document.

Ok, please use one of our installers here:
https://github.com/spyder-ide/spyder/releases/tag/v5.0.0
and try again. It could an installation issue that you shouldn't experience with our installers.

Closing due to lack of response.


WIP: Try to place the next pointer at a different place, to improve cache behaviour

This isn't ready for review, just using it as a test PR to try the CLA again

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


The loading feature that comes when you are opening the website.

Proposal
(A clear and concise description of what the proposal is.)
I believe the loading feature is a little too long which might make people think that their net is slow . I believe we should make the loading feature a bit short.

I'm a GSSOC'21 participate and would love to work on the issue.
Thank You

Sorry I thought the loading feature had a timer that's why I thought it was displaying the loading feature for a long time , the second time I opened it opened quickly. Sorry for the trouble.


Interpolate ALL data before drawing

Interpolate all data for the whole week and store in memory before starting the animation. By preloading, the user will have to wait a bit beforehand, but the visualization will have faster access to a specific interval (e.g. using slider) afterwards.

We recorded this issue as a reminder that this might actually be less efficient: the interpolate function is currently quite fast. Preloading a 1000x1000 grid with 3 values for 500 timeframes would require 1.500.000.000 values to be stored in browser memory, which is probably not a good idea.


Put website on HTTPS

No reason not to with free certs from Lets Encrypt.

This is a static website hosted by github pages. to my knowledge, let's encrypt depends on the hosted server to create the certificates so I'm not sure this would work.
Though I do believe we need an ssl.
Hopefully either I am wrong or this will change soon.

On Aug 20, 2017, at 10:00 AM, Luke Picciau<EMAIL_ADDRESS>wrote:
No reason not to with free certs from Lets Encrypt.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah yeah that would be an issue. When I checked last time the default github pages url has TLS but not if you use your own domain name.

I took a stab at creating https://arewewebyet.github.io but not sure what I did wrong.
What I did:

Created a github organization called arewewebyet at https://github.com/arewewebyet
git clone --mirror from this repo
git remote add downstream ... and git push -u downstream --all to get the repo at https://github.com/arewewebyet/arewewebyet.github.io but https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ says

User and Organization Pages that have this type of repository name are only published from the master branch.

I was hoping we could just mirror the website to https://arewewebyet.github.io but alas.

Could this be done by pushing this repo's gh-pages branch to master of https://github.com/arewewebyet/arewewebyet.github.io ?  It could be automated by a build system such as TravisCI if that works.

This issue can now be fixed https://blog.github.com/2018-05-01-github-pages-custom-domains-https/

I believe @gnunicorn now has the proper access to do these changes. Thanks!

https://www.arewewebyet.org is served over HTTPS. https://arewewebyet.org doesn't work, but that's tracked in https://github.com/rust-lang/arewewebyet/issues/129. Can this issue be closed?

Yes, the site is now served over https


Cuda mem overflow

Summary:
When running the predict_* methods of ModelWrapper, the same batch size that works during training / testing may cause out-of-memory errors because we replicate the data in each batch so the memory footprint will be e.g. 10x the memory footprint during training.
Features:
Added a replicate_in_memory instantiation parameter which allows for out-of-memory data batch replication.
Checklist:

[*] Your code is documented (To validate this, add your module to tests/documentation_test.py).
[*] Your code is tested with unit tests.
[*] You moved your Issue to the PR state.

Indeed. Unfortunately I had to run before the CircleCI finished.


Feature/fix ammo

Ammo fixes

Fix to empty rewardItems in ammo page
Refactoring rewardItems be used as a var
Fix consistency in ammo symbols between cached and live data

Also gives nicer animation by secondary sorting on ammo damage

.deploy to development

.deploy


AT-3.8: Upload a csv file to link warehouse locations to stock-keepers

Test Case ID: AT-3.8
User Story: ALTA-3.8 (#192)
As an inventory manager, I want to be able to upload a csv file of my organization’s warehouse locations so that I can link stock-keepers to their place of employment.
Acceptance Criteria
Given that the user is logged in as an inventory manager,

The user selects the Organization Settings side navigation option.
The user selects the Edit button to enable the form fields.
The user drags and drops the inventory extract csv file containing the locations of the warehouses.
The user sets the Repeat Every: value to 0 Days and selects the Save button. The system will rely on the locations in the extract to match stock-keepers with their place of employment.

Accepted.


dapr sidecar kubernetes services are not removed

In what area(s)?
/area runtime
/area operator
What version of Dapr?
0.1.0
Expected Behavior
When I uninstall a service and pod which had a dapr container inject the dapr service is not removed. They remain as kubernetes services until you manually remove them.
Actual Behavior
Except the dapr services to be removed.
Steps to Reproduce the Problem
Install one of the sample apps. For example the calculator demo. Then remove the calculator using kubectl delete. After that the services are still there visible (kubectl get svc)

This definitely sounds like a bug, we'll look into getting it fixed soon. Thanks for reporting!

@cvs79 thanks for the reporting. We will try to reproduce it and let you know.

@cvs79 Thanks for the reporting. We can reproduce this and will prioritize to fix it in the next release.
NAME                        TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)            AGE
addapp-dapr                 ClusterIP   <IP_ADDRESS>    <none>        80/TCP,50001/TCP   3m36s
calculator-front-end-dapr   ClusterIP   <IP_ADDRESS>     <none>        80/TCP,50001/TCP   3m36s
divideapp-dapr              ClusterIP   <IP_ADDRESS>     <none>        80/TCP,50001/TCP   3m36s
multiplyapp-dapr            ClusterIP   <IP_ADDRESS>    <none>        80/TCP,50001/TCP   3m36s
subtractapp-dapr            ClusterIP   <IP_ADDRESS>     <none>        80/TCP,50001/TCP   3m36s


Loading data from API call

Hi,
I want to make an api call to POST /projects/<project_id>/docs/create to create a document classification dataset, using Postman for example. However, I get an error saying that csrf verification failed. Can you please let me know how can I make a POST call if I need to make this call from some other program when doccano is running?
Thanks

Now, doccano does not officialy support external API call ( #6 ). So please wait a future progress!


Plugin fails in NustJs

Describe the bug
I get this error self is not defined when I import the the provider in a component
Kindly review why or give a guide on how to use in NuxtJs

can you share your code with https://codepen.io

import { Providers } from 'universal-social-auth'
import { ProderT } from 'universal-social-auth/dist/providers'
should without any issue

I added a plugin socialauth.js
import Vue from 'vue'
import axios from 'axios'
import UniversalSocialauth from 'universal-social-auth'
const options = {
providers: {
google: {
clientId:  process.env.GOOGLE_ID,
redirectUri: process.env.API_HOST + '/auth/google/callback'
},
facebook: {
clientId:  process.env.FACEBOOK_ID,
redirectUri: process.env.API_HOST + '/auth/facebook/callback'
},
}

}
const Oauth = new UniversalSocialauth(axios, options)
Vue.prototype.$Oauth = Oauth
the imported the plugin to nuxt.config.js
{ src: '~/plugins/mixins/socialauth', ssr: false },
then I imported the provider in a component
// import { Providers} from 'universal-social-auth'
// Button M2
import { Facebook, Google} from 'universal-social-auth'
OR
import { Facebook, Google, /Github , Twitter/} from 'universal-social-auth/dist/providers'
any the imports in component generates the error "self is not defined"
I'm using
"universal-social-auth": "^0.1.9",
"nuxt": "^2.14.0",

it work great nuxt check https://github.com/diadal/universal-social-auth-test-nuxt

https://github.com/diadal/universal-social-auth-test-nuxt
The link is invalid,  can you resend

have make it public it should work now https://github.com/diadal/universal-social-auth-test-nuxt

am sure is a little typo in your project just check the test project it should worked

i guess you get it worked by now

you can reopen the issue if not

Unfortunately I couldn't, this plugin is on typescript whereas my project is on JavaScript  and keeps returning same error, I had pop for vue-social-auth

just remove all the typescript code line it work without issue

https://github.com/diadal/universal-social-auth-test-nuxt-js pure nuxtjs javascript

Faced the same issue on ver. 0.2.5.
ReferenceError
self is not defined
in node_modules/universal-social-auth/dist/index.js
@1:282

check this out download and run https://github.com/diadal/universal-social-auth-test-nuxt-js then check with your code

Yes, it works. But I can't understand exactly where the problem is coming from, because I pasted my solution for front-end(client) from this link. :)

Yes, it works. But I can't understand exactly where the problem is coming from, because I pasted my solution for front-end(client) from this link. :)

can you share your code

I use nuxt2 with composition api, have same issue, I've created plugin with mode: client
My plugin file:
import axios from 'axios'
import UniversalSocialauth from 'universal-social-auth'
import { defineNuxtPlugin } from '@nuxtjs/composition-api'
import '@nuxt/types'

declare module '@nuxt/types' {
    interface Context {
        $social: UniversalSocialauth;
    }
}

const options = {
    providers: {
        google: {
          clientId: '****',
          redirectUri: 'http://localhost:3000/social/google'
        },
        facebook: {
          clientId: '****',
          redirectUri: 'http://localhost:3000/social/facebook'
        },
    },
}

export default defineNuxtPlugin(ctx => {
    ctx.$social = new UniversalSocialauth(axios, options)
})

While navigating from client - OK.
If I'm making direct refresh on that page(SSR). I receive:

Any news?

The issue on SSR mode is only when passing providerData. You can add it as object. I use the same that are in repo, then problem is solved.


Check Simulator's Compatibility with Autoware

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description

according to the issue discussed on simulation WG(https://github.com/autowarefoundation/autoware-projects/issues/21#issue-1203352244), MORAI Inc. has made a sample unit test package to check a simulator's compatibility with autoware.
the package covers test cases from ControlModeCommand& ControlModeReport(no. 1) to HazardLightsCommand & HazardLightsReport(no. 6).
EmergencyState is not covered since it is not being determined yet.

Purpose

To ensure that any simulator is compatible with the latest version of Autoware
Ultimately, streamlining the development process of Autoware-compatible simulators

Possible approaches
A very simple method to check the compatibility of MORAI SIM: Drive with Autoware is included in this documentation, which can give a very brief idea at least.
Link
Definition of done
[Current] cover the interface between the simulator and Autoware
[Future] test would cover other requirements defined in the documentation (related discussion link)

Common Test Code = Manual Testing Code
Test Code for MORAI SIM: Drive

Based on Common Test Code
Test Automation Feature

pytest
MSC (MORAI SIM Control API): test setup / tear teardown method

Update 22-07-06
Want to ask for a review: TierIV to test run the code.
However, I have a question regarding this, though. When a certain person (MORAI in this case) asks other members to run the code in their machine, how he or she can do that?
For me to have Soohyuk's code in my machine, I had to do the followings
open terminal
change working directory to ~/autoware/src/universe
change remote to Soohyuk's Autoware.Universe repository (which is a fork from the original Autoware.Universe repository)
git pull
git checkout [Soohyuk's latest commit]
Is this a typical process for other members as well in case wanting to get the code and run it in his/her local machine?

To remove morai msgs from the repo.
I will test the code with TierIV Sim.

Tests work with TierIV Sim. I've approved the PR but there are some issues with CI tests.


fix: download application.properties file if it was generated by hedera app during handling address book change

Description
This pull request changes the following:

Download application.properties file if it was generated by hedera app during handling address book change

Related Issues

Closes #560

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ID21032 UI Automation: automated test using Cypress for "Password element check"

Summary
https://mattermost.atlassian.net/browse/MM-21032
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/13335
Related Pull Requests

Has server changes (please link here)

/update-branch


feat: added Personal Access Token authentication method

Added 2 fields in config to allow authentication to Confluence via Personal Access Token.
It will look for usePAT in config and if it is set to true, it will look for pat value and use this as the Bearer token in the request to Confluence

Thanks for this, it's super useful! You might want to add the new options to the config schema as well: https://backstage.io/docs/conf/defining/
It would be neat if you could make (username && password) || (usePAT && pat) required, but I have no idea how to do that.

Hi, any chance we could have this?

@mist3r3 we're using this right now with patch-package, if that helps. Build the patched version, copy the dist/ files into node modules, and generate the patches.

Looking forward for this PR to be merged and excited to use this
https://github.com/K-Phoen/backstage-plugin-confluence/issues/184

can we have this feature merged please?

@chauvm development has moved to https://github.com/backstage/community-plugins/tree/main/workspaces/confluence/plugins/search-backend-module-confluence-collator, where this feature has been released


Too strong selectors

The following selector Is a notch too strong (0, 2, 1) and overrides normal class names:
https://github.com/twbs/bootstrap/blob/6dd3d91768227a7ac03a63f8e47eacae99be8892/scss/_reboot.scss#L208-L220
It could be
a[name]:not([href]):not([tabindex]): {
  color: inherit;
  text-decoration: none;

  @include hover-focus {
    color: inherit;
    text-decoration: none;
  }

  &:focus {
    outline: 0;
  }
}

Note: Updated snippet to better reflect the purpose of the styling i.e. named anchors. Original selector was a:not([href]):not([tabindex]):not([class])

I agree @joneff .
Can I submit a PR to this in case you're not working on this?

It's all yours.

Thanks @joneff

What about anchors without a name attribute? Also, apparently name is obsolete in HTML 5 per the MDN docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a.

Yes, you are right @mdo. Can we use something like a:not(:link):not([tabindex])? However, this seems less specific and may be overwritten by other CSS.

@mdo, yes named (as in a[name]) anchors are obsolete, but are still widely used. The rest of cases use id attribute on the nearest element. In the case of github issue comments, per say, the naming is done with ID attribute on div elements.
For those who use the standard approach i.e. <element id="some_id">...</element> the current selector is not an issue. However, those who have ..., the current selector is quite strong.
As an example of such links, if you have a slider widget with the slider part and two buttons for changing the value, you don't need tabindex nor href attribute on those because, per spec, you can only focus the widget itself and it manages the focus on its child items.
To me, assuming that anyone using named anchors is doing so by using the name attribute and not the id attribute has much smaller impact than assuming that anyone not having href or tabindex attribute is using named anchor and in terms forcing them to do something about the color and / or text decoration.

Definitely against name personally. We ought to support proper markup and not obsolete stuff.

@XhmikosR, if that's the case, then I am not sure why the above code exists anyway :) Using named anchors with id attribute negates the need for the snippet.

Context is in the issue that code resolved: https://github.com/twbs/bootstrap/issues/19402.

I think the current implementation, which is what GitHub is using too judging from @mdo's linked issue, seems fine.
Anyway, just my 2 cents.

Okay. So, I will close the PR for this.

I think this issue can be closed now.

I'm not sure why this is happening but this change creates a problem for our application.
We have an application using https://github.com/vsymguysung/ember-cli-summernote 1.5.0 and after upgrading to 1.5.1 some styles, which have nothing to do with bootstrap or summernote have changed.
The reason is, that in the CSS used by the browser there is
a:not([href]):not([tabindex]) {
color: inherit;
}
quite far on the top of the list. It overrides

Who had this idea anyway? supposed that a frameworks makes (my) life easier

I have the same issue as @bmaehr .
"a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover" selector is too strong and overrides our app styles.

Same issue as @bmaehr
Can confirm that a:not([href]):not([tabindex]) is basically too strong, that it overrides a class selector.
Any good workaround??

Same issue :( the overwritten is too strong

I don't know why you're reacting as confused to my statement. It's pretty simple. Comply with HTML standards before complaining that your framework is broken. A link requires the href="" attribute.
The examples above do not have a href="" but adding it fixes the problem.

A link requires the href="" attribute.

As far as I know there is no HTML standard which defines href as mandatory.

The examples above do not have a href="" but adding it fixes the problem.

Have you ever thought, that an application not only uses bootstrap but also other libraries where it is not so easy to just add something?

As far as I know there is no HTML standard which defines href as mandatory.
Maybe not in 2020, but it used to be the case that a link has to go somewhere. So an "a" without the attribute "href" is invalid.

Have you ever thought, that an application not only uses bootstrap but also other libraries where it is not so easy to just add something?
You can add your own classes on top of bootstrap. Why should bootstrap have invalid CSS just to bandage your poorly written libraries?

You probably want to read @mdo's last comment above for context.
Links without href are valid HTML— however those are considered placeholder links, not hyperlinks.
Styling both differently is considered a best practice, since they do not behave the same. Placeholder links litteraly do nothing and should not look like hyperlinks.
Would you have any valid use case demonstrating this could be wrong?

Contribution deleted due to attitude. Good luck.

Is there any good workaround for this yet?


Build docker image

What would you like to be added:
A Dockerfile to use the bot with docker for users who want it
Why is this needed:
Simple and fast way to use the bot on multiple platforms.
Personally I use this one with the Mangata launch script
Dockerfile.zip

Thanks for the idea. I'll work to get this added for 1.3.0.

https://github.com/GramAddict/bot/blob/docker/Dockerfile
In the README I've explained how Its' work (for the moment I've bind only a single config file) using volume.
Any suggestion are really appreciate, but I think It's a good base


Add a license to the repository

I recently came across your project perceptron-dqa and I noticed that the repository github.com/baronefr/perceptron-dqa currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

We have added a license to the project repository.
FB

thanks!


fix: og tags of portfolio

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your default branch!
[x] Make sure you are making a pull request against the default branch (left side). Also you should start your branch off default branch.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
[ ] I have added necessary documentation (if appropriate)

Linked Issues
Fixes #399
Description
Please describe your pull request.
❤Thank you!
Post merge checklist

[ ] Follow steps from the guidelines for contributing to this repository.
[ ] If you are a new contributor, ping in the thread and one of the maintainers will add you to all-contributors list.

@anish-patro updates on the changes requested??

@anish-patro please update the branch with latest commits


Hyperlink support

Include hyperlink link support for the contents of a cell.

After some additional research I determined that adding hyperlinks is problematic as the creation of an annotation is required and that annotation is then added to the page. This then requires the caller to keep track of any add annotations and add them to the page after the table is drawn. The table drawer is unable to do this as it only has access to the page content stream and has no direct access to the page.
I have implemented a solution that works for me so I guess this enhancement request could be closed. I am more that happy to share my solution, just ask!

Hey @hooperbill, thanks for offering to share your solution :+1:
I am thinking about a CustomCell class that would maybe also allow for easier customizations like the one for hyperlinks. It is currently in a feature branch and I'm still not sure about whether the solution is acceptable for releasing ... :smile:
If there is an easy way to share your solution (e.g. by creating gist, or a pull request etc.) I would be eager to see it!

I will find a way to share my code. In the mean time I will close this issue.


EtcdV3: Put the value associated with the lock on the same lease

Fixes https://github.com/abronan/valkeyrie/issues/31

Coverage decreased (-0.1%) to 84.061% when pulling c03de0218f719a267d9c34f958557ebc0a9c1a98 on Gaboose:etcd/expire-locked-value into f2e1850dc90593826b13ea00b36fe630ac15919a on abronan:master.

CI is failing, because I added a new test and EtcdV3, Redis and Dynamo are passing it, but not EtcdV2, Consul and Zookeeper.

How do I fix this:
--- a/go.mod
+++ b/go.mod
@@ -22,8 +22,6 @@ require (
 	github.com/hashicorp/go-msgpack v0.5.5 // indirect
 	github.com/hashicorp/memberlist v0.1.4 // indirect
 	github.com/jonboulle/clockwork v0.1.0 // indirect
-	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
-	github.com/modern-go/reflect2 v1.0.1 // indirect
 	github.com/onsi/ginkgo v1.8.0 // indirect
 	github.com/onsi/gomega v1.5.0 // indirect
 	github.com/prometheus/client_golang v1.1.0 // indirect
The command "git diff --exit-code go.mod" failed and exited with 1 during .

@Gaboose I'm confused, have you attempted to run go mod tidy on this PR and force-push? Could be an issue with the build script or Travis build cache. Or we may be facing some quirks with go modules.
I'm not entirely sure we need that git diff check in the build script, it makes sure someone ran go mod tidy before submitting a PR and ensures go.mod/go.sum are consistent but I'm not sure we can guarantee its output and how it will behave across go versions, especially the ones that predates full go modules support.
@ldez Any input on this?

I will take a look

First as Go1.11 in now unsupported by the Go team, I think you should drop this version in the travis file.

Go 1.11 is also mentioned in go.mod, so we can remove it from there too I think.

I create a small PR on that point.

Take a look to #33

@Gaboose you can rebase now

Rebased. CI passing!


Create .pyi files for DataPipes

🚀 Feature

Create .pyi files for DataPipes to provide information for IDEs
As @ejguan mentioned, codegen is needed in order for all the comments and argument types to be automatically attached to the .pyi file. We also need to account for the fact that operations exist in both Core and TorchData.
Motivation
These files will allow IDEs to provide more information to users when they are using DataPipes, and will enable features such as code autocompletion.
cc: @VitalyFedyunin @ejguan

This is done with https://github.com/pytorch/data/pull/224, but we still need to automate the process.

Can we close this issue?

Yes