Unable to require laravel/nexmo-notification-channel in Laravel 5.8?

Nexmo Notification Channel Version: 2.0.0
Laravel Version: 5.8.28
PHP Version: 7.3.2-3
Database Driver & Version: MySQL 5.7.25

Description:
Trying to require this package into an existing Laravel project.
Steps To Reproduce:

composer require laravel/nexmo-notification-channel

$ composer require laravel/nexmo-notification-channel
Using version ^2.0 for laravel/nexmo-notification-channel
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install laravel/nexmo-notification-channel v2.0.0
    - Conclusion: remove php-http/httplug v2.0.0
    - Installation request for laravel/nexmo-notification-channel ^2.0 -> satisfiable by laravel/nexmo-notification-channel[2.0.x-dev, v2.0.0].
    - Conclusion: don't install php-http/httplug v2.0.0
    - laravel/nexmo-notification-channel 2.0.x-dev requires nexmo/client ^1.0 -> satisfiable by nexmo/client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.3.0, 1.3.0-beta, 1.3.0-beta2, 1.3.0-beta3, 1.3.0-beta4, 1.3.0-beta5, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.8.0, 1.8.1].
    - nexmo/client 1.0.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-alpha1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-alpha2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-beta1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-beta2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-beta3 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.0.0-beta4 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.1.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.1.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.1.2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.1.3 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.2.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.2.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0-beta requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0-beta2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0-beta3 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0-beta4 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.0-beta5 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.3.2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.4.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.5.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.5.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.5.2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.6.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.6.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.6.2 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.6.3 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.7.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.8.0 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - nexmo/client 1.8.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1].
    - php-http/guzzle6-adapter v1.0.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.0.0-RC1, v1.0.0-alpha, v1.0.0-alpha2, v1.0.0-alpha3, v1.0.0-beta, v1.1.0].
    - php-http/guzzle6-adapter v1.1.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.0.0-RC1, v1.0.0-alpha, v1.0.0-alpha2, v1.0.0-alpha3, v1.0.0-beta, v1.1.0].
    - php-http/guzzle6-adapter v1.1.1 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.0.0-RC1, v1.0.0-alpha, v1.0.0-alpha2, v1.0.0-alpha3, v1.0.0-beta, v1.1.0].
    - Can only install one of: php-http/httplug[v1.0.0, v2.0.0].
    - Can only install one of: php-http/httplug[v1.0.0-RC1, v2.0.0].
    - Can only install one of: php-http/httplug[v1.0.0-alpha, v2.0.0].
    - Can only install one of: php-http/httplug[v1.0.0-alpha2, v2.0.0].
    - Can only install one of: php-http/httplug[v1.0.0-alpha3, v2.0.0].
    - Can only install one of: php-http/httplug[v1.0.0-beta, v2.0.0].
    - Can only install one of: php-http/httplug[v1.1.0, v2.0.0].
    - Installation request for php-http/httplug (locked at v2.0.0) -> satisfiable by php-http/httplug[v2.0.0].

Installation failed, reverting ./composer.json to its original content.

The original composer looks like so:
"require": {
    "php": "^7.1.3",
    "arubacao/tld-checker": "^1.2",
    "barryvdh/laravel-debugbar": "^3.2",
    "doctrine/dbal": "^2.6",
    "facebook/graph-sdk": "^5.6",
    "fideloper/proxy": "^4.0",
    "garygreen/pretty-routes": "^1.0",
    "google/apiclient": "^2.0",
    "guzzlehttp/guzzle": "^6.3",
    "hashids/hashids": "^3.0",
    "laravel-notification-channels/webpush": "^3.0",
    "laravel/cashier": "~9.0",
    "laravel/framework": "5.8.*",
    "laravel/helpers": "^1.0",
    "laravel/horizon": "^3.1",
    "laravel/passport": "^7.0",
    "laravel/slack-notification-channel": "^2.0",
    "laravel/socialite": "^4.1.2",
    "laravel/spark-aurelius": "~8.0",
    "laravel/tinker": "~1.0",
    "laravelcollective/html": "^5.8",
    "league/plates": "3.*",
    "maatwebsite/excel": "~2.1.0",
    "nao-pon/flysystem-google-drive": "~1.1",
    "nicolaslopezj/searchable": "^1.10",
    "owen-it/laravel-auditing": "^9.0",
    "pda/pheanstalk": "^4.0",
    "proengsoft/laravel-jsvalidation": "^2.4",
    "rap2hpoutre/fast-excel": "^1.2.0",
    "rap2hpoutre/laravel-log-viewer": "^1.1.1",
    "sentry/sentry-laravel": "^1.1.0",
    "spatie/laravel-backup": "^6.2.1",
    "spatie/laravel-fractal": "^5.5",
    "spatie/once": "^2.0",
    "webpatser/laravel-countries": "dev-master"
},

I'm able to install it. Try composer require laravel/nexmo-notification-channel --with-dependencies.
If that doesn't help, remove your composer.lock and vendor dir, add the dependency to your composer.json and run composer install.

@driesvints I previously removed the vendors folder, but the combination of removing the lock and vendors folder resolved this! Very weird, thanks!


for issue 94 - Tensorflow loads when loading TorchClient

for initial discussion. util.py separated / refactored into keras_util.py and torch_util.py. torch2ipfs and ipfs2torch to be impl.

I scanned all the files and update dependence on keras_utils as required (except workers/compute.py as discussed). I think I included all the comments in this PR (a unit test will come in handy eh? :)
Anyway, I am getting myself familiar with the code base and the comments helps. I have some doubt on the naming convention like should I use "save_best_model_for_task" instead of "save_best_keras_model_for_task" since keras_utils. should make the intent clear. Also for tree.py seems like it will be difficult if we want to flip between keras and torch.
Let me know what else I should change.


Develop the workspace API and controller

Implementation task for the Workspace API, per design doc.

Added to epic https://github.com/pulumi/pulumi-kubernetes-operator/issues/586

The workspace controller is functionally complete, what's remaining is some test code and a good readme.


⚠ Bofrost.lu has degraded performance

In e1fce16, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1891 ms

Resolved: Bofrost.lu performance has improved in cf4724e after 6 minutes.


Installing almond to /usr/share/jupyterlab (ie. for all users) doesn't work

Hi,
I want to install almond to use it in jupyterlab. I would like to install it for all user. Unfortunately, I can't get it to work.
The issue
I want to install almond it to /usr/share/jupyter/kernels, instead of installing to ~/.local/share/jupyter/kernels/scala for a single user. My other kernels (like python3) are indeed located in /usr/share/jupyter/kernels and work fine. So, I install almond with the following command:
$ sudo coursier launch --fork almond:0.10.9 --scala 2.13.1 -- --install --jupyter-path /usr/share/jupyter/kernels/
>>> ... downloads ...
>>> Installed scala kernel under /usr/share/jupyter/kernels/scala

After that, I can start jupyter-lab and the option to create a scala notebook indeed appears. If I create a notebook, the kernel fails to connect (status "Connecting", then "Disconnected"  at the bottom left of the web interface). In the console, I have the following error messages:
[I 2021-01-28 16:47:11.133 ServerApp] Kernel started: b1c696f1-0ac7-4096-8733-21d2c6907b21
Error: class almond.ScalaKernel not found
[I 2021-01-28 16:47:14.135 ServerApp] KernelRestarter: restarting kernel (1/5), new random ports
Error: class almond.ScalaKernel not found
[ ... 4 more times]

What is weird is that almond works perfectly if I install it for one user with:
$ coursier launch --fork almond:0.10.9 --scala 2.13.1 -- --install
>>> Installed scala kernel under $HOME/.local/share/jupyter/kernels/scala

Why does it matter ?
The big picture is that I am trying to fix the almond package for arch linux. When packaging, one must install in /usr/local which is the standard location for packages that all users have access to.
System
Kernel: linux-5.4.92-1-lts
Java: Oracle JDK 11 (also tried with Oracle JDK 8)
Coursier: 2.0.7, JVM version from the AUR (although I also tried with 2.0.9 native version from get-coursier)

Could you help me out with this ? Let me know if you need any additional info
Best

Got some problem.

Error: class almond.ScalaKernel not found, just because cache path was not specified during installation, so it will use default cache path ~/.cache/coursier/v1, so other users will not find the jar in the cache path.

open launcher.jar/coursier/bootstrap/launcher/bootstrap-jar-urls will find:
file:/https/jitpack.io...

So, if we want to install global, must override cache path.
demo:
# create folder for global cache
mkdir /usr/share/coursier/cache
# add to bashrc for all users who want to use kernel
export COURSIER_CACHE=/usr/share/coursier/cache

# install kernel
coursier launch --fork almond:0.10.0 --scala 2.12.11 -- --install --global

# change perm for all users who want to use kernel, let's say jupyter group
chgrp -R jupyter /usr/share/coursier
chmod -R g+rwxs /usr/share/coursier

# add kernel read perm for user
chmod -R +r /usr/local/share/jupyter/kernels/scala

The solution does work. Closing.


Per-request time spent in Envoy in Access Logs

Hello from Cloud Foundry! We are using Istio with Envoy in our efforts to move to Kubernetes. As part of that, we are trying to make envoy's access logs feature compatible with our existing ingress router, Gorouter. Docs here for the curious, but the specific field we're interested in emulating is:

Gorouter Time is the total time it takes for the request to go through the Gorouter initially plus the time it takes for the response to travel back through the Gorouter. This does not include the time the request spends traversing the network to the app. This also does not include the time the app spends forming a response.

Our users find gorouter_time very helpful when diagnosing latency issues. With a value like this, plus the existing x-envoy-upstream-service-time we could accurately identify whether the cause of latency is envoy, the application, or the network (in my experience it's often the network, so quickly identifying this is helpful).
So far what we've figured out is that we can subtract %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% from %RESPONSE_DURATION% to get the amount of time from when the ingress envoy receives the request to when the workload receives the request. However this includes time spent in networking between the gateway and the workload, and it's missing the time the request spends traveling back through the gateway. So it's unfortunately not sufficient to eliminate envoy.
Is there a value we could use that captures this in the access logs? Or as a less-preferred alternative, are there metrics that could at least give us a sense of this in aggregate?

Is there some misunderstanding here?
https://github.com/envoyproxy/envoy/blob/d58bdcf86e1fe9ec843c126e778b44e33102bb7a/source/common/router/router.cc#L1268
It seems that %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% includes the latency of the network from Envoy to workload and the time cost of workload generating responses.
So, we can subtract %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% from %DURATION% (not %RESPONSE_DURATION%) to get the latency caused by Envoy itself.

Our impression was that the %RESP(???)% command was reading the headers off of the upstream response. In the Istio case there's an Envoy gateway and an Envoy sidecar before the app; we believed that X-ENVOY-UPSTREAM-SERVICE-TIME was coming from the sidecar Envoy. We observe that responses from the gateway include this header, but they are different from what is rendered in our access log:

Therefore we're pretty confident in saying this is the value from the sidecar, not the value from the gateway.
Perhaps this diagram will better explain our situation and what we're looking for:

I believe that the value we want is actually the value of the X-ENVOY-UPSTREAM-SERVICE-TIME that the gateway envoy attaches to the response it sends to its client, but we need that in the access log. Is there a way to do that?

Since the Access Log is rendered after the request is completed, %RESP(...)% should read data from the headers returned from the envoy gateway to the client (not the headers returned by the upstream, our plugin may make some modifications) .
I try it locally to see what the problem is. In addition, if you can, I hope you can provide the format of the access log.

Since I do not have a suitable environment locally, I directly access httpbin.org through the envoy gateway. By specifying /response-headers, httpbin.org will return a response with x-envoy-upstream-time to the envoy gateway, but eventually the header data will be overwritten by the envoy gateway. And the upstrem service time in the Access log is the rewritten data.
Access Log format:
        config:
          access_log:
            name: envoy.file_access_log
            config:
              path: /dev/stdout
              json_format:
                "upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%"

curl envoy gateway:
$ curl localhost:8080/response-headers?x-envoy-upstream-service-time=3\&flag-header=This-header-will-not-be-overwrite-by-envoy -I
HTTP/1.1 200 OK
date: Wed, 05 Aug 2020 02:29:10 GMT
content-type: application/json
content-length: 174
server: envoy
x-envoy-upstream-service-time: 515
flag-header: This-header-will-not-be-overwrite-by-envoy
access-control-allow-origin: *
access-control-allow-credentials: true

curl httpbin.org directly:
$ curl httpbin.org/response-headers?x-envoy-upstream-service-time=3\&flag-header=This-header-will-not-be-over
write-by-envoy -I
HTTP/1.1 200 OK
Date: Wed, 05 Aug 2020 02:31:18 GMT
Content-Type: application/json
Content-Length: 174
Connection: keep-alive
Server: gunicorn/19.9.0
x-envoy-upstream-service-time: 3
flag-header: This-header-will-not-be-overwrite-by-envoy
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true

Access Log result:
{"upstream-service-time":"475"}
{"upstream-service-time":"481"}
{"upstream-service-time":"493"}
{"upstream-service-time":"477"}
{"upstream-service-time":"238"}
{"upstream-service-time":"503"}
{"upstream-service-time":"527"}
{"upstream-service-time":"240"}
{"upstream-service-time":"530"}

Debug Log of envoy gateway:
[2020-08-05 10:48:02.885][13642][debug][http] [source/common/http/conn_manager_impl.cc:1777] [C0][S18064157627675955617] encoding headers via codec (end_stream=true):
':status', '200'
'date', 'Wed, 05 Aug 2020 02:48:02 GMT'
'content-type', 'application/json'
'content-length', '174'
'server', 'envoy'
'x-envoy-upstream-service-time', '530'
'flag-header', 'This-header-will-not-be-overwrite-by-envoy'
'access-control-allow-origin', '*'
'access-control-allow-credentials', 'true'

From the above results, it is not difficult to see that the x-envoy-upstream-service-time from the upstream will be rewritten by the envoy gateway, and the data written to the Access Log is the rewritten data.

But it is really strange that the results obtained by your curl command do not match the Access Log data. I recommend that you use the following command to open the debug log of the envoy gateway, and then check what the gateway returns to the client. At the same time, compare x-envoy-upsteam-time in the debug log and x-envoy-upstream-service-time in the Access Log. They should be consistent.
kubecctl exec <envoy-gateway-pod-name> -n <namespace> -- curl localhost:<adminport>/logging?level=debug -X POST

Hey @wbpcode . I work with @XanderStrike on this task and we double checked our results and we saw that numbers from access log and from curl match. I guess, we were looking the wrong log line.

Also @wbpcode ,  you said:

It seems that %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% includes the latency of the network from Envoy to workload and the time cost of workload generating responses.

However, the docs say:

x-envoy-upstream-service-time - Contains the time in milliseconds spent by the upstream host processing the request.

And it looks like that the docs are not right, it's the time in milliseconds spent by the upstream host processing the request and the networking delay, right?

The description of the docs does appear to be somewhat inaccurate

@XanderStrike may be we can close this issue?

Thanks for all your help!


The overlay shouldn't glitch out if there is no title provided

This helps solve some of the strange behaviour we were seeing with overlays on @CodeBaboon's computer (Turns out that something was leaving his overlay without a title)

@ryantmer good to merge?

:+1:


Support InOut bindings and make the Bindings\Integrate components more resilient to user errors

the code in that component should be more resilient to errors in config and should display a better error message. The config file is editable by hand and it should be expected that people will make mistakes there.

What is the ETA on fixing this? We have customers that are using the advanced editor to set bindings as "inout" and the behavior they see is that their bindings then disappear (since the portal doesn't know how to show them at that point).

Yeah, I'd also like to know the ETA. I have a sample that uses InOut that I'm going to have to downgrade to an older runtime in order to do demos.
@ahmelsayed I'd also like to categorize this as a bug rather than Improvement, since it breaks functionality.

the fix doesn't address the resiliency part.

"make the Bindings\Integrate components more resilient to user errors" was pushed as part of:
05c8f8d5b3adae214ff5bfbc604c489bc266e2aa
AzureFunctions.Client/app/models/binding-manager.ts

@alrod I believe this fix is still in dev--what's the ETA for pushing to prod?

Here's what I get in IE:
Error:
EXCEPTION: Error in ./FunctionIntegrateV2Component class FunctionIntegrateV2Component - inline template:72:42 ORIGINAL EXCEPTION: TypeError: Unable to get property 'documentation' of undefined or null reference ORIGINAL STACKTRACE: TypeError: Unable to get property 'documentation' of undefined or null reference at Anonymous function (https://functions.azureedge.net/sfx/app.js?v=b70689a3:30764:15) at SafeSubscriber.prototype.__tryOrSetError (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60191:9) at SafeSubscriber.prototype.next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60139:16) at Subscriber.prototype._next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60094:7) at Subscriber.prototype.next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60071:9) at ScalarObservable.prototype._subscribe (https://functions.azureedge.net/sfx/app.js?v=b70689a3:58704:9) at Observable.prototype.subscribe (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60257:7) at binding.set (https://functions.azureedge.net/sfx/app.js?v=b70689a3:30758:13) at _View_FunctionIntegrateV2Component15.prototype.detectChangesInternal (Function code:1496:5) at AppView.prototype.detectChanges (https://functions.azureedge.net/sfx/app.js?v=b70689a3:42053:7) ERROR CONTEXT: [object Object]
Session Id: a588ee00431f4c949d527174baefc011
Timestamp: 2016-09-02T21:50:53.136Z
In chrome, I don't see the error in the UI itself, but the UI is unresponsive and I see the following in the console:
2:52:09 PM functions functions: {"resourceId":"/subscriptions/5d6c94cd-6781-43e3-8a94-ceef4c28850e/resourceGroups/ContosoMoments/providers/Microsoft.Web/sites/contosomoments-function","message":"EXCEPTION: Error in ./FunctionIntegrateV2Component class FunctionIntegrateV2Component - inline template:72:42\nORIGINAL EXCEPTION: TypeError: Cannot read property 'documentation' of undefined\nORIGINAL STACKTRACE:\nTypeError: Cannot read property 'documentation' of undefined\n    at SafeSubscriber._next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:30764:32)\n    at SafeSubscriber.__tryOrSetError (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60191:12)\n    at SafeSubscriber.next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60139:25)\n    at Subscriber._next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60094:24)\n    at Subscriber.next (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60071:14)\n    at ScalarObservable._subscribe (https://functions.azureedge.net/sfx/app.js?v=b70689a3:58704:20)\n    at ScalarObservable.Observable.subscribe (https://functions.azureedge.net/sfx/app.js?v=b70689a3:60257:60)\n    at BindingComponent.set [as binding] (https://functions.azureedge.net/sfx/app.js?v=b70689a3:30758:55)\n    at DebugAppView._View_FunctionIntegrateV2Component15.detectChangesInternal (FunctionIntegrateV2Component.template.js:1498:40)\n    at DebugAppView.AppView.detectChanges (https://functions.azureedge.net/sfx/app.js?v=b70689a3:42053:12)\nERROR CONTEXT:\n[object Object]"}

Btw, just tried Edge, and it has the same behavior as Chrome.

@alrod is the expert here, but looking at the code and your function config it looks like this returns undefined for these inputs
this._bindingManager.getBindingSchema('blobTrigger', undefined, bindings.bindings)

@lindydonna, can you please give the steps to repro the error? How do you define in-out binding in function.json? Where do you edit function.json?

@alrod I'll RBAC you in to a site to do a repro

I've split out half of this into a new bug, #539
@mathewc  Is the binding "InOut" case sensitive?  If so, what is the correct case?

@alrod The binding is not case sensitive, but afaik your comparison needs exact strings to match. Please hardcode these strings as acceptable:
inout
inOut
InOut
Inout


Bhv 5137 Add renderOnShow option

Requested from HQ developers.
Issue
Due to performance matter, app developers would like to adjust rendering timing between render on creating and render on actual showing.
Cause
enyo.Control does not have an option to delay rendering
Fix
Add renderOnShow option. If developer sets it true,
automatically this control has showing:false and canGenerate: false
When we call setShowing(true) first time, it will start render.
Enyo-DCO-1.1-Signed-off-by: David Um<EMAIL_ADDRESS>

@DavidUM  and @aarontam  - is this PR still needed? or is it replaced by the work Aaron has been doing? thanks.

Hi @lishammel, I think we can close this for now, thanks!


Scipy wav file format not understood error

<<Please describe the issue in detail here, and for bug reports fill in the fields below.>>
I had 2 wav files , that I had been using since the past , and they work perfectly with scipy wave read function , but when I added a new file , it threw following error
Traceback (most recent call last):
  File "multidata.py", line 83, in <module>
    fs[i], audio[i] = wav.read(audio_filename[i])
  File "/home/saurabh/anaconda3/envs/py27/lib/python2.7/site-packages/scipy/io/wavfile.py", line 236, in read
    file_size, is_big_endian = _read_riff_chunk(fid)
  File "/home/saurabh/anaconda3/envs/py27/lib/python2.7/site-packages/scipy/io/wavfile.py", line 168, in _read_riff_chunk
    "understood.".format(repr(str1)))
ValueError: File format '<htm'... not understood.

I have tried recording with sox , arecord and audacity , also made sure there is no metadata , I have also tried all possible settings like mono , 16 bit , 16000 hertz etc , It doesn't work , even the settings matching with two wav files which the function is able to read
Reproducing code example:
<<A short code example that reproduces the problem. It should be self-contained, i.e., possible to run as-is via 'python myproblem.py'>>

for i,j in enumerate(wav_files):
print (i,j)
audio_filename[i] = maybe_download(j + '.wav')
print ( audio_filename[i])
#print (audio_filename)
target_filename[i] = maybe_download(j + '.txt')
fs[i], audio[i] = wav.read(audio_filename[i])
#print (audio[i])
maybe_download is a function that checks if file exists locally , otherwise downloads it
Error message:
<<Full error message, if any (starting from line Traceback: ...)>>

Scipy/Numpy/Python version information:
<<Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'>>

From the error message ValueError: File format '<htm'... not understood., I strongly suspect your file is not a WAV file, and is likely an HTML file.  Have you looked at the contents of the file?  Try viewing it in an editor.

I have played the .wav file in my audio player , it works fine

and yes , I have examined the contents of the file , they look perfectly fine , here is the header of the file causing problem
RIFF<\D8\00\00WAVEfmt \00\00\00\

Also , please note that problem persists if I use .wav file from standard speech recognition datasets like AN4 dataset , so the problem is definitely not the source creating .wav file

some internal function was causing conflict , in other words , It's my own mistake , closing this

OK, thanks for following up.

I have also encountered this problem recently. Can you tell me how this problem is solved?

@GreatJiweix the file was corrupt, size was 0 bytes or something.

I have the same issue :(

I have the same issue. I did check the file size and it 557 Bytes

same issue

I am getting "ValueError: Unknown wave file format"

how to convert wav file into simple png ? I am trying librosa but not succesfull


Flexible Pricing: flexible pricing requests should be applied to programs instead of courses

Summary
Right now flexible pricing is using the course that the learner has linked from, we'd rather this be program-based so that learners don't have to apply to every course because this would be burdensome and confusing.
We also need a way to apply program-level discounts to the courses. This issue is blocked until we determine how to do that.
Acceptance Criteria

[ ] The flexible pricing page should probably be hosted under the program instead
[ ] The flexible pricing link on the course page should still link to this page
[ ] When the learner submits their request the program should be associated with that program
[ ] When the request is approved the learner should get a discount on the program

Is there a particular issue blocking this?

I don't think there's an issue that's blocking this (at this point in time) but there's some thought that needs to go into how this will be implemented. This is my thinking on the subject:
The link between a flexible pricing request (a FlexiblePricingFormSubmission) and the courseware object that it is associated to is weak. There's not an FK in there for this; it just has a helper function to figure out what the parent page is and grabs the courseware object it is associated with. (This is why the flexible pricing form itself needs to be a child page of the course - it's how the FlexiblePrice model figures out what courseware object it needs to be associated with.) That's only courses at the moment as we don't have a way to add a page for a program into the CMS. Expanding that to work with programs can be done in one of two ways:

We can add program pages into the CMS (I'd think in the same way the course pages are done up now). Then, the Flexible Pricing request forms can be updated slightly to allow having a program page as a parent. Any Flexible Pricing request form that's created underneath a program's page, then, would be able to grab the program as the courseware object for submitted requests.
We can add a dropdown to set the courseware object for the Flexible Pricing request forms, similar to how the courses are set for course pages. Then, the form itself would be explicitly linked to the courseware object whether or not it's a program or a course.
Doing both here is also a viable option - I'm thinking we need program pages in general anyway so the question is really whether or not we also do the second one.

Flexible pricing tiers and products can be established now for programs (or program runs, in the case of products - we only sell runs). So, they're already set up right. We would need to amend the code that applies flexible pricing discounts to consider a couple new scenarios:

If the product being purchased is a program run, then it should look for tiers that are associated with the underlying program. (Right now it's hard-coded to look for courses.)
If the product being purchased is a course run, it should also look for a tier that matches on the course's program membership. This would handle the case where the learner's applied for flexible pricing for Program X on Jan 1; then Course R is added to the program Feb 3; and the learner then needs to go buy access to the course on Mar 5 - the flexible pricing that was set up for the course should then also automatically apply even though there's nothing specifically linked to Course R.

There is separate code that looks for and applies the flexible pricing discount depending on whether or not the learner has an approved flexible pricing request for the courseware object, so this would all go in there. I think this would be pretty straightforward to do.
The link is probably the easiest part of this. It's just a link in the course page so it can link to whatever flexible pricing request form is required, which can definitely be the one for the program once those can be made. (It was going to Zendesk.) There's nothing automatic about this - I didn't want to programmatically make a determination about which form might or might not be valid for the course and there's nothing limiting you from having more than one FP request form for a course (so you can do drafts or different forms for special purposes or marketing reasons, etc.).

Is this still blocked?


Printing Iteration every example problem

Iteration:   0%|          | 1/250 [00:00<03:28,  1.19it/s]

Iteration:   1%|          | 2/250 [00:01<03:21,  1.23it/s]

Iteration:   1%|          | 3/250 [00:02<03:17,  1.25it/s]

Iteration:   2%|▏         | 4/250 [00:03<03:14,  1.27it/s]

Iteration:   2%|▏         | 5/250 [00:03<03:11,  1.28it/s]

Iteration:   2%|▏         | 6/250 [00:04<03:09,  1.29it/s]

Iteration:   3%|▎         | 7/250 [00:05<03:05,  1.31it/s]

I dont know what is the error that is causing this error , can somebody help ?
and this is the code
train_iterator = trange(int(num_train_epochs), desc="Epoch", disable= local_rank not in [-1, 0])
    set_seed(42)

    Epochs = 0
    for _ in train_iterator:
        epoch_iterator = tqdm(train_dataloader, desc="Iteration", disable= local_rank not in [-1, 0])
        #print('Check')
        Epochs = Epochs + 1
        for step, batch in enumerate(epoch_iterator):
            model.train()

Are you running in jupyter? This might be an artifact of how tqdm is interacting with whatever shell you're running it in. If you don't want to print anything, you could simply drop the tdqm wrapper and just iterate over train_dataloader.


UDP Multicast is not working in esp8266

Hi,
I'm trying to do UDP multicast communication by using "netconn_join_leave_group" function.
netconn_join_leave_group(struct netconn *conn,
ip_addr_t *multiaddr,
ip_addr_t *netif_addr,
enum netconn_igmp join_or_leave)
Expected result: If there is no group with that multicast, it should create group and join into the group.
Actual result: It's not creating multicast group. So, it can't join in that group and have the multicast communication.
I'm using
multicast address(2nd argument) is in between <IP_ADDRESS> and  <IP_ADDRESS> (IP class D)
local ip address as netif_addr (3rd argument)
Please look into this issue.

I have successfully used multicast between an ESP8266 and a Python script. Please have a look at https://github.com/kanflo/opendps/blob/master/esp8266-proxy/uhej.c#L182 and https://github.com/kanflo/opendps/blob/master/dpsctl/dpsctl.py#L368.


dh: document what the PEM files in apps actually contain.

They were claimed to be the SKIP primes but they are really two of the MODP Diffie-Hellman groups for IKE.

[x] documentation is added or updated

Should this go back to 1.1.1 too?  The PEM files were last modified four years ago.
Should the dh1024.pem file be deleted and the reference in the documentation be removed?
I'm happy for both to happen.

The dh*.pem files in crypto were also very old and unusued.  I've removed them as well.
Probably not for 1.1.1 given the file destruction.

This pull request is ready to merge

Merged to master.  Thanks for the review.


[coinbase wallet] use window.ethereum provider if available

Description
Update coinbase injected wallet to use window.ethereum provider if available.
Checklist

[x] The version field in package.json is incremented following semantic versioning
[x] The box that allows repo maintainers to update this PR is checked
[x] I tested locally to make sure this feature/fix works
[x] This PR passes the Circle CI checks

@taylorjdawson I didn't see a contributing doc in the repo. Please forgive me if I'm not following it. It would be great to get some eyes on this PR and see what's needed from my side to get it merged.
Thanks in advance and I look forward to hearing back from you.

Thanks @Adamj1232!


Self verify my old riot

A user should still be able to verify their matrix clients that do not support verification requests.
Riot-web does that by sending verification start (QR is then no more possible):

Riot-iOS displays this currently:

RiotX displays:

Interactively Verify by Emoji (ie, sending a m.verification.start event without m.verification.request before) is going to be deprecated.
@nadonomy, I wonder if iOS could skip "Interactively Verify by Emoji" right now and display this 2 buttons:
[ Manually Verify by Text ]
[ Interactively Verify ]
"Interactively Verify" sends a m.verification.request event. This allows QR code verification. Users can still verify their old Riots or matrix clients that does not support verification by "Manually Verify by Text".

Following we had for SAS, this can look look like this:


Add possibility to provide a template to generate host and advertisedHost fields

This proposal suggests a way how to (optionally) template the host and advertisedHost fields in the listener configurations in the Kafka CR. Thanks to that, Strimzi users should not need to specify these for every single broker if they are using some predictable pattern.

This now has 5 binding and 1 non-binding +1 votes. If there are no new comments tomorrow evening, I will close it as approved.

Approved with 6 binding and 2 non-binding votes.


CloudFront DistributionConfiguration ViewerCertificate missing propertie

Hello,
in the source code of troposphere 1.7.0  are the props defined as:

class ViewerCertificate(AWSProperty):
props = {
'CloudFrontDefaultCertificate': (boolean, False),
'IamCertificateId': (basestring, False),
'MinimumProtocolVersion': (basestring, False),
'SslSupportMethod': (basestring, False),
}

But the documentation has an addition field:
AcmCertificateArn
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html

This has been merged to master in #540


Added capability with Input Source

This is including flow triggers and conditions for the Input Source

Sorry, I couldn't send it to the development branch. I'll hope you're able to merge.
Most important is #2641fa612006051d0278e1f6b2345b25d906b995


Added Ability to specify a password which will be used to encrypt the pfx file

Added Ability to specify a password which will be used to encrypt the pfx file, so it can be used as a certificate inside browsers, without editing it manually with OpenSSL
Only implemented for the "req" option but can be added to other's that use create_pfx()

Can somebody merge this?


Tilde fenced code blocks

Hi Anton,
I think both backticks (```) and tildes (~~~) can be delimiters for fenced code blocks ?
It might be good to support both ?
Just a suggestion.
:-)
Lines 79-80
#| Markdown code chunk ticks
constant $mdTicks = '```';

Spent ≈ 45 min trying to incorporate the ~~~ block markings without success. Hence, I consider this issue low priority.
Also, I have not seen tildes-marked code blocks used anywhere, except here, and in Markdown and Markdeep documentation.
See:

Markdown
Markdeep

Thank you for trying Anton ! :D
In case it is of any help, here's another way I've seen it done.

Implemented -- see the last test 13 of the test file "02-string-code-chunks-processing-markdown.rakutest".

The feature should be available in raku.land submitted versions "Text::CodeProcessing:ver<0.5.6+>".


Adding Performance Metrics Plots at the End of Training Process

Hi,
I'd like to request adding plots for performance metrics (precision, recall, map50, map50-95, PR_curve, etc) at the end of the training process.
Thanks

Hey @hamedgorji ,
Plots are available throughout training, including the end of it through tensorboards (see here)


Bug 2278603: [release-4.16-compatibility] UI is failing to check target cluster status at the time of failover

Manual backport of: https://github.com/red-hat-storage/odf-console/pull/1353

/retest


Storage of file

Sorry to post as an issue. But how (and can) I use MonkeyCache to store files. I guess I can store a base64 string but don't really want the size overhead with that.

You should just use System.IO https://docs.microsoft.com/en-us/dotnet/standard/io/

Hi @jamesmontemagno .. I should have posted some code. But passing a Stream results in an exception about Timeouts.
byte[] media = Convert.FromBase64String(result.data.Media);
Stream stream = new MemoryStream(media);
Barrel.Current.Add<Stream>(item.MediaId, stream, TimeSpan.FromDays(30));

I mean you could... or you could just File.Create https://docs.microsoft.com/en-us/dotnet/api/system.io.file?view=netframework-4.8
Don't use Monkey Cache for this, this it not what you are supposed to do or its purpose. It is for storing simple data. Literally System.IO was created to store files.

ok @jamesmontemagno thanks. I thought it would be a good way to ensure I keep cache clean as I didn't want the media files hanging around forever and didn't want to rely on the OS or user to clean them


Improvements & fixes

Fixes the Debug::log method using the old format (%s => {})
Added compile_commands.json to gitignore. This file is generated by clangd.
Added an install_and_reload target in the Makefile, which builds the plugin, unloads the old one, installs the new one and loads it. Very useful for development
Applied some clang-tidy suggestions to improve code quality (mainly making some arguments const &)

@Duckonaut Do you have time to review this PR?

Closing because this is quite outdated. I'll reopen a separate PR with some of the same changes soon.


Waterfall - InitialHandler is pinging

Hello, please add function.
I'm using waterfall and and I get a lot of messages InitialHandler is pinging
Please hidden message for waterfall, thank you!

What messages do you mean exactly?
Waterfall does offer to hide normal pings, although the plugin should do that too. If you just mean those, prefer the native support instead of the plugin. source; the Waterfall config option should be log_initial_handler_connections.

Are you still interested in this?

I'd like to reply for that person. Those messages don't seem to disappear when using "log_initial_handler_connection" in waterfall.yml.
So If you could add "InitialHandler is pinging" support for QuietCord, that would be cool!

Thanks for the clarification. I'll need to set up a working Waterfall environment to test this, and with university starting tomorrow, it doesn't look like I'll have time for that soon. Pull Requests are of course appreciated.


can not reproduce the result of VisDA-C

Hi, thanks for your awesome work! I just clone this repo, and follow the recommended lines:
 python image_source.py --trte val --output ckps/source/ --da uda --gpu_id 0 --dset VISDA-C --net resnet101 --lr 1e-3 --max_epoch 10 --s 0
 python image_target.py --cls_par 0.3 --da uda --dset VISDA-C --gpu_id 0 --s 0 --output_src ckps/source/ --output ckps/target/ --net resnet101 --lr 1e-3

After trained on source domain, I get the good source-model acc (47.62%) better than paper (acc 46.6%)

But I use the command to adapt the model to target domain (clas_par=0.3, seed=2020), the result is only about 75%. The log can be found here
Any problem in my training process? Look forward to your reply.
Best wishes!

@Wang-xd1899 Hi, it looks that the source-only result is normal, and the log sounds okay too. Lower results may be resulted from the environment? (The biggest difference lies in the last class "truck"). You can use the same environment with mine and try again.


The plugin do not clear Task reported errors

Currently vscode-eslint do not run lint through project, only on current file.
But I would like to know a list of all my errors through the project. So I defined a task to run eslint through the project.
Now I open an error and fixes it, but the marker is not cleared. I think as I've opened the file and modified something, vscode-eslint should be triggered and do something to clear up the marker.

This is the expected behaviour.

But I would like to know a list of all my errors through the project. So I defined a task to run  eslint  through the project.

This is the right thing to do and we recommend to do this using a task runner like gulp or grunt.

Now I open an error and fixes it, but the marker is not cleared.
If you want this behaviour then you should configure a watch task using your task runner. When you do this, then I recommended to configure running eslint with the --cache command line argument.
http://eslint.org/docs/user-guide/command-line-interface. In this way eslint is only run on files that have changed.

@dbaeumer we should document how to optimally configure eslint for a js project.

Thanks for the quick reply. I will try watch

I looked into this and there is some misalignment with problem matchers defined in VSCode and extensions reporting errors. So I suggest to do the following:

problem matchers that match eslint problems set the owner to eslint.
Same for the eslint extension.

@egamma: this will make a much nicer expierence for eslint. We should do the same for jscs, tslint, jshint.

@dbaeumer fully agreed and I'm setting the owner inside vscode-tslint. What I don't do is to set the owner on the problem matcher.

The owner for eslint problems is now correctly set to eslint.


Call request_fields with the current request

Prefer yielding the controller's request object over evaluating the Proc in the controller context, which seems broad and unnecessary.

/cc @anoldguy


Documentation

It would be great if you could add some documentation about how the whole app works, how to connect it to backend and create or delete admins.

I added 2 products through the admin interface, but when i login using a normal user, it gives me an error:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:437)
at com.alpha.groceryshoppingsystem.Adapters.GridproductAdapter.getView(GridproductAdapter.java:64)
Please provide some documentation regarding the functioning of the app.

Because I actually locked the database access. So anyone can't make any
changes in the data.
On Mon, Nov 2, 2020, 7:19 AM singhatalpha<EMAIL_ADDRESS>wrote:

I added 2 products through the admin interface, but when i login using a
normal user, it gives me an error:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:437)
at
com.alpha.groceryshoppingsystem.Adapters.GridproductAdapter.getView(GridproductAdapter.java:64)
Please provide some documentation regarding the functioning of the app.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kareem983/Grocery-Shopping-System-App/issues/1#issuecomment-720241844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMRGO5G3ECSCBFXR3KI7YSDSNY6OVANCNFSM4TG7QXFA
.

It would be great if you could add some documentation about how the whole app works, how to connect it to backend and create or delete admins.

okay Soon we will upgrade new version with new features including Documentation

It would be great if you could add some documentation about how the whole app works, how to connect it to backend and create or delete admins.

okay Soon we will upgrade new version with new features including Documentation


Spanish Bug: Locale setting sometimes lost on Login / Logout

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?

Sometimes the app swaps back to English when you log in or log out. The log out isn't such a big problem, but it's annoying to swap the app to Spanish twice.

What feature or behavior is this required for?

Better Spanish mode!

How could we solve this issue? (Not knowing is okay!)

Not the slightest.
Originally discovered in #1648

low reward to fixing this, closing


How to register function help for VBA user-defined functions?

VBA user-defined functions are treated as macro sheet-equivalent functions.  In particular, they can be found in the Insert Function wizard that displays the help text appropriate for the chosen function.  Short of rewriting the VBA code in C, how do you register a function help text for such a function?

@yecril71pl Thanks for your feedback. First try the VBA developer community on Stack Overflow (https://stackoverflow.com/questions/tagged/vba) where you can get help from actual developers. If you find a bug in our documentation, please let us know. Thanks!


Missing "mode" when used with Syntastic

Firstly thanks for this plugin. It's really lightweight for a minimalist like me.
I code Python, and I started using Syntastic for syntax checking recently. And i just found out something. Let me describe it in details below.

Open a python file, no problem

Make some errors, try saving it, and Syntastic would report the errors

At first, it looked like nothing is wrong

But then when I fixed and saved, Syntastic window closed and....somehow "mode" disappeared too

Here is my config of those 2 plugins. I hope I explained clearly what happened. I can still see the mode below the line, but just that I don't feel comfortable losing the mode part on the lightline. Do you have any idea?

How about configuring SyntasticCheckHook?
function! SyntasticCheckHook(errors)
  call lightline#update()
endfunction

Hi, thanks for your reply. After a few test, I found that lightline won't be updated when the error window appeared, and when I fixed the errors then saved, I had to save once more for the lightline to be updated. Tried both SyntasticCheckHook and g:SyntasticCheckHook. Do you have any idea?

Okay so I inserted an echo command after the update call to check if it's called, and it turned out to be called any time I save (which triggers syntastic check). So I'm just confused how lightline#update() didn't work.

Try :call lightline#update() manually does not work too?

No, calling manually actually worked. That's what is confusing.

I still cannot reproduce the issue, please write the precise steps to reproduce with the following vimrc. (I couldn't make syntastic check with Python works so I use Go)
set nocompatible
set rtp+=/path/to/lightline.vim
set rtp+=/path/to/syntastic
set laststatus=2

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 1
let g:syntastic_enable_highlighting = 0

filetype plugin indent on
syntax enable

test.go
ackage main

 % vim -u ./.vimrc test.go
:SyntasticCheck go # location list opens
ip<ESC> # correct the syntax
:w # lightline looks still normal

Ok. Here it is
test.py
rint("Hello World")

% vim -u ./.vimrc test.py
:w #location list opened
ip<ESC> # fix it
:w # location list disappeared but lightline lost the mode part
:w # lightline back to normal

Additional info: So I played around a bit, and I found something like this.
Basically syntastic error report is a window, and test.py is another window. If I run :call lightline#update() right after error window apppeared (in which test.py window is being focused), lightline on test.py window will become normal while syntastic's will lose mode (image below). After that if I change focus to syntastic window, its lightline came back to normal while test.py window will lose mode part until another :call lightline#update() or fixing the error followed by 2x :w
I'm really sorry if I bothered you too much with this issue.

Hmm, still I cannot reproduce the issue.

I use Vim 8.2.450. What's your version of Vim?
I use latest versions of lightline.vim and syntastic. Do you?
Can you try timer_start solution?

function! SyntasticCheckHook(errors)
  call timer_start(10, {_->lightline#update()})
endfunction

I use Nvim v0.4.3 with :PluginUpdate
OMG that timer worked like charm! Can you give me a brief explanation? My guess is that lightline#update() try to be executed before syntastic check, though looking at the code it's nearly impossible.

Okay, I could reproduce with NeoVim. I would expect SyntasticCheckHook is called after closing the location list (in Vim it works like this) but something seems to be different in NeoVim (I don't want to take time to trace the root cause though). Just using the timer to delay the call of lightline#update works.

Okay thanks for that. I will close this issue :+1:


[Flow] Function predicate declaration

The accepted syntax for function declarations is extended to allow
the specification of a function predicate (inferred or explicit). This
should be placed right after the function's return type (if existing,
otherwise the colon that would designate the start of the return
type). So the return type syntax becomes:
FunctionReturnType :=
  Type
  Predicate
  Type Predicate

Predicate :=
  %checks
  %checks ( ConditionalExpression )

These changes are with regards to this commit in the Flow repo.

 Last update dc56c0b...a411e1e

Thank you for your first PR to babylon.
In order this works throughout the complete chain of babel, all the new node types (I think it is only DeclaredPredicate  and InferredPredicate) need to be added to babel-types and babel-generator
Could you do that and create a PR for babel?
I would wait with the merge till we have a PR in babel and the new flow version is released.
Great work!

Thanks @danez! I'll address your comments

@danez: This can still wait until Flow's upcoming release.

Thanks for the pointers, @danez!
I will get to these, but I'm still waiting for support for function predicates to be fully merged in Flow master.

I know flow supports this now, is this waiting on more changes, or has it just been forgotten?

Sorry for taking so long to get back to this.
AFAIK, there is still some function predicate code that hasn't been merged to Flow's master. Most of these changed involve the type checker, but there is also some parser work under way. For example I believe the notation of predicate refinement will be updated to something more elegant. Also, there has not been an official announcement yet.
However, you are right that some support for function predicates (including %checks) is already in mainline and recognized by the native Flow parser, so I guess there should be support here as well.
I recently rebased my original PR, addressed @danez 's comments (including the ones in the respective babel PR) and added one more example.

Any progress on this? I'd love to see this land to unblock early use


Update configuration and Metrics by running docGen

Update Alluxio configuration and metrics

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.5 please


md-select (multiple) not being reactive

The md-select multiple component is not being updated when the v-model changes. Also the initial state of a select with multiple is not working.

Can you give me a Codepen example?

Hi,
here is the codepen
This example only works if the users array will be set in the data property
Or is there something wrong with the code?
Thanks and happy christmas!


🎉 4.0.2

ℹ About this release

Version: 4.0.2
Type: patch
Last Release: 4.0.1 (7/19/2023, 7:40:54 PM) [?]
Commits to merge: 85 [?]

↩ Reverts

Revert "ci: Run tests with node.js v18, v20 and v21" (405853b)
Revert "ci: Downgrade is-semantic-release till it's fixed" (91c2ab5)

📦 Development Dependencies

Update @qiwi/semantic-release-gh-pages-plugin from ^5.2.5 to ^5.2.10
Update @sebbo2002/semantic-release-docker from ^4.0.0 to ^4.0.2
Update @semantic-release/npm from ^10.0.4 to ^11.0.1
Update @types/mocha from ^10.0.1 to ^10.0.4
Update @types/node from ^20.3.1 to ^20.8.9
Update @types/ws from ^8.5.5 to ^8.5.9
Update @typescript-eslint/eslint-plugin from ^5.61.0 to ^6.10.0
Update @typescript-eslint/parser from ^5.61.0 to ^6.10.0
Update c8 from ^8.0.0 to ^8.0.1
Update eslint from ^8.43.0 to ^8.53.0
Update eslint-plugin-jsonc from ^2.9.0 to ^2.10.0
Update tsup from ^7.1.0 to ^7.2.0
Update typedoc from ^0.24.8 to ^0.25.3
Update typescript from ^5.1.3 to ^5.2.2

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

npm package (@latest dist-tag)
GitHub release
Docker container (sebbo2002/vestaboard2mqtt:4.0.2)
v4.0.2

Your semantic-release bot :package::rocket:


Blueprints is not running from jscockpit portal

Scenario
1- Write a blueprint and press apply

2- Then From "choose actions" press "run"

Actual Result
The run is stuck at step 2 when it try to create vdc (with new status) and actually the vdc is not even created in the env.
Note
When i go to the same repo on the cockpit machine and execute "ays run" from the command line, the run goes totally okay.
Version
jscockpit: 8.1.1
js8: 8.1.1
ays: 8.1.1

verified on 8.1.1


Broad defects within the NK fido product ecosystem.

We have tested a large number of keys from various vendors and have found significant issues in NK2 and NK3.
This is a very broad issue, and unfortunately it will necessitate a large number of changes. All of them however are inter-connected - they largely impact manufacturing, physical key design and software release process. We believe that a new product will need to be launched to resolve these defects.

Defective user presence button.

The user presence button on NK2 and NK3 is defective. We have 2 NK2 and 3 NK3's, and multiple persons who are all able-bodied are unable to reliably activate the UP action. We believe it is about 1 in 20 to activate it generally. We do not believe the button could be operated by any person with any mobility impairment.

NFC antenna is defective

The NFC of all our NK3 units does not work with multiple iPhones, iPads, Androids or external readers. The only reader we were able to use was a proxmark3. This makes the NFC feature not usable in most cases, and has been reported on other forums.

Lack of Tamper evidence

NKs ship with no tamper evident packaging, and the NK units themself can be opened and disassembled without leaving evidence. This seems like a large oversight given how NK attempts to position themself in the market.

Debug pins exposed / Secure boot bypass.

The CPU used in the NK3 may be vulnerable to a secure boot bypass. https://oxide.computer/blog/another-vulnerability-in-the-lpc55s69-rom
Other persons have commented on the accessibility of the debug pins which may be a vulnerability that we haven't yet investigated fully.

NK3 mini didn't use the SE

This is now resolved, but for a long time the NK3 didn't use it's own secure enclave.

FW version signaling.

As a webauthn relying party when a device is attested it must also be possible to attest the version of the firmware as that signals if security issues may be present. There is an in-development spec for signaling this in the webauthn wg, but it seems to have not really taken off.
To reliably signal different firmware versions, the NK should roll the AAGUID with each firmware version.
Without this, RP's need to assume that any device with that AAGUID is the lowest FW and thus compromised.  For example, we are unable to accept the NK3 mini because past versions didn't use the SE.
-- Actionable Steps

Redesign of the UP button to be a simpler and more robust design that can be actuated by persons with mobility impairment.
Redesign of the NFC antenna and tested in broader conditions.
Redesign packaging and the key itself to be tamper evident or resistant including potentially epoxy over the circuit elements similar to solokey.
Debug pins should not be accessible and the CPU should be validated to ensure secure boot and other attestation elements can't be bypassed
Changes to the release process such that the AAGUID is rotated each FW version so that RP's can assert and attest the version in use. Alternately adopt the https://github.com/w3c/webauthn/pull/1953 element.

Which NK3 model you experienced an unreliable user presence button with?

The fullsize nk3

Defective user presence button
This is a behavior we can by no means understand or confirm. You might need a few attempts to find the right spot initially, but 1 out of 20 seems far too much. Would be great if you could explain how you tried that (it should be: entire fingertip gentle touch on the Nitrokey 3x labeled side of the Nitrokey, slightly further away from the USB connector than closer).

Even with that technique, we can't get any of our keys to work. We have tried with multiple users, and we really just can not fathom how the UP button is meant to work.
In addition, it shouldn't need instructions, it needs to work 100% of the time for a diverse range of users. Yubikeys are a great example of this, and are the gold standard for ease of use - NK should aim for the same.
We certainly have heard those reports from NK users, so I'm surprised you haven't. I seriously would encourage you to redesign that button because it needs to be a lot more sensitive IMO.

We have not received similar reports from other users about this.
NFC antenna is defective
We have reports that many customers' smartphone and Nitrokey 3 combinations work fine, while some don't work reliably. There is a big variance across devices and smartphones. This overall is mostly a non-software issue, more about that below.

Correct, it's hardware. The NFC antenna is really marginal, and again, needs a redesign. We don't see these issues on competitors keys.

Lack of Tamper evidence & Debug pins exposed / Secure boot bypass
* The debug pins are disabled; this is non-reversible and done in production

* The casing is indeed not tamper resistant, more about that below

* The lpc55s issue is known, although too late for the Nitrokey 3 development

Your report mainly highlights mechanical, hardware, and electrical issues. While these are known challenges, labeling them as 'broad defects' is excessive. As a small, independent company, Nitrokey can't easily change casing or electronics like software commits. We're currently working on a new NFC transceiver, which involves time-consuming electrical and mechanical design iterations. This process is extremely resource-intensive, especially as we prioritize open-source development and regional manufacturing for obvious reasons. These efforts aren't eligible for grants or similar funding, making them particularly challenging for us.

And that's why I'm reporting them to you, so that they can be fixed.
Yes, I sympathise that it's expensive to retool and fix these problems, but they are problems. They shouldn't be ignored.

NK3 mini didn't use the SE
Not using the Secure Element is a design decision, which we openly document and even promote. We have many people explicitly asking for a non-proprietary, fully review-able software implementation. Although a secure element is audited for security (as most likely the LPC55s was too, right?) it is still proprietary, we had a product (Nitrokey Start) to address this need, today this is configurable (only for the OpenPGP Card currently!) with the Nitrokey 3.

I'd point to your own branding which lists statements like
"""
HIGH SECURITY:
Your secret keys are stored in the tamper-resistant and PIN-protected device and are secured against computer viruses, other malware, phishing, loss, theft and brute-force attacks.
"""

Furthermore, the statement that the Mini didn't support the Secure Element and now does, is not correct. For FIDO2 there is no secure element used as of today, which is well document. The recently started "Nitrokey Passkey" also goes this way. Ultimately, we will for sure also have the option to switch into SE050-backend-mode for FIDO2 - but this is simply not there yet.

Sorry, are you saying that NK2 and NK3 don't use a SE at all? This combined with the issues like the LPC55s, means we can't allow NK to be used in any security sensitive areas - areas which it seems like your brand is targetting.
This can't co-exist with hardware that isn't tamper-proof, or with a CPU which has vulnerabilities, or a firmware that doesn't even use it's own SE.
Not only this, you list huge customers on your frontpage: https://www.nitrokey.com/
Customers where these issues really do matter!
I think that this needs some better transparency ...

FW version signaling
The AAGUID is designed to identify the model, not the firmware version.

Correct, but webauthn also doesn't account for firmware versions which is why some other identifier that an RP can use is needed.

Since CTAP 2.1, there is a firmware version field in the getInfo reply. Even on the Webauthn level, updating the attestation certificate, ideally including the firmware version also reported by getInfo, without changing the AAGUID should be sufficient for your use case. So far, this was not requested by customers and we did not do it proactively as there were no firmware changes with security impact regarding FIDO2. We will take this with us as a feature request.

Getinfo is not sufficient as we need it as an RP. We need it to be present in the attestation output so an RP can make informed choices about which devices to accept. Currently if a FW update was to be issued that embedded FIDO keys in the SE we would need a way to distinguish these keys from previously versions so that we can only accept the keys that meet the security criteria.
I'm raising these issues because I want to see them resolved because there really are no other opensource keys on the market that are viable.


Server-side flow authentication example contains bugs

in the first if the condition in the example is !isset($_GET['code']) && Podio::is_authenticated(), this never triggers the log in link, Podio::is_authenticated() results in FALSE when not logged in... it should be: !isset($_GET['code']) && !Podio::is_authenticated() (note the exclamation mark).
Also, the finalization Podio::authenticate_with_authorization_code call needs a comme. It is now: Podio::authenticate_with_authorization_code($_GET['code'] REDIRECT_URI);, it should be: Podio::authenticate_with_authorization_code($_GET['code'], REDIRECT_URI);
Just thought I post it here, took me a while to figure out why copy/pasted code from the docs was throwing errors (the missing comma) and then resulting in a blank screen not doing anything (no condition is met when not logged in).

Hey @webtinkering, want to submit a PR? The docs are on the gh-pages branch. Let me know if you need help :)


Inventory panel stops returning if a drawer is full of the item it tries to return and does not keep filling new drawer slots

Issue Description:
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If you are using an unreleased version of Ender IO (e.g. for 1.8.9), please don't open an issue for features that have not been announced as "finished" or "working".
What happens:
If you put together a working inventory panel + 2x2 storagedrawer setup and try to return for example 10 stacks of cobblestone it will return 8 stacks and put in it to a drawer slot. But after that it stops and does not continue to fill up the remaining slots.
Here is a video I put together to better show what happens:  https://www.youtube.com/watch?v=aAS3oeIvGn8
What you expected to happen:
In previous games the inventory panel would continue to fill up available drawerslot in the case that one slot would become full
Steps to reproduce:

Set up inventory panel + 2x2 storagedrawer setup
Return 10 stacks of cobblestone
Notice how 8 stacks will be returned but nothing more, even though there are 3 slots in the drawer remaining
...

Affected Versions (Do not use "latest"):

EnderIO: 1.7.10-<IP_ADDRESS>8_beta
EnderCore: 1.7.10-<IP_ADDRESS>_beta
Minecraft: 1.7.10
Forge: 1614

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

Not sure where the problem lies so I reported both here and to storagedrawers

The inventory panel itself it not involved in returning items - it is just like a chest from which the conduits extract.
Could you do a test and put a vanilla chest on your conduit network and let the conduit extract from it and insert into the drawer controller?

It tested what you suggested. If I use a hopper it works but item conduit still doesn't work

Found where the problem lies. It appears that spruce 2x2 drawers are the problem. Using 1x2 drawers or any other drawer works fine

Is the issue with the spruce 2x2 drawers when I can connect a chest and use it to input items?
Items aren't inputted from the inventory panel,  but if I have a chest connected to the same item conduit with the same settings as the inventory panel the items are pulled from the chest, to the drawer controller this is strange :S


Undefined error hero/0 in 'Structs' exercise

In the 'Structs' livebook, I am getting this error -
10: undefined function hero/0 (expected Hero to define such a function or for it to be imported, but none are available)

I am thinking that the following line defines hero/0 -
defstruct [:name, :catchphrase, :secret_identity]

Here is the code -
defmodule Hero do
  defstruct [:name, :catchphrase, :secret_identity]
  #@enforce_keys [:name]

  #def new(name) when is_binary(name) do
  #  {:ok, %Hero{name: name}}
  #end

  def reveal(name) do
    "I am secretly #{hero.secret_identity}"
  end

  def introduce(greeting, name) do
    "#{greeting} I am #{hero.name}"
  end
end

The instructions say to use -
"#{greeting} I am #{hero.name}"

This does not compile and I get this error -
(UndefinedFunctionError) function Hero.name/0 is undefined or private
    Hero.name()

It will compile if I capitalize the hero in both of the #{hero.secret_identity / .name} but when I do this the exercise two down fails with the same error as above.
This is the command -
Hero.introduce("Hi!", spider_man)

Where spider_man is matched to -
%Hero{
  name: "Spiderman",
  catchphrase: "Friendly neighborhood Spiderman",
  secret_identity: "Peter Parker"
}

Expected behavior
Honestly, I am a noob and Brook asked that I submit a ticket.  He mentioned the issue might be in the testing but he was pressed for time so he could not elaborate.

I believe we resolved this issue. The parameter was name but the argument was a hero struct.


Adding a section on VS code for the read_only_cache tutorial

Signed-off-by: mohammadfawaz<EMAIL_ADDRESS>Existing Sample Changes
Description
Updating the README.md file for the read_only_cache to include a section on VS code.

[X] Simple README.md change.

@mdbtucker please review :) Thanks.

I'm told there's someone responsible for updating all the existing samples, I think it's best if we leave it to them, rather than tackling these one at a time, so I'm going to reject this PR.  Let me know if you disagree.


[AzDatalake] Path escape names to file and directory client

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to module CHANGELOG.md are included.
[x] MIT license headers are included in each file.

/azp run go - azdatalake


Search causes an infinite loop / Maximum call stack size exceeded with outOfOrder

Hello, the library has been working great but there is a problem where certain queries will completely freeze the server as the library goes into some sort of an infinite loop within the _search function which throws a Maximum call stack size exceeded after a while.
This only occurs If the search is done with "outOfOrder" enabled.
Dataset: search-queriables.txt
Query: Nike SB Dunk Low Pro - White Black White Light Brown
Searching the above query with outOfOrder enabled will cause the event loop to freeze.
This freeze behavior can also be recreated in the browser demo at https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy&search=super ma
Code snippet:
import uFuzzy from '@leeoniya/ufuzzy';

// Create a uFuzzy instance for fuzzy searching
const FUZZY_SEARCH = new uFuzzy({
    intraMode: 1,
    intraIns: 10,
});

export async function perform_search(
    query: string,
    limit = 10
) {
    // Retrieve the searchable haystack which is an array of strings that are to be queriable
    const { queriable, mappable } = await SEARCHABLE_HAYSTACK.cached(1000 * 60 * 60 * 24);

    // Perform a fuzzy search on the haystack
    const info_threshold = 100;
    const [idxs, info, order] = FUZZY_SEARCH.search(queriable, query, true, info_threshold);
    if (idxs && idxs.length) {
        // Parse the matched results
        const matched: string[] = [];
        if (idxs != null && idxs.length > 0) {
            if (order && idxs.length <= info_threshold) {
                // render post-filtered & ordered matches
                for (let i = 0; i < order.length; i++) {
                    // using info.idx here instead of idxs because uf.info() may have
                    // further reduced the initial idxs based on prefix/suffix rules
                    matched.push(queriable[info.idx[order[i]]]);
                    if (matched.length >= limit) break;
                }
            } else {
                // render pre-filtered but unordered matches
                for (let i = 0; i < idxs.length; i++) {
                    matched.push(queriable[idxs[i]]);
                    if (matched.length >= limit) break;
                }
            }
        }

        // Rest of the code which processes the matched strings to their original data records
    }

}

outOfOrder works by creating permutations of the search terms. in your case there are 10 terms so the total number of regexps it will construct is 10! = 3,628,800. that's a lot of searches!
i dont think outOfOrder can realistically be used with more than 5 or 6 terms. your searxh query looks like a copy/paste of a full product slug rather than something a human would type. i imagine a humman entry to find the above would be something like "nike dunk brown" or even just "dunk brown".
it probably makes sense to detect these long needles and first try matching without outOfOrder, then somehow limit the number of search terms before trying outOfOrder, for example remove duplicates like "White" pre-filter on known brand terms like "Nike".
maybe a fuzzy search is not really what you're looking for here but would do better with a document search that holds and index, like Minisearch.

i'm actually kind of curious what this would look like to build an inverted index for your dataset and use ufuzzy on that index to do a much faster fuzzy filter. might be a cool demo that has a benefits of both approaches. not sure if fuzzy highlighting would work in such a combo without a lot of additional conplexity, tho.

i made an interesting prototype of this. it takes 45ms to build an inverted index for your dataset. and finds 2 results for your query in 20ms. still need to clean it up, but will add it to demos later today.

Great! Appreciate the help. Yeah we our dataset is roughly 27k product names and we just wanted to implement a simple in memory search that would allow users to search products by name and uFuzzy has done the job very well up until the point we discovered this potential vulnerability which would freeze the event loop / our server until it errors out.
Before uFuzzy, we tried flexsearch which for some reason had trouble searching for "Jordan 2" shoes where it would simply return the first item it indexed with the word "Jordan" and character "2" in it. So think "Jordan 1 Space Blue (2007(" which is not a good result for Jordan 2 shoes. I tried messing with the tokenization, encoding etc etc but it was taking almost 3s to index and about 10-30ms per search while being inaccurate. One solution was to switch from "forward" to "strict" tokenization which would correctly return Jordan 2s but then partial word searches would become inaccurate so "Nike Dunk Low Vale" would not return the Valentine's Nike Dunks.
So just to confirm, is there anything else in my implementation code above that may have a very bad time complexity for computation and has potential to freeze the event loop for long times? I would like to ensure all searches do not block the event loop for too long. We try to not block the event loop for more than 20ms and almost always batch large operations to hit this goal.

so, after implementing the inverted index demo in https://github.com/leeoniya/uFuzzy/commit/e8230783b06a44df5b1e24cc80e3fdb5ba8878ff, i realized that it's just a slower version of of the pre-filtering optimization that outOfOrder already does. in https://github.com/leeoniya/uFuzzy/commit/b4ba3c49019fd09e2ea11afa3bb85417da522929 i simply set the max terms for out of order to 5. when there are more than 5 terms you will just get back more primitive idxs without info or order objects, and it's quite fast, but the result order is not optimized in any way, nor is it possible to do match highlighting since the terms are matched in isolation.

https://github.com/leeoniya/uFuzzy/commit/e013f4071b172c10b67c7a1e9dc79b2b6311f924 turns outOfOrder into a user-supplied limit.


do you have your documentation in text files?

Prerequisites

[X] I checked the documentation and made sure this feature does not already exist
[X] I checked the existing issues to make sure this feature has not already been requested

Feature
Sorry, I am too lazy to read everything. Do you have a repository with your docs in text format? I want to run my QA bot on your docs.
Additional Information (Optional)
I would like to get all your docs in downloadable text format.

ok, I found it.


Refused to connect

Howdy,
I set up video embedding for NewTube on our forum, and I'm getting a "refused to connect" error.
Please let me know how to troubleshoot.  Attached are the req/res headers.

Thanks for the headups. Something related to Cloudflare, I will look into it, thanks!


DASHBUILDE-102: Upgrade dashbuilder-validations to use Errai Validation

Dashbuilder was overriding GWT validation instead of using errai-validation. That was causing issues on kie-wb when other components where trying to user Validations.

@dgutierr @romartin can you review it?

@romartin Can you please take a look since you know far better than me how this stuff works?

Hey @pefernan ! Nice job! This was in fact a missing task I had in mind... so thanks! :)
@dgutierr should be good to create a JIRA to review the different error messages that appear for the validations, it's not urgent but should be good.

Closed: ff4b356db59f8c7273d951376f3f46a50a297ce8

@dgutierr @pefernan  Hey guys, didn't realized that this has to be merged with this. So reverted using this commit until both can be merged at same time. Sorry for the inconveniences.


Eliminate the per-face uvs checkbox

We started with Minecraft style 1:3 uvs, we don't need that anymore, less complexity and faster learning curve for the end-user

We don't need to remove these per-face uvs, we can put both uvs in the mesh and use whichever one we want.


Adjustable logo in infobox

The logo, or brand of the initiative will show in the infobox if there is one. However, these change in form (circular, rectangle, square)... the size should be consistent in terms of width and height.
Consider the following. The current code adjust well for rectangular logos, not so much for square ones. The code should take this into account and if squared, adjust by height not width

Done in next PR


chat: image links should render as images in the chat scroller

This was a feature in old groups, would be nice if we brought it back.

This appears to work already? I'm certain that I saw instances where it didn't, though.


Cannot pass negative numbers as arguments to a ballerina program

Since the negative number starts with -, a negative number is interpreted as a flag. For example, consider an instance where I want to pass -200 as a CLI parameter to my Ballerina program.
$ ballerina run program.bal -200

The above results in the following message.
ballerina: unknown flag '-200'
Run 'ballerina help' for usage.

A common approach to pass negative numbers (or any value starting with -) as arguments seems to be the introduction of -- (to indicate that an argument is not a flag) as follows:
$ ballerina run program.bal -- -200


Goto def on module specifier in import statement does not jump to file

var x = import("./file1 |<--");  // go to def on ./file1

Also you don't get go to definition for Bar in
import('./Foo').then(({ Bar }) => undefined);

@rozzzly I will open another issue on that as it will be more involved than the original issue

closing in favor of #16407


update gtdb version 1.1.0

all tests pass

Coverage remained the same at 70.984% when pulling 154bbea09895615a659b11f3ff2549f9390f740d on update-to-gtdb-v1.1.0 into a0a4da64e28c57d6a77a28300c35b0c29666a758 on master.

registered as beta in Appdev and worked fine.

One minor thing is you might want to update the readme with the new paper ref


Send a link by email, so that people can edit/delete their data

The link should contain a key so that anyone can edit/delete his/her point, no more.

https://code.ffdn.org/FFDN/wifi-with-me/issues/9


⚠ Bofrost.at has degraded performance

In 9b0727c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1654 ms

Resolved: Bofrost.at performance has improved in f729a21.


Data from $rootElement lost when setting ui-view on it

If you set a ui-view directive on the root element of an Angular application, then at some point it will be replaced with a comment node. The comment node then becomes $rootElement. The problem with this is that the data from the original $rootElement is lost, e.g. $injector.
I think this is a bug, since it leads to issues with libraries like ocLazyLoad. If ui-view is set on the root node, the original data from that element should be transferred to the comment node.

Correct. Set ui-view as a child. This is known feature/bug


AIRMapCalloutSubview is not supported on android

Question
I followed this example: https://github.com/react-native-community/react-native-maps/blob/master/example/examples/Callouts.js to add a custom callout to my App. It was all running good in iOS, but in Android it reported: "AIRMapCalloutSubview is not supported on android". I tried google, but nobody answered this problem. I'm hoping it is make scenes to ask in here. The screen shot is below.

And my code piece is:
class MyCallout extends React.Component {
  constructor(props) {
    super(props)
  }

  render() {
    return(
      <Callout alphaHitTest tooltip
        style={{width:220, height:100}}
        onPress={e => {
          if ( e.nativeEvent.action === 'marker-inside-overlay-press' || e.nativeEvent.action === 'callout-inside-press' ) {
            return;
          }
        }}
      >
        <CustomCallout>
          <Text>Add to list</Text>
          <CalloutSubview onPress={() => {
              this.props.addRemoveOpt(this.props.location)
            }}>
            <Button>
              <Label>Add</Label>
            </Button>
          </CalloutSubview>
        </CustomCallout>
      </Callout>
    )
...
}

Also have the same issue

https://github.com/react-native-community/react-native-maps/blob/master/docs/callout.md

Note: Supported on iOS only.

Having the same issue. Though documentation specifies it only applies to iOS the example in root-markup does show a working version on Android.
https://camo.githubusercontent.com/d76fd1619d2318f5eabaea0b90d23998cf8de781/687474703a2f2f692e67697068792e636f6d2f785437375964553048587279766f527161512e676966


fix: catch axios errors and show them in the response

now if there's any errors at the axios level we show it in the client :)

while still keeping old functionality 😎

I'm having issues with the Tableau API still. Also it doesn't clear the response when you switch specs which is a little confusing.

Oh it was throwing errors on the server
examples/api-client-proxy dev: POST http://api/-/askdata/lenses
examples/api-client-proxy dev: ERROR TypeError: fetch failed
examples/api-client-proxy dev:     at Object.fetch (node:internal/deps/undici/undici:11372:11)
examples/api-client-proxy dev:     at processTicksAndRejections (node:internal/process/task_queues:95:5)
examples/api-client-proxy dev:     at /Users/Brynn/Documents/ScalarOSS/packages/api-client-proxy/src/createApiClientProxy.ts:57:26 {
examples/api-client-proxy dev:   cause: Error: getaddrinfo ENOTFOUND api
examples/api-client-proxy dev:       at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
examples/api-client-proxy dev:     errno: -3008,
examples/api-client-proxy dev:     code: 'ENOTFOUND',
examples/api-client-proxy dev:     syscall: 'getaddrinfo',
examples/api-client-proxy dev:     hostname: 'api'
examples/api-client-proxy dev:   }
examples/api-client-proxy dev: }


Update roadmap-to-modern-management.md

Removed wording that this is pre-release documentation, now that these features are GA. Also corrected "Road map" to "Roadmap" throughout.

Need to update other sections of the doc relative to pre-release comments.


Added file

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


Adds deliver_now/2 and deliver_later/2 with possibility to pass sender credentials dynamically

I was just exploring the docs looking for this exact feature! Looking forward to this, thanks for implementing it!

Hope it will be accepted, thanks for your feedback, @zolrath 😃

ping @paulcsmith

@mAlishera Thank you for the ping! Sometimes I get a bit behind so it's helpful.
I think what I would prefer to see for this feature is adapter's implementing this with adapter specific helpers. So you would do something like this
new_email(to: "someone", from: "someone", etc.)
# This will put the sender credentials in the `private` field of the `Bamboo.Email` struct
|> WhateverEmailService.Helpers.put_sender_credentials(my_credentials)
|> Mailer.deliver_now

Then the WhateverEmailServiceAdapter would use the sender credentials from the email when delivering. You can see how to implement adapter specific functionality here https://github.com/thoughtbot/bamboo/blob/master/lib/bamboo/adapters/send_grid_helper.ex#L31 and  https://github.com/thoughtbot/bamboo/blob/master/lib/bamboo/adapters/send_grid_adapter.ex#L170.
This way the mailer API is kept clean and simple (doesn't mix in email provider specific concerns). It's also easier to test because the email itself knows which credentials to use.
What do you think of that idea? Would you be willing to give that a shot? If you need help or need someone else to tackle this, let me know! I'll go ahead and close this in the meantime.

@paulcsmith Thank you for your response!
I'll try to implement it the way you've described.
So actually using it with Bamboo.SMTPAdapter I need to add my changes via MR to fewlinesco/bamboo_smtp, right?

@mAlishera Yes that's correct. You'd have to add a Bamboo.SMTPHelper on @fewlinesco's repo and change the adapter to optionally use the passed in sender credentials. You may want to open an issue on their repo first to make sure it's something they would accept though.
Good luck! Ping me if you need anything


Meaning of schedule properties

Hi,
First of all, I want to thank you for this useful tool !!
I'm writing my own track and I'm a bit confused with the meaning of the schedule properties, like :

warmup-time-period
warmup-iterations
target-throughput
etc.

I think that the documentation is missing the description of these properties ...
Could you explain me the meaning of them ?
Thank you !

Hi @sterchelen,
Glad to you like Rally. :) Most of these properties are described in the JSON schema. However, I think are more thorough documentation would be really helpful. I try to add that within the next days.
target-throughput  is one of the properties that is not documented in the JSON schema, so I'll quickly explain here: If you don't specify it, this means that Rally will execute the operation as fast as it can. This is mostly useful for batch operations (e.g. bulk indexing) where you want to add documents as fast as possible. However, when you run queries, you're typically interested in getting a timely result (i.e. a relatively low latency is important). Also, your system has some specific query load, say for example on average you get 10 searches per second. If you want to benchmark this scenario, you can set target-throughput to 10 (operations / second). Rally will then ensure that it runs only 10 queries per second, even if Elasticsearch responds much faster.

Quick and useful response ! Thank you @danielmitterdorfer  👍

Hi @danielmitterdorfer ,
I have another question about the result meaning. We have min, median, max, 50th percentile latency ... etc.
In the doc I've not found any information on the result :(

@sterchelen: I guess min and max is pretty clear and the most confusing ones are:

Median: Sort all data and take the value in the middle. Contrary to the mean, this value is more stable against outliers. https://en.wikipedia.org/wiki/Median
Percentiles: See https://en.wikipedia.org/wiki/Percentile

I hope that helps you in the meantime. I'll add a bit more information on that to the docs.
What's already available though is a definition of all metric keys (e.g. what's the difference between service time and latency?)

@sterchelen I've create a reference documentation for tracks now. You can already have a look at the preview version.


Reporting enhancements

Courtesy of @basvinken I've updated a few things from #83

Added function to the module manifest
Added another example using pipeline with Get-RubrikReport
Added an alias for timezone offset to make it friendly

@basvinken - Can you have a look and let me know if this works for you?

@chriswahl - This works for me. I made a small change to Export-RubrikReport.ps1


Failed to upload image

I tried to add the attached image to a folder and it wouldn't work. I made sure it was square and tried compressing it lower than other images with no success. What are the image requirements? Thanks

I made sure it was square

Not necessary, it will be cropped automatically

tried compressing it

There is built-in compressing
Run spicetify enable-devtools, press ctrl+shift+i, go to console, then try to add image and you will see the exact error

Run spicetify enable-devtools, press ctrl+shift+i, go to console, then try to add image and you will see the exact error

or install the latest version manually (you will need to remove the marketplace version)

after manually installing I got this error message

local storage space is very limited - only up to 10mb
the only thing you can do - clean it and don't use extensions that don't use it rationally
run this code in console to get names of keys with max size:
var _lsTotal = 0,_xLen, _x; var entries = []; for (_x in localStorage) {     if (!localStorage.hasOwnProperty(_x)) {         continue;     }     _xLen = ((localStorage[_x].length + _x.length) * 2);     _lsTotal += _xLen;     entries.push({label: _x.substr(0, 50), size: (_xLen / 1024) /* in KB */}); }; entries.sort((a, b) => {    if(a.size === b.size) return 0;return a.size > b.size ? -1 : 1;}); entries.forEach(entry => {     console.log(entry.label +" = " + entry.size.toFixed(2)+" KB"); }); console.log("Total = " + (_lsTotal / 1024).toFixed(2) + " KB");

source
to remove keys use localStorage.removeItem("keyName")

it seems my theme is taking up about 9mb. A big chunk of that is a 2.5 mb readme called "hazy:playlistBg:readme" how would I use the localStorage.removeItem() command to remove it? I understand if you would rather me send this to the theme dev instead

localStorage.removeItem("hazy:playlistBg:readme")

Thank you


webpubsub, fix "audience" bug in async client

It should be an old bug that get fixed in sync client https://github.com/Azure/azure-sdk-for-java/pull/24815
But didn't expect it get duplicated code in async client.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Tree Feature

Tree feature does not properly work with more than 2 branches. Also, deleting trees does not work properly (to delete a tree branch you have to drag and delete, instead of individually deleting objects).

This is being fixed; there was a separate rendering issue related to what was affecting mixers which is now resolved, so this will be done in the next few days.


ScriptTimeoutError: asynchronous script timeout: result was not received in 0 seconds

I'm getting this error occasionally, making all previously-passed tests failed. I saw this code driver.manage().timeouts().setScriptTimeout(5, TimeUnit.SECONDS); from
http://stackoverflow.com/questions/11646586/unable-to-execute-selenium-asynchronous-script
but I don't know how to run something like that from my protractor test. How should I proceed with this?

@juliemr , I used SetScriptTimeout for AngularJS busy processing in Selenium c# ( in my framework ) to handle the timeout exception , now selenium 3.2.0 giving warning as " ITimeouts.SetScriptTimeout(TimeSpan) is obsolete " and saying "Please set the AsynchronousJavaScript property instead " . Please help me in this scenario how to
solve this warning .
"

@juliemr , I've placed my browser.driver.manage().timeouts().setScriptTimeout in my beforeEach, but the timeout is not respected in the test. Here's example code that counts down 15 seconds, with a supposed 10 second timeout. The test counts down all of the way through 15 seconds without stopping/timing out. Can you advise?
`var baseFuncs = require("../../pages/ams.base.po.js");\
describe('quick test - smoke 1', function () {
beforeEach(function () {
browser.driver.manage().timeouts().setScriptTimeout(10000);
baseFuncs.getBasePage("foo1");
});
it('foo - bar1', function () {
    baseFuncs.countDown(15000);
});

afterEach(function () {
    console.log("done with 1");
});

});`

I am getting a similar error could you please help me out. I tried the above options but I still see the issue.
[18:00:34] E/plugins -          ScriptTimeoutError: asynchronous script timeout: result was not received in 60 seconds
(Session info: chrome=66.0.3359.139)
(Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 6.1.7601 SP1 x86_64)
at Object.checkLegacyResponse (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\http.js:509:13)
at doSend.then.response (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\http.js:441:30)
at process._tickCallback (internal/process/next_tick.js:109:7)
From: Task: WebDriver.executeScript()
at Driver.schedule (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\webdriver.js:807:17)
at Driver.executeAsyncScript (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\webdriver.js:891:17)
at run (X:\projects\Protractor\COSTCO_APP\node_modules\protractor\built\browser.js:59:33)
at ProtractorBrowser.to.(anonymous function) [as executeAsyncScript] (X:\projects\Protractor\COSTCO_APP\node_modules\protractor\built\browser.js:67:16)
at Object.waitForPromise (X:\projects\Protractor\COSTCO_APP\node_modules\protractor-xhr-only-plugin\index.js:60:10)
at resolver (X:\projects\Protractor\COSTCO_APP\node_modules\protractor\built\plugins.js:194:51)
at new ManagedPromise (X:\projects\Protractor\COSTCO_APP\node_modules\selenium-webdriver\lib\promise.js:1077:7)
at Plugins.safeCallPluginFun (X:\projects\Protractor\COSTCO_APP\node_modules\protractor\built\plugins.js:210:20)
at promises.pluginObjs.filter.map.pluginObj (X:\projects\Protractor\COSTCO_APP\node_modules\protractor\built\plugins.js:219:40)
at Array.map (native)


Core monthly generator

Core monthly generator via: php bin/console github:monthly:report

@matks I think we can go for merge, and yes that latest monthly base on this code :)
for the core-weekly-generator, read-only + disable gh action that generates it weekly

Let's go 🚀

for the core-weekly-generator, read-only + disable gh action that generates it weekly

Repo disabled and PR to disable GA is https://github.com/PrestaShop/prestashop.github.io/pull/1162/


Options to switch the dynamics

I believe we have two implementations of the fcom types. What is the best way to try two implementations of their Kan operations?

Hmmm... Do you mean that there are two different versions of the dynamics in the notes, and we want to try and implement both?
I guess for now, you could add a flag to the machine (kind of like STABLE | NOMINAL or whatever we have now) if you wanted to try both...

Favonia has developed a second one; we don't plan on putting it in the main note. The problem is that different theorems will be true across the two versions of the operational semantics.

Ahh, interesting! Then I would suggest adding another parameter to the machine, unless you have a better idea.

@jonsterling How to make it accessible to the user, then? A compiler flag?

I guess we could expose it with a flag on the frontend...

On Oct 25, 2017, at 4:37 PM, favonia (Sai-hong サイホン<EMAIL_ADDRESS>wrote:
@jonsterling How to make it accessible to the user, then? A compiler flag?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Language pragmas? (Not totally joking...)