CodeLens not registering derived classes of abstract test classes as runnable (XUNIT)

Issue Description
Working on writing tests, and have a situation where I have reusable test code that I want to run with different fixtures (managing different user configurations). To manage this, I'm making an abstract *TestsBase class with all tests listed in it, and 2 wrapper classes with different fixture. Here is an example layout similar to what I'm trying to do (4 tests in base class):
Screenshot from VSCode

When I run tests via dotnet test or a test runner (VS Test Explorer, and this VS Code Extension (recommended by Joey R.), it discovers all tests (8 total), and the test explorer shows a correctly organized view:
Test Explorer Screenshot

However, the Code Lens Run/Debug All Tests are not connecting to the wrappers with Fixtures (see first picture). The Run/Debug on the base class doesn't return any tests, since it is an abstract class.
Steps to Reproduce
Make an abstract class with 1/many public test in it (4 in example). Make 2 public wrapper classes (put traits/IClassFixtures on them to recreate). Running dotnet test will run 2x the amount of tests in your base class (8 tests ran in my example).
Code snippet
using System;
using Xunit;

namespace Component.Tests
{
    [Trait("Category","SQLite")]
    public class SQLiteWrapper : UnitTest1, IClassFixture<SqliteFixture>
    {
        public SQLiteWrapper(SqliteFixture sut) : base(sut){ }
    }

    [Trait("Category","SqlServer")]
    public class SqlServerWrapper : UnitTest1, IClassFixture<SqlServerFixture>
    {
        public SqlServerWrapper(SqlServerFixture sut) : base(sut){ }
    }

    public abstract class UnitTest1
    {
        public UnitTest1(IProvider cst)
        {
            sut = cst;
        }
        IProvider sut;
        [Fact]
        public void Test1()
        {
            Assert.Equal(1,1);
        }

        [Theory]
        [InlineData(1)]
        public void Test2(int expected)
        {
            Assert.Equal(expected,sut.MyInt);
        }

        [Theory]
        [InlineData(2)]
        public void Test3(int expected)
        {
            Assert.Equal(expected,sut.OurInt);
        }

        [Fact]
        public void Test4()
        {
            int sum = sut.MyInt + sut.OurInt;

            Assert.Equal(3,sum);
        }
    }
}

Expected Behavior
Code Lens Run/Debug All Tests Option should connect to derived classes that inherit from a class with Tests in it.
Actual Behavior
Code Lens only connects to the base class, even if it's abstract. It does not connect to the derived classes.
Logs
Didn't grab since I don't think it's necessary, but I can come back and upload if needed.
Environment information
VSCode version: 1.48.0
C# Extension: 1.23.1
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.400
 Commit:    035fb2aa2f
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19041
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.400\
Host (useful for support):
Version: 3.1.6
Commit:  3acd9b0cd1
.NET Core SDKs installed:
3.1.400 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

cpptools
ms-vscode
0.29.0

csharp
ms-dotnettools
1.23.1

csharpextensions
jchannon
1.3.1

debugger-for-edge
msjsdiag
1.0.15

docomment
k--kato
0.1.18

dotnet-test-explorer
formulahendry
0.7.4

EditorConfig
EditorConfig
0.15.1

github-sharp-theme
joaomoreno
1.4.0

markdown-all-in-one
yzhang
3.2.0

remote-containers
ms-vscode-remote
0.134.0

remote-ssh
ms-vscode-remote
0.51.0

remote-ssh-edit
ms-vscode-remote
0.51.0

remote-wsl
ms-vscode-remote
0.44.4

rest-client
humao
0.24.1

vscode-arduino
vsciot-vscode
0.3.1

vscode-docker
ms-azuretools
1.5.0

vscode-drawio
hediet
0.7.2

vscode-remote-extensionpack
ms-vscode-remote
0.20.0

vscode-xml
redhat
0.13.0

vscodeintellicode
VisualStudioExptTeam
1.2.10

vsliveshare
ms-vsliveshare
1.0.2666

vsliveshare-audio
ms-vsliveshare
0.1.85

vsliveshare-pack
ms-vsliveshare
0.4.0

vsonline
ms-vsonline
1.0.2669

Unrelated note
This is honestly the smoothest "Report an issue" workflow I've ever experienced. Kudos.

2023 and we are still here.


info: gem 'jekyll-avatar', '~> 0.8.0'

To use retry middleware with Faraday v2.0+, install faraday-retry gem
Configuration file: /home/runner/work/blog/blog/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-include-cache or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with bundle exec, ensure that you have included the jekyll-include-cache gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-include-cache' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
bundler: failed to load command: jekyll (/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll)
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.3/lib/jekyll/external.rb:70:in `rescue in block in require_with_graceful_fail': jekyll-include-cache (Jekyll::Errors::MissingDependencyException)


[QUESTION] Messages are not been sent

Hello there,
I am using a docker-compose file to have a local Kafka container.
docker-compose:
version: "2"

services:
  zookeeper:
    image: bitnami/zookeeper:latest
    ports:
      - "2181:2181"
    volumes:
      - "zookeeper_data:/bitnami"
    environment:
      - ALLOW_ANONYMOUS_LOGIN=yes
  kafka:
    image: bitnami/kafka:latest
    ports:
      - "9092:9092"
    volumes:
      - "kafka_data:/bitnami"
    environment:
      - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
      - ALLOW_PLAINTEXT_LISTENER=yes
    depends_on:
      - zookeeper
  kafdrop:
    image: obsidiandynamics/kafdrop:latest
    ports:
      - "9000:9000"
    environment:
      - KAFKA_BROKERCONNECT=kafka:9092
    depends_on:
      - kafka

volumes:
  zookeeper_data:
    driver: local
  kafka_data:
    driver: local

On my Laravel project I set in the .env the KAFKA_BROKERS as following:
KAFKA_BROKERS="localhost:9092"

I did go to Kafdrop and opened a new topic:
http://localhost:9000
topic = test
This is the code in my controller to do some tests:
 $message = new Message(
            body: 'This is a new message'
        );

        Kafka::publishOn('test', 'localhost:9092')
            ->withMessage($message)
            ->withDebugEnabled()
            ->send();

It seems that I always get an Exception with the following error:
Sent messages may not be completed yet.

There arent any messages on the topic.
Am I doing anything wrong?
Thank you in advance

have you installed and enabled librdkafka on your machine ?
Please try this code :
`
        $posts =["id"=>random_int(1000,10000),"password"=>Factory::create()->password,"email"=>Factory::create()->email,
                    "name"=>Factory::create()->name];

    $producer=Kafka::publishOn('new_users', 'localhost:9092');
    $message = new Message(
        headers: ['header-key' => 'header-value'], //?
        body: $posts,//?
        key: 'kafka key here'// ?
    );
    $messageBatch = new MessageBatch();
    $messageBatch->push($message);
    return $producer->sendBatch($messageBatch);`

Hi @K2ouMais, I tried using the docker compose file and indeed I get the same error. I don't know exactly what's wrong and currently i don't have time to debug it, but you can try with this one which works for me.

@K2ouMais i'm closing this since there is no more updates. Please feel free to reopen this issue or create a new one if your issues is not solved yet.


Use oninput for RadzenTextBox

Currently the RadzenTextBox listens to onchange events. When you want to have an update of the bound value on each keystroke you need something like
<RadzenTextBox @bind-Value="textVar" @oninput="e => textVar = e.Value?.ToString()"/>

This works but is cumbersome to use. I'd like to see a more convenient way.
Describe the solution you'd like
The only two events I'm aware of, that are useful in this case, are onchange and oninput. So a boolean parameter to switch to oninput would be the easiest way.
<RadzenTextBox @bind-Value="textVar" BindOnInput="true"/>

Other FormComponents descendants should be treated accordingly.
Describe alternatives you've considered
A property called maybe BindEvent of type string, which defaults to onchange, where the user has to provide oninput or other possible events (if there are any, maybe in the future).
Additional context
Blazor's documentation describes the change of the input event for the native HTML input as
<input @bind="InputValue" @bind:event="oninput" />

Blazor also has an InputText component. But this component doesn't provide a way to change the event. Both of the following variants do not work and throw exceptions. (RadzenTextBox doesn't like it either.)
<InputText @bind-Value="InputVar" @bind-Value:event="oninput"/>
<InputText @bind-Value="InputVar" @bind:event="oninput"/>

Blazor documentation recommends to create a derived component. I tried, but it didn't work for me for the RadzenTextBox.

Radzen.Blazor still provides support for .NET 3.1 which as far as I know does not support @bind:event. You can try inheriting from RadzenTextBox though - you should use the rendering markup from RadzenTextBox.razor and it should work.
@inherits RadzenTextBox

@if (Visible)
{
    <input @ref="@Element" disabled="@Disabled" readonly="@ReadOnly" name="@Name" style="@Style" @attributes="Attributes" class="@GetCssClass()" tabindex="@(Disabled ? "-1" : $"{TabIndex}")"
           placeholder="@CurrentPlaceholder" maxlength="@MaxLength" autocomplete="@AutoCompleteAttribute" value="@Value" @oninput="@OnChange" id="@GetId()" />
}

Since .NET 3.1 has reached EOL / EOS in 2022 would you consider dropping support to improve this?

Indeed we have already dropped support for .NET 3.1. We would gladly accept a pull request with a possible implementation for this.

That's great to hear. Do you think adding a BindOnInput parameter to switch between onchange and oninput as the triggering event would be a good implemenation?

The name sounds confusing a bit. Immediate sounds better (false by default). And the implementation should be a nested @if (Immediate) to avoid handling @oninput always.


Empty test suite error running tests inside Rubymine since upgrade to 1.1.0

Since upgrading to minitest-reporters 1.1.0 (from 1.0.20), when I run tests inside Rubymine, I get an "Empty test suite" error.
Running tests inside Rubymine worked well in 1.0.20
And "rake test" from the command line still works well in 1.1.0, it's just Rubymine somehow.
Full Rubymine console output:
/Users/daniel/.rvm/rubies/ruby-2.1.5/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest /Applications/RubyMine.app/Contents/rb/testing/runner/tunit_or_minitest_in_folder_runner.rb
Testing started at 18:47 ...
Work directory: /Users/daniel/Documents/xxxx/code/xxxx

87 test scripts were detected:
=========================================
1. (censored, sorry)
2. (...)
87. (...)
=========================================
Command line:
["/Users/daniel/.rvm/rubies/ruby-2.1.5/bin/ruby", "-e", "$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)", "-Itest", "/Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/bin/zeus", "test", "/Users/daniel/Documents/xxxx/code/xxx/test/controllers/api/app_sessions_controller_test.rb", "(... a lot more files here ...)"]
/Users/daniel/.rvm/rubies/ruby-2.1.5/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/bin/zeus test /Users/daniel/Documents/xxxx/code/xxx/test/controllers/api/app_sessions_controller_test.rb (... again, a lot more files here ...)
Started

/Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters/rubymine_reporter.rb:82:in `before_suite': undefined method `create_suite_started' for nil:NilClass (NoMethodError)
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters/base_reporter.rb:20:in `before_test'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters/rubymine_reporter.rb:90:in `before_test'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters.rb:46:in `block in run_with_hooks'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters.rb:46:in `each'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-reporters-1.1.0/lib/minitest/reporters.rb:46:in `run_with_hooks'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus/m.rb:201:in `execute'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus/m.rb:121:in `run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus/m.rb:106:in `run'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus/rails.rb:214:in `test'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus.rb:148:in `block in command'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus.rb:135:in `fork'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus.rb:135:in `command'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/zeus-0.15.3/lib/zeus.rb:50:in `go'
	from -e:1:in `<main>'
Coverage report generated for MiniTest to /Users/daniel/Documents/xxxx/code/xxxx/coverage. 34 / 101 LOC (33.66%) covered.
================================================================================
Code coverage is less than 100%!
================================================================================
Coverage (33.66%) is below the expected minimum coverage (100.00%).
/Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/rake-10.4.2/lib/rake/file_utils.rb:66:in `block in create_shell_runner': Command failed with status (2): [/Users/daniel/.rvm/rubies/ruby-2.1.5/bin/r...] (RuntimeError)
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/rake-10.4.2/lib/rake/file_utils.rb:57:in `call'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/rake-10.4.2/lib/rake/file_utils.rb:57:in `sh'
	from /Users/daniel/.rvm/gems/ruby-2.1.5@xxxx/gems/rake-10.4.2/lib/rake/file_utils_ext.rb:37:in `sh'
	from /Applications/RubyMine.app/Contents/rb/testing/runner/tunit_or_minitest_in_folder_runner.rb:103:in `drb_launch_tests'
	from /Applications/RubyMine.app/Contents/rb/testing/runner/tunit_or_minitest_in_folder_runner.rb:137:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'

Process finished with exit code 1
Empty test suite.

Thanks!

Is this reproducible with any test suite?

it looks like a duplicate of #175.  Please answer my question there.


Warning Operand of null aware operation

Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
When upgraded to flutter 3.0.0, there is a problem started to appear when running the app,
(The app works but there are error/s (warning/s) in the terminal).

Seems to be a duplicate of #120.


Fix rtd build with missing dependency

Tested with:
conda create -n rikai_docs python=3.9
conda activate rikai_docs
pip install -r python/deps/requirements_rtd.txt
cd docs
make html


Homepage beautification

Welcome to pr's beautiful and atmospheric homepage design interface.
The pages involved are:

Dashboard
Workbench Page
Analysis page

Of course, you can also submit beautification codes for other pages.

You can reply to the interface you want to submit below. So as not to repeat with others

You can reply to the interface you want to submit below. So as not to repeat with others

滚动条可以微调一下哈，原版的被header盖住一截，强迫症不友好...
header固定的情况下设置按钮放右上角？全屏内容或其它情况固定在右中？

滚动条可以微调一下哈，原版的被header盖住一截，强迫症不友好...
header固定的情况下设置按钮放右上角？全屏内容或其它情况固定在右中？


Upgrade CI to use latest prebuilt spirv-tools on Windows & Linux

We currently use a very old version from 2021-08-05 which doesn't fail our tests, but latest does (#865). So need to upgrade our CI to use latest available pre-built spirv-tools.
But can't find any instructions of where to find these magic pre-built URLs and a google search doesn't reveal it either. These URLs:

https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/linux-clang-release/continuous/1530/20210805-040049

@Jake-Shadle do you remember what site  #162 found what the latest prebuilds are? Ideally we shouldn't be using specific dates/commits either but stable versioned spirv-tools releases instead. Unfortunate that SPIRV-Tools repo still doesn't have any official prebuilds.

They're from this page, they're just the direct CI artifacts, which is terrible, but... :shrug:

Thanks, will test to upgrade to it and add link in the CI definitions to the page for next time

Should we try to keep spirv-tools-rs in sync? For example, I couldn't reproduce the validation failures when using the version compiled through spirv-tools-rs.

Think we should, but spirv-tools-rs also is on a frozen fork of SPRIV-Tools that we need to update also.
@Jake-Shadle could you do that?

Sure.


Add Package Feature does not allow Blue Tooth to be substituted by Radio

microbit.org-ticket: 815
When trying the "Add Package" Feature I had Radio on the primary list and asked for Blue Tooth. I was told that either Blue Tooth of Radio had to be removed. I selected Blue Tooth but this would not be accepted and the Remove window came up again.  The only way I could get out of this loop was to accept Blue Tooth.
I then tried to "Add Package" - Radio but as before, this was not allowed.  In fact the Remove Blue Tooth option is a lighter colour as though it had been greyed out.
I signed out and back in, using microbit org  PTX but got a conflict message that was too fast to record but was along the lines   " Conflict on yotta settings microbit.bluetooth enabled etc ...."
The screen I was left with was mostly blank and unusable except I tried Getting Started which gives me the getting started editor which may work.

This issue will be resolved by https://github.com/Microsoft/pxt/pull/1200

The changes are in, this will be fixed in our next beta release


failure with gulp once --browser=ie

C:\Users\builder\marklogic-samplestack>gulp once --browser=ie
[15:51:02] Starting 'once'...
[15:51:03] Starting 'clean'...
[15:51:03] Starting 'middle-tier-start'...
reconfiguring database, starting app server
gradlew.bat dbInit
[15:51:04] Finished 'clean' after 369 ms
[15:51:04] Starting 'bower-files'...
[15:51:04] Finished 'bower-files' after 496 ms
[15:51:04] Starting 'build'...
[15:51:05] processing files
[15:51:08] saw 221 files
[15:51:09] Finished 'build' after 4.53 s
.....................................................
gradlew.bat dbTeardown
.................................................
gradlew.bat dbInit
..........................................
gradlew.bat dbConfigure
......................................................................................
gradlew.bat test
.................................................................
gradlew.bat dbLoad --stacktrace
......................................
gradlew.bat bootrun
..........................................................................................................................
Exception in thread "main"
java.lang.IllegalStateException: Tomcat connector in failed state
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:157)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:287)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:961)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:950)
at com.marklogic.samplestack.Application.main(Application.java:48)..
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':bootRun'.

Process 'command 'C:\Program Files\Java\jdk1.7.0_71\bin\java.exe'' finished with non-zero exit value 1

Try:
Run with --stacktrace
option to get the stack trace. Run with --info or --debug option to get more log output.....
[15:55:51] detected middle tier started
preparations complete
[15:55:53] 'middle-tier-start' errored after 4.82 min
[15:55:53] Error: EXIT CODE: 1
at ChildProcess. (C:\Users\builder\marklogic-samplestack\shared\js\dev-tasks\e2e\middleTierJava.js:50:17)
at ChildProcess.emit (events.js:117:20)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

Error(s) occurred.
The Samplestack environment may not be properly configured.
[15:55:53] 'once' errored after 4.83 min
[15:55:53] Error: 1
at formatError (C:\Program Files (x86)\nodejs\node_modules\gulp\bin\gulp.js:169:10)
at Gulp. (C:\Program Files (x86)\nodejs\node_modules\gulp\bin\gulp.js:195:15)
at Gulp.emit (events.js:95:17)
at Gulp.Orchestrator._emitTaskDone (C:\Users\builder\marklogic-samplestack\node_modules\gulp\node_modules\orchestrator\index.js:264:8)
at C:\Users\builder\marklogic-samplestack\node_modules\gulp\node_modules\orchestrator\index.js:275:23
at finish (C:\Users\builder\marklogic-samplestack\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:21:8)
at cb (C:\Users\builder\marklogic-samplestack\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:29:3)
at ChildProcess. (C:\Users\builder\marklogic-samplestack\shared\js\dev-tasks\tasks\once.js:34:18)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)

Able to reproduce this issue on platforms windows , mac . Linus doesn't have a valid UI not sure what is expected behavior here .
I ran into this also in 2 cases
2) when NO java middle tier runtime server was running in separate terminal.
2) when java middle tier run time server was running in separate terminal.

The second #2 is expected. The first #2 is not. If the first #2 is an issue, then I would also expect the gradlew.bat bootrun to fail when called directly. Which machine is this on?

Windows , " gulp once " ran fine the first time , when i re-ran it fails , seems something is not getting cleaned  properly .
You can access the windows QA box to take the look at the error for both Windows and LInux box.

Okie i have to use these m/c for my testing . When you want to reproduce just run the gulp once two times on windows / linux

Good catch -- this looks like a problem with the e2e tests generally under the --middle-tier=java scenario. It might only affect Windows due to how different OSes handle processes. The e2e tests don't seem to be closing all the processes they launch. I'm testing a fix.

s/b fixed now


CLI doesn't include --name in account login command

Reference is reflected correctly: https://docs-v2.trinsic.id/reference/services/account-service/#login
But the walkthrough has the incorrect command: https://docs-v2.trinsic.id/walkthroughs/vaccination/#create-accounts
Seems like having a wallet alias / name is valuable, as shown in the walkthrough - but given it's been removed, can we please ensure the walkthrough can be completed with the CLI?

I know this is a big ask, I would prefer to change the topic from vaccination to something more usable, like a drivers license. We have full ISO schema in cli/tests.
This might not be the best opportunity for that, but if someone feels adventurous, I'd be happy to guide them.

I'm a +1 on switching to a different walkthrough topic -- I very frequently use drivers' licenses as an example of the value-add of SSI, so it makes perfect sense to lead with it


ban appeal geochaos717

i have been accused of griefing. the only "griefing" remember happening  is when me and a friend had a falling out and we had an argument over some items but that was both of our items but im a solo player and want access to the server and my old stuff is there any way to make this possible?

You say here you only griefed one time, but you had 2 separate warnings for griefing before being banned after a third time. Additionally, this all happened pre-reset so unfortunately there is not going to be much of your old stuff left. For this reason, I really cannot trust you not to do it again, given the amount of warnings you ignored.


PL translation

I've added Polish translation.

Hi Guys! Can you please take a look at this PR? It is a complete work that can be merged to the main repo.

@domnikl - can you please take a look at my PR? If something has to be changed just give me a note.
I would love that PR would be merged into the main repo.
Thanks!

Looks good, I merged it in. Thank you!


Fixes #136 by truncating file for w mode

Add truncate flag when opening file in 'w' mode. For read-write without
truncate mode, just open the file in 'r+' mode. This follow the default
fopen implementation now

LGTM


i added gh

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @dilshan34,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


missing dependency

The usage of the dataStore function also requires the "datastore-preferences" dependency in build.gradle:
implementation "androidx.datastore:datastore-preferences:1.0.0"

The required dependency is already added to the "preference_datastore" branch.
The "master" branch shows the code before adopting the data store.


Remove unstar endpoints

Now that starring in the UI is done in a consistent manner following https://github.com/dockstore/dockstore/issues/2395 we can remove the unstar endpoints from organizations, tools, and workflows.
You can see the DELETE endpoints with the verb unstar here: https://staging.dockstore.org/api/static/swagger-ui/index.html#/
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Backlog
┆Issue Number: DOCK-1486

No longer see either unstart endpoint https://dev.dockstore.net/api/static/swagger-ui/index.html#
API - 1.10.0-alpha.1-SNAPSHOT dockstore status indicator
UI - 2.6.1-30-g2d21f244


Console is throwing an error related to dash_renderer making app unresponsive.

Observed when opening the metadata tab:
dash_renderer.v2_8_1m1678408876.min.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at dash_renderer.v2_8_1m1678408876.min.js:2:61093
    at Array.map (<anonymous>)
    at dash_renderer.v2_8_1m1678408876.min.js:2:61054
    at e (dash_renderer.v2_8_1m1678408876.min.js:2:39574)
    at dash_renderer.v2_8_1m1678408876.min.js:2:61195
    at e (dash_renderer.v2_8_1m1678408876.min.js:2:39574)
    at dash_renderer.v2_8_1m1678408876.min.js:2:137146
    at dash_renderer.v2_8_1m1678408876.min.js:2:59193
    at dash_renderer.v2_8_1m1678408876.min.js:2:47959

It happens when a metadata file is uploaded with wrong columns. Need to investigate this more to reproduce it.

Not happening any more.


Fix linting errors

Currently when running:
deno lint

a lot of issues get reported.
error[no-explicit-any]: `any` type is not allowed
  --> /home/balazs/Documents/search_state/src/hits_with_numbered_pagination.ts:55:50
   |
55 |   T extends Record<string, any> = Record<string, any>,
   |                                                  ^^^
   = hint: Use a specific type other than `any`

  docs: https://lint.deno.land/rules/no-explicit-any

Seems like a lot of any types are being used in the code.
Either disable this warnings, or better address them.
For more qualitative code this should be fixed, so we can add this to the testing workflow as well.

Fixed in latest commit https://github.com/flevi29/search_state/commit/70ec08d7d23701c13fd9b83de347aa8173350204


Remove React Suspense from Client Runtime

This removes the <Suspense> component from Next.js' client-side runtime to deal with a breaking change released in a React minor version.

Closes https://github.com/zeit/next.js/issues/8886

@devknoll FYI on these changes.


Specifying line number in file path

Please describe the problem.
It is difficult to open files on a specific line when you already have the following format reported by many apps:
deep/dark/fantasies/Dungeon.txt:69

Describe the solution you'd like
I'd like to open files on a correct line as simple as:
$ vim deep/dark/fantasies/Dungeon.txt:69

…or

:e deep/dark/fantasies/Dungeon.txt:69

Describe alternatives you've considered
Now I need to manually split the line number from the string and prepend it with +
$ vim +69 deep/dark/fantasies/Dungeon.txt

Relevant plugins:

https://github.com/kopischke/vim-fetch
https://github.com/bogado/file-line

this has been discussed several times. Please use any of the linked plugins.


JSII warning message appearing in the console output

Describe the bug
Hello,
When running pcluster version command using the latest aws-parallelcluster package (develop branch), we get this error displayed in the console output. This only happens when using Node v20.0.0.
It started happening after this commit: (https://github.com/aws/aws-parallelcluster/pull/5035)
» pcluster version
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
b'!!                                                                                !!\n'
b'!!  This software has not been tested with node v20.0.0.                                                                !!\n'
b'!!  Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report.  !!\n'
b'!!                                                                                !!\n'
b'!!  This software is currently running on node v20.0.0.                                                                 !!\n'
b'!!  As of the current release of this software, supported node releases are:                                            !!\n'
b'!!  - ^18.0.0 (Planned end-of-life: 2025-04-30)                                                                         !!\n'
b'!!  - ^16.3.0 (Planned end-of-life: 2023-09-11)                                                                         !!\n'
b'!!  - ^19.0.0 (Planned end-of-life: 2023-06-01)                                                                         !!\n'
b'!!  - ^14.6.0 (Planned end-of-life: 2023-04-30) [DEPRECATED]                                                            !!\n'
b'!!                                                                                !!\n'
b'!!  This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable.        !!\n'
b'!!                                                                                !!\n'
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
{
  "version": "3.6.0"
}

It's unclear why this warning message is rendered only after the changes in the PR. Could you help us understand which code change is triggering the warning?
Expected Behavior
The warning message should not appear in the console output.
Current Behavior
The warning message is rendered in the console out outside the context of the script that we run (cluster.cli.entrypoint)
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
b'!!                                                                                !!\n'
b'!!  This software has not been tested with node v20.0.0.                                                                !!\n'
b'!!  Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report.  !!\n'
b'!!                                                                                !!\n'
b'!!  This software is currently running on node v20.0.0.                                                                 !!\n'
b'!!  As of the current release of this software, supported node releases are:                                            !!\n'
b'!!  - ^18.0.0 (Planned end-of-life: 2025-04-30)                                                                         !!\n'
b'!!  - ^16.3.0 (Planned end-of-life: 2023-09-11)                                                                         !!\n'
b'!!  - ^19.0.0 (Planned end-of-life: 2023-06-01)                                                                         !!\n'
b'!!  - ^14.6.0 (Planned end-of-life: 2023-04-30) [DEPRECATED]                                                            !!\n'
b'!!                                                                                !!\n'
b'!!  This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable.        !!\n'
b'!!                                                                                !!\n'
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'

Reproduction Steps

Install Node v20.0.0 in your system

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
chmod ug+x ~/.nvm/nvm.sh
source ~/.nvm/nvm.sh
nvm install v20.0.0
node --version

Install the aws-parallelcluster package from source after checking out (optionally using a virtualenv: see here)

git clone https://github.com/aws/aws-parallelcluster
pip install -e <PATH_TO_CHECKOUT>/cli

Run a command to check the version

pcluster version

The output includes the warning message

Possible Solution
N/A
Additional Information/Context
No response
SDK version used
JSII 1.80.0
Environment details (OS name and version, etc.)
MacOS Ventura (13.3.1 (22E261))

Node 20 support has been declared. In either case that worked as expected.


"Vârtoapele de Sus", "Gărăgău" and "Vârtoapele de Jos" are listed in the drop-down menu

Description:
"Vârtoapele de Sus", "Gărăgău" and "Vârtoapele de Jos" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Vârtoapele de Sus" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Vârtoapele de Sus, TELEORMAN (Vârtoape)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Gărăgău" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Gărăgău, TELEORMAN (Vârtoape)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Vârtoapele de Jos" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Vârtoapele de Jos, TELEORMAN (Vârtoape)".


docker 1.6.0: --ulimit stack=32768:32768 sets the limit to 32

Description of problem:
When --ulimit stack=32768:32768 is used as an argument for the docker run command the container is configured with the stack size set to 32.
docker version:
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): bdbc177
OS/Arch (client): linux/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): bdbc177
OS/Arch (server): linux/amd64

docker info:
Containers: 4
Images: 18
Storage Driver: devicemapper
 Pool Name: docker-253:0-36666502-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 2.365 GB
 Data Space Total: 107.4 GB
 Data Space Available: 954.3 MB
 Metadata Space Used: 2.474 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 954.3 MB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Kernel Version: 3.10.0-229.1.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 4
Total Memory: 3.696 GiB
Name: dockerdev
ID: OTYA:LAVJ:W6RM:7ZKW:EPEQ:IQIJ:LYYD:UFHS:CZLQ:R5MV:GG36:YHGU

uname -a:
Linux dockerdev 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):
VMware virtual machine
How reproducible:
Steps to Reproduce:

docker run --rm -it --ulimit stack=32768:32768 busybox sh
/ # ulimit -s

Actual Results:
32

Expected Results:
32768

Additional info:
In order to rule out a problem with the busybox image I have also tried using the ubuntu and centos images and they have the same problem.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

I think there's some serialization error on 1.6 that's causing this... can you check with a master binary?
I've also seen it, when using a really high number, go to 0 (which is definitely fixed on master).

 It sets the limit value as number of bytes, while ulimit reports the number of kb. So 32768 bytes == 32 kb

Why is it in bytes? In a shell you specify the value according to the unit,
Kb in this case. It would be good if docker handles the value in the same
way.
I ran some additional tests and it turns out the maximum value I can
specify for the stack size is 999999 bytes (roughly 976 Kb). A higher
number and the container will not start:
$ docker run --rm -it --ulimit stack=1000000:1000000 busybox sh
argument list too long
FATA[0000] Error response from daemon: Cannot start container
b3e961b3db7732213c7685140f65f31f606aeae1a06cd1f5765dca45f06ea3bc: [8]
System error: argument list too long
So in the end the stack size can't be changed beyond 976 Kb and I think
this should be fixed.

Pretty sure the max size issue is fixed on master, please test if you can.
Builds master.dockerproject.com

Tested with the master binary from May 16th (today's master binary fails to
start on my machine), the max size is indeed fixed in that version.
2015-05-24 0:03 GMT+02:00 Brian Goff<EMAIL_ADDRESS>
Pretty sure the max size issue is fixed on master, please test if you can.
Builds master.dockerproject.com
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/12957#issuecomment-104948424.

today's master binary fails to start on my machine

There have been some big changes (integration of libnetwork and volume plugins), so it's possibly there are some temporary regressions, but don't hesitate to report any issue you encounter running those builds.
@ramonvanstijn I'm going to close this issue because it has been resolved on master, but feel free to comment after it has been closed.
(Wondering - You don't happen to be my cousin and born in Lisse? :smile:)

@thaJeztah I was born in Utrecht, we could still be cousins though :wink:


[opencv3] Update to 3.4.8

Update opencv3 to 3.4.8.
Related: #8641.

Since Opencv3 is updated to 3.4.10, I think this PR is no longer available.


ZeroDivisionError: division by zero

@yl4579 first of all - thank you for your great work!
I'm unable to train model from scratch using provided notebook.
Kindly provide some hint on this issue.
Start training... Traceback (most recent call last):   File "train.py", line 172, in <module>     notebook_launcher(train, args=(), num_processes=1, use_port=33389)   File "/lib/python3.8/site-packages/accelerate/launchers.py", line 156, in notebook_launcher     function(*args)   File "train.py", line 139, in train     loss_token /= sizes ZeroDivisionError: division by zero

For some reason masked_indices are empty for all samples in your batch. Can you please check if your masking probability is set to nonzero?

@yl4579
Can you please provide a hint on possible reasons of masked_indices being empty?
I haven't tuned any config params just used your code as is except the dataset, which I believe is ok.

It seems like your dataset is broken. Can you check if your dataset makes sense? What does your data sample look like?


discovery.locator.enabled caused routes.filters invalid

Spring:
  Cloud:
    Gateway:
       # Setting discovery.locator.enabled=true will invalidate filters
      Discovery:
        Locator:
          Enabled: true
      Routes:
      - id: service_appraisal
        Uri: lb://appraisal
        Predicates:
        - Path=/appraisal/**
        Filters:
        - name: Hystrix
          Args:
            Name: fallbackcmd
            fallbackUri: forward:/fallback
        - name: Retry
          Args:
            Retries: 3
            Statuses: BAD_GATEWAY

The above configuration will cause the filters part to be invalid. Request http://localhost:5678/APPRAISAL/test, the routing result is as follows (Debug result):
2018-08-17 11:25:16.485 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying {_genkey_0=/appraisal/**} to Path

2018-08-17 11:25:16.486 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {_genkey_0=/appraisal/(?<segment>.*), _genkey_1=/${segment}} to RewritePath

2018-08-17 11:25:16.486 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {retries=3, methods=GET, series=SERVER_ERROR} to Retry

2018-08-17 11:25:16.495 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {name=appraisalBack, fallbackUri=forward:/fallback} to Hystrix

2018-08-17 11:25:16.500 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition matched: service_appraisal

2018-08-17 11:25:16.504 TRACE [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.h.p.RoutePredicateFactory        : Pattern "/appraisal/**" matches against value "[path='/appraisal/test']"

2018-08-17 11:25:16.504 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 --- [server-epoll-10] o.s.c.g.h.RoutePredicateHandlerMapping   : Route matched: CompositeDiscoveryClient_APPRAISAL

2018-08-17 11:25:16.505 DEBUG [gateway,32922115c3c9572f,32922115c3c9572f,false] 24628 ---
[server-epoll-10] o.s.c.g.h.RoutePredicateHandlerMapping   : Mapping [Exchange: GET http://localhost:5678/appraisal/test] to Route{id='CompositeDiscoveryClient_APPRAISAL', uri=lb://APPRAISAL, order=0, predicate=org.springframework.cloud.gateway.support.ServerWebExchangeUtils$$Lambda$764/2126809795@568363b4, gatewayFilters=[OrderedGatewayFilter{delegate=org.springframework.cloud.gateway.filter.factory.RewritePathGatewayFilterFactory$$Lambda$766/160988909@557db8de, order=1}]}

There is no hystrix and retry related filter in the route.
In order to use filter, the current solution is as follows:

Spring:
  Cloud:
    Gateway:
       # Do not enable discovery.locator.enabled
# discovery:
# locator:
# enabled: true
      Routes:
      - id: service_appraisal
        Uri: lb://appraisal
        Predicates:
        - Path=/appraisal/**
        Filters:
        # Solve the path problem
        - RewritePath=/appraisal/(?.*), /$\{segment}
        - name: Hystrix
          Args:
            Name: fallbackcmd
            fallbackUri: forward:/fallback
        - name: Retry
          Args:
            Retries: 3
            Statuses: BAD_GATEWAY

** As configured above, request http://localhost:5678/APPRAISAL/test, the routing result is as follows (Debug result)**:
2018-08-17 11:12:56.245 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying {_genkey_0=/appraisal/**} to Path

2018-08-17 11:12:56.249 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {_genkey_0=/appraisal/(?<segment>.*), _genkey_1=/${segment}} to RewritePath

2018-08-17 11:12:56.251 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {retries=3, methods=GET, series=SERVER_ERROR} to Retry

2018-08-17 11:12:56.257 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition service_appraisal applying filter {name=appraisalBack, fallbackUri=forward:/fallback} to Hystrix

2018-08-17 11:12:56.261 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.r.RouteDefinitionRouteLocator    : RouteDefinition matched: service_appraisal

2018-08-17 11:12:56.264 TRACE [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.h.p.RoutePredicateFactory        : Pattern "/appraisal/**" matches against value "[path='/appraisal/test']"

2018-08-17 11:12:56.264 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.h.RoutePredicateHandlerMapping   : Route matched: service_appraisal

2018-08-17 11:12:56.265 DEBUG [gateway,236d75d5e52a724d,236d75d5e52a724d,false] 22942 --- [server-epoll-10] o.s.c.g.h.RoutePredicateHandlerMapping   : Mapping [Exchange: GET http://localhost:5678/appraisal/test] to Route{id='service_appraisal', uri=lb://appraisal, order=0, predicate=org.springframework.cloud.gateway.support.ServerWebExchangeUtils$$Lambda$753/812058891@26ce000e, gatewayFilters=[OrderedGatewayFilter{delegate=org.springframework.cloud.gateway.filter.factory.RewritePathGatewayFilterFactory$$Lambda$755/292731128@29b134c0, order=1}, OrderedGatewayFilter{delegate=org.springframework.cloud.gateway.filter.factory.RetryGatewayFilterFactory$$Lambda$762/1603178155@6d4d66e8, order=2}, OrderedGatewayFilter{delegate=org.springframework.cloud.gateway.filter.factory.HystrixGatewayFilterFactory$$Lambda$763/771377733@388eaa81, order=3}]}

The route contains hystrix and retry related filters
Version Information:
        <parent>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-parent</artifactId>
             <version>2.0.3.RELEASE</version>
             <relativePath />
        </parent>
        <properties>
             <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
             <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
             <java.version>1.8</java.version>
             <spring-boot-admin.version>2.0.2</spring-boot-admin.version>
             <spring-cloud.version>Finchley.SR1</spring-cloud.version>
        </properties>

Not sure what the problem is based on the title.  Please provide a better description of the problem and a sample that reproduces the issue.

I have modified the problem description, please take a look @ryanjbaxter

I am still not following what the exact problem is.  When spring.cloud.gateway.discovery.locator.enabled=true what does the request downstream look like?  What should the valid request look like?
I am also not sure why you are enabling this configuration but then also adding the route yourself, I would choose one or the other.

The filter part of the route added by itself and spring.cloud.gateway.discovery.locator.enabled=true cannot exist at the same time. If it exists at the same time, the filter part of the route part will be invalid. At the same time, the reason is that I have multiple services, but There are some parts that need to be configured with additional filters. @ryanjbaxter

I think I know what might be a problem cause I am struggling with similar problem. It seems that spring.cloud.gateway.discovery.locator.enabled=true does not need any route configuration, and that it actually overwrites route configuration, so whatever You put in it is ignored. I will open an issue with it

We need to support ordering for RouteDefinitionLocators

I think It should also be possible to use the locator only to resolve lb: by service names, but not populate the routes, so this can be done manually (ie. I dont want to add route to all services discovered)

That is the RouteLocator's job, to create routes. lb://<serviceId> uri's work without setting spring.cloud.gateway.discovery.locator.enabled=true. Hence it's discovery.locator.enabled not discovery.enabled.

@spencergibb
Ok so I figured out the problem, and Yet it was a problem of my config anyway, thanks!!!

Hope to be compatible


Initial implementation of a TensorFlow v2 checkpoint writer

This is an initial implementation of a TensorFlow v2 checkpoint writer. It has no dependencies on the TensorFlow runtime or libraries, and currently only depends on SwiftProtobuf (a dependency we can remove if needed by manually reading and writing the small metadata protobufs here).
I'm labeling this as an initial implementation, and can consider this a work-in-progress if others feel it is incomplete, because the checkpoints it generates currently cannot be read by Python TensorFlow. They can be read by our Swift-based checkpoint reader that is present alongside this in swift-models. The core deficiencies are a lack of correct CRC32C values in the metadata and an incomplete footer in the index header.
It has been validated on the Transformer model, and example tensor extraction code has been provided for that model in Transformer/CheckpointWriter.swift, alongside a commented-out sample of how to save and reload a checkpoint for Transformer in its main.swift file.

@shabalind - Good point, we should have tests for this. I've added a simple roundtrip test of writing tensors of various shapes to a checkpoint, then reading back the checkpoint, and finally verifying the tensors are as they should be. This uncovered an issue with how I was writing CRC bytes, so it's already paid off.
Are there additional tests you'd like to see for this initial implementation?

With release branches about to be cut, I'll merge this in and continue work on further TF compatibility in a follow-on PR.


Clarity updates for OIDC

Made clarity updates for "Grant Type support".
Not sure if we should update "API portal" to "Exchange" and/or "Anypoint Community Manager"

@sarathecoubian Are there any additional changes you need me to make or is this ready to merge?

@sarathecoubian All changes made


Moved F# matrix operations to Functions.Matricies

This solves https://github.com/asc-community/AngouriMath/issues/407, but goes further, moving all methods that create or operate on matricies to Functions.Matricies. Is that okay?

Whoops, it looks like I actually pushed the Taylor Expansion commits along with this. Need to rebase next time.

Oof. Maybe you can rebase yourself on a new branch? So it would be easier to review and not mess up with history and commits.

Codecov Report

Merging #450 (467b4f6) into master (029c387) will increase coverage by 0.11%.
The diff coverage is 93.58%.

@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
+ Coverage   80.65%   80.77%   +0.11%
==========================================
  Files         145      145
  Lines       12455    12533      +78
  Branches     1681     1695      +14
==========================================
+ Hits        10046    10123      +77
+ Misses       1895     1894       -1
- Partials      514      516       +2

Impacted Files
Coverage Δ

Sources/AngouriMath/Convenience/MathS.cs
68.06% <50.00%> (-0.14%)
:arrow_down:

Sources/AngouriMath/Functions/Series.cs
92.15% <94.73%> (+7.54%)
:arrow_up:

...nctions/Output/ToString/ToString.Number.Classes.cs
96.55% <0.00%> (+3.44%)
:arrow_up:

...ngouriMath/Functions/Continuous/Differentiation.cs
76.00% <0.00%> (+6.00%)
:arrow_up:

Continue to review full report at Codecov.

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


want to check the status of real service

First want to check the status of real service if service is up then hoverfly should be goes into capture mode but status of real service is down then hoverfly should be goes into simulation mode  how can we do this.

@antika08
I have some questions:

Is the real service a production service?
How long is capturing going to continue if the real service is responding fine?
Should Hoverfly discard data after a certain period of time?
Hoverfly should wait for the real service in capture mode. How long should it wait?
Does Hoverfly try again on the next request if there is no response if the last one timed out (note that in this circumstance Hoverfly will appear to be as slow as your timeout)?
Instead of that, does Hoverfly declare the real service down and respond immediately?
How does Hoverfly know that the real service has come back? Is Hoverfly continually trying the real service perhaps?

@antika08
I suppose my real question is why doesn't Squid do what you want?

Sorry I don't understand about squid.
On Mon, Mar 4, 2019, 6:36 PM John Davenport<EMAIL_ADDRESS>wrote:

@antika08 https://github.com/antika08
I suppose my real question is why doesn't Squid
http://www.squid-cache.org/ do what you want?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpectoLabs/hoverfly/issues/821#issuecomment-469246117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhYb0SwuoFtqinEogQqrAgoJK8xJsv6ks5vTRpAgaJpZM4bcBan
.

I will share the answers for below questions with you  tomorrow
Thanks,
Antika Chauhan
On Mon, Mar 4, 2019, 4:57 PM John Davenport<EMAIL_ADDRESS>wrote:

@antika08 https://github.com/antika08
I have some questions:

Is the real service a production service?
How long is capturing going to continue if the real service is
responding fine?
Should Hoverfly discard data after a certain period of time?
Hoverfly should wait for the real service in capture mode. How long
should it wait?
Does Hoverfly try again on the next request if there is no response
if the last one timed out (note that in this circumstance Hoverfly will
appear to be as slow as your timeout)?
Instead of that, does Hoverfly declare the real service down and
respond immediately?
How does Hoverfly know that the real service has come back? Is
Hoverfly continually trying the real service perhaps?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpectoLabs/hoverfly/issues/821#issuecomment-469218957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhYb98uXTFdRRns4cOQ_luX9W8uLCGBks5vTQMWgaJpZM4bcBan
.

Hi John,

Please find below details of questions with highlighted answers:

Is the real service a production service? à Real service is not a
production service.
How long is capturing going to continue if the real service is
responding fine? à if real service is responding fine then on first
time hoverfly should capture the response in simulation file and after that
its gives real response till service is up.
Should Hoverfly discard data after a certain period of time? à At
the first successful response of the day, it should capture the response
through hoverfly then Hoverfly should discard the previous recorded data.
Hoverfly should wait for the real service in capture mode. How long
should it wait? à Wait time should be configurable from our end as
different services have different wait time.
Does Hoverfly try again on the next request if there is no response
if the last one timed out (note that in this circumstance Hoverfly will
appear to be as slow as your timeout)? à if service is down then first
hoverfly should declare that this service is down and goes into simulation
mode
Instead of that, does Hoverfly declare the real service down and
respond immediately? àHoverfly should declare the service down and
goes into simulation mode.
How does Hoverfly know that the real service has come back? Is
Hoverfly continually trying the real service perhaps? à Whenever we
execute the test cases, if service is up, request should go to main
application/service and hoverfly should also capture the response at that
time, and if service is down then hoverfly should go into simulation mode.

Thanks & Regards,
Antika Chauhan
On Mon, Mar 4, 2019, 4:57 PM John Davenport<EMAIL_ADDRESS>wrote:

@antika08 https://github.com/antika08
I have some questions:

Is the real service a production service?
How long is capturing going to continue if the real service is
responding fine?
Should Hoverfly discard data after a certain period of time?
Hoverfly should wait for the real service in capture mode. How
long should it wait?
Does Hoverfly try again on the next request if there is no
response if the last one timed out (note that in this circumstance Hoverfly
will appear to be as slow as your timeout)?
Instead of that, does Hoverfly declare the real service down and
respond immediately?
How does Hoverfly know that the real service has come back? Is
Hoverfly continually trying the real service perhaps?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpectoLabs/hoverfly/issues/821#issuecomment-469218957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhYb98uXTFdRRns4cOQ_luX9W8uLCGBks5vTQMWgaJpZM4bcBan
.

Please find below details of questions with highlighted answers:
1. Is the real service a production service?

Ans: -- Real service is not a
production service.
2. How long is capturing going to continue if the real service is
responding fine?
Ans :-  if real service is responding fine then on first
time hoverfly should capture the response in simulation file and after that
its gives real response till service is up.
3. Should Hoverfly discard data after a certain period of time?
Ans:-- At
the first successful response of the day, it should capture the response
through hoverfly then Hoverfly should discard the previous recorded data.
4. Hoverfly should wait for the real service in capture mode. How long
should it wait?
Ans :-- Wait time should be configurable from our end as
different services have different wait time.
5. Does Hoverfly try again on the next request if there is no response
if the last one timed out (note that in this circumstance Hoverfly will
appear to be as slow as your timeout)?
Ans :- if service is down then first
hoverfly should declare that this service is down and goes into simulation
mode
6. Instead of that, does Hoverfly declare the real service down and
respond immediately?
Ans :-- Hoverfly should declare the service down and
goes into simulation mode.
7. How does Hoverfly know that the real service has come back? Is
Hoverfly continually trying the real service perhaps?
Ans :-- Whenever we
execute the test cases, if service is up, request should go to main
application/service and hoverfly should also capture the response at that
time, and if service is down then hoverfly should go into simulation mode.
Please help me this is very urgent for me.

@antika08 If you want SpectoLabs to divert effort to this contact me directly

John, can you please share your email id so that I can contact you directly

It's on my @JohnFDavenport profile

John, we want that hoverfly-java should check the status of real service if service is up then hoverfly- Java should be goes into capture mode but status of real service is down then hoverfly-java should be goes into simulation mode how can we do this.

Please help us. It's very urgent for us

@antika08 it wasn't clear that you are using Hoverfly-Java. Given you are prepared to check the status of the service before you start the test. If the service is not available you can use the last good capture for your simulation.
In your test you can check your service health and change the mode based on the results. The hoverfly API provides methods to interact with the Hoverfly proxy:
setMode();
simulate();
exportSimulation();

Please share some example with me so that I can understand this
On Wed, Mar 20, 2019, 5:29 PM John Davenport<EMAIL_ADDRESS>wrote:

@antika08 https://github.com/antika08 it wasn't clear that you are
using Hoverfly-Java. Given you are prepared to check the status of the
service before you start the test. If the service is not available you can
use the last good capture for your simulation.
In your test you can check your service health and change the mode based
on the results. The hoverfly API provides methods to interact with the
Hoverfly proxy:
setMode();
simulate();
exportSimulation();
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpectoLabs/hoverfly/issues/821#issuecomment-474799691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhYb6GawxnnMCeAxmPbTy8Ipmzqftpyks5vYiKzgaJpZM4bcBan
.

Hi John,
Please help me to find the example for hoverfly-java for checking the
status of service and change mode accordingly.
This is very urgent for me.
Thanks and regards,
Antika
On Thu, Mar 21, 2019, 6:10 PM antika chauhan<EMAIL_ADDRESS>wrote:

Please share some example with me so that I can understand this
On Wed, Mar 20, 2019, 5:29 PM John Davenport<EMAIL_ADDRESS>wrote:

@antika08 https://github.com/antika08 it wasn't clear that you are
using Hoverfly-Java. Given you are prepared to check the status of the
service before you start the test. If the service is not available you can
use the last good capture for your simulation.
In your test you can check your service health and change the mode based
on the results. The hoverfly API provides methods to interact with the
Hoverfly proxy:
setMode();
simulate();
exportSimulation();
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpectoLabs/hoverfly/issues/821#issuecomment-474799691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhYb6GawxnnMCeAxmPbTy8Ipmzqftpyks5vYiKzgaJpZM4bcBan
.

@antika08 what you are asking for support that is in excess of what anyone can reasonably expect from an open source project. Whilst we have been helpful to continue to do so free of charge would mean diverting limited resources away from the wider community SpectoLabs seeks to serve. If your company would like to enter into a commercial support arrangement with SpectoLabs please get in contact with myself. My email is on my profile page. Alternatively use the SpectoLabs contact form.


Load Storage Account Error

When I try to get access to any of the storage account, it gives me this error
Unable to establish connection using current proxy settings. Please verify current settings by accessing the proxy dialog in the toolbar.
The custom connection with ID 'storage account name' cannot be found.
This issue has started after I updated my storage explore version to v1.25.1.

Have you tried enabling proxy in the proxy settings?

Since we haven't heard anything from you in over 28 days we're going to close this issue. If you're still facing this issue, we recommend opening an Azure support ticket via the portal, or you can open a new issue here. Thanks.


lots of segfaults in new v2 arg processing

Basically, too many instances of args[0] (without checking len(args) to count. See #6041

Suggestion: pull #6041 into your tree, run bats test/system/015-help.bats, fix whatever it complains about, repeat. Some of the fixes seem easy, some (podman container rm) are harder because the code needs to recognize -l. This is going to take a while, methinks.


Remove kubeshark tap upgrades from release pipeline

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 24.55%. Comparing base (f1021f6) to head (795cff8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1519   +/-   ##
=======================================
  Coverage   24.55%   24.55%
=======================================
  Files          14       14
  Lines         558      558
=======================================
  Hits          137      137
  Misses        421      421

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


can't connect with mysql

command ' mysql.addConnection ' not found
when I click "mysql", no reply

Can you make sure the extension is enabled?
Also, can you try running the workbench.action.restartExtensionHost command?

Upstream issue https://github.com/formulahendry/vscode-mysql/issues/174


fix: fixes bug where cannot expand when dropping on empty children

Hi @AssisrMatheus, thanks for your contribution! Can you please explain which issue you are facing?
The prop hasChildren denotes whether an item should behave like a container that has children, i.e. can expand/collapse and take items. So if this is false for an item, it should never be able to expand, even if the user attempts to drop items onto it. So if you have an item that should be able to accept children and that should be able to expand or collapse, it should have hasChildren set to true beforehand. Yes, this is not a super intuitively named variable, I might change it in the future, but don't want to for now since it would change the public interface.

So if you have an item that should be able to accept children and that should be able to expand or collapse, it should have hasChildren set to true beforehand

Ah this is not very clear!
💡  Perhaps you can introduce another variable canHaveChildren -  which is more representative of changes the tree would go through over time. hasChildren is only representative of current state (not of future).

Also, it seems like when you provide hasChildren, the items are expanded by default. For this it's better to check for children.length > 0 and keep hasChildren (or canHaveChildren) for whether they can have children (on drop functionality)

It can be fixed if you implement your own data provider, for exmaple:
const dataProvider = new StaticTreeDataProvider(dataUsageTree, (item, data) => ({ ...item, data }));
dataProvider.onChangeItemChildren = function (itemId, newChildren) {
  this.data.items[itemId].hasChildren = true;
  this.data.items[itemId].children = newChildren;
  this.onDidChangeTreeDataEmitter.emit([itemId]);
};

return (
  <div>
    <UncontrolledTreeEnvironment
      dataProvider={dataProvider}
      canDragAndDrop={true}
      canReorderItems={true}
      canDropOnItemWithChildren={true}
      canDropOnItemWithoutChildren={true}
      viewState={{}}>
      ...
    </UncontrolledTreeEnvironment>
  </div>
)


Add touch-action demo, based on Matt Gaunt's work.

Original demo: http://jsbin.com/batijohode/1/edit?html,css,output
@jeffposnick: PTAL!
FYI: @gauntface @PaulKinlan

@jeffposnick are we able to merge? I need to get this linked from the blog post.

👍


T8.2.4 adapt 'iohk-ops'

it's now called cardano-ops
https://github.com/input-output-hk/cardano-ops

we now are more familiar with the cardano-ops nix setup that we can adapt it if needed.


Query generation with existing database table named "fields"

Your Question

I wanted to generate the query files for my existing database structure but found that when it generated the query file for my database table named "fields", the field import collided with the generated struct name field. What is the proper way to go about this?
The document you expected this should be explained

If this is meant to be fixed via a configuration option, then the documentation to explain this would be here within "Usage". Otherwise, the imports should be aliased to avoid conflicts.
Expected answer

The imports should be aliased to avoid conflicts.

https://gorm.io/gen/database_to_structs.html#Global-Generating-Options


Create configuration folder for notice.txt generation

Summary
We are working to automate Notice.txt file generation and some of the properties need to be managed by developers.
To support that feature, we created a configuration file in the repo under build folder.
Ticket Link
https://mattermost.atlassian.net/browse/DOPS-448
Release Note
NONE

Related PR: https://github.com/mattermost/mattermost-mobile/pull/6360

FYI this caused a massive problem with the gitignore and the build folder. Will fix

@enahum  sorry for the problem and thank you very much for the fix.


xScheduledTask: Trigger has no option for Synchronize across time zones

Details of the scenario you tried and the problem that is occurring:
I have some Scheduled Task set up with xScheduledTask in the Daylight Saving Time on a Windows Server 2016. After End of the DST my Jobs run one hour early. But one hour early the other system was not ready. After removing the "Synchronize across time zones" in the schedule, the start time is the current time (Local Non DST).
I found no option to change the "Synchronize across time zones" this with xScheduledTask.

Hi @StefanSchoof - are you able to tell me which version of xComputerManagement you're using? There was a fix in v<IP_ADDRESS> that hopefully addressed this.

Currently I have <IP_ADDRESS>. I do not remember updating the module since I set up my task, but It is possible I did.

Are you able to take a look at the MOF file that was used to apply to the node to see if it used <IP_ADDRESS>? If it is using <IP_ADDRESS> and the problem still exists then there may still be an issue with daylight savings time.

I search my log and found that the Install-Module run on the 06. October 2017 and the first apply failed because I used the old syntax. I had a RepeatInterval = 1 which I removed. So I think I used <IP_ADDRESS> the whole time on this Server.

This must still be an issue then. But you are right, it doesn't look like the Synchronize across time zones is exposed in the resource. I couldn't actually find this in the New-ScheduledTaskTrigger cmdlet either - so I'll need to do some more digging to see where/how this gets exposed to PowerShell.

Here a the steps for a repo:

Create a Windows 2016 VM in Azure
Deactivate the Hyper-V Time Synchronization Service
Change Time Settings: Settings -> Time & language -> Set time automatically: Off, Time zone UTC + 01:00 Amsterdam, ..., Change Date to 27 October (Had DST Change on 29. October)
Add a dsc file

configuration ScheduledTask
{
    param
    (
        [string[]]$NodeName = 'localhost'
    )

    Import-DSCResource -ModuleName xComputerManagement

    Node $NodeName
    {
        xScheduledTask Test
        {
            TaskName = "Test"
            ActionExecutable = "cmd"
            ScheduleType = "Daily"
            StartTime = "05:00:00 AM"
        }
    }
}

Install-Module xComputerManagement
. .\dsc.ps1
ScheduledTask
Start-DscConfiguration -Path .\ScheduledTask\ -Wait -Verbose

Take a look at the Task Scheduler

Next run time is at 5 AM

Change Time Back to 30. October

Take a lock again at the Task Scheduler

Next run time is at 4 AM


feat(strm-1597): added common project-id while creating batch job

Verified by hand with a batch job config file with empty project ids. This prevents the need to add a project uuid in the configuration file

:tada: This PR is included in version 2.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Const Multiple Audio Language Order

Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
NONE
What version of Shaka Player are you using?
v3.3.2
Please ask your question
I am playing an HLS live stream with 8 languages
Every time I reload the page the list of audio changes its position in the Language list.
What we want is it should have the exact same order of audio order as HLS live playlist has. Even if we reload the page.

This sounds more like a request for improvement than a question. Can you open an improvement issue?
Thanks!

#4178


Update serilog-sink.md

in test case is AzureDataExplorerSink

@shsagir
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


Strict Origin Isolation

A bit better than Strict Site Isolation; available via a flag atm.
Shouldn't be enabled by default until it leaves the experimental phase. Perhaps if/when Hexavalent gets a "beta" branch this should be enabled there.

https://groups.google.com/a/chromium.org/g/blink-dev/c/_oRc19PjpFo


Add capability to optionally enable disqus comments

Users will be able to optionally enable disqus comments on every post by defining the disqus_shortname property in the config file.

Will re-submit this. Closing as disqus.html has no new line before EOF.


Error using Collection array with @mui/material Checkbox

When I use <Collection /> of type array build around some <Checkbox /> I receive the following error:
The prop "name": apple of type "string" passed to "<Input />" it is not allowed within context a of type "array".

See https://codesandbox.io/s/collection-array-with-mui-checkbox-values-zh1sv and try to replace object with array

As documentation says:
If your Collection is rendered within a , name is not allowed as a prop.
https://iusehooks.github.io/usetheform/docs-collection
What are you trying to achieve? which is the output expected?

I expected the output to be ["apple", "banana", "pineapple"].
your example outputs {"myPreferredFruit":[null,true,true]}.
If you add the value prop to each of the Checkboxes the result is even stranger being {"myPreferredFruit":["apple","banana",true]} (why doeas the last one have value true instead of pineapple?).
BTW what is withIndex? I didn't find it in th docs.

If you want to get back a spefic value instead of true/false from a checkbox you have to pass that value as prop to the checkbox.
Working example at: https://codesandbox.io/s/collection-array-with-mui-checkbox-values-forked-bigzk?file=/src/components/Checkbox.js
You can read about withIndex at: https://iusehooks.github.io/usetheform/docs-collection#array-collection
Thanks.

Thank you!


Zalhabash/home page content

Closes #15

Checks failing bc the "About Us" page I'm linking to on the home page hasn't been created yet

Are you sure that's why it's failing?
If it is you can add a stub to fix the error.

Yeah, that's why it was failing. Added the stubs and found a second error. I was linking to "/contact-info" instead of "/contact-us". Thanks for the suggestion.


Support more sophisticated cells in RenderTable

Allows more sophisticated cell rendening in RenderTable. Before, each column could only refer to an item in the map, now the renderer function gets passed the full object to be rendered as well as the key to the column that we're rendering. This allows more interesting renderings, for example, a column with buttons that can be pressed to take action on the contents of the row.

Can you please remove all checked in .cache-main files , remove all except the one .gitignore which is in the root of the project, and add the eclipse specific files to that?

Thanks for the contribution, i'm pretty enthusiastic about making the pure scala components better. they should be able to act like a showcase of what we can do easily, and they arent really ATM

It would be nice to have support for inline editing. I think merging this pull request can be a starting point for this?

I'll close this for now. Feel free to reopen


UnknownError:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.

System information

OS Platform and Distribution: Ubuntu 18.04.
LInux Kernel:

5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

TensorFlow installed from source as written here (tried from binary also):
Build was with all flags OFF except cuda-Y
TensorFlow version: 2.1.0
Python version: 3.6.9
Bazel: 0.29.1
GCC/Compiler version: 7.5.0
CUDA/cuDNN version: - GPU model and memory:
CUDA: 10.1
CuDNN: 7.6.5 ( tried 7.6.1 also)
GPU model: Nvidia Geforce 1660 Ti (6 GB)

Tried to execute simple MNIST CNN example but with tensorflow.keras importing NOT keras!
Error

UnknownError:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node sequential/conv2d/Conv2D (defined at :70) ]] [Op:__inference_distributed_function_1004]
Function call stack:
distributed_function

Firstly, I got this error when installed tensorflow-gpu from binary via pip.
Then, I thought that against CUDA-10.1 I have to manually build tensorflow via bazel but after successful built - I got the same error. I have also tried change CuDNN version from 7.6.5 to 7.6.1 but again it did not help.
CUDA downloaded from nvidia website and works perfectly
CuDNN is rightly installed by downloading it from nvidia website and copying into /usr/loca/cuda-*
cp -P cuda/include/cudnn.h /usr/local/cuda-${CUDA_VERSION}/include
cp -P cuda/lib64/libcudnn* /usr/local/cuda-${CUDA_VERSION}/lib64/
chmod a+r /usr/local/cuda-${CUDA_VERSION}/lib64/libcudnn*

If I try to train model without Convolution layers all works great with GPU calculations:
for example
model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(input_shape=(28, 28)),
  tf.keras.layers.Dense(128, activation='relu'),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10)
])

If you need some additional information, I will add it.
Please, help me solve this issue, I truly don't know what else try using. BTW. As I am concerned, I need CUDA-10.1  because only this CUDA supports my Nvidia Geforce 1660 Ti.

@innjoshka
please share the tensorflow version on which this issue is faced.
could you please refer to existing similar issues as per error message shared:
#34355 #34888 #34518 #28326 #25160  #24828 #33666

@Saduf2019 updated tensorflow version.
from this issue #34888 I got it working
 import tensorflow as tf
 gpus= tf.config.experimental.list_physical_devices('GPU')
 tf.config.experimental.set_memory_growth(gpus[0], True)

But after set_memory_growth, NN now trains, 22s/epoch vs 30s/epoch cpu. ( Not the great improvement) And how is that possible that 6GB GPU errors on MNIST dataset with Conv2D layer?
Without set_memory_growth  and without Conv2D layers on MNIST  train time on my machine takes 3s. model structure attached.
model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(input_shape=(28, 28)),
  tf.keras.layers.Dense(128, activation='relu'),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10)
])

Is that normal?

@innjoshka Can you please check this with tensorflow 2.2.0-rc1 and let me know if the issue still persists. Thanks!

@gowthamkpr I will try, Should I build from source or download via pip (as I know tensorflow 2.2.0-rc1 cannot be downloaded via pip, only build from source, am I right?)
Can you give working versions of packages to build tensorflow 2.2.0-rc1:
CUDA version
CuDNN version
Bazel version
Nvidia driver version (435 is the latest for 10.1)

import tensorflow as tf
gpus= tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_memory_growth(gpus[0], True)

using this code inside my jupyter notebook worked.
tesorflow version = 2.1.0
Driver Version: 440.64
CUDA Version: 10.2
cudnn version: 7.6.5

Closing this issue as it has been resolved. Please add additional comments for us to open this issue again. Thanks!

I had this same issue and any one of this solution helped me, but I got another solution. Apparently some TF.keras libraries were giving me problems instead I imported just keras libraries.
For example, here is my importing list for one project:
import sys
import os
from tensorflow.keras.preprocessing.image import ImageDataGenerator, load_img, img_to_array
from keras.models import Sequential  # Can not be moved
from tensorflow.keras.models import load_model
from keras.layers import Conv2D, MaxPooling2D  # Can not be moved
from keras.layers import Activation, Dropout, Flatten, Dense # Can not be moved
from tensorflow.keras import backend as K
from tensorflow.keras.preprocessing import image
import numpy as np
from os import listdir
from os.path import isfile, join
from keras import optimizers
import matplotlib.pyplot as plt
I am using:
Python : 3.6.8
Cuda: 10
Cunn: 7.6.0
tensorflow-gpu       2.0.0
Keras                2.3.1
I spent more than 8 hours trying all the solutions of this chat and just after doing this importing and configuration everything goes well. Actually, really well.
I believe that I can upgrade to tensorflow 2.1 and the corresponding Cuda and Cunn without any problem.


Release

Add sentry
Add regex support
Add link to Travis logs
Add debug dump
Fix exit code mixups

Hey @bluzi,
Your changes look good to me!


simplify repeat_to_match_shape using vs.zeros()

This PR simplifies the implementation of repeat_to_match_shape to use numpy broadcasting and vs.zeros().
Let me know if you see any problems with this approach. Otherwise I'll merge it at some point in the next few days.

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.  - Antoine de Saint-Exupery


Enable selective indexing

Initial PoC to enable configuring which indexes users want. RE #286.
This illustrates how indexes can be defined via an .ini file. To test, checkout this branch and docker build a local image with the changes.  The test is in the place tables, there is a --layerset=place that exists now that will be deleted before merging.
docker exec -it     pgosm python3 docker/pgosm_flex.py     --ram=8     --region=north-america/us     --subregion=district-of-columbia --layerset=place

Notes on current path
Currently putting a lot of logic in place.lua.  Need to work on generalizing this into a function in the helpers module.  Ultimately this should result in less Lua code per layer with indexes defined in an INI and parsed by a common helper.
spatial indexes
Always creates spatial index (gist or spgist).  Currently the decision of gist/spgist is per layer, so setting for place sets for point/line/polygon.  Not ideal, but a huge improvement over having that setting defined for all tables!  As the logic becomes more reusable, setting gist/spgist per table should be possible.  There's no reason why there should be a forced gist index other than that's the way it is right now.
primary keys
I don't think the primary keys can be created directly via osm2pgsql flex at this time.  That means the PK index is still only controlled by post-processing SQL.  Also, osm.place_polygon_nested is hard coded in post-processing SQL.
Next steps
Put logic to build the indexes table into a function.  This should include support for the most commonly used columns throughout PgOSM Flex layers.  This is a rough starting point of what might be good candidates.  Suggestions welcome!

osm_type
osm_subtype
boundary
admin_level
name
operator
city
state
ele
major
route_foot
route_motor
route_cycle

Many of the indexes indicated above will likely be partial indexes such as the name column index.
if index_name then
    indexes[next_index_id] = { column = 'name', method = 'btree', where = 'name IS NOT NULL ' }
    next_index_id = next_index_id + 1
end

Customization is expected to be enabled much like custom layersets.  Map a volume to a path, and tell PgOSM Flex to look there.

To make this work for road without calling it a breaking change it needs to support per-table customization.  The road_line table has an index on the major column.  The road_point table does not have that column.
Per table customization (not per layer) is also needed for gist/spgist.

With the latest commit (not showing up here in GH yet?) this feature is essentially functional.  The new docs page has the basic examples and details.  A couple folders with custom index schemes are provided.  The indexes/examples/noindexes/* example creates tables with only the primary keys.  The lotsofindexes example indexes nearly every column.
Needs some cleanup, and removing of the original SP-GIST code.  Plus improved documentation.

Rebased and force pushed after fixing #345.

This PR captures everything outlined by #286.  The best explanation of the work here is outlined in the new custom indexes page in the docs.  That link is the MD here in GH.  It'll be live on https://pgosm-flex.com when merged into main.
This PR does not preserve the exact indexes created in 0.9.0 and prior.  As I started looking at recreating exactly what was there, I realized many of the indexes don't make much sense as defaults.  This PR standardizes and simplifies the default indexes.
With this in place, I want to to look at timing differences and database size differences between default indexes (geom and osm_type), examples/noindexes, and examples/lotsofindexes.
I'm not planning on writing a migration script for dropping / changing indexes.  The indexes are only defined during initial table creation.  Current users of --replication can evaluate their indexes and decide on a) leaving everything as is, b) manually drop unwanted indexes, or c) Start over with a fresh import.  Now that it's possible (and hopefully easy!) to create custom indexes, it's a good time for users to evaluate their performance needs and potential indexes.

Rebased to main

D.C. indexes, 0.9.0.  41 seconds.
┌────────┬─────────────┬─────────────┬────────────┐
│ s_name │ table_count │ index_count │ index_size │
╞════════╪═════════════╪═════════════╪════════════╡
│ osm    │          42 │         151 │ 35 MB      │
└────────┴─────────────┴─────────────┴────────────┘

After, 40 seconds.  27 fewer indexes.
┌────────┬─────────────┬─────────────┬────────────┐
│ s_name │ table_count │ index_count │ index_size │
╞════════╪═════════════╪═════════════╪════════════╡
│ osm    │          42 │         124 │ 34 MB      │
└────────┴─────────────┴─────────────┴────────────┘

After convincing myself this wasn't a breaking change, it obviously is.  This removes the --sp-gist option.


chore: fix ci tests again

a commit changed clang-format's default so the :extra test fails????

looks like #43 remove --stlye=file.


User Focused Version

It would be nice if there was a user-focused version of this. Mixing the admin side and the user side makes this difficult to share with our sales team.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1925d8d2-a9cf-fd84-dc44-a8bddacaeb8f
Version Independent ID: fadaf8b3-2b07-4970-216c-f7038382a9f9
Content: Dynamics 365 App for Outlook User Guide (Dynamics 365 Customer Engagement)
Content Source: ce/outlook-app/dynamics-365-app-outlook-user-s-guide.md
Service: crm-online
GitHub Login: @mduelae
Microsoft Alias: mkaur

Hi Andrew,
Thank you for your feedback. The content in the user guide only includes end-user content. Can you tell me specifically what content in the user guide was admin content.
Thanks,
Mints

Hi,
I would consider the following sections admin-focused, as opposed to user-focused. In almost all instances only Dynamics 365 administrators could make these changes:

Customize the track regarding card
Add a custom entity to Quick create
Enable a custom entity to appear in the Regarding lookup
Search on custom field in Regarding lookup

Thanks,
Andrew

Hi Andrew,
I will add this request to my backlog items and get to it as soon as time permits.
Thank you for the feedback.
Thanks,
Mints


Better Exception And Context handling

Fixes # .
What does this PR do?
Checklist

[ ] Pull request contains a clear definition of changes
[ ] Tests (either unit, integration, or acceptance) written and passing
[ ] Relevant documentation produced and/or updated

Coverage remained the same at 100.0% when pulling 08837efead5d06bb7cc678d2542d54e3749d8f8a on fea/better-exception-context into ed0247937563e232fd23d7ea63d254dc7aa05687 on master.

Coverage remained the same at 100.0% when pulling 08837efead5d06bb7cc678d2542d54e3749d8f8a on fea/better-exception-context into ed0247937563e232fd23d7ea63d254dc7aa05687 on master.


Update headers to 1.3.246

CI gfxreconstruct build queued with queue ID 55059.

CI gfxreconstruct build # 2632 running.


Typo "- Azure pipelines"→"- Azure Pipelines"

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks.


fix typo

promethus->prometheus

/assign @andyxning

/ok-to-test

@xiezongzhe You need to run make sanitize locally to find the way to correct the ci error.

make sanitize


Fix the ALB query parameter handling.

This pull request addresses the query parameter issue we hit on using it with ALB. As mentioned in official document:
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html

If the query parameters are URL-encoded, the load balancer does not decode them. You must decode them in your Lambda function.

See also:
https://github.com/brefphp/bref/issues/456
This PR will decode query parameters correctly if the request is from ALB, regardless multi value support is enabled. This will fix query parameters with space (will be encoded to %20) and Unicode in ALB.
Also, url_encode in should natively support iteration on the multiValueQueryStringParameters since Werkzeug 0.3, so I remove the unnecessary MultiDict construction.
Also added tests for them.
(I am testing them in our instance before the review, so I made it a draft for now)

Update: I verify it works on either API gateway or ALB, regardless whether multi value support is enabled.

I ran into this issue with Flask and ALB. I was using Flask-Admin to view my DB. You can filter by fields in Flask-Admin and one of the fields is timestamp. The query for this looks like
/admin/event/?flt1_0=2020-07-24+09%3A55%3A00

Here the space is encoded with a + the above PR runs into an issue here. I changed to url_unquote_plus to fix this.

@syed We also ran to this and I changed it to url_unquote_plus. Thanks!

@littlebtc Thanks for fixing this - I'll merge and do a new release soon


Problems reading 123D Step-Files

Hi,
thanks for sharing this project!
I tried to read a Step-File from AutoDesk 123D and encoured following problems:

ApplyFileName throws an DateTime -Parsing Exception (-->Just for test I've commented out "//ApplyFileName" in StepReader.cs line 65).
Lines like this throw the StepReadException "Expected String value"
--> #13=FACE_OUTER_BOUND($,#19,.T.);
change the line to "#13=FACE_OUTER_BOUND('$',#19,.T.);" works fine
The Items in StepEdgeLoop's containt just Null-Values.

I've attached a sample Step-File: cube_x20y20z20.zip
I would try to help, but I'm not sure about your parser/lexer. Do you use a generator for it?
Thanks,
Andreas

Thanks for filing the issue. This project is still very immature so if you're looking for something production-ready then you'd likely have better luck using something else.
That being said, I'm away from a computer for another 10 days or so, so I can't look into the ApplyFileName/DateTime issue.
The 'expected string value' problem is due to the $ omitted value token which I don't fully support yet.
Off the top of my head I'm not sure why the edge loop contains only null values.
As for the tokenizer and parser, I'm writing that by hand because I like the better error handling i can get.
Once I get back in front of a computer I'll take a look at these problems, and thank you for attaching a file; that'll make fixing these issues much easier.

Thanks for reply.
I don't need something production-ready, I work at a leisure project.
For the DateTime Issue I've pushed solution:
https://github.com/IxMilia/Step/compare/master...andreaswatch:master
The DateTime Format of the 123D file differs from yours, so I've changed DateTime.ParseExact to DateTime.Exact -that works for me, but is maybe not what you want to have in your code.


Update scala-xml to 2.3.0

About this PR
📦 Updates org.scala-lang.modules:scala-xml from 2.2.0 to 2.3.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (2.2.0).
You might want to review and update them manually.
project/plugins.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang.modules", artifactId = "scala-xml" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang.modules", artifactId = "scala-xml" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

See https://github.com/sbt/sbt/issues/7564.
I don't know if we should use Scala Steward for Zinc since any change to version usually have some consequence.


Separate IntegrationTestCase <-> CapybaraIntegrationTestCase

MO currently has two discrete styles of integration test:

those that depend on rails-dom-testing methods and MO's extensions to those methods in IntegrationExtensions and SessionExtensions, and
those that depend on capybara methods, and none of MO's extensions (currently).

Currently also, the Capybara::DSL class is included in all integration tests, but not Capybara::Minitest::Assertions. The latter class of assertions would help us write tests with better error messages, but if it is included in ActionDispatch::IntegrationTest, it causes current non-Capybara integration tests to fail due to method name conflicts.
This PR separates our integration_test_case.rb into two test case classes inheriting from ActionDispatch::IntegrationTest, with capybara_integration_test_case.rb being the new one. The former would continue to include MO integration/session extensions, the latter would now be the only Integration test case that requires Capybara, includes Capybara classes, and gets a couple new login session extension methods especially for capybara, to DRY up the tests.
This PR also

sorts all the tests into one of two folders within /test/integration, to avoid confusion.
folds the two IntegrationExtensions methods into SessionExtensions. (They are only ever used together, by "regular" IntegrationTests. IntegrationExtensions contained the more session-oriented methods for login.)

Coverage remained the same at 92.632% when pulling abab33eacf8b26f7ca6bb8c89ef7c54ba5f3f85e on nimmo-separate-integration-capybara into 9f5708c39ec6e19ddf22824eef7fdf663ff86d62 on master.