'AmazonStepFunctionsException'-derived exceptions do not implement default constructor: CA1032 violation

Description
Some exceptions derived from AmazonStepFunctionsException do not implement the parameterless constructor as described in CA1032: Implement standard exception constructors.
This includes:

TaskTimedOutException
ExecutionDoesNotExistException
InvalidTokenException
TaskDoesNotExistException
potentially others

This is a known .Net design guideline that anyone creating custom exceptions should follow. Many libraries and standard processes assume that all Exception-derived classes will have a parameterless constructor. Example: unit testing libraries
This makes it unnecessarily harder to mock any code that handles such exceptions. For example:
var stepFunctions = Substitute.For<IAmazonStepFunctions>();
_ = stepFunctions
    .DescribeExecutionAsync(Arg.Is<DescribeExecutionRequest>(r => r.ExecutionArn == "execution:e81d093a-4efa-44be-b79d-4aaf362dc05a"))
    .Throws<ExecutionDoesNotExistException>();

Environment

SDK / Package Version: AWSSDK.StepFunctions v<IP_ADDRESS>

Resolution

[ ] :wave: I can/would-like-to implement a fix for this problem myself

Add the parameterless constructor to the aforementioned exceptions as per Microsoft guidelines.
Additional suggestions:

double check all exception types in the SDK for similar violations and fix alongside this
turn on compile-time static analysis so that similar issues are not generated in the future again.

This is a :bug: bug-report

If you think this is in error, please feel free to comment and reopen the issue.

It is. This should be fixed.


Same column names (joining table)

Summary of problem or feature request
I have 2 tables like so (missing some columns but these are the relevant ones)
Boat Table:

id
name
sage_ref
number
customer_id

Customer Table

id
name
sage_ref

The customers table sage_ref is null a customer may or may not have boats linked to it multiple boats can be linked to 1 customer through customer_id.
Code snippet of problem
The problem I am having is when searching on for example "DON FISHING" I get the following results:
http://prntscr.com/ckp2nl
The name is the customer name and this is probably to do with either my join or the name column being the same for customer. Can anyone see what is causing this as I tried several times to do custom "boatname" column but always end up with the pictured result.

    private function getColumns()
    {
        return [
            'sage_ref' => ['name' => 'boats.sage_ref', 'data' => 'sage_ref'],
            'name' => ['name' => 'boats.name', 'data' => 'name'],
            'number' => ['name' => 'boats.number', 'data' => 'number'],
            'customer' => ['name' => 'boats.customer.name', 'data' => 'name', 'searchable' => false]
        ];
    }

 public function ajax()
    {
	    $urlquery = proper_parse_str(urldecode($_SERVER['QUERY_STRING']));

        return $this->datatables
            ->eloquent($this->query())
            ->addColumn('customer', function($data) {
	            return $data->customer->name;
            })
            ->addColumn('action', 'boats.datatables_actions')
	        ->filter(function($query) use ($urlquery){
		        if(!empty($urlquery['search[value]'])){
			        $query->leftJoin('customer', 'boats.customer_id', '=', 'customer.id')
			              ->whereRaw('(REPLACE(`customer`.`name`, \' \', \'\') LIKE REPLACE(\'%'.$urlquery['search[value]'].'%\', \' \', \'\'))
			              OR (REPLACE(`boats`.`sage_ref`, \' \', \'\') LIKE REPLACE(\'%'.$urlquery['search[value]'].'%\', \' \', \'\'))
			              OR (REPLACE(`boats`.`name`, \' \', \'\') LIKE REPLACE(\'%'.$urlquery['search[value]'].'%\', \' \', \'\'))');
		        }
	        })
            ->make(true);
    }

-->
System details

Operating System
PHP Version: 5.6
Laravel Version: 5.3
Laravel-Datatables: Latest

Fixed this I forgot I had this issue before:
Appears I need to specify the specific colums from boats table and use a with customer in my filter section
    public function query()
    {
	    $boats = Boat::selectRaw('DISTINCT boats.id, boats.name, boats.number, boats.customer_id, boats.sage_ref, boats.created_at, boats.updated_at, boats.deleted_at');
        return $this->applyScopes($boats);
    }


Add support to Fish shell

What do you think, @nvbn?
PowerShell support is on the way.

Thanks a lot!


feat: tokensecret add cluster info

feat: csr add node info

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

make verify failed:
https://github.com/edgewize-io/kubeedge/actions/runs/5068967052/jobs/9101937517?pr=9

make verify failed: https://github.com/edgewize-io/kubeedge/actions/runs/5068967052/jobs/9101937517?pr=9

fix this when possible, merge it for now @wuxs


Add footer to the page

Do add a simple footer which matches with site style. Valid PRs will be merged

Can you please assign this to me?

@zaibugemi  go ahead and create a simple footer which matches the page

I want to work on this issue Please assign me...😊

@Morbius00 go ahead

Hello, I am interested to work on this issue. Please assign it to me.

Issue has been resolved


Dashboard CPU, SSD, .. Temperature

Hi Ilia!
After update to 19.53 I can' t see the Temperatures (CPU, ... ) in the Dashboard.
System: Ubuntu 18.04
Webmin: 1.953
Theme: 19.53
Thanks :-)!
Regards Tito

Hi again....i think it's not an Theme problem...
Can you help, i think i have done something stupid...what is needed to show the temperatures?
By the way....how can i get a dashboard like the photo?! THANKS

What does the sensors command output on your system? That's what Webmin uses to get the underlying temperature data.

Hi!
sensors  are OK....
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +38.0°C  (high = +100.0°C, crit = +100.0°C)

Maybe....There was also a webmin update..???

The cpu is from sensors....
HDD and NVME...Are also not shown

I found the problem.....

By the way....how can i get a dashboard like the photo?!

You cannnot. We have live stats that do more at them moment.


Deploy on Kubernetes | error Curl (52) Empty reply from server

Hello,
I am trying to run it on kubernetes as a deployment. some reason not getting the metrics on prometheus.
Is there any best practice  to be followed inorder to  run on  kubernetes?

details are attached . running solidfire-exporter as a deployment and injecting the values as env. pod is getting up and running fine  getting "Empty reply from server" when curl the endpoint  and port. Please find thge screen shot attached.
We have restriction to run container as root user. So the deployment i defined to run as user 99. Does the exporter required to be run as root user?

Hey there @arunbpt7

can you describe what your setup is? deployment and service?
are there any logs from the pod?
can you try doing a port forward on the pod and curl localhost:9987/metrics and see what you get?

It works now . The issue was with the environment variable pattern.

Great! 👍


Provide console command to review security settings

The console command should inspect the current security settings and give hints which settings should also be enabled.

report missing CSP directives (neither enforced nor reported)
report other missing security features like Clickjacking Protection, Forced HTTPS/SSL Handling

Such a reporting might be especially useful if new CSP versions add new directives or if entirely new security mechanisms are added to this bundle.

A bit like https://report-uri.io/home/analyse/ does? (Try entering https://github.com/ as url)


Recipes - Add examples for how to use these components.

A top priority for since this component library is really a DSL of sorts, is putting out some sort of "recipe" list or pages that show various ways to use the components to create various effects.
A few ideas for this are:

Basic line graph
Creating area graphs and stacked area graphs
"Hover data" on mouse moves - displaying data nearest the mouse on the graph
Shared line/area selection - sharing selected data between multiple graphs
Brush selection - adding brush selection to a graph or graphs with nf-brush-selection
Using nf-bars
Mixing nf-bars and line or area graphs
Creating custom graph components
Using "primitive" components (nf-svg-rect for example)
Customizing axis ticks with tickFilter, etc

attn @jeff3dx  and @jayphelps - I could really use your help here.

I picked up this one.


Operator deployment resources claimed in CSV aren't passed into the operator deployment

Bug Report

What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
I try to deploy an Operator into the Openshift cluster. After the operator is deployed, I found the .spec.containers[].resources claimed in the csv.spec.install.deployments are not added in the operator deployment.
For example,
CSV:
  install:
    spec:
      deployments:
       ...
                resources:
                  limits:
                    cpu: 200m
                    memory: 256Mi
                  requests:
                    cpu: 200m
                    memory: 256Mi

Deployment:
    spec:
    ...
      containers:
       ...
        - resources: {}

What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
I expect the deployment resources added into the CSV can be added into operator deployment during the installation.
What did you see instead? Under which circumstances?
A clear and concise description of what you expected to happen (or insert a code snippet).
The resources field is empty in the operator deployment.
Environment

operator-lifecycle-manager version:
0.15.1

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:12:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.3+ca4017d", GitCommit:"ca4017d", GitTreeState:"clean", BuildDate:"2020-11-14T01:37:24Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
OCP
Possible Solution

Additional context
Add any other context about the problem here.

@awgreene
I believe we shouldn't overwrite the resource field if the config for resources is empty in the subscription.
// InjectResourcesIntoDeployment will inject provided Resources
// into given podSpec
//
// If podSpec already defines Resources, it will be overwritten
func InjectResourcesIntoDeployment(podSpec *corev1.PodSpec, resources corev1.ResourceRequirements) error {
	if podSpec == nil {
		return errors.New("no pod spec provided")
	}

	for i := range podSpec.Containers {
		container := &podSpec.Containers[i]
		container.Resources = resources
	}

	return nil
}

We should add
if resources == nil {
  return nil
}

I believe other inject functions should have this check as well.

@awgreene
I believe we shouldn't overwrite the resource field if the config for resources is empty in the subscription.
// InjectResourcesIntoDeployment will inject provided Resources
// into given podSpec
//
// If podSpec already defines Resources, it will be overwritten
func InjectResourcesIntoDeployment(podSpec *corev1.PodSpec, resources corev1.ResourceRequirements) error {
	if podSpec == nil {
		return errors.New("no pod spec provided")
	}

	for i := range podSpec.Containers {
		container := &podSpec.Containers[i]
		container.Resources = resources
	}

	return nil
}

We should add
if resources == nil {
  return nil
}

I believe other inject functions should have this check as well.

This looks like a duplicate of #1912

This looks like a duplicate of #1912

@matskiv Thanks for pointing it out. I will close this one

@matskiv Thanks for pointing it out. I will close this one


Sure, looks great.

I'm closing this.  I did not find all of the instructions to create the request correctly.  I am fixing and have already enhanced the code substantially anyway.  I will resubmit a pull when I get it done correctly.


xtrsm.cc.o build error

@TimmyLiu
When I build clblas2.10 with android ndk-r13b, this error is always occur. How to solve this problem. The target platform is android7.0, my opencl is 2.0, android-api=21, armv8a.
My os is ubuntu16.04(x64)
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1406:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (outer_block_size < N)
                          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1412:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = outer_block_size; i < N; i += outer_block_size) {
                                   ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1416:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (i + outer_block_size >= N)
                                ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1436:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (outer_block_size < N)
                          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1442:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = outer_block_size; i < N; i += outer_block_size) {
                                   ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (i + outer_block_size >= N)
                                ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc: At global scope:
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1151:10: warning: unused parameter 'numCommandQueues' [-Wunused-parameter]
  cl_uint numCommandQueues,
          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1153:10: warning: unused parameter 'numEventsInWaitList' [-Wunused-parameter]
  cl_uint numEventsInWaitList,
          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1154:18: warning: unused parameter 'eventWaitList' [-Wunused-parameter]
  const cl_event *eventWaitList,
                  ^
library/CMakeFiles/clBLAS.dir/build.make:643: recipe for target 'library/CMakeFiles/clBLAS.dir/blas/xtrsm.cc.o' failed
make[2]: *** [library/CMakeFiles/clBLAS.dir/blas/xtrsm.cc.o] Error 1
CMakeFiles/Makefile2:241: recipe for target 'library/CMakeFiles/clBLAS.dir/all' failed
make[1]: *** [library/CMakeFiles/clBLAS.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

、

why do u close it, because the error disappeared?


MGMT: SAML Client Refactor

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


bazel run --define MEDIAPIPE_DISABLE_GPU=1  mediapipe/examples/desktop/hello_world:hello_world

Hello,
i follow the instruction in centos to install bazel. But when i run the "hello" demo, some errors happened.
Thank you~
bazel run --define MEDIAPIPE_DISABLE_GPU=1  mediapipe/examples/desktop/hello_world:hello_world
WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/805e47cea96c7e8c6fccf494d40a2392dc99fdd8.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_swift/releases/download/0.12.1/rules_swift.0.12.1.tar.gz failed: class java.net.ConnectException Connection timed out (Connection timed out)
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/apple_support/releases/download/0.7.1/apple_support.0.7.1.tar.gz failed: class java.net.ConnectException Connection timed out (Connection timed out)
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "20e134e1348022090fd38bcf354dd88f4d95808ad905c62cb1a359b03c4ad058"
DEBUG: Call stack for the definition of repository 'rules_cc' which is a http_archive (rule definition at /root/.cache/bazel/_bazel_root/51418aa554ab899b6c3a6588b35e2108/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):

/data/project/mediapipe/WORKSPACE:33:1
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/protocolbuffers/protobuf/archive/v3.11.4.tar.gz failed: class java.net.ConnectException Connection timed out (Connection timed out)
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz failed: class java.net.ConnectException Connection timed out (Connection timed out)
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz failed: class java.net.ConnectException Connection timed out (Connection timed out)
INFO: Analyzed target //mediapipe/examples/desktop/hello_world:hello_world (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/51418aa554ab899b6c3a6588b35e2108/external/com_google_protobuf/BUILD:429:1: C++ compilation of rule '@com_google_protobuf//:protoc' failed (Exit 1) gcc failed: error executing command /bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections ... (remaining 36 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Target //mediapipe/examples/desktop/hello_world:hello_world failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.318s, Critical Path: 0.13s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

in order to install bazel 2.0 or higher version. i run "yum install bazel2" in centos7.4。

The actual error is class java.net.ConnectException Connection timed out (Connection timed out). Can you verify your network setting? You probably can find some useful solutions at https://github.com/google/mediapipe/issues/3 and https://github.com/google/mediapipe/issues/581.

Based on the new issue https://github.com/google/mediapipe/issues/601 you filed, it seems like this problem is already solved. Feel free to reopen it if you need more help.

Hi, i also face this issue

have you reslove this issue, i also face similar issue
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_swift/releases/download/0.24.0/rules_swift.0.24.0.tar.gz] to /home/weiyang.su/.cache/bazel/_bazel_weiyang.su/d48b6ccceffa237f6305626b90b19f7a/external/build_bazel_rules_swift/temp17359925556187552861/rules_swift.0.24.0.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

got the same error on my mac m1


ChartJs V3.0

Has anyone already had a look at the new version V3.0.0-alpha of ChartJs?
It's still alpha but I think it would be great if we could continue the journey of ChartJs2QML! 🚀

Oh sounds cool! Will definitely check it out, but probably only after release. Thanks for letting me know!!

Oh sounds cool! Will definitely check it out, but probably only after release. Thanks for letting me know!!

Just found the project and it looks awesome. I had the same question about 3.x releases (now at 3.4.x). I'd be happy to help or  drum up support.

found it today too @ghutchis !

@MichaelVoelkel any future plan to support Chart.js 3.x stable releases? It would be an awesome feature!

Hi guys,
just found some time to at least have a quick look over chartJS3 features. It says, it uses web workers for rendering. I am not sure if QML supports this, too. But I myself find rendering could be faster, so I would like it, too.
@ghutchis Thanks for the offer! How do you have in mind, you could help? I would think, investing a few days to check if Chart JS 3 could be wrapped would already go a long way. Few days is hard at the moment for me, my personal backlog explodes.
That said, if anyone would try to create a POC, I could at least approve the PR as experimental branch here! This would be very fast. Apart from that, if I find more time, experimenting with it/offering is an option, but realistically not in the next weeks.


PVox broke certain addon

This specific addon, "[VManip] Manual Pickup" seemed to stop working with this addon instead. I'm not sure what causes the issue since theres no errors being made in the console, but it auto-picks up weapons with PVox installed.

Thanks for reporting this. I'm 100% assuming it has something to do with the Pickup hook that PVox overrides. I will work on a fix ASAP.

https://github.com/kdgonz7/ImmPVox/blob/4e2f10f166c3c4692dae1ff3837b8951d9f97492/lua/autorun/playervox.lua#L1022-L1034
Most likely where problematic issue arises from.

Will this fix before next update?

@amneyxa yes, once i figure out how when i get time


As a user I want to be sure that cheeps cant be liked more than once per author, and the same with unliking, to keep likes correct

Acceptance criteria:
Likes:
There should be a check in the addLike method in cheeprepo that ensures the author is not already in the liked list of the cheep
Likewise for unliking, if necessary
There should be a check in the addFollow method in followrepo that ensures the author is not already in the follow list of the other author

Done for likes, missing for follows


is there an example/document on how to use bearer token

Please see the change in #304, the doc change hasn't landed to master yet.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Security enhancement

The service should run on HTTPS by default.

I'll move this request over to the io Platform as it depends on the PlugIt Platform itself and not radiodns.
https://github.com/ebu/EBUio/issues/266


Update Lab_15_ImplementAndTestAConditionalAccessPolicy.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by ParamRamki on behalf of MOC Labs Review


Suggestion: More customisability

Instead of being limited to 3 themes (or 6 for light & dark), a function could instead offer more customisability.
The function would work like this:
TKMT.GenerateTheme(name, mode, foreground, background, accent)
name: the name of the theme
mode: light or dark (this affects other things such as the text color)
foreground: foreground color (button background e.t.c, can be RGB, HEX whichever is easier to implement)
background: background color (window background, can be RGB, HEX whichever is easier to implement)
accent: accent color (selected checkbox color e.t.c, can be RGB, HEX whichever is easier to implement)
This would then generate a folder in the script's directory where there would be the tcl and resources files.
This would be a great idea and would allow more color themes!

The themes in TKMT were created by https://github.com/rdbende and have many .png files that make up the elements. I don't current have a way to generate these automatically - but if that code were to be written I would be happy to add it.

I will try to make some code to do that and, if you want, submit a PR to add the code.


Update dependencies and add ktlint

I like commits to be as small as they can, so I'd prefer dependency updates in one commit and style changes in another, but I don't like it so much that it's worth any kind of fuss over.


Describe what is API Jam

From @kyyberi on October 15, 2015 6:4
API Jam is the way we do meetups. Concentrate on doing, not talking. Describe the API Jam concept as permanent page.
Copied from original issue: APIOps/portal#16

This issue was moved to APIOps/apiops-meetup#14


Dishwasher installation PDF (single page) uses up all memory

Attach (recommended) or Link to PDF file here:
9001171159_A.pdf
Configuration:

Web browser and its version: Firefox 126.0
Operating system and its version: Arch Linux x64
PDF.js version: 4.1.379
Is a browser extension: No

Steps to reproduce the problem:

Open PDF
Observe unreasonable memory usage

What is the expected behavior? (add screenshot)
Use less memory for this:

What went wrong? (add screenshot)
Tab crashes or browser gets killed.
Upon further investigation I installed pdf.js as browser extension in Chromium. The reported PDF.js version is 4.3.84. There appears to be no problem with memory usage in Chromium. Rendering the PDF is still somewhat slow however.

Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1731514


[CCM-16675]: Update 2-configure-ecg-for-auto-stopping-rules.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66aa381f30b11e339ee112bf--harness-developer.netlify.app

This pull request has been automatically closed due to 30 days of inactivity. If you believe this was done in error, please feel free to reopen the PR or reach out to the BT team for further assistance. Thank you for your contributions!


UNR-2318 stop spatial service which runs in different project

Description
In this diff when user start a local deployment I check that it's running in the correct directory. If it's running from a wrong directory I show dialog and stop the service which is already running.
Release note
REQUIRED: Add a release note to the ##Unreleased section of CHANGELOG.md. You can find guidance for writing useful release notes here. Documentation changes are exempt from this requirement.
Tests

Start a spatialos service from another project.
Go to the target project and try to start a local deployment.
See the dialogue to stop an already running service.
Click yes
Service which is running in a wrong project is stopped. Local deployment and spatial service started successfully.

Documentation
Do we need a documentation here?
We should check a dialogue window text.
Primary reviewers
@joshuahuburn

I've refactored code a little bit and make it to check that service is actually running before checking for the wrong directory.
I've tested this solution on following test cases:

Service is running in a wrong directory
We write an error message to the output log.
If you press start local deployment we show a dialog to stop a wrong service
Service isn't running at all
Service and deployment start normally
Service running in the same project
We do nothing

I've extracted call to spot alpha service to only execute it once. otherwise I'd need to call it to check if it's running and the second time to get a project name.


there are no comments in the code

this package is no longer maintained in favor of https://github.com/metakeule/places.
Have a look the new package is more flexible, a bit faster and the code is better documented / more understandable.


Pinned tabs do not scroll top bar when switched to active tab

I have about 4-5 files pinned. When I select a file that causes the scrolling of the top bar with my open tabs to scroll away from these pinned items, the scroll bar does not scroll back when opening the pinned tabs again.
Sorry if this is the wrong location, I didn't see a repo related to the tabs in VSCode repo list.
System Information:
Windows 10 Enterprise v1809, OS Build 17763.1457
VSCode Information:
Version: 1.50.1 (user setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.17763
I was able to reproduce on a clean app instance with no workspace/folder/etc loaded and no extensions on.
Reproduction steps:
Open 10-15 files.
Pin 2-3 of them.
Switch one of the later tabs to your active tab, so that the pinned tabs are no longer visible on the bar.
Switch back to a pinned tab.
Screenshots with untitled files and no workspace open showing this issue:
Untitled-3, 4, and 7 are pinned. All other files are not.
Screenshot 1: Untitled-14 is open.

Screenshot 2: I switched Untitled-3. Note that Untitled-3 is open but nowhere to be found on the tab bar.

Screenshot 3: Shows I had to scroll to the left to see Untitled-3 on the list. Also shows how tiny the scrollbar is that honestly isn't an issue except for the fact that this bug exists.

The bar does not scroll to bring the tab into view like an unpinned tab would. Additionally, the scroll bar for the tab view is so tiny that it's almost pixel perfect to grab and scroll with.

Additionally, the scroll bar for the tab view is so tiny that it's almost pixel perfect to grab and scroll with.

Try "workbench.editor.titleScrollbarSizing": "large"

Looks like a duplicate of #108561 which is apparently fixed in the upcoming 1.51 release.


Handling submodule changes between commits

The team I work on uses Git submodules for our component libraries.  It would be great if those changes could also be viewable in this tool (note that we don't store the -cache files in Git).
How could this be supported? Would a shallow checkout of the repository need to be made for each commit, include submodules, in order to generate images against a full working copy of the repository?
This is related to #14, but distinct. While it appears that plotgitsch doesn't currently support libraries, it looks like KiCad-Diff does, and so solving this would at least allow submodule changes to propagate through for board layouts.

I am closing this for now due to the lack of activity. Feel free to reopen it if needed.

@leoheck thanks for following up here, I’m sorry I never responded.
You’re right that if nothing is changed in the layout file, then a library update doesn’t affect anything. I had my mental model wrong and thought that wasn’t the case. I now see that my question here only applies to schematics if a cache file isn’t used, but there’s more work to be done to support that use case anyways.


views: handle missing Content-Type

On stream uploads, sets the Content-Type header to and
empty string ('') if missing.

Signed-off-by: Alexander Ioannidis<EMAIL_ADDRESS>Co-Authored-By: Krzysztof Nowak<EMAIL_ADDRESS>

@slint please amend commit message s/Co-Authored-By/Co-authored-by/ (kwalitee check)

:shipit:
@lnielsen @jirikuncar


Add multi tags at one time

Can I add multi tags at one time? Something like addTags function.
Now I can just add tag one by one, which will slow down performance.
- (NSArray<TagView *> *)addTags:(NSArray<NSString *> *)tagNames {
    for (NSString *tagName in tagNames) {
        [self addTag:tagName];
    }
    return self.tagViews;
}

The advantage is not very big. Either the user does the for-loop, or TagListView does it.
Or am I missing something?

@aleene Now add tag will trigger rearrangeViews function. This function will calculate TagListView height(and other operation such as removeFromSuperview, clearArray etc.) when you add single tag.
Image that if I have a UITableView, which has 10 cells, each cell has 10 tags. Without addTags, TagListView will call rearrangeViews 10 times each cell, the whole tableView will take 100 times. With addTags, just only call rearrangeViews 10 times. 10x faster.

Try this:
    @discardableResult
    open func addTags(_ titles: [String]) -> [TagView] {
        var tagViews: [TagView] = []
        for title in titles {
            tagViews.append(createNewTagView(title))
        }
        return addTagViews(tagViews)
    }

Sure I can modify source or subclass when I import these files directly. But I using Carthage for dependency manage, and my project still using Objective-C, which make me can not subclass swift class. Thats the reason I create this feature request issue.

This is already implemented in #100

Thanks very much, @aleene @redent . This should be closed.

Thanks for adding this!! This is a huge improvement -- I have over 100 tags, and it is very slow to load currently.
One thing that prevents me from adding the new function however is that there is no easy way to disable onlongpress. That functionality makes no sense to me. Currently I can override it as I create each tag individually.
Would it be possible to make this optional? Maybe it's a flag that can be set?

I think in future updates this method  was refactored to use addTagView in loop, witch  rearranges views for each new element. This really hits on performance when you add tags in bulk.
`@discardableResult
open func addTagView(_ tagView: TagView) -> TagView {
defer { rearrangeViews() }
tagViews.append(tagView)
tagBackgroundViews.append(UIView(frame: tagView.bounds))
    return tagView
}

@discardableResult
open func addTagViews(_ tagViews: [TagView]) -> [TagView] {
    tagViews.forEach {
        addTagView($0)
    }
    return tagViews
}`

Can we revert those changes or tweak this behavior?
Thanks.


⚠ Adacta-fintech.com has degraded performance

In dccb32d, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1389 ms

Resolved: Adacta-fintech.com performance has improved in 2685498 after 690 days, 19 hours, 49 minutes.


better EMT belt sprite

About the PR

i made this a while ago but it wasnt used for some reason
Media

[x] have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

<!--
Make sure to take this Changelog template out of the comment block in order for it to show up.
:cl: JoeHammad
- tweak: Improved EMT belt sprite

yeah ngl this does look actually better

Okay not sure why @Piras314 merged this, the copyright in the meta needs to be updated.

inhand and wearing sprites need to be changed along with copyright, reverting this

my bad ill be on it

#358


DOCKER: using Environment Variables

This PR adds an entrypoint that allows user to:

Modify Docker user credentials
Specify an host name
Log level

using Docker environment variables.
Docker command:
 docker run -d --name s3server -p 8000:8000 -e HOST_NAME=new.host.com -e ACCESS_KEY=newAccessKey -e SECRET_KEY=newSecretKey scality/s3server
If you want to try these changes, you will have to build an image from this branch
docker build ./ -t s3 and run the container.

@ironman-machine just to be sure

Hello @LaurenSpiegel
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "dev/docker-entrypoint", "DEFAULT_BRANCH": "master"}
Please follow http://ci.ironmann.io/gh/scality/Integration/6571 for CI status.


fix(scripts): typescript for cypress in libraries

Cypress tsconfig.json in Lib setup was missing the types that were in app and eslint setups

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:


Do you get stuck on the first dataset when you run it? Evaluating 1 trackers on 1 sequences Tracker: mixformer_online baseline None , Sequence: Basketball Warning: Pretrained CVT weights are not loaded head channel: 384 It's just like this, it's been running all night

When I tested it, it was stuck below, and it was still the same after running for a night. How can I solve it?
Evaluating 1 trackers on 1 sequences
Tracker: mixformer_online baseline None , Sequence: Basketball
Warning: Pretrained CVT weights are not loaded
head channel: 384

nothing works

Hi, have you fixed this problem? I encountered the same problem and have no idea why could this happen. Appreciate it if you have any suggestions.


Path sometimes choosing bad direction

We want the path to always choose the path that preserves running in a straight line as much as possible. There are some occasions when the algorithm unexpectedly deviates from this. Need to figure out why and resolve this.

Resolved in e8fa368


Potential solution for TLS errors in OneFuzz

used proposed solution from here:
https://github.com/Azure/azure-functions-durable-python/issues/194#issuecomment-710670377
Initially ran for couple of days "pre-fix" deployment and got TLS errors in app insights.
Ran 3 day deployment of multiple jobs with the fix - got no TLS errors. Also ran check-pr and app insights had no TLS errors there.

@stishkin perhaps put a link to the GitHub issue in a comment, I'll add a suggestion


EXC_BAD_ACCESS in MacVim

MacVim erratically segfaults with EXC_BAD_ACCESS when running lervag/vimtex's continuous LaTeX compilation.
Backtraces end in symbol syn_current_attr before the exception handler is called, and the exception code is KERN_INVALID_ADDRESS or EXC_I386_GPFLT.
Mac OS X 10.11.6
MacVim 8.0.1633 (146)
So far, it seems this does not occur in (vanilla) vim 8.0.1700
This happens with a minimal vimrc:
set nocompatible
call plug#begin('~/.vim/plugged')
Plug 'lervag/vimtex'
call plug#end()

.latexmkrc:
$pdflatex = "pdflatex -synctex=1 %O %S";

I'm attaching two crashlogs:
Vim_2018-04-23-160534_Thomass-MacBook-Pro.txt
Vim_2018-04-23-171057_Thomass-MacBook-Pro.txt
I've also posted this as lervag/vimtex#1112, but I agree this seems more likely a MacVim issue.

do you have you python 3 installed?
yes
and have you set up MacVim to use it?
yes

The plugin works in general. The problem is that macvim randomly crashes.

@thpani Does it still a problem? Could you try Vim in terminal if the issue is present there?

@eirnym Hasn't occurred for some time, closing the issue.


help

Hello, I have tested the coco test image, but what should I do if I want to test my own image and want to get its key points to see the effect?

I wrote a quick addition to test a directory with custom images, you can find it here: https://github.com/random9v2/litepose/tree/test_img_dir
You will have to install natsort via conda/pip. For running the code, choose your image directory and run it, e.g., with:
python valid.py --cfg experiments/crowd_pose/mobilenet/mobile.yaml --superconfig mobile_configs/search-XS.json TEST.MODEL_FILE checkpoints/LitePose-Auto-XS_crowd.pth.tar DATASET.DATASET_TEST image_dir DATASET.ROOT dataset/my_img/ PRINT_FREQ 1

I wrote a quick addition to test a directory with custom images, you can find it here: https://github.com/random9v2/litepose/tree/test_img_dir
You will have to install natsort via conda/pip. For running the code, choose your image directory and run it, e.g., with:
python valid.py --cfg experiments/crowd_pose/mobilenet/mobile.yaml --superconfig mobile_configs/search-XS.json TEST.MODEL_FILE checkpoints/LitePose-Auto-XS_crowd.pth.tar DATASET.DATASET_TEST image_dir DATASET.ROOT dataset/my_img/ PRINT_FREQ 1

Although I wrote one myself, thank you very much for your help!

I wrote a quick addition to test a directory with custom images, you can find it here: https://github.com/random9v2/litepose/tree/test_img_dir
You will have to install natsort via conda/pip. For running the code, choose your image directory and run it, e.g., with:
python valid.py --cfg experiments/crowd_pose/mobilenet/mobile.yaml --superconfig mobile_configs/search-XS.json TEST.MODEL_FILE checkpoints/LitePose-Auto-XS_crowd.pth.tar DATASET.DATASET_TEST image_dir DATASET.ROOT dataset/my_img/ PRINT_FREQ 1

Although I wrote one myself, thank you very much for your help!

I have the same problem and if I want to test my own image. Do you have the correct reasoning code? thanks


Add ActiveSupport::Notifications instrumentation

Adds support for instrumentation via ActiveSupport::Notifications. This
only happens when the module is loaded and defined. Otherwise
instrumetation no-ops.

How about this way?
    def response
      @response ||= Net::HTTP.start(uri.host, 443, use_ssl: true) do |http|
        puts as_curl if Yt.configuration.developing?
        http.request http_request
      end
      if defined?(ActiveSupport::Notifications)
        ActiveSupport::Notifications.instrument 'request.yt' do |data|
          data[:method] = http_request.method
          data[:request_uri] = uri
          data[:response] = @response
        end
      end
    rescue *server_errors => e
      raise Yt::ConnectionError, e.message
    end

And the test is failing
  1) Yt::HTTPRequest#run given a valid GET request to a YouTube JSON API returns the HTTP response with the JSON-parsed body
     Failure/Error: expect(response.body).to be_a Hash
       expected "{\"kind\":\"discovery#restDescription\",\"etag\":\"\\\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/q67WG4LI5qSVIZ_mD...ww.googleapis.com/auth/youtube.force-ssl\",\"https://www.googleapis.com/auth/youtubepartner\"]}}}}}" to be a kind of Hash
     # ./spec/http_request_spec.rb:13:in `block (3 levels) in <top (required)>'

@kangkyu weird. The tests were passing for me, but now I'm seeing intermittent failures. I'll try on master and see if that's preexisting or a result of my changes.
The issue with your version is that it won't instrument the duration of the request, since the request is happening outside of .instrument block. Is there another goal you were trying to achieve with that? If so, maybe I can incorporate that in my PR.

@kangkyu fixed that test

Just asking, how you do you think about the idea adding activesupport gem as a dependency?


Use the new test http service binary. [phab:D310]

Created by zarko at 2015-06-03 22:04:54:
This cleans up all of Linux, OS X and Docker.

schroederc commented inline (context lost during migration) at 2015-06-03 22:24:34:
curl -sf "$LISTEN_AT/alive" >/dev/null

schroederc commented inline (context lost during migration) at 2015-06-03 22:24:34:
This can also be curl -s "$LISTEN_AT/quitquitquit" and then we don't need to deal with PIDs or kill.

schroederc required changes at 2015-06-03 22:24:34

zarko wrote at 2015-06-03 22:40:37:
Use new endpoints.

schroederc accepted this revision at 2015-06-03 23:56:16

zarko closed via commit 9a44e23db5a3b1e58aebb9eeb3313356d18655dc at 2015-06-04 00:28:41


Issue 1466

Check List:

Implements #1466
Unit tests : OF COURSE
Javadoc with a code example (on API only) : YES

Anybody willing to review and merge this PR?

Has fallen under our radar, we'll try for the next release

I rebased on main and added a fixup commit with fixes from your review.

Integrated thanks @mbaechler!
I made the code compatible with soft assertions which lead me to revert the changes you made due to one of my comments on using IllegalArgumentException for checking the indices validity (sorry I did see that).


The issue to write string in double quotes in the CSV

I am going to write a string in double quotes in the CSV using csv gem.
CSV.open(source_filename, "wb") do |csv|
  csv << ["NAME", "AGE"]
  csv << ["Oleg", 15]
end

The result is
NAME,AGE
Oleg,15

What I want to write is that
NAME,AGE
"Oleg","15"

Is there any way to write like this?

CSV.open(source_filename, "wb", force_quotes: true) do |csv|
  csv << ["NAME", "AGE"]
  csv << ["Oleg", 15]
end

But NAME and AGE are also quoted:
"NAME","AGE"
"Oleg","15"

Thanks @kou


Interested in the domain rxlua.org?

I own the domain rxlua.org. I was working on a similar project for a while, but I am not continuing that effort. If you are interested, I'll transfer it to you at no cost. Otherwise, I'll let it expire when it comes up for renewal next year.

Hey, thanks!  Emailed you so we can discuss further.


Convert python script to notebook

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when I have to convert my python scripts to notebooks by hand
Describe the solution or feature you'd like
A button to convert a .py file to a .ipynb file with Python kernel.
Describe alternatives you've considered
Copy & paste
Additional context
N/A

@yualan FYI.
@amthomas46 out of curiosity have you tried leveraging nbconvert for this purpose before? We don't expose anything in ADS that uses nbconvert under the covers, but it would be interesting to hear if that helped make your workflow any easier.

I've never tried it but I will look into it :)


"Input" event is raised with wrong selection value when input value was changed

Are you requesting a feature or reporting a bug?
bug
What is the current behavior?
.pressKey('enter') works incorrect, content inserts a part of code instead of new line.
Provide the test code and the tested page URL (if applicable)
Test code
fixture `Monaco test`.page('https://microsoft.github.io/monaco-editor/playground.html');

test('Enter button handler', async t => {
        //Some extra steps as workaround for #1385
	for(var i=0; i< 10; i++) {
		await t.pressKey('tab');
		await t.wait(500);
	}

	for(var i=0; i< 10;i++) {
		await t.pressKey('enter');
		await t.wait(500);
	}
});

Specify your

operating system: win 7
testcafe version: 0.14.0
node.js version: 6.5.0

I'm working on this

It's still not fixed. I've tried<EMAIL_ADDRESS>Watch video
https://www.screencast.com/t/GcOGmAGai

After some investigation I've found the initial problem is successfully resolved.
I've reproduced the problem from the video in the previous comment and I've created a separated issue for it: https://github.com/DevExpress/testcafe/issues/1499


Updates to "Point of Origin Tools" and "Point of Origin Tools_10.3"

Addressed issues in https://github.com/Esri/solutions-geoprocessing-toolbox/issues/338

"Description" for use of "True Curves" checkbox
Script tool in Pro was updated in repo with version that includes check box for use "True Curves"

Hi @pshowalter I'm working with @csmoore to get a big PR in before I test and merge this one. I'm actually going to start working on unitests for POO tools next. Thanks for your patience.


[Bug] video download crashes on some streams

Its a vod thats 40min long and it just crashed on these files dunno whats wrong with them:
https://www.twitch.tv/videos/1576885257

/usr/local/share/twitchautomator/server/src/Core/TwitchVOD.ts:2907
throw new Error(VOD ${vod.basename} is already in cache!);
^
Error: VOD maxim_2022-08-30T13-02-57Z_1 is already in cache!
at Function.addVod (/usr/local/share/twitchautomator/server/src/Core/TwitchVOD.ts:2907:19)
at Function.load (/usr/local/share/twitchautomator/server/src/Core/TwitchVOD.ts:2730:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at _TwitchChannel.createVOD (/usr/local/share/twitchautomator/server/src/Core/TwitchChannel.ts:446:26)
at DownloadVideo (/usr/local/share/twitchautomator/server/src/Controllers/Channels.ts:343:21)
Node.js v18.8.0
error Command failed with exit code 1.
2022-09-06 14:02:10.478 | vod.calculateChapters  No chapters found for maxim_2022-09-01T05-08-48Z_39774390952, can't calculate chapters
Broadcasting data to 1 clients: {"server":true,"action":"vod_updated","data":{"vod":{"uuid":"1ff...
2022-09-06 14:02:13.481 | vodclass  Fetching mediainfo of maxim_2022-09-01T05-08-48Z_39774390952, segment #0
2022-09-06 14:02:13.482 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-09-01T05-08-48Z_39774390952.mp4 (missing  Duration)
2022-09-06 14:02:13.483 | vodclass  Could not get mediainfo of maxim_2022-09-01T05-08-48Z_39774390952 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-09-01T05-08-48Z_39774390952.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:13.484 | vodclass  Could not find duration of maxim_2022-09-01T05-08-48Z_39774390952
Broadcasting data to 1 clients: {"server":true,"action":"vod_updated","data":{"vod":{"uuid":"1ff...
2022-09-06 14:02:15.470 | channel  Download VOD<PHONE_NUMBER>
2022-09-06 14:02:15.760 | vodclass  Download of maxim_2022-08-31T04-57-29Z_46004791628.mp4 successful
Broadcasting data to 1 clients: {"server":true,"action":"video_download","data":{"success":true,...
2022-09-06 14:02:15.761 | channel  Create VOD JSON for maxim: maxim_2022-08-31T04-57-29Z_46004791628.json @ /usr/local/share/twitchautomator/data/storage/vods/maxim
2022-09-06 14:02:15.762 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628  (create json)
2022-09-06 14:02:15.767 | vodclass  No chapters on maxim_2022-08-31T04-57-29Z_46004791628!
maxim_2022-08-31T04-57-29Z_46004791628 is not yet remuxed but no ts file found, skipping!
maxim_2022-08-31T04-57-29Z_46004791628 has an mp4 file but is not finalized!
2022-09-06 14:02:15.771 | vod.addSegment  Adding segment maxim_2022-08-31T04-57-29Z_46004791628.mp4 to maxim_2022-08-31T04-57-29Z_46004791628
2022-09-06 14:02:15.772 | vod.finalize  Finalize maxim_2022-08-31T04-57-29Z_46004791628 @ /usr/local/share/twitchautomator/data/storage/vods/maxim
2022-09-06 14:02:15.773 | vodclass  Fetching mediainfo of maxim_2022-08-31T04-57-29Z_46004791628, segment #0
2022-09-06 14:02:15.773 | helper.mediainfo  Run mediainfo on /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4
2022-09-06 14:02:15.780 | helper.execSimple  Executing 'mediainfo': $ /usr/bin/mediainfo --Full --Output=JSON /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4
2022-09-06 14:02:15.793 | helper.execSimple  Process 54 for 'mediainfo' exited with code 0
2022-09-06 14:02:15.794 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 (missing  Duration)
2022-09-06 14:02:15.795 | vodclass  Could not get mediainfo of maxim_2022-08-31T04-57-29Z_46004791628 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:15.795 | vod.finalize  Failed to save vtt chapters for maxim_2022-08-31T04-57-29Z_46004791628: Error: TwitchVOD.saveVTTChapters: chapters are not set
2022-09-06 14:02:15.796 | vod.finalize  Failed to save kodi nfo for maxim_2022-08-31T04-57-29Z_46004791628: Error: TwitchVOD.saveKodiNfo: started_at is not set
2022-09-06 14:02:15.797 | vod.calculateChapters  No start time found for maxim_2022-08-31T04-57-29Z_46004791628, can't calculate chapters
2022-09-06 14:02:15.797 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628 with no chapters!!
2022-09-06 14:02:15.798 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628  (fix no segment added)
maxim_2022-08-31T04-57-29Z_46004791628 is finalized but no ended_at found, fixing!
2022-09-06 14:02:15.801 | vodclass  Fetching mediainfo of maxim_2022-08-31T04-57-29Z_46004791628, segment #0
2022-09-06 14:02:15.803 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 (missing  Duration)
2022-09-06 14:02:15.803 | vodclass  Could not get mediainfo of maxim_2022-08-31T04-57-29Z_46004791628 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:15.804 | vodclass  Could not find duration of maxim_2022-08-31T04-57-29Z_46004791628
maxim_2022-08-31T04-57-29Z_46004791628 has no duration or started_at, skipping!
maxim_2022-08-31T04-57-29Z_46004791628 is finalized but no chapters found, fixing now!
2022-09-06 14:02:15.804 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628 with no chapters!!
2022-09-06 14:02:15.805 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628  (fix chapters)
2022-09-06 14:02:15.809 | channel  Vod on disk and vod in memory are not the same for maxim
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: maxim (2022) - s202209e06, maxim (2022) - s202209e08, maxim (2022) - s202209e10, maxim (2022) - s202209e13, maxim_2022-08-30T12-49-02Z_1, maxim_2022-08-30T13-02-57Z_1, maxim_2022-09-02T05-04-09Z_39778285560, maxim_2022-09-01T05-08-48Z_39774390952, maxim_2022-08-31T04-57-29Z_46004791628, category system
2022-09-06 14:02:15.809 | channel  Vod on disk and vod in main memory are not the same for maxim
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: maxim (2022) - s202209e06, maxim (2022) - s202209e08, maxim (2022) - s202209e10, maxim (2022) - s202209e13, maxim_2022-08-30T12-49-02Z_1, maxim_2022-08-30T13-02-57Z_1, maxim_2022-09-02T05-04-09Z_39778285560, maxim_2022-09-01T05-08-48Z_39774390952, maxim_2022-08-31T04-57-29Z_46004791628, category system
2022-09-06 14:02:15.810 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628 with no chapters!!
2022-09-06 14:02:15.810 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628  (manual creation)
2022-09-06 14:02:15.814 | vod.addSegment  Adding segment maxim_2022-08-31T04-57-29Z_46004791628.mp4 to maxim_2022-08-31T04-57-29Z_46004791628
2022-09-06 14:02:15.815 | vod.finalize  Finalize maxim_2022-08-31T04-57-29Z_46004791628 @ /usr/local/share/twitchautomator/data/storage/vods/maxim
2022-09-06 14:02:15.816 | vodclass  Fetching mediainfo of maxim_2022-08-31T04-57-29Z_46004791628, segment #0
2022-09-06 14:02:15.817 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 (missing  Duration)
2022-09-06 14:02:15.817 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628 with no chapters!!
2022-09-06 14:02:15.818 | vodclass  Saving JSON of maxim_2022-08-31T04-57-29Z_46004791628  (manual finalize)
2022-09-06 14:02:15.818 | vodclass  Could not get mediainfo of maxim_2022-08-31T04-57-29Z_46004791628 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:15.819 | vod.finalize  Failed to save vtt chapters for maxim_2022-08-31T04-57-29Z_46004791628: Error: TwitchVOD.saveVTTChapters: chapters are not set
2022-09-06 14:02:15.819 | vodclass  Saving Kodi NFO file for maxim_2022-08-31T04-57-29Z_46004791628 to /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.nfo
2022-09-06 14:02:15.820 | vod.finalize  Failed to save kodi nfo for maxim_2022-08-31T04-57-29Z_46004791628: TypeError: Cannot read properties of undefined (reading 'title')
2022-09-06 14:02:15.820 | vod.matchProviderVod  Trying to match maxim_2022-08-31T04-57-29Z_46004791628 to provider...
2022-09-06 14:02:15.827 | vodclass  Fetching mediainfo of maxim_2022-08-31T04-57-29Z_46004791628, segment #0
2022-09-06 14:02:15.828 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 (missing  Duration)
2022-09-06 14:02:15.828 | vodclass  Could not get mediainfo of maxim_2022-08-31T04-57-29Z_46004791628 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:15.829 | vodclass  Could not find duration of maxim_2022-08-31T04-57-29Z_46004791628
Broadcasting data to 1 clients: {"server":true,"action":"end_download","data":{"vod":{"uuid":"0c...
2022-09-06 14:02:16.105 | vod.matchProviderVod  Found matching VOD for maxim_2022-08-31T04-57-29Z_46004791628
2022-09-06 14:02:16.105 | vod.calculateChapters  No chapters found for maxim_2022-08-31T04-57-29Z_46004791628, can't calculate chapters
Broadcasting data to 1 clients: {"server":true,"action":"vod_updated","data":{"vod":{"uuid":"0c6...
2022-09-06 14:02:19.107 | vodclass  Fetching mediainfo of maxim_2022-08-31T04-57-29Z_46004791628, segment #0
2022-09-06 14:02:19.108 | helper.videometadata  Invalid mediainfo for /usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 (missing  Duration)
2022-09-06 14:02:19.108 | vodclass  Could not get mediainfo of maxim_2022-08-31T04-57-29Z_46004791628 (/usr/local/share/twitchautomator/data/storage/vods/maxim/maxim_2022-08-31T04-57-29Z_46004791628.mp4 @ /usr/local/share/twitchautomator/data/storage/vods/maxim): Invalid mediainfo: no format/duration
2022-09-06 14:02:19.109 | vodclass  Could not find duration of maxim_2022-08-31T04-57-29Z_46004791628
Broadcasting data to 1 clients: {"server":true,"action":"vod_updated","data":{"vod":{"uuid":"0c6...
2022-09-06 14:02:22.198 | channel  Download VOD<PHONE_NUMBER>
2022-09-06 14:02:22.479 | vodclass  Download of maxim_2022-08-30T13-02-57Z_1.mp4 successful
Broadcasting data to 1 clients: {"server":true,"action":"video_download","data":{"success":true,...
2022-09-06 14:02:22.479 | channel  Create VOD JSON for maxim: maxim_2022-08-30T13-02-57Z_1.json @ /usr/local/share/twitchautomator/data/storage/vods/maxim
2022-09-06 14:02:22.480 | vodclass  Saving JSON of maxim_2022-08-30T13-02-57Z_1  (create json)
2022-09-06 14:02:22.484 | vodclass  No chapters on maxim_2022-08-30T13-02-57Z_1!
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

sounds to me like it's duplicate?

sounds to me like it's duplicate?

Your probably right there are like 3 vods that are like this alle about the same length maybe the streamer had some errors himself. What's interesting is that you can watch it on twitch have not looked at the other ones what if they are the same.

yeah that's what the {id} template variable would help with, unless you're using it and it's broken?


Expose more controls in sciml_train!

Right now the feature set is very bare. Some good things to add:

[ ] Stopping criterion option on the current loss
[ ] Stopping criterion option on the current value
[ ] Stopping criterion due to total time

Handled by new callbacks.

pass in the Data from train instead of making it a global variable for Loss.

What would that change?

https://github.com/JuliaDiffEq/DiffEqFlux.jl/issues/162 https://github.com/JuliaDiffEq/DiffEqFlux.jl/issues/162

On Feb 17, 2020, at 8:06 PM, Christopher Rackauckas<EMAIL_ADDRESS>wrote:
What would that change?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/JuliaDiffEq/DiffEqFlux.jl/issues/132?email_source=notifications&email_token=ACRAR7U6A76RTQHXTPZEESTRDNGDBA5CNFSM4KO3OQ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMAMALA#issuecomment-587251756, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRAR7RCPJ6HBR76U2JYKM3RDNGDBANCNFSM4KO3OQ4Q.

updated #162 just now with more details at the end


The verify command should provide a --verbose flag for detailed output of the verification checks

A flag such as --verbose for biobox verify should list each of the behave
steps and give output as to whether they pass or fail. This will allow a
developer to get more detail on what is being tested.

This is implemented, so I close this issue.


connect_nodes - account for test networks

Issue
Sometimes connect_nodes produces an error:
2024-06-24T23:39:30+0000 - INFO -     tank_index = int(peer['addr'].split('-')[2])  # NETWORK-tank-INDEX-service
2024-06-24T23:39:30+0000 - INFO -                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-24T23:39:30+0000 - INFO - ValueError: invalid literal for int() with base 10: 'vqyr11r'

Cause
connect_nodes does not handle test networks properly. Specifically, it handles this dns format:
NETWORK-tank-INDEX-service
But not the "test" format:
NETWORK-test-TEST-tank-INDEX-service
Solution
Modify connect_nodes to handle the "test" format, and update the test coverage to account for this.

Updated with simplified tank index extraction logic.
I also took a moment to pull clarify the connect dag scenario by using a function to make assertions. This makes it easier to add new assertions such as for nodes 8 and 9.

@pinheadmz

I think the entire connect_dag scenario should just be a test, or can be copied into dag_connection_test.

I like this idea, but I don't think we have easy access to WarnetTestFramework from TestBase.

I like this idea, but I don't think we have easy access to WarnetTestFramework from TestBase.

oh right i forgot we were going back and forth about using a scenario just for testing, hmmmmmm. It still feels anti-pattern to have the asserts in a scenario instead of a test, but then it also will be silly to split up the connect_nodes calls and the asserts into two separate files.
One way this might make more sense, and im not married to this but lets just jam on it a sec:

move the asserts into the test, leaving the connect_dag scenario very simple, just makes connections
move the connect_dag file into test/data
in the test, call warcli scenarios run_file <path>

this makes a bit more sense to me because first of all i dont think we cover that particular rpc in any test, and second of all it demonstrates using a "custom" scenario that is written for a specific graph and not intended for general applications

I like your thinking about splitting connect_dag.py away from scenarios and into some other area that we have designated for testing. I think calling warcli scenario on a specific file in the testing area is probably a good way to do that.
In terms of specifics:

move the connect_dag file into test/data

I'm fine with test/data. However, I think it would be even better to make a folder called "warnet_test_framework_files" or "tank_tests" or similar. That way, this area would be where we place test files that specifically use the test framework/tank features and are not simply files containing plain data.

move the asserts into the test, leaving the connect_dag scenario very simple, just makes connections

I like keeping the assert_connection in connect_dag.py because assert_connection is tied really closely to the Tanks. Being tied to the Tanks makes means to me that we are not testing bitcoin nodes as such, but we are actually testing the interplay between bitcoin nodes and their respective tanks.

in the test, call warcli scenarios run_file <path>

This sounds like it will work and I like it.

@pinheadmz I moved the scenario file and incorporated run-file as discussed.

@pinheadmz I updated the wording on that final log entry.
LGTM


Tests assume 4k page size

https://buildd.debian.org/status/fetch.php?pkg=rust-buffer-redux&arch=mips64el&ver=1.0.2-1%2Bb1&stamp=1724714010&raw=0
https://buildd.debian.org/status/fetch.php?pkg=rust-buffer-redux&arch=ppc64el&ver=1.0.2-1%2Bb1&stamp=1724702561&raw=0
https://buildd.debian.org/status/fetch.php?pkg=rust-buffer-redux&arch=loong64&ver=1.0.2-1%2Bb1&stamp=1725300441&raw=0
https://buildd.debian.org/status/fetch.php?pkg=rust-buffer-redux&arch=powerpc&ver=1.0.2-1%2Bb1&stamp=1724703057&raw=0
---- ringbuf_tests::test_buffer_new stdout ----
thread 'ringbuf_tests::test_buffer_new' panicked at src/ringbuf_tests.rs:39:5:
assertion `left == right` failed
  left: 65536
 right: 8192
...
---- ringbuf_tests::test_buffer_with_cap stdout ----
thread 'ringbuf_tests::test_buffer_with_cap' panicked at src/ringbuf_tests.rs:46:5:
assertion `left == right` failed
  left: 65536
 right: 4096

The page size is a configuration option for the kernel, this is not something that is fixed at build time or even always 4k.
Different hardware might use different kernel sizes (e.g. MIPS in Debian).
Distributions even provide kernel images with different page sizes for the same hardware:
https://ubuntu.com/server/docs/choosing-between-the-arm64-and-arm64-largemem-installer-options
This makes code like the following incorrect:
    // test rounding up to page size
    let buf = Buffer::with_capacity_ringbuf(64);
    assert_capacity!(buf, 4 * 1024);

I haven't checked whether these are only buggy tests, or whether there are also bugs in the actual code.

In debian, we've modified this test with the following patch:
Index: buffer-redux/src/ringbuf_tests.rs
===================================================================
--- buffer-redux.orig/src/ringbuf_tests.rs
+++ buffer-redux/src/ringbuf_tests.rs
@@ -28,7 +28,11 @@ macro_rules! assert_capacity {
             // Macos' minimum allocation size is sometimes? 16K
             assert!(cap == $cap || cap == ::std::cmp::max(16 * 1024, $cap));
         } else {
-            assert_eq!(cap, $cap);
+            // some linux systems have larger pages, we assert that
+            // either the capacity is the capacity requested, or
+            // that the capacity is larger than requested and is
+            // a power of two.
+            assert!((cap == $cap) || ((cap >= $cap) && ((cap & (cap - 1)) == 0 )));
         }
     };
 }


Grab id using #get in Model#url

Also, use the same slash normalizing as Router and History

Very nice. :+1:


Optimize docker image for openebs/jiva - clear apt/cache

The size of the openebs/jiva docker image is available at https://github.com/openebs/jiva/blob/master/package/Dockerfile
The current size of the image is at 100+ MB. Check for optimizations, like cleaning up the apt cache.
Refer: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#each-container-should-have-only-one-concern

Have a look at concept of init containers in a Kubernetes Pod. It deals with moving the tooling aspects to this init container instead of the main container. It also deals with security aspects.

I'm happy to take a look at this today.

Dockerhub shows a 26% decrease in size.
Was - 111mb
Now - 82mb

Thanks @circa10a!! Will close this issue.


Console warns

Hi I don't know what to do. My console is going crazy because of Luckperms. Trough night log file had 20gb. Please help me to fix it
Log: https://pastebin.com/6wNMT9vE
I reinstalled whole plugin so config is and was default
Help me to fix it because I wanna use this plugin any help would help

This is the part that concerns you and tells you what you can do about it.

The operation to load user data for '5eb36239-c818-3d55-8f80-648ae5312bf8' was cancelled by LuckPerms. This is NOT a bug.
The lookup request was made on the main server thread. It is not safe to execute a request to
load data for offline players from the database in this context.
If you are a plugin author, please consider making your request asynchronously.
Alternatively, server admins can disable this catch by setting 'vault-unsafe-lookups' to true
in the LP config, but should consider the consequences (lag) before doing so.

Other than that you should contact josegamerpt.realscoreboard and send them the log too.

So maybe that warns are made by realscoreboard plugin ?

The warning is made by LuckPerms but it's caused by something realscoreboard does that could lag the server. What I pasted above is very explicit about what you can do but you should contact the author regardless.


@eessex => EOY super-sub article styling

Closes https://github.com/artsy/force/issues/381
[do not merge] because we don't have an ID for the super article yet and it would consequently change the 2015 layout.
Screenshots:
Image/header combo

Mobile:

@owendodd lmk what you're thinking about mobile. i mimicked the stuff we're doing for landing pages for now.

          1 Warning

  :warning:
  Please assign someone to your PR

  Generated by :no_entry_sign: danger

Going to merge this one @eessex !


Update dependencies and workflows

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

Project coverage is 100.00%. Comparing base (8a22bb9) to head (f3ef840).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #303   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           98        98
  Lines         3134      3134
  Branches       376       376
=========================================
  Hits          3134      3134

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


Tools: Added support for testing of multiple targets of the same type (board type)

Description
It was impossible to run test using singletest.py on more than 1 device of the same type (e.g. two Freedom K64F boards).
Before this change test suite (singletest.py) would only run tests for one board per type connected skipping (ignoring) other boards.
Note:

mbed-ls was modified to generate extra unique names (human friendly format) for each connected mbed device. This name is used by singletest.py and can be used by other applications to drive automation with mbedls and mbed devices.

Example:
Two NUCLEO_L152RE boards connected to host computer, both with unique TargetId and assigned readable platform_name_unique.
$ mbedls
+---------------------+----------------------------+-------------------+-------------------+----------------------------------------+
|platform_name        |platform_name_unique        |mount_point        |serial_port        |target_id                               |
+---------------------+----------------------------+-------------------+-------------------+----------------------------------------+
|K64F                 |K64F[0]                     |I:                 |COM61              |02400203D94B0E7724B7F3CF                |
|LPC1768              |LPC1768[0]                  |E:                 |COM77              |101000000000000000000002F7F18695        |
|NUCLEO_L152RE        |NUCLEO_L152RE[0]            |F:                 |COM113             |07100200656A9A955A0F0CB8                |
|NUCLEO_L152RE        |NUCLEO_L152RE[1]            |G:                 |COM114             |0710020082667D99BD03EBB4                |
+---------------------+----------------------------+-------------------+-------------------+----------------------------------------+

MUTs configuration for singletest.py
You can also execute tests from configuration files: singletest.py -i test_spec.json -M muts_all.json. In that case, if you want to for example run tests on multiple devices of the same type you can just specify them in MUTs file and add optional mcu_unique to distinguish test results between boards.
Example:
Configuring MUTs to run tests for two NUCLEO_L152RE boards:
...
    "13" : {"mcu" : "NUCLEO_L152RE",
            "port" : "COM114",
            "disk" : "G:\\"},

    "14" : {"mcu" : "NUCLEO_L152RE",
            "port" : "COM113",
            "disk" : "F:\\"},
...

or with extra mcu_unique name to differentiate tests:
...
    "13" : {"mcu" : "NUCLEO_L152RE",
            "mcu_unique" : "NUCLEO_L152RE[1]",
            "port" : "COM114",
            "disk" : "G:\\"},

    "131" : {"mcu" : "NUCLEO_L152RE",
            "mcu_unique" : "NUCLEO_L152RE[0]",
            "port" : "COM113",
            "disk" : "F:\\"},
...

test results will be respectively:
$ singletest.py -i test_spec.json -M muts_all.json -n DTCT_1
Building library CMSIS (NUCLEO_L152RE, uARM)
Building library MBED (NUCLEO_L152RE, uARM)
Building project DETECT (NUCLEO_L152RE, uARM)
TargetTest::NUCLEO_L152RE::uARM::DTCT_1::Simple detect test [OK] in 0.48 of 10 sec
TargetTest::NUCLEO_L152RE::uARM::DTCT_1::Simple detect test [OK] in 0.51 of 10 sec
Test summary:
+--------+---------------+-----------+---------+--------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID | Test Description   | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+---------------+-----------+---------+--------------------+--------------------+---------------+-------+
| OK     | NUCLEO_L152RE | uARM      | DTCT_1  | Simple detect test |        0.48        |       10      |  1/1  |
| OK     | NUCLEO_L152RE | uARM      | DTCT_1  | Simple detect test |        0.51        |       10      |  1/1  |
+--------+---------------+-----------+---------+--------------------+--------------------+---------------+-------+
Result: 2 OK

Completed in 7.80 sec

Build successes:
  * uARM::NUCLEO_L152RE

and
$ singletest.py -i test_spec.json -M muts_all.json -n DTCT_1
Building library CMSIS (NUCLEO_L152RE, uARM)
Building library MBED (NUCLEO_L152RE, uARM)
Building project DETECT (NUCLEO_L152RE, uARM)
TargetTest::NUCLEO_L152RE[0]::uARM::DTCT_1::Simple detect test [OK] in 0.49 of 10 sec
TargetTest::NUCLEO_L152RE[1]::uARM::DTCT_1::Simple detect test [OK] in 0.51 of 10 sec
Test summary:
+--------+------------------+-----------+---------+--------------------+--------------------+---------------+-------+
| Result | Target           | Toolchain | Test ID | Test Description   | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+------------------+-----------+---------+--------------------+--------------------+---------------+-------+
| OK     | NUCLEO_L152RE[0] | uARM      | DTCT_1  | Simple detect test |        0.49        |       10      |  1/1  |
| OK     | NUCLEO_L152RE[1] | uARM      | DTCT_1  | Simple detect test |        0.51        |       10      |  1/1  |
+--------+------------------+-----------+---------+--------------------+--------------------+---------------+-------+
Result: 2 OK

Completed in 7.84 sec

Build successes:
  * uARM::NUCLEO_L152RE

Testing
Tested with multiple execution patterns:

singletest.py -i test_spec.json -M muts_all.json -n DTCT_1
singletest.py --auto --parallel --report-junit pr_ju.xml --report-build pr_bld.html --report-html pr_html.html
singletest.py --auto  --tc IAR

work in progress?

Isn't a port and a drive letter unique for a platform? Do we need extra identifier for a platform - mcu_unique?
This looks like it has sufficient information to choose a platform -
    "13" : {"mcu" : "NUCLEO_L152RE",
            "port" : "COM114",
            "disk" : "G:\\"},

    "14" : {"mcu" : "NUCLEO_L152RE",
            "port" : "COM113",
            "disk" : "F:\\"},

If we specify to test: nucleo 152 on com114 and G letter -> isn't this specific enough?

This is not in progress. It's done and I'm using it already :P
Isn't a port and a drive letter unique for a platform? Do we need extra identifier for a platform - mcu_unique?

We need it if we want to print things like K64F[0] or K64F[1] because this is how mbed-ls how presents multiple boards of the same type, so this is also for compatibility with mbed-ls and option --auto.
We rather do not want to print K64F_COM3_D etc.

I do not have better idea to solve this issue (multiple targets under test) now :) I could refactor singletest.py a lot but it is too time consuming.

I could add functionality where writing mcu_unique is not needed because we can scan just for the same targets.
I will think about this! :)

Hello @PrzemekWirkus ,
did you use singletest from the current master? It seems that the last commit of utils.py breaks it under windows. It tests the existence of a command before executing it but command names under Linux and Windows differs a bit (exe extension).
I have solved that for me but currently I can test it only under Windows.

@ohagendorf Thank you for letting me know.
I'm using singletest.py and yes, I can see this issue. I will have a look.
singletest.py --auto --tc GCC_ARM
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected LPC1768, port: COM77, mounted: E:
MBEDLS: Detected NUCLEO_L152RE, port: COM113, mounted: F:
MBEDLS: Detected K64F, port: COM61, mounted: I:
Building library CMSIS (K64F, GCC_ARM)
Copy: K64FN1M0xxx12.ld
ERROR: run_cmd: Command 'C:/Work/toolchains/gcc_arm_4_8/4_8_2013q4/bin\arm-none-eabi-gcc' can't be found

@PrzemekWirkus I got same error and found workaround.
I raised an issue here: https://github.com/mbedmicro/mbed/issues/1113

Please see PR #1114


feat(addon-editor): hide mode and alpha, output format, input mask

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?

Closes #352
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@waterplea hi!
What do you think about this feature? It's hard to use color picker without this options. It would be so cool if we merged this )
Maybe It would be easy to check this PR if I divided it into some parts?

Yes, this is something we definitely want to make configurable, but we need to think carefully on the API and I didn't yet have time to.

Yes, this is something we definitely want to make configurable, but we need to think carefully on the API and I didn't yet have time to.

Thank you. I will wait for the PR review )


docs: Dedicated docs/guide page

Open a github pages for guides and documentations on how to use the framework.

Documentation live at https://guide.chooks.app :tada:
Repo: chookscord/guide


implement retention policy for copr builds

[ ] inactivity for X days: comment on the PR and then remove the builds
[ ] remove builds once the PR is merged
[ ] remove old builds when a PR changes copr does this already
[x] for all the projects we already have, set the expiration to 30 days

This is pretty easily maintainable from the packit side (API should be available);  if you wanted, you can use "temporary" projects feature in copr (copr will delete the project after specified time), there won't be any feedback to github/packit once the delete action happens.

IOW, all the three points are equal to copr delete <PROJECT> action.

For clarification is this OK, or can it be done better?:

[ ]  inactivity for X days: comment on the PR and then remove the builds

create time specific task (a.k.a cron job) and it's handler, that would daily poll all pull-requests found in metrics using this query:
all PR's from successful copr build task minus all PR's from successful copr build delete task. If the last comment was X days ago, delete the build.

[ ]  remove builds once the PR is merged

react on pullrequest webhooks with action = closed or merged using new job type - copr_build_delete

[ ]  for all the projects we already have, set the expiration to 30 days

does this mean also add an expiration date to newly created projects? https://github.com/packit-service/packit/blob/master/packit/api.py#L541 or just for the already existing

For clarification is this OK, or can it be done better?:

[ ]   inactivity for X days: comment on the PR and then remove the builds

* create time specific task (a.k.a cron job) and it's handler, that would daily poll all pull-requests found in metrics using this query:
  `all PR's from successful copr build task minus all PR's from successful copr build delete task`. If the last comment was X days ago, delete the build.

sounds good, but on the other hand: it seems pretty complicated and fragile; I'd personally vote not to implement this and probably just document that builds are stored for 30 days and then they are removed - I'm also thinking that not many PRs would utilize this feature - even in our case we manage to process 9/10 PRs "on time"

[ ]   remove builds once the PR is merged

* react on [pullrequest webhooks](https://developer.github.com/v3/activity/events/types/#pullrequestevent) with `action = closed or merged` using new job type - `copr_build_delete`

+1

[ ]   for all the projects we already have, set the expiration to 30 days

* does this mean also add an expiration date to newly created projects? https://github.com/packit-service/packit/blob/master/packit/api.py#L541 or just for the already existing

yup: old and new

all of these get solved by the last item: remove builds after X days so I'm marking this as done - sadly we don't have capacity to implement points 1 and 2

Fixed by https://github.com/packit-service/packit/pull/515


The demo project should require zero setup

Unless it is a tutorial, the demo project should not require additional setup. Simply run and everything should be working.

/cc @caseyyee

I don't understand this issue.  The project is pretty much works out of the box as it is now?  @delapuente, can you give us more specifics?

At the time I open this issue, it required some setup. Now the issue is invalid. Closing.


HDDS-2949: mkdir : store directory entries in a separate table

What changes were proposed in this pull request?
All the directories from the path components should be created on 'DirectoryTable'. Here, it uses new classes and retained existing logic. This is required during rolling upgrade. So, created V1 classes for the implementation. Later, during rolling upgrade will rebase this feature branch accordingly.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2949
How was this patch tested?
Verified using TestOMDirectoryCreateResponseV1.java and TestOzoneDirectory.java unit test cases.
Note: As this is an incremental change, it is expected to have failures related to file, key ops test cases. Will fix this later through subsequent sub-tasks.

With new layout version added, the latest PR logic looks more clear and independent.
I just left my minor comments. I am thinking one next part of work is delete dir implementation, right? Only seeing create dir implementation here.
In additional, please have a look of the github build failure, it doesn't show green.

Will fix TestOzoneConfigurationFields test case.
Next task am planning to do CreateFile and then get/listStatus. IMHO, both file/dir delete can be done together in one patch which involves changes in KeyDeletingService.
Does this make sense to you.
Thanks for the reviews!

Next task am planning to do CreateFile and then get/listStatus. IMHO, both file/dir delete can be done together in one patch which involves changes in KeyDeletingService.
Does this make sense to you.

Makes sense to me.

Thank You @rakeshadr for the contribution.
I have few comments

I see we used layOutVersion and tested the change. But this might cause failures to other test like when key and directory with same name, as we have not used new logic in KeyCreate request. (Some of these tests are added in master branch with HDDS-4155.
Let's add individual classes with UT's and once basic classes like Key Creation/and others are done then we can integrate it to OM.

Sure, how about adding this UTs along with File/Key creation patch?. As we know, here its only the dir changes.

I see we used layOutVersion and tested the change. But this might cause failures to other test like when key and directory with same name, as we have not used new logic in KeyCreate request. (Some of these tests are added in master branch with HDDS-4155.
Let's add individual classes with UT's and once basic classes like Key Creation/and others are done then we can integrate it to OM.

Sure, how about adding this UTs along with File/Key creation patch?. As we know, here its only the dir changes.

As any way we are testing at UT, we can add these entries to KeyTable and implement these tests. (Similar to Old Requests)

Thanks a lot @bharatviswa504  for the useful review comments and your time. I will upstream next commit.

As any way we are testing at UT, we can add the entries to KeyTable and implement/simulate these tests. (Similar to Old Requests)

Sure, will do that way.

I've updated another patch addressing @bharatviswa504's  comments.

Thanks again @bharatviswa504  for the comments. Uploaded patch addressing the comments. Please let me know the feedback!

+1 LGTM.
Thank You @rakeshadr for multiple updates.

Thank you @bharatviswa504 and @linyiqun for help in reviews and provided really useful comments.


Voting Data is not working

Hi,
I tried to run the code as it is.
I got the following issues:

While publishing, VS told that there are duplicates, I found duplicates in ApplicationManifest.xml and Local.1Node.xml.  I commented the duplicates.
Error to copy the DLL as it is used by another process.  I went to Task manager and found VotingData is running.  I killed the application, but everytime when VS is publishing, the VotingData is running.  I have to kill it twice per publish.
Then it started publishing, but couldn't start votingdata.
The error is

1>------ Build started: Project: Voting, Configuration: Debug x64 ------
2>------ Publish started: Project: Voting, Configuration: Debug x64 ------
2>Started executing script 'GetApplicationExistence'.
2>Finished executing script 'GetApplicationExistence'.
2>Time elapsed: 00:00:01.1836894
-------- Package started: Project: Voting, Configuration: Debug x64 ------
VotingData -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingData\bin\Debug\netcoreapp2.1\win7-x64\VotingData.dll
VotingData -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingData\bin\Debug\netcoreapp2.1\win7-x64\VotingData.Views.dll
VotingData -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingData\obj\Debug\netcoreapp2.1\win7-x64\PubTmp\Out
VotingWeb -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingWeb\bin\Debug\netcoreapp2.1\win7-x64\VotingWeb.dll
VotingWeb -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingWeb\bin\Debug\netcoreapp2.1\win7-x64\VotingWeb.Views.dll
VotingWeb -> D:\Narasimman\Microsoft App\ServiceFabric1\VotingWeb\obj\Debug\netcoreapp2.1\win7-x64\PubTmp\Out
Voting -> D:\Narasimman\Microsoft App\ServiceFabric1\ServiceFabric1\pkg\Debug
-------- Package: Project: Voting succeeded, Time elapsed: 00:00:08.7517693 --------
2>Started executing script 'Deploy-FabricApplication.ps1'.
2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'D:\Narasimman\Microsoft App\ServiceFabric1\ServiceFabric1\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'D:\Narasimman\Microsoft App\ServiceFabric1\ServiceFabric1\pkg\Debug' -PublishProfileFile 'D:\Narasimman\Microsoft App\ServiceFabric1\ServiceFabric1\PublishProfiles\Cloud.xml' -DeployOnly:$false -ApplicationParameter:@{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop"
2>Copying application to image store...
2>Upload to Image Store succeeded
2>Registering application type...
2>Register application type started. Use Get-ServiceFabricApplicationType to query for status.
2>Running Image Builder process ...
2>Validating package and computing checksums ...
2>Application package is registered.
2>Removing application package from image store...
2>Remove application package succeeded
2>Creating application...
2>
2>
2>ApplicationName        : fabric:/ServiceFabric1
2>ApplicationTypeName    : ServiceFabric1Type
2>ApplicationTypeVersion : 1.0.0
2>ApplicationParameters  : { "VotingWeb_InstanceCount" = "-1";
2>                         "VotingData_PartitionCount" = "1";
2>                         "VotingData_TargetReplicaSetSize" = "3";
2>                         "VotingData_MinReplicaSetSize" = "3" }
2>
2>Create application succeeded.
2>
2>
2>Finished executing script 'Deploy-FabricApplication.ps1'.
2>Time elapsed: 00:01:54.9404413
2>Started executing script 'Get-ServiceFabricApplicationStatus'.
2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "[void](Connect-ServiceFabricCluster -TimeoutSec:10 -WarningAction:'SilentlyContinue' -ConnectionEndpoint:'mytestcluster.westus2.cloudapp.azure.com:19000' -X509Credential:$true -FindType:'FindByThumbprint' -FindValue:'336D884E0034C28DF9379302D2588730FDA98F9F' -ServerCertThumbprint:'336D884E0034C28DF9379302D2588730FDA98F9F' -StoreLocation:'CurrentUser' -StoreName:'My'); Import-Module 'C:\Program Files\Microsoft SDKs\Service Fabric\Tools\PSModule\ServiceFabricSDK\ServiceFabricSDK.psm1'; Get-ServiceFabricApplicationStatus -ApplicationName 'fabric:/ServiceFabric1' -ErrorAction Stop"
2>The application has started.
2>Service Status:
2>fabric:/ServiceFabric1/VotingData is not ready, 1 partitions remaining.
2>fabric:/ServiceFabric1/VotingWeb is ready.
2> "Same message displayed multiple times "
2>Something is taking too long, the application is still not ready.
2>Finished executing script 'Get-ServiceFabricApplicationStatus'.
2>Time elapsed: 00:00:53.2891210
========== Build: 1 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

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

ID: 089974a0-7387-0266-d499-362153ed2851
Version Independent ID: f3a0c273-e276-6eab-9a24-e4b0603274e4
Content: Deploy a Service Fabric app to a cluster in Azure
Content Source: articles/service-fabric/service-fabric-tutorial-deploy-app-to-party-cluster.md
Service: service-fabric
GitHub Login: @rwike77
Microsoft Alias: ryanwi,mikhegn

But the application is working !!!!

@narasimmanr64 Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Not sure if this is still an issue.  I've moved to a different team, so reassigning.  #reassign @peterpogorski

@narasimmanr64 are you still experiencing this issue? If so, what SDK version are you using?


Add sethmccombs as developer on sysdig-secure-plugin

Description
I am an engineer at Sysdig and would like to assist in the development of the sysdig-secure' plugin - https://github.com/jenkinsci/sysdig-secure-plugin
CC @markyjackson-taulia
Submitter checklist for changing permissions
Always

[X] Add link to plugin/component Git repository in description above

this PR is failing
[2020-03-04T22:37:52.023Z] Exception in thread "main" java.lang.IllegalStateException: User name not known to Artifactory: sethmccombs
Do you have an account on https://accounts.jenkins.io ?

I am a +1 for this once the account is created and the job passes

Please resubmit without blanking out most of the PR template. A critical part exactly about this was removed :disappointed:.
PR template has been created for a reason: save time for you, and more especially from contributors reviewing these PRs on their free-time.


nSM Forwarding between VM and dart2js disagree - VM loses default values

Not sure what tool is in the wrong here. Here's a DartPad - dart2js is now running with --preview-dart-2.
Here's the text:
void main() {
  var a = new AImpl();
  var b = new B(a);
  print("CALLING W/O NAMED ARG");
  b.a();
  print("CALLING W/ NAMED ARG");
  b.a(followLinks: false);
}

abstract class A {
  a({followLinks: true});
}

class AImpl implements A {
  a({followLinks: true}) {
    print('AImpl: followLinks is $followLinks');
    if (followLinks) print('yay');
    if (!followLinks) print('nay');
  }
}

class BestMixinEvar {
  final methods = <Symbol, Function>{};

  noSuchMethod(Invocation i) {
    var na = i.namedArguments;
    print('BestMixinEvar.noSuchMethod: namedargs: $na');
    if (i.memberName == #a) return Function.apply(methods[#a], [], na);
  }
}

class B extends A with BestMixinEvar {
  A delegate;

  B(this.delegate) {
    methods.addAll(<Symbol, Function>{
      #a: delegate.a,
    });
  }
}

In the DartVM this blows up with --preview-dart-2 in Dart dev.61:
$ dart --preview-dart-2 a.dart
CALLING W/O NAMED ARG
BestMixinEvar.noSuchMethod: namedargs: {Symbol("followLinks"): null}
AImpl: followLinks is null
Unhandled exception:
Failed assertion: boolean expression must not be null
#0      AImpl.a (file:///Users/srawlins/code/dart-file/packages/file/a.dart)
#1      Function._apply (dart:core/runtime/libfunction_patch.dart:10:68)
#2      Function.apply (dart:core/runtime/libfunction_patch.dart:31:12)
#3      _B&A&BestMixinEvar.noSuchMethod (file:///Users/srawlins/code/dart-file/packages/file/a.dart:28:45)
#4      _B&A&BestMixinEvar.a (file:///Users/srawlins/code/dart-file/packages/file/a.dart:11:3)
#5      main (file:///Users/srawlins/code/dart-file/packages/file/a.dart:5:5)
#6      _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19)
#7      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)

But in dart2js its OK:
CALLING W/O NAMED ARG
BestMixinEvar.noSuchMethod: namedargs: {}
Warning: 'a' is used reflectively but not in MirrorsUsed. This will break minified code.
AImpl: followLinks is true
yay
CALLING W/ NAMED ARG
BestMixinEvar.noSuchMethod: namedargs: {Symbol("followLinks"): false}
Warning: 'a' is used reflectively but not in MirrorsUsed. This will break minified code.
AImpl: followLinks is false
nay

This is causing https://github.com/google/file.dart/issues/88.
This might be related to https://github.com/dart-lang/sdk/issues/32660 or https://github.com/dart-lang/sdk/issues/33380.

CC @jmesserly @keertip @lrhn @tvolkert

Yeah this looks like a CFE/Kernel issue. The default arg is getting dropped from the no such method forwarder:
  abstract class _B&A&BestMixinEvar = test::A with test::BestMixinEvar {
    no-such-method-forwarder method a({dynamic followLinks}) → dynamic
      return this.{test::BestMixinEvar::noSuchMethod}(new core::_Invocation::method(#a, null, <dynamic>[], <core::Symbol, dynamic>{#followLinks: followLinks})) as{TypeError} dynamic;
  }

Changing the example to use class B extends BestMixinEvar implements A instead of a mixin does not work either:
  class B extends test::BestMixinEvar implements test::A {
    // ...
    no-such-method-forwarder method a({dynamic followLinks}) → dynamic
      return this.{test::BestMixinEvar::noSuchMethod}(new core::_Invocation::method(#a, null, <dynamic>[], <core::Symbol, dynamic>{#followLinks: followLinks})) as{TypeError} dynamic;
  }

Adding an abstract method a({followLinks: true}); to B fixes it in CFE:
    no-such-method-forwarder method a({dynamic followLinks = true}) → dynamic
      return this.{test::BestMixinEvar::noSuchMethod}(new core::_Invocation::method(#a, null, <dynamic>[], <core::Symbol, dynamic>{#followLinks: followLinks})) as{TypeError} dynamic;

I'm cautiously optimistic about having a fix for the issue in CL 62808.

Sorry, pressed the wrong button.  I didn't mean to close the issue yet.


Add native to the params which the CSV export page recognizes

If you go to https://www.inaturalist.org/observations?native=true&place_id=143359&subview=table&taxon_id=48222 and then go to the CSV export page for this, it will go to https://www.inaturalist.org/observations/export?verifiable=true&page=1&spam=false&native=true&place_id=143359&taxon_id=48222&user_id=&project_id=&swlng=&swlat=&nelng=&nelat=&lat=&lng= and show more than just native taxa.
@kueda suggested that the export doesn't know about the native param - can we teach it about that param?

Hi @benkeen
I see you 've fixed this issue - nearly 2 years ago!
I rebased your commit locally on the latest main and tried it on my local setup and it looks to work great.
Would to create a PR for it?

Hi @benkeen
Just following up on what the last person said.
I could create a PR for you if you give me permission.

Apologies @seanclifford & @catdogmat! Please do, @catdogmat. :)

Sorry this issue seems to be fixed as the code is already there, i think.


Request to add Institution: York

🚀 Request to add Institution: YRK 🚀

This is an automated issue request generated from the from  here .
Next a github automation will check this, parse it and then create a pull request including the relevant data.

**Issuer**: "Daniel"

**Name**: "York"

**Acronym** "YRK"

**ROR**: "https://ror.org/04m01e293""

 View ROR for institute above.

test


Changed subsystems to work with new grabber

This Pull Request closes issue #
Description of the changes:

Commented Release subsystem because we can just use the cone command to release the box or the box command to release the cone

Removed Second Motors in manipulator subsystem because new manipulator only has one motor Commented out old commands that are no longer used

Commented Manipulator PID Command because we probably won't use it with the new manipulator

Button for Grabbing Cones command(Releasing Boxes command) and Grabbing Boxes command(Releasing Cone command) needs to be set

[ ] I have labelled this issue with the priority and correct subsystem.

[ ] I set the person that I worked on this with as a reviewer (who will need to approve the changes)

DON'T MERGE INTO MAIN YET because we might or might not be using this new manipulator


Adds Validator-initialization to example with allow_unknown

This is supposed to clarify that an empty dict has to be provided.
Also fixes some spellings.

Thanks!


Updated readme.md

in Example of Setting options -> Locally, While creating showdown.Converter object closing '}' is missing

@dipskakadiya thank you


Kill BOM and add end newlines

🔪 the blasted BOM's from the "---" lines in .md files that have metadata. This fixes the problem where the metadata doesn't render correctly in the GH UI.
Add last line newlines to topics that don't have them. This should quiet GH Desktop here, which complains bitterly about it.

@guardrex,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thank you, @guardrex!


Cannot Change Value for Boolean Values in Zoom Level Functions

This works now. Seems to have been fixed by @jirik