Expired refresh token requires adapter restart

From time to time, I'm getting the following log
Error on device update (2319): Response code 400 (Bad Request) (Refresh Token has expired)

When that happens, the only way to regain cloud control is to restart the adapter, which is inconvenient. Is it possible to automatically obtain the refresh token, using the username & password?

In theory the tokens are 10 years valid ... so seems that Dakin manually expre them from time to time ... whyever ... WIll look into it

In my case, it happens every few weeks.

I have the same issue. Happens every few weeks.
I temporarily solved it with a script that checks every 5 minutes if the last update received is older than 30 minutes and if so restarts the adapter. Would be nice however if that wasn't necessary.

i have the same issue and these everyday. The strange thing is that one indoor unit can still be controlled, but the other cannot.

Same issue here and also every few weeks..

What makes it even worse is that given the log shows the following
60e3f6a7-de7c-4ec3-b96a-8b5836938ab4: Error on device update (22365): Response code 400 (Bad Request) (Refresh Token has expired)

the cloudConnected and connection objects still report true, so the monitoring fails.

Hello. Any updates here?

Hallo, ich hatte den Fehler gerade auch wieder.
Wäre toll wenn dies behoben werden könnte ;)
Hello, I just got the same error again.
Would be great if this could be fixed ;)
Gruß, Frank

Yes I will do when I find time for it

Github version hat das gefixt ... wie kriegt man das ggf getestet? ;-) oder erst nach release?

Since the last IOBroker JS-Controller update, you have experienced an issue that has become more pronounced. After restarting the adapter, it works for a very short time. However, after approximately 10 minutes, the error reoccurs:
After the adapter restart:
Initialize device 247a0f9d-cb71-4e46-8d8b-1ecd96c5f0cb: connected true, lastUpdated Tue Sep 19 2023 11:47:52 GMT+0200 (Central European Summer Time)
Then after some time, only the following error messages appear:
64760bb7-322e-43ae-ba82-81bfc9098a91: Error on device update (137): Response code 400 (Bad Request) (Missing required parameter auth parameters.)
I’m not sure if reinstalling the adapter will help, but I understand that you rely on it.

I have now installed the adapter again as another instance.

Maybe it will help with the analysis

Please check again with current Beta version ... and then a fiull log would help ... in fact it is ok when the "error 400" happens once every some hours but should then no longer happen

Where can i Download the latest Beta. I have changed the repository in ioBroker to Beta Channel but there is no daikin Beta Adapter. Here in the GitHub i can See only the stable Version.

Ok, I found beta version 0.3.1 and installed it. I'll test this now and report whether it works.

Over night this problem happended again also with version v0.3.0
Here is the warning the adapter is sending to the log:
daikin-cloud.0 2023-11-09 06:16:58.164	warn	: Error on device update (1087): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:16:39.485	warn	: Error on device update (1113): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:16:07.812	warn	: Error on device update (1087): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:15:59.669	warn	: Error on device update (1138): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:15:56.584	warn	: Error on device update (1086): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:15:37.938	warn	: Error on device update (1112): Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 2023-11-09 06:15:06.783	warn	: Error on device update (1086): Response code 400 (Bad Request) (Refresh Token has expired)
The problem persisted at least for 10 hours.
To resolve it I restarted the daikin adapter which fixed the token problem right away.
See log below:
daikin-cloud.0 | 2023-11-09 06:19:50.966 | info | Initialize 4 Daikin devices
daikin-cloud.0 | 2023-11-09 06:19:50.260 | info | starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.daikin-cloud, node: v18.17.1, js-controller: 5.0.12
daikin-cloud.0 | 2023-11-09 06:19:44.025 | info | terminating
daikin-cloud.0 | 2023-11-09 06:19:43.524 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
daikin-cloud.0 | 2023-11-09 06:19:43.522 | info | terminating
daikin-cloud.0 | 2023-11-09 06:19:43.521 | info | Got terminate signal TERMINATE_YOURSELF
daikin-cloud.0 | 2023-11-09 06:19:43.498 | info | Login successful. Adapter should restart soon ...
daikin-cloud.0 | 2023-11-09 06:19:43.497 | info | Daikin token updated in adapter configuration ... restarting adapter in 1s...
daikin-cloud.0 | 2023-11-09 06:19:43.497 | info | Daikin-Cloud tokens updated ...
daikin-cloud.0 | 2023-11-09 06:19:39.596 | info | Login to Daikin Cloud with
daikin-cloud.0 | 2023-11-09 06:19:39.585 | info | Token seems to be invalid, try automatic re-login ...
daikin-cloud.0 | 2023-11-09 06:19:39.584 | warn | Error on Daikin Cloud communication: Response code 400 (Bad Request) (Refresh Token has expired)
daikin-cloud.0 | 2023-11-09 06:19:37.990 | info | starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.daikin-cloud, node: v18.17.1, js-controller: 5.0.12


Log from ably-ios client in an inconsistent state

See https://support.ably.io/helpdesk/attachments/3033171398 (@ricardopereira if you don't have access to that, let me know and I'll send it to you).
So as far as I can tell: the lib must be in the connected state as that's the only state in which an attach will reach the ARTRealtime sending action 10 - Attach stage. However, there's no response from Ably -- and more tellingly, no ARTRealtime heartbeat received messages, which indicates that it doesn't actually have an active connection, despite thinking it's connected.
@ricardopereira is that analysis correct? If so, then we really really need to prioritise https://github.com/ably/ably-ios/issues/638 , this is a really bad failure mode for the lib.
(couple other comments: (1) channel logs (state transitions etc) would be a lot more useful if they contained the channel name -- log above contains two channels, and the logs are annoying to analyse as a result. (2) channel log for the transition to suspended is printed twice for each channel; that may indicate a bug)

@ricardopereira is that analysis correct?

It makes sense to me. The attach checks if the connection is active but for some reason it could  be in a bad state (maybe because of this flag).
Lets tackle #638 for now and I will have in mind the remaining comments. Thanks.

Hi @ricardopereira, could you provide an estimate when #638 may be implemented and released? This issue has affected several of our most active users (even though it's very difficult to reproduce locally). Thanks!

@johnpeb I'll try to release a version tomorrow. I'll let you know when #638 is out. Thank you.

@ricardopereira  great to hear! Thanks!

Idle timeout has been implemented in #660.

@johnpeb Sorry for the late reply. We did a couple of changes and I just want to run a few more tests before releasing a version. I'll let you know when it's done. Thank you.

The CI is still failing but I think it's almost done. Still some tests failing but I'm optimistic that tomorrow I can fix them all and release a version. Sorry for the waiting.

Great. We're looking forward to this release.

v1.0.10 has been released.
Thank you for your patience!

Thanks!


USB connection from piggui to porky

So far, I've been using a Raspberry Pi, or Pi Pico W for the GPIO control - and assuming Wifi access from the device for "remote control" from the GUI.
As the need for ocnfiguring the wifi of Pi Pico W came up, one idea was via USB from Piggui.
That made me think of this idea: to add USB between host (piggui) and Pico (porky) as an option in addition to network (tcp, iroh).
The advantages of this:

extends devices supported to those without Wifi (Pi Pico and others)
makes it easy to use (just plug in the device with USB) and need less or no config of the device
would enable us to config the wifi of the device if it has it, for later disconnected (via USB) use

Implemented, but stuggling to get working with correct host config to DHCP it...

Now going to try usb_raw sending commands back and fore....

Might need to document (per host platform) how to setup and use the DHCP server to ip on usb
http://www.jacquesf.com/2011/04/mac-os-x-dhcp-server/

This PR implements detection of a proky connected to a piggui by USB using usb-raw: https://github.com/andrewdavidmackenzie/pigg/pull/597

Now I need to figure out:

add exposing to piggui the wifi details of the connected device, and the wifi connection status.
how to expose that USB device in the UI, and allow editing of Wifi details and sending to device
how to have the device accept and store wifi connection details, and maybe use immediately.
updating the wifi connection status so that the host knows it was able to connect.


Return validator addresses in staking entities

Summary
As it is not possible to always return the current value for exit requests, we will not show the number of validators exiting in the transaction list of the UI. For individual validators, it's then possible to see their respective balances on the beacon chain explorer.
This returns the validators under a new validators property for all staking entities (apart from pre-executed deposits).
Changes

Add validators property to:

Confirmation view: exit requests and withdrawals
Transaction info: deposits (after execution), exit requests and withdrawals

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

11 of 11 (100.0%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 90.84%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
54.61%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.05%

Covered Lines:
8424

Relevant Lines:
8901

💛  - Coveralls


Set the function call counters to zero at startup

See https://github.com/autometrics-dev/autometrics-shared/pull/61

resolved in #73


Specify the IPHONEOS_DEPLOYMENT_TARGET to 8.0.

This allows older versions of Xcode that have otherwise compatible simulators installed to run a Flutter application.
cc @johnmccutchan


hope support out hls(m3u8)

Which version are you using?
v0.10
Which operating system are you using?
Linux
Enhancement request
hope support out hls(m3u8)
media server --->rtsp-simple-server,this server can out hls

Hi, this can be done with the help of some additional software:

Install ffmpeg

Start rtsp-simple-server with this configuration

paths:
  hls:
    runOnPublish: ffmpeg -re -i rtsp://localhost:8554/$RTSP_SERVER_PATH -c copy -f hls -hls_time 1 -hls_list_size 3 -hls_flags delete_segments -hls_allow_cache 0 hls/stream.m3u8

Serve the hls/ folder with an HTTP server.

Unfortunately i can't directly integrate these functionalities into the server, since HLS supports only H264 and AAC, while rtsp-simple-server must support also H265, Opus and a lot of codecs which are not compatible with HLS. That's the main difference between this server and the others.

I see. I'll run it the way you gave me
thank you so much

nice H265

an HLS example has been added to the readme.


External type links do not open the page in a new tab

I noticed that in the docs, links do not open the page in a new tab despite a little icon showing that you will be redirected to a new tab. I checked several articles, and it is the same problem with them.
After inspecting the Dev tools, there was a target="_blank" missing in links with data-linktype="external".
You can view the screenshot below.

@dostonnabotov
Thanks for your feedback! We will investigate and update as appropriate.


Tag a new release?

Hello.
We would like to know when the next release of infer is planned. Would it be possible for you to tag a new release?
infer 1.1.0 does not build with newest Xcode, and we would like to rebuild it in Homebrew.
See https://github.com/Homebrew/homebrew-core/pull/87904
I tried to apply a few patches that have been done, but these can not be applied atomically. I would like to avoid to have to build a new patch-set based on 1.1.0 to be able to rebuild infer.
Thanks in advance

It looks like they just stopped releasing versions?
@iMichka  Can we get a "release" for homebrew based on a specific commit hash?
brew install --HEAD infer doesn't work unfortunately :-(

@kohlschuetter no we only accept versioned packages with stables tags in Homebrew.
Getting a new tag out is nothing more than "git tag / git push".
If upstream does not want to tag their release, this might be because they are probably not ready to officially make a new release.

@iMichka Thanks for the fast reply! I understand your policy. Is there still a way to add support for --HEAD? That way, we could make the formula work in principle (and perhaps fix it for 1.1.0 independently).
Once a new version is released, instead of getting into motion only then, making that version available in Homebrew should be pretty easy...

I think the Homebrew maintainers will probably not invest much more time in fixing this.
Look at the download counts:
==> Analytics
install: 0 (30 days), 0 (90 days), 0 (365 days)
install-on-request: 0 (30 days), 0 (90 days), 0 (365 days)
build-error: 0 (30 days)
Also, we disabled the formula on 2022-12-30 because it does not build anymore (we still have macOS Big Sur bottles, but nothing since then). This means that infer is due to be removed from homebrew soon.

@iMichka Are these statistics accounting for the error message "infer has been disabled because it does not build!" ?

infer has been broken on Homebrew since at least https://github.com/Homebrew/homebrew-core/pull/87904, which was in October 2021 .. that was 2 and half year ago. The package went through our standard deprecation process, which is now in it's end phase.
It's likely that the 0 download count is due to the fact that the package is disabled (I need to check Homebrew's code if we still record installation attempts). Nevertheless, this does not change much to the fact that if there is no new release, the package will get removed from Homebrew soon.

For anyone eager to try the latest code, I forked the repo then released one thanks to github action https://github.com/csmoe/infer/releases/tag/v1.2.0


Rgbd mapper and integrator parameters for the Intel realsense cameras

Hi @helenol,
From your experience using the Intel realsense cameras in indoor environments, just wondering if you may be able to help elaborate on the following rgbd mapper parameters, which I am trying to tune to get the best possible results using the D455/D435 cameras to compare with the Sun3D dataset.
Parameter | value | Remarks

voxel size |  0.05 | The size of the tsdf voxels
max_integration_distance | 4.0 | Max distance in the depth frame in meter; parameter is defined in projective_integrator_base.h
truncation_distance_vox | 4.0 | Truncation distance for the TSDF; (In the paper it is set to 4*v)
integrator max weight | 1e4 | The upper limit for the weight assigned to a voxel
integrator min weight | 1e-4 | the lower limit for the weight assigned to  a voxel
weld vertices are set to false.

In addition to the integrator parameter, I have used the following:

esdf is set to false and only updating mesh using converter_.meshMessageFromMeshBlocks(). therefore slice height and min/max height is not used.

Where possible, I have looked into the source code and the readme files but another look or more explanation would be greatly appreciated. The example provided using the Sun3D dataset using Asus Xiton Pro seems to produce better results than the realsense and I am not sure why this is the case. Note that the depth image encoding is 16UC1 from the realsense sensor and therefore the converter performs the division. Thanks in advance.

The quality of the map depends on the quality of the input depth maps. Do you have the projector enabled on your realsense.
We will release example launchfiles and code for building reconstructions from a realsense camera in the next couple of weeks. We're in the final stages of preparing this.
It's not ideal to have to wait a couple of weeks, however, but once we release this I think it will be easier to talk about an example application we're both running.

Our realsense example is now live. Let us know if you find it useful

Thanks, @alexmillane. Question about the realsense splitter node. Emitter is enabled for the depth image (https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/2c6686676a758b16677b7a143a018a4e29630db3/nvblox_examples/realsense_splitter/src/realsense_splitter_node.cpp#L136), but emitter is off for the localisation (https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/2c6686676a758b16677b7a143a018a4e29630db3/nvblox_examples/realsense_splitter/src/realsense_splitter_node.cpp#L120). If emitter is enabled, infra1/2 from the splitter will not publish? Which means, the pose is not available (https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/2c6686676a758b16677b7a143a018a4e29630db3/nvblox_examples/nvblox_examples_bringup/launch/nvblox_vslam_realsense.launch.py#L91).
Thanks in advance for your help.

@alexmillane or @helenol do you have any updates on this?

Our example configures the realsense to turn the emitter on and off on alternating frames. Half of the frames for to VSLAM (emitter off) and half go to nvblox (emitter on). Using this setup nvblox and VSLAM are able to run simultaneously :).

Please close this issue. Thanks.


How to Use This as this looks very complex as compare to previous version

Hi Tarun,
Greetings from my side. Hope you are doing well.
Actually in previous version we just call the excelexportjs function with containerd ID and other attributes and it works perfectly but here i am not getting why you define column and row data in readme file so can you please help me how can i use this javascript file to export my table with some id.
Please revert me back as this is on higher priority for me.
Thanks Tarun.
I look forward to hear form you.
Kapil
<EMAIL_ADDRESS>

Hi Kapil,
If you wish to use the previous version, please use the following link to download the code,
https://github.com/tarunbatta/excelexportjs/tree/3.0.1
Unfortunately, I would not be adding features or fixing issues to 3.0.1 tag, since it was using data URI feature of browser, so it had its fair share of limitations. But if you wish to enhance it, please feel free to fork it.
Based on the feedback from the community, I have already added the asked features on the 4.x version.
In the sample code in Readme file, we are defining columns and its respective schema. Further json array data is set to row data, along with any styling (if required).
If you are facing any issues with with 4.x version, please feel free to share your sample code on JsFiddle along with detailed issue. I will definitely, look into that.
Regards
Tarun

Hi Tarun,
Thanks for your detailed response and giving time.
Actually being a software engineer i totally understand your concern that you released latest version which overcome multiple problems and works more effectively.
Actually thing is in my case i can't fix the table schema because data is coming on HTML from one tool and that is dynamic so we can't define data and in earlier version we only define table id and rest is done by your JS file including spanning , colors etc. everything.
So my concern is Can i use this version just by using Table ID again like in previous way ? And if it looks not possible then i have 2-3 problems related with previous version and if you can help me through them it would be great help from your side.
I look forward to hearing from you.
Thanks Tarun.
Kapil

Hi Kapil,
Based on your requirement, I have added the feature to convert html table to exportexcel dataset object. Please use 4.0.3 version, and there is a sample example in the readme as well.
This feature though, comes with a limitation, that all cell types will be considered as string. I haven't thoroughly tested it, but I have a feeling it will work for your case.
In case you face any issues, please let me know.
Regards
Tarun


script works without errors but no viewers

`root@container3:/opt/viewerbot2# python twitch-viewer.py channel
Obtaining the channel...

Prepared the processes
Booting up the processes...
Sent HEAD request with <IP_ADDRESS>:8080
Sent HEAD request with <IP_ADDRESS>:8080
Sent HEAD request with <IP_ADDRESS>:53281
Sent HEAD request with <IP_ADDRESS>:8080
`
Script is sending HEAD requests,
thats all what happen. Still after 10 minutes no raising viewercount.
Is there something else to setup?

How did you make it work?
Mine stays in
"Preparing the processes ...
An error has occurred while trying to get the stream data. Is the channel online? Is the channel name correct? "

had issues with the code. livestreamer --json  (-j)  doesn't return any value.
i use ubuntu, streamlink and mixer: https://pastebin.com/66D8b5vK
command i use: pthon twitch-viewer.py channelname
i believe that there is still something to be set on the client that nobody tells you. no matter which python code you find on the internet. I've gone through every documentary on the used modules. or something in the code is left out to despair.

You have discord?

You have discord?
https://discord.gg/7f7nfZ


Is there a way to use autocomplete and autoclose features with language-babel syntax?

Title pretty self explanatory.
For some reason I prefer the babel syntax but I don't wanna be without the autocomplete and close features.

+1

+1


PUT /users with empty email - bug?

Hey,
I have a default config with 1.5.0pre with a user model:
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :token_authenticatable
When I visit a users :edit page, and clean the email address input field, click on update I receive a "email - can't be blank', the user is updated anyway and the email is blank.
It maybe I am doing something wrong here. I encountered this behavior with 1.4.5, updated to 1.5.0rc1 and still have this issue. Can anyone confirm that?
Sure it can be solved by a manual validation of the email. But is that an intended behavior?
Regards
J.

Hi @janroesner
I created a sample application here https://github.com/rodrigoflores/devise-pre-test that tries to reproduce this bug. I've also pushed the log file:
Take a look at line https://github.com/rodrigoflores/devise-pre-test/blob/master/log/development.log#L343 and https://github.com/rodrigoflores/devise-pre-test/blob/master/log/development.log#L377 . The first one tries to input another valid e-mail and the change occurs on the database. The other one tries to send a blank e-mail, the update_attributes detect that this is not valid and does not updates the database.
Please, take a look at https://github.com/rodrigoflores/devise-pre-test and see if I reproduced the scenario you mentioned.  If it not reproduces, please answer this issue, and I will reopen it.
Thanks


undo or rollback to specific version

Hello,
How can I undo or rollback to a specific version again in schemachange. What is the command for it ?

There is not a indo or rollback built into schema change.
On Fri, Feb 24, 2023, 5:54 AM MallikarjunGattupally <
@.***> wrote:

Hello,
How can I undo or rollback to a specific version again in schemachange.
What is the command for it ?
—
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/schemachange/issues/160, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCRZ5JLIMFF6ASOHN4GLKLWZCHPVANCNFSM6AAAAAAVGYD3ZY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Duplicate of https://github.com/Snowflake-Labs/schemachange/issues/19.


Losing player must serve on match point

Wikipedia states "Upon the possible last point of the match, the player with the lesser score serves.". This isn't accounted for.

I can't find any reference to this rule in the ITTF handbook, so I'm closing this.


[AutoPR cdn/resource-manager] Add rulesEngine support to CDN

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5850

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4759


Range number slider & select not refreshed after adding row

I will try to make a jsfiddle exemple the scenario is

External filter with range number slider.
First i have a datatable with only 1 value, my range slider put this value on min and max range slider.
If i trigger an external filter, with that range slider, all my data are filtered.

Next i populate my datatable with new value, the range slider dont bring those value.
I try to change using range number, and now yadcf working nice.

try adding range slider, but dont work?, but same effect on select  => value are well initialized on load table, but adding a row dont update filter value (not in this fiddle but on select2 filter, values are well updated)
http://jsbin.com/sodibi/3/edit?html,css,js,console,output

No issues with select filter being updated, see working jsbin
but there indeed an issue with the slider...

fixed in 0.9.0.beta.17,
see sample


GRPC C# SSL Server with Windows certificate store

Is there any way for GRPC to use Windows Certificate Store when configuring ServerPort with SslServerCredentials? The current API documentation only shows how to pass KeyCertificatePair value.
Martin

That option currently doesn't exist. Can you tell us more about your use case?

The use case is pretty simple: I have a C# GRPC Server which makes use of the bidirectional streaming rpc calls using grpc c# library. Typically, in enterprise Windows environment, the certificates and public keys on production servers are stored in Windows certificate store. I would like for my application to be able to make use of that instead of forcing the enterprise to add another channel for certificate management (file-based PEM encoded cert/key pairs) considering export option of the private key are usually limited or impossible.

I see. I think this feature would be useful, but I am not sure it can be achieved easily enough. We basically need a piece of C code that loads a certificate from win cert store and converts it to a PEM format (that's the format accepted by https://github.com/grpc/grpc/blob/b62bffbea5eef106bfbe644e8af161889c927401/include/grpc/grpc_security.h#L325)

Not sure why you would need C code to perform that conversion. If you are writing a C# application you could generate such a file on the fly using the following, taken from http://stackoverflow.com/questions/4739407/exporting-a-certificate-as-base-64-encoded-cer and placed here case the original post is removed.
/// <summary>
/// Export a certificate to a PEM format string
/// </summary>
/// <param name="cert">The certificate to export</param>
/// <returns>A PEM encoded string</returns>
public static string ExportToPEM(X509Certificate cert)
{
    StringBuilder builder = new StringBuilder();

    builder.AppendLine("-----BEGIN CERTIFICATE-----");
    builder.AppendLine(Convert.ToBase64String(cert.Export(X509ContentType.Cert), Base64FormattingOptions.InsertLineBreaks));
    builder.AppendLine("-----END CERTIFICATE-----");

    return builder.ToString();
}

I never suggested this to be done in C code. I indeed export those certs and keypairs on the fly as you suggested. However wouldn't it be better for this to be available directly in the C# wrapper?

You actually don't need to create a file. you can create an instance of SslCredentials from an PEM formatted string:
https://github.com/grpc/grpc/blob/b19e30430df8b6cc6fc227ceed68d1ce419b040e/src/csharp/Grpc.Core/ChannelCredentials.cs#L119
Feel free to come up with a pull request.

My comment regarding C code was aimed at jtattermusch, not at mrapavy. Yes, agreed, a string return value is better, the code above has been revised accordingly.

This may be off topic, but it seems similar.  I have a server set up which is serving traffic secured by a Certificate.  Every example I have seen on consuming a service like that, essentially requires the client to supply the Root CA when constructing the Channel.  Is there a way to have the channel negotiate which chain to use based on the certificate chain the server sends back?
It doesn't seem very practical to make the developer supply the Root CA to use when constructing the channel.  If the Channel could negotiate and validate the certificate based on the Windows Certificate store that would be ideal.

@jmblakl You need to read up on public key infrastructure. The root CA that is set up on the client is a bare necessity and a result of an out-of-band agreement. There is no way for the channel to negotiate certificates chains in-band, because the underlying medium is assumed to be insecure.
As an example, if the server sends back a certificate and the client has not set up a root CA allowing verification of said certificate, then there is no way for the client to distinguish between the certificate that the server actually sent and a replacement certificate placed on the channel by an adversary.
The developer does not need to "supply" the root CA, unless the developer is tasked with setting up the public key infrastructure. The developer only needs to point the gRPC client to the existing root CAs in the Windows certificate store, tapping into the existing infrastructure, which this issue (#8978) shows how to do.

I understand that it doesn't supply the chain in the sense that the client
trusts implicitly whatever the server sends.  It does however send the
chain that it is using so that the client can validate if it's a trusted
root.   In a Windows environment that happens by supplying a chain that is
already installed in the windows certificate store (specifically a chain
rooted in a certificate that is installed in the root ca store with any
intermediary certs installed appropriately).   When I go to
https://www.google.com I dont need to manually supply Google's root ca to
validate the chain...The browser uses the windows certificate store to
validate whatever the server sends back.   As a developer it would be nice
for the client libraries to be able to automatically validate a certificate
based on what's in the certificate store , rather than to say "only
validate the server based on a specific ca that I manually provide in the
constructor to the channel"
Am I still missing something....That is very possible.
On Fri, Mar 17, 2017, 11:32 AM NGNeer<EMAIL_ADDRESS>wrote:

@jmblakl https://github.com/jmblakl You need to read up on public key
infrastructure. The root CA that is set up on the client is a bare
necessity and a result of an out-of-band agreement. There is no way for the
channel to negotiate certificates chains in-band, because the underlying
medium is assumed to be insecure.
As an example, if the server sends back a certificate and the client has
not set up a root CA allowing verification of said certificate, then there
is no way for the client to distinguish between the certificate that the
server actually sent and a replacement certificate placed on the channel by
an adversary.
The developer does not need to "supply" the root CA, unless the developer
is tasked with setting up the public key infrastructure. The developer only
needs to point the gRPC client to the existing root CAs in the Windows
certificate store, tapping into the existing infrastructure, which this
issue (#8978 https://github.com/grpc/grpc/issues/8978) shows how to do.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/8978#issuecomment-287404284, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADr4gK7qFURCo4Rl6ZlHo-11DVELAYk7ks5rmrWSgaJpZM4LFhAO
.

--
Justin Blakley

Thanks, I am clear now on how to accomplish this.

Ah. Sorry, it was me who misunderstood the question. You are asking why the Windows store cannot be relied upon by default, and why the developer needs to configure gRPC client trust. I agree that it is a sensible default, and would point out that the code above allows you to implement such a default. At the same time, note that the configurability of the channel is actually a feature, allowing the developer to define a client that is detached from any existing public key infrastructure. Also note that gRPC supports multiple platforms, and does not necessarily run on Windows. This is not an answer, just observation.

ha we just traded comments.  I agree the above example will work, so i can use that now.  but it would be a sensible alternative to point client libraries at the win store directly

:)

This issue has been open for a while and I believe we're reached a state where it it possible to:

workaround the missing support by using the code snippets above (constructing SslCredentials/SslServerCredentials from X509Certificate obtained from win certificate store)
make it reasonably easy to come up with a pull request that adds said functionality. I'll leave that to the community - please contribute if you need this feature.

Marking this issue as "help wanted" and closing.


How can I create register form?

Laravel Version: 5.4.*
PHP Version: >= 5.6.4
Laravel-admin: 1.4.*

Description:
How can I create register form?

Did you find out how?


Improve multiple login behaviour when not using a VPN (Throttling)

Thread for discussion.
If you login too many times on a single IP address then ArenaNet will slow-down access and eventually block the IP
There is logic and settings to slow things down and help prevent this however it is not well documented on how this works and the approach needs testing.
My intention is to improve the approach so it is easier to understand and has reasonable defaults
Some of the assumptions and behaviour I have gathered from various sources:

ArenaNet's anti-botting measures tend to make dealing with more than 10 accounts difficult

There is a hard limit of 40 accounts from a single IP address, resets every 8 hours
Logging into many (>10? ) accounts on https://www.guildwars2.com/ may cause a lockout that takes 24 hours to clear
Logging into the game will become slower after multiple (>10?) accounts and may block entirely
Waiting a few minutes (5?) will help

GW2-Alternator tries to counter this by slowing down the login attempts after a failure (throttling)
However the delay required depends on the past login history and is difficult to guess
There are tuning parameters in Settings to help adjust this:

this means:
1-12 accounts have a 0s delay
13-24 accounts have a 30s delay
25-40 accounts have a 45s delay
above that it is set to band3 + 60s
If a login fails then the delay is set to
40 + 20 * ConsecutiveFailCount

I'm not sure if it is helping to extend the time between the Logins to avoid the IP Block. I think it is more working like 20 Accounts in 4-5 Hours, then you can begin again... so this is what i have noticed.
In the last Weeks i did ~20 Accounts in the Morning (arround 8-9 AM) and waited until 1-2 PM and did one more 20 Accounts and waited till 9-10 PM and 20 Accounts again. This worked without any Problems in the last Weeks/Months. But i believe there is a maximum of Accounts in a given Timewindow of 4-5h. I don't know if you can expand it to more Accounts in this Timewindow by wait more between the Logins... but of course i can try it.. So i could increase the Band times to test it?

@Caliban2017 Do you have the 'Force Serial' option checked? I don't use a VPN and I'm able to run the logins with no issues. It takes ~15min to run through all 37 of my accounts with the Force Serial option enabled.

Yes, i use always the Serial Function, because without it triggers the IP Ban much faster. I played now a little bit with the Band Times and it seems i had success. I raised Band 1 to 10/15s, Band 2 24/45s and Band 3 40/45s. It took a bit longer but in run trough without IP Ban this time, but i only had 2-3 failed Logins. Maybe this is not helping anymore, when more Logins are failing. But it seems tuning is helping here to avoid the IP Ban. I don't know why the Credentials are always missing, a friend told me he does not have this Problem. Maybe the Accounts itself got flagged or something? It is so random which Accounts lose their Data...

Interesting we are trying to guess the strategy that the login servers use, so the more information the better.

Here is my non-VPN login with 30/45/45 delays, it is quite slow and there are still failures but no IP lockouts or manual intervention
Started	2023-04-26	08:32:08	?	1.0.35
Total Time	2079.6068866	s
Attempts\Fails	42	6	1.167
Account	Start	Authenticate	Login	Enter	Exit
Fish2	0.5645259	4.0717581	15.9526548	1.0952104
Hugo	31.9599961	3.9693248	16.0300738	1.0825802
Fish3	63.346761	4.3197195	13.764878	1.1772868
Sophia	94.6815432	3.9266256	15.5611374	1.0866285
Fish20<PHONE_NUMBER>	4.2693487	13.6451305	1.1858822
Fish22<PHONE_NUMBER>			40.0328693
Fish21	199.473917	4.2845976	13.8097557	1.0676096
Fish23<PHONE_NUMBER>	4.2651099		63.2133332
Fish22<PHONE_NUMBER>	3.9544061	13.6811935	1.094332
Fish23<PHONE_NUMBER>	3.7349993	13.4198636	1.5773157
Fish4<PHONE_NUMBER>	4.3293977	13.4393526	1.1946862
Fish6<PHONE_NUMBER>	5.2929789	10.9720576	1.1538405
Fish5<PHONE_NUMBER>	4.1984855	15.4655662	1.3015811
Fish7<PHONE_NUMBER>	5.3171121	13.243625	1.1358505
Fish8<PHONE_NUMBER>	4.1863782	15.9652722	1.1452927
Fish9<PHONE_NUMBER>	5.2150009	11.1114195	1.1234543
Fish13<PHONE_NUMBER>	4.0755276	13.6466087	1.1247819
Fish12<PHONE_NUMBER>	4.3817845	15.4900811	1.2432463
Fish10<PHONE_NUMBER>	4.3216267	15.2560519	1.3721099
Fish14<PHONE_NUMBER>	4.1441056	12.8828747	1.1513512
Fish15<PHONE_NUMBER>	4.0512011	13.4977646	1.1452472
Fish11	889.408798	4.2551798	14.2024886	1.1519992
Fish16<PHONE_NUMBER>	4.1549628	15.8239112	1.1478114
Fish17<PHONE_NUMBER>	4.1968574	19.8352447	1.1384964
Fish25	1028.5903761	39.4174184		37.0543441
Fish24	1107.1521175	4.3962123	19.4361323	1.088958
Fish18	1153.8781417	4.1626063	22.5853469	1.1404079
Fish26	1200.2688793	4.4924461	24.8487257	1.1236152
Fish19	1246.6888401	15.3932675	13.2452682	1.1235081
Fish28	1293.1251947	4.3025876	26.2727147	1.1100865
Fish27	1339.5721801	4.3944066	29.1919927	1.1259789
Fish29	1385.896253			40.2863725
Fish31	1432.2924114	4.1008805	28.1830109	1.0861051
Fish29	1478.8465791	4.2075937	30.8834261	1.1140409
Fish30	1525.2037328	4.2619839	30.9189936	1.09123
Fish25	1571.5362077	4.0211322	32.8956089	1.0953746
Fish32	1617.972281	4.9682107		87.3887314
Fish33	1712.4413728	16.5083713	22.7201161	1.1747165
Fish34	1773.9942764	7.515915	35.0585549	1.1213196
Fish35	1820.380395	3.9443961		35.8752538
Fish35	1926.6410114	3.7323673	38.6378553	1.1117311
Fish32	2033.0780289	4.028063	39.3056685	1.1108463

New release with improved Throttle logging https://github.com/SamMackrill/gw2-alternator/releases/tag/V1.0.34
Have a look at the gw2-alternator-launch-Login-log.txt
2023-04-26 09:48:30.8758|Fish17 Started Login process=24836
2023-04-26 09:48:31.0903|Fish17 Change State to Started because Normal Start
2023-04-26 09:48:31.0903|Fish17 KillMutex: WaitForInputIdle on process=24836
2023-04-26 09:48:31.9196|Fish17 Killed Mutex
2023-04-26 09:48:32.1250|Fish17 Release Login
2023-04-26 09:48:32.1483|Fish17 LoginDone Login
2023-04-26 09:48:32.1735|Fish17 login semaphore released, count=1
2023-04-26 09:48:32.2220|Fish17 Authentication No VPN release delay=45s because Band 3 (count=24)
2023-04-26 09:48:32.2220|Fish17 Authentication Throttle set: 45s because Band 3 (count=24)
2023-04-26 09:48:34.6393|Fish17 Change State to ReadyToLogin because Module umpdc.dll loaded
2023-04-26 09:48:35.0659|Fish17 Change State to ReadyToPlay because Memory(kB) 488 > 200
2023-04-26 09:48:41.9975|Fish17 Change State to Playing because Module d3d11.dll loaded
2023-04-26 09:48:48.4731|Fish17 Change State to CharacterSelection because Memory(MB) 549 > 500
2023-04-26 09:48:54.9007|Fish17 Change State to CharacterSelected because Memory(MB) 769 > 600
2023-04-26 09:48:55.7110|Fish17 Kill GW2 process=24836
2023-04-26 09:48:56.0316|Fish17 Change State to Exited because Process.Exit event
2023-04-26 09:48:56.0316|Fish17 GW2 process exited because Success

I tested the 1.0.34 but it will still not work correct for me. I still experience Errors while starting the Game. I tested now 25 other Accounts with the higher Thresholds but with that many Errors that occours, it is a veeeery long process, takes about 1 hour for these 25 Accounts, because the Throttle gets higher and higher (over 100 Seconds).
When the Error comes, the Game starts, login and the Game is loading and then it closes and instant it restarts again, but does not Login. The Login button get not pressed automatically. Some of my Accounts at Attemp 5 or Higher, because of so many Erros. Of course the IP Ban get triggered much faster. This is really not usable, sadly it is easier to fill in all missing Login Credentials manually and use the old Thresholds. Here again a Log of a failed Login (not missing Credentials, it just not login into the Game):
2023-04-26 14:21:26.9758|RunStatus: Running
2023-04-26 14:21:26.9758|Started Login process=12468
2023-04-26 14:21:27.1964|Change State to Started because Normal Start
2023-04-26 14:21:27.1964|RunStage: Started
2023-04-26 14:21:27.1964|lastStageMemoryUsage set: 23.168kB
2023-04-26 14:21:27.1964|Status changed from NotRun to Started
2023-04-26 14:21:27.1964|KillMutex: WaitForInputIdle on process=12468
2023-04-26 14:21:27.6450|KillMutex: Delay
2023-04-26 14:21:27.8531|KillMutex: GetHandle
2023-04-26 14:21:27.8724|Got handle to Mutex
2023-04-26 14:21:27.8724|Killed Mutex
2023-04-26 14:21:28.0881|Release Login
2023-04-26 14:21:28.0881|login semaphore released, count=0
2023-04-26 14:21:28.0881|Authentication Throttle set: 45s because Band 3 (count=38)
2023-04-26 14:21:28.0881|Memory(kB) current=173.168 last=23.168 Δ=150.000
2023-04-26 14:21:28.0881|Stage(kB)  current=173.168 last=23.168 Δ=150.000
2023-04-26 14:21:28.0881|Module: gw2-64.exe
2023-04-26 14:21:28.0881|Module: ntdll.dll
2023-04-26 14:21:28.0881|Module: kernel32.dll
2023-04-26 14:21:28.0881|Module: kernelbase.dll
2023-04-26 14:21:28.0881|Module: apphelp.dll
2023-04-26 14:21:28.0881|Module: aclayers.dll
2023-04-26 14:21:28.0881|Module: msvcrt.dll
2023-04-26 14:21:28.0881|Module: shlwapi.dll
2023-04-26 14:21:28.0881|Module: sortwindows61.dll
2023-04-26 14:21:28.0881|Module: user32.dll
2023-04-26 14:21:28.0881|Module: win32u.dll
2023-04-26 14:21:28.0881|Module: gdi32.dll
2023-04-26 14:21:28.0881|Module: gdi32full.dll
2023-04-26 14:21:28.0881|Module: msvcp_win.dll
2023-04-26 14:21:28.0881|Module: ucrtbase.dll
2023-04-26 14:21:28.0881|Module: advapi32.dll
2023-04-26 14:21:28.0881|Module: sechost.dll
2023-04-26 14:21:28.0881|Module: rpcrt4.dll
2023-04-26 14:21:28.0881|Module: ws2_32.dll
2023-04-26 14:21:28.0881|Module: version.dll
2023-04-26 14:21:28.0881|Module: wintrust.dll
2023-04-26 14:21:28.0881|Module: wtsapi32.dll
2023-04-26 14:21:28.0881|Module: winmm.dll
2023-04-26 14:21:28.0881|Module: ole32.dll
2023-04-26 14:21:28.0881|Module: combase.dll
2023-04-26 14:21:28.0881|Module: oleaut32.dll
2023-04-26 14:21:28.0881|Module: shell32.dll
2023-04-26 14:21:28.0881|Module: msacm32.dll
2023-04-26 14:21:28.0881|Module: crypt32.dll
2023-04-26 14:21:28.0881|Module: gdiplus.dll
2023-04-26 14:21:28.0881|Module: comctl32.dll
2023-04-26 14:21:28.0881|Module: usp10.dll
2023-04-26 14:21:28.0881|Module: msimg32.dll
2023-04-26 14:21:28.0881|Module: secur32.dll
2023-04-26 14:21:28.0881|Module: cryptbase.dll
2023-04-26 14:21:28.0881|Module: sspicli.dll
2023-04-26 14:21:28.0881|Module: imm32.dll
2023-04-26 14:21:28.0881|Module: msasn1.dll
2023-04-26 14:21:28.0881|Module: bcryptprimitives.dll
2023-04-26 14:21:28.0881|Module: dbghelp.dll
2023-04-26 14:21:28.0881|Module: windows.storage.dll
2023-04-26 14:21:28.0881|Module: wintypes.dll
2023-04-26 14:21:28.0881|Module: shcore.dll
2023-04-26 14:21:28.0881|Module: profapi.dll
2023-04-26 14:21:28.0881|Module: kernel.appcore.dll
2023-04-26 14:21:28.0881|Module: devobj.dll
2023-04-26 14:21:28.0881|Module: cfgmgr32.dll
2023-04-26 14:21:28.0881|Module: dxcore.dll
2023-04-26 14:21:28.0881|Module: uxtheme.dll
2023-04-26 14:21:28.0881|Module: cryptnet.dll
2023-04-26 14:21:28.0881|Module: imagehlp.dll
2023-04-26 14:21:28.0881|Module: cryptsp.dll
2023-04-26 14:21:28.0881|Module: rsaenh.dll
2023-04-26 14:21:28.0881|Module: bcrypt.dll
2023-04-26 14:21:28.0881|Module: drvstore.dll
2023-04-26 14:21:28.0881|Module: wldp.dll
2023-04-26 14:21:28.0881|Module: gpapi.dll
2023-04-26 14:21:28.0881|Module: clbcatq.dll
2023-04-26 14:21:28.0881|Module: ntmarta.dll
2023-04-26 14:21:28.0881|Module: napinsp.dll
2023-04-26 14:21:28.0881|Module: pnrpnsp.dll
2023-04-26 14:21:28.0881|Module: mswsock.dll
2023-04-26 14:21:28.0881|Module: dnsapi.dll
2023-04-26 14:21:28.0881|Module: iphlpapi.dll
2023-04-26 14:21:28.0881|Module: nsi.dll
2023-04-26 14:21:28.0881|Module: winrnr.dll
2023-04-26 14:21:28.0881|Module: wshbth.dll
2023-04-26 14:21:28.0881|Module: nlansp_c.dll
2023-04-26 14:21:28.0881|Module: fwpuclnt.dll
2023-04-26 14:21:28.0881|Module: rasadhlp.dll
2023-04-26 14:21:28.0881|Module: msctf.dll
2023-04-26 14:21:28.0881|Module: textinputframework.dll
2023-04-26 14:21:28.0881|Module: windowscodecs.dll
2023-04-26 14:21:28.0881|Module: textshaping.dll
2023-04-26 14:21:28.3119|Memory(kB) current=193.216 last=173.168 Δ=20.048
2023-04-26 14:21:28.3119|Stage(kB)  current=193.216 last=23.168 Δ=170.048
2023-04-26 14:21:28.7511|Memory(kB) current=238.964 last=145.720 Δ=93.244
2023-04-26 14:21:28.7511|Stage(kB)  current=238.964 last=23.168 Δ=215.796
2023-04-26 14:21:28.7653|Module: libcef.dll
2023-04-26 14:21:28.7653|Module: comdlg32.dll
2023-04-26 14:21:28.7653|Module: propsys.dll
2023-04-26 14:21:28.7653|Module: dxgi.dll
2023-04-26 14:21:28.7653|Module: uiautomationcore.dll
2023-04-26 14:21:28.7653|Module: oleacc.dll
2023-04-26 14:21:28.7653|Module: userenv.dll
2023-04-26 14:21:28.7653|Module: hid.dll
2023-04-26 14:21:28.7653|Module: netapi32.dll
2023-04-26 14:21:28.7653|Module: chrome_elf.dll
2023-04-26 14:21:28.7653|Module: dwrite.dll
2023-04-26 14:21:28.7653|Module: ncrypt.dll
2023-04-26 14:21:28.7653|Module: dwmapi.dll
2023-04-26 14:21:28.7653|Module: winspool.drv
2023-04-26 14:21:28.7653|Module: d3d9.dll
2023-04-26 14:21:28.7653|Module: dxva2.dll
2023-04-26 14:21:28.7653|Module: cryptui.dll
2023-04-26 14:21:28.7653|Module: urlmon.dll
2023-04-26 14:21:28.7653|Module: winhttp.dll
2023-04-26 14:21:28.7653|Module: credui.dll
2023-04-26 14:21:28.7653|Module: dhcpcsvc.dll
2023-04-26 14:21:28.7653|Module: wevtapi.dll
2023-04-26 14:21:28.7653|Module: wininet.dll
2023-04-26 14:21:28.7653|Module: esent.dll
2023-04-26 14:21:28.7653|Module: srvcli.dll
2023-04-26 14:21:28.7653|Module: iertutil.dll
2023-04-26 14:21:28.7653|Module: netutils.dll
2023-04-26 14:21:28.7653|Module: dsrole.dll
2023-04-26 14:21:28.7653|Module: wkscli.dll
2023-04-26 14:21:28.7653|Module: samcli.dll
2023-04-26 14:21:28.7653|Module: ntasn1.dll
2023-04-26 14:21:28.7653|Module: dpapi.dll
2023-04-26 14:21:28.7653|Module: dhcpcsvc6.dll
2023-04-26 14:21:28.7653|Module: textservice_x64.dll
2023-04-26 14:21:28.7653|Module: winsta.dll
2023-04-26 14:21:28.7653|Module: mmdevapi.dll
2023-04-26 14:21:28.7653|Module: mscms.dll
2023-04-26 14:21:28.7653|Module: dsreg.dll
2023-04-26 14:21:29.4106|Memory(kB) current=215.820 last=215.792 Δ=28
2023-04-26 14:21:29.4106|Stage(kB)  current=215.820 last=23.168 Δ=192.652
2023-04-26 14:21:29.6332|Memory(kB) current=215.912 last=215.820 Δ=92
2023-04-26 14:21:29.6332|Stage(kB)  current=215.912 last=23.168 Δ=192.744
2023-04-26 14:21:29.6332|Module: powrprof.dll
2023-04-26 14:21:29.6332|Module: umpdc.dll
2023-04-26 14:21:29.8530|Change State to ReadyToLogin because Module umpdc.dll loaded
2023-04-26 14:21:29.8530|RunStage: ReadyToLogin
2023-04-26 14:21:29.8530|lastStageMemoryUsage set: 215.912kB
2023-04-26 14:21:29.8530|Status changed from Started to ReadyToLogin
2023-04-26 14:21:29.8530|Send ENTER from ReadyToLogin
2023-04-26 14:21:30.0598|Memory(kB) current=217.656 last=215.912 Δ=1.744
2023-04-26 14:21:30.0598|Stage(kB)  current=217.656 last=215.912 Δ=1.744
2023-04-26 14:21:30.0598|ReadyToLogin Threshold(kB): 1.744>200
2023-04-26 14:21:30.2604|Change State to ReadyToPlay because Memory(kB) 1744 > 200
2023-04-26 14:21:30.2604|RunStage: ReadyToPlay
2023-04-26 14:21:30.2604|lastStageMemoryUsage set: 217.656kB
2023-04-26 14:21:30.2604|Status changed from ReadyToLogin to ReadyToPlay
2023-04-26 14:21:30.2604|Send ENTER from ReadyToPlay
2023-04-26 14:21:30.2768|Module: coremessaging.dll
2023-04-26 14:21:30.2768|Module: coreuicomponents.dll
2023-04-26 14:21:30.4846|Memory(kB) current=217.708 last=217.656 Δ=52
2023-04-26 14:21:30.4846|Stage(kB)  current=217.708 last=217.656 Δ=52
2023-04-26 14:21:31.1458|Memory(kB) current=217.656 last=217.632 Δ=24
2023-04-26 14:21:31.1458|Stage(kB)  current=217.656 last=217.656 Δ=0
2023-04-26 14:21:31.3653|Memory(kB) current=217.684 last=217.656 Δ=28
2023-04-26 14:21:31.3653|Stage(kB)  current=217.684 last=217.656 Δ=28
2023-04-26 14:21:31.5854|Memory(kB) current=217.708 last=217.684 Δ=24
2023-04-26 14:21:31.5854|Stage(kB)  current=217.708 last=217.656 Δ=52
2023-04-26 14:21:31.8059|Memory(kB) current=217.796 last=217.708 Δ=88
2023-04-26 14:21:31.8059|Stage(kB)  current=217.796 last=217.656 Δ=140
2023-04-26 14:21:32.0270|Memory(kB) current=217.840 last=217.796 Δ=44
2023-04-26 14:21:32.0270|Stage(kB)  current=217.840 last=217.656 Δ=184
2023-04-26 14:21:32.2461|Memory(kB) current=217.856 last=217.840 Δ=16
2023-04-26 14:21:32.2461|Stage(kB)  current=217.856 last=217.656 Δ=200
2023-04-26 14:21:32.4674|Memory(kB) current=217.900 last=217.856 Δ=44
2023-04-26 14:21:32.4674|Stage(kB)  current=217.900 last=217.656 Δ=244
2023-04-26 14:21:32.4674|Enter Request StageΔ 244kB
2023-04-26 14:21:32.4674|Send ENTER from engine
2023-04-26 14:21:32.9058|Memory(kB) current=217.776 last=217.728 Δ=48
2023-04-26 14:21:32.9058|Stage(kB)  current=217.776 last=217.656 Δ=120
2023-04-26 14:21:33.1265|Memory(kB) current=217.784 last=217.776 Δ=8
2023-04-26 14:21:33.1265|Stage(kB)  current=217.784 last=217.656 Δ=128
2023-04-26 14:21:33.3467|Memory(kB) current=217.816 last=217.784 Δ=32
2023-04-26 14:21:33.3467|Stage(kB)  current=217.816 last=217.656 Δ=160
2023-04-26 14:21:33.5657|Memory(kB) current=217.852 last=217.816 Δ=36
2023-04-26 14:21:33.5657|Stage(kB)  current=217.852 last=217.656 Δ=196
2023-04-26 14:21:34.0049|Memory(kB) current=217.152 last=217.072 Δ=80
2023-04-26 14:21:34.0049|Stage(kB)  current=217.152 last=217.656 Δ=-504
2023-04-26 14:21:34.2263|Memory(kB) current=217.176 last=217.152 Δ=24
2023-04-26 14:21:34.2263|Stage(kB)  current=217.176 last=217.656 Δ=-480
2023-04-26 14:21:34.6642|Enter Request StageΔ -480kB
2023-04-26 14:21:34.6642|Send ENTER from engine
2023-04-26 14:21:34.8861|Memory(kB) current=217.260 last=217.176 Δ=84
2023-04-26 14:21:34.8861|Stage(kB)  current=217.260 last=217.656 Δ=-396
2023-04-26 14:21:35.3272|Memory(kB) current=217.292 last=217.260 Δ=32
2023-04-26 14:21:35.3272|Stage(kB)  current=217.292 last=217.656 Δ=-364
2023-04-26 14:21:35.9878|Memory(kB) current=217.480 last=217.292 Δ=188
2023-04-26 14:21:35.9878|Stage(kB)  current=217.480 last=217.656 Δ=-176
2023-04-26 14:21:36.6445|Memory(kB) current=217.500 last=217.484 Δ=16
2023-04-26 14:21:36.6445|Stage(kB)  current=217.500 last=217.656 Δ=-156
2023-04-26 14:21:36.8645|Memory(kB) current=217.564 last=217.500 Δ=64
2023-04-26 14:21:36.8645|Stage(kB)  current=217.564 last=217.656 Δ=-92
2023-04-26 14:21:36.8645|Enter Request StageΔ -92kB
2023-04-26 14:21:36.8645|Send ENTER from engine
2023-04-26 14:21:37.7447|Memory(kB) current=217.884 last=217.568 Δ=316
2023-04-26 14:21:37.7447|Stage(kB)  current=217.884 last=217.656 Δ=228
2023-04-26 14:21:37.9649|Memory(kB) current=217.972 last=217.884 Δ=88
2023-04-26 14:21:37.9649|Stage(kB)  current=217.972 last=217.656 Δ=316
2023-04-26 14:21:38.4067|Memory(kB) current=218.076 last=217.972 Δ=104
2023-04-26 14:21:38.4067|Stage(kB)  current=218.076 last=217.656 Δ=420
2023-04-26 14:21:38.6284|Memory(kB) current=219.196 last=218.076 Δ=1.120
2023-04-26 14:21:38.6284|Stage(kB)  current=219.196 last=217.656 Δ=1.540
2023-04-26 14:21:39.0700|Enter Request StageΔ 1.540kB
2023-04-26 14:21:39.0700|Send ENTER from engine
2023-04-26 14:21:39.3060|Memory(kB) current=282.636 last=219.196 Δ=63.440
2023-04-26 14:21:39.3060|Stage(kB)  current=282.636 last=217.656 Δ=64.980
2023-04-26 14:21:39.3250|Module: amd_ags_x64.dll
2023-04-26 14:21:39.3250|Module: vcruntime140.dll
2023-04-26 14:21:39.3250|Module: nvapi64.dll
2023-04-26 14:21:39.3250|Module: setupapi.dll
2023-04-26 14:21:39.3250|Module: d3d11.dll
2023-04-26 14:21:39.3250|Module: directxdatabasehelper.dll
2023-04-26 14:21:39.3250|Module: nvldumdx.dll
2023-04-26 14:21:39.3250|Module: nvwgf2umx.dll
2023-04-26 14:21:39.3250|Module: dcomp.dll
2023-04-26 14:21:39.5401|Change State to Playing because Module d3d11.dll loaded
2023-04-26 14:21:39.5401|RunStage: Playing
2023-04-26 14:21:39.5401|lastStageMemoryUsage set: 457.580kB
2023-04-26 14:21:39.5401|Status changed from ReadyToPlay to Playing
2023-04-26 14:21:39.7475|Memory(kB) current=484.296 last=282.636 Δ=201.660
2023-04-26 14:21:39.7475|Stage(kB)  current=484.296 last=457.580 Δ=26.716
2023-04-26 14:21:39.7664|Module: winmmbase.dll
2023-04-26 14:21:39.7664|Module: wdmaud.drv
2023-04-26 14:21:39.7664|Module: ksuser.dll
2023-04-26 14:21:39.7664|Module: avrt.dll
2023-04-26 14:21:39.7664|Module: audioses.dll
2023-04-26 14:21:39.7664|Module: msacm32.drv
2023-04-26 14:21:39.7664|Module: midimap.dll
2023-04-26 14:21:39.7664|Module: resourcepolicyclient.dll
2023-04-26 14:21:39.9827|Memory(kB) current=490.596 last=484.296 Δ=6.300
2023-04-26 14:21:39.9827|Stage(kB)  current=490.596 last=457.580 Δ=33.016
2023-04-26 14:21:40.2179|Memory(kB) current=491.408 last=490.596 Δ=812
2023-04-26 14:21:40.2179|Stage(kB)  current=491.408 last=457.580 Δ=33.828
2023-04-26 14:21:40.4526|Memory(kB) current=501.460 last=491.408 Δ=10.052
2023-04-26 14:21:40.4526|Stage(kB)  current=501.460 last=457.580 Δ=43.880
2023-04-26 14:21:40.6751|Memory(kB) current=507.128 last=501.460 Δ=5.668
2023-04-26 14:21:40.6751|Stage(kB)  current=507.128 last=457.580 Δ=49.548
2023-04-26 14:21:40.9089|Memory(kB) current=508.172 last=507.128 Δ=1.044
2023-04-26 14:21:40.9089|Stage(kB)  current=508.172 last=457.580 Δ=50.592
2023-04-26 14:21:41.1310|Memory(kB) current=517.956 last=508.172 Δ=9.784
2023-04-26 14:21:41.1310|Stage(kB)  current=517.956 last=457.580 Δ=60.376
2023-04-26 14:21:41.1310|Enter Request StageΔ 60.376kB
2023-04-26 14:21:41.1310|Send ENTER from engine
2023-04-26 14:21:41.3648|Memory(kB) current=524.120 last=517.956 Δ=6.164
2023-04-26 14:21:41.3648|Stage(kB)  current=524.120 last=457.580 Δ=66.540
2023-04-26 14:21:41.5991|Memory(kB) current=525.148 last=524.120 Δ=1.028
2023-04-26 14:21:41.5991|Stage(kB)  current=525.148 last=457.580 Δ=67.568
2023-04-26 14:21:41.8344|Memory(kB) current=531.084 last=525.148 Δ=5.936
2023-04-26 14:21:41.8344|Stage(kB)  current=531.084 last=457.580 Δ=73.504
2023-04-26 14:21:42.0704|Memory(kB) current=536.492 last=531.084 Δ=5.408
2023-04-26 14:21:42.0704|Stage(kB)  current=536.492 last=457.580 Δ=78.912
2023-04-26 14:21:42.2906|Memory(kB) current=547.016 last=536.492 Δ=10.524
2023-04-26 14:21:42.2906|Stage(kB)  current=547.016 last=457.580 Δ=89.436
2023-04-26 14:21:42.5261|Memory(kB) current=547.784 last=547.016 Δ=768
2023-04-26 14:21:42.5261|Stage(kB)  current=547.784 last=457.580 Δ=90.204
2023-04-26 14:21:42.7616|Memory(kB) current=558.264 last=547.784 Δ=10.480
2023-04-26 14:21:42.7616|Stage(kB)  current=558.264 last=457.580 Δ=100.684
2023-04-26 14:21:42.9954|Memory(kB) current=564.424 last=558.264 Δ=6.160
2023-04-26 14:21:42.9954|Stage(kB)  current=564.424 last=457.580 Δ=106.844
2023-04-26 14:21:43.2304|Memory(kB) current=570.584 last=564.424 Δ=6.160
2023-04-26 14:21:43.2304|Stage(kB)  current=570.584 last=457.580 Δ=113.004
2023-04-26 14:21:43.2304|Enter Request StageΔ 113.004kB
2023-04-26 14:21:43.2304|Send ENTER from engine
2023-04-26 14:21:43.4659|Memory(kB) current=628.052 last=570.584 Δ=57.468
2023-04-26 14:21:43.4659|Stage(kB)  current=628.052 last=457.580 Δ=170.472
2023-04-26 14:21:43.7001|Memory(kB) current=702.948 last=628.052 Δ=74.896
2023-04-26 14:21:43.7001|Stage(kB)  current=702.948 last=457.580 Δ=245.368
2023-04-26 14:21:43.9203|Memory(kB) current=773.064 last=702.948 Δ=70.116
2023-04-26 14:21:43.9203|Stage(kB)  current=773.064 last=457.580 Δ=315.484
2023-04-26 14:21:44.1553|Memory(kB) current=849.272 last=773.064 Δ=76.208
2023-04-26 14:21:44.1553|Stage(kB)  current=849.272 last=457.580 Δ=391.692
2023-04-26 14:21:44.3899|Memory(kB) current=926.720 last=849.272 Δ=77.448
2023-04-26 14:21:44.3899|Stage(kB)  current=926.720 last=457.580 Δ=469.140
2023-04-26 14:21:44.3899|Playing Threshold(MB): 458>400
2023-04-26 14:21:44.5929|Change State to CharacterSelection because Memory(MB) 458 > 400
2023-04-26 14:21:44.5929|RunStage: CharacterSelection
2023-04-26 14:21:44.5929|lastStageMemoryUsage set: 926.720kB
2023-04-26 14:21:44.5929|Status changed from Playing to CharacterSelection
2023-04-26 14:21:44.5929|Send ENTER from SelectCharacter
2023-04-26 14:21:44.5929|GW2 Hide
2023-04-26 14:21:44.6173|Module: icm32.dll
2023-04-26 14:21:46.6230|Memory(kB) current=1.152.364 last=926.720 Δ=225.644
2023-04-26 14:21:46.6230|Stage(kB)  current=1.152.364 last=926.720 Δ=225.644
2023-04-26 14:21:46.6230|Enter Request StageΔ 225.644kB
2023-04-26 14:21:46.6230|Send ENTER from engine
2023-04-26 14:21:48.6516|Change State to Exited because Process.Exit event
2023-04-26 14:21:48.6516|RunStage: Exited
2023-04-26 14:21:48.6516|lastStageMemoryUsage set: 926.720kB
2023-04-26 14:21:48.6516|Status changed from CharacterSelection to Exited
2023-04-26 14:21:48.6516|GW2 process 12468 exited because Crashed
2023-04-26 14:21:48.6516|This exit was unexpected
2023-04-26 14:21:48.6516|Process 12468 is Dead
2023-04-26 14:21:48.6516|RunStatus: Error
2023-04-26 14:21:48.6516|launch failed|guildwars2.tools.alternator.Gw2CrashedException: GW2 process crashed
at guildwars2.tools.alternator.MVVM.model.Client.Launch(LaunchType launchType, Settings settings, Boolean shareArchive, Boolean accountLogs, DirectoryInfo applicationFolder, VpnDetails vpn, CancellationToken cancellationToken)
at guildwars2.tools.alternator.Launcher.LaunchAsync(FileInfo loginFile, DirectoryInfo applicationFolder, FileInfo gfxSettingsFile, Boolean shareArchive, Boolean logAccount, AuthenticationThrottle authenticationThrottle, SemaphoreSlim loginSemaphore, SemaphoreSlim exeSemaphore)
2023-04-26 14:21:48.6516|exe semaphore released, count=0

The new Login Log give something like this, when a Login does not work:
2023-04-26<EMAIL_ADDRESS>Started Login process=9588
2023-04-26<EMAIL_ADDRESS>Change State to Started because Normal Start
2023-04-26<EMAIL_ADDRESS>KillMutex: WaitForInputIdle on process=9588
2023-04-26<EMAIL_ADDRESS>Change State to Exited because Process.Exit event
2023-04-26<EMAIL_ADDRESS>GW2 process exited because Crashed
2023-04-26<EMAIL_ADDRESS>Release Login
2023-04-26<EMAIL_ADDRESS>LoginDone Login
2023-04-26<EMAIL_ADDRESS>login semaphore released, count=1
2023-04-26<EMAIL_ADDRESS>Authentication No VPN release delay=105s because Band > 3 (count=40)
2023-04-26<EMAIL_ADDRESS>Authentication Throttle set: 105s because Band > 3 (count=40)


Operation Cleanup

In reviewing the Operation object, I've made a few minor changes.  Logging here for visibility:

LoggedVariables should not be required.   I updated the definition as follows:  "The data variables on this Operation to be reported in any Summary Values and/or Spatial Records. Required in most cases.   Exceptions would be if the data is simply reporting that a certain field was harvested as of a specific date or planted with a specific product, etc., without any further information available."
I moved Calibration Factors from the Operation to the individual Logged Variable.   The Calibration Factor had a required LoggedVariableId so it made more sense as a property of the LoggedVariable.
I removed Id and Name from Calibration Factor.   These appear to have carried over from the C# implementation and are not relevant when each factor is included by value.
I changed the value of the factor from an abstract numeric value with a value and UOM to a simple factor number with a default of 1, since a UOM is not appropriate.

@strhea Please advise of any concerns.
There are a couple additional items for discussion:

Should an Operation relate back to both a WorkItemOperation and a Prescription?  This raises the question about whether Prescriptions should require a WorkItemOperation parent, perhaps simply being embedded by value within the WorkItemOperation.
Related to the above, does Load need to be referred to be reference, or can it also be embedded within the Operation?   Is there an advantage for further expansion of Loads if it resides as a primary entity within Documents?

Agreement in 6 September 2023 call that Calibration Factors and Sensor Latencies should be removed from the model for the same reason we don't manage implement widths and offsets--there is too much complexity in implementation and it is best and readily handled by the OEM.
Re the Prescription and Load discussion items, we will leave things as is.


Federations refactor integration

rskj:federations-refactor-integration

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run


Bringup reduction silicon tests that were previously unsupported

We're using reduction and eltwise maximum ops in tt-xla FE but didn't have silicon tests for them, so we should bring them up.

@AleksKnezevic These tests will pass because keep_dim=True. The issue we have in #805 is that StableHLO reduce always kills the reducing dim, so I've used keep_dim=False in conversion, not knowing that Metal doesn't support that configuration yet. I am now trying some solution with ReduceOp with keep_dim=True and then ReshapeOp afterwards to manually kill the reducing dim, because otherwise the rest of the graph would be impacted.
@jnie-TT Thanks for adding more test cases! I've added test/ttmlir/Dialect/TTNN/simple_sum.mlir, test/ttmlir/Dialect/TTNN/simple_maximum.mlir and test/ttmlir/Dialect/TTNN/simple_max.mlir to cover these. It is weird that test/ttmlir/Dialect/TTNN/simple_max.mlir is not failing in CI since I've used keep_dim=False in that test O.o You can remove that one too, I'll add specific test for StableHLO conversion when I fix #805, but it would be good to know why it wasn't run in CI.
P.S. I've finally went through setting up a silicon machine because I'll need it for XLA, so going forward I'll manually test everything and not rely on CI.

@AleksKnezevic These tests will pass because keep_dim=True. The issue we have in #805 is that StableHLO reduce always kills the reducing dim, so I've used keep_dim=False in conversion, not knowing that Metal doesn't support that configuration yet. I am now trying some solution with ReduceOp with keep_dim=True and then ReshapeOp afterwards to manually kill the reducing dim, because otherwise the rest of the graph would be impacted.
@jnie-TT Thanks for adding more test cases! I've added test/ttmlir/Dialect/TTNN/simple_sum.mlir, test/ttmlir/Dialect/TTNN/simple_maximum.mlir and test/ttmlir/Dialect/TTNN/simple_max.mlir to cover these. It is weird that test/ttmlir/Dialect/TTNN/simple_max.mlir is not failing in CI since I've used keep_dim=False in that test O.o You can remove that one too, I'll add specific test for StableHLO conversion when I fix #805, but it would be good to know why it wasn't run in CI.
P.S. I've finally went through setting up a silicon machine because I'll need it for XLA, so going forward I'll manually test everything and not rely on CI.

@mrakitaTT please note that if you want a test to run on silicon, you need to add it under the Silicon folder. Adding it under the dialect folder will only test the compiler's ability to compile a specific mlir module.

@mrakitaTT please note that if you want a test to run on silicon, you need to add it under the Silicon folder. Adding it under the dialect folder will only test the compiler's ability to compile a specific mlir module, but will not generate a flatbuffer for execution on Silicon.

@jnie-TT Ohh, got it, thanks Jackson!

I'll merge this in now since we want any future CI to be running these.


White blinks while navigating through menu bar

VSCode Version: 1.38.1
OS Version:Ubuntu 18.04 LTS

UX bug explanation

Navigating through menu bars produces a white blink before rendering the whole content which is annoying sometimes.

Does this issue occur when all extensions are disabled?: Yes.

@A-Fayez please try to reproduce with the latest insiders build of VS Code which is built with a newer version of electron. https://code.visualstudio.com/insiders/

Thanks for your reply and consideration, unfortunately, the same issue remains both on VScode insiders --version 1.40.0 and VScode --version 1.39.2
Could be caused by other factors outside vscode?

Might be a gpu issue, how does it look with running under code --disable-gpu flag ?

Still the same with code --disable-gpu. The test was made when extensions are disabled.

the same problem.
Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:44:52.965Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.23-1-MANJARO

Closing this as duplicate of https://github.com/microsoft/vscode/issues/80798, please follow that issue for updates. Thanks!


nasty little build error on macOS

So here's a weird and nasty one.
Building on macOS, after the whole build was complete, the final packaging puked on me with the following rsync error:
rsync: opendir "/var/empty/.anydesk/incoming" failed: Permission denied (13)
...because apparently anydesk left an empty, root-owned directory under /var/empty on my mac.
I did a sudo rm -rf /var/empty/* and then tried various tricks to save the build but couldn't get anything to work so I had to get rid of the tree and do the whole build again.
Frustrating.
It looks to me like the build is putting some stuff into /var/empty along the way and then copying it into the final package. I've no idea if that is peculiar to the mac build or common, but I wonder if it might be worthwhile to add a check at the beginning of the build for an empty /var/empty and abort and allow user to empty that directory if it's not.

If it's the final packaging step that failed, then it might be an issue with chrome/installer/mac/pkg-dmg (which is written by the Chromium team). Do you know which command in build.sh failed?
If pkg-dmg is the issue, then we can check for any additional CLI options in the script before resorting to patching it.

I had to get rid of the tree and do the whole build again.

Generally this shouldn't be necessary as packaging commands don't touch any files in the build output. In the event that they are missing or modified, you can rerun ninja to regenerate those missing files without rebuilding the entire browser.

from the error messages, I'm pretty sure it was the last command in build.sh that failed.

I had to get rid of the tree and do the whole build again.

Generally this shouldn't be necessary as packaging commands don't touch any files in the build output. In the event that they are missing or modified, you can rerun ninja to regenerate those missing files without rebuilding the entire browser.

i thought that should be right, so after clearing out the /var/empty directory, i went into build.sh and commented out most of the stuff above that last command, but i think i botched what i did and didn't comment so that failed for me. I should have read through the script more carefully but i was doing too many things at the same time.
the second build went fine, so it was definitely having that errant root-owned directory in /var/empty that caused the problem. If i had sudo'd the build i think it would have worked, but then i also think that pkg-dmg would have potentially copied some random stuff that just happened to be in that directory into the package (though it says it is copying *.so so likely nothing would have gone anyway).

I added a check to ensure /var/empty is actually empty before building (I'm assuming nothing will be adding files to /var/empty during that time).
During that change, I noticed that pkg-dmg is given /var/empty via the --source flag. If this directory is used only during the generation of the dmg and not in the dmg, then it may be better to just create and use a temporary directory instead.

During that change, I noticed that pkg-dmg is given /var/empty via the --source flag. If this directory is used only during the generation of the dmg and not in the dmg, then it may be better to just create and use a temporary directory instead.

yeah, i think it would be better to make and use a temporary directory under buildspace. On a quick glance through chrome/install/mac/pkg-dmg and then again at build.sh it looks like passing --source /var/empty implies that nothing is actually going in there in the build and that using it as --source is really an attempt at a way to start with an empty directory to then copy stuff into in the .dmg. My guess is that creating and using an emtpy temp dir under buildspace would work fine.
i'll test that out when i have a chance and report back.
(i'll also suggest to the anydesk guys to stop using /var/empty as a /tmp)


Run Shell Command from Dangerfile

Report
Is there a way to run shell terminal commands inside Dangerfile? For e.g. sh("cd test").

@RishabhTayal Have you tried system("cd test")? I'm using it in Dangerfile to run a gem.

It's not giving any error while running danger now but I don't think command is actually working.
I tried
system("cd test")
system("pwd")

It doesn't print anything in the console. It should print the current folder path.

Ok. I tried running this in my Dangerfile:
system("echo HERE!!!")
system("cd Documentation")
system("pwd")

and it printed
HERE!!!
/Users/mseremet/Desktop/

It printed the message and current directory path, but looks like it didn't change the path to Documentation folder.

Same here. It works for system("echo HERE!") and system("pwd") but not for system("cd Documentation").

I think CI providers handle each system command in subshell, so one cd doesn't effect the next one. You could give system("cd Documentation && pwd") a try.

Wow! That works! 👍
Does that mean when we do system("cd Documentation") only it's not switching to the Documentation folder or does that mean that it's switching to Documentation folder but the subsequent system("pwd") doesn't work because of the subshell thing?

Closing this issue now.


ASP.NET Core 2.2 Online Documentation

The online documentation for ASP.NET Core 2.2 says: Prerequisites ".NET Core 3.0 SDK or later". Is that really so?

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

ID: ca6139d4-022c-395a-0abf-539660550df1
Version Independent ID: 3dd23f8a-300e-3f78-1dc5-8b759aabdccc
Content: Get started with ASP.NET Core
Content Source: aspnetcore/getting-started/index.md
Product: aspnet-core
Technology: aspnetcore-getstarted
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Yes, we don't keep older versions of this tutorial. The instructions should work for 2.1 and 2.2


EVC metadata eventually gets not persisted

Eventually, the EVC metadata gets not persisted across Kytos starts and stops. One of the end-to-end tests eventually fails revealing this undesired behavior:
=================================================================================== FAILURES ===================================================================================
__________________________________________________________ TestE2EMefEline.test_155_removing_evc_metadata_persistent ___________________________________________________________

self = <tests.test_e2e_10_mef_eline.TestE2EMefEline instance at 0x7f6c92467c68>

    def test_155_removing_evc_metadata_persistent(self):
        """
        Test /api/kytos/mef_eline/v2/evc/{evc_id}/metadata/{key} on DELETE
        supported by:
            /api/kytos/mef_eline/v2/evc/{evc_id}/metadata on POST
            and
            /api/kytos/mef_eline/v2/evc/{evc_id}/metadata on GET
        """
        evc1 = self.create_evc(100)
        api_url = KYTOS_API + '/mef_eline/v2/evc/%s/metadata' % evc1

        # Make sure the metadata is initially empty
        response = requests.get(api_url)
        assert response.status_code == 200
        data = response.json()
        assert 'metadata' in data
        assert data['metadata'] == {}

        # Insert evc metadata
        my_key = 'tmp_key'
        payload = {my_key: "tmp_value", "other": [1, 2, 3]}

        response = requests.post(api_url, json=payload)
        assert response.status_code == 201

        # Make sure the metadata was inserted
        response = requests.get(api_url)
        data = response.json()
        assert data['metadata'] == payload

        self.restart()

        # Make sure the metadata is still there
        response = requests.get(api_url)
        data = response.json()
>       assert data['metadata'] == payload
E       KeyError: 'metadata'

tests/test_e2e_10_mef_eline.py:1274: KeyError
---------------------------------------------------------------------------- Captured stderr setup -----------------------------------------------------------------------------
========================================================================== 1 failed in 76.79 seconds ===========================================================================

Never mind, the problem was because the EVC was not loaded yet. Since the change introduced by PR #86, where the EVCs are loaded as part of the consistency routine, it can take a while during kytos startup process to load EVCs (up to mef_eline.settings.DEPLOY_EVCS_INTERVAL). Lowering the consistency routine interval or increasing delay after restart fixes the issue. For the future, the consistency routine can be augmented to run its first round earlier.


desktop folders dont open

Description
when replace of windows explorer and click on desktop folder dont open in files app
Steps To Reproduce
No response
Expected behavior
when replace of windows explorer and click on desktop folder dont open in files app
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.675
Windows Version
windows 11 pro 21H2
Relevant Assets/Logs
nothing

@haamedofficial You can try using the preview version (https://files.community/download/preview) but please keep in mind this option isn't support on any version of Files.


Audio queue overflow! with asterisk integration

We have encountered this issue while trying to call a SynthAndRecog function of a asterisk-unimrcp connector.
[2017-06-19 15:32:55] WARNING[7378][C-00000000] audio_queue.c: (ASR-0) Audio queue overflow!
[2017-06-19 15:32:55] ERROR[7378][C-00000000] app_synthandrecog.c: (ASR-0) Recognition terminated prematurely
[2017-06-19 15:32:55] WARNING[7378][C-00000000] app_synthandrecog.c: (ASR-0) Unable to retrieve result

Our dial plan is:
exten => s,1,Answer
exten => s,n(recog),Verbose(2,!!! Before recognition)

exten => s,n,SynthAndRecog(Hello,/usr/local/unimrcp/data/grammar_ru.xml,p=default&b=0)
exten => s,n,MRCPSynth(Your answer is ${RECOG_RESULT}, p=default)

exten => s,n,Verbose(2,!!! After recognition)
exten => s,n,Verbose(2, ${RECOG_STATUS}, ${RECOG_COMPLETION_CAUSE},${RECOG_RESULT})

;exten => s,n,Hangup
exten => s,n,Goto(recog)

TTS functions work as expected, asterisk and unimrcp paired correctly.
Have no idea how to fix that.

It is clear that the recognition did not even start. If you can reproduce the problem with the log level set to DEBUG in mrcp.conf and logger.conf, I may be able to tell you the reason.

I am closing this issue. If you manage to reproduce the problem, please open a new issue under unispeech/asterisk, since this is the right place for Asterisk related issues.


[fix][broker] Allow namespace roles consume any subs

Motivation
When I have an auth role user in a namespace and give it the AuthAction.CONSUME permission, I have read-only permissions on all topics under the namespace, but when I subscribe to a topic, I have to apply for subscription permissions separately.
Modifications
Allow namespace roles consume any subscriptions.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Could you add a test to cover this change?

Sure. I will try to add a test for this change.


Feature/hybrid state sensor

@tedschmidt could you check for this one if you have time? it might not fully completed yet, but i want to make sure that i'm writing the sensor in the right direction.

one thing that i think still missing is to get incoming number without using event listener.

@orhan89 The structure you're using with getting/sending the latest state in doSample() is the right one.
I think it's good that it also sends the data when there is an event.

@tedschmidt i think the data is sended when there is an event already.
https://github.com/senseobservationsystems/sense-android-library/blob/74f364fb1323327540db73e3288b64946e98d2e8/sense-android-library/src/nl/sense_os/service/phonestate/SensePhoneState.java#L81-L108 (event based)
https://github.com/senseobservationsystems/sense-android-library/blob/74f364fb1323327540db73e3288b64946e98d2e8/sense-android-library/src/nl/sense_os/service/phonestate/SensePhoneState.java#L295-L330 (polling based)
but i will refactor this so event-based and polling-based sensor will call a shared function.

@orhan89 Oh I meant, that it's good that you still also send the data with an event, as it used to do it, and that the polling based is added as extra.

@orhan89 I see this is not merged yet...is this finished?

@tedschmidt no, it's not. Even the card for this still in backlog i think


How to dynamically add rows

How can I add a new row to the table?

https://github.com/iamisti/mdDataTable/issues/267
You can manipulate all data of table with this (headers, rows, custom cells and so on)


How to use django-widget-tweaks with MultipleChoiceField field?

1  QUESTION: How to use django-tweaks with MultipleChoiceField field?
2QUESTION: I have form with MultipleChoiceField field which has dynamic list for choices. Sometimes dynamic list can be empty []. So I want to show message in template when its empty but next code didnt show message.
forms.py:
class RequirementForm(forms.ModelForm):
    symbol = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple)

    class Meta:
        model = Requirement
        fields = ('symbol',)

requirement_add.html:
{% load widget_tweaks %}
<form method="post" action="{% url 'project:requirement_add' project_code=project.code %}">
        {% for field in form %}
                {% render_field field class="form-control" %}
        {% empty %}

Form is empty!

        {% endfor %}
</form>

https://github.com/jazzband/django-widget-tweaks#not-supported


Adding spec for ADF V2 (version 2017-09-01-preview)

The spec for API version "2017-09-01-preview" describes the version
of the service APIs that corresponds to the Public Preview release.
Same content as that in the approved review https://github.com/Azure/azure-rest-api-specs-pr/pull/155

PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@bgold09,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@fearthecowboy and @ravbhatnagar: this PR is moves our reviewed spec with no additional changes from the private to public repo

No modification for AutorestCI/azure-sdk-for-python

No modification for AutorestCI/azure-sdk-for-ruby

No modification for AutorestCI/azure-sdk-for-node


Bump up dependencies versions

39 commits ?

Yes, but no. If you compare before and after, it is basically version bumping.

Those coming are spreaded. That is why 39.

As I see travis is broken, right?
See files changed to see diff, are we good here, or ...?

?


/live pages still not fixed after 3.08 update

previous bug was submitted to fix the bug of itn ot working when using /live in the url . Still not working

Thanks for report. Umm, Youtube is sometimes change behavior. (Perhaps an AB test?)
When I debugged it a few days ago,  /live was redirected to /watch in my environment, but now it is not.
I will look into a different implementation for /live. Best effort.

ref #59

Quick patch for fix v3.0.9.
It will be distributed after review in a few days. If this doesn't fix the problem, it's difficult to fix it right away because the problem is deep-rooted.


[bug 1183130] Fix test_picker.py smoketest

A few weeks ago, I changed the class of the thing that the test looked
at, but didn't update the test. This updates the test.
r?

This is a fix for the smoketests. I think I'm the only person to use them, so I'm going to self-r+ this one.


int[][] can't be casted to object[]

int[] is object. It must be castable.
Possible root cause of maholator/apps-compability-tracker#11 .

Hotspot 11 agrees:


Sorry, bug could you reconstruction based on EMS，and anybody can join this, like me

[ ] I agree to follow the Code of Conduct that this project adheres to.
[ ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

reconstruction the drawio