Master to develop after 1.19.0

Description
Release 1.19.0 branch to be merged to develop branch.
Only EventsBB is released.
Fixes #1139
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[x] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[x] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

I think the detected secrets may need to be rerun and changes committed to fix the GitHub action error. This can be addressed on Tuesday.

Re-ran detect secrets scan using detect-secrets scan --baseline .secrets.baseline from the source root directory.

@bingzhang, Could you please take a quick look as well? From testing in the TEST instance, it looks like the event category changes were not part of the previous release. We missed catching this during the review process, too. After this is merged, I will create a new release for that.


MAINT: Do not patch Qt

Let's see if we can simplify CircleCI.

Looks like we no longer need our hack patch (hooray!), will merge once CircleCI comes back happy.


COPOD mixes train set and test set

Dear contributor(s),
I have a question with respect to the implementation of the COPOD algorithm.
It seems like (if I am not mistaken) that this implementation is mixing train set and test set, when decision_function(X) is called. So, during fitting the train set is nicely stored:
https://github.com/yzhao062/pyod/blob/7aeefcf65ceb0196434b7adb4fd706bfb404e4e2/pyod/models/copod.py#L121
When a test set in used to obtain the outlier scores, X_train gets concatenated:
https://github.com/yzhao062/pyod/blob/7aeefcf65ceb0196434b7adb4fd706bfb404e4e2/pyod/models/copod.py#L143
In the next steps, it looks like previously fitted parameters (when calling fit()) are overwritten by newly obtained parameters based on the concatenated X (train set+ test set):
https://github.com/yzhao062/pyod/blob/7aeefcf65ceb0196434b7adb4fd706bfb404e4e2/pyod/models/copod.py#L125-L155
This behavior seems to be wrong, since now test set and train set are not nicely separated, which in general should be the case. I would be happy to receive some clarification about his.
Kind regards

Similar to my comment in https://github.com/yzhao062/pyod/issues/395 I would suggest to change the docsstring:
https://github.com/yzhao062/pyod/blob/7aeefcf65ceb0196434b7adb4fd706bfb404e4e2/pyod/models/copod.py#L126
where 'fitted detector' should be removed, since this could mislead the user by thinking learning parameters were previously  learned from the train set.
Another question/concerns involves the following line:
https://github.com/yzhao062/pyod/blob/7aeefcf65ceb0196434b7adb4fd706bfb404e4e2/pyod/models/copod.py#L143
What will be the behavior of this method, when you pass X_train also via decision_function()? In other words, you concatenate the train set twice, which results in duplicated rows/samples. I am note sure if this is a type of behavior you want to allow. I am happy to hear from you.
Kind regards.


Hey :)

Not really an issue, just commenting to say this is pretty rad :D 👍
Good luck with the project !

Thanks man, I appreciate it :)


chore(deps): update common-dev-assets digest to c0b9fc9

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
dda6d1f -> c0b9fc9

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


use-ros2-testing

See https://github.com/ros2/rcl/commit/4296dd1e94c444e4fca8b76a638eba80de27614d
There was an update on rcl , but the CI job on Github did not sync with these changes (here dependency on rcl and tracetools)
Solution: use-ros2-testing=true

Codecov Report

Merging #185 (9aae92b) into master (eef4b59) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   61.36%   61.36%
=======================================
  Files          13       13
  Lines        1382     1382
  Branches      414      414
=======================================
  Hits          848      848
  Misses        347      347
  Partials      187      187

Continue to review full report at Codecov.

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


Karma

Added Karma and PhantomJS

Looks like removing the dep isn't working :( Can you take a stab at pre per this section? https://circleci.com/docs/configuration#machine

Hey! Nevermind - just needed to rebuild without cache: https://circleci.com/gh/clearhead/clearhead/91
@casecode - thoughts?

Merging assuming @casecode comments will come in followups as needed

:shibbit:


Rename NPM package to kubo

Part of https://github.com/ipfs/go-ipfs/issues/8959

TODO

[x] see if we can get kubo on NPM – tracked in  https://github.com/queerviolet/werkit/issues/1 (if it does not work out, we could go with kubo-bin)
[ ] decide if we want to do dual-publishing to both  names, or deprecate old one
[ ] update CI to publish to new name

We now have https://www.npmjs.com/package/kubo and I've invited  npm-service-account-ipfs to be one of the maintainers.
I don' think dual-publishing is worth it, as it would require additional  code that modifies package.json in between builds.
Let's switch to a new name, and once Kubo 0.23 ships, deprecate the go-ipfs with message asking people to switch to kubo.
I'll PR shortly.


build_deb_ami: improve arch verification

This is a follow-up fix to https://github.com/scylladb/scylla-machine-image/pull/167.
Let's explicitly check for aarch64 amd x86 and inform incase we have unsupported architecture

AMI based on x86: https://jenkins.scylladb.com/view/master/job/scylla-master/job/releng-testing/job/ami/630/ - OK
AMI based on arm: https://jenkins.scylladb.com/view/master/job/scylla-master/job/releng-testing/job/ami/632/ - OK


fix an duplicated key issue

I got a weird issue recently, the code randomly throw an exception which says

The active test run was aborted. Reason: Unhandled Exception: System.ArgumentException: An item with the same key has already been added. Key: https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0

However I did not able to identify why this is happening in my project, and Fiddler also says there is only one request logged to that url, so I cannot create a demo page for you.
I have similar code running based on GoogleChrome/puppeteer but never got this issue, so I digged a little in its code and found a minor difference at here.
As you can see, the responses is a Map object, and it uses responses.set(response.url(), response) to update it. And in puppeteer-sharp, the corresponding responses object is using a Dictionary to contains this key-value pair.
The difference is, Map.set is capable of 2 things: create the key-value pair when key not exist, and update the value if key exists. But Dictionary.Add in .net will throw exception if key already in dictionary.
So I modified the code to make it update the value if the key already exists.
Thanks.

hi i totally agree with you, i have made another change, thanks a lot.

Awesome!
Will you need a nuget package update? I can build a 1.1.1 for you.

I am ok, I am currently made a local copy of your code with minor modification then added a local reference to it in my demo project.
I just want to see how this works and if it is good enough to cover my requirements. And so far all good,
Thanks for this excellent project!

Thank you man!

Any idea what is wrong with the ci check? PuppeteerSharp.Tests.PageTests.ScreenshotTests.ShouldRunInParallel is all good in my local test.
Thanks


Broadlink RM completely stop working on 0.75.3

Home Assistant release with the issue:

any from 0.74 to 0.75.3
Last working Home Assistant release (if known):
0.72
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io on Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-30-generic x86_64)
pip version:
pip 10.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
broadlink version:
Version: 0.9
Summary: Python API for controlling Broadlink IR controllers
Home-page: http://github.com/mjg59/python-broadlink
Author: Matthew Garrett
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /usr/local/lib/python3.6/site-packages
Requires: pycryptodome, PyCRC
Required-by:

Component/platform:

https://www.home-assistant.io/components/switch.broadlink/
Description of problem:
Since version 0.72 my Broadlink RM Mini 3 stop working on Home assistant (but it's working fine on his proprietary app). Seems the broadlink module needs to be updated via pip to solve the issues.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- platform: broadlink
    host: <IP_ADDRESS>
    type: rm_mini
    mac: 'xx:xx:xx:xx:xx:xx'
    timeout: 15
    switches:
      tv_on:
        friendly_name: "Accendi TV"
        command_on: 'JgBIAAABJ5QVEBMSEjcUERMSExISEhMSEzcVNBQREzYVNRU1FDUUNhQQEhMTEhM2FRATEhMSExISNxQ2FDUTEhI4FDUUNhQ1FQANBQ=='

Traceback (if applicable):
2018-08-09 23:36:08 ERROR (SyncWorker_5) [homeassistant.components.switch.broadlink] Failed to connect to device
2018-08-09 23:39:07 ERROR (MainThread) [homeassistant.components.switch.broadlink] Failed to send packet to device
2018-08-09 23:39:08 ERROR (MainThread) [homeassistant.components.switch.broadlink] Failed to send packet to device

Additional information:
On version 0.74 (and minor updates) I was able to resolve the issue entering hass using ssh and updating broadlink module using pip:
pip3 install --upgrade broadlink
However, on hass versions prior of 0.75.3, gcc needs to be  installed before upgrading:
sudo docker exec -i -t homeassistant /bin/bash
apk update
apk fetch build-base
apk add build-base
pip3 install --upgrade broadlink

Now I'm on 0.75.3 and I'm unable to solve the issue nor I have any clue.

On 0.75.3 and python 3.7 after upgrading via pip its working for me, even though there are errors

The problem is simple:
https://github.com/mjg59/python-broadlink/blob/master/setup.py#L10-L13
They use a old version with conflict with other modules

Perfect.
I can't access my server now, but I'm wondering if there are other packages using pycryptodome (the offending one).

Could any of you try this fix: https://github.com/mjg59/python-broadlink/pull/205
Please post any error messages.

The RM Pro plus is not working for me either.

It seems that it is just incredibly inconsistent for learning. Each button requires restarting and calling the learning service 2 or 3 times. Once a button is learned it seems to work as expected.

I get this error after adding several switches:
2018-09-13 09:21:52 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink   File "/usr/src/app/homeassistant/components/switch/broadlink.py", line 157, in setup_platform   File "/usr/src/app/homeassistant/components/switch/broadlink.py", line 193, in __init__

I have the same issue on 0.78.3 with my type: rm2_pro_plus2
HassOS 1.11
Last working version was 0.72.1

how to reinstall of pycryptodome package ?

@stolek5 , it depends.
In my case, since I'm using HA from Hass.io I will install (docker's containers) using PIP.
If you removed it
pip3 install --upgrade pycryptodome
if you want to force it:
pip3 install --upgrade --force-reinstall pycryptodome
Normally broadlink package takes care of this package for you.

it looks that probably I have to install something as command pip3 is missing (I'm not familiar with Linux) I'm getting below error

Have a look here.

one more error :)

tried even command from https://www.home-assistant.io/faq/pip/

Mind to share your configuration and how did you install HA?
What's the result of the command pip --version (pip for 2.x python, pip3 is just for python 3.x)?

clear installation based on the official instruction https://www.home-assistant.io/hassio/installation/
Raspberry Pi 3 Model B and B+ 32bit

results of  the command pip --version

before I decided to install HassOS I was using hassio based on raspbian on the same raspberry

I'm not familiar with Pi install (never used it) but since is based on linux I would try a
sudo apt-get update && sudo apt-get install python3 python3-venv python3-pip
and then
pip3 install --upgrade pycryptodome
But be adviced: I'm not responsible if it will mess up with your setup. Do at least a HA backup before install it.
If this solution will not working, better wait for anther PI user or open a new thread for your specific issue.

thank you for help, but I prefer to do not start from scratch (even if my config is almost empty, only duckduck, ssl, ssh, samb configured) in case if something goes wrong, so I'll wait

you're welcome. Good luck!

after I removed "type: rm2_pro_plus" from config, then restart hass.io, broadlink is working again !!
Thank you all of you for help.

This was still an issue for me as recently as two weeks ago on .81 It was a bit more consistent, but I still had to hard reset between learning button presses.

Still an issue since many version back. The ios app can control the SP3 but the HASSIO (pi hassio) cannot. Only restart/reboot fixes for a day or two. Could someone look into this please?


log: ensure the correct status is always logged

in the case of error (>=400) then no response may have been sent
As discussed a little while ago on Slack.

Thanks! Glad to see a test case too.


DNS fails when lots of A records returned.

Rancher versions:
rancher/server: v1.6.5
rancher/agent: v1.2.5
Infrastructure Stack versions:
healthcheck: v0.3.1
ipsec: not sure
network-services: v0.11.3
scheduler: v0.8.2
dns: v0.15.1
Docker version: (docker version,docker info preferred)
 Running: 14
 Paused: 0
 Stopped: 1
Images: 23
Server Version: 1.12.6
Storage Driver: devicemapper
 Pool Name: cl_docker--perun-docker--pool
 Pool Blocksize: 524.3 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file:
 Metadata file:
 Data Space Used: 6.357 GB
 Data Space Total: 42.69 GB
 Data Space Available: 36.33 GB
 Metadata Space Used: 1.888 MB
 Metadata Space Total: 130 MB
 Metadata Space Available: 128.1 MB
 Thin Pool Minimum Free Space: 4.268 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: host overlay bridge null
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Security Options: seccomp selinux
Kernel Version: 3.10.0-514.26.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 8
Total Memory: 7.541 GiB
Name:
ID:
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8
Registries: docker.io (secure)

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

3.10.0-514.26.2.el7.x86_64

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Proxmox/KVM
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node server with 3 agent nodes. Internal DB.
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create a simple container that has the ping binary.
Try to ping us.mullvad.net

Results:
On any other host, and on the DNS container itself, the ping completes.                         IN      A

;; ANSWER SECTION:
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>
us.mullvad.net.         983     IN      A       <IP_ADDRESS>

;; AUTHORITY SECTION:
net.                    3477    IN      NS      c.gtld-servers.net.
net.                    3477    IN      NS      m.gtld-servers.net.
net.                    3477    IN      NS      j.gtld-servers.net.
net.                    3477    IN      NS      l.gtld-servers.net.
net.                    3477    IN      NS      e.gtld-servers.net.
net.                    3477    IN      NS      i.gtld-servers.net.
net.                    3477    IN      NS      f.gtld-servers.net.
net.                    3477    IN      NS      k.gtld-servers.net.
net.                    3477    IN      NS      h.gtld-servers.net.
net.                    3477    IN      NS      b.gtld-servers.net.
net.                    3477    IN      NS      d.gtld-servers.net.
net.                    3477    IN      NS      a.gtld-servers.net.
net.                    3477    IN      NS      g.gtld-servers.net.

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Sat Aug 05 20:46:45 EDT 2017
;; MSG SIZE  rcvd: 600

However on any container in rancher, ping is unable to resolve the host. Running nslookup, dig, and host in a container resolves to one of those IPs. When I add --debug to the DNS container I get the following interesting debug line:
time="2017-08-06T00:36:16Z" level=debug msg="Response too big, dropping Authority and Extra" fqdn=us.mullvad.net.
time="2017-08-06T00:36:16Z" level=debug msg="Response still too big, return truncated message" fqdn=us.mullvad.net.

So...it looks like the Rancher internal DNS server cannot handle responses with that many records? That looks pretty critical...

Can you give me an example of a image/container that is not working? I can't reproduce.
I think truncating large responses when done over UDP is according to RFC, let me how to reproduce so we can take a look.

I can reproduce this if I start an alpine:latest container:
/ # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
v3.6.2-83-g1079181bed [http://dl-cdn.alpinelinux.org/alpine/v3.6/main]
v3.6.2-84-g6ee501e465 [http://dl-cdn.alpinelinux.org/alpine/v3.6/community]
OK: 8439 distinct packages available
/ # apk add bash net-tools bind-tools
(1/11) Installing ncurses-terminfo-base (6.0-r8)
(2/11) Installing ncurses-terminfo (6.0-r8)
(3/11) Installing ncurses-libs (6.0-r8)
(4/11) Installing readline (6.3.008-r5)
(5/11) Installing bash (4.3.48-r1)
Executing bash-4.3.48-r1.post-install
(6/11) Installing libgcc (6.3.0-r4)
(7/11) Installing libxml2 (2.9.4-r4)
(8/11) Installing bind-libs (9.11.1_p1-r1)
(9/11) Installing bind-tools (9.11.1_p1-r1)
(10/11) Installing mii-tool (1.60_git20140218-r1)
(11/11) Installing net-tools (1.60_git20140218-r1)
Executing busybox-1.26.2-r5.trigger
OK: 17 MiB in 22 packages
/ # ping us.mullvad.net
ping: bad address 'us.mullvad.net'
/ # host us.mullvad.net
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
us.mullvad.net has address <IP_ADDRESS>
/ #

Although this does not seem to occur in Ubuntu or CentOS. Perhaps this is an issue with the Alpine base image then...

Are you just running alpine:latest from the Add Container? What does cat /etc/resolv.conf in the container output?

Yes, exactly.
/ # cat /etc/resolv.conf
search  rancher.internal lan.local.org lan.private
nameserver <IP_ADDRESS>
/ #

I noticed that this issue is labeled as status/more-info and I experience the same problem - can I do something to help getting it resolved?

Are you experiencing it with alpine only? Or with another container?

Yes, I'm experiencing it only with alpine and images deriving from alpine. I set up a ubuntu and a alpine container on the same host.
Ubuntu works as expected, I can ping us.mullvad.net and my other internal host.
Alpine doesn't work for both scenarios.
The resolv.conf files have no unexpected difference, it is only the *hostname*.internal-dns-tests.rancher.internal that differs.
It is really a problem with the images deriving from alpine - e.g. like my jenkins/jenkins which can't talk to my gitea/gitea. Although I can use a non-alpine Jenkins, there is no non-alpine Gitea.

Can you please ping me on Rancher Users Slack (https://slack.rancher.io/) to debug your setup so we can move forward with this issue?

Could not reproduce when I was on Slack with @ikogan .
@linkvt if you can share your setup to reproduce, that would be great.

After a bit of debugging we could isolate this to rancher-dns using an internal upstream DNS server which was sending truncated responses. If dig/drill directly to Google DNS (<IP_ADDRESS>) this does not appear, if we edit the /etc/resolv.conf of the rancher-dns to Google DNS, this does not appear.
Initial thoughts:

We don't handle truncated upstream responses properly which only breaks on Alpine, would need to reproduce and test.

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


Use string_view where possible

_Write accepts std::string_view, so don't create std::string for const string.

Good catch.

:tada: Once again, thanks for the contribution!
This pull request was included in a set of conhost changes that was just
released with Windows Insider Build 20161.


increment pylance

@eddyxu should we be concerned about the illegal instruction on macos? https://github.com/lancedb/lancedb/actions/runs/6713644210/job/18245531807?pr=618


Add a missing check for DUK_USE_FINALIZER_SUPPORT

If this check is missing and finalizers are disabled, the following error is thrown
warning: implicit declaration of function ‘DUK_HEAP_REMOVE_FROM_FINALIZE_LIST’ [-Wimplicit-function-declaration]
23633 |                 DUK_HEAP_REMOVE_FROM_FINALIZE_LIST(thr->heap, curr);

Which then converts into a missing symbol error during linking.

Thanks! Could add yourself to AUTHORS (see CONTRIBUTING)? :+1:

I rolled the fix into this pull which also adds test coverage: https://github.com/svaarala/duktape/pull/2516.


Feature request: multi-lingual (unlimited languages, not limited to only two)

I'd love to be able to provide three or more input subtitles each in a different language.
I'd also love to have a "language agnostic" mode where no one language is designated as the "native" language and that no one language is designated as the "foreign" language. No language is given priority over another one in any way other than the order they are specified (formatting, etc.).
And I'd like to be able to optionally pair a media file with each of the input subtitles. (Meaning the possibility of not using a media file at all, only pairing the texts without audio at all, and also the possibility of using a media file for each language, so that audio can be listened to in any of the languages.)

I would like to use this in order to output an HTML file with a table of three or more columns of languages with media for each cell (all columns/languages, and all rows/segments). As a reference, this is what I'm after: http://emichaelsphoto.com/~aardbei/content/parallelponies/ (clicking and holding on a cell plays the associated media.)
Another simple usage scenario for being able to provide more than two subtitle files is being able to provide Japanese, hiragana, and English in order to have all three interlaced in the current format of the export review command.

This is a neat idea! I don't plan to support it directly, but changes to substudy's native file formats may make this pretty easy to do from a script in the future.


[BUG][TaskGroup] Task group does not take effect

Purpose of the pull request
Fix #10092 Task group does not take effect.
Brief change log

add task group priority sort in readyToSubmitQueue
add task group priority sort in task queue that ready submit to worker.

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #10093 (4fb15f6) into dev (d8b56b8) will increase coverage by 0.03%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##                dev   #10093      +/-   ##
============================================
+ Coverage     40.85%   40.89%   +0.03%
- Complexity     4630     4643      +13
============================================
  Files           839      839
  Lines         34007    34032      +25
  Branches       3770     3776       +6
============================================
+ Hits          13895    13916      +21
- Misses        18782    18786       +4
  Partials       1330     1330

Impacted Files
Coverage Δ

.../org/apache/dolphinscheduler/common/Constants.java
80.95% <ø> (ø)

...ache/dolphinscheduler/dao/entity/TaskInstance.java
64.45% <ø> (ø)

...server/master/runner/task/CommonTaskProcessor.java
4.34% <0.00%> (ø)

...e/dolphinscheduler/service/queue/TaskPriority.java
55.88% <72.72%> (+4.21%)
:arrow_up:

...r/service/queue/PeerTaskInstancePriorityQueue.java
77.77% <100.00%> (+9.77%)
:arrow_up:

...nscheduler/api/service/impl/TenantServiceImpl.java
72.47% <0.00%> (-2.06%)
:arrow_down:

...g/apache/dolphinscheduler/dao/entity/Resource.java
45.88% <0.00%> (-1.68%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
53.33% <0.00%> (-1.34%)
:arrow_down:

...er/server/master/runner/WorkflowExecuteThread.java
8.01% <0.00%> (-0.02%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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

LGTM


Update index.md

Changed shortened Amazon link from: "http://amzn.to/2igRgoq" to
"https://www.amazon.com/Lean-Women-Work-Will-Lead/dp/0385349947/ref=tmm_hrd_swatch_0?_encoding=UTF8&qid=1539996815&sr=1-1"

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @scastile
Since you have this same change in PR ##23772, we are closing this one as a duplicate.
Thank you for your contribution.


order of args mixed up in QuoRem?

at line 972 of big.go, aren't the args in the wrong order?
Shouldn't it say:
return z.Context.QuoRem(z, x, y, r)

(looking at version from 2a5821154e156e9036761a55c2e820d8653a5a60)

Well, that's embarrassing. That's for letting me know!


Adding coronavirus information to parental pay calculators

Adding hints about using normal levels of pay rather than any furloughed pay (due to COVID-19) to calculate entitlements.

Review and fact check complete


Added uco as W3ID perma-id

Just a note I registered "uco" as permanent identifier at W3ID before someone else grabbed it.
See https://github.com/perma-id/w3id.org/pull/2917
Feel free to take ownership of https://w3id.org/uco as you need, and raise PR to become maintainer if you want

Next steps are being discussed in Jira ticket CDOTSC-23.


how to add more than two button

how can I do to add more than two button in sweetalert,please?

Duplicate of https://github.com/limonte/sweetalert2/pull/437


remove_duplicates.java

removeDuplicates does not identify duplicate values or insert them into the removed array, nor does it insert unique values into the unique array.
Steps to Reproduce

Reset the index in the initial for loop to i = 0;
Change forloop conditional to arr.size() instead of uniqueArr.size()
Change comparison indexes from i + 1 to i.

Expected Behavior :
description of where the array contains duplicate values, and an array with no duplicates.
Actual Behavior A clear and concise description of what actually happened.
No duplicates were identified
Screenshots If applicable, add screenshots to help explain the issue/bug.
Additional Information
Operating System: MacOS 13.0
Browser: chrome
Version: most recent ?
Any other relevant information
This is a HIGH IMPACT issue

fixed this thang.


refactor packaging of code

re-examine how code is packaged.  Consolidate functions into cohesive modules.

Closes #61


Tag text is melded with its color on reentry

It should be noted that the text being shown is the tagText attribute for each Tag that is attached to the respective item.
Reproduction
Assign an tag to an item, return from the details fragment, and click on the item again. The tag text should appear like this.

I think this is a DB issue, so I will try and fix this one


Making container final

Should we make DependencyContainer class final? I don't think there are any use cases for subclassing it. If clients want to extend behavior of container they can use composition. Also we never thought about supporting inheritance (maybe some properties should be not internal/private for that) so it can be just safer for clients to make it final.

:ok_hand:
http://youtu.be/ZXsQAXx_ao0

Resolved by 6ad4b82ec0a8969b8be80a407bc9a306ef4ff33c


astimezone() argument 1 must be datetime.tzinfo, not None

I haven't seen a similar issue reported, so here we go:
With khal-0.4.0 I now have most of the recurring/odd calendar entries working (thanks!). There are
a couple of those that error out with the following:
Unknown exception happened.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/khal/khalendar/khalendar.py", line 175, in _update_vevent
self._dbtool.update(event.raw, href=href, etag=etag)
File "/usr/lib/python2.7/site-packages/khal/khalendar/backend.py", line 253, in update
self._update_impl(vevent, href, etag)
File "/usr/lib/python2.7/site-packages/khal/khalendar/backend.py", line 280, in _update_impl
dtstartend = aux.expand(vevent, self.locale['default_timezone'], href)
File "/usr/lib/python2.7/site-packages/khal/khalendar/aux.py", line 101, in expand
exdates = localize_strip_tz(exdates, events_tz)
File "/usr/lib/python2.7/site-packages/khal/khalendar/aux.py", line 165, in localize_strip_tz
one_date = one_date.astimezone(timezone)
TypeError: astimezone() argument 1 must be datetime.tzinfo, not None
warning: Skipping work/5624b646-ba12-4dbd-ba9f-8d66319b0776.ics: astimezone() argument 1 must be datetime.tzinfo, not None
warning: This event will not be available in khal.
I will clean up the ics file above and upload it here.
Thanks again for khal, it's shaping up very nicely!

I've put a stripped down ics where the error occurs here: http://acksyn.org/files/tmp/error-ast-no-desc-attend.isc (I removed DESCRIPTION, ATTENDEE and PRIORITY with a quick sed rule, hope that is ok)

Thank you for the report, I'll have a closer look asap (but probably not before tomorrow).

There don't seem to be any END:VALARM lines, making this a nested list of valarms. Did your sed rule rip that out?

Also a lot of stuff is kinda chopped off so this version doesn't even parse correctly in khal. Could you give a minimal or censored variant with which khal is crashing like in your case?

Let me double-check if I stripped out too much stuff, it looked sane at first glance, but maybe I missed out something

Alright, hopefully second time is bliss: http://acksyn.org/files/tmp/error-ast-no-desc-attend-v2.isc

For some reason your timezone isn't recognized. Minimal testcase: https://gist.github.com/untitaker/f52c13a9b9ebb752400d

alright, I found the problem:  DTSTART is localized, but the EXDATEs are not (but in Zulu time). This is easy to fix, but a problem may arise. As in your example, khal does not understand the timezone (because icalendar does not yet, see this PR, it therefore applies the configured default_timezone. If default_timezone is not the proper timezone for this event, the EXDATEs will not be removed (but I guess the wrong offset is the bigger problem anyway).


BBOX definition

I have a short question regarding STAC metadata. What exactly is the definition of the BBOX field (https://github.com/radiantearth/stac-spec/blob/master/item-spec/item-spec.md#item-fields) assuming the footprint is known? There are two ways of interpreting the text and we aren't sure what exactly is meant here.

stac bbox = bbox(stac geometry)
stac bbox = bbox(tiff file bbox reprojected to wgs84)

2 is always larger than (or equal to) 1. Would appreciate some clarification.
thanks

Closing due to updated language in item-spec bbox definition


Windows 10, error installing githug: "rake" conflicts

I tried to install githug on Windows 10.
First, I installed Ruby 2.5. Seamed to work fine.
Then, gem install github and I got the following :
$ gem install githug
ERROR:  Error installing githug:
        "rake" from rake conflicts with C:/Dev/resources/ruby/Ruby25-x64/bin/rake

Did someone have the same problem ?
(I'm totally noob to Ruby...)

I don't use Windows, but perhaps following this guide up until the point of installing rails, and then installing githug may work.
https://gorails.com/setup/windows/10

A -f option in the install command did the trick... I don't know why (and I don't really care ^^')
Githug seems to be installed, but githug command just do nothing... :-(


timeout: Moved argument parsing to clap

Changed from optparse to clap.
None of the logic within timeout has been changed, which could use some
refactoring,
Closes Issue: https://github.com/uutils/coreutils/issues/1934

For some reason, the "Travis CI build failed." I'm not immediately sure why that is, but it seems to me like most of the other checks in place are passing

Refactoring would be great :)


The UWP API Package.InstalledLocation.Path takes too much time on Windows 10.19041.572 and later

OS version: 2004,
build number: 19041.572
When I call this API on one of the mentioned Windows 10, it takes about 4~5 seconds.
But it doesn't reproduce on my own Windows 10(same build same version).
Any one have ran into this issue?

@mingtong Can you confirm whether you are using this API in a .NET 5 application via or not?

@mingtong Can you confirm whether you are using this API in a .NET 5 application or not?

it happened to both .net 4.5 and .net 5

@mingtong - please file an issue in Feedback Hub (win+F).
@DrusTheAxe - is there a known OS issue here?

There's no known issue.
The .InstalledLocation call is probably the locus of the problem, as that creates a StorageFolder object which can get non-trivial depending. The .Path call is probably not where the perf issue occurs.
What package(s) show this perf?
What paths?
Are these on removable media? Network paths?
Anything else unusual or odd about their locations e.g. EFS? NTFS compressed directories?
I'm trying to think of common threads that might explain the perf delta.
@AdamBraden who's the primary contact(s) for StorageFolder?

There's no known issue.
The .InstalledLocation call is probably the locus of the problem, as that creates a StorageFolder object which can get non-trivial depending. The .Path call is probably not where the perf issue occurs.
What package(s) show this perf?
What paths?
Are these on removable media? Network paths?
Anything else unusual or odd about their locations e.g. EFS? NTFS compressed directories?
I'm trying to think of common threads that might explain the perf delta.
@AdamBraden who's the primary contact(s) for StorageFolder?

I forget to mention that all folders are uwp packages. I am trying to enumerate all the packages and find out only games.

@mingtong - take a look at the following guidance. Storage apis are large objects and can be optimized:
https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/optimize-file-access
If that isn't fast enough, try looking at the *FromApp() apis, eg: FindFirstFileExFromApp.
https://github.com/microsoft/microsoft-ui-xaml/issues/1465#issuecomment-575987737


Problems with the backup

I have your ioBroker container running on my Unraid Server. That works very well so far. With its own IP address (mcvlan). But if I try your instructions for updating the container with the help of abackup, I will fail. When I use an empty /opt/iobroker directory with only one backup file in it and also when I try to use a clean ioBroker, install the backup adapter and restore the backup. In the firts way I can't reach the web interface calling IP:8081. In the second way I cant install the Backup. The Backup adapter opens a website IP:8091 but this site isn't reachable and nothing happens. May you can help me. I need a way to update the Container without configuring everything new.  Even if I update to a new major version.

Hi,
without any logs there is no way to investigate what's wrong in your case...
BUT: There are known issues with the backitup adapter and docker at the moment. So it is actually not possible to restore iobroker over the GUI. You have to use the containers console.
The next thing often goes wrong with restores from other systems is that admin adapter is locked to the ip address of the source system. In this case the container logs might look fine but iobroker admin is not accessible.
Provide at least container startup log, restore log and view of running processes after container startup. Otherwise  this issue will be closed in 14 days.
Regards,
André
By the way. Please avoid posting your questions in different channels and give us some time to response. Thank you.
https://forums.unraid.net/topic/101016-support-buanet-iobroker/page/3/?tab=comments#comment-1017883

No more response.

Hallo André,
thanks for your Answer. You are right. The Admin adaper Was locked because I gave the new Container a different hostname (--hostname). After changibg this everything works finde. Sorry for the delay.
Sorry if it was wrong to post my problem in the unraid forum. I thougt It could be a unraid specific issue. I didn'd do it for any other reason. Thanks for your great work.


[HOTFIX] Correct metrics and avoid twice read when prefetch is disabled

When prefetch is disabled in full scan queries read twice the data. This PR removes extra read.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/365/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/8612/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/542/

LGTM


PKI instead of passwords for encrypted connections

I love that fastdp connections are now wrapped in IPsec. However I'd love even more to not use a password. I already pretty extensively deploy host certificates and rotate them every 30 days for IPsec connections between hosts. I'd prefer to extend this to weave as well.

Unfortunately, the current crypto implementation does not support certificate based authentication, and thus additional works is required. https://www.weave.works/docs/net/latest/how-it-works/encryption-implementation/ provides some details of Weave Net encryption implementation.
I'm closing the issue, as it duplicates #206. Could you list your requirements in #206? Thanks.


d_loss and accuracy

My d_loss is 0，and my accuracy is 1 .

I also meet the same problem。How do you solve it ?

I also meet the same problem。How do you solve it ?

No。I don't solve it。

After training, the accuracy is reduced.

I think you can find another version of the paper. Maybe it receives good results.

@Dr-Zhou  Alright. Thank you.

@Dr-Zhou Do u have any recommand, bro?

My d_loss is 0，and my accuracy is 1 .

I also encountered the same problem. Is it resolved?

I haven't solved it yet.------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年9月15日(星期二) 下午2:46
收件人<EMAIL_ADDRESS>抄送: "LingkangYe"<yelingkang<EMAIL_ADDRESS>主题: Re: [corenel/pytorch-adda] d_loss and accuracy (#22)


How to open a song when opening chart editor?

Describe your problem here.
Hey!
So, I'd like to know how to open a SONG when pressing 7 instead of the chart editor in LUA?
Simple as that really!
idk how to code so plz set up a script for me :|
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

function onUpdate(elapsed)
if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN') then
loadSong('song','difficulty')
end
end

function onUpdate(elapsed)
if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN') then
loadSong('song','difficulty')
end
end

Is there a way to make it play INSTEAD of  opening the chart?
For me it opens the chart and then I have to press enter to load the new song...
If not, then I'll take it

Is there a way to make it play INSTEAD of opening the chart? For me it opens the chart and then I have to press enter to load the new song... If not, then I'll take it

not possible

Idk may be try
`function onUpdate()
if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN) then
endSong(true)
loadSong('funnisong', 1)
end
end`

function onUpdate(elapsed)
if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN') then
loadSong('song','difficulty')
end
end

it just ends the song

Idk may be try
`function onUpdate() if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN) then endSong(true) loadSong('funnisong', 1) end
end`

it just ends the song

Idk may be try
function onUpdate() if getPropertyFromClass('flixel.FlxG', 'keys.justPressed.SEVEN) then endSong(true) loadSong('funnisong', 1) end end

it just ends the song

remove endSong(true)

function onCreate()
    setProperty("debugKeysChart", null)
end

function onUpdate()
    if keyboardJustPressed("SEVEN") then
        loadSong("bopeebo", 2)
    end
end

Wow, this is perfect! Thank you!


Providing an APT-Repository

Is it possible to provide packages using an APT-Repository?
Upgrading debian packages manually does not sound like a secure solution.

Thanks @kevin-olbrich it's not the plan currently...


Python 3 support?

Will this code not work in Python 3?

It does not install for me because of the BeautifulSoup dependency.


Issue installing

I get the following error when trying to install:
 ~> brew install TomAnthony/brews/itermocil
==> Tapping TomAnthony/brews
Cloning into '/usr/local/Library/Taps/tomanthony/homebrew-brews'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9 (delta 1), reused 9 (delta 1), pack-reused 0
Unpacking objects: 100% (9/9), done.
Checking connectivity... done.
Tapped 1 formula (31 files, 128K)
Error: undefined method `desc' for Formulary::Formulae::Itermocil:Class
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Taps/tomanthony/homebrew-brews/Formula/itermocil.rb:2:in `<class:Itermocil>'
/usr/local/Library/Taps/tomanthony/homebrew-brews/Formula/itermocil.rb:1:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:92:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:92:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:177:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:200:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:140:in `<main>

Hi @idolize - thanks. I added the 'desc' field to the Formula as that seems to be the current suggested approach. However, it appears to break on non-recent Homebrew installs.
I just released an update, and commented this field out for now.
Let me know if it is working now. I'll leave this open until you confirm.

This seems to be working fine now, so I'm going to close this. Let me know if not! :)
Thanks again for the feedback.


Integrate ArcticDB

I tested ArcticDB Google Colab: https://colab.research.google.com/github/man-group/ArcticDB/blob/master/docs/mkdocs/docs/notebooks/ArcticDB_demo_lmdb.ipynb#scrollTo=QC4mJ72vQqeL and was able to use it very easily.
However, when trying to install it on my machine Apple M3, I had issues. Conda-forge wasn't cooperating. (cc @DrNickClarke)
Nonetheless, I'm pretty confident that the code I have here should work.  @andrewkenreich can you try on your Windows to run this code, you only need to go to main.py and remove the following block of code

and uncomment all the rest of the code and it should work out-of-the-box, allegedly 😄

@andrewkenreich the example I commented uses 10,000 rows and 10,000 cols. If that works, let's push those numbers by a bit and see how Pro reacts in terms of visualizing this much data :)

The MacOS version of ArcticDB is a beta version. We know it has some issues that we need to sort out. Sorry about that.

No problem!
@andrewkenreich was able to make it work with the windows, feel free to use me as beta tester in case you need someone to test it further.


Read Time-series qlateral from WRF-Hydro

Linked to #20
After reading initial states, the actual model upstream and lateral flows need to be read directly from files that will be available during operational simulations.

closed by PR #90


Loosen dupe detection alert a bit

Some test runners will deliberately run multiple copies of a module instance to ensure proper test isolation. They will do this by clearing their module cache between test runs, so the next test run will re-execute a module's code again. From a test runner's perspective, this is fine behavior. This behavior as-such will not break any assumptions Liveblocks internally has to make, so it should be fine to do this in a test runner context.
The issue now, however, is that these test runners don't also reset the globalThis instance when they clear their module cache, and since this is where we keep track of the module instances being loaded, we'll be reporting false positives.
Ideally, there would be a central/global place we could query that also gets reset by test runners (so something different than globalThis), but I don't know of such global.
So this PR loosens the check in a different way: if the already-loaded and currently-being-loaded version are the exact same version + format, then we'll allow it, and assume it's a test runner deliberately loading multiple instances of the code, and allow it.

That looks like a sensible fix!

So this PR loosens the check in a different way: if the already-loaded and currently-being-loaded version are the exact same version + format, then we'll allow it, and assume it's a test runner deliberately loading multiple instances of the code, and allow it.

Just to make sure I understand properly: if, for some weird configuration, a bundler loads the exact same version + format twice, this check will not throw and instanceof LiveObject might be invalid. I doubt it will happen, but I want to make sure I have a deep understanding of what could happen.

Just to make sure I understand properly: if, for some weird configuration, a bundler loads the exact same version + format twice, this check will not throw and instanceof LiveObject might be invalid.

Correct!


Dev

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b5a0153). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage          ?   33.33%
=========================================
  Files             ?        1
  Lines             ?       42
  Branches          ?        4
=========================================
  Hits              ?       14
  Misses            ?       28
  Partials          ?        0

Continue to review full report at Codecov.

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


classic start menu

Description of the new feature / enhancement
like it was in win 10
Scenario when this would be used?
like it was in win 10
Supporting information
No response

Windows Feedback hub is a better spot for this feedback.


regression-test enhance the robustness and stability of Doris in handling semi-structure types

Proposed changes
Issue Number: close #36362

Robustness and stability in handling semi-structured types, including JSON and VARIANT type data, were examined, and we aimed to comprehensively test the parsing behaviour of these types in a variety of invalid JSON formats。modify ${testTable}

run buildall


Upgraded to separate PropTypes package

To solve the following warning, upgraded the PropTypes.
Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in  React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

Thanks!


How to install a FPGA driver on plain Standard_PBs VM

It looks like FPGA inference supports AKS or Azure Stack Edge (formerly ADE) only.
Is there a way to run it on notebook VMs (Standard_PBs SKU) like this document? It looks like I need to install FPGA driver but I couldn't find a document regarding FPGA driver installation.
I tried to run docker image on notebook VM (Standard_PBs) and it produced an error log as below.
info: Microsoft.MachineLearning.Inferencing.Core.Interfaces.IRuntime[0]
      Loading model from /var/azureml-app/azureml-models/resnet50-cd-tl.1.accelonnx/1
1574066908753305382,08:48:28:753,151,0,../src/linux/FPGADriverAPI_l.cpp,257,HW_get_fpga_device_interface_list: cannot find/sys/class/catapult directory - check that catapult LKM is loaded

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

ID: 8685a95e-cc0b-0d40-55f1-08a6cbabdbc3
Version Independent ID: a30fc6ce-b666-be28-3d5a-3727a39eb9bd
Content: How to deploy models to Notebook VMs - Azure Machine Learning
Content Source: articles/machine-learning/service/how-to-deploy-local-container-notebook-vm.md
Service: machine-learning
Sub-service: core
GitHub Login: @mrudulan
Microsoft Alias: mnark

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

@mrudulan Hi, could you please help us to check this issue and update the document if necessary? Thanks!

Hey @iljoong we don't support FPGA inference on notebook vms yet.
I will take this as customer ask and add it into your backlog item.


update setup.md file under /kne/docs

The document needs to be updated. for one now we need 1.19 or higher for go.  kind should be 0.17.0

Thanks for pointing this out, the docs were quite a bit out of date. https://github.com/openconfig/kne/pull/331 adds a much needed doc refresh


Runtime caching polymer and angularJs

I am routing my application to angular and polymer, like below is the route for my angular:
    app.get('/tool', function (req, res) {
        res.render('tool', { layout: false, env: process.env.NODE_ENV });
    });

this is the runtimeCaching, i am providing
        runtimeCaching: [
            {
                urlPattern: /\/tool/,
                handler: 'cacheFirst'
            },

App url : http://localhost:23448/tool/#/
same like in case of polymer
            {
                urlPattern: /\/support\/#\//,
                handler: 'cacheFirst',
                options: {
                    cache: {
                        maxEntries: 2,
                        name: 'support-cache'
                    }
                }
            }

App url : http://localhost:23448/support/#/
I am not sure is this the way to cache single pager application or is it an regex issue as my other routes are getting cached except SPA where url is getting appended with '#' .
Any help is appreciated. Sorry I couldn't narrow it down further.

URL fragments (# and everything that follows) aren't (currently; at least until https://github.com/w3c/ServiceWorker/issues/854 is implemented widely) exposed to the service worker and changes to the URL fragment via the History API won't trigger a service worker fetch.
But anyway, it sounds like what you want is to switch to "real" URL modification instead of URL fragments in your client-side code (via this option in Angular) and then using the navigateFallback option in sw-precache to cause all navigation requests to go to your main App Shell URL, which in your case is /tool. There's an example in the Getting Started Guide.

Thank you so much Jeff for reverting


Schema types standardization

Why always use Strings for all types, where some properties would make more sense if they were integers or doubles (especially people.mass & people.height could be doubles, and even people.birth_year could be a signed integer (which could be null if unknown).
That would make the parsing much more easier, instead of having to parse each string client-side.

Purely down to how I implemented it originally. A migration to the new format might mess up people's applications now. However, if you're familiar with Django and want to make the suggest migrations - open a PR.

Unfortunately I don't know a thing about Django.
Note: given that the API and schema will undoubtedly change as you will implement then other issues — like changing the pilots to be a dictionary of {name,href} instead of directly an url, etc — won't you create an /api/v2/ endpoint anyway?

I want to avoid hard coding versions in the URI. The URI isn't really used for that purpose. I was considering an http header to set the version and determine the response schema.
But yes - a lot of people want me to changes things (no one is actually making any contributions yet though) and those changes will probably all be rolled into a version 2 at some point. However - I am not accepting every single request otherwise it'll be a mess.

I feel you. I'd gladly help and do a PR but I don't know a thing neither in python nor Django (My stuff is ObjC, Ruby and Swift) :-/
Good luck and thx for this fun app :)

@AliSoftware It's tough when you put something in the public domain and then things start to use it - suddenly you have to support legacy. It's easier for software because versioning is easier, but with Apis it can be really tricky D:

Just remembered: there is also the issue that some values have n/a where integers or decimals might be

You could use null when values are n/a ;-)

http header to set the version and determine the response schema.

Using the Link: header as described in section 8.2 of the JSON schema specification would be a very welcome change and unlikely to break existing clients. :)


Only run intro tutorial in Travis

@stephenbach thoughts on if this provides sufficient coverage?

Closed in v0.5.0


operatorhubio-catalog is scheduled to run on a MS Windows worker node

Bug Report

What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
This is an AKS cluster running K8s 1.14.8 with multiple node pools enabled and both a Linux and a MS Windows Node Pool. The single node in the MS Windows Nodepool is tainted:

taints:
  - effect: NoSchedule
    key: os
    value: Win2019

The operator has been installed with and unmodified version of the install script, that is:

/install.sh 0.12.0

What we see is that the pod operatorhubio-catalog-h4zqh is scheduled to run on the MS Windows node, which of course doesn't work.

**What did you expect to see?**
I would expect the pod operatorhubio-catalog-h4zqh to end up on an Linux node. Especially as the MS Windows node is tainted.

**What did you see instead? Under which circumstances?**
The pod operatorhubio-catalog-h4zqh ended up on a MS Windows worker node.

**Environment**
* operator-lifecycle-manager version:

 0.12

* Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:02:12Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

* Kubernetes cluster kind: Azure AKS cluster with support for multiple node pools and an active MS Windows node-pool.

**Possible Solution**
Make sure that the deployment of pod  operatorhubio-catalog-h4zqh respect taints and/or a node selector mechanism is used (as it already is for deployments in the same namespace).

**Additional context**
Add any other context about the problem here.

Hi @HansK-p, thanks for bringing this issue up. This is something we've been discussing this past week as we see more mixed linux and windows OS node pools. We will look into this and provide a fix.

@HansK-p now that I'm looking at the issue more closely, I'm not entirely sure how the pod was scheduled onto the Windows node in the first place if the pod never tolerated the taint of the node. What you're describing is basically a dedicated node with a specific taint, and only pods which have tolerations which match would be scheduled, per https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/#example-use-cases.
We can add a NodeSelector to the pod, which would help avoid the issue from occurring again (since that label is not present on the node), but it wouldn't explain why the catalog pod was scheduled onto the Windows node in the first place.

I saw the Exists toleration, but didn't know that it was that "effective". The pod was scheduled on the MS Windows node even after I marked the node as unschedulable (uncordon). This was slightly frustrating....
Adding a NodeSelector to the pod sounds like a good idea. It should never be scheduled to run on anything but a Linux node (unless it actually works).  I assume the NodeSelector will be:

  nodeSelector:
    beta.kubernetes.io/os: linux

Thanks @HansK-p. We've merged the NodeSelector fix and will QA it. In the meantime, if you need the fix in your cluster, try editing the pod spec and adding the NodeSelector manually, that should help.

I'm going to close this as we have developed and backported a fix in the upcoming release cycle. Please feel free to reopen if you see this issue again 🐛


DM should be using ConversationState/UserState directly

Fixes #2823
Current code was doing it's own custom storage

removed custom storage, replaced to use PropertyAccessors
removed RunAsync() (can add in the future)
added unit tests
** OnError works to clear conversationState
** Expiration works to clear conversationState
Cleaned up UseState()

fixes #2823

So much simpler!!! Thanks for the new tests too :)

Pull Request Test Coverage Report for Build 85344

0 of 0   changed or added relevant lines in 0 files are covered.
27 unchanged lines in 9 files lost coverage.
Overall coverage increased (+0.1%) to 77.607%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/AdapterExtensions.cs
1
66.67%

/libraries/Microsoft.Bot.Builder/Adapters/TestFlow.cs
1
77.17%

/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/OAuthPrompt.cs
1
57.23%

/libraries/Microsoft.Bot.Builder.Azure/CosmosDbStorageOptions.cs
2
50.0%

/libraries/Microsoft.Bot.Builder.Dialogs/ObjectPath.cs
2
79.77%

/libraries/Microsoft.Bot.Builder/MemoryTranscriptStore.cs
2
86.09%

/libraries/Microsoft.Bot.Builder.Dialogs/DialogManager.cs
3
85.0%

/libraries/Microsoft.Bot.Builder.Dialogs/PersistedStateKeys.cs
5
0.0%

/libraries/Microsoft.Bot.Builder.Dialogs/PersistedState.cs
10
0.0%

Totals

Change from base Build 85293:
0.1%

Covered Lines:
5992

Relevant Lines:
7721

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.5.3


feat: add delegation identity

Description
Added DelegationIdentity
Fixes # (issue)
https://github.com/dfinity/agent-rs/issues/347
How Has This Been Tested?
I new a DelegationIdentity, and call the canister on chain, it works
Checklist:

[ ] The title of this PR complies with Conventional Commits.
[ ] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation.

Thanks a lot for your PR! Have you considered adding a few tests to make sure it works as expected?

Thanks a lot for your PR! Have you considered adding a few tests to make sure it works as expected?

You're welcome. I will add tests. I would love to hear any other review suggestions


Add pow builtin

google/grumpy#373 opened on Jul 30, 2017 by @aisk • Changes requested

 Comment by aisk
Thursday Sep 07, 2017 at 16:33 GMT

@trotterdylan Ready for review!

Feels happy to see grumpy is back to life! And looks like my PR is merged, so this could be closed?

Sure!
We still need more hands, but at least it's not abandoned :)


Backup Phrase recover

12 word phrase, lowercase, with spaces between each word, to recover funds & transactions.
bulk i can't search by hand
I need a program to input 12 words phrase
output address | Private key
1F5qrDynCi5hXwcmK8XQemiL5jZjczUVtT | L51jsPUMtSH4t9mcdMb56Hff8rH73x5uDapRUMaKR6TcL4RaQPPQ
https://prnt.sc/mrigrn

I think your question are associated with Mnemonic.
from mnemonic import Mnemonic
import unittest
import binascii
from Derivation_Path import bips

_store = [
["m/44'/0'/0'/0/0","1HnA8fYPskppWonizo8v1owqjBDMviz5Zh","02707f1e1a0e1ea7ba8ce83710604304fa85f995b6b0d15ff752cf70602cf4757e","KzR58Tj1WkLvMJmyZzt3P4KTLJpv2tn7xK32nfHGNq9Ffw8WLUEc"],
["m/44'/0'/0'/0/1","19UbynsayGFyzSttsyaWAScUoDJV44hukC","036409b451fa2d626376dc63c49f787716a8b823bc72aac0052c43c2a780e1133f","L48hJkym4z3WDu9gbeRgdF67FWYbeD7kmnxVWkqb1a6TSm44oEJY"],
["m/44'/0'/0'/0/2","1A5YmdnXm1BFTciqDgU7jNGMagRiydAKN2","033ee2fb84b95cec5e5d111e901f8487395d821993806414da7d8ee01cb1e7941a","L4qwB74LW3w935dEDzzFxoMfyhX3oToP1CKdkX9npAuDRWqSg2pj"],
["m/44'/0'/0'/0/3","1GoD7BUF8oPUkjuv4NoPx74aRaeb2BRKyH","03b444e59c92359d85e56a6de86143456be93f00b6d6b52dd2ef6d5cfc2d56ee83","L3Bm5RDRX5xt6oy5xy2b8yK7kf3F8wqykoTR1jsLW6mbyy42tHhn"],
["m/44'/0'/0'/0/4","1JDtA64hxnsCcrk6dibaFEXH5ytL2coy44","035851a2e3d42b3fa0eaee904c6f81c3fee2c71dacf1a1db7caab580edaa202417","KzVJ8nTJLLCC2TkxRtXtbA3WixPXz6wG15MkXsN9kwDKG3QPfhyn"],
["m/44'/0'/0'/0/5","12SDdnhhtqqXUpt9NCXAj7Biq7U8LmCTYG","03cb51f0e1f70b6dcf053d9d2c13cbf9cef747d8456861ba95e60a37b55e95b067","L4VkN6BVzhmzrLCo1AKV1BbuAD5aanftNc5LDi6uCd9cqhnkv8PS"],
["m/44'/0'/0'/0/6","17sdDw3rkKqt46Dn1RBay6Xs8cPspBNr34","03925a483d2aa23b78e71b37a8c1621f99bf81bd0b2fae6157b288e7eef23aba7d","KyGrxM8rdTcdQogdXULuoZoubzQmHy5sUVee9Z718Zy8XBvhtSiG"]
]

class test_(unittest.TestCase):

	def test_to_seed(self):
		words = "plate inject impose rigid plug tornado march art vast filter issue village"
		passphrase = ""
		seed = Mnemonic.to_seed(words, passphrase)
		seed_ = b"99b5ccefea83beb7dd42e62bb3bceb965b935c26c85290febc48f571060a1d8c8f4e847c45b67864977ae1d0c1e83e6ae0019a78c571c0fc3fdee6e020329664"
		self.assertEqual(binascii.hexlify(seed), seed_)

	def test_to_accounts(self):
		words = "plate inject impose rigid plug tornado march art vast filter issue village"
		passphrase = ""
		seed = Mnemonic.to_seed(words, passphrase)
		bip32_bitcoin_EKP = bips.initialize("m/44'/0'/0'/0",
			seed=seed)
		store = bip32_bitcoin_EKP.gen(7)
		self.assertEqual(
			{k:[ele if p !=3 else ele[1] for p,ele in enumerate(v)] for k,v in store.items()}, # remove private key
			{p:v[:-2] + v[-2:][::-1] for p,v in enumerate(_store)}) # store

def __main__():
	unittest.main()

if __name__ == "__main__":
	__main__()


test_partial_evict_tenant is flaky

See https://neon-github-public-dev.s3.amazonaws.com/reports/pr-3975/release/4631307967/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/86bde5a71b3be727/
AssertionError: the other tenant should be evicted to is min_resident_size, i.e., max layer file size
assert 10813440 < (2 * 5242880)
 +  where 5242880 = EvictionEnv(timelines=[(`TenantId("a7cdffb428510c7e804d76eb26cfa11e"), TimelineId("01d2589e75a4adeb9920ceda13fa26f7"))...a7cdffb428510c7e804d76eb26cfa11e"): Lsn("0/4AA79E0"), `TenantId("9952fa59f9ad4d531fdd720dc88aebd1"): Lsn("0/6464048")}).layer_size

Triggered in #3975

One more:
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4063/release/4795319978/index.html#categories/f27b9e9af1d5ea50d8f228e20929c31f/35f8ed9ecd4158d/

@bayandin is this still flaky ? (where can we see the list of the flaky tests anyway )

@bayandin is this still flaky ? (where can we see the list of the flaky tests anyway )

I use scripts/flaky_tests.py --days 10 <connstr> (with  "Regression tests result" connstr from notion page)
The last 10 days don't mention test_partial_evict_tenant
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[local_fs]
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[real_s3]
	test_runner/regress/test_proxy.py::test_close_on_connections_exit
	test_runner/regress/test_tenant_size.py::test_get_tenant_size_with_multiple_branches
	test_runner/regress/test_threshold_based_eviction.py::test_threshold_based_eviction

But the last 20 are:
	test_runner/performance/test_branch_creation.py::test_branch_creation_heavy_write[20]
	test_runner/performance/test_wal_backpressure.py::test_pgbench_intensive_init_workload[vanilla-1000]
	test_runner/regress/test_disk_usage_eviction.py::test_partial_evict_tenant
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[local_fs]
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[mock_s3]
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[real_s3]
	test_runner/regress/test_ondemand_download.py::test_ondemand_download_timetravel[real_s3]
	test_runner/regress/test_pageserver_restart.py::test_pageserver_chaos
	test_runner/regress/test_proxy.py::test_close_on_connections_exit
	test_runner/regress/test_tenant_detach.py::test_detach_while_attaching[real_s3]
	test_runner/regress/test_tenant_detach.py::test_tenant_reattach[real_s3]
	test_runner/regress/test_tenant_size.py::test_get_tenant_size_with_multiple_branches
	test_runner/regress/test_tenants.py::test_pageserver_with_empty_tenants[real_s3]
	test_runner/regress/test_tenants_with_remote_storage.py::test_tenants_many[real_s3]
	test_runner/regress/test_threshold_based_eviction.py::test_threshold_based_eviction
	test_runner/regress/test_wal_acceptor.py::test_s3_wal_replay[real_s3]
	test_runner/regress/test_wal_acceptor.py::test_wal_backup[real_s3]

@problame does this make sense with your changes time line ?

From @bayandin's gist:
test_runner/regress/test_disk_usage_eviction.py:404: in test_partial_evict_tenant
    assert (
E   AssertionError: the other tenant should be evicted to is min_resident_size, i.e., max layer file size
E   assert 10813440 < (2 * 5242880)
E    +  where 5242880 = EvictionEnv(timelines=[(`TenantId("c7e4c7ab15acb88542b4dab042b67ade"), TimelineId("2aab1324c55877a45f89bf2d900cf57e"))...c7e4c7ab15acb88542b4dab042b67ade"): Lsn("0/4AA3940"), `TenantId("2daf96411ba1ab91a410b538b899da1f"): Lsn("0/6464048")}).layer_size

test_partial_evict_tenant[debug-pg14]
test_partial_evict_tenant[release-pg14]

Again: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4415/5176204789/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/911c08c027754388 (while fixing another flaky :D)

And again https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4646/5473410503/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/b52c08610e4674f8

Two test runs on same PR, unrelated to PR, pg14 and pg15:

https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4938/5968885987/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/1523cd4a484b34ee/
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4938/5968885987/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/d1aa54feb69530e2/

While looking at this, I noticed the env.layer_size is off by 16kB. Not a big thing.
Both tests manage to free up layers as far as I can eyeball the outputs. Both definitely freed up more space than what was asked.
Maybe the problem is that we insist on asserting by bytes when we could look at layers counts? That would be more forgiving towards different shaped layers being done.

Recent failure: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-5207/6311482564/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/dd6d989bc4583cae/

Interesting:

https://neon-github-public-dev.s3.amazonaws.com/reports/pr-5198/6311728531/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/cb5381d334697d75
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-5198/6311728531/index.html#suites/0e58fb04d9998963e98e45fe1880af7d/9daeac88a7328995/retries

(debug and release or release and debug runs).
Messages:
AssertionError: the other tenant should be evicted to is min_resident_size, i.e., max layer file size
assert 12615680 < (2 * 5242880)
 +  where 5242880 = EvictionEnv(timelines=[(`TenantId("8f59ff83aa35cb932291d413d08888f6"), TimelineId("b6bf7a5373cef9450f436bc87203120a")), (`TenantId("fe5aa14efc939f5cda53601c4252bbee"), TimelineId("4ac9ba7dfa1440c6fd20ec66f4bd10e1"))], neon_env=<fixtures.neon_fixtures.NeonEnv object at 0x7f9d6f82e2e0>, pg_bin=<fixtures.neon_fixtures.PgBin object at 0x7f9d6f82e670>, pageserver_http=<fixtures.pageserver.http.PageserverHttpClient object at 0x7f9d6f8a1e80>, layer_size=5242880, pgbench_init_lsns={`TenantId("8f59ff83aa35cb932291d413d08888f6"): Lsn("0/7A515B8"), `TenantId("fe5aa14efc939f5cda53601c4252bbee"): Lsn("0/ACC2EC8")}).layer_size

AssertionError: the other tenant should be evicted to is min_resident_size, i.e., max layer file size
assert 12607488 < (2 * 5242880)
 +  where 5242880 = EvictionEnv(timelines=[(`TenantId("7938da0f418db29172d0006c46e85981"), TimelineId("d0482b82818338b7e4052a16f9674104")), (`TenantId("5652dd761d6674b6d3cf1d8b1b4a0539"), TimelineId("db8294cb8566853b9e9d6a87949247e3"))], neon_env=<fixtures.neon_fixtures.NeonEnv object at 0x7f4786f081c0>, pg_bin=<fixtures.neon_fixtures.PgBin object at 0x7f47870fcc10>, pageserver_http=<fixtures.pageserver.http.PageserverHttpClient object at 0x7f4786f08dc0>, layer_size=5242880, pgbench_init_lsns={`TenantId("7938da0f418db29172d0006c46e85981"): Lsn("0/7A515B8"), `TenantId("5652dd761d6674b6d3cf1d8b1b4a0539"): Lsn("0/ACC0E78")}).layer_size

Where:

2 * 5242880 would had been 10485760 or the familiar 10MiB
12607488 = 5259264 + 5259264 + 2088960

warmed up tenant 7938da0f418db29172d0006c46e85981/d0482b82818338b7e4052a16f9674104 went from 125MiB (132055040) to 70MiB (74260480).
other tenant 5652dd761d6674b6d3cf1d8b1b4a0539/db8294cb8566853b9e9d6a87949247e3 went from  177MiB (186023936) to 12MiB (12607488).
Report formatted:
2023-09-26T11:15:03.126956Z  INFO request{method=PUT path=/v1/disk_usage_eviction/run request_id=3345cb95-466e-4139-9470-2dedd659b55c}: disk_usage_eviction_task_iteration_impl finished res=Ok(Finished(IterationOutcomeFinished {
before: Usage { config: Config { evict_bytes: 231079936 }, freed_bytes: 0 },
planned: PlannedUsage {
  respecting_tenant_min_resident_size: Usage {
    config: Config { evict_bytes: 231079936 },
    freed_bytes: 231211008
  },
  fallback_to_global_lru: None
},
assumed: AssumedUsage { projected_after: Usage {
  config: Config { evict_bytes: 231079936 },
  freed_bytes: 231211008
},
failed: LayerCount { file_sizes: 0, count: 0 } } }))

I think this run completed successfully but for the passing runs the size of small layers on the smaller timeline is different:

655360
647168

Interesetingly enough, the larger tenant has exactly the same sized layers on both runs.


update node versions and remove v10

Change daily to 16, change nodejs to 12, 14, 16

Actually, I might close this and do it on the PR that instigated it.


Can't install from npm

I got the error when running npm i @tsed/cli
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@tsed%2fcli - Not found
npm ERR! 404
npm ERR! 404  '@tsed/cli@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Npm had some instability issue this morning. Check this page https://www.npmjs.com/package/@tsed/cli. If this page is unavailable, it mean NPM registry is down :).

I can access the page but can't install it. So I should go and bug npm.

Yep :)


Display help content on the empty screen after startup

Describe what you can do (and buttons for possible actions)

Open a recording
Go to docs
start onboarding tour
load an example dataset
Connect from an SDK
Connect to a websocket stream?

Let's wait for a design from Mårten


this library does not support Nestjs 10.0.0

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
this library does not support Nestjs 10.0.0
Minimum reproduction code
this library does not support Nestjs 10.0.0
Steps to reproduce
No response
Expected behavior
this library does not support Nestjs 10.0.0
Package version
4.0.0
NestJS version
10.0.0
Node.js version
18.16.0
In which operating systems have you tested?

[X] macOS
[X] Windows
[X] Linux

Other
this library does not support Nestjs 10.0.0

Nest 10 literally released last night. I'm working on having this ready, have some patience as the team is spread across timezones

<EMAIL_ADDRESS>and greater support NestJS v10 (there are no breaking changes for this release, so it was just an update to the peerDependencies)


Segfault when cooking OSM map

Hi all,
I'm currently trying to import a simple OSM map using the digital twin feature. However, when I try to export this asset using make package ARGS="--package=MyMap" then the cooking process crashes with a segmentation fault. Can you help me get this running?
Detailed steps:

checkout origin/dev using git
run make osmrenderer
run make launch
find "UW_OnRoadMainWidget" in "CarlaTools Content" within the Content Browser of the UE4 Editor and run it
fill the fields "OSM URL" with "https://overpass-api.de/api/map?bbox=8.56931,50.15577,8.57543,50.16098" and "File Name" with "MyMap"
click "Generate" and when things have finished loading, click "Save Map"
now, there should be a folder "Unreal/CarlaUE4/CustomMaps/MyMap"
create a file "MyMap.Package.json" in "Unreal/CarlaUE4/Content/Carla/Config" with the following contents:

{
  "maps": [
    {
        "path": "/Game/CustomMaps/MyMap",
        "name": "MyMap",
        "use_carla_materials": true
      }
  ],
  "props": []
}

then run make package ARGS="--package=MyMap"

In my case this script encounters a segmentation fault when it starts cooking the assets. You can find the crash logs below:
CarlaUE4.log
CrashReportClient.ini.txt
Diagnostics.txt
CrashContext.runtime-xml.txt
This issue must be related to the digital twin tool / the map specifically since packaging "Town06_Opt" using the same command works.

This map seems to have meshes with issues. We still making progress on Digital Twins tool

@Blyron  So far I couldn't find a map that can be cooked. Can you share links to OSM maps, which work with the digital twins tool? Thanks in advance.

Not really. Haven't found, we will be working on it


[api-docs] Add docs for guild timeout in auditlog (#4285)
Add missing communication_disabled_until audit log change key

A new commit was made into the api-docs repo.
https://github.com/discord/discord-api-docs/commit/c63a4d5a604b6c2dbb5e5b5c1e3c2a101e96df44
This is a bot created issue.

#1888


Expose API to allow MagicAuth users export wallet

✅ Prerequisites

[x] Did you perform a cursory search of open issues? Is this feature already requested elsewhere?
[x] Are you reporting to the correct repository (magic-sdk)?

✨ Feature Request
In MagicConnect, the modal allows the functionality for users to export their private keys in order to import the wallet to a non-custodial wallet. In order to get access to this functionality while using MagicAuth, you have to request the MagicLink team expose a dynamic web page allowing users to do this. Since this functionality already exists it would be great if there is an API that allows developers create an in-app experience to do this.
🧩 Context
Having users navigate to a randomly generated page with a host that doesn't match the host of our app could raise some security concerns. I spoke with someone at ETH Denver about this at the Magic booth and they suggested I raise a feature request here.

I would greatly appreciate this feature.

With my team we need this instead of exposing the Private key as I requested here: https://github.com/magiclabs/magic-js/issues/532
Any plans to support this feature? Please let us know! <3

Hi everyone. I will bring this up to our product team and will follow up here. Thanks!

Hi again. Thanks for your patience. I brought this up to our team, and while it is something we are interested it, we will not be pursuing it in the immediate future. Thank you for the request though!