kubelet seen consuming high RAM usage with cstor volumes

kubelet triggers iscsiadm command to discover LUNs and reads the output of the command until it exists.
Due to the issue mentioned here https://github.com/open-iscsi/open-iscsi/issues/155, kubelet ends up consuming high CPU and RAM.

Below is one of the user's setup that has this error:
General overview of setup:
- 3 machines, 2x quad-core hyperthread/node, 24GB RAM/node, 16x SAS 146GB HDDs/node
- All nodes are master, etcd, and worker
- Fedora 29
- Kubespray/Kube 1.12.4
- Docker 128.06.1-ce via Fedora 28 Docker repos
- Rancher via helm
- Helm/metrics server/Dashboard/nginx ingress via kubespray
- Cert manager/certs via custom script
- MetalLB installed
- kubectl 1.13 via workstation

General Process:
- Run kubespray
- Copy credentials file from server to workstation
- Make sure helm works
- Run rancher-init.sh
- Run kuberang, make sure it passes
- Install MetalLB
- Install OpenEBS
- Use Rancher's catalog apps to install "efk" and Prometheus using imported config from files

These are the details from another user w.r.t this issue:
UseCase:
We attach 1 elastic block storage disk to each of the worker nodes in the cluster (3 in this case). We utilize Kubespray to deploy our clusters and helm to install OpenEBS (v0.8.0) after the clusters are up. I can deploy a few applications with PVC's that utilize the OpenEBS storage. We run into issues sometimes when we re-deploy an application (or delete the application pod to restart) with helm and it needs to use the existing PVC.
Observed Issue:
It appears that the iscsiadm command that kubelet runs  (iscsiadm -m discoverydb -t sendtargets -p <IP_ADDRESS> 3260 -I default --discover) continuously fails and repeats rapidly. For some reason this causes the memory consumption of kubelet to grow until the node goes out-of-memory and needs to be rebooted.
I have noticed that killing the iscsiadm discoverydb process stops the kubelet's memory consumption from growing.
The issue is not always reproducible. It seems to happen when trying to re-attach a PVC to a pod. Freshly created PVC's seem to attach normally.
As for network delays: We do not currently monitor any network bandwidth/latency, but our loads are these clusters are fairly low. I ran into the issue on a brand new Kubernetes cluster yesterday ( on packet.net).  Until now i have never questioned their network infrastructure.
We utilize helm frequently to create/delete/upgrade deployments, but we usually keep the same PVC.
Environment Details:
Clusters on packet.net
OS=CoreOS
Kubernetes Version: 1.13.1
CoreOS Version: VERSION=2037.0.0
Linux Kernel: 4.19 (required for our product)
No additional iSCSI packages were installed
iscsiadm version 2.0-873
default iscsid config
Logs from journalctl and the cstor-istgt container to follow:
jourctl logs snippet:

Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: failed to send SendTargets PDU
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: connection login retries (reopen_max) 5 exceeded
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: Connection to Discovery Address <IP_ADDRESS> failed
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: failed to send SendTargets PDU
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: connection login retries (reopen_max) 5 exceeded
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: Connection to Discovery Address <IP_ADDRESS> failed
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: failed to send SendTargets PDU
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: connection login retries (reopen_max) 5 exceeded
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: Connection to Discovery Address <IP_ADDRESS> failed
Feb 06 06:11:38 <hostname> kubelet[1063]: iscsiadm: failed to send SendTargets PDU

cstor-istgt snippet:

2019-02-05/15:43:30.250 worker            :6088: c#0.140005771040512.: iscsi_read_pdu() EOF

2019-02-05/15:43:30.250 sender            :5852: s#0.140005666154240.: sender loop ended (0:14:43084)

2019-02-05/15:43:30.251 worker            :6292: c#0.140005771040512.: worker 0/-1/43084 end (c#0.140005771040512/s#0.140005666154240)
2019-02-05/15:43:30.264 worker            :5885: c#1.140005666154240.: con:1/16 [8d614b93:43088-><IP_ADDRESS>:3260,1]
2019-02-05/15:43:30.531 istgt_iscsi_op_log:1923: c#1.140005666154240.: login failed, target not ready

2019-02-05/15:43:30.782 worker            :6088: c#1.140005666154240.: iscsi_read_pdu() EOF

2019-02-05/15:43:30.782 sender            :5852: s#1.140005649413888.: sender loop ended (1:16:43088)

2019-02-05/15:43:30.783 worker            :6292: c#1.140005666154240.: worker 1/-1/43088 end (c#1.140005666154240/s#1.140005649413888)
2019-02-05/15:43:33.285 worker            :5885: c#2.140005649413888.: con:2/18 [8d614b93:43092-><IP_ADDRESS>:3260,1]
2019-02-05/15:43:33.536 istgt_iscsi_op_log:1923: c#2.140005649413888.: login failed, target not ready

2019-02-05/15:43:33.787 worker            :6088: c#2.140005649413888.: iscsi_read_pdu() EOF

2019-02-05/15:43:33.787 sender            :5852: s#2.140005632636672.: sender loop ended (2:18:43092)

2019-02-05/15:43:33.788 worker            :6292: c#2.140005649413888.: worker 2/-1/43092 end (c#2.140005649413888/s#2.140005632636672)
2019-02-05/15:43:35.251 istgt_remove_conn :7039: c#0.140005771040512.: remove_conn->initiator:<IP_ADDRESS>(iqn.2019-02.net.packet:device.7c8ad781) Target: <IP_ADDRESS>(dummy LU0) conn:0x7f55a4c18000:0 tsih:1 connections:0  IOPending=0
2019-02-05/15:43:36.291 worker            :5885: c#0.140005666154240.: con:0/14 [8d614b93:43094-><IP_ADDRESS>:3260,1]
2019-02-05/15:43:36.540 istgt_iscsi_op_log:1923: c#0.140005666154240.: login failed, target not ready

2019-02-05/15:43:36.791 worker            :6088: c#0.140005666154240.: iscsi_read_pdu() EOF

2019-02-05/15:43:36.791 sender            :5852: s#0.140005771040512.: sender loop ended (0:14:43094)

There is work to be done in K8s  (kubelet) from hogging the RAM/CPU of the node when the commands it executes results in generating too many logs. This is being tracked by: https://github.com/kubernetes/kubernetes/issues/70890

The timeout of iscsiadm discovery command was being caused by cstor target, failing to read the discovery packet that arrived few ms later after the initial connection. This was tracked down to the socket readv call being made with LOWAT set to 48. After setting the value to default 1, the readv calls are not blocked.
This was a very hard issue to reproduce and many many thanks to @proegssilb for helping with his time and setup in tracking down the issue and validating with a debug build with the fix. https://github.com/openebs/istgt/commit/5df6ec1915cdc8186f48211ababe04e8bbda74d6

The test program used to check how the OS handles delayed packets when SO_RCVLOWAT is set is available here. https://github.com/pawanpraka1/gist
When running this program by simulating the network condition of delayed packet arrivals - the read calls are getting blocked. A issue for this is raised on Fedora at: https://bugzilla.redhat.com/show_bug.cgi?id=1679565
We have verified that the issue doesn't exist on Ubuntu and RedHat versions.

The cstor target has been updated to work with slow receiving iscsi PDUs.


Card not displayed with HA error

I followed the Readme.
Added the resource, restarted HA, but cannot add card. HA displays "custom element doesn't exist" error

Hey @heidricha
it needs to be refreshed with a cleaning cache. It doesn't depend on HA itself but on the browser. (usually ctrl+F5 or in devtool panel in chorme network tab check disable cache)


onSuccess is no longer called from setQueryData

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


2.x release notes?

Both versions 2.0 and 2.1 seem to be released (without any prerelease tag).  There seems to be some breaking changes (since my code doesn't compile :)). Are there any release notes for these versions?

There shouldn't be breaking changes. Can you elaborate on your compilation errors?

Sorry I misinterpreted your question. There are breaking changes between 1.x and 2.0.0. I'll add some release notes.

Release notes added for 2.0.0 and 2.10. It's also worth noting that SB follows semantic versioning so you can typically expect breaking changes with any major upgrade.

Thanks for your quick response @domaindrivendev!


Update selinux rules for the sudoers change.

Also, change the makefile to build the selinux policy from source
instead of checking in the binary.

Codecov Report

Merging #427 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development     #427   +/-   ##
============================================
  Coverage        98.41%   98.41%
============================================
  Files               38       38
  Lines             3090     3090
  Branches           146      146
============================================
  Hits              3041     3041
  Misses              43       43
  Partials             6        6

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 1d67de9...0eaa52a. Read the comment docs.


Toggle Items are rendered with  and  tag.

As the title suggests and the following image is shown, toggle items are rendered with
 and
 tag.
So, it is not deployed to the Github Pages.

I'm not seeing that with just a basic toggle with some text.
What is the full content of your toggle?
What version of docu-notion are you using?
You could try the alpha to see if it helps.

@andrew-polk Actually, I used the alpha version of docu-notion. (I haven't checked yet) Maybe I think that it will be an issue but for docusaurus itself not for docu-notion. If I have time, I'll try to describe these issues in more detail. Thanks.

If you have time, I'd appreciate it if you could review a situation with what is shown in the following image.

toggle items are rendered with  and  tag.

I have seen this. We need to produce a test case and report to notion-to-md
SyntaxError: C:\dev\docu-notion-sample-site\docs\Examples\Lists.md: Expected corresponding JSX closing tag for . (34:0)
  32 |
  33 | This is a toggle
> 34 |

     | ^
  35 |

  36 |
{`The inside of a toggle`}

  37 |

No, I was wrong. The output from notion-to-md is fine, it's Docusaurus (or rather its MD-->HTML converter) that produces invalid HTML if the toggle follows a list.
- alpha

toggle me
inside plain text

Gives

    toggle me
    inside plain text

But if you add a line after - alpha, then everything is fine:
- alpha

toggle me
inside plain text

with

    toggle me

inside plain text

Perhaps the could be solved by notion-to-md, if proper markdown means we should be adding a new line after the end of the bulleted list?

In the meantime, the workaround is, in Notion, to add an extra paragraph in between lists and toggles.

@hatton Oh very thanks. I checked too late. I'm sorry.


Fall back to the AssignExprs startLoc when the EqualLoc is invalid

SIL Location diagnostics point at the getLoc, so when the EqualLoc is invalid we get no loc, while the startLoc is a fine alternative for these types of diagnostics.
rdar://30157756

@swift-ci Please smoke test


Add sentry-electron cli command which uploads symbols for current electron dependency

You might want to add this to sentry-cli instead but it would be great to have a cli command somewhere which:

Downloads all symbols for the version of electron referenced in package.json using electron-download
Uploads these symbols to Sentry

So we already have such command in sentry-cli we basically only have to integrate it in a script.
https://docs.sentry.io/learn/cli/dsym/
We were also thinking about adding support for https://github.com/getsentry/sentry-wizard and help with the setup process like adding the DSN to the package.json and add a script for uploading symbols etc.

Ok having this in the wizard could make more sense.
I did see the sentry-cli commands to upload symbols but wanted something to automate the process, especially if I change the version of electron we're using.
Currently I'd have to run:
electron-download --version=1.7.11 --dsym --platform=darwin
sentry-cli upload-dif -t dsym  C:\Users\tim\AppData\Local\electron\Cache\
electron-download --version=1.7.11 --symbols --platform=win32 --arch=ia32
electron-download --version=1.7.11 --symbols --platform=win32 --arch=x64
electron-download --version=1.7.11 --symbols --platform=linux --arch=x64
sentry-cli upload-dif -t breakpad C:\Users\tim\AppData\Local\electron\Cache\

Having said that, with symbol server support maybe none of the above is required.

I will reopen this until we have that automated somehow.

ref: https://github.com/getsentry/sentry-wizard/pull/4


credentials format

Hi there, I'm very interested in this repo as I'm after the same data. Would you have the format for both files needed to run project in gitignore?
Thank you!

One is Google authentication needed to use Google Sheets (look here for hints: https://docs.gspread.org/en/latest/) and the other is from Rapidapi (look here: https://rapidapi.com/blog/how-to-use-an-api-with-python/).
I don't really see a Google Sheets usage anywhere, though :). This is one of my personal projects and, usually, I'm not able to get anywhere with them before losing interest. This one, sadly, is no exception.


Removing temp files in Math testing.

Close #969 by removing extra files at the end of the testing.

Ideally these files wouldn’t have been created in the local directory in the first place. Can we use a temp directory instead? If not, feel free to merge.

In some cases, I need to test a path without directories, but I agree that most of the cases, a tmp dir is fine.


File Details load object

Description
The File Details page is on a route but doesn't get details on mount, just takes in the table row object. So change it to call the API on mount.
All the structures on the page are COMSObject Types so we can just use the same object search from the table, providing a specific singular object ID to search permissions and object and metadata etc.
This works loading data when navigating to the page, though on hosted URLs has the same issue with the params as all other pages, so essentially paves the way to be fixed by the general solution from https://apps.nrs.gov.bc.ca/int/jira/browse/SHOWCASE-3002

Types of changes

Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

I guess we need to decide when this gets merged with upcoming store refactor.

Don't see any conflict lines (only 1 line changed in store) compared to Jeremy's PR.

I guess we need to decide when this gets merged with upcoming store refactor.

Don't see any conflict lines (only 1 line changed in store) compared to Jeremy's PR.

This will be merged in after #41.


Download problem

When im downloading.... it cannot start.. like the file is injected or smt... ? Any help ? :) TY

Disable your antivirus. The injector is getting falsely flagged due to various WINAPIs that are used to inject a DLL into a game (anti-viruses think it's malicious)


Replace reference of master branch with main

Replaces all references to the master branch with main.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/concepts/multiple-qubits.md
73
44
48
link
:white_check_mark:

articles/concepts/pauli-measurements.md
83
67
4
link
:white_check_mark:

articles/overview/algebra-for-quantum-computing.md
81
36
22
link
:white_check_mark:

articles/quickstarts/install-cs.md
95
85
0
link
:white_check_mark:

articles/resources/contributing/docs.md
83
53
2
link
:white_check_mark:

articles/resources/contributing/samples.md
86
69
1
link
:white_check_mark:

articles/resources/relnotes.md
76
38
22
link
:white_check_mark:

articles/tutorials/intro-to-katas.md
78
45
15
link
:white_check_mark:

articles/tutorials/search.md
74
42
13
link
:white_check_mark:

articles/user-guide/host-programs.md
81
48
4
link
:white_check_mark:

articles/user-guide/libraries/chemistry/concepts/algorithms.md
73
51
21
link
:white_check_mark:

articles/user-guide/libraries/chemistry/installation.md
81
51
5
link
:white_check_mark:

articles/user-guide/libraries/chemistry/samples/end-to-end.md
81
55
0
link
:white_check_mark:

articles/user-guide/libraries/chemistry/samples/molecular-hydrogen.md
91
60
0
link
:white_check_mark:

articles/user-guide/libraries/machine-learning/design.md
76
41
0
link
:white_check_mark:

articles/user-guide/libraries/machine-learning/intro.md
76
55
2
link
:white_check_mark:

articles/user-guide/libraries/standard/applications.md
74
59
30
link
:white_check_mark:

articles/user-guide/libraries/standard/characterization.md
77
60
6
link
:white_check_mark:

articles/user-guide/libraries/standard/data-structures.md
75
55
10
link
:white_check_mark:

articles/user-guide/libraries/standard/error-correction.md
78
63
0
link
:white_check_mark:

articles/user-guide/libraries/standard/licensing.md
73
34
0
link
:white_check_mark:

articles/user-guide/using-qsharp/control-flow.md
82
64
1
link
:white_check_mark:

articles/user-guide/using-qsharp/operations-functions.md
83
65
5
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 8833d66:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/qsharp/microsoft.quantum.synthesis.applyxcontrolledontruthtable.yml
:warning:Warning
View
Details

articles/concepts/multiple-qubits.md
:warning:Warning
View
Details

articles/concepts/pauli-measurements.md
:warning:Warning
View
Details

articles/overview/algebra-for-quantum-computing.md
:warning:Warning
View
Details

articles/quickstarts/install-cs.md
:warning:Warning
View
Details

articles/resources/relnotes.md
:warning:Warning
View
Details

articles/tutorials/intro-to-katas.md
:warning:Warning
View
Details

articles/tutorials/search.md
:warning:Warning
View
Details

articles/user-guide/host-programs.md
:warning:Warning
View
Details

articles/user-guide/libraries/chemistry/concepts/algorithms.md
:warning:Warning
View
Details

articles/user-guide/libraries/chemistry/samples/end-to-end.md
:warning:Warning
View
Details

articles/user-guide/libraries/machine-learning/design.md
:warning:Warning
View
Details

articles/user-guide/libraries/machine-learning/intro.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/applications.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/characterization.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/data-structures.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/error-correction.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/licensing.md
:warning:Warning
View
Details

articles/user-guide/using-qsharp/control-flow.md
:warning:Warning
View
Details

articles/user-guide/using-qsharp/operations-functions.md
:warning:Warning
View
Details

articles/tutorials/qubit-level.md
:warning:Warning
View
Details

articles/user-guide/language/types.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/convert.md
:warning:Warning
View
Details

articles/user-guide/machines/index.md
:warning:Warning
View
Details

articles/quickstarts/install-python.md
:warning:Warning
View
Details

articles/user-guide/using-qsharp/testing-debugging.md
:warning:Warning
View
Details

articles/media/README.md
:warning:Warning
View
Details

api/iqsharp-magic/estimate.md
:warning:Warning
View
Details

api/iqsharp-magic/azure.submit.md
:warning:Warning
View
Details

api/iqsharp-magic/check_kata.md
:warning:Warning
View
Details

api/iqsharp-magic/index.md
:warning:Warning
View
Details

api/iqsharp-magic/performance.md
:warning:Warning
View
Details

api/iqsharp-magic/project.md
:warning:Warning
View
Details

api/iqsharp-magic/simulate.md
:warning:Warning
View
Details

api/iqsharp-magic/toffoli.md
:warning:Warning
View
Details

api/iqsharp-magic/chemistry.broombridge.md
:warning:Warning
View
Details

api/iqsharp-magic/trace.md
:warning:Warning
View
Details

api/iqsharp-magic/package.md
:warning:Warning
View
Details

api/iqsharp-magic/workspace.md
:warning:Warning
View
Details

api/iqsharp-magic/who.md
:warning:Warning
View
Details

api/qsharp/index.md
:warning:Warning
View
Details

api/iqsharp-magic/chemistry.fh.load.md
:warning:Warning
View
Details

api/iqsharp-magic/kata.md
:warning:Warning
View
Details

articles/user-guide/libraries/machine-learning/index.md
:warning:Warning
View
Details

api/iqsharp-magic/lsopen.md
:warning:Warning
View
Details

api/iqsharp-magic/lsmagic.md
:warning:Warning
View
Details

api/iqsharp-magic/azure.target.md
:warning:Warning
View
Details

articles/user-guide/quickref/index.md
:warning:Warning
View
Details

articles/user-guide/machines/resources-estimator.md
:warning:Warning
View
Details

articles/user-guide/libraries/standard/algorithms.md
:warning:Warning
View
Details

This comment lists only the first 50 files in the pull request.

api/qsharp/microsoft.quantum.synthesis.applyxcontrolledontruthtable.yml

Line 41, Column 10: [Warning-xref-not-found] Cross reference not found: 'BigInt'.
Line 46, Column 10: [Warning-xref-not-found] Cross reference not found: 'Qubit'.
Line 55, Column 10: [Warning-xref-not-found] Cross reference not found: 'Unit'.

articles/concepts/multiple-qubits.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/concepts/pauli-measurements.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/overview/algebra-for-quantum-computing.md

Line 5, Column 13: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.

articles/quickstarts/install-cs.md

Line 4, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

articles/resources/relnotes.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.
Line 128, Column 0: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/quantum/libraries/machine-learning/?view=qsharp-preview NOTE: This Suggestion will become a Warning in early December, 2020.

articles/tutorials/intro-to-katas.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.

articles/tutorials/search.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/host-programs.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/chemistry/concepts/algorithms.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/chemistry/samples/end-to-end.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/machine-learning/design.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/machine-learning/intro.md

Line 4, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

articles/user-guide/libraries/standard/applications.md

Line 7, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/characterization.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/data-structures.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/error-correction.md

Line 7, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/licensing.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/using-qsharp/control-flow.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/using-qsharp/operations-functions.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/tutorials/qubit-level.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/language/types.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/convert.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/machines/index.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/quickstarts/install-python.md

Line 4, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

articles/user-guide/using-qsharp/testing-debugging.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/media/README.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

api/iqsharp-magic/estimate.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 58, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/azure.submit.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 71, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/check_kata.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 31, Column 1: [Suggestion-code-block-unclosed] Unclosed code block. Code blocks must begin and end with triple backticks (```). NOTE: This Suggestion will become a Warning in late September, 2020.

api/iqsharp-magic/index.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/performance.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/project.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 49, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/simulate.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 46, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/toffoli.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 47, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/chemistry.broombridge.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/trace.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 48, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 56, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/package.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 49, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 58, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/workspace.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 49, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/who.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/qsharp/index.md

Line 6, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.
Line 3, Column 8: [Suggestion-duplicate-titles] Title 'Q# standard library for Microsoft Quantum - Q# reference - Microsoft Quantum' is duplicated in: 'index.md(3,8), qsharp/index.md(3,8)'. Titles must be unique within a docset.
Line 4, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Reference documentation for the Q# standard library for Microsoft Quantum' is duplicated in 'index.md(4,14)', 'qsharp/index.md(4,14)'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/chemistry.fh.load.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/kata.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 31, Column 1: [Suggestion-code-block-unclosed] Unclosed code block. Code blocks must begin and end with triple backticks (```). NOTE: This Suggestion will become a Warning in late September, 2020.

articles/user-guide/libraries/machine-learning/index.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

api/iqsharp-magic/lsopen.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/lsmagic.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

api/iqsharp-magic/azure.target.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'rmshaffer' is not a valid Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 54, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Example''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

articles/user-guide/quickref/index.md

Line 5, Column 13: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/machines/resources-estimator.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

articles/user-guide/libraries/standard/algorithms.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author'<EMAIL_ADDRESS>is not a valid Microsoft alias.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Abandoning for #1051


Zeros after the decimal point are trimmed (therefore calculation problems)

Microsoft PowerToys version
0.55.1
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
The zeros after the decimal point are trimmed, therefore 0.005 becomes 0.5 or 0.03 becomes 0.3 etc.
Especially annoying when you want to calculate something (percentages).
✔ Expected Behavior
1*0.05  = 0.05
0.003 = 0.003
❌ Actual Behavior

Other Software
No response

You habe to use ,   as seperator. This depebds on your locale settings

You habe to use ,  as seperator. This depebds on your locale settings

Thanks


UI - show completed runs aggregated for a cron workflow

Summary
Currently, completed runs of a cron workflow is available in Workflow view, but that is along with other workflows or cron workflows.
Suggesting an UI enhancement to view the completed runs cron workflow either in /cron-workflows/argo or /workflows/argo
Use Cases
Easy viewing of completed workflows of a cron  workflow

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Hi @saranyaeu2987 ,
I wonder if this is what you are after

Yes!!. Thanks.

Closing as this was answered above. See also #11706 as a similar, but different enhancement request (in Workflow View as opposed to Workflow List)


Runs but can't found

Hi, I recently installed successfully the scuttlebot-release globally. I run sbot start or ssb-server start but when it comes to create an invite or do whatever, it can't connect to the running instance. It looks for 8008 but as it comes from running info, no such port is in use by ssb-server.

hmm, oh you shouldn't need to use scuttlebot-release any more. ssb-server was refactored recently and it has a shrinkwrap file. just do npm install ssb-server -g instead.

Thank you, it worked for me. Now it's up and running.


FiniteDiff with random_int

I found this bug

from ccpi.optimisation.operators import Gradient
from ccpi.framework import ImageGeometry

ig = ImageGeometry(3,4)
x = ig.allocate('random_int', max_value = 10, seed = 10)

G = Gradient(ig)

res = G.direct(x)

print(res.get_item(0).as_array())

x = ig.allocate('random_int', max_value = 10, seed = 10) * 1.

res = G.direct(x)

print(res.get_item(0).as_array())

G = Gradient(ig, backend = 'numpy')

res = G.direct(x)

print(res.get_item(0).as_array())

Initialised GradientOperator with C backend running with  4  threads
[[ -1.12103877e-44   7.00649232e-45   0.00000000e+00]
 [  0.00000000e+00  -1.40129846e-45   1.26116862e-44]
 [ -1.40129846e-45   0.00000000e+00  -4.20389539e-45]
 [  0.00000000e+00   0.00000000e+00   0.00000000e+00]]
[[ 2.25    -2.53125  0.     ]
 [-2.25     1.875    0.     ]
 [ 2.53125 -1.875    0.     ]
 [ 0.       0.       0.     ]]
Initialised GradientOperator with numpy backend
[[-8.  5.  0.]
 [ 0. -1.  9.]
 [-1.  0. -3.]
 [ 0.  0.  0.]]

The problem is only with random_int. The problem is that you implemented finitediff.c with float, but why doesn't work when we write x = ig.allocate('random_int', max_value = 10, seed = 10) * 1.

but it works when we:
ig = ImageGeometry(3,4)
x = ig.allocate()
x.fill(np.random.randint(10, size=(4,3)))
#x = ig.allocate('random_int', max_value = 10, seed = 10)

G = Gradient(ig)

res = G.direct(x)
print(res.get_item(0).as_array())

y = ig.allocate('random_int')*1.
print(x.as_array().dtype, y.as_array().dtype)

Initialised GradientOperator with C backend running with  4  threads
[[-3.  1.  0.]
 [-3. -9. -5.]
 [-3.  0.  5.]
 [ 0.  0.  0.]]
float32 float64

Are you sure the returned gradient is correct in your second comment? It looks like you're passing in 64bit floats so it'll run, but return nonsense.
I'll have a look and fix this though.

Needs check of type in Gradient and defaults to numpy if type isn't handled by Gradient_C

similar to #624 do we want to support maths on integer data?

The initial bug is fixed:
https://github.com/TomographicImaging/CIL/blob/e12c21bebbc364a581277c19d06fd15e9a9ae2ed/Wrappers/Python/cil/optimisation/operators/GradientOperator.py#L315
The gradient will convert (or TypeError if not castable) the data to float32 before calling the C implementation.


List instances does not properly work

We need to get the list of the instances of the application.
I'm operating as service provider and I need to get only the list of customizations/instances of the chosen service/application so please check this out.
At the moment we get the whole list: is a getCustomizations

@cpopsa check if there is also some check in the repo part

Do you need a rest endpoint to get customizations for a specific application? Something like /application/{idApp}/customizations ?

I do not need a new endpoint, I get the customizations from the selected APP.


Render Members details of specific section in Community section also

Description

Render Members details of specific section below the details of community.
Screenshots/testimonials

Expected :

The Code from the members component can be reused here!

working on it 🙌


[Feature/FIB-XXX] Improve package

This pull request refactors the SDK to streamline the usage examples, consolidate the codebase, and improve the overall structure. The most important changes include updating the documentation, removing redundant example files, and introducing a new client class for handling payment operations asynchronously.
Documentation Updates:

README.md: Consolidated the usage examples into a single comprehensive example, demonstrating how to create, check status, refund, and cancel payments using the SDK.

Codebase Simplification:

examples/: Removed individual example files (cancel_payment.py, check_payment_status.py, create_payment.py, refund_payment.py) and replaced them with a single example.py file. [1] [2] [3] [4]
examples/fib_payment_operations.py: Removed the old service-based payment operations file.

New Client Implementation:

src/fib_payments/client.py: Introduced FIBPaymentsClient class to handle payment operations asynchronously, including methods for creating payments, checking payment status, refunding, and canceling payments.
src/fib_payments/config.py: Added FIBConfig class for managing SDK configuration.
src/fib_payments/exceptions.py: Defined custom exceptions for handling various error scenarios.
src/fib_payments/utils.py: Implemented utility functions, including an HTTP client with retry logic.

Configuration and Initialization:

src/fib_payments/__init__.py: Added module initialization file to export key classes and exceptions.
pytest.ini: Configured pytest to support asynchronous tests.

These changes collectively enhance the SDK's usability, maintainability, and robustness.

TODO:  We will also try to rename the PIP package with fib_payments.


Mark some configurators assertion as not testable.

@mkouba @manovotn Guys if you have some idea how to test these assertions I am all ears.
It seems to me that it's not possible to get the original instance (IP, OM, BA) from configurator once you call configure.
Note that this is possible with AnnotatedTypeConfigurator where getAnnotated method is available.

Yea its not possible to retrieve the original, yet I don't think it would be useful to have that.
The only way to verify it would be to use identical IP in two beans and configure one of them (without triggering changes to it - just let the configurator overwrite it). Then make assertions that they "the same" - probably checking on qualifiers, type etc. Then again, I don't really know how to retrieve IP information once you leave the extension. So you might end up only checking the resulting injected beans...

This will be tested. Thanks.


can udp2raw work on win10?

English Only.
I don't find exe files in source code.zip. How to run udp2raw on windows?

Thank you very much!

there is a client-only version released at:
https://github.com/wangyu-/udp2raw-multiplatform/releases/tag/20230206.0

there is a client-only version released at:
https://github.com/wangyu-/udp2raw-multiplatform/releases/tag/20230206.0

Thank you. But I still don't know how to run udp2raw on windows with the files download from https://github.com/wangyu-/udp2raw-multiplatform/releases/tag/20230206.0
Do I need to compile, similar to the ‘make’ command？

Is it the case that udp2raw doesn't support running on Windows? If it can't run, please let me know, and I won't attempt it again.

see:
https://github.com/wangyu-/udp2raw-multiplatform/wiki
https://github.com/wangyu-/udp2raw-multiplatform/wiki/Quick-Start


Ability to keep parts of the sum in the source accounts

This PR adds a new keyword to allow keeping a part of the sum in a destination.
Example usage
send [GEM 50] (
	source = {
		@foo // [GEM 10]
		@bar // [GEM 20]
		@baz // [GEM 20]
	}
	destination = {
		50% kept
		25% to @qux
		remaining to @quz
	}
)

Assuming foo has 10, bar has 20, baz has 20:
The sum gets split as (26, 12, 12)
[GEM 26] is kept in the source accounts, so we end up with the following postings:
@foo 10 -> qux
@bar 2 -> qux
@bar 12 -> quz
Note
This PR also removes DestinationMaxed, which was previously only ever usable in DestinationInOrder, and instead modifies the DestinationInOrder syntax in the following way:
{
  max <monetary amount> to <destination>
  max <monetary amount> to <destination>
  // as many `max` lines as we want
  remaining to <destination>
}

at any point, "to <destination>" can be replaced by "kept"

@Azorlogh I guess you didn't meant to at handle me, right?

I guess you didn't meant to at handle me, right?

You're right, sorry for the ping!


Header for login/signup pages

Same header style as on the other pages with ability to change the language

Since navbar is moved to a seperate file we can include this with jinja:
{%- include "invenio_theme_tugraz/navbar.html" %}


Snapcraft Installed dbeaver-ce Shouldn't Lead to RPM Version Upgrades

I'm running Dbeaver 7.1.0, which I installed onto Kubuntu 20.04 via snapcraft.
Upon launch, Dbeaver informs me that 7.1.2 is available, but if I click the "Upgrade" button is leads me to web page that prompts me to download a RPM package, which is incorrect for snap installs and for Ubuntu based distributions in general.
This doesn't confuse me; I know that I just need to wait for the snap-package to be upgraded and I'll automatically receive the upgrade via my normal system update process. However, I thought I'd mention this because I can imagine it confusing others.

thanks for the bug report.
closed as a duplicate of #8545

Are you sure this is the exact same bug? It is certainly similar, but keep in mind that the Snap packaged installation of Dbeaver probably shouldn't point to either debian or RPM packages. It is my understanding that snap packages are automatically upgraded via regular system update once the snap package maintainer upgrades the snap package itself in the snap repository. Which, if so, is great because you wouldn't have to tell them about upgrades, they'd just get them.
I could be wrong about this, but it seems I notice other snap packages auto-upgrading in this way in Kubuntu 20.04.


ISS197: enable checking/reprojection of raster tile bounds vs. vector source CRS

Description
solaris.tile.vector_tile.VectorTiler didn't previously check if the tile bounding box CRS and the vector file's CRS were the same. Added an argument, tile_bounds_crs, that enables users to provide the crs if they're different, and transform as necessary.
Fixes #197
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected - these changes will not be merged until major releases!)

How Has This Been Tested?
Checklist:

[ ] My PR has a descriptive title
[ ] My code follows PEP8
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new errors
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] My PR passes Travis CI tests
[ ] My PR does not reduce coverage in Codecov

If your PR does not fulfill all of the requirements in the checklist above, that's OK! Just prepend [WIP] to the PR title until they are all satisfied. If you need help, @-mention a maintainer and/or add the Status: Help Needed label.

Codecov Report

Merging #203 into dev will increase coverage by 36.26%.
The diff coverage is 76.92%.

@@             Coverage Diff             @@
##              dev     #203       +/-   ##
===========================================
+ Coverage   29.97%   66.23%   +36.26%
===========================================
  Files          54       67       +13
  Lines        4020     4561      +541
===========================================
+ Hits         1205     3021     +1816
+ Misses       2815     1540     -1275

Impacted Files
Coverage Δ

solaris/tile/vector_tile.py
78.12% <76.92%> (+62.03%)
:arrow_up:

tests/test_cli/test_cli.py
93.33% <0%> (ø)

tests/test_nets/test_transform.py
100% <0%> (ø)

tests/test_eval/iou_test.py
100% <0%> (ø)

tests/test_nets/test_optimizers.py
100% <0%> (ø)

tests/test_eval/evaluator_test.py
100% <0%> (ø)

tests/test_eval/off_nadir_dataset_test.py
100% <0%> (ø)

tests/test_nets/test_datagen.py
100% <0%> (ø)

tests/test_nets/test_metrics.py
100% <0%> (ø)

tests/test_eval/pixel_test.py
100% <0%> (ø)

... and 37 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 e4d055b...5629eea. Read the comment docs.


Hide port in QRCode to use qrcp behind a reverse proxy

I'm opening this issue because:

[ ] I have found a bug
[x] I want to request a feature
[ ] I have a question
[ ] Other

Feature proposal:
Add an option allowing users to hide the port (and the colon) displayed in the QRCode and URL, allowing people to put qrcp behind a reverse proxy.
Problem example:

User creates a reverse proxy entry for qrcp.example.com and forward it to localhost:6666;
User configs qrcp to use port 6666 and fqdn qrcp.example.com;
The generated QRCode redirects to http://qrcp.example.com:6666 instead of qrcp.example.com (:80).

Proposal:

Add an option to hide the port and colon in the displayed QRCode, or
Allow users to specify a full base URL. This option must conflict with --fqdn and --port option, and could even let users specify the protocol (example: -f https://qrcp.example.com.

Advantages:

Cleaner URL;
Allows HTTPS if the reverse proxy handle certificate generation (like Caddy);
Allows people behind high-restricted proxy (not allowing users to access websites that are not on port 80 or 443), to use qrcp;
Using a custom DNS + reverse proxy like presented, allows the use of qrcp behind NATed network (qrcd server is in a NATed network, reverse proxy is on the edge of the network or on a remote server forwarding traffic through SSH tunnel, and user is on a different network like 4G).

Hi, thanks for suggesting, I like this a lot. Let me think about a couple possible implementation and will let you know.
It may take some days, I'm a bit busy lately.
Cheers,
Claudio

Which proposal better fits the project? Adding an option to hide the port? Adding an option to specify a complete base URL? Or maybe something else?

I like the second approach the most, honestly. However, we will have to figure out how not to confuse the end user about what is used and what is just displayed.


Refactor web-public streams related code.

Follow-up tasks mentioned in #20340.
Will open a separate PR for live-update work.

Merged, thanks @sahil839!


hack/tls-setup minor fixes

Minor tweaks to hack/tls-setup example:

install goreman since the example references and uses it
add generated certs directory to gitignore

lgtm. thanks.


Missing games

Football Manager 2020
https://stadia.google.com/store/details/8a3cc52ad2334b1e91ded77bc43644e0rcp1/sku/32a0791a88474f08ad7a687846b786f2
Metro Last Light Redux
https://stadia.google.com/store/details/b65c1c4dcdf24446bcecda190c6a2fe7rcp1/sku/92cd0fa4958444b5846d1b72878c7e25
Metro 2033 Redux
https://stadia.google.com/store/details/9b3ea6519cac48d68ca821f07b1a6a3drcp1/sku/de1e97332f1148468759dfc4553edad9
Family Feud
https://stadia.google.com/store/details/5ba98de70c8c4b64bf56ca9009d60e62rcp1/sku/3af579475c334c62985ac80b3dfed0bap

THanks will add these!

A bit strange with Football Manager and Family Feud, it seems like these are no longer available for purchase.
I can not see them in the listing and if I use your link I can not buy them.
I will add them to the list but probably add some kind of message to them in the listing.

These have been added

Thanks!
FM2020 has been removed from the store indeed, and Family Feud is only available in US, UK and Canada.

@chocomega Are you sure about the countries for Family Feud? I guess it makes sense (since I'm in Sweden) but on the game page it says "Belgium, Canada, Denmark, Finland, France, Germany, Ireland, Italy, Netherlands, Norway, Spain, Sweden, United Kingdom, United States".
But it would make sense to update countries in SOGDb in that case.

Yes that was announced in this post https://community.stadia.com/t5/Stadia-Community-Blog/This-Week-on-Stadia-Viking-invasions-dance-parties-and-the/ba-p/38384

Purchase Family Feud in the Stadia store for $29.99 USD beginning November 12, only in the US, UK, and Canada.

Sweet, thanks for the reply. I will remove the "hidden" flag and change the countries then :)
To bad the stadia store team doesn't care about their data being accurate :D


Response type & scope

Hi,
This document lists how the Portal authentication needs to be configured to use Azure AD B2C as the provider.

when you enter the Authority URL, while following the wizard mentioned here in step 5a, it doesn't accept a custom B2C URL if your B2C uses a custom URL. In production, users will tend to use a Custom B2C URL (setup via a azure front door)
when you go to Site Settings and change the Authority URL to a custom B2C URL, the type of provider changes to "Other (OpenID Connect)" but in Site Settings the values are still B2C provider related e.g., 'Authentication/OpenIdConnect/AAD-B2C_1/Authority"
This is B2C provider, and the step 4>c>ix you are suggested to enable only Access tokens (used for implicit flows). But due to the issue mentioned in step 2, you now have scope, response type to select
Due to step 3 if we then refer https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings the step 6>k asks us to select ID token instead of access token. Now you have site settings show the "Authentication/OpenIdConnect/AAD-B2C_1/Authority" settings (instead of "Authentication/OpenIdConnect/OpenId_1/Authority", the portal authentication settings page show OpenIDConnect  as provider type and mismatch between what needs to be selected in app registration.

Could someone clarify?

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

ID: dfb5611f-dfc2-dab5-536c-b86db008b4bf
Version Independent ID: db45733d-fcfb-e92b-1107-7a7ed3d57028
Content: Configure the Azure Active Directory B2C provider manually - Power Apps
Content Source: powerapps-docs/maker/portals/configure/configure-azure-ad-b2c-provider-manual.md
Service: powerapps
Sub-service: portals
GitHub Login: @sandhangitmsft
Microsoft Alias: sandhan

Thanks for your comment, @ramuvr. This issue has been assigned to the doc author for review.

If you're still experiencing the issue described here, please reopen or create a new issue.


Add a github action to publish mkdocs pages

As per discussion here https://wise-agents.zulipchat.com/#narrow/stream/451287-dev/topic/PR.20reviews

@maeste @fjuma Do you have the current steps for building/uploading the docs?

@kabir The current steps are described here: https://github.com/wise-agents/wise-agents.github.io


Possible typo in vendor_ie_data_t (IDFGH-1621)

Environment

Development Kit:     none
Kit version (for WroverKit/PicoKit/DevKitC): none
Module or chip used:  ESP32-WROVER
IDF version (run git describe --tags to find it): v4.0-dev-1381-g6fe853a2c
Build System:         CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it): version 8.2.0 (crosstool-NG esp32-2019r1)
Operating System:  Linux
Power Supply:  USB

Problem Description
In the header file esp_wifi.h, the struct vendor_ie_data_t has an element called uint8_t payload[0]. Isn't it should be uint8_t *payload or uint8_t payload[250] instead? How can I copy something to a zero-length byte array in C++ anyway?? Or...have I forgot something in C/C++ syntax?
I've tried using memcpy my payload to it, like this:
std::memcpy(vendor_data.payload, &payload, sizeof(payload));

But GCC (actually it's g++, as my code is in C++) throws me an error like this:
../main/lib/net_ctrl/wifi_manager.cpp:159:16: error: 'void* memcpy(void*, const void*, size_t)' forming offset [7, 102] is out of the bounds [0, 6] of object 'vendor_data' with type 'vendor_ie_data_t' [-Werror=array-bounds]
     std::memcpy(vendor_data.payload, &payload, sizeof(payload));
     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../main/lib/net_ctrl/wifi_manager.cpp:156:22: note: 'vendor_data' declared here
     vendor_ie_data_t vendor_data;

Expected Behavior
The payload element in vendor_ie_data_t should be either uint8_t *payload or uint8_t payload[250].
Actual Behavior
It's uint8_t payload[0].

Hi all,
Okay fine. It's a pre-C99 way of making a variable-length array in struct. See here for more example: https://stackoverflow.com/questions/295027/array-of-zero-length
But I still strongly suggest the payload should be either a fixed-length array or an uint8_t *. It's very ugly as I need to do dynamic memory allocation, like this:
    auto *vendor_data = (vendor_ie_data_t *)malloc(sizeof(vendor_ie_data_t) + sizeof(payload));
    vendor_data->element_id = WIFI_VENDOR_IE_ELEMENT_ID;
    vendor_data->length = sizeof(payload);
    std::memcpy(vendor_data->payload, &payload, sizeof(payload)); // Won't work for now
    std::memcpy(vendor_data->vendor_oui, &vendor_oui, sizeof(vendor_oui));
    vendor_data->vendor_oui_type = 0;

    ret = esp_wifi_set_vendor_ie(true, WIFI_VND_IE_TYPE_BEACON, WIFI_VND_IE_ID_0, vendor_data);
    if(ret != ESP_OK) {
        ESP_LOGE(TAG, "Failed to set vendor IE, ret: %u", ret);
        return ret;
    }

Jackson


apple theme needs work

Seems to be a few discrepancies with the apple theme. E.g. edgetoedge has rounded corners if used the same way as the jqt theme (i.e. by adding the class to the ul).
The CSS is back to front. E.g. it has ".edgetoedge ul" instead of "ul.edgetoedge".
You could of course assign the edgetoedge class to the parent container, but that's not consistent with the other theme.
The path to url(../images/chevron_dg.png) is also invalid.
Finally, could do with some buttons which fit the apple theme a bit better (i.e. sit on a white background). I've made my own red delete button as there was nothing appropriate there.

Being fixed in the recent version.


Incorrect second derivative for softmax cross entropy

System information

I've written custom code
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tensorflow-gpu==1.2.1
python version: 2.7.12
CUDA/cuDNN version: CUDA version: 8.0 and CUDNN version is: 8.0
GPU model and memory: GeForce GTX 750 2GB

Incorrect second derivative for softmax cross entropy
Source code / logs
import tensorflow as tf
import tensorflow.contrib.eager as tfe
import numpy as np

tfe.enable_eager_execution()

logits = [0.5, 0.5]
y = [1, 0]

def loss_function(x):
    loss2 = tf.nn.softmax_cross_entropy_with_logits_v2(labels=y, logits=x)
    return loss2

grad_loss = tfe.gradients_function(loss_function)
print grad_loss(logits)[0] # prints correct gradient [-0.5 0.5]

gradgrad_loss = tfe.gradients_function(lambda x: grad_loss(x)[0])
print gradgrad_loss(logits)[0] # this should be [-0.25,  0.25], but it prints [0. 0.]

@ebrevdo would you PTAL?

cc @alextp @asimshankar

I think this is working as intended. You're differentiating a vector-valued function and we differentiate only scalar-valued functions.
When we build a scalar function out of a vector function to differentiate we reduce_sum the vector and so you are computing the second gradient of the sum of the components of the first gradient (so the derivative of the divergence of the softmax, if you will) which is 0.

@alextp Hi, Thank you for your response. Do you have any suggestions how I can find second derivative for such kind of function (e.g. softmax crossentropy with logits)?

You can implement the function yourself using primitive TF ops; then second
derivatives will work.
On Sat, Nov 18, 2017 at 9:30 PM, Arman Zharmagambetov <
<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp Hi, Thank you for your response. Do
you have any suggestions how I can find second derivative for such kind of
function (e.g. softmax crossentropy with logits)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/14641#issuecomment-345493360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim_4yg8d3iL48lZIPuIwx7dZml6cZks5s37zYgaJpZM4QhZfY
.

You can try this. It computes the hessian matrix for softmax cross entropy. Though it may be not efficient enough.
import tensorflow as tf
import tensorflow.contrib.eager as tfe
import numpy as np

tfe.enable_eager_execution()

logits = [0.5, 0.5]
y = [1, 0]

def loss_function(*x):
    loss2 = tf.nn.softmax_cross_entropy_with_logits_v2(labels=y, logits=x)
    return loss2

grad_loss = tfe.gradients_function(loss_function)
for i in range(len(logits)):
    print(tfe.gradients_function(lambda x: grad_loss(*x)[i])(logits))

@ebrevdo What do you mean by primitive TF ops? I've trie to use the following, but still it doesn't work :
logits = [0.5, 0.5]
y = [1, 0]

def loss_function_v2(x):
    loss2 = tf.reduce_mean(-tf.multiply(y, tf.log(tf.nn.softmax(x))))
    return loss2

grad_loss = tfe.gradients_function(loss_function_v2)
print grad_loss(logits)[0] # prints correct gradient [-0.5 0.5]

gradgrad_loss = tfe.gradients_function(lambda x: grad_loss(x)[0])
print gradgrad_loss(logits)[0] # this should be [-0.25,  0.25], but it prints [0. 0.]

@armanform what you could do to your code easily is look at the derivative of the first dimension of the gradient of the loss with respect to the logits, which gives you the numbers you were thinking of:
import tensorflow as tf
import tensorflow.contrib.eager as tfe
import numpy as np

tfe.enable_eager_execution()

logits = [0.5, 0.5]
y = [1, 0]

def loss_function(x):
    loss2 = tf.nn.softmax_cross_entropy_with_logits_v2(labels=y, logits=x)
    return loss2

grad_loss = tfe.gradients_function(loss_function)
print grad_loss(logits)[0] # prints correct gradient [-0.5 0.5]

gradgrad_loss = tfe.gradients_function(lambda x: grad_loss(x)[0][0])  # this should be +-0.25

@qmick  @alextp  Thank you! One more question. Is is possible to obtain only diagonal entries of hessian?

We don't have a way to make it efficient to differentiate with respect to slices of a tensor so the easiest way to get the diagonal entries only is to compute the whole thing and slice it.
You could maybe start with individual scalar variables, stack them into a vector, and then you'll be able to get second derivatives with respect to them only.

For example for VGG16 architecture I have to create 138M scalar variables? :)

Yeah that won't be practical.


Prevent overriding resource if IRI ends with #

This should fix https://github.com/solid/solidproject.org/issues/546.
When fetching a resource, its source IRI is server-managed, which means
it does not include a hash fragment. Writing back to a resource that
has been fetched including the hash fragment, there was a mismatch
between the source IRI (no fragment) and the target IRI (with the
fragment), which lead the library to do a PUT instead of a PATCH.
IRIs are now normalized before being compared.
Note to reviewers: Initially, I thought about normalizing the response's url on fetch, and only normalizing the target IRI in isUpdate, but it had more side-effects, and it needed a lot of test updated because they do not set url on the Response when  fetching. I didn't find any additional places where the source IRI should be updated.
Additionally, do you think it would be wise to add to the API a saveSolidDatasetBack function, that does not take a target url, and only uses the source IRI from the provided SolidDataset ? That would enable being extra-explicit about the expected behaviour, and would prevent a PUT to be considered at all.

[X] I've added a unit test to test for potential regressions of this bug.
[x] The changelog has been updated, if applicable.
[X] Commits in this PR are minimal and have descriptive commit messages.

Initially, I thought about normalizing the response's url on fetch, and only normalizing the target IRI in isUpdate

Wasn't that already the case? That does indeed sound desirable, but maybe something to do in a separate PR if it had so much fallout.

Arguably, now that we are only using the server-managed IRIs (as opposed to user-provided ones), such normalization when fetching isn't as critical, but that still sounds like a reasonable thing to do.


If the string is surrounded by formatting advanced-cursors selects the whole text instead

Consider
(*15 + 2*, + 7)
(*15 + 2*, + 8)
(*15 + 2*, + 9)

Then, selecting 15 + 2 and pressing ^d will result in:

Instead of "just selecting the selection".
This also prohibits being able to select further matches.

Hey thanks for the issue!
Indeed, this is a known limitation. The plugin was written before Obsidian added Live Preview, so alot of the changes are supported at the moment

Ah, I see. Last commit is 3yo 😅
My bad

All good :)
I'll leave the issue open for if I ever get back to this project


Make case-insensitive-legacy part of possible ordered-imports options

Bug Report
The current case-insensitive option for ordered-imports handles sensitivity using toUpperCase method.
Such a way makes it incompatible with Webstorm/Intellij IDEA imports optimizer which uses toLowerCase as comparator.
I guess the toLowerCase method was the previous way to compare imports because there was no conflict between TSlint and Webstorm before the upgrade to TSLint 6 and, moreover, a rule case-insensitive-legacy still exists in the codebase using toLowerCase as comparator.
Currently, I use the case-insensitive-legacy option but it's not provided in the doc, and I guess going to be deprecated and removed soon, which would make totally incompatible imports organization between linter and Webstorm.

TSLint version: 6.0.0
TypeScript version: 3.8.3
Running TSLint via: Angular CLI (ng)

TypeScript code being linted
import { abc, a_c } from 'foo'

with tslint.json configuration:
    "ordered-imports": [
      true,
      { "import-sources-order": "case-insensitive", "named-imports-order": "case-insensitive" }
    ],

Actual behavior
import { abc, a_c } from 'foo'

Expected behavior
import { a_c, abc } from 'foo'

Please note that TSLint is deprecated

OK, I guess there will not be any removal of the case-insensitive-legacy option btw.
Thanks.

🤖 Beep boop! 👉  TSLint is deprecated 👈  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


Use constants for CSS colors

Set SCSS constants for colors to  increase reusability and modularity

working on this issue :rocket:


Improve Conti radar preprocessor

Enable the Conti Radar pre-processor to handle obstacles ids in the whole range int32 (previously only in the range 0-99).
This fix enable the use of LGSVL's RADAR for obstacle detection.

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

Enable the Conti Radar pre-processor to handle obstacles ids in the whole range int32 (previously only in the range 0-99).
This fix enable the use of LGSVL's RADAR for obstacle detection.

I think this change makes sense, please rebase and resolve the conflict, thanks for contributing to Apollo!

@pantonante

Sorry @Capri2014 I messed it up because I rebased to master, seems I cannot change the branch to which merge now. Do you mind if I close (and possibly delete this pull-request) and create another one?

Sorry @Capri2014 I messed it up because I rebased to master, seems I cannot change the branch to which merge now. Do you mind if I close (and possibly delete this pull-request) and create another one?

please go ahead and do so.


Setup initial meeting

Have docket process explained to Sebastien by Admins

Was this initial meeting setup? @jaysonmc @smellems


Updated documentation for video adapter support.

Please see related pull request https://github.com/prebid/Prebid.js/pull/3901

Hello @bretg
We were hoping to include our new adapter and these doc updates for 2.21.0 next week. Do you think it will be possible?
Thank-you

Released with 2.21


docs(flutter-freezed-docs): :memo: updated the flutter freezed plugin…

[x ] This change requires a documentation update

@charlypoly, here the the updates for the flutter-freezed-plugin as promised

@Parables, I fixes the API doc: https://graphql-code-generator-4vbqdw753-theguild.vercel.app/plugins/dart/flutter-freezed

@charlypoly, I really appreciate that you accept my PRs and fix them for me.
It feels so rewarding just  seeing my work out there and npm says the plugin get 46 downlaods /week  on average.
I feel so motivated to continue working on this plugin and extend it to be something like KitQL but for Flutter
PS: I am willing to help out anyway I can. Just assign me to any task and I will make sure it get done.

Hi @Parables,
I'm glad that we got your work published! 🎉
I'll let you know if we can improve codegen for the Dart ecosystem 😉
Thank you!

I will be looking forward to that.
Thank you so much


Python 3.9: remove pynio as dependency and let cmorizer script use xarray with default engine and unpin Matplotlib

Pynio removal
pynio is no longer maintained and is an obsolete package preventing us to support Python 3.9 as described in #1996 and a general nuisance as described in #1935
As far as the functionality in ESMValTool goes, it is used as a file loader engine for xarray in the cmorizer esmvaltool/cmorizers/obs/cmorize_obs_eppley_vgpm_modis.py script, but according to the xarray function documentation the engine arg is optional, and if not specified, the defaults netcdf4 is used and preferred. ~Any reason why the pynio engine is explicitly used? I don't have the rawOBS data so I can't test but if there is no particular reason for pynio use, please approve this PR; if there is a proper reason for pynio please mention it here and provide a usable and viable alternative.~ see below for rasterio
pynio -> rasterio
@tomaslovato examined the situation and recommended rasterio for an engine; rasterio is supported and on both conda-forge and PyPi (see pypi package). I have added it to the environment to be installed from PyPi and the environment builds well (without ESMValCore from PyPi, but installed in development mode, to test the Python 3.9 compatibility). rasterio wheel builds fine in a Python 3.9 environment and ESMValTool installs fine. @tomaslovato promised to include code for its use in the cmorizer script :+1:
Unpin Matplotlib
I unpinned Matplotlib since we are not wanting Matplotlib 3.3.1 (the bug reported in Nikolay's comment) but 3.3.1 is already very old and 3.3.3 will be installed automatically. ~If we really are paranoid, we can force a condition !=3.3.1 but I don't think it's necessary.~ I have now pinned the lower bound to >3.3.1 to help the environment solve faster.
Replace conda env update with conda env create
In the Circle CI script I replaced calls to conda env update with full blown env creation conda env create, conda update is a bit hit and miss.
Closes: #1935 #1996 #1998

Pynio removal
pynio is no longer maintained and is an obsolete package preventing us to support Python 3.9 as described in #1996 and a general nuisance as described in #1935
As far as the functionality in ESMValTool goes, it is used as a file loader engine for xarray in the cmorizer esmvaltool/cmorizers/obs/cmorize_obs_eppley_vgpm_modis.py script, but according to the xarray function documentation the engine arg is optional, and if not specified, the defaults netcdf4 is used and preferred. Any reason why the pynio engine is explicitly used? I don't have the rawOBS data so I can't test but if there is no particular reason for pynio use, please approve this PR; if there is a proper reason for pynio please mention it here and provide a usable and viable alternative.

@valeriupredoi As discussed in #1935, the xarray defaults netcdf4 is generally preferred, but it is not able to open and read HDF4 data (used e.g. for MODIS satellite data). The xarray documentation suggest to use a dedicated interface with the engine=pynio ( see xarray Reading and writing files).
After spending a bit of time in looking for viable alternatives, I was able to revise the 'indicted' cmorizer by using the xarray rasterio function to open the files and read the data
So the rasterio package can be a replacement for pynio ...
@valeriupredoi could you check if adding rasterio to the environment is ok?
If so, I'll be happy to update the cmorizer.

Pynio removal
pynio is no longer maintained and is an obsolete package preventing us to support Python 3.9 as described in #1996 and a general nuisance as described in #1935
As far as the functionality in ESMValTool goes, it is used as a file loader engine for xarray in the cmorizer esmvaltool/cmorizers/obs/cmorize_obs_eppley_vgpm_modis.py script, but according to the xarray function documentation the engine arg is optional, and if not specified, the defaults netcdf4 is used and preferred. Any reason why the pynio engine is explicitly used? I don't have the rawOBS data so I can't test but if there is no particular reason for pynio use, please approve this PR; if there is a proper reason for pynio please mention it here and provide a usable and viable alternative.

@valeriupredoi As discussed in #1935, the xarray defaults netcdf4 is generally preferred, but it is not able to open and read HDF4 data (used e.g. for MODIS satellite data). The xarray documentation suggest to use a dedicated interface with the engine=pynio ( see xarray Reading and writing files).
After spending a bit of time in looking for viable alternatives, I was able to revise the 'indicted' cmorizer by using the xarray rasterio function to open the files and read the data
So the rasterio package can be a replacement for pynio ...
@valeriupredoi could you check if adding rasterio to the environment is ok?
If so, I'll be happy to update the cmorizer.

@tomaslovato cheers for looking into this, mate, and proposing rasterio, I'll add it to the dependencies list here and test the environment creation and functionality (tomorrow) :+1:

@tomaslovato cheers for looking into this, mate, and proposing rasterio, I'll add it to the dependencies list here and test the environment creation and functionality (tomorrow) :+1:

@valeriupredoi actually to use rasterio in the cmorizer it is necessary to change few lines of the code, not only the engine property.
If you want to add in this PR the requited changes to esmvaltool/cmorizers/obs/cmorize_obs_eppley_vgpm_modis.py
I can provide the new script using rasterio

@valeriupredoi actually to use rasterio in the cmorizer it is necessary to change few lines of the code, not only the engine property.
If you want to add in this PR the requited changes to esmvaltool/cmorizers/obs/cmorize_obs_eppley_vgpm_modis.py
I can provide the new script using rasterio

@tomaslovato could you pls commit here if it's not too long? Cheers :beer:

@tomaslovato could you pls commit here if it's not too long? Cheers :beer:

@valeriupredoi I added the required changes to the cmorizer code that produces a file that is exactly the same as in previous version (at least on our cluster!)

@valeriupredoi I added the required changes to the cmorizer code that produces a file that is exactly the same as in previous version (at least on our cluster!)

 Don't wait up on the tests, the environment creation takes a while.  Don't wait up on the tests, the environment creation takes a while. This is ready for merge, thanks @tomaslovato 🍺

about @bouweandela 's suggestion to pin Cartopy - there is this PR https://github.com/ESMValGroup/ESMValTool/pull/1893 that I will now include here, for a proper all-in-one test of env solvability etc, and then once we merge this one we can just close that one

about @bouweandela 's suggestion to pin Cartopy - there is this PR https://github.com/ESMValGroup/ESMValTool/pull/1893 that I will now include here, for a proper all-in-one test of env solvability etc, and then once we merge this one we can just close that one

full port of #1893 here so I will close w/o merges that one when we merge this one :+1:

full port of #1893 here so I will close w/o merges that one when we merge this one :+1:


The ignores option requires the filename option to be defined

Input (inside package.json):
  "xo": {
    "extends": "prettier",
    "plugins": ["babel", "prettier"],
    "parser": "babel-eslint",
    "rules": {
      "prettier/prettier": [
        "error",
        {
          "singleQuote": true,
          "bracketSpacing": true,
          "trailingComma": "none"
        }
      ],
      "max-len": [
        "error",
        {
          "code": 80,
          "ignoreUrls": true
        }
      ]
    },
    "ignores": [
      "schemas/**",
      "assets/public/bower/**",
      "assets/public/js/vendor/**",
      "assets/public/js/templates/**",
      "cache/**"
    ],
    "space": true
  },

Output:
Formatter xo_javascript has errors: Error: The `ignores` option requires the `filename` option to be defined.
    at Object.exports.lintText (/Users/niftylettuce/Public/test/node_modules/xo/index.js:37:11)
    at getStdin.then.str (/Users/niftylettuce/Public/test/node_modules/xo/cli.js:163:19)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

You have to specify the --stdin-filename flag.

Does this need patched in vim-autoformat perhaps @sindresorhus?  I'm just using it in package.json and running it.

Ah, this makes sense, because you have to know what the current file name is for ignoring.  I'll submit a PR to vim-autoformat perhaps.

Closing as this was fixed in vim-autoformat.


How to change batch_size when load a frozen model?

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

You have to recreate the freeze model to ensure that the N-channel is "?".
Refer to this:https://stackoverflow.com/questions/40586471/what-is-the-best-way-to-run-saved-model-with-different-batch-size-in-tensorflow?rq=1
Since the graph is appendable-only, I think you must recreate it with desired input dims at the beginning.
BTW, you'd better take a look at the description before submitting an issue. A rule is a rule, everyone has to obey to that.

Nagging Assignee @aselle: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@oscarriddle
Thank you. It is a possible way to solve the problem, but I haven't try yet.


Feature/core components

@prafullmaru can you please review and approve this request

Export to Excel feature is missing in grid. Can we add it please?

Another observation: there is no option to filter columns in grid


Issue with CSS for DPUL footer

The footer doesn't appear to be fixed.

👍 I'm seeing this too — the header is centered and grows a bit as you expand the page width, but the footer stays on the left.

FYI Footer also moves vertically depending on the content within the main container of the page.


Do not run introspection tests

Summary
We do not want to run any full introspection tests in pr checks.
There are simple checks within other CRUD tests.
there are now two we need to skip
so use just "introspection" to make it generic.
Testing steps
Test pass
Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

https://issues.redhat.com/browse/HMS-3482

Thank you


refactor code style, move more things into seperate components

Note: This branch moves the requirement for this module to react 0.14+
hold off on merging this until #12 lands in a 1.x release , this will be 2.0

bug fixed in 1.2.1 merging this and doing a major version upgrade.


How To: Use Office 2007 OCR Using C#

####introduction
If there are any photos in a specified directory, the sample program looks for them and reads the text from them. It automatically stores the text from each image in a text file with the same name. It is capable of dealing with image-related issues or exceptions.
The OCR component is available for you to utilize if you have Office 2007 installed. Office 2007 is the only new dependent in your code. It may or may not be appropriate to need the installation of Office (2007 or 2003) in order for your code to operate. This option is excellent for you if your customer can ensure that the computers on which your code will execute have Office installed (2007 or 2003).
####key takeaways
What is OCR?
What is Document Imaging?
Its Weakness and Strengths
####conclusion
In this tutorial the reader will be to learn what OCR and its purpose in data processing .He or She ill also be able to know what is Document Imaging and how it works.

Hello @Walucy98 , we thank you for submitting your topic.
However, after some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to explore another more in-depth topic.


Add Webhooks Integration support

This PR adds support for Webhooks Integration to the library.
Integration Tests:
$ export DATADOG_API_KEY="XXX"
$ export DATADOG_APP_KEY="YYY"

$ make testacc TESTARGS='-run=TestIntegrationWebhookCreateAndDelete'
go test integration/* -v -run=TestIntegrationWebhookCreateAndDelete -timeout 90m
=== RUN   TestIntegrationWebhookCreateAndDelete
--- PASS: TestIntegrationWebhookCreateAndDelete (1.39s)
PASS
ok      command-line-arguments  (cached)

$ make testacc TESTARGS='-run=TestIntegrationWebhookUpdate'
go test integration/* -v -run=TestIntegrationWebhookUpdate -timeout 90m
=== RUN   TestIntegrationWebhookUpdate
--- PASS: TestIntegrationWebhookUpdate (1.61s)
PASS
ok      command-line-arguments  (cached)

$ make testacc TESTARGS='-run=TestIntegrationWebhookGet'
go test integration/* -v -run=TestIntegrationWebhookGet -timeout 90m
=== RUN   TestIntegrationWebhookGet
--- PASS: TestIntegrationWebhookGet (1.17s)
PASS
ok      command-line-arguments  (cached)

Thanks for this submission @krish7919. Tests are failing because you need to run make generate to generate accessors for the new struct you're adding, then add the generated code in datadog-accessors.go to this PR. Can you do that please? Thanks in advance.

@dabcoder  Done!

All tests are green now!

Who merges this now, @zorkian ?

@krish7919 we (Datadog) can review your PR, bear with us and sorry for the delay in getting back to you on this one. Thanks for your work there, will update this thread soon.

Hey, this looks real good. Could you please rebase this (there are conflicting files ATM), so that I could test locally and then merge? Thanks!

@bkabrda Done!

@krish7919 hey, are you still interested in working on this? If not, do you mind if I take it over?

Sorry, I got busy. Yes, you can take it over.
Best,
Krish
On Fri, 22 Nov 2019 at 14:59, Slavek Kabrda<EMAIL_ADDRESS>wrote:

@krish7919 https://github.com/krish7919 hey, are you still interested
in working on this? If not, do you mind if I take it over?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zorkian/go-datadog-api/pull/265?email_source=notifications&email_token=ABGVBKQJ46KB7RYOXOKGPZ3QU7QULA5CNFSM4IO4U3QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE5WVHI#issuecomment-557542045,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGVBKT5FRAAGISN3UXPH63QU7QULANCNFSM4IO4U3QA
.

--
Thumb typed mail

Any updates on this ?

Thanks, I will fix the comments right away, got a few mins....

Bump....

I'm going to close this and merge #300 instead to get the feature in. @krish7919 your commit from this PR is preserved in #300 and so your contribution will still be attributed to you. Thanks so much for sending the PR!

Thanks, @bkabrda :)


Support translation of C#8 default interface methods

Java supports default interface methods, and now that C#8 supports them, we should support translating them.

This is complete in latest trunk.


Download By Id

The function download by id dont start, Could you give me an example of how do I use the function?
Please!

https://github.com/coryrwest/B2.NET/blob/master/tests/FileTests.cs#L238 is a pretty clear test on how to do this. If you have a specific question I can help you further.


Returning object from cloud missing Dates "createdAt" and "updatedAt"

Just started getting some errors today. When parsing the Date in "ParseDecoder.ParseDate", input is null. Which results in an exception at "DateTime.ParseExact" "s or format is null."
After adding some logging to the methods calling "ParseDecoder.ParseDate", specifically - "ParseObjectCoder.Decode":
DateTime? createdAt = extractFromDictionary<DateTime?>(mutableData, "createdAt", (obj) => {
	return ParseDecoder.ParseDate(obj as string);
});
DateTime? updatedAt = extractFromDictionary<DateTime?>(mutableData, "updatedAt", (obj) => {
	return ParseDecoder.ParseDate(obj as string);
});

The dictionary that contains "createdAt" and "updatedAt" doesn't actually contain those keys, resulting in "null" being sent to ParseDecoder.ParseDate. In other words, When logging all keys and values inside "mutableData", "updatedAt" and "createdAt" don't exist.
The strange this is, adding a custom Date column to my class works, the data is returned as decoded correctly.
Is there a reason why "createdAt" and "updatedAt" aren't being returned in the cloud code response? Or maybe that data is getting lost somehow?
For now I've added this to the ParseDeoder.ParseDate method:
internal static DateTime? ParseDate(string input) {

	if (string.IsNullOrEmpty(input)) {

		UnityEngine.Debug.LogWarning("ParseDate is empty! returning null");
		return null;
	}

	// TODO(hallucinogen): Figure out if we should be more flexible with the date formats
	// we accept.
	return DateTime.ParseExact(input, ParseClient.DateFormatString, CultureInfo.InvariantCulture);
}

This was a regression in the JS SDK release 1.6.0, and was fixed in 1.6.1 AFAIK. If you update the version of parse in your cloud code, it should start working again.
I'm closing this issue, but feel free to reopen it if the problem persists.

Ok Thanks, but how do you update the version of parse in cloud code?
when I type: "parse jssdk -a" it says I'm on the latest
if I change to "parse jssdk 1.6.1" it changes, but the problem still exists.


Download link is wrong on https://nmigen.info/nmigen/latest/start.html

https://nmigen.info/nmigen/latest/_code/up_counter.py is a 404
The link in the .rst leads hosted by github leads to:
https://github.com/nmigen/nmigen/blob/master/docs/_code/up_counter.py
which works. Is there a way to get the link to work for both github and read the docs?

Is there a way to get the link to work for both github and read the docs?

I don't know about both, but it was supposed to work on Sphinx as originally written. I'll take a look.


Update design-contribution.md

fix links to images #475

Signed-off-by: Aditya Saini adityasaini10012001.@outlookcom


Delete matching parentheses, brackets, or braces

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z)
OS Version: Windows_NT x64 6.3.9600
Extensions: Extensions are disabled

Steps to Reproduce:

Create a new file.
Paste the following code: var foo = (1 + bar) + baz;.
Position the cursor before the first (. It and its matching parenthesis should highlight.
Hit the delete key.
Only the first parenthesis is deleted.

It would be useful if the corresponding parenthesis, brace, or bracket were deleted when the targeted one was.
I see two ways to accomplish this:

Add a shortcut for both backspace and delete that does the operation on the matching character.
Automatically do the deletion. This could be an extension of the already-existing "editor.autoClosingBrackets" setting or (more likely) a new setting that governs this behavior.

Reproduces without extensions: Yes

This would be very useful, even if it was implemented as a keymappable action

This feature could be useful, but it could also be confusing and annoying, especially when editing code which already starts out with mismatched brackets. So it should absolutely be optional and off by default, or initially mapped to something other than plain Delete or Backspace.
Further, whether this new feature is active should be independent of whether editor.autoClosingBrackets is active.

@jkyeung Or it could be done like Atom Editor does it. Bksp for regular bahaviour C-Bksp for matching parens behaviour

There is a plugin Bracketeer, and then set vim key bindings.
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["<leader>", "p", "i"],
            "commands": ["bracketeer.removeBrackets"]
        },
        {
            "before": ["<leader>", "p", "'"],
            "commands": ["bracketeer.removeQuotes"]
        },
        {
            "before": ["<leader>", "p", "u"],
            "commands": ["bracketeer.changeBracketsTo"]
        },
    ],
    "vim.leader": "<space>"

I am interested in this as well.

I am also interested. And this feature is really needed. Note that Bracketeer did this according to language syntaxes and only supported a few languages. I do think a simple global one that could delete matching brackets even in plain text is more preferred.

This would save me so much time

What is the status of this issue? I would like the same functionality, whether builtin or via an extension.

https://stackoverflow.com/questions/41569636/how-to-delete-matching-brackets-in-vs-code#:~:text={ "key"%3A "ctrl,backspace to remove matching brackets.

https://stackoverflow.com/questions/41569636/how-to-delete-matching-brackets-in-vs-code

This thread actually solved the problem. Don't know why people downvote it

Yes, please implement this!

This would be very useful, even if it was implemented as a keymappable action

Implemented a few releases ago by introducing command Remove Brackets (ctrl+alt+backspace): https://github.com/microsoft/vscode/pull/160270

however, it would be very nice if it could be done without specific keyboard shortcut. for example. intellij editors automatically switch between deleting regular characters and matching brackets depending on whether the cursor is after brackets.


Unplugging secondary monitor results in 2 visible workspaces on main monitor (although only 1 is visible)

Step to reproduce:

Use aerospace with two monitors: main and secondary
Workspaces 1,2,3 are assigned to main monitor, workspaces 4,5,6 are assigned to secondary monitor
On main monitor, workspace 1 is focused, on secondary monitor, workspace 4 is focused
Executing aerospace list-workspaces --visible --monitor 1 returns (as expected) 1
Executing aerospace list-workspaces --visible --monitor 2 returns (as expected) 4
Now, the secondary monitor is unplugged, the main monitor remains focused on workspace 1
aerospace list-workspaces --visible --monitor 1 returns two focused workspaces: 1 \n 4 (-> bug since it should only return 1)

Duplicate of #268


drop in Box<Box<T>> as Box<Trait> broken

https://github.com/rust-lang/rust/pull/39230 changed some things around with boxed, especially that there is a "Drop impl" now: https://github.com/rust-lang/rust/blame/master/src/liballoc/boxed.rs#L297 (it's empty, doesn't drop its contents)
We should just wait for rustc to fix it.
repro:
#![feature(box_syntax)]

struct DroppableStruct;

static mut DROPPED: bool = false;

impl Drop for DroppableStruct {
    fn drop(&mut self) {
        unsafe { DROPPED = true; }
    }
}

trait MyTrait { fn dummy(&self) { } }
impl MyTrait for Box<DroppableStruct> {}

struct Whatever { w: Box<MyTrait+'static> }
impl  Whatever {
    fn new(w: Box<MyTrait+'static>) -> Whatever {
        Whatever { w: w }
    }
}

fn main() {
    {
        let f: Box<_> = box DroppableStruct;
        let _a = Whatever::new(box f as Box<MyTrait>);
    }
    assert!(unsafe { DROPPED });
}

We don't plan to fix this in rustc, you have to check if it's a Box specifically.


Foregones?

Once the track goes live, it'll be listed on https://exercism.org/challenges/48in24/implementation_status. Are there any of those exercises we can go ahead and marked foregone? Or just cross the bridge when we get to each week?

Let's go forward with the track and vote here to drop exercises via vote.
That way we can discuss a bit.

Week
Exercise
Drop?

1
leap

2
reverse-string

3
raindrops

4
roman-numerals

5
protein-translation

6
list-ops

7
acronym

8
circular-buffer

9
parallel-letter-frequency

10
allergies

11
sieve

12
luhn

13
scrabble-score

14
difference-of-squares

15
pangram

16
all-your-base

17
zebra-puzzle

18
mineseeper

19
dnd-character

20
pig-latin

21
space-age

22
yacht

23
matching-brackets

24
rna-transcription

25
binary-search

26
spiral-matrix

27
secret-handshake

28
anagram

29
kindergarten-garden

30
robot-simulator

31
knapsack

32
meetup

33
pascals-triangle

34
hamming

35
rotational-cipher

36
phone-number

37
isogram

38
bob

39
to-bucket

40
grade-school

41
bank-account

42
food-chain

43
eliuds-eggs

44
collatz-conjecture

45
run-length-encoding

46
armstrong-numbers

47
diamond

48
largest-series-produc

Added some preliminary votes. Instead of using Xs, I'm using the first letter of our GitHub usernames so we can easily track who voted where.