Does IsServiceHealthy work?

This page shows the features in Microsoft.Azure.Signalr.Management
This is using Azure Signalr Service in serverless mode and the code is running in an Azure Function using .Net 5.0
var serviceManager = new ServiceManagerBuilder()
                    .WithOptions(option =>
                    {
                        option.ConnectionString = Environment.GetEnvironmentVariable("Azure__SignalR__ConnectionString");
                    })
                    .BuildServiceManager();

var h = await serviceManager.IsServiceHealthy(default);

Other calls into the service manager seem to work:
var x = await serviceHubContext.ClientManager.ConnectionExistsAsync("test@test.com");
IsServiceHealthy produces an error which is below.
Does this method really work or is it not to be used in serverless mode?
[2021-09-03T17:41:45.727Z] Executed 'Functions.SignalRManagement' (Failed, Id=dbeca876-b029-4392-b524-9ab648270a37, Duration=961ms)
[2021-09-03T17:41:45.730Z] System.Private.CoreLib: Exception while executing function: Functions.SignalRManagement. System.Private.CoreLib: Result: Failure
Exception: System.AggregateException: One or more errors occurred. (A task was canceled.)
[2021-09-03T17:41:45.733Z]  ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
[2021-09-03T17:41:45.735Z]    at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
[2021-09-03T17:41:45.738Z]    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
[2021-09-03T17:41:45.740Z]    at System.Threading.Tasks.Task`1.get_Result()
[2021-09-03T17:41:45.744Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker`2.<>c.<InvokeAsync>b__6_0(Task`1 t) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2021-09-03T17:41:45.747Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
[2021-09-03T17:41:45.752Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
[2021-09-03T17:41:45.755Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2021-09-03T17:41:45.757Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2021-09-03T17:41:45.760Z]    at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
[2021-09-03T17:41:45.764Z]    at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread)
[2021-09-03T17:41:45.768Z]    at System.Threading.ThreadPoolWorkQueue.Dispatch()
[2021-09-03T17:41:45.770Z]    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
[2021-09-03T17:41:45.773Z] --- End of stack trace from previous location ---
[2021-09-03T17:41:45.775Z]
[2021-09-03T17:41:45.777Z]    --- End of inner exception stack trace ---
[2021-09-03T17:41:45.782Z]    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
[2021-09-03T17:41:45.785Z]    at System.Threading.Tasks.Task`1.get_Result()
[2021-09-03T17:41:45.787Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker`2.<>c.<InvokeAsync>b__6_0(Task`1 t) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2021-09-03T17:41:45.790Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
[2021-09-03T17:41:45.792Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
[2021-09-03T17:41:45.795Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2021-09-03T17:41:45.801Z] --- End of stack trace from previous location ---
[2021-09-03T17:41:45.803Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2021-09-03T17:41:45.806Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2021-09-03T17:41:45.808Z] --- End of stack trace from previous location ---
[2021-09-03T17:41:45.811Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 44
[2021-09-03T17:41:45.816Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2021-09-03T17:41:45.819Z]    at Microsoft.Azure.Functions.Worker.GrpcWorker.InvocationRequestHandlerAsync(InvocationRequest request, IFunctionsApplication application, IInvocationFeaturesFactory invocationFeaturesFactory, ObjectSerializer serializer, IOutputBindingsInfoProvider outputBindingsInfoProvider) in D:\a\1\s\src\DotNetWorker.Grpc\GrpcWorker.cs:line 166
Stack:    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
[2021-09-03T17:41:45.822Z]    at System.Threading.Tasks.Task`1.get_Result()
[2021-09-03T17:41:45.825Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker`2.<>c.<InvokeAsync>b__6_0(Task`1 t) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2021-09-03T17:41:45.831Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
[2021-09-03T17:41:45.833Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
[2021-09-03T17:41:45.836Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2021-09-03T17:41:45.838Z] --- End of stack trace from previous location ---
[2021-09-03T17:41:45.841Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2021-09-03T17:41:45.846Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2021-09-03T17:41:45.849Z] --- End of stack trace from previous location ---
[2021-09-03T17:41:45.851Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 44
[2021-09-03T17:41:45.854Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2021-09-03T17:41:45.857Z]    at Microsoft.Azure.Functions.Worker.GrpcWorker.InvocationRequestHandlerAsync(InvocationRequest request, IFunctionsApplication application, IInvocationFeaturesFactory invocationFeaturesFactory, ObjectSerializer serializer, IOutputBindingsInfoProvider outputBindingsInfoProvider) in D:\a\1\s\src\DotNetWorker.Grpc\GrpcWorker.cs:line 166.

IsServiceHealthy can be used in any mode. There is a bug and will be fixed in next release.


[W7.7][W11-B2] Rolodex

@ZY-Ang @jo-lyn @mingruiii some comments added. please read and ack; please retain the PR without closing.

@ZY-Ang @jo-lyn @mingruiii
please take a look at the new comments added.

Arrow should point to the beginning of the activation bar; else it gives an impression that the method is active before invocation.

Same is true for the next sequence diagram as well

... attempts to reloads the ... --> ... attempts to reload the ...

Arrows again!

I think you Dev Guide update is quite good! Please keep up the good job!


Update Final Project with other Documents.md

updated

Make two changes: 1. Add registration no. next to your names. 2. Add the visualization link where it is hosted like tableau public or powerbi public or google colab
Thank you!


Deploy Docs to Vercel

Setup docs deploy to staging on JP's Vercel account

https://staging-haus-toolbox.vercel.app/


Support for Write APIs

Currently the library doesn't support access to any of the write APIs (e.g. creating transactions, editing rosters). If you're open to pull requests, I'd be happy to try to contribute (I'm potentially building something that requires both read and write access).
BTW, thanks for building it, it made integrating with yahoo pretty easy.

Don't play Fantasy football anymore, if you want to PR go for it!


create articles about Otasoft for Medium

Feature Request
Teachability, Documentation, Adoption, Migration Strategy

https://medium.com/otasoft/about

This is not a development task, and will be done later

This is not a development task, and will be done later


tasksh: Add readline support.

Motivation for this change
tasksh is more useful with readline support.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!


Add an option for lager_console_backend for output to STDERR

While this is being done, it would be a great opportunity to migrate lager_console_backend to the new style config.

Some investigation:
The console backend logs via io:put_chars(user, ...) (see handle_event/2 in lager_console_backend). You can send data to stderr by using standard_error in place of user. But more work is needed in order to make this a configurable option, notably coming up with the necessary changes to the console backend configuration line. Perhaps you would need to simply accept:
{lager_console_backend, info, stderr}

in lieu of
{lager_console_backend, info}

As #409 is merged and 3.5.0 released, closing this issue. Thanks!


Modifying Code

I'm willing to modify the code to be easier to maintain!

That sounds awesome, I have limited amount of time to spend on this library so any help is appreciated. If it works out well I would be happy to make you contributor

That sounds good, currently working on the codes👌

Merge the encrypt file and Common file


Write some tests

Is this app testable? I dunno, but it probably needs it (especially the batches, christ).
Maybe this would be solved by having a dev instance or something, but having some integration or unit tests as part of the PR process doesn't seem like a terrible idea.
This may or may not be spurred by the fact that I'm terrible at writing tests and want to improve.

lol actually...


README needs to be updated

The README needs to report our intentions with the file and how we are now releasing new versions.

This repo is an attempt at version control. This is simply a kind of git mirror of the various flatfiles out there. I haven't written any of the actual code myself.

I'm surprised my README (written in the first person, no less) has survived as long as it has!


Extending Not working correctly

Does anyone know how this example in this Video happens?
https://github.com/xiaoluoboding/vue-sonner/assets/21103251/6e0e1b6f-c7c2-4dd3-b720-2b8ae56352f6
For further context i just run those to functions on mounted():
toast.info('We don\'t use cookies, but we do use local storage to save your theme preference.');
toast.info("Thanks for visiting my website! 🎉");

Happens to me too with this initialization in App.vue
<Toaster position="top-center" theme="light" :expand="true" />
--offset is not updated on the toasts


Expand Debug API for extensions

e.g. sessionStarted, sessionTerminated, sendCustomRequest, handleCustomEvent

new API:
/**
 * Start a debug session based on the given configuration.
 * @param configuration
 */
export function startDebugSession(configuration: DebugConfiguration): Thenable<DebugSession>;

/**
 * The currently active debug session or `undefined`. The active debug session is the one
 * represented by the debug action floating window or the one currently shown in the drop down menu of the debug action floating window.
 * If no debug session is active, the value is `undefined`.
 */
export let activeDebugSession: DebugSession | undefined;

/**
 * An [event](#Event) which fires when the [active debug session](#debug.activeDebugSession)
 * has changed. *Note* that the event also fires when the active debug session changes
 * to `undefined`.
 */
export const onDidChangeActiveDebugSession: Event<DebugSession | undefined>;

/**
 * An [event](#Event) which fires when a custom DAP event is received from the debug session.
 */
export const onDidReceiveDebugSessionCustomEvent: Event<DebugSessionCustomEvent>;

/**
 * An [event](#Event) which fires when a debug session has terminated.
 */
export const onDidTerminateDebugSession: Event<DebugSession>;


X11 re-implementation

Hi,
I'm currently trying to implement IME support for a Go-based GUI toolkit called Fyne, and it's mostly completed, but it's difficult to improve the level of completion.
The problem is simply that glfw's implementation is immature, and in particular the X11 layer is not very complete.
Among them, the structure of X11 event processing is far different from other popular implementations, and the existence of XIM is not taken into consideration at all.
Why is it that the clear-node team has been approaching you for years and still can't merge?
https://github.com/glfw/glfw/pull/2130
I would like them to perform a destructive reimplementation and provide highly complete event processing by referring to existing implementations such as GTK+ and Wine.

I haven't had enough time to take on large new features for a while now, for reasons. What time I have had has gone towards keeping existing features and platforms running, especially now that distributions are moving to Wayland.
IME is first up among the various large PRs waiting to be merged. The release after 3.4, which is imminent, will be mostly about that.  I'm sorry it's taken so long.
GLFW does talk to XIM already, but only in the most basic way possible.
Improvements to X11 event processing are very welcome.


[RFC] Add image-service to dragonfly project

Hi,
We have opened a new issue in the dragonflyoss/community repository to request for inclusion for an image-service project as subsidiary project of dragonfly[1]. It aims at container image acceleration at the client side and defines a custom image format to do so. The OCI community is actively discussing new OCI image spec and the project can serve as a reference implementation for the discussion.
Please share your options and comments. Thanks!
[1] https://github.com/dragonflyoss/community/issues/9

DONE.

Reference: https://github.com/dragonflyoss/image-service

Thank you all dragonfly community members! We have just pushed the new image service source code to https://github.com/dragonflyoss/image-service. Look forward to helping more Dragonfly users to access container images fast, securely and easily!


Description of state transition upon exception

In the RISC-V Reader, there are helpful descriptions of what the hardware does upon exceptions, on pages 105 (M-mode) and 111 (S-mode). However, nowhere in the user-level or privilege ISA manuals is a rendering of this set of atomic state transitions; the reader is left to deduce this on his/her own from the CSR descriptions.
I think this is a very useful thing to include, because it answers the question, "What happens during an exception?" in a single place, which also further clarifies the roles of the various CSRs involved and how exceptional behavior interacts with other aspects of the privileged architecture, in particular the xret instructions.
I would be happy to draft it myself, but I wanted to query first to determine whether I may have missed it somewhere in the spec.

Naturally, the book and the spec serve two different purposes, but I see your point.
Even so, I think the spec does a decent job as-is.  In "3.1.13 Machine Trap Delegation Registers (medeleg and mideleg)":
"When a trap is delegated to a less-privileged mode x, the x cause register is written with the trap cause; the xepc register is written with the virtual address of the instruction that took the trap; the x tval register is written with an exception-specific datum; the x PP field of mstatus is written with the active privilege mode at the time of the trap; the x PIE field of mstatus is written with the value of the x IE field at the time of the trap; and the x IE field of mstatus is cleared. The mcause and mepc registers and the MPP and MPIE fields of mstatus are not written."


Boost Python Argument Error

Hi,
I am trying to use kaldi-python for python3.6. I am able to compile and import kaldi_io, but when I try to use it, there's some error:
--> import kaldi_io
--> ali_reader   = kaldi_io.SequentialInt32VectorReader(align_scp)
Boost.Python.ArgumentError: Python argument types in
SequentialInt32VectorReader.init(SequentialInt32VectorReader, str)
did not match C++ signature:
init(_object*, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)
Would you please tell me how to solve this? Thanks a lot!!!

have you solve it?


BrowserHistory and Hash (anchor)

Is it possible to use the BrowserHistory and the hash to scroll at a specific place on a page ?
I've tried to use the hash directly in the url without success.
Any ideas ?
Thanks

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


Integrate and finish CMake rework

Goal is to allow

Retrieving and building gRPC, protobuf and gtest as dependencies automatically during build (user does not need to install external dependencies for gWhisper)
Static linkage of gWhisper
Allow cross-compiling of gWhisper

@FP-Guitar already started work on this and created a PR #99 which still needs some work however.

Will continue to do some work. Have already done some stuff locally.

This was completed and successfully merged in #106 yayy :)


refactor: color variables

Replace color code to color variables. 🎨

[x] buttons
[x] checkboxes
[x] containers
[x] radios
[x] inputs

LGTM

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Convert build scripts to Kotlin

Context
To familiarize myself with Kotlin DSL and the environment, I'm converting some more build script to Kotlin. Each commit is a project conversion to Kotlin.
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

CI is passing and I addressed all the comment from the @bamboo so I will preemptively merge this to exercise the nightly release tasks and address any further comments in another PR.

Looks good, @lacasseio. Additional refinements provided in #7004.


Upgrade postgres to 12.3

@jgerigmeyer I'm confused; wasn't the conclusion of our discussion in https://github.com/oddbird/MetaDeploy/pull/23#pullrequestreview-454437789 that we did not want to do this?

@jgerigmeyer I'm confused; wasn't the conclusion of our discussion in #23 (review) that we did not want to do this?

@davisagli I'm okay either way on this. I felt like since our devstaging is already using redis v5 and postgres v12, and these settings only determine local docker-dev and CI, it didn't hurt to have them testing against newer versions and then you can upgrade your staging/prod at your leisure. But I'm okay pulling our various environments back too, if you prefer that.

@jgerigmeyer I think I'm okay with that. Not ideal to be testing with different versions than production, but I think the actual risk is small and I'll aim to get staging and prod updated soon.


Vulnerability : CVE-2021-23337 in lodash.kebabcase

Is there an existing issue for this?

[X] I have searched the existing issues

Which Transloco package(s) are the source of the bug?
Transloco
Is this a regression?
No
Current behavior
There had been a security issue in lodash.kebabcase  that requires at least 4.7.21 to use in this project. I am creating this as a bug as I need to use this library @ngneat/transloco in two applications that use Angular 13 and Angular 12. Please feel free to tell me to create a pull request if you think that would be appropriate. However I really don't have bandwidth to test all your libraries in this repo.
Expected behavior
The current version of the dependency lodash.kebabcase is 4.1.1 in (4.0.0 and 3.2.0) ngneat/transloco library.
Expected version : 4.7.21.
Please provide a link to a minimal reproduction of the bug
https://github.com/advisories/GHSA-35jh-r3h4-6jhm
Transloco Config
No response
Please provide the environment you discovered this bug in
Transloco:
Angular:
Node:
Package Manager:
OS:

Browser
No response
Additional context
No response
I would like to make a pull request for this bug
No

So, I am aware that npm does not flag this, but Revenera Code-Insight does for lodash.kebabcase. Now, I see that kebabcase was never patched and it's latest version is 4.1.1 which makes you clean. I guess our Code-Insight is reporting wrongly. However, I will investigate more on this and re-open this bug if required. Thank you for looking into this so promptly. I am closing this issue now.


dying light 2 styled animations

i like dying light two's animations a lot maybe you could change the forward air kick and code it into a dropkick, just saying i would like to see a dl2 stlyed parkour and combat system in gmod.

no, sorry


feat(api): Expose uptime data as text via API

Summary
Exposes the uptime data in it's raw format as plaintext in the API for third-party consumption. Implements feature request #757
This code is very similar to the code used to fetch the data in /api/badges.go
Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[X] Updated documentation in README.md, if applicable.

No worries, thanks for letting me know! Hopefully it's all sorted 😄

bump I'd be excited if this were merged in


Do not trim large extra data?

Version 0.8.0 introduced trimming of large data. Is it possible to optionally not to trim extra data which I specify with scope.set_extra(...)?

That's not possible right now, but for now you can monkeypatch these two constants if you need to: https://github.com/getsentry/sentry-python/blob/e9a469be8f8589d3e97efdf870044216fd5680cb/sentry_sdk/serializer.py#L29-L30

Also related: https://github.com/getsentry/sentry-python/issues/344 https://github.com/getsentry/sentry-python/issues/335

I have tried monkey patching but still I get a log message that is 512 characters.
# Monkey patch to increase log message limit
from sentry_sdk import utils

utils.MAX_STRING_LENGTH = 10000
utils.slim_string.__defaults__ = (10000,)

@Siecje seems there's some rotten code in that file, you need to do the same defaults dance for utils.strip_string.
I will refactor this to only use one function, and make it so that you only have to set the constant. Sorry for the inconvenience

I'm monkey-patching this, but it would be great if the size of the extra data follows what is described in the Data Handling section of Sentry Docs (https://docs.sentry.io/development/sdk-dev/data-handling/).

Any plans on the fix? This really impacts the debugging experience

I'm monkey-patching this, but it would be great if the size of the extra data follows what is described in the Data Handling section of Sentry Docs (https://docs.sentry.io/development/sdk-dev/data-handling/).

New url for the docs: https://develop.sentry.dev/sdk/data-handling/

+1 on making this configurable

+1 on making this configurable

+1 on making this configurable

We are still using this currently.

What is the point of debugging with Sentry if some keys of a dictionary get trimmed?

Would it be possible to at least show in the UI whether some data has been truncated? Seeing a dictionary that looks complete in the UI, with completely valid syntax, but which secretly has had some of its keys trimmed away results in a hilariously confusing debugging experience for anyone not aware of these limits. As far as I can see there is no indication anywhere in the sentry UI that the data you're looking at is just a subset of the actual data.
With the current UI, it would often be better to just send no data at all, since you can't trust it.

Seeing a dictionary that looks complete in the UI, with completely valid syntax, but which secretly has had some of its keys trimmed away results in a hilariously confusing debugging experience

100 times this.
I landed on this issue page after being gaslighted by Sentry UI that "I don't actually have duplicates in my data" while the error message clearly said that there ARE duplicates.
What it appeared to be is that Sentry just showed me the first half of the data and threw away the part I actually needed to see - with no indication in the UI at all.
This is not what a professional tool would be expected to do by any means.

This should be solved by #2171 and documented now: https://docs.sentry.io/platforms/python/configuration/options/#max-value-length

appears to have been fixed

I don't see that at all??

MAX_DATABAG_DEPTH and MAX_DATABAG_BREADTH still need to be patched manually if you want to get around this...
No visual indication in the Sentry UI that data has been thrown away
Even when setting max_request_body_size="always"


Invoking deployment process: FAILED

when i use "mup deploy"  to deploy my app, the mup occured an error. I dont know how to fix this.can somebody has any idea. @arunoda. The following stderr message:
Warning: Permanently added '' (ECDSA) to the list of known hosts.
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to localhost:3000; Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
><EMAIL_ADDRESS>install /opt/uzitv/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/source-map-support
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/fibers
Waiting for MongoDB to initialize. (5 minutes)
connected
uzitv stop/waiting
uzitv start/running, process 25755
Waiting for 30 seconds while app is booting up
Checking is app booted or not?
uzitv stop/waiting
uzitv start/running, process 25986
----------------------------------------------------------------------------

Check for mup logs -n 300
On Sun, Mar 1, 2015 at 8:19 PM jquick<EMAIL_ADDRESS>wrote:

when i use "mup deploy" to deploy my app, the mup occured an error. I dont
know how to fix this.can somebody has any idea. The following stderr
message:
Warning: Permanently added '' (ECDSA) to the list of known hosts.
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to
localhost:3000; Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------

<EMAIL_ADDRESS>install /opt/uzitv/tmp/bundle/programs/server/node_modules/fibers
node ./build.js

linux-x64-v8-3.14 exists; testing
Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore
<EMAIL_ADDRESS>node_modules/semver
<EMAIL_ADDRESS>node_modules/source-map-support
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/fibers
Waiting for MongoDB to initialize. (5 minutes)
connected
uzitv stop/waiting
uzitv start/running, process 25755
Waiting for 30 seconds while app is booting up
Checking is app booted or not?
uzitv stop/waiting
uzitv start/running, process 25986
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/296.

Thanks @arunoda , i have done as you said and figure out some message:. do you know how to fix it? maybe i lose some module.
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.Npm.require (/opt/uzitv/app/programs/server/boot.js:95:18)
at cmd (packages/mrt:server-eval/helpers.js:116)
at /opt/uzitv/app/programs/server/packages/mrt_server-eval.js:850:4
at /opt/uzitv/app/programs/server/packages/mrt_server-eval.js:906:3
at /opt/uzitv/app/programs/server/boot.js:168:10
at Array.forEach (native)
error: Forever detected script exited with code: 8
error: Script restart attempt #213
/opt/uzitv/app/programs/server/node_modules/fibers/future.js:173
throw(ex);
^
Error: Cannot find module 'esprima'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)

I'm getting a similar error.  The logs aren't helping.
Error: listen EACCES
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1023:19)
at listen (net.js:1064:10)
at net.js:1146:9
at dns.js:72:18
at process._tickCallback (node.js:419:13)
error: Forever detected script exited with code: 8
error: Script restart attempt #8

events.js:72
    throw er; // Unhandled 'error' event
          ^
Error: listen EACCES
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1023:19)
at listen (net.js:1064:10)
at net.js:1146:9
at dns.js:72:18
at process._tickCallback (node.js:419:13)
error: Forever detected script exited with code: 8
error: Script restart attempt #9


Arm 7475 1

fix for #44

I'm going to try to look at merging this coming week. Man, I've been too busy generally. Sorry for the delay...

Hi, I added some feedback. Can you look at it for a bit?

Any chance you can deal with the small changes required to get this merged?

while it would be easy to fix the compilation errors I'm not sure if the code is 100% correct since there are many placed where tracy modifies registers and this is just one of them.


Deploying on GCP

Link to backend.
Will proceed with merging to main once frontend UI is setup sufficiently.

Hosted on https://cs467-jhaiwt-431408.wl.r.appspot.com/


Qingwei/refactor custom to pass symbol

Coverage increased (+0.09%) to 85.981% when pulling 5d1abf133be70680a1bb5a5d0a13428f1cc78f76 on qingweibinary:qingwei/refactor_custom_to_pass_symbol into 0d6eddfb720c0eb7c474553a762f6dd8e4905a6a on binary-com:master.


useSelector won't return functions in store

If you put functions in your store and use useSelector to get them you won't have them returned.
I'm guessing it's due to
export function computeSelector<T>(selector: Selector<T>, e?: ObserveEvent<T>, retainObservable?: boolean) {
    let c = selector as any;
    if (isFunction(c)) {
        c = e ? c(e) : c();
    }

    return isObservable(c) && !retainObservable ? c.get() : c;
}

We are doing this as we are moving from a zustand store to legend-state. And we'd prefer to make minimal changes so we're still using the store actions to update the store state.
export function useTile<T>(
  selector: (state: TileStore) => Observable<T> | T
): T {
  const store = useContext(TileContext);

  if (!store) {
    throw new Error("Missing TileContext.Provider in the tree");
  }

  return useSelector(selector(store));
}

this is the hook we're using in our component. This is what the store looks like:
  const store = observable({
    ...
    setCurrencyPair: (currencyPair: string) => store.assign({ currencyPair }),
    setESPConfigData: (data: EspConfigData) => espData.assign(data),
    ...
  });

When we run
  const setESPConfigData = useTile((s) => s.setESPConfigData);

setESPConfigData is not the function we expect.
We're currently working around this by doing:
function isObservable<T>(key: Observable<T> | T): key is Observable<T> {
  return (key as Observable<T>)?.get !== undefined;
}

export function useTile<T>(
  selector: (state: TileStore) => Observable<T> | T
): T {
  const store = useContext(TileContext);

  if (!store) {
    throw new Error("Missing TileContext.Provider in the tree");
  }

  const storeMember = useSelector(() => selector(store));

  if (isObservable(storeMember)) {
    return storeMember.get();
  }

  return storeMember;
}

Not sure if there is a good solution to this as I imagine you can't really change the computeSelector logic but maybe further up the callstack you can short circuit the code and return values from store if they are functions. Unless maybe functions should be wrapped in Proxys too? What happens if the function in the store is updated? Will any observers be notified?

I think the issue is that the functions are extracted from the raw object and saved as metadata inside the observable, so you can call the functions through the observable but not on the raw object. This is done for a few reasons, the main being that you can put an async function into an observable and it will await the promise and then fill itself with the resolved data.
So since computeSelector gets the raw object, the function isn't actually there.
We should fix this within computeSelector. I've got a prototype in progress, but it's so core that I want to add more tests before releasing it. I'll try to get a fix out today.
By the way, you can import { isObservable } from '@legendapp/state'; which is more accurate for that purpose.

Actually it might be a tough one... I'm working on some new concepts where it becomes unclear what computeSelector should do in this situation. I'll have a think about the best way to approach it.
What version are you using? The behavior of functions changed a bit between v1 and v2.

v2, after you added React as an optional peer dependency. No stress about this issue, we have a workaround. I just wanted to make you aware of it.


Update manifest: WiresharkFoundation.Wireshark version 4.4.0

Details

Add arm64 EXE of the package

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #172612

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @Dragon1573,
This manifest adds a DisplayVersion to the AppsAndFeaturesEntries that isn't present in previous manifest versions. This entry should be added to the previous versions, or removed from this version.
(Automated response - build 895.)

Hi,
I have done winget source update however WinGet somehow is still trying to install x64 version.
winget install WiresharkFoundation.Wireshark
Found Wireshark [WiresharkFoundation.Wireshark] Version 4.4.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://2.na.dl.wireshark.org/win64/Wireshark-4.4.0-x64.msi


WSL report 444 permission for file while Cygwin report 400

Environment
Microsoft Windows [Version 10.0.19041.329] (release, no insider)
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Release:        20.04
Linux version 4.4.0-19041-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #1-Microsoft Fri Dec 06 14:06:00 PST 2019
Steps to reproduce
WSL1 /home/.ssh is a WSL symbolic link to Windows directory %HOMEDRIVE%%HOMEPATH%/.ssh (all NTFS)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0444 for '/home/<user>/.ssh/id_rsa' are too open.
$ cd ~/.ssh
$ icacls.exe id_rsa '/reset'
$ icacls.exe id_rsa '/inheritance:r /grant:r "<user>:(R)"'
$ stat -c "%a %n" ~/.ssh/id_rsa
444 /home/<user>/.ssh/id_rsa

Without the symbolic link
$ stat -c "%a %n" /mnt/d/Users/<user>/.ssh/id_rsa
444 /mnt/d/Users/<user>/.ssh/id_rsa

In cygwin:
$ stat -c "%a %n" /cygdrive/d/Users/<user>/.ssh/id_rsa
400 /cygdrive/d/Users/<user>/.ssh/id_rsa

Thus it is impossible to do a git push from WSL although it's fine in Git for Windows and Cygwin. Note the HOME/.ssh is intended to be shared by several environments.

Expected behavior
$ stat -c "%a %n" ~/.ssh/id_rsa
400 /home/<user>/.ssh/id_rsa

Actual behavior
$ stat -c "%a %n" ~/.ssh/id_rsa
444 /home/<user>/.ssh/id_rsa

Or is there another way to obtain 400 file permissions in WSL?

Cygwin and WSL's file permissions are unrelated.
You can try turning on metadata in /etc/wsl.conf and set permissions with chmod of /mnt/c/User/you/.ssh/id_rsa. Something like:
[automount]
options = "metadata"

You'll need a wsl --shutdown for it to take.
Better still, don't share your .ssh directory like that.

OK, thanks, it works!
$ cat > wsl.conf
[automount]
options = "metadata"
$ sudo cp wsl.conf /etc/wsl.conf
cmd>wsl.exe --shutdown
cmd>icacls.exe id_rsa /reset
$ chmod 400 ~/.ssh/id_rsa
$ stat -c "%a %n" ~/.ssh/id_rsa
400 /home/me/.ssh/id_rsa

Test:
$ git push
Enter passphrase for key '/home/me/.ssh/id_rsa':

Works!
As I could understand, this doesn't change the actual file permissions in Windows? Are these permissions only visible for WSL? How can I delete the metadata?
cheers Erik

doesn't change the actual file permissions in Windows

Windows doesn't have file permissions. WSL is unrelated to Cygwin.


Add escape_single_quotes shim to spark adapter

    This should eventually be added to the spark adapter!

Originally posted by @graciegoheen in https://github.com/dbt-labs/dbt-project-evaluator/pull/246#discussion_r1053726450

PR has been opened in dbt-spark https://github.com/dbt-labs/dbt-spark/pull/573

https://github.com/dbt-labs/dbt-spark/pull/573 has been merged 🎉 and it is listed in the changelog here.
What would be the trade-offs of removing this file?

macros/cross_db_shim/spark_shims.sql

@dbeatty10 I think there would be limited issues! We'd need to make sure to also update the required dbt version once that's released into the wild to ensure users of this package use 1.4 and above

Cool! Timing and strategy up to y'all, of course.

@dbeatty10 I think there would be limited issues! We'd need to make sure to also update the required dbt version once that's released into the wild to ensure users of this package use 1.4 and above

I just updated the "implementation hints" here to reflect bumping up to 1.4:

https://github.com/dbt-labs/dbt-project-evaluator/issues/287


[DEVHAS-611] Update Component create metrics for better data

What does this PR do?:

Updates the component metrics only if the current state is different than the prev state, this helps avoid spamming metrics due to HAS controller retry logic
Wrapper function for Component create metrics (other metrics left untouched, outside the scope of PR), whose job is to compare previous error and current error and update metrics accordingly
Remove metrics tracking from Gitops logic due to future commitments
Rearrange metrics dir to individual files (cut-paste)

Which issue(s)/story(ies) does this PR fixes:

https://issues.redhat.com/browse/DEVHAS-611
PR acceptance criteria:

[x] Unit/Functional tests

[ ] Documentation

[ ] Client Impact

How to test changes / Special notes to the reviewer:
tests should pass

/retest

@maysunfaisal Rebasing on your recent changes might fix https://github.com/redhat-appstudio/application-service/actions/runs/7791255552/job/21327116796?pr=441, but I also noticed your comment about the linter fix: https://github.com/redhat-appstudio/application-service/pull/442#issuecomment-1932256932

/retest
Failures this time look like flaky ones, retrying.

@michael-valdron I merged https://github.com/redhat-appstudio/application-service/pull/442 which should address the kube linter error and rebased this PR.
The tekton pipeline is broken because we dont promote commits to infra-deploy automatically anymore. I think John will/may be setting that up with their EPIC later. Until then we have to promote it manually.

@michael-valdron This PR can be lgtm'd.
I confirmed that the tekton pipeline we are looking for a success is application-service-on-pull-request which is passing, the pipeline has-on-pull-request is outdated and there is a PR to remove it https://github.com/redhat-appstudio/application-service/pull/438.
The outdated tekton builds are now replaced by konflux builds and the application-service-on-pull-request pipeline runs on Konflux:

(Confirmed on older PRs and my direct conversation with John)


5.x: IconButton does not support disabled

Not sure if this is too soon for v5 bugs?

IconButton does not support the disabled prop. The button is still clickable:
https://codesandbox.io/s/ox1mxv911q
This worked OK in v4.
[feel free to bat this away if it's too soon. I have seen other issues with the v5 icon, especially when trying to render something custom, so maybe this is still a WIP?]

It is the perfect time for V5 bugs! Thank you for filing this.

Thanks James  I'm also having problems with TextFieldIcon and ChipIcon but I'll knock up a sandbox tomorrow.

Feel free to hit me up in a private chat on discord as well. Icon handling has changed a bit, but it would be good to know what you’re seeing.


HTTP/1.1 server sends chunks in response progressively

HTTP/1.1 server.
Transfer-Encoding : chunked
How can I send chunk in response progressively? it seems this feature is missing?

The title claims it "sends", but your comment is asking how to do so. hyper is able to send buffered and streaming bodies. What are you trying to do? What currently isn't working the way you'd expect?

Hi @seanmonstar
may I know how to produce streaming body via hyper ?

https://docs.rs/hyper/0.13.0-alpha.4/hyper/struct.Body.html#method.channel

You have a few options:

If you wish to use hyper::Body, and/or want to spawn a new task that will progressively produce data and send it on a channel, you can use hyper::Body::channel().
However, hyper is generic over the response body type, you can implement hyper::body::HttpBody (hyper::body::Payload in v0.12.x) that can yield chunks as they become available.


decouple.Csv() makes raw strings not-raw, incorrectly

The django-cors-headers middleware has two ways to control Access-Control-Allow-Origin. One of them is via a regular expression CORS_ALLOWED_ORIGIN_REGEXES, which is a list of strings that are regular expressions. Unfortunately, we've been struggling to use a regex like r"^https://\w+\.example\.com$". That is, we tried
>>> CORS_ALLOWED_ORIGIN_REGEXES: List[str] = config('CORS_ALLOWED_ORIGIN_REGEXES', r"^https://\w+\.example\.com$", cast=Csv())

and set the value in the environment, and that didn't work because…
>>> Csv()(r"^https://\w+\.example\.com$")
['^https://w+.example.com$']

which is not the same regular expression we entered. Honestly, the other side of our problem is helmfile, which makes it difficult to set environment variables with backslashes in them, but we thought at least the default in pure python should work, and would be worth reporting.
If you don't use Csv(), the raw string behaves as expected:
>>> config('XYZZY', r'abc\def')
'abc\\def'

That's an interesting problem. Sure the inconsistency should be solved. Don't know yet what could be done with CSV.
Can you provide a PR with the desired failing tests and the expected results?
This would make easy for me to figure out what to do.

I will see what I can do to help!

Hi, I created #103 to tackle this bug. Please let me know if there's anything else I can do to help.

Hi, any chance of getting traction on this issue? I think the code is all ready to go in #103.


payu collate not collating restart although restart: true in config.yaml 1deg_jra55_iaf

I read https://github.com/payu-org/payu/issues/275 and understand that the latest ACCESS-OM2 control /experiment should collate restart files automatically with restart: true in config.yaml. But I can't collate restart files in my directory: /scratch/v45/hh0162/access-om2-cycle4/control/1deg_jra55_iamip2_his
I'd like to collate restart files in archive/restart000. I have tried both payu collate and payu collate -d restart000 but no success so far. There were no error messages for these jobs:
Moving log 1deg_jra55_ia_c.o31579143
Moving log 1deg_jra55_ia_c.e31579143
Moving log 1deg_jra55_ia_c.e31578932
Moving log 1deg_jra55_ia_c.o31578932

Could you please take a look?

Sounds like a duplicate of #316
Can you try the latest version in conda/analysis3-unstable and see if that fixes your issue.

ahh yes, that fixed the issue!
thanks @aidanheerdegen

@aidanheerdegen where should I define module load conda/analysis3-unstable? I defined it in my ~/.bash_profile but my test run today indicates it was not used (i.e. the collation of restart files did not happen automatically).

You can find which version of payu you're using with
which payu

Maybe also check if you have a version of payu installed locally in ~/.local.
If none of that helps msg me on slack with details about your control directory and where it isn't working for you.

which payu gives
/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.10/bin/payu
no payu is installed in ~/.local.
i'll message you on slack.


HOW TO INSTALL it pls tell it would be great.

I just want to know how to install it . as it would be great if i could

You can click on releases and download the latest one as an exe. Also sorry for not responding..


npm run serve -s dist fails: dependency was not found: sockjs-node

Version
3.0.1
Node and OS info
node v10.9.0<EMAIL_ADDRESS>ProductName:	Mac OS X ProductVersion:	10.13.6 BuildVersion:	17G65
Steps to reproduce
vue create vrm --> preset (pwa; vuex, vue router; unit and integrated testing)
cd vrm
npm install
npm run build
npm run serve -s dist
What is expected?
newly created website open in browser
What is actually happening?
ERROR  Failed to compile with 1 errors                                                                               11:41:07 PM
This dependency was not found:
*/prj/vrm/dist in multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080/sockjs-node (webpack)/hot/
dev-server.js ./dist
To install it, you can run: npm install --save /prj/vrm/dist

website works if -S is omitted
npm run serve

<EMAIL_ADDRESS>serve /prj/vrm
vue-cli-service serve

INFO  Starting development server...
98% after emitting CopyPlugin
DONE  Compiled successfully in 2073ms                                                                                11:42:17 PM
App running at:

Local:   http://localhost:8080/
Network: http://<IP_ADDRESS>:8080/

Note that the development build is not optimized.
To create a production build, run npm run build.

But what do you want to achieve by adding the -s dist argument?
In your case, npm run serve -s dist runs vue-cli-service serve "dist" under the hood.
-s is interpreted as a flag for npm run-script, as a shorthand of --silent.
dist, which certainly does not exist at the moment, is specified as the entry point for vue-cli-service to serve, therefore the error is shown.

Thanks but even without the -s,  npm run serve dist still fails with the same error. My purpose is to serve the built site from localhost. Is there another way of doing that?


pi-hole integration does not run on 0.99.2 Hassio

Home Assistant release with the issue:
0.99.2
Last working Home Assistant release (if known):
0.98.5
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
Pi-hole
Description of problem:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 168, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 47, in async_setup
    conf = config[DOMAIN]
KeyError: 'pi_hole'

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  - platform: pi_hole
    host: !secret pi-hole_host
    monitored_conditions:
      - ads_blocked_today
      - ads_percentage_today
      - dns_queries_today
      - domains_being_blocked
      - queries_cached
      - queries_forwarded
      - unique_clients
      - unique_domains
      - clients_ever_seen

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 168, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 47, in async_setup
    conf = config[DOMAIN]
KeyError: 'pi_hole'

Additional information:
N/A

@tiagofreire-pt The Pi-hole integration changed (including how it is configured). Please read the release notes:
https://www.home-assistant.io/blog/2019/09/18/release-99/#breaking-changes

@frenck, the issue remains even after changing the configuration.yaml. The workaround is using: "host: IPADDRESS:4865".

As per documentation... yeah..


Change SHA1 to more modern hash algorithm in token generators

TokenGenerator uses outdated SHA1
https://github.com/opentok/OpenTok-Ruby-SDK/blob/f618f8a30ba0958d0920ed35ec0f974de80b9e81/lib/opentok/token_generator.rb#L93
SHA1 is not secure enough those days.
You should switch to SHA2-256 or SHA3 to be more secure.
Ofc it will change also servers code, but it can be achieved by adding hash_algorithm: SHA3 to options in token generator

Thank you, @choosen, for raising this. We are working on updating all of our OpenTok SDKs and we will certainly look into this as well. Appreciate it!

OpenTok use sha1 @ OpenSSL::HMAC   so it seems not so bad as I thought ; )


Subclassing JSQMessagesViewController's subclass

I am having this strange issue. I have this MessageViewController which is a subclass of JSQMessagesViewController. Then, I create another class GroupMessageViewController which is a subclass of MessageViewController. Once I created GroupMessageViewController, I am not able to compile the project anymore by showing "JSQMessagesViewController.h not found". Anyone faced this issue before and any idea how to solve the issue.

Thanks @minsoe ! :smile:
This doesn't sound related to the library, but seems specific to your project. Going to close. If you think that isn't right, let me know! :smile:


Build grpc++ failed related to utf-8

What version of gRPC and what language are you using?
Grpc v1.46.3 C++
What operating system (Linux, Windows,...) and version?
Windows 10 & 11
What runtime / compiler are you using (e.g. python version or version of gcc)
The CXX compiler identification is MSVC 19.32.31329.0
What did you do?
Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction.

RUN:
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=D:/Codelabs/libs/grpc_1.46.x_vc14x_x64 -DgRPC_BUILD_TESTS=OFF -DABSL_PROPAGATE_CXX_STD=ON
cmake --build .
Build failed. it complained that : \src\core\lib\gprpp\time.cc line 159 newline C2001

MOD CMakeLists.txt ADD CONTENT:
if(MSVC)
include(cmake/msvc_static_runtime.cmake)
add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
then RUN UP COMMAND AGAIN
this time failed with:

FAILED: third_party/boringssl-with-bazel/CMakeFiles/crypto.dir/win-x86_64/crypto/chacha/chacha-x86_64.asm.obj
C:\PROGRA~1\NASM\nasm.exe -DBORINGSSL_IMPLEMENTATION -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_WARNINGS -D_STL_EXTRA_DISABLED_WARNINGS="4774 4987" -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\Codelabs\grpc\v1.46.x\third_party\re2 -ID:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\src\include -gcv8 /utf-8 -MD third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\chacha\chacha-x86_64.asm.obj.d -MT third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\chacha\chacha-x86_64.asm.obj -f win64 -o third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\chacha\chacha-x86_64.asm.obj D:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\win-x86_64\crypto\chacha\chacha-x86_64.asm
/utf-8: fatal: more than one input file specified: D:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\win-x86_64\crypto\chacha\chacha-x86_64.asm

[1725/2096] Building ASM_NASM object third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm.obj
FAILED: third_party/boringssl-with-bazel/CMakeFiles/crypto.dir/win-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.asm.obj
C:\PROGRA~1\NASM\nasm.exe -DBORINGSSL_IMPLEMENTATION -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_WARNINGS -D_STL_EXTRA_DISABLED_WARNINGS="4774 4987" -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\Codelabs\grpc\v1.46.x\third_party\re2 -ID:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\src\include -gcv8 /utf-8 -MD third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm.obj.d -MT third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm.obj -f win64 -o third_party\boringssl-with-bazel\CMakeFiles\crypto.dir\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm.obj D:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm
/utf-8: fatal: more than one input file specified: D:\Codelabs\grpc\v1.46.x\third_party\boringssl-with-bazel\win-x86_64\crypto\fipsmodule\aesni-gcm-x86_64.asm

What did you expect to see?
build success
What did you see instead?
failed as described
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
Cmake Ninja Nasm

#29981 can fix


WIP: new Dockerfile, new cache

new Dockerfile: https://github.com/paritytech/scripts/pull/63
new cache is being saved in docker volume:

CARGO_HOME set for every job's name to avoid data race condition while cargo tries to access the cache. Cargo saves dependencies and their git repositories to CARGO_HOME. Saving this means it's no more needed to download dependencies.
sccache saves compilation cache and significantly increases compilation speed. Avoids race conditions by design (hopefully).
GIT_STRATEGY allows GitLab to save repository in the docker cache and update it via git fetch

It's required to modify runners config.
Example:
[[runners]]
  name = "QA_experiments"
  url = "https://gitlab.parity.io"
  token = ""
  executor = "docker"
  output_limit = 16384
  [runners.docker]
    privileged = false
    security_opt = ["seccomp=unconfined"]
    disable_entrypoint_overwrite = false
    disable_cache = false
    volumes = ["/home/gitlab-runner/ci-cache:/ci-cache:rw"]
    shm_size = 0
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

@TriplEight I would like to merge this, after 1.0 is branched. Will this work out of the box or will it require some other modifications to the CI as well?

@bkchr everything's ready for merging.

new docker image is already on hub.docker.com
linux-docker tagged runners are set up to handle cache from both Substrate and Parity-Ethereum
latest run is here.


BAYC/WETH PERP add (powered by NFT Bank)

Context:
Show the price feed provider for BAYC floor price - i.e. NFTBank. This is only applicable to BAYC/WETH PERP market.

Given BAYC/WETH PERP is the latest listing, when it shows up as WHAT'S NEW highlighted pair, the users should see Powered by NFT Bank.

When BAYC/WETH PERP is listed on Injective Pro, users should see Powered by NFT Bank for BAYC/WETH PERP market.

Mobile viewport for BAYC/WETH PERP as the WHAT'S NEW highlighted pair.

Mobile viewport for BAYC/WETH PERP in the list of markets.

@ThomasRalee
One small change wrt to the Powered By information.
We will show both Burnt Finance and NFT Bank logos.
If user hovers over the icon, the tooltip with the company name will show up and the icon will turn into colored version instead of greyscale.
Users can tap the icon to go to the corresponding website on a separate tab.
Burnt Finance: https://burnt.com/
NFT Bank: https://nftbank.ai/

@terencetang9 I think we should prevent movement of the "Powered by" element when user hovers over it and it's displayed in coloured version. Currently there's a slight one.


fix(version): update ngx-widgets to 1.1.2

@fabric8cd fabric8/fabric8-ui:SNAPSHOT-PR-2113-1 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2113-fabric8-planner.badger.fabric8.io


User Roles not added to create or update calls

I have my _User class level permissions set up such an "Administrator" role can update any user's info. However when an "Administrator" attempts to update another user's info, I get a permissions error.
In RestWrite.js (line 649), we assign * and the user id to the acl array. Since we never assign Roles to the acl array, create and update queries fail with a permissions error for the "Administrator".
var options = {};
  if (!this.auth.isMaster) {
    options.acl = ['*'];
    if (this.auth.user) {
      options.acl.push(this.auth.user.id);
    }
  }

I propose the following edit to add the user roles to the acl:
var options = {};
  if (!this.auth.isMaster) {
    options.acl = ['*'];
    if (this.auth.user) {
        options.acl = options.acl.concat(this.auth.userRoles);
     }
  }

this.auth.userRoles seems to have all Roles associated with the current user plus their user id. Therefore this results in an array that looks like this: [ '*', 'role:Administrator', 'ZI7jszHWuI' ]

Should be fixed by the changes in #374 which will be in 2.1.3.


Update the member list to include the new members

Gabi, Rish, Mike W, Rohit, Manika, Maciej, Simone, Marc to send pic and description to #website, Jesse or Huiling
website to be updated accordingly
would it be possibly to have a circle with all of us, rather than a list?

I haven't seen pics or bios yet for these peeps, are they available somewhere?

We will put everyone here: https://drive.google.com/drive/folders/1cmJUiS5hLOXp9W-QPXyxr2g3ifiB4VKa?usp=sharing

Closing because now we have a pipeline for adding people via the google doc :)


Declare package license and include license and notice

For the nuget client package, declare the license and embed the license and notice for downstream consumers.  Exposing the license helps facilitate more automated onboarding for some enterprise setups.

THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF THE FINOS CORPORATE CONTRIBUTOR LICENSE AGREEMENT.
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

@Vivek-NatWest could you push the version with this merged to nuget? @bingenito is still stuck until its published.

@Vivek-NatWest could you push the version with this merged to nuget? @bingenito is still stuck until its published.
Unfortunately, the automated semantic-release did not trigger the publishing of new version as it works on commit message, '[2:49:06 PM] [semantic-release] › ℹ  There are no relevant changes, so no new version is released.'
I have raised a pull req, which is awaiting approval from @manish-nwm, (Diwali holidays here :) )  which would publish the NuGet package. Hopefully tomorrow,  new version would be released.

We need more reviewers to speed up, where you able to add yourself as reviewer @kriswest?

To the project? No, I can't add myself. You may have the rights to add me if there is a github team (I seem to have that right on the FDC3 project, but didn't always).
Either @robmoffat maybe able to do it, otherwise we may need the help of @maoo or @TheJuanAndOnly99 - failing that an email to<EMAIL_ADDRESS>

To the project? No, I can't add myself. You may have the rights to add me if there is a github team (I seem to have that right on the FDC3 project, but didn't always).
Either @robmoffat maybe able to do it, otherwise we may need the help of @maoo or @TheJuanAndOnly99 - failing that an email to<EMAIL_ADDRESS>
It seems, I don't have rights, cant see you in reviewers list. I had elevated access for sometime few months back but its gone now. Sure let me drop a mail to Juan/FINOS for help here.

:tada: This PR is included in version backplane-client-net-v1.0.0 :tada:
The release is available on:

backplane-client-net-v1.0.0
GitHub release

Your semantic-release bot :package::rocket:


Run clang-format and check in Travis CI

@robertnishihara I think it would be good to apply something similar to Ray. For Python you can use https://github.com/hayd/pep8radius which is equivalent to the git-clang-format script added here and can run autopep8 and yapf (linter and formatter) on only the changed lines (so it's not necessary to go back and fix all the errors found in the existing code).
It would be really cool to automatically push fixes, and add comments to the pull request for the non-automatable errors... but that would be enough work for an entirely separate project.

Nice work! Interesting that it prefers char* s for variable declarations, but char *s in function signatures.
Is this enforcing an 80 character line limit?

I introduced a whitespace error to see if Travis would catch it, but it appears to not have caught it. https://github.com/pcmoritz/plasma/compare/temp

I think that's an artifact of

DerivePointerAlignment (bool)
If true, analyze the formatted file for the most common alignment of & and *. PointerAlignment is then used only as fallback.

It should enforce a 80-column limit, but that is also configurable.
I'm not sure why it's failing to catch the whitespace error. The git-clang-format script tries to report errors only on changed lines, and maybe there's a bug in what it compares against for changes.

Ooh, that's what the problem was? Good catch.

Why make the format script take a commit? Why not just have it operate on whatever is in the local repo?

The intent of that is so that the whole repository doesn't need to be reformatted, and the style check is only enforced on new changes. I guess I've done the reformatting anyway, though (except on src/ut*.[ch])

I see, either of those are fine with me.

This looks really great, +1 for merging! @rshin Can you add your workflow for checking the formatting to the README?


IOBUF + TBUF fuzzer

fuzz IOBUF by connecting OEN and OUT as pepijndevos adviced. TBUF by add DFF.

So is TBUF actually different from IOBUF? I was hoping that with the O->OE trick it would not need a separate fuzzer as it doesn't conflict with the DFF fuzzer.

It is exactly the same as IOBUF, but this fact cannot be detected by your trick.
You want to take TBUF = IOBUF with a hanging O ?
This can be done by throwing out its fuzzling, implement TBUF in gowin_pack.

are you sure that merging the fuzzers back into one file will be good? We won't have to separate them again when and if we get to merge registers and IOBs into one cell?

Generally my idea is that anything that can reasonably be fuzzed within tile boundaries should be in tiled_fuzzer, and things that need to be fuzzed across cell boundaries like clock wires need to be their own step.
So if it's the case that to fuzz IOB we need to put support structures in the tiles around it, then yes it can be a separate fuzzer. If the self-connected hack allows us to fuzz the IOB in a self-contained way, then it will be more efficient to merge it with other runs. This will basically mean that fuzzing PLLs and BRAM will incur no additional runtime since they can be in the same PnR runs as DFF and IOB.
I'm not sure I understand your comment about having to split up for registers in IOB. Again, if it is possible to fuzz registers in IOB in a self-contained way, it can be done within the tiled_fuzzer framework. But if you need to hook up the register to a LUT in an adjacent tile for it to work, then you are correct that it's better to do IOB fuzzing in a separate step.
In that case maybe we should refactor a bit so that all the common fuzzer stuff is in tiled_fuzzer and the specific ones can import that. Rather than the DFF fuzzer being in tiled_fuzzer and the other ones importing it.

I have not looked at the register-in-iob support at all. If it's just one bit that's basically an additional flag on IOB then I guess it can be fuzzed as such. If it's a full DFF that's independent of the IOB then it might be a seperate pass, which could still happen inside tiled_fuzzer. Depends if the tools will just delete the register if it's unconnected if we can fuzz it in a self-contained way I guess.

Got it.
I merge the fuzzers back together and throw out the extra pieces with TBUF and routing. I'll have to fix gowin_{pack, unpack} as well.
About the registers: so far I assume they are special and one of the ins/outs is necessarily connected to the IOB.


Suggestion: Don't harvest seeds

Hello,
was it possible to set an option with option-file or so, that the right-click harvest don't harvest seeds?
thx

What?

Hello,
i mean that seed drops from wheat or other seed based food, don't drop this seed then i harvest with right click and only drop seed when i push it with left?

Are you asking why modders crops aren't working? You need to add them to the config.

No i use TorosQuest and when i break the block the Reputation goes down and when i harvest right, the Repution dont affected. Now i found when i harvest some i should only geed the food like wheat and others, not the seeds. But was only a Feature Request not so important.

This would be on their end to implement.


Update vuejs model value by jquery trigger, but not take effect

Vue.js version
1.0.26
Reproduction Link
https://jsfiddle.net/qkcmcogk/8/
Steps to reproduce
update the select dom value in jquery,but the v-model not take effect
What is Expected?
What is actually happening?

jQuery event system != native browser event, so Vue doesn't know about the jElement's trigger(). I suggest you read https://learn.jquery.com/events/triggering-event-handlers/.

Also, if you get stuck, please ask on our forum or Gitter. I'm sure a lot of folks there will help you.

tks ,solved， http://stackoverflow.com/questions/21290775/jquery-el-triggerchange-doesnt-fire-native-listeners


fastRead (-q --fast-read)

 -q (--fast-read)
         (x and t mode only) Extract or list only the first archive entry
         that matches each pattern or filename operand.  Exit as soon as
         each specified pattern or filename has been matched.  By default,
         the archive is always read to the very end, since there can be
         multiple entries with the same name and, by convention, later
         entries overwrite earlier entries.  This option is provided as a
         performance optimization.

Closing unless someone has a need for this.
It's a little bit tricky to faithfully match the way that tar(1) does this.  Once all the listed files have been seen by the parer, it needs to stop reading the tar file entirely.  But, only once the last of those files ends, or else it won't fully complete the extraction.  Also, when consuming from an input stream, it has to unpipe from it once the entries are seen, which MiniPass doesn't currently support.


Can't access Kiali / Grafana with ingress on Azure AKS

Bug description
Can't access Kiali / Grafana with ingress on Azure AKS. I can successfully port-forward without issue to both services so this is just related to ingress.
The following works:
kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001

Everything is running:
❯ kubectl get po -n istio-system
NAME                                      READY   STATUS      RESTARTS   AGE
grafana-67c69bb567-pp27t                  1/1     Running     0          19h
istio-citadel-58fc8bfb55-mk6rm            1/1     Running     0          19h
istio-galley-79595c6b67-j8pqr             1/1     Running     0          19h
istio-ingressgateway-844d87d84b-9jln5     2/2     Running     0          19h
istio-init-crd-10-fn7m2                   0/1     Completed   0          19h
istio-init-crd-11-p9cjv                   0/1     Completed   0          19h
istio-pilot-5489577b86-82pqr              2/2     Running     0          19h
istio-policy-776dcfb654-q2zmf             2/2     Running     4          19h
istio-sidecar-injector-6fd47fb7c8-xk8mz   1/1     Running     0          19h
istio-telemetry-5944bd454d-xt7jr          2/2     Running     4          19h
kiali-56f5c59f79-lnqh6                    1/1     Running     0          19h
prometheus-d8d46c5b5-dvwht                1/1     Running     0          19h
tiller-deploy-876cbc9-pk67n               1/1     Running     0          20h

But whenever I go to http://istio-kiali.xxxx.ca I get "upstream connect error or disconnect/reset before headers. reset reason: connection failure" and the https variant doesn't work at all and gives a time out.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
That http traffic for Kiali + Grafana will be redirected to https and that https is accessible over the ingress.
Steps to reproduce the bug
a) Install istio-init with Helm Chart
b) Install istio with Helm Chart
c) The following is what my values.yaml looks like for Istio on Azure AKS:
# Use a specific image
global:
  # tag: release-1.1-latest-daily

  k8sIngress:
    enabled: true
    enableHttps: true

  controlPlaneSecurityEnabled: true
  disablePolicyChecks: false
  policyCheckFailOpen: false
  enableTracing: false

  mtls:
    enabled: true

  outboundTrafficPolicy:
    mode: ALLOW_ANY

sidecarInjectorWebhook:
  enabled: true
  # If true, webhook or istioctl injector will rewrite PodSpec for liveness
  # health check to redirect request to sidecar. This makes liveness check work
  # even when mTLS is enabled.
  rewriteAppHTTPProbe: true

gateways:
  istio-ingressgateway:
    sds:
      enabled: true
    serviceAnnotations: {}

kiali:
  enabled: true
  contextPath: /
  ingress:
    enabled: true
    ## Used to create an Ingress record.
    hosts:
      - istio-kiali.govcloud.ca
    annotations:
      # kubernetes.io/ingress.class: nginx
      # kubernetes.io/tls-acme: "true"
      kubernetes.io/ingress.class: "istio"
    tls:
      # Secrets must be manually created in the namespace.
      # - secretName: kiali-tls
      #   hosts:
      #     - kiali.local

  dashboard:
    grafanaURL: https://istio-grafana.XXXX.ca

grafana:
  enabled: true
  contextPath: /
  ingress:
    enabled: true
    ## Used to create an Ingress record.
    hosts:
      - istio-grafana.XXXX.ca
    annotations:
      # kubernetes.io/ingress.class: nginx
      # kubernetes.io/tls-acme: "true"
      kubernetes.io/ingress.class: "istio"
    tls:
      # Secrets must be manually created in the namespace.
      # - secretName: grafana-tls
      #   hosts:
      #     - grafana.local

prometheus:
  enabled: true

Version (include the output of istioctl version --remote and kubectl version)
Helm Chart 1.1.8
How was Istio installed?
With Helm Chart
Environment where bug was observed (cloud vendor, OS, etc)
Azure AKS
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

I don't think you can access them over gateway out of the box, you need to follow https://istio.io/docs/tasks/telemetry/gateways/. Did you go through this already?
(I could be wrong, I have not done this before)

Yeah I gave that a go I did get the http one to work with just the http method and port but otherwise can't get the ingress with lets encrypt to work. Not super sure where am going wrong.

@sylus : did you get this working? can you share your config for exposing Kilali for https, to see where it can be going wrong?
Also, this is more of a question and not a bug, thus closing the bug and can you please take this conversation further on discuss.istio.io?


chore: implement created_at in the feature and segment users cache

Part of https://github.com/bucketeer-io/bucketeer/issues/921
To check if the cache in the SDK is the latest, we need something to compare with the server cache.
For features, we will generate an ID based on all the feature IDs and versions.
We will also use the segment's UpdatedAt value for the segment users' cache.

The comparison and check logic will be implemented in another PR, right?

@Ubisoft-potato, yes. When implementing the API to get the flags and the segment users, I will check those values.

LGTM! 👍


Feature: Export Scenario Definitions

The problem
When working with other Test Management Tools like Jira and Xray, there might be need to keep Scenario Definitions in Sync. As it is probably not working out to maintain scenarios in Jira itself, it would be good to sync the latest definition from the repository to Jira to have traceability to the requirements and as well an overview over the implementation.
A solution
Manually copying and updating scenario definitions is obviously no solution.
If there was a way to export scenario definitions, the output could be used to connect to an API of a Test Management system or another tool to update test cases there. As there are several CLI commands already existing like bddgen export which exports only the steps , a similar command could export the full scenario definition.

Could you show an example, what is the output for scenario definitions export?
Isn't it just feature files itself?

Yes, I think he means the feature files and the steps inside to be able to push them into external Test Management system.

Understood, in that case we need to know the format. Even if export as json, it's helpful to see an example beforehand.

Hi @vitalets
I had past project where we used Azure Devops and Playwright with Specflow (C#).
We had to send the bdd steps (also trace attachments for failed scenarious) to Azure Test Case item and we used their API to do that.
So usually test management applications have ID object, which we can use in the API call to update the item (in our case testcase item). That ID we can put as tag on the bbd scenario.
So we have the following flow:

We create a test case within the Test Management system (could be done manually or via API)
Upon creation this test case with have now an ID
We put that ID as a tag on a particular BDD Scenario
We can now use that ID and via the test management API and set/update all relevant item fields:
test item title <-> bdd scenario title
test item step <-> bdd scenario step
test item attachment <-> e.g. playwright trace file
test item status <-> scenario status (pass, fail, skip)

So with Specflow or Cucumber we have possibility to get the following data about the scenario currently being executed:
Feature: Title/Tag
Scenario: Title/Steps/Tag/Error/Status
Scenario Step: current executed step, status (result of the executed step)
Specflow -> https://docs.specflow.org/projects/specflow/en/latest/Bindings/ScenarioContext.html#scenariocontext-scenarioinfo
Cucumber -> cannnot find the documentation, but as an example to get scenario title you can do
Before((scenario)=> {
      console.log('scenario.pickle.name);
    });

I think all that data comes as string or array of strings and then everyone can do whatever they like with that information. Sending it to Test Management systems (Xray, Jira, AzureDevops, Test Rail) or do custom reports.
This ticket is very needed as people will have single source of truth for their test cases.
So if you change some bdd scenario step/steps in your code and you run the test those steps will be sent via the test management api and will updated that test case, which resides in the test management system.

Thanks you @NikkTod , that's very helpful!
I thought of this ticket as a static export of features info without test run.
From your examples I see that execution statuses are also required. Isn't it just a reporting task?
For example, if I use playwright-azure-reporter, it sends test execution data with feature info and testIds. Or I miss something?

@vitalets
It`s not just a reporting task, it is more of a way to contol all your test details and run statuses from one place (our code repo), so that you are able to push them in a test management system that your team uses for other non-technical people to see (manual testers/stakeholders). These test management systems we use to organize all our test procesess, not only reporting.
The azure-reporter is limited, yes there is similarity in the way that it also takes data, probably from the created report and insert it in AzureDevOps, but is a framework working only with Azure DevOps.
I think that by providing us the ability to get the above mentioned data (steps, tags, statuses) at runtime will allow us to use any Test Management tool as all of them have own API.
Many teams are using different tools to create their testcases/ test suites and manage their sprint cycles and reports.
Let me give some example screenshots:
TestRail:
TestCase details

Test Cases  overview

Xray

So, all in all, if lets say I modify the title and my bdd steps of a test scenario and then run the test within my VSCode, after test execution I want to be able to send data such as steps, title, tags, status via API to update the test management system.
That way if a user (manual tester/ stackholder) opens that testcase in the test management system he will be able to see newly updated title, the new steps that I have executed and of course the status of the test case would be set (pass/fail).

The flow and benefits are now clear.
To me it sounds like standard Cucumber json report covers all these needs. I've executed the following feature with that reporter:
Feature: Playwright Home Page

    @testId:12345
    Scenario: Check title
        Given I am on Playwright home page
        When I click link "Get started"
        Then I see in title "Installation"

Output json contains info about feature, tags and all steps with execution status. It can be sent to the third party API to update test cases, using testId from tags:

report.json
[
  {
    "id": "chromium-›-playwright-home-page",
    "line": 1,
    "keyword": "Feature",
    "name": "Playwright Home Page",
    "tags": [],
    "uri": "features/homepage.feature",
    "description": "",
    "elements": [
      {
        "id": "playwright-home-page;check-title",
        "keyword": "Scenario",
        "type": "scenario",
        "name": "Check title",
        "tags": [{ "name": "@testId:12345" }],
        "description": "",
        "line": 4,
        "steps": [
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 5,
            "name": "I am on Playwright home page",
            "result": {
              "status": "passed",
              "duration": 712000000
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 6,
            "name": "I click link \"Get started\"",
            "result": {
              "status": "passed",
              "duration": 91000000
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 7,
            "name": "I see in title \"Installation\"",
            "result": {
              "status": "passed",
              "duration": 164000000
            }
          }
        ]
      }
    ]
  }
]

Does it miss something what you need in TestRail / XRay?

Thansk @vitalets.
That would work yes, report have a lot of data that we can use. It will require a bit more code in order to parse the json and extract the needed data (it can have hundrets of test inside).
Should be something like look first for tag @testId:12345 and then go up and down to extract feature name, scenario name and steps.

Yes, that json should be adopted to the target system. but maybe there are existing integrations, because Cucumber json is not something new.
So, the solution for the original request - output Cucumber json / junit reporters and upload them to the target system.
The configuration in Playwright config is the following:
export default defineConfig({
  // ...
  reporter: [
    cucumberReporter("json", { outputFile: "cucumber-report/report.json" }),
    cucumberReporter("junit", { outputFile: "cucumber-report/report.xml" }),
  ],
});

Specifically, for TestRail I've found this guide in their integration docs.
Feel free to re-open this issue, better with concrete system use-case.
@NikkTod thanks for providing that context!


[Feature request] Gethering necessary info when program crashed or has memory leak

Recently, a number of people suffering from the memory leak. VS code or some plugin will eat all memory in a short time, and there is no chance to collect debug data for vs team. In addition, such kind of issue usually difficult to reproduce. our user surly has such kind of problem, but we don't know why and how to reproduce it.
So it would be nice that the vs code has a feature that gathering all necessary technical data and generating a report. Later our user can report such bugs, and make the vs team easier to fix them.

Closing as steps to gather crash dumps are covered in https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports


ITensor iteration and other miscellaneous ITensor and MPS/MPO functionality

This adds quite a number of small functions I have been accumulating in separate projects for MPS/MPO gate evolution and other MPS operations. Here is a list of the new functions:

Add eachindex(T::ITensor) to return an iterator over each cartesian index of an ITensor (i.e. for an d x d ITensor, either 1:d^2 or (1,1), (1,2), ..., (d, d)). For sparse ITensors, this includes structurally zero and nonzero entries.
Add iterate(A::ITensor, args...), which allows using for a in A @show a end to print all elements (zero and nonzero, for sparse tensors).
Add setindex!(T::ITensor, x::Number, I::CartesianIndex) to allow indexing with a CartesianIndex, which is naturally returned by functions like eachindex.
Add hasplev(pl::Int) that returns a function x -> hasplev(x, pl) (useful in functions like map).
Add hasind[s](i::Index) that returns a function x -> hasind[s](x, i) (useful in functions like map).
Add hascommoninds(A, B; kwargs...) which returns true if A and B have common indices.
Add findfirstsiteind(M::MPS/MPO, s::Index) that returns which site of the MPS/MPO has the site index s.
Add findfirstsiteinds(M::MPS/MPO, is) that returns which site of the MPS/MPO has the site indices is.
Add linkinds(::MPS/MPO) that returns a vector of the link indices.
Add linkdim(::MPS/MPO, ::Int) that returns the dimension of the specified link, and nothing if there is no link found.
Add linkdims(::MPS/MPO) that returns a vector of the link dimensions.
Fix a bug in +(::MPST, ::MPST) that the inputs were getting modified (the inputs were getting orthogonalized and the prime levels were being modified).
Add productMPS(sites, state::Union{String, Int}) to create an MPS with the same state at each site (for example, productMPS(sites, "Up") makes a state with all Up spins).

There are more general-interest functions I plan to add, but they are more involved.

@emstoudenmire, I don't think anything here is too controversial, let me know if anything on the list of changes looks objectionable.
I would say the most subtle part is ITensor iteration, and how the functions iterate and eachindex should work for sparse ITensors. Here I take the approach that Julia's SparseArrays uses that they iterate through all cartesian values (structural nonzeros and zeros), and then we can provide specialized iteration tools in the future for iterating through only nonzero/stored values.

These all look good to me, so I'm happy if you merge it. Nice to see how minimal the extra code is that's needed to add these.
It seems like the only tricky thing here is what you said about iterating over entries which are known to always be zero for sparse tensor storage types. I think there we have reasons to want each type of behavior, so it makes sense that if these functions would show every element for a dense tensor then they would show the zeros of a sparse tensor too.
As you said, we can have other functions in the future which behave differently, or we could add various keyword arguments to these functions. The keyword args I have in mind could include a boolean one which toggles the behavior about including zeros, or a threshold Float64 argument which skips over values whose magnitude is below that threshold. (The threshold one could be useful for printing even for dense tensors.)

Thanks for taking a look.
For just iterating over the nonzero values, one can already iterate over ITensors.data(A). Julia's SparseArrays offers this with the function nonzeros (https://docs.julialang.org/en/v1/stdlib/SparseArrays/index.html#SparseArrays.nonzeros) so we could consider that as an exported name. Having a threshold is an interesting idea.
I think the more subtle one is the nonzero version of eachindex, but I think we can have a devoted function/iterator type for that.
I'll go ahead and merge and tag a new version.


Viewport move on route changes when not fitting bounds

When I disable "Always fit bounds when route changes", a route change causes the viewport to move to the center of the route, without changing the zoom level. When you're zoomed in and add a waypoint at the beginning or end of the route, the added waypoint moves outside the viewport at the moment it's added. IMO this is quite strange, I would prefer the viewport not to move when it's not being fitted.

Hopefully fixed via https://github.com/GIScience/ors-map-client/commit/84a9ee9a6213f2f3f1944ec90f70804b44958e4d


WIP - Implement query builder base (AST builder)

Codecov Report

Merging #613 (f010270) into main (1e0f06f) will increase coverage by 0.15%.
The diff coverage is 98.36%.

@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
+ Coverage   93.86%   94.01%   +0.15%
==========================================
  Files         191      210      +19
  Lines       13652    14140     +488
==========================================
+ Hits        12814    13294     +480
- Misses        838      846       +8

Impacted Files
Coverage Δ

core/src/translate/mod.rs
96.47% <ø> (ø)

core/src/parse_sql.rs
58.62% <50.00%> (-6.09%)
:arrow_down:

core/src/ast_builder/select/project.rs
97.26% <97.26%> (ø)

core/src/ast_builder/delete.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/aggregate.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/binary_op.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/function.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/is_null.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/mod.rs
100.00% <100.00%> (ø)

core/src/ast_builder/expr/nested.rs
100.00% <100.00%> (ø)

... and 12 more

Continue to review full report at Codecov.

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


Prevent it from showing barcode

Hi,
How to execute a function without putting the barcode in any input?
Regardless of whether there is a focus or not, I only want to execute a function
Very good lib, congratulations
Carles

+1 to this too, at present I have resorted to manually clearing the input text's value inside the onScan.

+1 - preventDefault for successful onScan would be ideal.

In case it helps anyone else...
The onScanError function gives you the key that was "rejected". So you can pass that to a function that handles keypresses

anyone know how to this?
I want it only to execute the function instead giving input to any input

I've hacked it by checking the active input and removing the code that was written there during onScan.
  const element = <HTMLInputElement>document.activeElement
  if (element?.tagName.toLowerCase() === 'input') {
    element.value = element.value.replace(code, '')
  }

Not great, but works for my use case, until we get something better.

I've hacked it by checking the active input and removing the code that was written there during onScan.
  const element = <HTMLInputElement>document.activeElement
  if (element?.tagName.toLowerCase() === 'input') {
    element.value = element.value.replace(code, '')
  }

Not great, but works for my use case, until we get something better.

where did you put this code?

I've hacked it by checking the active input and removing the code that was written there during onScan.
  const element = <HTMLInputElement>document.activeElement
  if (element?.tagName.toLowerCase() === 'input') {
    element.value = element.value.replace(code, '')
  }

Not great, but works for my use case, until we get something better.

where did you put this code? @konstantin-klima

Inside my event handler for OnScan:
function ReadCode(code, amount) {
const element = document.activeElement
    if (element?.tagName.toLowerCase() === 'input') {
        element.value = element.value.replace(code, '')
    }

    //Rest of logic
}

 document.addEventListener('scan', ReadCode)```

Even I need this request in my project. Please let me know if there is any way to do that using onScan.js,
@konstantin-klima  I tried your approach but it is displaying the value for some time and then clearing the scanned value. I don't want that to happen.
Can you please help me with it? I was struggling from past two days.
Any help is really appreciated.

I've found a bit of a hack for this:
  const attachScan = () => {
    if (!onScan.isAttachedTo(document)) {
      let isCopyPaste = false;
      onScan.attachTo(document, {
        onScan: (sCode: string) => {
          setScanned(sCode);
        },
        onKeyProcess(char, event) {
          // This callback has a `char` value for key events that are in the range
          // of valid scan characters. We capture the event so that any focused
          // input does not receive the character.

          // If the user is copying or pasting, we don't want to capture the event
          const copyPasta = (char === 'c' || char === 'v') && event.ctrlKey;
          isCopyPaste = copyPasta;
          if (focusedInput() && char !== '' && !copyPasta) {
            event.preventDefault();
          }
        },
        onScanError: (e: ScanValidationError) => {
          // Don't handle the error if there is no scan code
          if (e.scanCode === '') {
            return;
          }
          // If the character(s) fail the scan validation, we can update any
          // focused input with the characters we captured in onKeyProcess
          const focused = focusedInput();
          if (focused && !isCopyPaste) {
            focused.value = `${focused.value}${e.scanCode}`;
          }
        },
        // The following options are used to determine if a scan is valid
        timeBeforeScanTest: 15,
        avgTimeByChar: 10,
        minLength: 5,
      });
    }
  };

The key parts are the onKeyProcess and onScanError, and making sure the validation options are pretty tight. Had to handle copy/paste a bit differently too. Prevent the possible valid scan chars getting emitted to the focused input, and append them to the value on the focused input if they don't turn out to be part of a scan.


Tune OAuth

Pull Request Test Coverage Report for Build 338

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 33.609%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/data/auth.js
0
3
0.0%

Totals

Change from base Build 330:
-0.05%

Covered Lines:
157

Relevant Lines:
461

💛  - Coveralls


Multiple clients for the same backend connection

Multiple clients for the same backend connection like Streammaster:
"Multiple clients for the same backend connection: StreamMaster will not start a new backend stream if it is already proxing the same one. Multiple clients can watch the same channel with just one backend active stream."
https://github.com/SenexCrenshaw/StreamMaster

Use a buffer for that. This already does that


How to format sourceOptions as data-sourceOptions

I need to be able to send extra options when filling a select list from the server using an inline data-sourceOptions="" type of formatting. Could anyone help with whether this is possible and if so what the formatting would be. Can't seem to find this in the docs.

I'm not quite sure what you mean. What extra options you want to fill into select list?
Anyway, this is an example select loading list with 4 different ways.
http://jsfiddle.net/cojad/uy5gamob/1/

I need to send the sourceOptions as html attributes but can't find the syntax.
eg.
<a href="" data-sourceOptions="" data-source="selectlist" data-title=""      etc.......
The docs say it is possible but don't say how.

Hi,
This example demo how to use data-sourceOptions to pass custom http header to dynamically add list options( guest & boss ). It does take me a while to figure out how to correctly pass the argument I want to pass to $.ajax.
http://jsfiddle.net/cojad/1tvakj3d/

Thank you that looks like it will work. The docs all use double quotes for
html attributes - this is what confused me.
On 27 May 2015 at 11:51, Cojad<EMAIL_ADDRESS>wrote:

Hi,
This example demo how to use data-sourceOptions to pass custom http header
to dynamically add list options( guest & boss ). It does take me a while to
figure out how to correctly pass the argument I want to pass to $.ajax.
http://jsfiddle.net/cojad/1tvakj3d/
—
Reply to this email directly or view it on GitHub
https://github.com/vitalets/x-editable/issues/766#issuecomment-105865822
.

--
Kind regards,
Garry Saddington, CTO
<EMAIL_ADDRESS>| http://scholarpack.com | Twitter: @scholarpack

The internal core of x-editable has some rough handling for single quote JSON string but I don't think it play very well with this complicate example. So, please bear in mind use single quote for attribute if that contain JSON strings. So all JSON string can be quote by double quote.
PS. JSON only accept double quote to quote string.


component: better test infrastructure

Work towards #1664
Closes #853
This commit cleans up the IBC client test as an example case of the new API.
Along the way, we also clean up some other ergonomic pain points, notably adding an Arc<State>::try_begin_transaction() method.
Co-Authored-By: Conor Schaefer<EMAIL_ADDRESS>

@avahowell Could you look at the content of the IBC test and check that we didn't clobber anything?

Merging optimistically to be able to do some changes to the ActionHandler trait.

the IBC test looks good to me, I like this test infrastructure approach


SSL operation failed with code 1.

I got an error while trying to download VCard. I'm using this library with Laravel framework. Laravel is served locally over https.
Error:

get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Fails on this line.

Hit @Tarasovych, thanks for contacting us.
I searched Google and it seems to be an error in your local setup.
Can you try the following solutions: https://github.com/composer/composer/issues/3346#issuecomment-76593763

@jeroendesloovere thanks, but that sollution is suitable for Linux, as I can see (I use OpenServer for Windows).


OpenCL Error OSX Radeon HD6750

jason@tesla ~/p/a/build> ./test/Activations_opencl
in[0] [5 1 1 1]
-8.9262
32.2371
45.1800
-32.0635
-8.0176
libc++abi.dylib: terminating with uncaught exception of type af::exception: ArrayFire Exception(401): Double precision not supported for this device
In /var/lib/jenkins-slave/workspace/arrayfire-osx-graphics-installer/src/api/cpp/data.cpp:27
fish: Job 1, './test/Activations_opencl ' terminated by signal SIGABRT (Abort)

Are we trying to use double precision? Shouldn't be needed for nnets. The trajectory seems to be going to smaller and smaller types actually (i.e. nirvana's 16bit ultra fast impl)

It should not be using double precision. Which version of ArrayFire are you using ?

3.02

Can you try this with our devel branch ?

This seems to be a problem in the main arrayfire library. I pushed a fix to this library that works around the issue.

Nice, ty Ill try it with the tip


Jamaica WMS request times out in eez_percent_distribution_tutorial.ipynb

The requests for ACA WMS data for Jamaica (jamaica_geomorphic = get_aca_layer(['geomorphic_data_verbose'], jamaica_bbox) and jamaica_benthic = get_aca_layer(['benthic_data_verbose'], jamaica_bbox) in lines 453 and 457) time and and fail ungracefully.  Perhaps a Geoserver limitation?  Maybe recode the tutorial to use a smaller, or less complex area for the time being?

@vkirkl You could use the tiled version if that works for you. I remember that being much less likely to time out. (There's an example Jupiter notebook somewhere).

Hi, I'm facing the same issue was it resolved? @vkirkl @alans-alaska , how do I access the tiled version?

Noting that retrying (see related issue #9) has been working for me.