Failed to install with curl

Unable to install with curl, failed to clone nvm repo. Instructed to report this.
Operating system and version:
Windows 10
Node v12.16.1
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13527  100 13527    0     0  13527      0  0:00:01 --:--:--  0:00:01 66635
=> Downloading nvm from git to '/c/Users/Adam/.nvm'
=> Cloning into 'C:/Users/Adam/.nvm'...
remote: Enumerating objects: 290, done.
remote: Counting objects: 100% (290/290), done.
remote: Compressing objects: 100% (257/257), done.
remote: Total 290 (delta 35), reused 97 (delta 20), pack-reused 0R
Receiving objects: 100% (290/290), 163.27 KiB | 5.27 MiB/s, done.
Resolving deltas: 100% (35/35), done.
error: unable to create file test/fast/Aliases/"nvm alias" should not accept aliases with slashes: Invalid argument
error: unable to create file test/fast/Aliases/"nvm unalias" should accept aliases when they shadow a built-in alias: Invalid argument
error: unable to create file test/fast/Aliases/"nvm unalias" should not accept aliases with names equal to built-in alias: Invalid argument
error: unable to create file test/fast/Aliases/"nvm unalias" should not accept aliases with slashes: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias <aliasname> <target>" again should change the target: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias <aliasname>" should list but one alias.: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" lists implicit aliases when they do not exist: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" lists manual aliases instead of implicit aliases when present: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" should list all aliases.: Invalid argument
error: unable to create file test/fast/Aliases/lts/"nvm alias" should ensure LTS alias dir exists: Invalid argument
error: unable to create file test/fast/Listing paths/Running "nvm which 0.0.2" should display only version 0.0.2.: Invalid argument
error: unable to create file test/fast/Listing paths/Running "nvm which foo" should return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls --no-alias" does not call into nvm_alias: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls --no-alias" with a pattern errors: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls 0.0.2" should display only version 0.0.2.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls 0.2" should display only 0.2.x versions.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls foo" should return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls io" should return NA: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls node_" should return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls system" should include "system" when appropriate: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" calls into nvm_alias: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should display all installed versions.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should filter out ".nvm": Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should filter out "versions": Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should include "system" when appropriate: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should list versions in the "versions" directory: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" with node-like versioning vx.x.x should only list a matched version: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" with nounset should not fail.: Invalid argument
error: unable to create file test/fast/Running "nvm alias" should create a file in the alias directory.: Invalid argument
error: unable to create file test/fast/Running "nvm current" should display current nvm environment.: Invalid argument
error: unable to create file test/fast/Running "nvm deactivate" should unset the nvm environment variables.: Invalid argument
error: unable to create file test/fast/Running "nvm install" with "--reinstall-packages-from" requires a valid version: Invalid argument
error: unable to create file test/fast/Running "nvm install" with an invalid version fails nicely: Invalid argument
error: unable to create file test/fast/Running "nvm unalias" should remove the alias file.: Invalid argument
error: unable to create file test/fast/Running "nvm uninstall" should remove the appropriate directory.: Invalid argument
error: unable to create file test/fast/Running "nvm uninstall" with incorrect file permissions fails nicely: Invalid argument
error: unable to create file test/fast/Running "nvm unload" should unset all function and variables.: Invalid argument
error: unable to create file test/fast/Running "nvm use foo" where "foo" is circular aborts: Invalid argument
error: unable to create file test/fast/Running "nvm use iojs" uses latest io.js version: Invalid argument
error: unable to create file test/fast/Running "nvm use system" should work as expected: Invalid argument
error: unable to create file test/fast/Running "nvm use x" should create and change the "current" symlink: Invalid argument
error: unable to create file test/fast/Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false: Invalid argument
error: unable to create file test/fast/Running "nvm use" should drop CR char automatically.: Invalid argument
error: unable to create file test/slow/Running "nvm current" should display current nvm environment.: Invalid argument
error: unable to create file test/slow/nvm exec/Preamble works and respects "silent" flag: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec --lts" should work: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec 0.x" should work: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec" should pick up .nvmrc version: Invalid argument
error: unable to create file test/slow/nvm reinstall-packages/Running "nvm copy-packages $(nvm ls current)" should error out: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run --harmony --version" should work: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run --lts" should work: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run 0.x" should error out sensibly when 0.x is not installed: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run 0.x" should work: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run" should pick up .nvmrc version: Invalid argument
error: unable to create file test/slow/nvm uninstall/Running "nvm uninstall 0.12.6" uninstalls v0.12.6: Invalid argument
error: unable to create file test/slow/nvm uninstall/Running "nvm uninstall" with incorrect file permissions fails nicely: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use --lts" uses latest LTS version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use --lts=foo" uses latest "foo" LTS version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use iojs" uses latest io.js version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use node" uses latest stable node version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use v1.0.0" uses iojs-v1.0.0 iojs version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use" calls "nvm_die_on_prefix": Invalid argument
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

Failed to clone nvm repo. Please report this!

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

$ curl -I --compressed -v https://nodejs.org/dist/
* STATE: INIT => CONNECT handle 0x66e150; line 1418 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => WAITRESOLVE handle 0x66e150; line 1454 (connection #0)
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* STATE: WAITRESOLVE => WAITCONNECT handle 0x66e150; line 1535 (connection #0)
* Connected to nodejs.org (<IP_ADDRESS>) port 443 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x66e150; line 1587 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x66e150; line 1601 (connection #0)
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.nodejs.org
*  start date: Oct 21 00:00:00 2019 GMT
*  expire date: Jan 18 23:59:59 2022 GMT
*  subjectAltName: host "nodejs.org" matched cert's "nodejs.org"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* STATE: PROTOCONNECT => DO handle 0x66e150; line 1622 (connection #0)
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* nghttp2_session_mem_recv() returns 0
* http2_send len=110
* h2 header: :method:HEAD
* h2 header: :path:/dist/
* h2 header: :scheme:https
* h2 header: :authority:nodejs.org
* h2 header: User-Agent:curl/7.57.0
* h2 header: Accept:*/*
* h2 header: Accept-Encoding:deflate, gzip
* Using Stream ID: 1 (easy handle 0x66e150)
* before_frame_send() was called
* on_frame_send() was called, length = 51
> HEAD /dist/ HTTP/2
> Host: nodejs.org
> User-Agent: curl/7.57.0
> Accept: */*
> Accept-Encoding: deflate, gzip
>
* STATE: DO => DO_DONE handle 0x66e150; line 1684 (connection #0)
* multi changed, check CONNECT_PEND queue!
* STATE: DO_DONE => WAITPERFORM handle 0x66e150; line 1809 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x66e150; line 1825 (connection #0)
* http2_recv: easy 0x66e150 (stream 1)
* nread=40
* Got SETTINGS
* MAX_CONCURRENT_STREAMS == 256
* ENABLE_PUSH == TRUE
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
* nghttp2_session_mem_recv() returns 40
* All data in connection buffer processed
* http2_recv returns AGAIN for stream 1
* multi changed, check CONNECT_PEND queue!
* http2_recv: easy 0x66e150 (stream 1)
* nread=9
* Got SETTINGS
* MAX_CONCURRENT_STREAMS == 256
* ENABLE_PUSH == TRUE
* nghttp2_session_mem_recv() returns 9
* All data in connection buffer processed
* http2_recv returns AGAIN for stream 1
* http2_recv: easy 0x66e150 (stream 1)
* nread=304
* on_begin_headers() was called
* h2 status: HTTP/2 200 (easy 0x66e150)
* h2 header: date: Sat, 04 Apr 2020 18:34:03 GMT
* h2 header: content-type: text/html
* h2 header: set-cookie: __cfduid=db072303ae51cd084d2fc7b0ff9a3b5291586025243; expires=Mon, 04-May-20 18:34:03 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax
* h2 header: cache-control: max-age=14400
* h2 header: cf-cache-status: HIT
* h2 header: age: 121
* h2 header: expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
* h2 header: vary: Accept-Encoding
* h2 header: server: cloudflare
* h2 header: cf-ray: 57ed1f08ffa3cf38-IAD
* h2 header: content-encoding: gzip
* on_frame_recv() header 1 stream 1
* Store 491 bytes headers from stream 1 at 0x6773d0
* on_stream_close(), NO_ERROR (err 0), stream 1
* Removed stream 1 hash!
* nghttp2_session_mem_recv() returns 304
* All data in connection buffer processed
* http2_recv: returns 491 for stream 1
* HTTP/2 found, allow multiplexing
< HTTP/2 200
HTTP/2 200
< date: Sat, 04 Apr 2020 18:34:03 GMT
date: Sat, 04 Apr 2020 18:34:03 GMT
< content-type: text/html
content-type: text/html
< set-cookie: __cfduid=db072303ae51cd084d2fc7b0ff9a3b5291586025243; expires=Mon, 04-May-20 18:34:03 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax
set-cookie: __cfduid=db072303ae51cd084d2fc7b0ff9a3b5291586025243; expires=Mon, 04-May-20 18:34:03 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax
< cache-control: max-age=14400
cache-control: max-age=14400
< cf-cache-status: HIT
cf-cache-status: HIT
< age: 121
age: 121
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< vary: Accept-Encoding
vary: Accept-Encoding
< server: cloudflare
server: cloudflare
< cf-ray: 57ed1f08ffa3cf38-IAD
cf-ray: 57ed1f08ffa3cf38-IAD
< content-encoding: gzip
content-encoding: gzip

<
* STATE: PERFORM => DONE handle 0x66e150; line 1994 (connection #0)
* multi_done
* free header_recvbuf!!
* Connection #0 to host nodejs.org left intact
* Expire cleared

Note that nvm isn't compatible with windows unless using WSL. Are you?
(Also possibly related to #1643)

on this #1643, you can avoid curl and use this alternative:

nvm has been available to windows users to manage multiple installations of node.js
on a Windows computer since 2017. Chocolatey is a software management solution
unlike anything else you've ever experienced on Windows. It brings the concepts
of true package management to allow you to version things, manage dependencies and
installation order, better inventory management, and other features. Its also very easy to
install, after installing it, you can do the following in an elevated comman prompt:

choco install nvm

choco upgrade nvm

@Akagutz that is NOT this project; that's nvm-windows, a completely different project with a different featureset.

Since today our CI has an error when downloading a node version with NVM:
#!/bin/bash -eo pipefail
nvm install v10.16.2
nvm alias default v10.16.2
Downloading https://nodejs.org/dist/v10.16.2/node-v10.16.2-linux-x64.tar.xz...
######################################################################## 100.0%
Checksums empty
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Binary download failed, trying source.
######################################################################## 100.0%
Checksums empty

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Binary download failed, trying source.
Detected that you have 2 CPU thread(s)
Number of CPU thread(s) less or equal to 2 will have only one job a time for 'make'
Installing node v1.0 and greater from source is not currently supported

Exited with code exit status 106

Note that nvm isn't compatible with windows unless using WSL. Are you?
(Also possibly related to #1643)

I'm not on WSL no, but I do have nvm set up on my work laptop which isn't either It's possible I used a shell other than bash to install (cmder).

@BorntraegerMarc this is entirely unrelated to nvm; see https://github.com/nodejs/build/issues/2263

@aspecker it's almost certain then that you're using nvm-windows, since proper nvm (this repo) requires an actual POSIX shell to install - it won't work whatsoever on cmder.

Yeah that seems about right. Thanks for your help.


Exclude lombok generated code from jacoco coverage report

Description
Exclude lombok generated code from jacoco coverage report for more accurate result
Issues Resolved
N/A
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #268 (d86c0cd) into main (49565b2) will decrease coverage by 0.15%.
The diff coverage is n/a.

:exclamation: Current head d86c0cd differs from pull request most recent head ef7937c. Consider uploading reports for the commit ef7937c to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #268      +/-   ##
============================================
- Coverage     85.14%   85.00%   -0.15%
+ Complexity      379      355      -24
============================================
  Files            52       52
  Lines          1185     1160      -25
  Branches         98       98
============================================
- Hits           1009      986      -23
  Misses          135      135
+ Partials         41       39       -2

see 12 files with indirect coverage changes

Is it required for 2.x?

Better to have it in 2.x as well.


Lokid 6.x key fetching & local RPC ip override

This changes storage server to fetch the SN private key via the RPC call added in lokid 6.x (which is also used by lokinet) at startup (i.e. before starting the main event loop), and allows the local RPC ip to be specified on the command-line.
As a useful side effect of this change it delays storage server startup until lokid is ready and running as a service node, which means we get earlier diagnostics about failures from storage server.  It also means that lokid is very likely to get a ping from the storage server right away--currently if you restart both storage server starts up must faster and so the first ping typically fails, which means lokid can't send uptime proofs until after the second ping.
The --lokid-key option is still accepted as an argument but now ignored (so that people with it in a config file can still start up).
This also adds a templated function to convert byte sequences to hex to be able to print it.  (Also removes one from http_connection.cpp that did the same via sodium for a specific std::array<uint8_t, 32>, but that wasn't actually called anywhere).

Notes for follow-on work that switches to ed25519 keys, the ed25519 privkey is available by changing the service_node_privkey key to service_node_ed25519_privkey.  Note that that one returns a 64-byte (128 hex digit) string rather than a 32-byte string, which is what sodium wants (the internal format is, I believe, pubkey immediately followed by privkey.) but won't fit in the current private_key_t typedef.

Updated (and added the missing <array> header) and squashed.


Implement RFC 0002 (URI Consolidation)

Context
https://github.com/openregister/registers-rfcs/blob/master/content/uri-consolidation/index.md
Changes proposed in this pull request
Implement RFC 0002
Guidance to review
Canonical URLs should be changed as per RFC e.g. http://localhost:8080/records/400673.json should resolve
Old URLs should 301 redirect as per RFC e.g. http://localhost:8080/record/400673 --> http://localhost:8080/records/400673
N.B. Conformance tests are broken because they do not reflect this RFC. Specifically the URLs within the Turtle representation. We should update them after this PR is merged.

corresponding conformance changes are in: https://github.com/openregister/conformance-test/pull/28

The 404 in HTML instead of json happens in production. Tried:
curl -i -H 'Accept: application/json' https://country.register.gov.uk/record/XX


Disable (gray out) actions that the player cannot take

We need to do a better job at communicating to the player what options they have, what options they don't have and what they need to do to get those options.
For example. right now, a player can click "Accept" on an offer that they do not have the resources to execute. This leads them down to a dead end in the UI. Better to grey out the accept button, and perhaps even add a little "not enough resources" warning label above or next to it.
There are probably other such issues in the client. If you run into an issue of this sort, it would be great if you can comment on it here so that we may keep track of it.

believe it has all been fixed in : https://github.com/BibliothecaDAO/eternum/pull/48


Rename apps, permissions and urls

We want to use plural in all app names. So rename app name, urls and permissions for the apps:

assignment -> assignment
motion -> motions
mediafile -> mediafiles

Note, that we want to unify the permission strings like in users app, e.g.
"users.can_manage" (instead of the old form: "users.can_manage_users")
This is a blocker for my further template work.

Most done in #1510.
I did not rename the url pattern names because most of the urls will be removed anyway. Please rename the url pattern names when you create the angular apps and reverence a view via the url name.

Done in #1513.

please leave the issue open, until the pull request is merged


meshConfig settings do not always get propagated to gateways

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
When using the following install yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  components:
    ingressGateways:
    - enabled: false
      name: istio-ingressgateway
  meshConfig:
    defaultConfig:
      gatewayTopology:
        forwardClientCertDetails: APPEND_FORWARD
        numTrustedProxies: 1

I get different values for the 8443 listener of the ingress gateway depending on the namespace that it was installed into.
After installing Istio using istioctl and the following yaml
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: mygateway
spec:
  selector:
    istio: ingressgateway # use istio default ingress gateway
  servers:
  - port:
      number: 443
      name: https
      protocol: HTTPS
    tls:
      mode: SIMPLE
      credentialName: httpbin-credential # must be the same as secret
    hosts:
    - httpbin.example.com

I then installed the gateway to an empty httpbin namespace
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: ingress
spec:
  profile: empty # Do not install CRDs or the control plane
  components:
    ingressGateways:
    - name: istio-ingressgateway
      namespace: httpbin
      enabled: true
      label:
        # Set a unique label for the gateway. This is required to ensure Gateways
        # can select this workload
        istio: ingressgateway

Looking at the 8443 listener it showed
                            "streamIdleTimeout": "0s",
                            "useRemoteAddress": true,
                            "forwardClientCertDetails": "SANITIZE_SET",
                            "setCurrentClientCertDetails": {
                                "subject": true,

When repeating this for the istio-system namespace by installing the gateway to it
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: ingress
spec:
  profile: empty # Do not install CRDs or the control plane
  components:
    ingressGateways:
    - name: istio-ingressgateway
      namespace: istio-system
      enabled: true
      label:
        # Set a unique label for the gateway. This is required to ensure Gateways
        # can select this workload
        istio: ingressgateway

I get the following
                            "streamIdleTimeout": "0s",
                            "useRemoteAddress": true,
                            "xffNumTrustedHops": 1,
                            "forwardClientCertDetails": "APPEND_FORWARD",
                            "setCurrentClientCertDetails": {
                                "subject": true,

I expected all gateways deployed to get the meshConfig that I deployed and not only the ones in the istio-system namespace.
I tested this from 1.14.6 as well and the same pattern exists.
Version
$ kubectl version                                                                                Client Version: v1.28.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.25.11
WARNING: version difference between client (1.28) and server (1.25) exceeds the supported minor version skew of +/-1

$ istioctl version
client version: 1.18.2
control plane version: 1.18.0
data plane version: 1.18.0 (2 proxies)

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[X] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[X] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Yep. This is one of the major motivations behind injection for gateways

So is this expected behavior?

Its the expected behavior of myself, as a developer aware of this. Perhaps not of the user :slightly_smiling_face:.
"Working as implemented" (and fixed by injected GWs)


Support integration with Koa

Hi,
Recently I worked on a project where I tried to integrate Koa and GraphQL using the graphql-http library. However, I found that it was not support to use directly with Koa. I wrote a middleware, wondering if it would be possible to be merged into the codebase. All test cases are passed.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


question

i find doc suggesst With GCC it is important to add -lpthread as the last item when linking  ，
but why？ please help me

for better performance, if pthread is available, then asynchronous reading will work

The library supports asynchronous file reading. This is done with multiple threads. To make this work, you need pthread. There is a preprocessor define that deactivates this feature. By using this, you can avoid the need for pthread.


Support for generic HAProxy config

Rancher supports specific HAProxy config such as SSL term, virtual host, etc.  Rancher should be able to a method of allowing generic configuration of HAProxy assuming the user knows how to modify the config files.  This could simply be a form of uploading the config files.

@will-chan is it the same request as https://github.com/rancher/rancher/issues/1871? If yes, then it would be a bit harder than just uploading the config as some parameters are actually defined in the sections formed only when services get linked to the LB. The haproxy config consists of following sections:

defaults
frontend - (n) number of them can be defined. Each frontend is uniquely identified by listener port/protocol, and this is the section where hostname routing rules and backend reference(s) are defined.
backend - (n) number of them can be defined. Container ips are represented here

Having custom "defaults" section is easy as this section is pretty much static. The rest would require more elaborate design discussion. I'll keep this ticket up with updates.

Closing this as a duplicate of #1871


Make TimeSeries nice!

[x] Titles: Which signal is it?
[x] Units: Maybe integration with unitful possible?#
[x] Distributions / Uncertainties for measurements: various columns per TimeSeries? Integration with Measurements.jl?

close this for now. It is far enough to work with..


ci: update semantic-release config for the main branch

Merging without waiting for the 72h - can't make releases without this.

Merging without waiting for the 72h - can't make releases without this.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Minor bug in Double parsing

First off, thanks for sharing this fantastic library (and all of your other work)! I ran across a small problem while working on an SVG parser. It's not at all uncommon to see leading 0's dropped in SVG path coordinates as a means of saving a few bytes.
As currently implemented the Double parser fails unless a leading digit is provided; i.e., "0.123" works, but ".123" fails to parse. The type initializer, Double(".123"), does produce the correct value, as does Double("-.123"), so fixing the parser shouldn't be difficult.
The Double parser currently looks for a leading "+" or "-", then the integer portion of the number. It fails if the integer portion is missing. Instead, it should require either the integer portion or a decimal point and fraction before failing.
Also, note that for SVG, you need to be able to parse "1.2.3" as a pair of numbers, 1.2 and 0.3. The fix for this may actually be a bit subtle.

@gerfarfel Thanks for taking the time to file this!
The behavior you describe is actually the original behavior from early on in this library's development, but we changed it to match the behavior of the Swift language's parser instead (which does not support .123).
So for better or worse, this is currently intended behavior and not a bug. You make a good point about the initializer behavior, though, so perhaps we should go back to the old style. We'll discuss soon!

Interesting. I understand the logic of matching the language parser's behavior, but there are certainly real-world scenarios where the less strict behavior is desirable – SVG being an obvious example. It would be great if the policy could be specified as an option. Thanks again for looking into this.

I guess you could add your own overload that provides an option regarding whether or not the pre-decimal digits are required?


[Bug] Input/Ouput properties are not respected

In a new Nuxt 3 project, I integrated the module. During build time, it generates icons under root/assets/sprite/etc..., but at runtime, it expects them in root/src/assets. It's seems to be working, when I generate the icons in root/assets/sprite/gen and then copy them to root/src/assets/sprite. I saw that it is generating a wrong path in .nuxt/svg-sprite.mjs
As a temporary solution, I'm using an alias.

Having the same problem. While module's setup hook does care about configured nuxt aliases, nitro:init hook responsible for generating and scanning icon directories ignores user alias configuration:
// module.ts:130
nuxt.hook("nitro:init", async (nitro) => {
      const input = options.input.replace(/~|\.\//, "root").replace(/\//g, ":");
      const output = options.output.replace(/~\/|\.\//, "");

@ivandimovd hello. Can you show example how you using your alias? Thank you.


Help wanted for first steps: How to create new Resource Graph Queries and Workbooks?

Hi people,
thanks for the project!
I want to participate and create more Resource Graph Queries and maybe more workbooks. I currently don't really know where to start and what makes sense. Can you give me some information about how to start implementing more queries?

@mschwrdtnr thanks for your availability! Creating new queries is relatively easy: there are some simple rules that the queries need to follow, documented in Adding Resource Graph queries. You can get inspiration from existing queries as well.
Once you have the query, you can add it to the corresponding JSON item, with the graph key (have a look at elements with existing queries already).
Once there are enough ARG queries in a checklist, the process of creating the workbook is automatic. We only need to decide which checklist to run it on (today it only runs in the ALZ and AKS checklists), and whether we want workbooks for specific areas of specific checklists (today the only area-specific workbook is for ALZ Networking).
Please let me know if this makes sense, and whether you encounter any challenge contributing.
Thanks!
Jose

Hi @erjosito, I understand that I just had to read the documentation more deeply. These are enough information for now. Thanks for your clarification!


Working Demo

It would be helpful if also you had a working demo, using a common dataset such as MNIST (which can be loaded from TF datasets at https://www.tensorflow.org/api_docs/python/tf/keras/datasets/mnist/load_data).

@impulsecorp thanks for the suggestion! I have added an end to end example example_tuner.py that demonstrates some of the functionality of the tuner. Let me know if you find this helpful.

Thanks!

I get an error on this line:
from tuner import Tuner

I am trying to run it in a notebook on Google Colab and I get an error on this line:
from tuner import Tuner
Can you make a demo with it all in one file?

It's because you need access to the tuner file. If you download the whole project and tuner.py is in the same directory as example_tuner.py you shouldn't have an issue. You can also copy the tuner code into the example script if you want it all in one script runnable by colab for example. Also you will need to either create a directory "C:\TestProject" or change that line to a valid local path.

Yes, it works now in one notebook when I combined the tuner file with your demo file., thanks.


Modularized the source for Dreamhouse while managing dependencies

Created to package directories under src: common and ui.

Thanks @cwallsfdc!


RFC: Including the Typing returns in Metrics

Key information

RFC PR: (leave this empty)
Related issue(s), if known:
Area: Metrics
Meet tenets: (Yes/no)
Approved by: ''
Reviewed by: ''

Summary
The Metrics library does not include the return types of the functions, causing MyPy to complain.
Motivation
Adding typing to the return of the signature of the function will help prevent errors during development. Also, Mypy will stop complaining:
Proposal
Go through the metrics/metrics.py file and add the return type to all functions
User Experience
This would require no code change and be backwards compatible. Users would get a better result from mypy and type hinting tools to help makde development easier
Before
/file.py: note: In member "record_metrics" of class "ConnectionCountRecorderDriver":
/file.py:26:9: error: Call to untyped function "clear_metrics" in typed context  [no-untyped-call]
Found 1 errors in 1 file (checked 1 source file)

After
Success: no issues found in 1 source file

Drawbacks
Honestly, none that I can think of except for someone's time - happy to take care of that :-)
Rationale and alternatives

What other designs have been considered? Why not them? Not sure what else has been considered, but since we use python typing in other places in the same file, it makes sense to be consistent.
What is the impact of not doing this? Better developer experience 💪

Unresolved questions

Optional, stash area for topics that need further development e.g. TBD

Hey @mkamioner, we absolutely agree and if you could help us make MyPy compliant we'd appreciate it immensely!
We've fixed roughly 600 of the initial MyPy findings[1].... there's still 35+ from my last count to be fixed (Metrics included).
[1] https://github.com/awslabs/aws-lambda-powertools-roadmap/issues/3

hey @mkamioner - While I couldn't reproduce that particular error with Metrics (a snippet would be great), I've gone ahead and added return types -> None, really to all of them, and fixed other pending areas.
In the overall project we've now got 13 mypy issues to fix but that should in theory address your problem in the next release.
Thanks!

This is now available as part of 1.21.0, do let us know otherwise (and if you do, please share a snippet and mypy config to help us reproduce)
https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.21.0


Params feature

Please have a look, If we can add it Or we can have this feature in seprate branch

@acnalesso @jaymcaliley , Could you please have a look, Or Do I need to make some changes

@acnalesso @jaymcaliley I chekced one more pull request of hstore, but here It will work in every database, Please let me know your thoughts

I havn't heard from you guys

Apologies for not responding sooner.  I have not been monitoring activity on this repository lately.  I went ahead and merged the pull request.  I will build a new version and push to rubygems after I remember how to do that :-)  @asharma-ror Do you have any interest in helping maintain this repository and pushing new versions to rubygems?  I don't have much free time right now to continue working on this project.

@johnmcaliley Yes I would love to do, thanks

I was working on make impressions on params, but this code is much gorgeous! Thanks asharma :)

Thanks @JisuPark Let me know If you need anything from my side


Upgrade FuseJS from 3.2 to latest

May be breaking changes and improved setup - see https://fusejs.io/ along with its release notes since v3.2
May affect files including assets.toml and wowchemy-search.
Thanks to @rodrigoalcarazdelaosa for tracking the (optional) dependencies at https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860 🙏

Worth considering: https://discourse.gohugo.io/t/a-simple-javascript-based-full-text-search-function/29119/7

Hey! Can I work on it?

Hey! Can I work on it?

Sure! See here.

Is the issue #2125 solved?

Is the issue #2125 solved?

#2125 is exactly this issue (upgrading FuseJS)

Closing due to lack of demand from users and lack of contributions. If anyone still wants to submit a PR to add the requested feature, they are welcome :)


Image transition to single image screen issue

There is a situation where the image transition from the list to the single image view does not work as expected.
Reproduce the issue

Tap on the library tab
Tap a library to navigate to the library's images list
Now back to the photos tab and tap on an image (the transition does not work correctly and it is something like fade)

While it worked before selecting the library tab or any other tabs!

I've found a solution here, and it works, but I would like to find a better solution.
The changes would be something like this:
const PhotosStack = createSharedElementStackNavigator();
function PhotosStackScreen() {
  return (
    <PhotosStack.Navigator
      screenOptions={{
        headerShown: false,
        headerTransparent: true,
      }}>
      <PhotosStack.Screen name="Photos.Screen" component={HomeScreen} />
    </PhotosStack.Navigator>
  );
}

. . .

<HomeTabs.Screen
      options={{
        tabBarLabel: "Photos",
        tabBarIcon: function tabIcon(props) {
          return (
            <FontAwesome5
              name={"images"}
              size={25}
              color={props?.focused ? colors.text : "gray"}
            />
          )
        },
      }}
      name={HomeNavigationTypes.PhotosTab}
      component={PhotosStackScreen}
    />


Route paths do only prefix matching - unable to add $ to last route param (to mark end of route)

For example if you have a route like:
/app/:param1
This route is matched not only by /app/[value], but also by /app/[value]/any/long/trailing/stuff/that/should/not/be/part/of/route.
I tried to explicitly tell express, that the route should end with param1 without any trailing parameters (or slashes)  by modifying the route like this: /app/:param1$, but it looks like this is not possible.
At least in an TypeScript environment Typescript interprets the $ as a part of the route parameter name (thus the parameter is expected to be accessed via req.params.param1$ instead of req.params.param1).
express version:  4.17.2
@types/express version: 4.17.13

Without an example we can't help further, but I am assuming yoi are using app.use, which is orefix matching -- complete path matching is done by app.get, app.post, app.all, etc.

@dougwilson So why do you immediatly closed the issue without furhter investigation?
This lets to another question. What if you have to handle multiple methods in the same handler or middleware but need postfix matching. I mentioned multiple problems in the issue.

Hello, I'm sorry I missed your question about typescript. Unfortunately we do not provide any typescript definitions or support; you will need to open your typescript issue with whatever you are using that is providing typescript definitions for Express, as the express project does not provide any.

You are welcome to provide additional information and we can reopen an issue -- the issue was closed due to lack of information and many users never follow up; and app.all will match all methods and do full matching.

@dougwilson Thank you for the quick reply. I didn't know that, but what about the typing issue of the TypeScript definitions, should such issues be filed in the DefinitelyTyped repo aka @types/express?

Hi @Sebi2020 sorry for the delay. I took at look and yea, it looks like that repo maintains those type definitions.


Support passing AwilixContainer explicitly

fixes #124
I've merged the code for two different injection modes, it was identical anyway, with the exception of containers used, so felt like a good moment to do it. It's going to be a semver major, though.
Checklist

[X] run npm run test and npm run benchmark
[X] tests and/or benchmarks are included
[X] documentation is changed or added
[X] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

This is awesome!


Support for custom HandlerMethodArgumentResolver

Spring GraphQL has a strategy interface for dynamically resolving values in schema mapping signatures called org.springframework.graphql.data.method.HandlerMethodArgumentResolver.
The multiple built-in instances of this are set up in the AnnotatedControllerConfigurer which is set up with the auto-configuration. However, this doesn't scan for custom instances of it, which means one can't inject custom argument resolvers.
This makes it differ from the spring-mvc counterpart with the same name: org.springframework.web.method.support.HandlerMethodArgumentResolver. If I read the source code correctly these are set up in here: https://github.com/spring-projects/spring-framework/blob/1e98fb607a274fc3cc49c24902d7c269f2946514/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java#L669
Since they have the exact same name, I would have assumed one could also create custom ones in the Spring GraphQL like in web-mvc.

I could look into implementing this myself if you think it is a valid idea! :)

We have a pull request for this #325, but there hasn't been a very clear case for it yet.

Hello @rstoyanchev, it would be extremely useful to be able to register custom method argument resolver, as an example
we can consider Pageable interface from Spring Data and resolver from spring-data-commons , where we can use SortDefaults for instance.
Is there an alternative to override of AnnotatedControllerConfigurer to support this?

Thanks for the comment, @mladenjotanovichtec. I am aware of Pageable as one major case that we don't currently support. We're going to add support for it and that should be in main fairly soon. I'm interested in your thoughts for sorting and @SortDefaults as it relates to this. Would you mind if you comment under #620 with some detail on what you would expect?

Thanks for the feedback!
Our use case is basically that we have leveraged the spring-mvc one in order to produce some neatly injectable data types that wrap more low level spring/http concepts such as:

Turning a set of headers into some Client object that can be injected
A more high level "User" object built on top of spring security to avoid the repetitive @AuthenticationPrincipal injection

These can all be rebuilt by using @Context argument injection, but for us that came with 2 drawbacks:

@Context is tied to a string key rather than the type, which means one has to make sure the input argument name matches what was injected in the context
@Context is specific to GraphQL, which means we can't leverage the same injection pattern for regular @RestController endpoints and graphql schema mappings (we have both for different clients)

So it's not really a blocker for us, it just mostly feels like a discrepancy. The fact that both spring grapqhl and spring mvc use @Controller annotations gives the impression that you would be able to build things similarly, in my mind.

That could be a nice improvement indeed, if it doesn't create any confusion. I think being able to wire it by type would align well with how many similar things work in spring. I also think there is a precedence in how spring-graphql handles data loaders. Graphql-java has the loaders registered by a String name, but spring helps tucking that away and focused on what types one wishes to load.
You're right that these things are indeed "execution global" and not really specific to any one data fetcher. I think my initial question comes from wanting spring graphql to be "as similar to web-mvc as possible" for the sake of onboarding people who are used to classic mvc but now get to learn graphql.

Hi.
Although this issue is completed, i'm still unsure on how to register a custom HandlerMethodArgumentResolver.
Could anyone give an example on how to bootstrap this?


Switch/Add servers without logging in/out

Developed #47 and also fixes #1

[x] Ability to add your own server
[x] Give a name to the server you are saving.
[x] Ability to add new servers
[x] Switch between these servers/user accounts.

Screenshots:

This saves the newly added servers in a new sharedPreference, hence saving their api_key which is further used for the authentication!

Automated message from Dropbox CLA bot
@kunall17, it looks like you've already signed the Dropbox CLA. Thanks!

Hey bro,
I'm having problems connecting zulip/zulip-android/master branch to my localhost with the login hack for<EMAIL_ADDRESS>Does your code connect to localhost without any problems?
I'll fork it if I don't hear a response within the next few hours and try it myself - I just thought I would ask the most knowledgeable person first.

@ryansnowboarder problems as in? your server URL is not taken or you cannot sign in?
I haven't tested with the iago hack.
And sorry, I am not the most knowledgeable person here.

My problem is that my local hosted Zulip server does not respond to HTTP
Requests from the app on the Android Emulator and an Android device. Works
fine with curl from the command prompt though. I've tried allowing
everything through the firewall while sending a request and that didn't fix
it. I tried connecting to the Zulip server from the browser from the
browser and device, which showed a socket error.
I ran out of time and didn't fork your repo, but I'll do that soon to see
if it works.
On Tue, Apr 19, 2016 at 9:33 PM, Kunal Gupta<EMAIL_ADDRESS>wrote:

@ryansnowboarder https://github.com/ryansnowboarder problems as in?
your server URL is not taken or you cannot sign in?
I haven't tested with the iago hack.
And sorry, I am not the most knowledgeable person here.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/zulip/zulip-android/pull/51#issuecomment-212202366

@kunall17 if it's not too much trouble, do you mind rebasing this against master?

@niftynei rebased and updated this branch! :)

@kunall17 what's the status of this PR?

Hello kunal. I wasn't able to try this out because of the merge conflicts, but I left some notes on the code. Thanks!

@kunall17 I got a crash when I successfully logged into a second realm.
08-16 13:59:17.490 E/AndroidRuntime(10928): FATAL EXCEPTION: main
08-16 13:59:17.490 E/AndroidRuntime(10928): Process: com.zulip.android.dev, PID: 10928
08-16 13:59:17.490 E/AndroidRuntime(10928): java.lang.RuntimeException: java.sql.SQLException: Unable to run insert stmt on object com.zulip.android.models.Stream@2275a78e: INSERT INTO `streams` (`color` ,`inHomeView` ,`inviteOnly` ,`name` ,`subscribed` ) VALUES (?,?,?,?,?)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.j256.ormlite.dao.RuntimeExceptionDao.createIfNotExists(RuntimeExceptionDao.java:240)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.zulip.android.models.Stream.getByName(Stream.java:138)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.zulip.android.activities.ZulipActivity$20.setViewValue(ZulipActivity.java:690)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.SimpleCursorTreeAdapter.bindView(SimpleCursorTreeAdapter.java:220)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.SimpleCursorTreeAdapter.bindGroupView(SimpleCursorTreeAdapter.java:264)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.CursorTreeAdapter.getGroupView(CursorTreeAdapter.java:207)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.ExpandableListConnector.getView(ExpandableListConnector.java:446)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.AbsListView.obtainView(AbsListView.java:2346)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.ListView.makeAndAddView(ListView.java:1876)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.ListView.fillSpecific(ListView.java:1355)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.ListView.layoutChildren(ListView.java:1663)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.AbsListView.onLayout(AbsListView.java:2148)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1215)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.View.layout(View.java:16636)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewGroup.layout(ViewGroup.java:5437)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2179)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1939)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.Choreographer.doCallbacks(Choreographer.java:670)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.Choreographer.doFrame(Choreographer.java:606)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.os.Handler.handleCallback(Handler.java:739)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.os.Handler.dispatchMessage(Handler.java:95)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.os.Looper.loop(Looper.java:148)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at android.app.ActivityThread.main(ActivityThread.java:5422)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at java.lang.reflect.Method.invoke(Native Method)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
08-16 13:59:17.490 E/AndroidRuntime(10928): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
08-16 13:59:17.490 E/AndroidRuntime(10928): Caused by: java.sql.SQLException: Unable to run insert stmt on object com.zulip.android.models.Stream@2275a78e: INSERT INTO `streams` (`color` ,`inHomeView` ,`inviteOnly` ,`name` ,`subscribed` ) VALUES (?,

If you used the DevAuthBackEnd in the second login attempt (when adding realm) then this should fix the error!

it seems to work ok now, is there some context for why this occurs? otherwise it looks really good and i'd love to get it merged in 👍

If you had tried devAuthBackEnd then this error seems valid before the fix, otherwise it shouldn't occur!
Never encountered this error!

Updated the branch!

@kunall17 this is super old, but do you have any interest in reviving this PR?

@niftynei yeah sure!
There would be a complexity with the widget implemented now
We'll have to show from which user are these messages from.

@kunall17 what's the status of this PR?  Is it still something we intend to do?

@timabbott yeah definitely, this is one great feature, but after migration to retrofit this PR would have to undergo a lot of changes, I'll see to update this one!

@kunall17 This is really a great feature. Tell me if you need any kind of help in this. I would be happy to help. :)

@kunall17 Can I test this PR?

@yadav-rahul

Can I test this PR?

Testing?
This works as expected but this one is very old, and will have to be worked intensively to be revived again!
If you want you can definitely use the the commits and fix the merge conflicts and post as PR!


let's merge repos?

yo, would it be cool if we just merged repos with angular2-webpack-starter and add you as a contributor?

@gdi2290 Well yes, why not.
One question though: my repo was(is) a kind of kitchen sink for RxJs stuff. Your repo is an Angular2 starter project. At least I understand it as "start easy with Angular2 and webpack". What would be the idea behind merging the repos? Do you want to have something like Angular2 recipes or How-Tos?
We could discuss this on gitter ;-)


330 releases in 1 year?

Releasing every 1-3 commits, 2-4 times a day? Really?

Never heard of continuous delivery? :smile:

Yep, it's a new trend - Extreme Continuous Delivery ;-)

:rose:

+1 for a weekly release cycle!

Maybe we can have it both ways: would it be possible to publish the
'dailies' to @next, and e.g. once a week pick something that has proven
to be stable as @latest?
That way people will have a stable experience by default, and can opt-in
to the bleeding edge.
On 2015-11-03 12:21, Felix Itzenplitz wrote:

+1 for a weekly release cycle!
--
Reply to this email directly or view it on GitHub [1].

Links:
[1]
https://github.com/TypeStrong/atom-typescript/issues/695#issuecomment-153322671

+1 for a weekly release cycle!

@cebor you can run updates on a weekly basis on a day that suits you best :rose:

Maybe we can have it both ways: would it be possible to publish the
'dailies' to @next, and e.g. once a week pick something that has proven
to be stable as @latest?

@poelstra nice idea. The conventional way of doing this in atom is create two packages e.g in this case it would be atom-typescript-beta. Don't feel like going through that overhead just yet. Noted though :rose:


chore: restructure docs for actors

Changes

#1519  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


datastore: Support entity_value to Go object, list_value to Go slice conversion

https://github.com/GoogleCloudPlatform/gcloud-golang/blob/master/datastore/load.go#L253

https://code-review.googlesource.com/#/c/1380/

The CL provides list_value support, but entity_value support is still open.


cant unminify simple file both cli & node api

i attached the file
6.js.gz
the code is:
function (e, t) {
  var n;
  n = function () {
    return this;
  }();
  try {
    n = n || new Function("return this")();
  } catch (e) {
    "object" == typeof window && (n = window);
  }
  e.exports = n;
}

even tried to unminify the AST tree parsed from shift

Yes, that's not valid JavaScript. Function declarations need to have names. If you replace function with function main, it'll run through Unminify successfully (though it doesn't change much).


Shell: Failed to transferred command from Raycast to Terminal

Extension – Shell

Author: @KELiON

Description
When I type a command on Raycast and I wish Raycast will open a Terminal windows with that command I typed. Some times it works but some times it doesn't.
Steps To Reproduce

Check open with Terminal/iTerm in the extension preference
Type a command, eg. cd ./Desktop
Type other command, eg. cd ./Downloads

The current behavior
Raycast open an empty Terminal window
The expected behavior
Raycast has to open a Terminal windows it a command
Raycast version
Version: 1.41.1

@wakaohhzeh can you please attach a screenrecording?


✨ Add upgrade e2e tests

Description
Testing upgrade from the latest release to the current commit.
Fixes https://github.com/operator-framework/catalogd/issues/271

Closing in favour of https://github.com/operator-framework/catalogd/pull/314


enable the internet sharing function ,but encounter error message

Dear Micahmo,
I ever set the server and client connected successfully,but when I restart WS4W ,the internet sharing symbol would be "X" ,
I try to enable and reconnect the internet, but it will show an error message as the images display,
https://imgur.com/a/dnJBjXN
https://imgur.com/5MboKPa
Could you help me fix it?
thank you very much

Hi @yea73920, thanks for raising this issue! I had actually seen the exact same thing on my system, but hadn't had time to investigate yet. :-) Enabling a virtual switch for Hyper-V seemed to trigger the issue for me, and I see that you also have a virtual switch.
I have good news and bad news.
I did find that someone has seen this exact error (trying to accomplish the same thing) in another project: utapyngo/icsmanager#17
Using their discussion, I have incorporated a similar fix into WS4W and published a new version here. Unfortunately, that fix didn't work on my system, so I had to contrive a manual workaround.
The good news is that the manual workaround solves the issue. I have documented it in the README here: https://github.com/micahmo/WireGuardServerForWindows#inability-to-enable-internet-sharing
Please update to the latest version, try the workaround (if necessary), and let me know how it goes.

Hi @micahmo ,
thanks for your reply, I installed the new version and try the workaround ,it's work
thank you so much :)

I'm experiencing this issue in the new version. What is the fix?

Glad to hear it's working for you now!


[NEW BONUS GUIDE] Static IP & custom DNS servers

What
The router reserves the IP address of the device for a time, but If the device goes out soo time, the next time that the device starts, the router could assign a different IP and you could lose access to your node. To avoid this, you need to set a static IP to your node. This guide instructions to get this.
Optional you can choose the DNS servers that you want to connect
Scope

[ ] significant change to core configuration
[X] independent bonus guide
[ ] simple bug fix

It's done! Let's go to the main! 🚀


The capture is not saved

I've installed php-phantomjs like the documentation say and run the following example. the execution finish without errors but the file '/home/rkmax/file.jpg' never its created
<?php

    use JonnyW\PhantomJs\Client;

    $client = Client::getInstance();

    /**
     * @see JonnyW\PhantomJs\Message\CaptureRequest
     **/
    $request = $client->getMessageFactory()->createCaptureRequest('http://google.com', 'GET');
    $request->setCaptureFile('/home/rkmax/file.jpg');

    /**
     * @see JonnyW\PhantomJs\Message\Response
     **/
    $response = $client->getMessageFactory()->createResponse();

    // Send the request
    $client->send($request, $response);

I'm using PHP 5.6.4 nad phantomjs 3.1.4

Somebody?

Can you make sure that your /home/rkmax/ directory is writeable by your web server?
This is most likely an issue with write permissions.

yeah @jonnnnyw i have correct permissions

Try setting 777 permissions on it as a test (I'd recommend reverting it back afterwards). Also try and screen capture a different URL and see what you come up with.
The tests for the capture are passing so my assumption is that it's something local to your system or the URL you are capturing.

the capture works sometimes if add
 $client->send($request, $response)->getContent();

 $client->send($request, $response)->getContent(); will have no influence on whether your capture works or not - it's a simple getter method.

do I still need to install something to make the capture work? its not also working on my local. @rkmax what did you do to make it work? TIA

Same here, no file is saved.

@wwendorf  @jonnnnyw I just call getContent and just sometimes works it's like a 60/40 chances to work

It looks to me like the phantomjs executable can't be executed, or even set to be an executable.  I can't do a chmod 777 on it at all.
Just tried reinstalling with no luck, I even downloaded the binary tar file and put it in there with no luck.
Wade

I tried to use phantomjs -v to see the version, but it would not run.  I tried installing phantomjs via apt-get, which worked, and I am now able to get the version from it, however, even if I put a ln -s /usr/bin/phantomjs into the /vagrant/bin directory, it won't work and gives me the:
sh: 1: /usr/bin: Permission denied
error reported earlier.
Wade

Firstly, I would compile PhantomJS for your system. The compiled Linux executables are pretty generic so are not guaranteed to work. This seems to fix most peoples issue.
Regarding it working sometimes and not others, it could be that the page hasn't fully loaded when it takes the capture. Try adding a delay to see if that makes any difference:
http://jonnnnyw.github.io/php-phantomjs/4.0/usage/#delay-page-render

If it's a permissions error then you will need to give the user that is running the script (apache?) permission to access /usr/bin

@jonnnnyw there's some way to listen for a render completed event?

@rkmax As far as I am aware there isn't anything native to PhantomJS to listen on that. There are some scripts around that claim to do it but they look pretty messy. I looked into it a while back with no success. I'll see if anything new has come about since.

I actually changed the ownership of the phantomjs exe to www-data and it still doesn't run.

@rkmax The latest release has a feature that will wait for all the page resources to load before rendering. That might help you out.

The original issue has been solved so I'm going to close this. If you have any further issues feel free to open a new one.


Please consider contributing to https://github.com/ufoym/deepo

I have been looking for a clean solution to obtaining the Tensorflow C++ API for a project that I am working on. Your package looks like it provides that clean solution. While performing this search, I also discovered https://github.com/ufoym/deepo. It has a broader scope that your package, but is missing the key specific piece that your provide. It seems to me that it would be great if you could contribute your work to deepo.
https://github.com/ufoym/deepo/issues/34
@ufoym

Hi @jimlloyd,
I am not sure whether the Deepo project will be interested in a C++ library (they seem to be more Python focused), so I would rather wait for their reaction.


Error Handling

Flask Error Handling
Google App Engine Application Logs
Inspiration from Illuminate

Ignoring the Google App Engine Application Logs for now as this will be looked at in #8.


Spanified Webencoders.Base64UrlEncode

Added string Base64UrlEncode(ReadOnlySpan<byte> input) to WebEncoders, and
redirected the other string Base64UrlEncode(...)-methods to use the spanified version.
Used this new method in SignalR's HttpConnectionManager.MakeNewConnectionId.
So in total it safes two allocations. One in MakeNewConnectionId, as the buffer is stackalloced, the other one in the base64 encoding, as the buffer is stackalloced or rented from the ArrayPool.
Addresses https://github.com/aspnet/Extensions/issues/456
Note:
This fix just safes the allocations. In this PR no attempt was made to do base64Url
encoding directly -- i.e. as O(n) operation instead a O(2n) as used here, where in the
base64 encoded results + and / are substituted (see https://github.com/aspnet/Extensions/pull/338 for a (declined) PR that does this directly).
Further no attempt was made to vectorize the encoding (similar to https://github.com/dotnet/corefx/pull/34529, or as used in https://github.com/gfoidl/Base64).
Perf-improvments will come for free once https://github.com/dotnet/coreclr/pull/21833 is merged.
/CC: @BrennanConroy

To resolve the code check failure, run dotnet msbuild /t:GenerateReferenceSource in the "src\Http\WebUtilities\src" directory.
Also, there look to be some compile errors.

in the "src\Http\WebUtilities\src" directory.

Ah, didn't realize the usage over there. Thx.

some compile errors.

E.g.
/home/vsts/work/1/s/src/Shared/WebEncoders/WebEncoders.cs(213,40): error CS1503: Argument 1: cannot convert from 'System.Span<char>' to 'char*' [/home/vsts/work/1/s/src/Shared/test/Shared.Tests/Microsoft.AspNetCore.Shared.Tests.csproj]
/home/vsts/work/1/s/src/Shared/WebEncoders/WebEncoders.cs(333,21): error CS0117: 'Convert' does not contain a definition for 'TryToBase64Chars' [/home/vsts/work/1/s/src/Shared/test/Shared.Tests/Microsoft.AspNetCore.Shared.Tests.csproj]

I believed it's .NET Core 3.0 only...proved wrong https://github.com/aspnet/AspNetCore/blob/0b340bd70cfe41200da593c08f4a88c6fe9efa74/src/Shared/test/Shared.Tests/Microsoft.AspNetCore.Shared.Tests.csproj#L4
Will fix this in the next commit.

The code-check fails. Will generate the ref-assembly again tomorrow. There's same strange in my local setup with not found target-frameworks, etc (I followed the steps documented in this repo, so I assume it's me doing something wrong).

The code-check fails

Gave it another try. Failed it before because I moved the method down in 64db801439f1438848e33f7f811f6f09ce24e3d7?
By executing the command from https://github.com/aspnet/AspNetCore/pull/11047#issuecomment-500537592 I get (linux-box):
Microsoft (R) Build Engine version 16.2.0-preview-19274-01+7708b265e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft.Net.Http.Headers -> /home/gfoidl/test/AspNetCore/artifacts/bin/Microsoft.Net.Http.Headers/Debug/netcoreapp3.0/Microsoft.Net.Http.Headers.dll
  Microsoft.AspNetCore.WebUtilities -> /home/gfoidl/test/AspNetCore/artifacts/bin/Microsoft.AspNetCore.WebUtilities/Debug/netcoreapp3.0/Microsoft.AspNetCore.WebUtilities.dll
  /bin/sh: 8: /tmp/tmp0888b99f43f74abebedee29767dea158.exec.cmd: TargetFramework: not found

Is this known / expected?

@aspnet/build Does GenerateReferenceSource not work on Linux if net461 is a tfm?

I don't think GenerateReferenceSource works on Linux at all due to MSBuild not handling line endings and slashes properly.

Thanks @gfoidl !

@natemcmaster on linux the ref-assembly was generated correctly, but the command showed the above failure. The ref-assembly is for netcoreapp3.0 only, maybe that's why it worked.


(PUP-7672) zoned property is called jailed on FreeBSD.

It makes zfs fail on FreeBSD systems.
See : https://tickets.puppetlabs.com/browse/PUP-7672
Even if Solaris zones don't exist on Linux, the property was preserved on this system.
Don't know exactly on NetBSD.
This patch handle zoned property properly on both SunOS, Linux and FreeBSD.

Travis is failing in part because we prefix all of our commit messages with the ticket number, in your case (PUP-7672). Can you update your commit message to use this format?

@Magisus Thanks for the review.

Would it be possible for you to write some tests for this? You will probably have to stub Facter.value("operatingsystem") to return "FreeBSD".

@Magisus I added a test based on what is done for other properties.

I put up a PR that incorporates your code and fixes up the test - here: https://github.com/puppetlabs/puppet/pull/6282

superseded by https://github.com/puppetlabs/puppet/pull/6282


Pwa

bcb proto-1

Congratulations on your first ever pull request @SanjanaMalandkar and @TarannumKhadri! 🎉 👏

🤣


Rotate pdf

Hi!
Is it possible to rotate the pdf ? Some files como upside down and i need to view them in the right position.

Hi,
Unfortunately there is no such a way, and also I'm not sure the pdf-react package, on top of which this one is built, has this feature... Honestly I've never seen such a functionality in an embedded pdf viewers....
I think the best way to do so is to rotate the pdf on your backend and then return the new, rotated, version as base64 to your frontend and then render it...

Hi,
Unfortunately there is no such a way, and also I'm not sure the pdf-react package, on top of which this one is built, has this feature... Honestly I've never seen such a functionality in an embedded pdf viewers....
I think the best way to do so is to rotate the pdf on your backend and then return the new, rotated, version as base64 to your frontend and then render it...


fix(blockfrost): handle arrays in image and description fields

Context
When using Blockfrost provider, NFT gets rejected with array in image field when parsing a transaction and Array in description field shown as undefined.
Proposed Solution
Create AssetInfo.TokenMetadata only from response.metadata, since onchain_metadata refers to cip 25.
Important Changes Introduced

LGTM. Will need to squash into 1 commit after all approvals

Squashed!


Update panic.c

Poorly formatted message for stack overflow for task  see #36

Thanks @ESP32DE. We have this fix in our internal review queue for merging.

Cherry-picked as 71c09d8f.


Add the apply function

Some more thinking is needed about what to do about padding out the order

I think that probably implementing an adaptive Chebyshev approximation scheme would be best. The user just inputs the function and then we adaptively create the Chebyshev expansion. When we use apply, we do what we do in overloading multiply and resample on the chebyshev grid. Once we have an adaptive constructor, we could reapply the adaptive constructor on the new function.

Let me know what you think.


Bridge groups

Whether a typical chat should be in Bridgy Fed is handled in #1425, but looking into eg. Matrix I realized that chat rooms are a subset of groups and groups of some kinds could be interesting to support in be in Bridgy Fed.
One concrete example would be:
Bridging IndieNews to Lemmy – bridging link aggregation groups / communities between the IndieWeb and the Fediverse.
I'm not sure whether there's any equivalent on the AT protocol yet, but eg. Matrix seems to be oriented fully around "groups" in the shape of rooms.
Some things to consider / note:

Only groups with public content should probably be considered
How to bridge to groups that require membership? Only support groups like IndieNews that require no membership to post?
In Lemmy a user and a group can have the same name – so name is not enough to identify an entity over there, one needs to know if its a group or an account as well
Should only explicit groups be supported or should implicit groups like hashtags also be considered?
I would treat them as out of scope, compare eg. in IndieWeb explicit indienews vs implicit indienews)
A post published to my timeline can be submitted to one (or more?) groups – it should then be bridged both to those who follow my account and to those that follow the group?

Originally posted by @voxpelli in https://github.com/snarfed/bridgy-fed/issues/1425#issuecomment-2442034675

Plumbing notes: Groups in Fediverse / IndieWeb
Eg. Lemmy has rooms / groups – they call it "community" – and these are as possible to discover through WebFinger as user accounts are, see eg: https://fedidevs.org/reference/webfinger/#app-lemmy-handle-lemmy_supportlemmyml There they identify it with:
  "properties": {
    "https://www.w3.org/ns/activitystreams#type": "Group"
  }

In the IndieWeb the wiki  brings up hashtags as one example of a group-style thing, but I think the best example is how one submits to news.indieweb.org using u-category:
#indienews

Originally posted by @voxpelli in https://github.com/snarfed/bridgy-fed/issues/1425#issuecomment-2441242711

Plumbing notes: Bridging related aspects about Matrix
On the topic of Matrix: It unlike most other standards have an official standard for bridging: https://spec.matrix.org/v1.12/application-service-api/#third-party-networks / https://spec.matrix.org/v1.12/client-server-api/#third-party-networks
Instant Messaging is also only of plenty of plenty of Modules supported on Matrix: https://spec.matrix.org/v1.12/client-server-api/#modules A microblogging-style module could probably exist eventually, but already when MSC1767: Extensible events in Matrix (accepted in https://github.com/matrix-org/matrix-spec-proposals/pull/1767) is supported one should be able to do something like this to losslessly bridge ActivityPub to Matrix with clients able to progressively enhance to use the full ActivityStreams object:
{
    // irrelevant fields not shown
    "type": "m.message",
    "content": {
        "m.text": [
            { "body": "Hello world", "mimetype": "text/html" },
            { "body": "Hello world" }
        ],
         "org.example.activitystreams": {
            "id": "https://rhiaro.co.uk/2016/05/minimal-activitypub",
            "type": "Article",
            "name": "Minimal ActivityPub update client",
            "content": "Today I finished morph, a client for posting ActivityStreams2...",
        },
    }
}

Originally posted by @voxpelli in https://github.com/snarfed/bridgy-fed/issues/1425#issuecomment-2441242711

Thanks for filing @voxpelli, and for all the details!


Issue with AA0215

The rule AA0215 reports that the file name is incorrect, as it expects the suffix to be included, even though the suffix is in the 'AppSourceCop.Json'
For example:
Object: pageextension 50100 "Customer List XPD" extends "Customer List"
Object Name: CustomerList.PageExt.al
AppSourceCop.Json: {     "mandatoryAffixes": [         "XPD"     ] }
Result:

See attached 'Hello World' project modified to in;cude the AppSourceCop.json
(please note symbols had to be excluded from project zip due to file size)
ALProject3.zip
@MarcHansenMicrosoft

Thanks

The AppSourceCop.Json should be placed in the root folder of the extension.


Jose fraction keystore uri path?

Hi,
Would it be possible to support a URI path for the key store in the jose fraction? I am thinking it could be something similar as in the JWT fraction with the configuration jwks-uri where you point out a remote jwks.
BR
David

Is this related to v2?
If so, please raise an issue here instead: http://issues.jboss.org/browse/THORN

Hi David, for the JWK stores, signatures only, it should work, yes, similarly to the JWT fraction, It will require some thought. Ex, Jose4J HTTPS retrieval works over 'plain' HTTPS, no server certificates. It might also require supporting per-signature or per-encryption key stores, as opposed to the the 'shared' store right now, getting the private encryption keys over HTTPS would not be a usual thing to do. I'd expect in the short term at least the 'old' JKS will still prevail.
I'm thinking of opening a low priority issues to get few improvement ideas accumulated and then act on them, Ken, hope you are OK with it :-)

@sberyozkin as there are more pressing priorities right now, please just open some JIRAs and leave it there

Yes, that was the plan, keep the record of the improvement ideas, thanks

https://issues.jboss.org/browse/THORN-2135.
David, please keep new ideas coming :-), in due to time we will look closer and enhance as needed.

Closing in favor of new JIRA


Disable test_pooling_versions

Description
Disable flaky test https://github.com/apache/incubator-mxnet/issues/11517
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
Comments

That's the policy we currently have in place. Fixing will have to be done asynchronously and having 0 disabled tests is a release requirement.


Implement the logic of the matchBuddy endpoint

Describe the task that needs to be done.
After the blank endpoint is created for the matchBuddy endpoint in the Pairing service, the actual logic and implementation needs to be complete with appropriate testing
Depends on #30 #22
Blocking: #50
Describe how a solution to your proposed task might look like (and any alternatives considered).
The endpoint takes in a list of courses from a JSON body that is passed in with the post request.
The matchBuddy endpoint needs to:

(TBC with user team) Authorize that the user who is sending the request is the user
Check that the courses passed in are all valid courses
Query the database to get back all students who are in the courses, remove any duplicates, and students who don't want to be paired
Get all relevant information of the students returned, and format them into a JSON list to be sent back to the frontend
Corresponding response code is returned based on success/failure

Response codes:
200 Ok, with list of possible buddies
204 No Content, if no buddies found
404 Not Found, if courses passed in are not valid
(TBD) 403 not authorized, if the user authentication system is set up (added as a later issue)
Notes

Authorization will be confirmed with user team, and added in a later issue
Communication team will be consulted in regards to welcome message, added in a later issue

@scorpionknifes does this issue SGTY?

LGTM


"New project" functionality.

Surprisingly, this seems absent... sadly.  This would fill a nice niche - as I am unaware of any tool - that can create Xcode projects "from thin air".
http://stackoverflow.com/questions/14118262/create-new-xcode-project-from-command-line
http://learnaholic.me/2012/11/28/xcode-4-dot-5-workspace-project-and-target-from-scratch/

I think this would take about one days worth of effort to get working.

+1

I was able to use the Project-Generator in project of mine, to do that, it's in python but it may be useful...

@rraallvv thanks for the information.


Support passphrases

The motivation for this issue is well related to #36.
In my case, having this action to support passphrases would allow me to use this action prior to running a binary (Terraform) that will clone additional Github Repositories. Those repositories are private and are in a organization that requires SSH keys to have passphrases as a SAML policy.
If supporting it is really out of scope, could you please shed me some light on workarounds for this scenario?
Thanks in advance and great job!

Maybe in https://www.webfactory.de/blog/use-ssh-key-for-private-repositories-in-github-actions you will find some ideas how the passphrase could be stored as a secret and passed to ssh-add when loading the key?
But I am afraid you won’t be able to do this with this action here, you‘d need to resort to plain shell commands in your workflow definition.


[BUG] Documentation website links are broken

Describe the bug
All website links https://simplecalendar.info/ produce 404 errors
To Reproduce
Steps to reproduce the behavior:

Go to https://simplecalendar.info/
Click on any link
Get 404

Expected behavior
I would expect navigating to working pages.
Screenshots

Foundry Information

N/A

Browser (please complete the following information):

Google Chrome up-to-date. But I guess this is not relevant at all.

Additional context
N/A

This was fixed a while ago but the paths have changed with the new website. Redirects should take care of the rest.


Switch from Cargo Make to GNU Make

As much as Cargo Make is amazing, it is not worth using it given that it inflates GitHub Workflow build time like almost tenfold.
Switch to good old GNU Make.

Alternatively, see whether switching to a binary release of Cargo Make will be easier.

Crisis averted, Cargo Make binary release works as expected and cuts down on the workflow execution time. Yay!
Tested in https://github.com/ddnomad/printables/commit/8058fcf93eedc27b509fa1f2bb223199b5600b2b


why change tab will render a new instance of child component

children  (ReactComponents) - each top-level child component should have a  tabLabel  prop that can be used by the tab bar component to render out the labels. The default tab bar expects it to be a string, but you can use anything you want if you make a custom tab bar.

when i change tab , the child component doesnot run
componentWillUnmount(){

        Alert.alert("ddd");

    }

this always render a new instance ,so ,it caused many problem,such as this

the old instance is still not be released,how  to fix it?

close

@aqnaruto How did you solve this?
Thanks, because I have the same problem right now...!


Need more content in VAPOR gallery

The VAPOR section of visgallery.ucar.edu is pretty sparse. It would be nice to add more content.

Review vapor2 website gallery for a few items to include. We should definitely have Leigh Orf's vapor highlight video.


Fix namespace to make autoloading work

Hello!
I was using this as composer package, but I kept getting the error: class Geodesy\Location\LatLong was not found. I started looking for it but found that your src folder did contain a Geodesy folder, even though your psr-4 namespace declaration in composer.json pointed to the src folder. Therefore classes could not be found. Including the Geodesy folder in the namespace declaration fixed this issue.

Thanks! Can you also create a new tag?


When a question is completed, change its representation from a number to a check mark.

In the stepper at the top of the page, it would be nice to show progress more clearly. One UI suggestion that we received is to change the number in the circle to a green check mark when a question is fully completed; this seems like a nice thing to do.
/cc @rabidbit

working on this...


Path as regex instead of strings

Vue.js / vue-router versions
2.1.10 / 2.2.1
Trying to add a route with a negative lookahead regex, path: '/(?!PathThatShouldNotBeMatched)', however the exclamation mark is automagically escaped before passed to the regex tester.

Paths are not regexes, they're transformed to regexes.
We could maybe allow the user to use his own regexes.
Why would you need to use a custom regex in a path?

I don't really need to use custom regex, though it would make the path system more flexible. I just want a way to match everything BUT something specific. This is an alternate solution to my problem caused by https://github.com/vuejs/vue-router/issues/1176 , meaning that my wildcard route could have exceptions for the routes i add dynamically.

Or maybe, replace the wildstar route with something that always matches anything unmatched, that is always checked last

Like routes: [{...}], notFound: {...}

Since the current route matching is completely done by path-to-regexp, it's very unlikely to add such feature in vue-router. @Dadibom can you check out path-to-regexp's docs and see if it's features can work for your use case?

I should have referenced this when I saw it 😄  https://github.com/pillarjs/path-to-regexp/issues/99

So can we agree to close this because we are committed to path2regexp?
@posva @fnlctrl @Dadibom

Yes, we should close this because the real issue is #1176
Thanks for the reminder 🙂


Improve Tesla docs

Small improvements for the module Tesla options description
Add example on how to use :except options
Add example on how to use build_url with Keyword list.
Add tests for build_url/2

@teamon thanks for the suggestions!


There should be no delay when hovering over another icon after having hovered over an icon to show a tooltip in the NavigationView

Describe the bug

There should be no delay when hovering over another icon after having hovered over an icon to show a tooltip in the compact NavigationView and in various other places
Steps to reproduce the bug

Steps to reproduce the behavior:

Open XAML Controls Gallery
Click on Close Navigation or resize the window to get the Navigation to be compact
Hover over What's New until the tooltip appears
Move cursor to All controls

Expected behavior

There is no delay upon switching between the two.
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)
Yes

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context

This happens on Chromium/Chrome/Anaheim tabs as well as on the wifi and volume icons in the taskbar.

This would be a new feature for tooltip in XAML and unfortunately since this isn't a universally supported Windows-ism I don't see this being something we would change. Sorry!

@jevansaks what does universal mean? Davinci Resolve which uses custom tooltips implemented this. Should I record it and add it to the issue? In controls like NavigationView, this would make things faster and make it more like win32.

what does universal mean?

@poopooracoocoo I meant that unlike other interactions for windows I don't see this working everywhere that tooltips appear. It works in the Windows explorer system tray icons, but not in the taskbar tiles or between the language switching button, clock or action center buttons.
It's something we could do, but the reason I closed it is that given infinite time I don't see this being a high priority for us.
That said, if you have a proposal for the code changes to fix this either in NavigationView or in the XAML framework (once the relevant part is open-source'd), I'd be happy to discuss that.

I don't why it only works in the system tray icons. :/ To add to the inconsistency, it doesn't happen in the ribbon of File Explorer but it does happen in the status bar's view icons.

It's something we could do, but the reason I closed it is that given infinite time I don't see this being a high priority for us.

@jevansaks Well it could be open. Other people won't see this issue when it's closed.

@jevansaks Well it could be open. Other people won't see this issue when it's closed.

Sure, i can leave it open in the backlog.

@Poopooracoocoo, do you think #1103 would solve the problem that this issue is tracking?

@YuliKl It's not really the same.

I just noticed that Microsoft Whiteboard has this!
btw I don't like #1103 personally. I also dislike Whiteboard in all honesty. It's slow and I have to sign in to use it. It was supposed to replace Sketchpad. I don't really need syncing. I really just use it for maths and stuff

@Poopooracoocoo Is the following behavior fine with you, or is this to much delay between hiding the old tooltip and showing the new tooltip?

This would also make sense for the TabView control (especially for tabs hosted in compact mode). Would, in my view, significantly improve the user experience and would also match Edgium's behavior (and Edge UWP's). Will open an issue for that soon.

@chingucoding It looks like there's too much of a delay. Ideally there'd only be an animation for the first tooltip and then there wouldn't be anymore (or faster) animations until the last tooltip with an exit animation. Here's what I mean:

Thanks for the clarification @Poopooracoocoo !

If Age of Empires III DE, a game, can do this, surely Microsoft's 'primary' native user interface for their own OS should.

Also see https://react.fluentui.dev/?path=/docs/preview-components-toolbar--default#with-tooltip

Do not close


feat(Workspaces): add workspace database support

Add GraphQL API for workspace database.
Changes
Please list / describe the changes in the codebase for the reviewer(s).

Create graphql types/queries/mutations for database
Add database field to workspace schema

How/what to test
A few words about what needs to be tested, along with specific testing instructions if needed.
Screenshots / screencast
If relevant, please add some screenshots or a short video.

Okay i'll update it @qgerome

@qgerome I've added a resolver for the  databaseTable sample field but not that with the current implementation we will have the same issue that we had last time : how to access to the workspace object inside the resolver.

Ok, If it's pushed I'll take a look at it

Great @qgerome :+1:


feature: Pass workerRuntime value from runtime key when provisioning Azure functions

Description
Per the work item, parse the language from the runtime key and pass as workerRuntime to Azure functions provisioning.
Task Item
closes #6528
Screenshots
N/A

Coverage increased (+0.04%) to 51.15% when pulling 6132d6c7d3f49b4a4eb19110eafe5a54f67c979d on gcox/feature6528 into 0c36858101b4369ba8c5cac1215a3f7bb14eaa55 on main.


Wrong header setting for contents on Testnet

Presumably, testnet server isn't configured properly for CSP
CSP headers look wrong
default-src https://ordinals.com/content/ https://ordinals.com/blockheight https://ordinals.com/blockhash https://ordinals.com/blockhash/ https://ordinals.com/blocktime https://ordinals.com/r/ 'unsafe-eval' 'unsafe-inline' data: blob:
Needs to be testnet.ordinal.com
This is error on testnet inscription content and you can see it has wrong header which indicationg "https://ordinals.com/" instead of "https://testnet.ordianls,com/"
I think this should be fixed asap
@casey @raphjaph

Should be fixed now. Could you give me an example recursive inscription on testnet so I can check?

https://testnet.ordinals.com/content/b117ccb2b67f3567402b0ff9eaf4636ee368872883d7660c0b04e300d5964ac2i0
@raphjaph please check this one

@raphjaph
I have updated comment and plz check that one.
I need it be done asap.
Thanks

@raphjaph I have updated comment and plz check that one. I need it be done asap. Thanks

We have limited resources, and many things to do. This is high priority, but a lot of things are high priority.

I did some debugging, and I believe this is now working. Give it a shot, you might need to clear your browser cache.


Intake's use of dask.base.tokenize with in-memory data

I was peeking into the performance of databroker.in_memory.BlueskyInMemoryCatalog.upsert, and noticed that intake's use of dask.base.tokenize is still a big cost.
It looks like the slowest calls are from tokenizing databroker.core.Entry objects. The time inside sorted is negligible.
The below test demonstrates this for profiling. In this case, it generates 10 BlueskyRun's, each with 4 1000x1000 images (16 MB of numpy array), and then upserts them into a BlueskyInMemoryCatalog.
The below profiling results indicate that 96% of the time cost for this test comes from tokenize, amounting to about .7 s per run.
from pytest import fixture
import pytest
import event_model
import numpy as np
import time
from databroker.in_memory import BlueskyInMemoryCatalog

data_shape = (1000, 1000)

def doc_stream(streams, fields):
    def doc_gen(stream_names):

        # Compose run start
        run_bundle = event_model.compose_run()  # type: event_model.ComposeRunBundle
        start_doc = run_bundle.start_doc

        yield 'start', start_doc

        for stream_name in stream_names:

            data = np.random.random(data_shape)

            # Compose descriptor
            source = 'NCEM'
            frame_data_keys = {field: {'source': source,
                                       'dtype': 'number',
                                       'shape': data.shape} for field in fields}
            frame_stream_bundle = run_bundle.compose_descriptor(data_keys=frame_data_keys,
                                                                name=stream_name,
                                                                )
            yield 'descriptor', frame_stream_bundle.descriptor_doc

            yield 'event', frame_stream_bundle.compose_event(data={field: data for field in fields},
                                                             timestamps={field: time.time() for field in fields})

        yield 'stop', run_bundle.compose_stop()
    return doc_gen(streams)

@fixture
def random_data_catalog(request):
    N = request.param
    catalog = BlueskyInMemoryCatalog()

    for i in range(N):
        docs = list(doc_stream(streams=["primary", "baseline"], fields=["cam1", "cam2"]))
        start = docs[0][1]
        stop = docs[-1][1]

        def doc_gen():
            yield from docs

        catalog.upsert(start, stop, doc_gen, [], {})

    return catalog

@pytest.mark.parametrize("random_data_catalog", (10,), indirect=True)
def test_catalog(random_data_catalog):
    assert random_data_catalog

Of further interest, here's what happens when I try to get a BlueskyRun back out. Note that there's a few more calls into tokenize, and extracting one of the frames takes a further 16 s.
@pytest.mark.parametrize("random_data_catalog", (10,), indirect=True)
def test_catalog(random_data_catalog):
    assert random_data_catalog[-1].primary['cam1'].compute()

Also, logging out all the types passed into intake.utils.DictSerializeMixin.__new__ gives:
---------------------------- Captured stdout setup ----------------------------
tok: <class 'databroker.in_memory.BlueskyInMemoryCatalog'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
tok: <class 'databroker.core.Entry'>
---------------------------- Captured stdout call -----------------------------
tok: <class 'databroker.core.BlueskyRunFromGenerator'>
tok: <class 'databroker.core.StreamEntry'>
tok: <class 'databroker.core.BlueskyEventStream'>

Should be fixed using databroker master and intake master. Keep open until verification that @ronpandolfi can reproduce the speedups.

#569 reduces time in tokenize dramatically, to a negligible cost. I'm satisfied to close when merged.

Merged and released


clash with rainbow brackets causes crash

Unfortunately the plugins crashes when used in conjunction with rainbow-brackets.
I've opened an issue here and maybe the bug originates here.
Is there a known work-around for this by chance?

This should be fixed from https://github.com/ishchenko/idea-nginx/commit/79ead4e04b84515bee3e4ee6589fb765acb441e9 in the latest release.