Remove SKU D465

Tracked in RSDEV-1555

@Nir-Az, @maloel
there are some files that still include old SKUs, for example, DKMS patches, and win7 drivers:
e.g.

scripts\realsense-metadata-jammy-master.patch
src\win7\drivers\IntelRealSense_D400_series_win7.inf

these files includes also old SKUs like L515, T265, etc..
should we clean this one day also ? or leave it ?

these files includes also old SKUs like L515, T265, etc.. should we clean this one day also ? or leave it ?

IMO, these need to be cleaned but even I hesitated because of the nature of the file.
Up to Nir. If we do it, we should do them all together.


New spam — 10-Feb-2021

From: Dawn Frasure<EMAIL_ADDRESS>Subject: Invite Bloggers and Webmasters to Fill Out Our Paid Survey
Message Body:
Invite Bloggers and Webmasters to Fill out Paid Surveys
I'm Dawn from Centtip.
We are working with Inboxdollars to provide bloggers another opportunity to  earn cash.
After joining Inboxdollars, you will be able to get rewards by sharing your opinions online.
Paid surveys have been prepared for you: https://www.centtip.xyz/getcash
Regards,
Dawn Frasure

Hey @salacpavel …
Are these spam messages coming through email or your WordPress comment system?
They seem to be formatted like email messages.

Regardless of the source, I’ve added the following terms based on this issue.

getcash
get-cash
inboxdollar
inbox-dollar
inbox dollar
inboxcash
inbox-cash
inbox cash


Add phone number validations for UK

ISSUE
There is no constructor for zio.schema.validation.Validation which can validate a UKphone number.
SOLUTION
Using other constructors which already exist in zio.schema.validation.Validation (which include regex validation, string length checking, and numeric range checking), introduce a new constructor that satisfies the requirements of this issue.
object Validation {
  ...
  val phoneNumberUK: Validation[String] = ???
}

IMPACT
Increasing the number of constructors for Validation will make it far easier to use the validation package to
WHERE TO LOOK

Schema validation

PROBLEMATIC ISSUES
Issue #248 must be completed first, or at least, this issue must be based off of #244.

I'll give this a go!


CSRF protection, cant trigger 403 false response

Hi,
I installed the package all working except that I cant trigger the CSRF false response
if($request->getAttribute('csrf_status') === false) {
return $this->view->render($response->withStatus(403), '/errors/403.twig');
} else {
echo "key validated";
}

Hi, can you please contact me... need to understand the logic when using REDIS, do you try and share sessions across different servers or domains

Redis serves the purpose of caching SQL queries stored in json format inside a redis-server. Basically what happen is :

User requests records, backend asks mysql for records and serves them to the user, while storing them inside redis at the same time
User then requests the same records while the cached key is still active : now the backend directly serves from redis-server and not a single SQL request is being made. This saves a lot of performance when serving huge records repeatedly.

If you wanna test it, you should run the project inside a vagrant/homestead box environment which comes with both redis-server and redis-client listening on port 6379 by default.
Hope this helped!

Thanks for responding, I will look into Redis, Im on Win 10 using wsl ubuntu.
Any other way we can chat, i value your time and don't what to bug you unnecessary. Just a couple of short questions regarding the logic in the slim3-starter.

Sure :) You can message me on<EMAIL_ADDRESS>


Package request: inkscape-extensions.inkstich

Project description
Ink/Stitch: an Inkscape extension for machine embroidery design
Metadata

homepage URL: https://inkstitch.org/
source URL: https://github.com/inkstitch/inkstitch/
license: gpl3
platforms: unix, linux, darwin

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Duplicate of #133180, PR at #358993


iOS autoplay not working

We cant get autoplay to work with iOS. We got a workaround, but when we use the API to force it to autoplay, it keeps the play button ontop.
this.onPlayerReady = function() {
    if(this.API.currentState != 'play'){
        //Force play if autoplay doesn't work
        this.API.play();
        this.API.currentState = 'play';
     }
};

It is not auto-playing for me (desktop browser) because VG_UTILS is not injected into the vgMedia directive (videogular/app/scripts/com/2fdevs/videogular/directives/vg-media.js).
< ["$timeout", "VG_STATES", function ($timeout, VG_STATES) {

["$timeout", "VG_UTILS", "VG_STATES", function ($timeout, VG_UTILS, VG_STATES) {

On a related note, the migration guide needs updated to include "vg-autoplay" changing to "vg-auto-play".

This is all related with issue #159 and I will try to fix this in the next release.
@mattjameswdd thanks for the warning, I've updated the guide :)

@sdfsdfsdfsdf


Add support for http based repositories

Hello,
I had a need to add http repository support to this project for a project I was working on. As this is open source, I am contributing back. Hope this gets added, as I believe it is useful.

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced support for HTTP-based repositories, enabling software updates from custom HTTP sources.
Added a new section in the documentation detailing the HttpSource functionality and providing usage examples.

Bug Fixes

Improved clarity and flow of the README documentation.

Tests

Implemented a comprehensive suite of unit tests for HTTP source functionalities to ensure reliability and correct behavior.

Chores

Added a new YAML configuration file for testing release information, including multiple release entries and associated assets.

Well, that makes a nice addition indeed 👍🏻
I'm merging it now, then I'm going to try a few things with it before releasing a new version 😉
Thank you very much 🙇🏻


Remove manual written API reference from readme in favor of generated one

check the quality of generated documentation and fix promlems
remove manual written API reference from readme

:tada: This issue has been resolved in version 1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Issue #573 - device functional test failing in 12.1

Updated File:

test/functional/cm/test_device.py

Updates:

Removed the hostname attribute from test since it's an optional attribute; matched name instead
updated all tests from the bigip fixture to the mgmt_root fixture

@caphrim007 this is ready for review.

this test is no longer failing, btw.

lgtm


Use GitHub App for making conda-lock update PRs

This means that the CI can run automatically after these changes, ensuring they don't break anything unknowingly.

Issues are coming from https://github.com/actions/create-github-app-token It looks like maybe the App isn't finding the correct repo? https://github.com/MetOffice/CSET/actions/runs/8159061813/job/22302446938

looks good, but not tested with a run of CSET yet.

This one is development tooling change, so should make no difference to CSET itself.


C&C Daily Casts doesn't automatically update after import

I imported a deck via text paste, and a bunch of the cards where detected as their old rotated variants. I used the "click here to update rotated cards" function and it updated all of them correctly except for Daily Casts, which stayed as the C&C version.
I don't know if this consistently happens with C&C Daily Casts in other contexts, or if it's connected to the text import specifically.

Thank you for the report!


Break out smaller topics from multiregion overview

... with the goal of increasing ease of understanding and findability
from searches.
Summary of changes:

Break out 'Choosing a multi-region configuration' from the bottom of
the original overview page; also, add a "locality vs. survival"
feature matrix-y table to make it easier (?) to understand

Add a "When to use ZONE vs REGION" page for easier searching etc.

Add a "When to use REGIONAL vs GLOBAL" page, also for easier searching
etc.

Addresses #8958, #9708, #9709, #9884, #9886.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e3863d96335ee8b62ad75d30ca8f4aef6dc892f4/
Edited pages:

v21.1/choosing-a-multi-region-configuration.md
v21.1/multiregion-overview.md
v21.1/when-to-use-regional-vs-global-tables.md
v21.1/when-to-use-zone-vs-region-survival-goals.md

Adam & Nathan: FYI this is kind of a "intermediate step" PR with the goal of breaking some stuff out of the giant overview page so we have bones to hang stuff on as I have started writing SQL reference pages so I have something to link to from upcoming tutorials.   The PR summary has the details - It's a combo of edits and a couple new pages for people who are just trying to find "when to choose A vs. B".
Would appreciate any feedback - esp. if the advice is wrong or needs clarifying! Thanks!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/95d931c761077ae78f4253d46517859a3ef97135/
Edited pages:

v21.1/choosing-a-multi-region-configuration.md
v21.1/multiregion-overview.md
v21.1/when-to-use-regional-vs-global-tables.md
v21.1/when-to-use-zone-vs-region-survival-goals.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/08d7130fb2fef8bd4007a04af5ac5dec6810d849/
Edited pages:

v21.1/choosing-a-multi-region-configuration.md
v21.1/multiregion-overview.md
v21.1/when-to-use-regional-vs-global-tables.md
v21.1/when-to-use-zone-vs-region-survival-goals.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/eef0de44eb6d7ee1e89fc5cfaf857b5004f712cc/
Edited pages:

v21.1/choosing-a-multi-region-configuration.md
v21.1/multiregion-overview.md
v21.1/when-to-use-regional-vs-global-tables.md
v21.1/when-to-use-zone-vs-region-survival-goals.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/cedfe4fdf4775ad1be811f147b07ae926b721cef/
Edited pages:

v21.1/choosing-a-multi-region-configuration.md
v21.1/multiregion-overview.md
v21.1/when-to-use-regional-vs-global-tables.md
v21.1/when-to-use-zone-vs-region-survival-goals.md


Fix: use Crystal::System::Random in Crystal::Hasher

Using Random::Secure in prelude.cr causes some load order issues when the crystal-random shard is required, and this prevents a program compilation (e.g. the crystal-random specs). The exact issue is unknown. Maybe it's related to adding more implementations of the Random module, required by Random::Secure, and creating a kind of loop between Hash -> Crystal::Hasher -> Random::Secure <-> Random that the compiler can't satisfy.
Using Crystal::System::Random directly instead of Random::Secure (which merely delegates to Crystal::System::Random) fixes the compilation issue. I'm not fond of that solution (or hack), but it works.

Can you paste the error you got with the load order?

Perhaps add a comment about using Crystal::System::Random in the code? Could be a FIXME.

@RX14 : just clone crystal-random, fix the require "secure_random" statements, then:
$ crystal spec --verbose
Error in line 1: while requiring "prelude"
in /usr/share/crystal/src/prelude.cr:41: while requiring "hash"
require "hash"
^
in /usr/share/crystal/src/hash.cr:1: while requiring "crystal/hasher"
require "crystal/hasher"
^
in /usr/share/crystal/src/crystal/hasher.cr:85: undefined constant Random::Secure
  Random::Secure.random_bytes(Slice.new(pointerof(@@seed).as(UInt8*), sizeof(typeof(@@seed))))
  ^~~~~~~~~~~~~~

@straight-shoota we're inside the private Crystal namespace, so it's allowed to use Crystal::System.

Also, a git blame would better answer the question of using Crystal::System::Random rather than Random::Secure.

we're inside the private Crystal namespace

Ah, I missed that, sorry.

Julien Portalier<EMAIL_ADDRESS>schrieb am Di., 12. Juni 2018,
15:53:

Also, a git blame would better answer the question of using
Crystal::System::Random rather than Random::Secure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crystal-lang/crystal/pull/6184#issuecomment-396597127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcdyrSeyjwbIbpFiLdesZj7Ku_eBHITks5t78fhgaJpZM4UkVGg
.


Files not opening

So about a week ago after using meerk49t for 6 months I developed an issue where all files load extremely slow.  Even files thst previously loaded quickly.  I uninstalled and reinstalled and issues continued….any ideas

What version are you running? What O/S? Did this start after you changed versions or on the same version?

Running windows 10 hone 64 bit.  Issue is on the original download.
Sent from my iPhone

On Dec 13, 2021, at 1:22 PM, tatarize @.***> wrote:

There's a list of older version (https://github.com/meerk40t/meerk40t/releases) do any of those open in this older faster methodology.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

What version of Meerk40t? And did this problem start when you updated Meerk40t to a new version or did it just start on the existing version of meerk40t?

not enough info.


Helm plugin

Does this mean you are wanting helm to be able to run kubesec and decrypt the data before using it in the chart?

Yep.

Cool!
I am also looking for a tool to integrate with helm. One such tool is helm-secrets, I haven't used it though. Would you be aiming for some different functionality?

futuresimple/helm-secrets looks interesting but not quite what I have in mind.

helm-secrets appears to use sops for secret .Values management. Secret templates and values are kept separately. This is different from kubesec, where each Secret is normally "self-sufficient".
NOTE: Secret's metadata is not included in MAC and so kubesec-encrypted Secret can have template placeholders as shown below:
apiVersion: v1
kind: Secret
metadata:
  name: helloworld
  labels:
    app: helloworld
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
type: Opaque
data:
  KEY: TUFkWD1iuKs=.O....D...=
  ANOTHER_KEY: iOy1nf90+M6FrrEIoymN6cOSUYM=.E...=.q...=
# kubesec:v:3
# ...
# kubesec:mac:G5phaA8VV84refpV.idjQQUHj3LS0NJXFZFaCeQ==

You can either "kubesec decrypt, then replace placeholders with values" or "replace placeholders with values, then decrypt". The order doesn't matter.
For example, kubetpl can freeze kubesec-managed Secrets before or after decryption.

helm plugin for kubesec does not need to concern itself with anything but decryption (kubesec cli provides "edit", "encrypt", etc. already)

OK I just tested out helm-secrets. TBH I think it's too complicated.
It encrypts all the values in the secret file:
apiVersion: ENC[AES256_GCM,data:2EY=...,type:str]
kind: ENC[AES256_GCM,...,type:str]
metadata:
    name: ENC[AES256_GCM...,type:str]

I find the documentation difficult to understand. I still don't understand the file layout.
Please update this issue with any progress!

I persisted with helm-secrets, now I get the kinda rigid file naming and layout. It works pretty well once you understand this and we are now using it extensively.
I'm still keen to see a kubesec helm plugin though.

@philicious no plugin yet I'm afraid (we're not using Helm and so it's hard to justify making it a priority (at least not until Helm 3 is out)). BUT. There is nothing stopping you from using kubesec with Helm:
~/chart$ ls
templates/ .helmignore Chart.yaml values.yaml secret.enc.yaml ...

~/chart$ cat secret.enc.yaml
apiVersion: v1
kind: Secret
metadata:
  name: helloworld
  labels:
    app: helloworld
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
type: Opaque
data:
  KEY: TUFkWD1iuKs=.O....D...=
  ANOTHER_KEY: iOy1nf90+M6FrrEIoymN6cOSUYM=.E...=.q...=
# kubesec:v:3
# ...
# kubesec:mac:G5phaA8VV84refpV.idjQQUHj3LS0NJXFZFaCeQ==

~/chart$ grep secret .helmignore
templates/secret.yaml

~/chart$ kubesec decrypt secret.enc.yaml -o templates/secret.yaml
~/chart$ helm install .

I'm actually using this with kustomize.
Still didn't figure out what's the best way except for manual decryption before k apply

@shyiko while I've been using kubesec alot in the past and think its great and feels more lightweight than https://github.com/futuresimple/helm-secrets , I encountered a scenario where its just not an option and I wanted to share my thoughts and findings:
https://github.com/roboll/helmfile is a popular and great way to orchestrate/manage multiple Helm charts and their values. It can also handle secrets and for decryption uses helm-secrets by calling helm secrets dec.
So at first I was like "finally a good opportunity to do a kubesec helm plugin" which would just mimic the same command interface. However, there are two reasons that wouldnt work out:

unfortunately helmfile treats secrets as plain values and not as Secret manifests. Those values are then referenced in the actual Secret manifest. helm-secrets itself can do both: enc/dec pure json/yaml files aswell as Secret manifests (just like kubesec does)
kubesec doesnt support encrypting plain value files as it checks for kind: Secret presence afaik. otherwise it would have been easy using kubesec as a dropin replacement for helm-secrets with helmfile

https://github.com/roboll/helmfile is a popular and great way to orchestrate/manage multiple Helm charts and their values. It can also handle secrets and for decryption uses helm-secrets

I agree. The workflow with secrets and multiple charts when using helmfile, helmdiff and helm-secrets is really nice. Kinda like Terraform.


Belt cycling in the main interface

Suggestion
In the main window, you can show the rates of production by items/m, belts, wagons/m, etc.
If you want to change the belt selection from yellow to red (for example) you have to open the preferences, select it, and come back. If you're in the compact view, you even have to switch back to the main view to have access to the preferences.
I propose setting a shortcut, like alt+Left-click, directly on that button, to cycle between belts, both in normal and compact views.
Maybe if a mod has too many different belts you can change the preferences to select which belts to cycle.

Hi, thanks for the suggestion. That's interesting for sure, and I agree it would be nice to have. Thinking about it for a bit though, the UI and implementation would be too complex for the value it provides I feel, so I'll have to say that I won't be implementing this.


version upgrade

Hello！When is this package expected to be updated, or is there any update plan?

Hello! We’re currently working on this Repos, so this one has been updated to Dart 3.
Please check our repos: nexm_bitcoin_flutter


feat: add retry for web3 api fetch

Summary
Add retry for web3 api fetch
Close #35

From my test, the error also raises at pipeline:
[2022-07-25T13:43:02Z ERROR ethetl::exporters::worker] Pipeline execute error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): connection closed before message completed")).

       0: common_exceptions::exception_into::<impl core::convert::From<web3::error::Error> for common_exceptions::exception::ErrorCode>::from
       1: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       3: <backoff::future::Retry<S,B,N,Fn,Fut> as core::future::future::Future>::poll
       4: ethetl::exporters::blocks::BlockExporter::export::{{closure}}
       5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       6: tokio::runtime::task::harness::poll_future
       7: tokio::runtime::task::harness::Harness<T,S>::poll
       8: std::thread::local::LocalKey<T>::with
       9: tokio::runtime::thread_pool::worker::Context::run_task
      10: tokio::runtime::thread_pool::worker::Context::run
      11: tokio::macros::scoped_tls::ScopedKey<T>::set
      12: tokio::runtime::thread_pool::worker::run
      13: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
      14: tokio::runtime::task::harness::Harness<T,S>::poll
      15: tokio::runtime::blocking::pool::Inner::run
      16: std::sys_common::backtrace::__rust_begin_short_backtrace
      17: core::ops::function::FnOnce::call_once{{vtable.shim}}
      18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/alloc/src/boxed.rs:1872:9
      19: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/alloc/src/boxed.rs:1872:9
      20: std::sys::unix::thread::Thread::new::thread_start
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/std/src/sys/unix/thread.rs:108:17
      21: start_thread
                 at ./nptl/./nptl/pthread_create.c:442:8
      22: clone3
                 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

It seems like there is no retry here. We can not find the notify log:
https://github.com/deepeth/mars/pull/36/files#diff-9c230b92c95f056ffa892cd419c00c9a0dbb7f518dbbdc4698d79e67a5d3ec91R53-R57
cc @dantengsky

From the test, if the web3 returns an error code, it works:
[2022-07-26T01:33:01Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 2.079476272s, error:Code: 5001, displayText = Cannot export block, please make sure eth node sync is already.

       0: common_exceptions::exception_code::<impl common_exceptions::exception::ErrorCode>::ExportBlockError
       1: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       3: <backoff::future::Retry<S,B,N,Fn,Fut> as core::future::future::Future>::poll
       4: ethetl::exporters::blocks::BlockExporter::export::{{closure}}
       5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       6: tokio::runtime::task::harness::poll_future
       7: tokio::runtime::task::harness::Harness<T,S>::poll
       8: std::thread::local::LocalKey<T>::with
       9: tokio::runtime::thread_pool::worker::Context::run_task
      10: tokio::runtime::thread_pool::worker::Context::run
      11: tokio::macros::scoped_tls::ScopedKey<T>::set
      12: tokio::runtime::thread_pool::worker::run
      13: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
      14: tokio::runtime::task::harness::Harness<T,S>::poll
      15: tokio::runtime::blocking::pool::Inner::run
      16: std::sys_common::backtrace::__rust_begin_short_backtrace
      17: core::ops::function::FnOnce::call_once{{vtable.shim}}
      18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/alloc/src/boxed.rs:1872:9
      19: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/alloc/src/boxed.rs:1872:9
      20: std::sys::unix::thread::Thread::new::thread_start
                 at /rustc/cd282d7f75da9080fda0f1740a729516e7fbec68/library/std/src/sys/unix/thread.rs:108:17
      21: <unknown>
      22: clone

It seems Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): connection closed before message completed" is a error caused by the client.

error with the message "... connection closed before message completed" can be captured (and retried)
message "Pipeline execute error:... connection closed before message completed."  seems to be the error that popped up, after retries all failed.

error with message "... connection closed before message completed" can be retried.

Here is a message that was captured, which shows that "connection closed before message completed" can be captured, and retried. The scenario is shutting down geth process while syncing data from geth to ethetl.

[2022-07-26T03:07:55Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 226.493036ms, error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): connection closed before message completed")).
 0: common_exceptions::exception_into::<impl core::convert::From<web3::error::Error> for common_exceptions::exception::ErrorCode>::from
 1: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
 2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
 3: <backoff::future::Retry<S,B,N,Fn,Fut> as core::future::future::Future>::poll
 4: ethetl::exporters::blocks::BlockExporter::export::{{closure}}
 .....

since geth is shutdown, the next error reported during retry is “Connection refused ”

[2022-07-26T03:07:55Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 266.408187ms, error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://127.0. 0.1:8848/): error trying to connect: tcp connect error: Connection refused (os error 111)")).
   0: common_exceptions::exception_into::<impl core::convert::From<web3::error::Error> for common_exceptions::exception::ErrorCode>::from
   1: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll

message "Pipeline execute error:... connection closed before message completed."  seems to be the error that popped up, after retries all failed.

recall, the stack is :

[2022-07-25T13:43:02Z ERROR ethetl::exporters::worker] Pipeline execute error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): connection closed before message completed")).
   0: common_exceptions::exception_into::<impl core::convert::From<web3::error::Error> for common_exceptions::exception::ErrorCode>::from
   1: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   3: <backoff::future::Retry<S,B,N,Fn,Fut> as core::future::future::Future>::poll
   4: ethetl::exporters::blocks::BlockExporter::export::{{closure}}
   5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   6: tokio::runtime::task::harness::poll_future
   7: tokio::runtime::task::harness::Harness<T,S>::poll
   8: std::thread::local::LocalKey<T>::with
   9: tokio::runtime::thread_pool::worker::Context::run_task
  10: tokio::runtime::thread_pool::worker::Context::run

I can not reproduce the above case, but have a similar one:
geth is down, ethetl keeps trying to re-fetch the block:

[2022-07-26T03:43:22Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 195.733188ms, error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): error trying to connect: tcp connect error: Connection refused (os error 111)")).
[2022-07-26T03:43:22Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 755.493471ms, error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): error trying to connect: tcp connect error: Connection refused (os error 111)")).
...
[2022-07-26T03:43:23Z INFO  ethetl::eth::blocks] Fetch blocks error at duration 3.321859591s, error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): error trying to connect: tcp connect error: Connection refused (os error 111)")).

after several retries, the fetcher stops retry and returns an Err, which will NOT be retried.

[2022-07-26T03:43:23Z ERROR ethetl::exporters::worker] Pipeline execute error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): error trying to connect: tcp connect error: Connection refused (os error 111)")).

to reproduce the Pipeline execution error, with the message "connection closed before message completed"

[2022-07-25T13:43:02Z ERROR ethetl::exporters::worker] Pipeline execute error:Code: 1002, displayText = Transport(Message("failed to send request: error sending request for url (http://<IP_ADDRESS>:8848/): connection closed before message completed")).

we need the error of the last retry to be "connection closed before message completed”.
I tried to reproduce it by randomly killing geth and bring it up again, but failed :-(.


Removing PR creation mechanism

Triggering tekton CI can be achieved by simply creating an empty commit each day on scheduled basis.
That is the reason why we don't need complicated PR creation(opening/closing) mechanism.
Its also triggering image builds duplicitly.

Updated commit msg, should be updated any time now.


xplat: enable JIT for debugger

Xplat XDataAllocator Reg and UnReg are lazy ops. Using a scope delete
class, we let XData address unreg before old codegen is deleted.

Do not forceNoNative during xplat debug anymore

Add a new test case

Fixes #3352

@jianchun ping

@dotnet-bot test OSX static_osx_osx_debug please

@agarwal-sandeep waiting for the cirro run. Anything else?


Feat: add info about other custom triggers

Description of your changes
This PR adds curl commands for all types of custom triggers.
https://github.com/kubevela/velaux/assets/80708727/ed8e0c03-58b5-4c54-a4ab-b8b15577690c

Fixes #834
I have:

[X] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[X] Run yarn lint to ensure the frontend changes are ready for review.
[ ] Run make reviewableto ensure the server changes are ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

Special notes for your reviewer

The function looks good to me. I think it will be better to optimize some style.

Tabs are shown under the "Curl Command"
Do not use capsule.
Try to make the colors more coordinated. For example, you can make the selected tab black so it is the same to CopyToClipboard's color.

Sure, I will try to implement these styles.

Can you fix the static check CI? https://github.com/kubevela/velaux/actions/runs/5199367843/jobs/9376667695?pr=836


Make nullable Intent on service restart.

Fixes #14

This is taken care of in https://github.com/adroitandroid/Near/pull/16


feat: Add dns_options dynamic block

Description

add dns_options block to use it in cases of endpoints that support gateway and interface
Motivation and Context
 errors https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/982

https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/982
Breaking Changes

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[X] I have tested and validated these changes using one or more of the provided examples/* projects

there is no user input change, if the array is not existend or private_dns_enabled is false it will not trigger a change

tested locally

[x] I have executed pre-commit run -a on my pull request

@antonbabenko if you could please review this or tag relavent people to review
will be super helpful if this be in the next version

@bryantbiggs
Can you please review this MR, i cant assign reviewers to view this code and it will really help in the provisioning

This PR is included in version 5.5.0 :tada:

@bryantbiggs thanks for merging
why did you change the looping validation and the check on the private_dns_enabled?
i added it so it could prevent users from using this when its type gateway and when private_dns_enabled = true the value should not exist

the value should not exist

Then users should not provide it. Sometimes we can provide the means to help users avoid misconfiguration, but in this scenario the logic would be overly complex


Bug with export linked objects

Describe the bug
Export scene with linked objects throwing bug and abort exporting
To Reproduce
Steps to reproduce the behavior:

Open scene.blend from this archive gltf-bug.zip
Go to File > Export > glTF
Select export options:

See error

Expected behavior
Exported file without linked objects or with data about linked objects (better).
Version

OS: Win10 x64
Blender version: 2.80 (sub 74), branch: master, commit date: 2019-06-23 22:45, hash: 9c5d54bfaf48, type: Release

Temporary decision: call bpy.ops.object.select_by_type(type='MESH') before export selected objects for exporting all exportable meshes.


AboutUs: Update files to match project

Fixes #319
Completed:

Updated project overview and RepoSense links in portfolios.

Todo:

Update email address in AboutUs page.
Update total LoC in portfolios.

i think u dont need to delete your file. just keep your reposense link there and the researchroster intro there and delete all the other stuff in the file which u did not edit


OOC sent by an admin will have a different color

About the PR
The color for an admin OOC will now have a different color than the default OOC. The default color is set to #c43b23.
The admin may also change their color by using the command:
setadminooc <color as hex code (example: #c43b23)>
I plan to add a proper UI to change the color in the future, however that will require some additional work in some controls, so it would be better additional PRs to address that.
Screenshots

Haven't looked at the code yet but the default's kind of hard to read in the screenshot TBH.

Color has been updated to red (#ff0000), which is the same as the admin chat.


drop support for unmaintained versions of Node.js; upgrade stuff (WIP)

DO NOT MERGE
Addresses #3016

Drops support for Node.js v0.10, v0.12, v5.x and iojs
Address potential arbitrary code injection vulnerability in growl
Address potential regex DoS vulnerability in debug
Upgrade eslint and plugins and sweep up code
Upgrade should, growl, and debug
Update engines field in package.json

I'm going to see what else I can squeeze out of this.

Coverage remained the same at 89.027% when pulling 89bb30d57259f7d02a902d68600cdabb84d66f7e on issue/3016 into 82c9cb4855052f09d44e62ade32263e0514bf0cf on master.

Coverage remained the same at 89.027% when pulling d6c5bc0704d38e43c76089860aa653ed77d801f6 on issue/3016 into 82c9cb4855052f09d44e62ade32263e0514bf0cf on master.

This will be (squashed) and merged when the build's green.

Coverage remained the same at 89.027% when pulling 4f6b9c1c0db0e0f5710d845ccbcecd0ce6324c3e on issue/3016 into 82c9cb4855052f09d44e62ade32263e0514bf0cf on master.


Fix error in normalize with scalar mean/std

Follow-up to #519, fixing the case of scalar mean and std in normalize.

The test failure is due to this not working:
>>> torch.Tensor(torch.tensor(0.5))
RuntimeError: slice() cannot be applied to a 0-dim tensor.

I can fix the code here by calling float() on the values, but I think this is a pytorch bug.

mean (sequence): Sequence of means for each channel.
According to the doc I have an impression that mean (same for std) is a sequence of scalars and not torch.tensors, e.g.

mean = [0.5, 0.5, 0.5]

or
mean = [0.5, ]

so in this case the previous code (ignoring the benchmark) works correctly
torch.Tensor(mean).view((n_channels, 1, 1))

Did you benchmark to see if performing a single sub followed by a div is faster than the 3 sub / div that we had before?
I think that in the other codepath we had vectorization that was enabled, and I'm not sure that's the case here.

I should have done that in the first place. The old version was actually faster :unamused:

According to the doc I have an impression that mean (same for std) is a sequence of scalars and not torch.tensors, e.g.

Correct if you see torch.tensor(0.5) not as a scalar, but you could also argue that anything on which you can run float() is a scalar (or complex() if necessary).


Use Glibc or Darwin for POSIX error codes

We don't need to redeclare POSIXError here, we can just use the one from Glibc or Darwin.
Also use the platform ifdefs from swift-corelibs-foundation

@swift-ci test

@swift-ci test


Issues using latest vitest results in errors

When updating vitest from  0.34.2 ->  0.34.3 I get a bunch of
You appear to have multiple instances of Solid. This can lead to unexpected behavior.
Send me a PM if you are in the mood ;) @atk

Also with vitest 1.2.1.
I get the additional error:
computations created outside a `createRoot` or `render` will never be disposed

@floratmin see the solution in https://github.com/solidjs/solid-testing-library/issues/38#issuecomment-1564593881. You've likely got multiple instances of solid in your tests. Inlining the solid code should should fix your issue.

We can close it now @atk 🎉

Fixed


could improve documentation for building uberjar

First thanks for making neil! It's quite nice for new clojure users like myself. Clojure already has a lot that's different to learn, so it's nice to just focus on the language and not have to also learn deps.edn and tools.build until needed for more complex projects and just have easy commands for basic tasks. Here's my experience building my first uberjar, maybe it's helpful for improving the documentation so other new users have an easier time, or maybe even neil could configure these things automatically:

I follow readme that says neil add build :deps-deploy true and then clojure -T:build uber
Get some confusing java errors when trying to run it, google around and find your blog which explains I need to add (:gen-class) to the namespace with main and add :main 'my-namespace to the b/uber map in build.clj
Everything works :)

Maybe (:gen-class) could be added in the default new project template? Maybe it could search what namespace has (:gen-class) and (defn -main... and automatically set the :main key when it generates build.clj with neil add build :deps-deploy true? Maybe just link your blog post from the neil readme, cause it has good information people will miss if they just come to the github page

PR welcome to add a link to the blog post :)

ok sent :)


Support multiple JSON files

As far as I can tell you can only set one JSON source using e.g. :sail-doc: riscv_model_rv32.sail, but what if you want to reference RV32 and RV64 code? Or CHERI and non-CHERI code? These are currently compile time configurations in RISC-V so you need to build a number of JSON files, and load from all of them.

Scratch that, I totally missed this bit of the documentation:

Each command takes a from parameter which specifies which bundle to pull the source from. This
defaults to from=sail-doc if left unspecified. In the following examples this is used for each separate
example, so you will see from= which corresponds to a documentation bundle generated in
examples/.json.


fix(media): Use UTF-8 encoding when opening HTML files

Fixes issue for Windows where the utf-8 encoding of a HTML file leads to a charmap error
Traceback (most recent call last):
  File "..\scripts\train_CNN.py", line 99, in <module>
    trainer.fit()
  File "..\venv\lib\site-packages\torch\distributed\elastic\multiprocessing\errors\__init__.py", line 346, in wrapper
    return f(*args, **kwargs)
  File "..\src\trainers\base_trainer.py", line 188, in fit
    current_iteration_step = self.train_one_epoch(
  File "..\src\trainers\cnn_trainer.py", line 37, in train_one_epoch
    log_table = generate_wandb_pred_table(detached_y_pred, detached_y_true)
  File "..\src\utils\utils.py", line 56, in generate_wandb_pred_table
    log_table.add_data(Html(pred_figure_temp_path), Html(true_figure_temp_path))
  File "..\venv\lib\site-packages\wandb\sdk\data_types\html.py", line 37, in __init__
    self.html = file.read(encoding="utf-8")
  File "Python\Python310\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 305433: character maps to <undefined>

Description
Fixes "UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 305433: character maps to " in Windows when reading HTML created with Unicode encoding.

[ ] I updated CHANGELOG.md, or it's not applicable

Testing
Tested locally on my machine with Plotly plots that get saved and then loaded to W&B in a Table, this change makes it possible to upload from Windows

Thank you @KilnOfTheSecondFlame. Could you please update the changelog as well?

Thank you for the approval =) I updated the changelog as well, please advise if that is the correct form/structure.
If I can do anything to help please just ping me!


Finetuing pre-trained I3D model

In training, is MS-TCN model only trained with pre-extracted features?
And is not I3D model fine-tuned?

Hi,
Yes we train the MS-TCN model with pre-extracted I3D features.
We fine-tune the I3D model with the BSL Corpus data. You can also see our analysis about fine-tuning on different datasets in our ICASSP paper (Table 2 and Table 5).


Test/Bug: Follow-up on selecting contacts keep on popping-up:

Follow-up on selecting contacts keep on popping-up:

When I click on a meeting in the list - I get again the select contact card (so not the detail card of the selected meeting) with additional transcript:

fixed


License

This is a very neat program, and I was curious if you would consider releasing it under a license.

Done, see: https://github.com/mevdschee/fakeflac/commit/6bb4a04659c7906e5bf53ab762060d569c44892d

Thank you for your kind words and your helpful suggestion. Enjoy the software!


No deployment ID in the integrated terminal.

There is a line in the documnetation for Debugging a module with the Io Edge runtime:
 You'll see the deployment successfully created with a deployment ID in the integrated terminal.

I didn't see any Deployment ID upon generation. Just the following:
[Edge] Start deployment to device [alphaedge]
[Edge] Deployment succeeded.

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

ID: 5a3f2f86-40bf-19f2-4f56-9dc71ed47fa2
Version Independent ID: 20e8912c-4a10-68b9-c46a-e945a62421d6
Content: Develop and debug modules for Azure IoT Edge
Content Source: articles/iot-edge/how-to-vs-code-develop-module.md
Service: iot-edge
GitHub Login: @shizn
Microsoft Alias: xshi

@YoDaMa Thanks for the feedback! We are currently investigating and will update you shortly.

@YoDaMa   you can use "docker logs edgeAgent" in the integrated terminal to see deployment ID

@czgtest Thanks for helping! @YoDaMa Did you have a chance to look into the previous suggestion?


Incapacitated people standing up

Movement code is not checking for people being unable to act.

Should stand up if prone.  Also should not show show spells in range if you needed to move to use that spell.


Various speed and formatting improvements

This is where I will be keeping track of my changes to the code to improve its speed using what I've learned while working on speeding up winfetch.

Network Improvements

Replaced most network requests with requests using [System.Net.WebClient]

Made calls that could benefit from being executed asynchronously used as such
[System.Net.Http.HttpClient] is potentially faster due to one instance being able to be used while another operation is executing asynchronously, but it doesn't exist in PowerShell 5, so it couldn't be used
Also found and fixed a possible bug in the OOSU section where OOSU10.exe wouldn't be downloaded if a custom config file is supplied

(Get-Item "$env:ChocolateyInstall\choco.exe" -ErrorAction Ignore).VersionInfo.ProductVersion -> [System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:ChocolateyInstall\choco.exe").ProductVersion

66 ms -> 23 ms

Tried replacing [Windows.Markup.XamlReader]::Load( $reader ) with [Windows.Markup.XamlReader]::new().LoadAsync( $reader ) but it didn't improve speeds

Tried replacing ConvertFrom-Json

After trying a bunch of C# methods, landed on [Newtonsoft.Json.JsonConvert]::DeserializeObject

Doesn't exist in PowerShell 5, but continued because importing it is possible
Almost got it working by reverse engineering the source of ConvertFrom-Json and JsonObject

Ended up being slower anyway

Speed improvement:

Everything before main window is opened:

PowerShell 7:

1850 ms → 1327 ms

Some guidelines for fast PowerShell:

Assume anything CIM and WMI will be too slow and try to find an alternative
Piping is slow, so avoid using it when possible (do $e.Name instead of $e | Select-Object Name)
Use https://github.com/nohwnd/Profiler and import generated JSON files into https://www.speedscope.app/ or view results directly in PowerShell

Shows which functions take the longest, but only sometimes what operations within each function takes the longest. That takes looking into the function yourself and using Measure-Command

1..10 | ForEach-Object {pwsh -nop {(Measure-Command { <# Insert the Code Here #> }).TotalMilliseconds}}

Always execute Profiler and Measure-Command in a fresh instance by using PowerShell -nop (PowerShell 5) or pwsh -nop (PowerShell 7)

Check both PowerShell 5 and 7 as speed will vary between them

I sometimes downclock my laptop hard (1.06 GHz) to get more battery life out of it and prevent it from becoming a jet engine when plugged in. But what I discovered through that is that some operations take a very long time to execute when PowerShell is bottlenecked, making speed differences much more noticeable

CIM and WMI are big examples of this

Always investigate using a .NET or C# library instead of a PowerShell command or CIM/WMI call, but don't assume that it will be faster
$null = operation > [void]operation > operation | Out-Null
Operation | ForEach-Object is sometimes faster than Operation.foreach() due to pipeline streaming

Very cool, I am sure a lot of my stuff is bloated since I like simplicity over performance lol
There are a few curl.exe commands in there that could probably be switched

There are a few curl.exe commands in there that could probably be switched

I replaced all but one because in situations where the download cannot be done asynchronously, curl is on-par or slightly faster than using [System.Net.WebClient].

Even faster than Invoke-RestMethod?

Meh, by a good margin too

comparing the configs section lol

That is one of the things I like about powershell though. It's built on top of all the c# libraries making it very powerful and python like. Remote Powershell is also amazing when working in a Windows environment.

This is one cool PR, Damn good job @Carterpersall

    * `[System.Net.Http.HttpClient]` is potentially faster due to one instance being able to be used while another operation is executing asynchronously, but it doesn't exist in PowerShell 5, so it couldn't be used

@Carterpersall You might be able to get around this be doing the following. Seems to work in my powershell 5 session
Add-Type -AssemblyName System.Net.Http

@Carterpersall You might be able to get around this by doing the following. Seems to work in my powershell 5 session
Add-Type -AssemblyName System.Net.Http

This does work and seems to be faster, will whip up an implementation when I get the time

Guess I beat AI lol CheckBoxes2 is with the method it suggested.

Asked the GPT how to disable a service without powershell commands. Would probably improve performance switching things to call the dotnet classes for a lot of things.

If you want to disable a service in PowerShell without using the Get-Service cmdlet, you can use the .NET ServiceController class directly. Here's an example:
# Load the System.ServiceProcess assembly
Add-Type -AssemblyName System.ServiceProcess

# Create a new instance of ServiceController with the service name
$serviceName = "YourServiceName"
$service = New-Object System.ServiceProcess.ServiceController($serviceName)

# Check if the service is running and stop it if needed
if ($service.Status -eq 'Running') {
    $service.Stop()
    $service.WaitForStatus([System.ServiceProcess.ServiceControllerStatus]::Stopped, (New-TimeSpan -Minutes 1))
}

# Set the service startup type to Disabled
$service.StartType = 'Disabled'
$service.CommitChanges()

In the example above, we first load the System.ServiceProcess assembly using the Add-Type cmdlet. Then, we create a new instance of the ServiceController class with the name of the service you want to disable.
Next, we check the Status property of the ServiceController instance to see if the service is running. If it's running, we use the Stop() method to stop the service and wait for it to reach the Stopped status using the WaitForStatus() method.
After that, we set the StartType property of the ServiceController instance to 'Disabled' to disable the service, and finally, we call the CommitChanges() method on the ServiceController instance to save the changes.
Please note that running PowerShell commands to manage Windows services may require administrative privileges. Make sure to run the PowerShell script with appropriate permissions or from an elevated PowerShell session to ensure successful execution.


User Story 05: As a member of the oginisation, I want to retrieve the top 10 most populated countries in the world. So, that I can focus on the countries that have the largest populations for human settlement research.

User Story 5
feature/n-countries-report

The top N populated countries in the world where N is provided by the user.
The top N populated countries in a continent where N is provided by the user.
The top N populated countries in a region where N is provided by the user.

I am changing the user story from "As a member of the oginisation, I want to retrieve the top 10 most populated countries in the world. So, that I can focus on the countries that have the largest populations for human settlement research." to "As a Human Settlement Researcher, I want to retrieve the top 10 most populated countries in the world, so that I can focus on the nations with the largest populations for in-depth human settlement research and analysis."


Upload to anaconda.org/lightsource2-dev from travis

Hooray it works!
Here's what happens:

set up travis environment for metadatastore

execute run_tests.py

execute conda build conda-recipe
if tests pass then:

clone some bash scripts from ericdill/travis-little-helper that:
A. determines the exact version of the conda binary
B. removes all packages from the lightsource2-dev/metadatastore channel that do not match the version in A.

upload the binary built on travis to lightsource2-dev/metadatastore

closing until this works to avoid double building on travis. will reopen after it is good to merge

Ok, this is good to go

When this branch is merged in to master, the anaconda.org/lightsource2-dev/metadatastore package channel will contain the tip of master, built on travis ubuntu 12.04 against python 2.7, 3.4 and 3.5


Adding Procfile

What's this PR do?
This adds a Procfile so that Northstar can be successfully deployed on Heroku.
How should this be reviewed?
This branch has been deployed on dosomething-northstar-dev and dosomething-northstar-qa successfully.
Relevant Tickets
https://github.com/DoSomething/devops/issues/383
Checklist

[ ] Documentation added for changed endpoints.
[ ] Tests added for new features/bug fixes.
[ ] Post a message in #api if this includes something that causes a rebuild!

The deploy finishes without errors, but there's still a Unable to prepare route [status] for serialization. Uses Closure. Any hints on that @DFurnes ?

The deploy finishes without errors, but there's still a Unable to prepare route [status] for serialization. Uses Closure. Any hints on that @DFurnes ?

Ah, we need to remove closure routes, like this one, before we can enable route caching. For now, we can just remove that from the warmup script.

This looks good. There are errors, but they're now related to parsing the Redis URL. I'll open a new PR for that.


Make the "planning" page to use the PagerService

Related to https://github.com/jmpala/desk-booking-system/issues/10

Close with 4a2a294fd41579a1a38f728590cb941b3a53f100


String output is truncated in Linux

VSCode Version: alpha
OS Version: Ubuntu 15.10
#4952

Steps to Reproduce:

Create a javascript variable with 10,000 characters called string then:

console.log(string);

Use a tool to count the characters in the debug console, or create a new string with the copied output and output the length.

My 10,000 string is only showing 9679 characters in the output.

The output event which I recieve does not contain the full string.
The repl is capable of showing the full string which can be seen if you simply evaluate that string in the repl
Here's a simple repro
for (var i = 1; i < 10000; i++) {
    s += 'x';

}

s += 'A';
console.log(s);

Forwarding to @weinand to check why the output event does not contain the full string

Cannot reproduce in VS Code 1.1.1 and latest.

I still see this with latest using the sample above

This works fine on Windows.
On OS X and linux only 8192 characters are coming through the output event. It seems that console.log uses a buffer of that size.

Could this be nodejs/node#6456 in action?

no longer an issue with "inspector" node-debug.


Be able to change a wire into a tree connection

Current behaviour:
Currently, the only way to ensure that a wire between instances A and B is a tree connection is to have it be the first wire connecting to B, which means deleting all wires connecting to B, adding a new wire between A and B, and then adding back new wires to replace the deleted ones. This is obviously cumbersome, so it is important to be able to do this unobtrusively.
Desired behaviour:
A wire's context menu should have an option to set the selected wire as a tree connection between the source and destination. This will change the current tree connection to the destination into a cross connection.

Added in v1.8.0. The user can now promote a wire (treat it as the first wire chronologically) at the source or destination port through the wire's context menu options.
Promoting a wire at the destination port will have the same effect as changing that wire into a tree connection. The usage of the RightTreeLayout algorithm has been changed to reflect this, which also means the removal of the now-redundant "Use depth-first layout" toggle.

Added in v1.8.0. The user can now promote a wire (treat it as the first wire chronologically) at the source or destination port through the wire's context menu options.
Promoting a wire at the destination port will have the same effect as changing that wire into a tree connection. The usage of the RightTreeLayout algorithm has been changed to reflect this, which also means the removal of the now-redundant "Use depth-first layout" toggle.


Copy pasting nodes does not copy vertical node connections

If you copy and paste a section of nodes, any vertical ports connected between them will not be copied

This should be fixed with https://github.com/alelievr/NodeGraphProcessor/commit/6e519124a0f03fa592de909ca7dd18f3fd3afad4


Update links_validation.md

Docs Build status updates of commit ab7fd5e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

MarkdownValidationTest/links_validation.md
:warning:Warning

Details

MarkdownValidationTest/links_validation.md

Line 12: [Warning] Markdown content is not allowed before H1.
Line 12: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 16: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 18: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 24: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 31: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 41: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 55: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 67: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 81: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 99: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit d8cc5e5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

MarkdownValidationTest/deputy-tutorial.md
:warning:Warning

Details

MarkdownValidationTest/links_validation.md
:warning:Warning

Details

MarkdownValidationTest/deputy-tutorial.md

Line 54: [Warning] Invalid file link:(~/common/select-azuread.png).
Line 58: [Warning] Invalid file link:(~/common/enterprise-applications.png).
Line 62: [Warning] Invalid file link:(~/common/add-new-app.png).
Line 66: [Warning] Invalid file link:(~/common/search-new-app.png).
Line 90: [Warning] Invalid file link:(~/common/select-sso.png).
Line 94: [Warning] Invalid file link:(~/common/select-saml-option.png).
Line 98: [Warning] Invalid file link:(~/common/edit-urls.png).
Line 102: [Warning] Invalid file link:(~/common/idp-intiated.png).
Line 146: [Warning] Invalid file link:(~/common/metadata-upload-additional-signon.png).
Line 160: [Warning] Invalid file link:(~/common/certificatebase64.png).
Line 164: [Warning] Invalid file link:(~/common/copy-configuration-urls.png).
Line 176: [Warning] Invalid file link:(~/media/deputy-tutorial/tutorial_deputy_004.png).
Line 180: [Warning] Invalid file link:(~/media/deputy-tutorial/tutorial_deputy_005.png).
Line 200: [Warning] Invalid file link:(~/common/users.png).
Line 204: [Warning] Invalid file link:(~/common/new-user.png).
Line 208: [Warning] Invalid file link:(~/common/user-properties.png).
Line 225: [Warning] Invalid file link:(~/common/enterprise-applications.png).
Line 229: [Warning] Invalid file link:(~/common/all-applications.png).
Line 233: [Warning] Invalid file link:(~/common/users-groups-blade.png).
Line 237: [Warning] Invalid file link:(~/common/add-assign-user.png).
Line 255: [Warning] Invalid file link:(~/media/deputy-tutorial/tutorial_deputy_001.png).
Line 259: [Warning] Invalid file link:(~/media/deputy-tutorial/tutorial_deputy_002.png).
Line 263: [Warning] Invalid file link:(~/media/deputy-tutorial/tutorial_deputy_003.png).

MarkdownValidationTest/links_validation.md

Line 12: [Warning] Markdown content is not allowed before H1.
Line 12: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 16: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 18: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 24: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 31: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 41: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 55: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 67: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 81: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 99: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 6706b96:
:warning: Validation status: warnings

File
Status
Preview URL
Details

MarkdownValidationTest/links_validation.md
:warning:Warning

Details

MarkdownValidationTest/links_validation.md

Line 12: [Warning] Markdown content is not allowed before H1.
Line 12: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 16: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 18: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 24: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 31: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 41: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 55: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 67: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 81: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 99: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 7567338:
:warning: Validation status: warnings

File
Status
Preview URL
Details

MarkdownValidationTest/links_validation.md
:warning:Warning

Details

MarkdownValidationTest/links_validation.md

Line 12: [Warning] Markdown content is not allowed before H1.
Line 12: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 16: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 18: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 24: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 31: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 41: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 55: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 67: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 81: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.
Line 99: [Warning] Link https://docs.microsoft.com/en-us contains locale code en-us. For localizability, remove en-us from links to Microsoft sites.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Azure Service Health Data Storage and Privacy

Hi, this article does not describe where and what type of data Azure Service Health stores, or where it stores the data.

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

ID: 37494f89-1920-0b77-3f4d-40c40a7fadb5
Version Independent ID: a0ad5919-7efe-c245-7e25-fe49ea252162
Content: What is Azure Service Health? - Azure Service Health
Content Source: articles/service-health/overview.md
Service: service-health
GitHub Login: @rboucher
Microsoft Alias: robb

@waltgithub
Thanks for your feedback! We will investigate and update as appropriate.

@waltgithub, thank you for the suggestion.
@rboucher, could you please review this and share your thoughts. Thank you

Thanks for your dedication to our documentation. This issue has been moved to an internal work item for triage and prioritization. Thanks in advance for your understanding as we investigate to provide the most accurate documentation updates. #please-close
Internal work item: https://dev.azure.com/msft-skilling/Content/_workitems/edit/271102
Please also note that GitHub documentation issues are being phased out completely. For more information, see: https://aka.ms/ContentUserFeedback.
Our support team is available to assist you if you have any pressing questions or problems that need to be resolved. You can create a support ticket by visiting the following link: https://azure.microsoft.com/support/create-ticket/
You may also ask support questions in our Q&A forums.


Testing level

level that spawns waves of enemies. dungeon exit appear once in a while to allow for shopkeeper
useful for testing basic combat, leveling system, level up system, shopkeeper
can also help doing some early balancing

have implemented basic testing level with waves


Local Grouper some problem

Hi, very thank you to proivde the code, and I have few question want to know below.
https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L172
https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L174
1.What is different center and anchor?

https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L179
2.What alpha and beta learnable parameters exacalty do ?

https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L181
3.I don't really understand why need concat new_points?

https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L181

Why return new_xyz, but in Model forward never used?

5.How [512,128] convert to [256,24,128]
6.Please tell me how does it work the one stage to next stage?
7.And why repeat four times?
Thank you very much!

@root116688 Thanksfor your interest and detailed questions. Here are the responses.

center means  the mean value of the local points and anchor means the the selected center point.
We always use anchor in our implementation.
Alpha and beta can be considered as a common practice in normalization technologies, scaling and shifting the values.
Refer BN.GN,LN, etc.
We notice that  this strategy would achieve better performance.
it is used in https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L338
Using the local grouper. How  [512,128] convert to [256,24,128]? We selelct 256 points from 512 points, and consider the 24 nearest points for each selected one. The resulted tensor would be [256,24,128]
Same as Q5.
What do you mean by "repeat four times"? If you mean four stages, that is a common practice in network design. Other designs would be okay, but the perfomermance may vary.

Let me know if you have any further questions.

@ma-xu
1. Is "anchor" provide higher accuracy?
2. How ones and zeros to do normalization?

Thanks i got it!
My mistake, I forget it is in for loop.
&6. Thanks I finally understand.
Thanks you again~

Thank you for reply many times.
Sorry, ones and zeros i mean self.affine_alpha and self.affine_beta , I don't understand how is this value do normalization.
Is it Layer Normalization?
this line
https://github.com/ma-xu/pointMLP-pytorch/blob/b5dcf4d0ca2085d10fe1dc5e6f2972cddec8399d/classification_ModelNet40/models/pointmlp.py#L179

They are learnable.

Thank you again~


test with react-native-slqite store

I tried test my code that use the lib react-native-sqlite-storage this code return this error

ReferenceError: window is not defined

this issue has relation with issue #168

Did you resolve your issue ?

hi @andpor this error has persist because this line in sqlite.core.js


Inspect fails when the supervisor is running on an unexpected port.

Controller does not pull the active supervisorPort from .active-server.json.  This can cause actions like inspect to fail if, as is the case for Firebase serve, the supervisor is running on an unexpected port.
In the pull request, the controller now handles cases where the active supervisor port differs from the config by reading the port value from .active-server.json in the same manner as the rest port.

[x] Tests and linter pass - minus gcloud connected tests
[x] Code coverage does not decrease (if any source code was changed) - again, minus gcloud elements
[ ] Appropriate docs were updated (if necessary)

Noticed I gave the branch a bad name.  Called it controller-serverPort-patch when it should be controller-supervisorPort-patch.  Doesn't change the content of the pull request, but I thought I should mention the intent there.


azure-cli 2.8.0 and 2.7.0 compatibility issues with azure-storage-blob since October 2019

Describe the bug
azure-storage-blob versions after October 2019 are not supported.
Update: still there in azure-cli 2.8.0 (with Python 3.8.3)
ERROR: azure-cli 2.7.0 has requirement azure-storage-blob<2.0.0,>=1.3.1, but you'll have azure-storage-blob 12.3.1 which is incompatible.
Command Name
pip install -U -r requirements.txt
Errors:
2.7.0:
ERROR: azure-cli 2.7.0 has requirement azure-storage-blob<2.0.0,>=1.3.1, but you'll have azure-storage-blob 12.3.1 which is incompatible.
2.8.0:
ERROR: azure-cli 2.8.0 has requirement azure-storage-blob<2.0.0,>=1.3.1, but you'll have azure-storage-blob 12.3.2 which is incompatible.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

python -m venv azure_cli_issue
cd azure_cli_issue
pip install -U azure-cli azure-storage-blob
Then
pip install -U azure-storage-blob

Expected Behavior
No error. But I get:
ERROR: azure-cli 2.8.0 has requirement azure-storage-blob<2.0.0,>=1.3.1, but you'll have azure-storage-blob 12.3.1 which is incompatible.
Environment Summary
Update: still there in azure-cli 2.8.0 (with Python 3.8.3)
Windows-10-10.0.18362-SP0
Python 3.7.7
Installer: PIP

azure-cli 2.7.0

Additional Context

@fengzhou-msft please take a look

Update title/description to reflect issue is still there in 2.8.0.
Why not just remove the azure-storage-blob<2.0.0 and run your regression test? (Note that I haven't encountered any issues but our usage does not offer wide coverage)

@Juliehzl is working on removing azure-storage-blob and currently blocked by an extension that is still using it.

Also reported by @IRLeif, see https://github.com/Azure/azure-cli/issues/14240#issuecomment-656111287

fixed already. please try with latest azure cli.

@Juliehzl Ah! Great! That's why I no longer got the error yesterday afternoon when I pip updated my local installation nor in the new installation for one of the starters within my team :)
I reran the repro steps (BTW: they miss the venv activation) and got no error so I'm closing this issue.
Thanks @Juliehzl, @fengzhou-msft


housekeeping: Release Splat 5.0

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bumps the sem ver to 4.1 (should we make it 4.1 or 4.2, since 4.1 was a non-nuget release due to signing issues).
What is the current behavior? (You can also link to an open issue here)
It's 4.0
What is the new behavior (if this is a feature change)?
It will be 5.0
@cabauman changes will be changing the name of Color to SplatColor which will likely cause some users to have to change the name.
What might this PR break?

changes will be changing the name of Color to SplatColor which will likely cause some users to have to change the name.

Just want to clarify that it will be very unlikely that users will have to change the name. The only users that need to use SplatColor are those that wish to target Cocoa in a cross-platform project. For everyone else, it’s optional...they can continue using System.Drawing.Color like normal.


Add further formatting options

Additionally to the colorization and text formatting there should be the ability to add further preprocessing like uppercasing/lowercasing or anything else that involves String transformation. Optimaly the API should allow to pass multiple functions that take in a string and return a string to be set.
The api could be something like this:
new FormatBuilder().setAnsi(ansi).addPreFormatting(String::toLowerCase, String::toString).get()

tho this example would make too much of a sense but i think you get the point

closed, not part of this repository


MergeKwArgs; same key overlaps because it is map

Hello, I wanted to pass same name parameter, so I wanted to use KwArgs's same key, but as it is just map, I cannot do it.
So I assume MergeKwArgs should not actually merge into one KwArgs which backs to just Golang's map as it is not allowed to have multiple same key.

Filter takes Args which is a list as args, but your case is true more most commands, do you have a specific example?

There would be some other way to resolve this, could happen because of my ignorance.
Anyway, thing I'm trying to accomplish is like this;
ffmpeg -i pipe: \
	-vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename video/720p_%03d.ts -method PUT -headers 'Authorization: Bearer JWT' -headers 'CustomHeader: Value' http://localhost:4000/transcoding/video/720p.m3u8 \
	-vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename video/1080p_%03d.ts -method PUT -headers 'Authorization: Bearer JWT' -headers 'CustomHeader: Value' http://localhost:4000/transcoding/video/1080p.m3u8

So I assume I could make use of kwargs.
fmf, err := formFile.Open()
if nil != err {
	return err
}
baseURL := fmt.Sprintf("http://localhost:%s/transcoding", constant.PORT)
outputURL := func(resolution string) string {
	return fmt.Sprintf("%s/%s-%s.m3u8", baseURL, resolution, formFile.Filename)
}
segmentURL := func(resolution string) string {
	return fmt.Sprintf("%s/%s-%s-%%d.ts", baseURL, resolution, formFile.Filename)
}
ffmpeg.Input("pipe:").
	Output(outputURL("1080p"), []ffmpeg.KwArgs{
		{
			"headers": fmt.Sprintf("Authorization: %s", req.Header.Get("Authorization")),
		},
		{
			"headers": "CustomHeader: Value",
		},
		{
			"vf":           "scale=w=1920:h=1080:force_original_aspect_ratio=decrease",
			"c:a":          "acc",
			"ar":           48000,
			"c:v":          "h264",
			"profile:v":    "main",
			"crf":          20,
			"sc_threshold": 0,
			"g":            48,
			"keyint_min":   48,
			"b:v":          "5000k",
			"maxrate":      "5350k",
			"bufsize":      "7500k",
			"b:a":          "192k",
		},
		{
			"f":      "hls",
			"method": "PUT",

			"hls_init_time":        "0", // initial segment size as seconds
			"hls_time":             "3", // segment size as segments
			"hls_list_size":        "5", // max playlist size
			"hls_delete_threshold": "1", // max threshold before delete segment
			"hls_playlist_type":    "vod",
			"http_persistent":      "true",
		},
		{ // MPEG-TS
			"hls_segment_filename": segmentURL("1080p"),
			"hls_segment_type":     "mpegts", // mpegts(default), fmp4 (HLS v7 or higher)
		},
	}...).WithInput(fmf)

But as there is not allowed to have same name as key of map, I cannot make it work.

you could just pass all headers in a single command like this {"headers": "k1: v1\nk2:v2"}, refer: https://stackoverflow.com/questions/33718810/ffmpeg-how-to-pass-http-headers

Also, to have multiple output with merge, I tried this and some of values are omitted because of map.
ffmpeg.Input("pipe:").Output(outputURL("1080p"), []ffmpeg.KwArgs{
	{
		"headers": fmt.Sprintf("Authorization: %s", req.Header.Get("Authorization")),
	},
	{
		"vf":           "scale=w=1920:h=1080:force_original_aspect_ratio=decrease",
		"c:a":          "acc",
		"ar":           48000,
		"c:v":          "h264",
		"profile:v":    "main",
		"crf":          20,
		"sc_threshold": 0,
		"g":            48,
		"keyint_min":   48,
		"b:v":          "5000k",
		"maxrate":      "5350k",
		"bufsize":      "7500k",
		"b:a":          "192k",
	},
	{
		"f":      "hls",
		"method": "PUT",

		"hls_init_time":        "0", // initial segment size as seconds
		"hls_time":             "3", // segment size as segments
		"hls_list_size":        "5", // max playlist size
		"hls_delete_threshold": "1", // max threshold before delete segment
		"hls_playlist_type":    "vod",
		"http_persistent":      "true",
	},
	{ // MPEG-TS
		"hls_segment_filename": segmentURL("1080p"),
		"hls_segment_type":     "mpegts", // mpegts(default), fmp4 (HLS v7 or higher)
	},
}...).MergeOutputs(
	ffmpeg.Input("pipe:").Output(outputURL("720p"), []ffmpeg.KwArgs{
		{
			"headers": fmt.Sprintf("Authorization: %s", req.Header.Get("Authorization")),
		},
		{
			"vf":           "scale=w=1280:h=720:force_original_aspect_ratio=decrease",
			"c:a":          "acc",
			"ar":           48000,
			"c:v":          "h264",
			"profile:v":    "main",
			"crf":          20,
			"sc_threshold": 0,
			"g":            48,
			"keyint_min":   48,
			"b:v":          "2800k",
			"maxrate":      "2996k",
			"bufsize":      "4200k",
			"b:a":          "128k",
		},
		{
			"f":      "hls",
			"method": "PUT",

			"hls_init_time":        "0", // initial segment size as seconds
			"hls_time":             "3", // segment size as segments
			"hls_list_size":        "5", // max playlist size
			"hls_delete_threshold": "1", // max threshold before delete segment
			"hls_playlist_type":    "vod",
			"http_persistent":      "true",
		},
		{ // MPEG-TS
			"hls_segment_filename": segmentURL("720p"),
			"hls_segment_type":     "mpegts", // mpegts(default), fmp4 (HLS v7 or higher)
		},
	}...)
).WithInput(fmf)

This is what GetArgs returns.
-i pipe: -ar 48000 -b:a 96k -b:v 800k -bufsize 1200k \
  -c:a acc -c:v h264 -crf 20 -f hls -g 48 \
  -headers Authorization: Bearer JWT \
  -hls_delete_threshold 1 -hls_init_time 0 -hls_list_size 5 \
  -hls_playlist_type vod -hls_segment_filename http://localhost:5001/transcoding/360p-86babef48db565a36e5ae935b3e13eb480e69f58.mp4-%d.ts \
  -hls_segment_type mpegts -hls_time 3 -http_persistent true \
  -keyint_min 48 -maxrate 856k -method PUT -profile:v main -sc_threshold 0 \
  -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease http://localhost:5001/transcoding/360p-86babef48db565a36e5ae935b3e13eb480e69f58.mp4.m3u8

Many arguments has been missing. 😢

it is a bug 😰, fixed in https://github.com/u2takey/ffmpeg-go/pull/12, and in this pr, a example with multiple output is added.

nice !! 😄

What about the case for using multiple fflags? How can I go about specifying -fflags +discardcorrupt and -fflags +genpts on the same input?


Update allocation docs with main network

What
Now that the main mechanics of allocation with main- and subnetworks are in place with https://github.com/Deltares/Ribasim/pull/964, the documentation on allocation should reflect this.
Why
So that the documentation is up to date with the code development.
How
Do the following:

[x] On the allocation page, differentiate between solves for gathering subnetwork demands, solving for the main network and solving for a subnetwork;
[x] Split section 2 (solving the allocation problem) in what it currently shows (e.g. solving for a subnetwork) and a section with the bigger picture on the interaction between the main network and subnetworks;
[x] Is the allocation page still an appropriate place for an example?
[ ] Update the figure on the Julia core development page to include the bigger picture with the main network

@gijsber thoughts on how to update the schematic at https://deltares.github.io/Ribasim/contribute/core.html?


Cannot generate a binary with cupy

Description
I want to generate a binary for my python program however, if a copy import statement is present in the program, the generated binary does not work. It is always crashes complaining about one or another CUDA libraries that could not be found. I have tried the generation of binaries on Windows as well as on Ubuntu system, but in this ticket, I am reporting with the issue faced on Windows 11 system.
I have a single python file with a very simple code as given below:
import os
import cupy

print("Program running using binaries...")

Then I generate a binary by executing the command below:
pyinstaller --onefile --distpath="D:/TestBinGeneration/dist" --workpath="D:/TestBinGeneration/build" D:/TestBinGeneration/TestProgram.py
The above command would generate two new folders dist and build, where the dist folder would contain the binary. But when I try to run the executable binary, it throws the following error:
(fmri_python_env) D:\TestBinGeneration\dist>TestProgram.exe
Traceback (most recent call last):
  File "TestProgram.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "cupy\__init__.py", line 11, in <module>
  File "cupy\_environment.py", line 234, in _setup_win32_dll_directory
  File "os.py", line 1118, in add_dll_directory
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\siddh\\anaconda3\\envs\\fmri_python_env\\bin'
[42332] Failed to execute script 'TestProgram' due to unhandled exception!

NOTE: The was a little different on an Ubuntu system which stated that the some cuda libraries could not be found.
To Reproduce
Steps:

Download the attached zip folder
Extarct the content of zip folder which contain a single folder called "TestBinGeneration" with a single file in it called "TestProgram.py"
Run pyinstalled to generate the binary file for the above python file by executing the command, pyinstaller --onefile --distpath="D:/TestBinGeneration/dist" --workpath="D:/TestBinGeneration/build" D:/TestBinGeneration/TestProgram.py (NOTE: Don't forget to adjust your path in the command)
The execution of above command would generated the new folders called dist and build
Try to run the binary file (called TestProgram.exe) present in the dist folder

Dummy Folder and file for binary generation: TestBinGeneration.zip
Output log of Pyinstaller: pyinstaller log.txt
Installation
Conda-Forge (conda install ...)
Environment
(fmri_python_env) C:\Users\siddh>python -c "import cupy; cupy.show_config(_full=True)"
OS                           : Windows-10-10.0.22631-SP0
Python Version               : 3.10.12
CuPy Version                 : 12.2.0
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.25.2
SciPy Version                : 1.11.1
Cython Build Version         : 0.29.36
Cython Runtime Version       : None
CUDA Root                    : C:\Users\siddh\anaconda3\envs\fmri_python_env
nvcc PATH                    : None
CUDA Build Version           : 11020
CUDA Driver Version          : 12030
CUDA Runtime Version         : 11080
cuBLAS Version               : 111103
cuFFT Version                : 10900
cuRAND Version               : 10300
cuSOLVER Version             : (11, 4, 1)
cuSPARSE Version             : 11705
NVRTC Version                : (11, 8)
Thrust Version               : 101000
CUB Build Version            : 101000
Jitify Build Version         : <unknown>
cuDNN Build Version          : None
cuDNN Version                : None
NCCL Build Version           : None
NCCL Runtime Version         : None
cuTENSOR Version             : None
cuSPARSELt Build Version     : None
Device 0 Name                : NVIDIA GeForce RTX 3050 Ti Laptop GPU
Device 0 Compute Capability  : 86
Device 0 PCI Bus ID          : 0000:01:00.0

Additional Information
No response

Can you try using CuPy from PyPI wheels for pyinstaller instead of conda-forge ones? conda-forge distribution contains a special adjustments to find CUDA Toolkit installed by conda-forge's CUDA distribution, so it might cause a problem when making a portable binary. Also note that you might need a manifest, please see the past issues for details. https://github.com/cupy/cupy/issues?q=is%3Aissue state%3Aclosed pyinstaller


Add macro for importing a type (ala import_exception)

Currently import_exception makes it easy to import and use an exception type defined in Python from Rust. It'd be useful to have a generalized version of this that gave you a type.
Right now it can be accomplished by writing imperative py.import().getattr() statements, but these are quite verbose.
It'd be a big ergonomics win to have a builtin way to do this.

I drafted such a thing a long time ago in https://github.com/davidhewitt/pyo3-pytypes - it's horribly broken though. We could try to revive it.
I'd prefer not put an API in pyo3 main repo until we figure out how it interacts with subinterpreters. #576 has details on what kinds of internals are a problem.

Hmmm, ok. Sub-interpreters feels like a very deep mess.


Change to using whammer's hifumi API

:AobaGanbaruzoi:

Other than the slow load of the numbers everything looks to be in working order.

I think thats an issue with 000wh, not in our control until we move servers.

ill get to working on getting a better host sometime


Fix buildkite-agent starting before cloud-init has run

This updates the cloud-init to not actually start the buildkite agent services, but let the rc change do it, so they don't start accepting jobs before they're ready.

Hopefully this fixes it! :+1:

Seems not to be booting on instance start. I wonder if it's ultimately the problem though. It might be worth just looking more closely at the hung/failed case to see if it was in fact starting too early…

This is probably not a thing…


#372 feat(UX): add ability to mark all for all object lists

Close #372

Ah thanks for the PR ! Will review it soon :)

@deviantony I have fixed the associated linting issues, sorry for missing that part.

I was working on this feature also. (glad you are working on it) I only got partially into it. The part I was struggling with was multiple pages. It looks like the code will select all items on every page. Is that intended? I was trying to model it after how Gmail does it.  I was getting around that by passing in a filtered list into selectAllItem but then when I switched pages my check box was working wonky.

My preference is that "select all" only selects items visible on the page. Selecting objects on other pages is dangerous and a user that did not realise this was the behaviour might delete something unintended.

Is this possible to have both options available: select all on page and select all ?

I would accept that as long as the options were very clear (not just a box that can be ticked with no header)
Sent from my iPad
On 14/12/2016, at 10:21 AM, Eugene <notifications<EMAIL_ADDRESS>wrote:
Is this possible to have both options available: select all on page and select all ?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_pull_382-23issuecomment-2D266865741&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=nXkdUkGQUTy_1dd1zpY_wcrKdjewQiCnaLALGV3bEe0&s=Fjv238n2dtKZRc3YwZhQZNceDcskGhnJa4fAZ8_w3Ho&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlX08ixq0aToSEc44zkhcVKjG4yZhks5rHwxvgaJpZM4LJtJO&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=nXkdUkGQUTy_1dd1zpY_wcrKdjewQiCnaLALGV3bEe0&s=JLIva1cweK5XuRXkgCbvAEa3oeLkUM9Zj1Pkvzp9uT4&e=.

@ncresswell yes I'm also accept this, this boxes must be not in table and must have header with description. Like Display All on this screen

@paulkling It seems like gmail only remember the marked state of previous page but you need to click the remove button again and again.
@ncresswell I also agree with you.
@Hronom Display All might be appeared in this release? @deviantony  :)

@gidcs I'm mean that those two comboboxes(select all on page and select all) must look like Display All combobox on screenshot...
But now when you ask about it, I start thinking that combobox Display All will also be a good addition to functionality :)

So yes as asked by a lot of users, we'll want the checkbox to select all the containers of the current page and add an extra tick box near display all (for example) to 'select all containers'.
@Hronom @gidcs what Display All feature are you talking about? There's already a Show all containers checkbox in the containers view in Portainer.
Also, you'd prefer to have the checkbox to select all the items in the current page outside of the table?
I do like the way Gmail offer item selection, with a banner displayed after selection saying that only the items in the current page are selected and offering a link to select all the items.

Also @gidcs please rebase on develop

@deviantony done.
That is why I said Display All might be appeared.

Hi there, this release will also introduce settings and we'll give portainer users the ability to define their wished pagination settings.

I'm not following why you would need to add a checkedAll variable to $scope.state. Won't that complicate things in the long run? I've implemented the same behavior (selecting only the items which are visible) by invoking the existing selectItem function.
See this commit: https://github.com/WouterOet/portainer/commit/2c8087759ba34bda7660d0892b627d41f1b69387

@WouterOet would you mind opening a PR?

Done. https://github.com/portainer/portainer/pull/437. I commented here because it said to check for existing PR in the contributing documentation.

@WouterOet thanks a lot, I'll review it soon. Also thanks for following the guidelines but I'll be simpler for me to compare code contributions across multiple PRs.

This has been implemented in #437, thanks for the work @gidcs tho !


Bad quality with python3 in bluemarble()

I am currently running this code in python 2 and python3 and it produces an image with a different quality. In python2 it has much better quality.
Code:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(llcrnrlon=-10.5,llcrnrlat=33,urcrnrlon=10.,urcrnrlat=46.,
resolution='i', projection='cass', lat_0 = 39.5, lon_0 = 0.)
map.bluemarble()
map.drawcoastlines()
plt.show()
Versions:
basemap 1.0.6/1.2.2
matplotlib 1.2.0/3.3.4
Images:
p2 - https://ibb.co/3h4pXbS
p3 - https://ibb.co/qsZ8L76
What happens?

Most likely, the dpi settings for the files are different. Matplotlib
changed the default DPI in version 2.0, as well as the default figure size,
if I remember correctly. Indeed, the two images have different pixel
resolutions (800x600 vs. 640x480). I don't think this is a basemap issue.
On Fri, Feb 26, 2021 at 9:14 AM Germán Méndez<EMAIL_ADDRESS>wrote:

I am currently running this code in python 2 and python3 and it produces
an image with a different quality. In python2 it has much better quality.
Code:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(llcrnrlon=-10.5,llcrnrlat=33,urcrnrlon=10.,urcrnrlat=46.,
resolution='i', projection='cass', lat_0 = 39.5, lon_0 = 0.)
map.bluemarble()
map.drawcoastlines()
plt.show()
Versions:
basemap 1.0.6/1.2.2
matplotlib 1.2.0/3.3.4
Images:
p2 - https://ibb.co/3h4pXbS
p3 - https://ibb.co/qsZ8L76
What happens?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/matplotlib/basemap/issues/511, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACHF6EOJNEGKPOD2IQWP53TA6UFLANCNFSM4YIQM5MA
.

I could change the resolution with $ plt.savefig('imagen_p3.png',format='png',dpi=200) but the result it's not the same

Try passing the scale argument to the bluemarble method:
map.bluemarble(scale=2)

Try passing the scale argument to the bluemarble method:
map.bluemarble(scale=2)

not works

Hola @gcpmendez!
Sorry for the late reply, I was a bit busy lately and could not respond. I open the issue again because I want to take a look to it. When I find out I will write another reply.

It's already solved
The original image in p2 have more quality that p3 in .local/lib/python3.7/site-packages/mpl_toolkits/basemap_data/bmng.jpg
After that I solved this issue:
PIL.Image.DecompressionBombError: Image size (233280000 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack
with the line:
PIL.Image.MAX_IMAGE_PIXELS = 933120000
Thank for your support


SmartContract Module: node contract list is not updated correctly

Env: Testnet
When I query NodeContract(15, deleted) I get:
[
  {
    version: 1
    state: Deleted
    contract_id: 1,420
    twin_id: 81
    contract_type: {
      NodeContract: {
        node_id: 15
        deployment_data:
        deployment_hash: 9a6d4f01b04f246a1c21d71a07911494
        public_ips: 0
        public_ips_list: []
      }
    }
  }
]

Whilst there are other contracts that should be in this list as well (i got this data from graphql)
example contract with ID: 16
{
  version: 1
  state: Deleted
  contract_id: 16
  twin_id: 30
  contract_type: {
    NodeContract: {
      node_id: 15
      deployment_data:
      deployment_hash: 14f9ecc552340866bcff21434414a4e1
      public_ips: 0
      public_ips_list: []
    }
  }
}

Alternative:
Refactor the NodeContracts list to only include a list of contract id's that are in the created state
This change will require a storage migration in order to set the id's properly in the map and to fix the missing items since the storage map is broken right now


Dataset serialization is python version-dependent (low priority)

See https://travis-ci.org/pyGSTio/pyGSTi/jobs/505328727, for instance
Pickling datasets in python 3.7 includes uuid.SafeUUID, which isn't present in earlier python versions. A dataset saved in 3.7 can't be opened in 3.5 or 2.7.
We should serialize datasets some other way, probably using numpy's builtin serialization.

patched in 0d185fcd0f, will leave this open until we have a long-term solution

This and other pickle serialization issues should be fixed in version 0.9.10, which includes support for serializing many pygsti objects to JSON files rather than relying on pickle.  Data sets should be written in their text format for long term storage.


[6.0] Remove _typeByName lookup of _FoundationNSNumberInitializer

Explanation: Removes a _typeByName lookup in a FoundationEssentials up-call that can result in confusion between the toolchain and local builds
Scope: Should only impact up-calls from FileManager in FoundationEssentials to initialize NSNumbers
Original PR: https://github.com/apple/swift-foundation/pull/817
Risk: Minimal - the body of this function is already overridden by SCL-F, this just removes the _typeByName lookup for cases where Foundation isn't loaded (and therefore the lookup will only ever fail, or find the wrong Foundation)
Testing: Testing done via swift-ci testing
Reviewer: @itingliu

@swift-ci please test


Instruction should contain ntp installation and setup

When doing installation from vagrant image etc. time might not be synced correctly. This may cause python errors that are really hard to figure out.

@tahonen we should be enabling either ntpd or chronyd at install time, did you hit an issue with this?

Installed hosts are running fine and in correct time. I had time issue with vm that I used to install. I used  vagrant and clock was no in sync after host laptop when to sleep. When clock was no sync I got very weird errors from python code accessing AWS. Installed aws cli and noted ant SSL was failing due time problems.

@tahonen on my vagrant project here: https://github.com/dwojciec/ocp-on-aws  I setup ntp. I include Vagrant-timezone and I setup ntp inside setup.sh script. By doing that I'm able to rerun the provisonning later when I want.


Albert Wong - DS1_Sprint2_Storytelling_with_Data

Pull request for DS1 Sprint week 2 - Storytelling with data

Completed flights section of the assignment for Sprint 2 Day 1 Storytelling

No changes, added Sprint 2 Day 2 notebook to Github

Worked on creating fivethirtyeight chart for Day 2 notebook

No changes, added Day 3 notebook to Github

Worked on additional charts using the gapminder data

No changes, saved Sprint Challenge 2 copy on github