CPU usage RAM process

I scanned the computer in search of possible malware
the CPU usage hits 100% at times and there's one single service that takes up a lot of RAM.
not sure why is this happening because I started experiencing this for a couple of days day now

I would be interested in seeing the memory allocations made by that process, sorted by largest, as well as the call stack of any thread with "cycles delta" above 1 billion. This information can be shown by clicking on the process and viewing the "Memory" and "Threads" tabs. Apparently this does not happen in --no-sandbox mode.

the CPU fan speed seems to be at idle all the time even though the CPU reaches 100% usage
here you go. 👇

Are you watching a lot of videos? That seems to cause high memory use for me.

Are you watching a lot of videos?

No I'm not but this has nothing to do with watching videos.
if I leave the browser open for hours while slipping for example it will keep eating up RAM like an hungry dog including all RAM available on the pagefile.sys

Are you watching a lot of videos?

No I'm not but this has nothing to do with watching videos.
if I leave the browser open for hours while sleeping for example it will keep eating up RAM like an hungry dog including all RAM available on the pagefile.sys


This is an exciting project

This is an exciting project. After installing all the requirements, running Python setup.py may not start and may still lack some necessary conditions! Looking forward to the author's future updates!

Oh, hello author, I can't wait to research this project
Because I failed to run the program and I am a programming noob, I tried to learn the basics of Python and then tried running the program again. I found that I could see actions and some basic statements, but it seems that in order to run the program, I need some additional files, such as the setup file in the setup tools folder
I really want to help with this project, even if I can only help feed the model with images. I hope the author can update it soon


Fix inconsistent hass configuration when processing incomplete frames

Hello!
I use teleinfo2mqtt in Standard mode. I noticed a strange behavior with the teleinformation data transmitted to Home Assistant: some values were completely absent (e.g. SINSTS), while other data were correctly transmitted and regularly updated. Restarting the teleinfo2mqtt service fixed the problem, but the behavior was rather random and I encountered the same problem with other values.
After a few debugging sessions in teleinfo2mqtt, I realized that there was a lot of interference on my serial link, despite the shielded cable used (the Linky meter is outside my house, more than 30m away).
As a result, a lot of values are corrupted. Looking at the frames emitted by the StandardTicMode service, I found that they contained between 25 and 40 labels and that I almost never had a "complete frame".
This is not a big deal, as the data is transmitted very regularly. But it is a problem for Hass discovery.
The configuration published on the discoveryTopic is based on the content of the first frame published by the TicMode service. This means that the published configuration is incomplete if the first frame contains corrupted data.
Proposal
To solve this issue, I propose not to rely on the labels contained in the first frame to publish the configuration. As the exhaustive list of labels is known for each TicMode, I propose to use this list to publish the configuration.
I'm aware that some of the values in the published configuration will not be transmitted by the counter, depending on each individual's situation (e.g. production data). But I don't think it's a problem.
WDYT? I hope I haven't missed an important detail about how Hass discovery works, I'm new to mqtt ^^
(and by the way, thanks for this very useful project!)

Hi @madmatah ,
Thank you very much for your contribution 👍
For the moment, I merge it to a dev branch to see test it in action.
I want to see what it looks like by myself.
For example, I have a "base" contract in "history" mode, so I suppose that with your changes, I'll get all "heure creuse/ Heure pleine" sensors, all "tempo" sensors and so on.

Yes, that's right. That's the downside of this solution.
Looking forward to your feedback on these tests :)
If the tests aren't conclusive, I've thought of another approach, which would be to publish the configuration of each label independently. And this publication would be triggered when a label is received for the first time.

The number of sensors for my personal situation increased from 7 to 35 ^^.
All these extra sensors are created on HA with an "unknown" value.
That's not a very big deal in my opinion.
The current implementation is very simple but safe so I'm rather in favour to keep it as this for the moment.


Change the user or permission of db in container

Is it possible to change the user name from mongodb to other user in the container?
I would like to mount the directory SOME_PATH_ON_HOST into container and the user of this directory is USER. When the service started, it shows permission error. Can I change the user or permission of /data/db in container to USER instead of create a mock user mongodb on the host?
I am using docker stack to deploy my services. Kindly see my docker-compose.yml below:
version: '3.2'
services:
  db:
    image: mongo
    volumes:
      - "SOME_PATH_ON_HOST:/data/db"
    environment:
      - MONGO_INITDB_DATABASE=example_db
    deploy:
      replicas: 1

The image has environment variables for changing the root username https://github.com/docker-library/docs/tree/master/mongo#mongo_initdb_root_username-mongo_initdb_root_password
For a standard user you can do https://docs.docker.com/engine/security/userns-remap/

Since https://github.com/docker-library/mongo/pull/81 you can use --user (or user: in compose file) to specify any arbitrary user and group id (ie the owner id of the path on the host).


stats: improve DistributionData.multiplyByFraction

DistributionData.multiplyByFraction currently ignores the fraction.  Changing it to keep min, max, and mean the same but scale the other values by the fraction would improve ViewData for interval views.

I remember we had a cross-language discussion about this long time ago, and the conclusion was to not scale stats in DistributionData by fraction, and that's the case for Java and C++ implementations.

/cc @dinooliva

I am closing this issue given this is not the behavior in other languages. Cross-language improvements can be filed against the specs repo, https://github.com/census-instrumentation/opencensus-specs.


[Question]: How can I use case sensitive identifiers?

Hello!
I would like to be able to write queries for the TDS endpoint using quoted identifiers so that the Postgres tables/columns/etc end up with the correct capitalization.
For example, with:
CREATE TABLE "Persons" ("Id" int);
I would expect a table Persons, but instead I get persons.
I have tried experimenting with babelfishpg_tsql.quoted_identifier but it doesn't seem to do what I'm looking for.
Am I missing something obvious, or is this totally unsupported behaviour?

In what context / from what tool/statement do you expect the string "Persons" but get the lower case "persons" ?
Cheers,
/Stefan

Hi Stefan
For the example above I am:

Using DBeaver to connect to the TDS endpoint as MS SQL Server
Creating a new database "test"
Executing the above query CREATE TABLE "Persons" ("Id" int);
Checking the corresponding dbo schema on the PostgreSQL endpoint and confirming I get the table persons

I can also confirm that I get the same result when running the query via SSMS and verifying the result in DBeaver.
If you're asking about the use-case for my project: I have an enormous legacy application that uses UpperCamelCase naming conventions. I would like to keep the data as UpperCamelCase in the PostgreSQL database for human readability. I'm able to migrate my data into the PostgreSQL endpoint with the correct capitalization, but I'm unable to query it via the TDS endpoint because everything is being forced to lowercase.

I would like to keep the data as UpperCamelCase in the PostgreSQL database for human readability.

Looks like currently this isn't supported. The original name gets stored with its original case separately from the underlying Postgres table name in the metadata. If the access from the Postgres side is for querying only, is it practical to create views with the expected names (e.g. 'Persons' view defined as 'select * from persons')?

This is post 2.1 (in development), it's the one I had handy at the time of writing:
[ec2-user@ip-172-31-94-239 ~]$ mypg
babelfish_db=# create table db1_dbo.TableOne( c1 INT );
CREATE TABLE
babelfish_db=# grant select on db1_dbo.TableOne to public;
GRANT
babelfish_db=# \q
[ec2-user@ip-172-31-94-239 ~]$ mybbf
1> select * from TableOne
2> go
c1
(0 rows affected)
1> set quoted_identifier on
2> go
1> select * from "TableOne"
2> go
c1
(0 rows affected)
1>

@chriscameron-vertexinc: Were you able to solve the case-sensitivity issue?


Unique AppPrefs for different html files

Hi
I have two html reports, one with all history stats.html and one for today today-stats.html (generated with --keep-last=1)
I want to have different panels displayed on each report byt default, but settings in localStorage use same key name AppPrefs, so i t is common for both reports
Should be possible to add some prefix for localStorage to have AppPrefs separate for each report? but probable there is some more behind, and only separated AppPrefs wont be enough.

Hi @tyctor
What you means with term AppPrefs ?  Is it Preferences from GOAccess run?
Or GOAccess for Panels and layout preferences?
Whatever, you can do this from specify different a goaccess.conf for each case.
I.E... you can have two CONFs, one for stat.html and other for today-stats.html.
For more detail you can read about this in manual page here at File Options section,
specifically at --config-file= option.
So, I hope be clean. Feel free for more asks.

Hi @0bi-w6n-K3nobi
I mean localStorage  in browser use same key AppPrefs, so if I change settings on stats.html it also change settings on today-stats.html
thanks for reply

Hi @tyctor
Yeah... I understood now. I seems that.
Well, maybe @allinurl  can add option for different contexts.
I.E. create the possibility add on suffix, prefix or name for that.
...
For now, on workaround is you create different profiles at you browser, one for each.

it seems that as workaround is enough to replace key in created html:
 sed -i s/'AppPrefs'/'AppPrefsToday'/g daily-report.html


Test: terminal command decorations

Refs: #140308

[x] macOS @paulacamargo25
[x] linux @joaomoreno
[x] windows @joyceerhl

Complexity: 4
Authors: @meganrogge, @Tyriar
Create Issue

The terminal now features "shell integration" with the opt-in setting terminal.integrated.shellIntegration.enabled.
See https://github.com/microsoft/vscode/issues/141339 for details.
Since a shell script needs to be written on a shell-by-shell basis, only the following are currently supported:

Windows

pwsh (6+, not "Windows PowerShell")

Linux/macOS

pwsh
bash
NOT zsh for now

We have added command decorations decorations (codicons) in order to bring awareness to some of the new insights and capabilities shell integration provides.
We have 3 decoration styles:

default - a hollow, grey circle
error - a red circle with an x
success - a blue filled circle

Verify that:

for default commands:

nothing was entered and there was no output
when you hover them, nothing happens
you can't click them

for error commands

the command had a non-zero exit code
on hover, you see the exit code
on click, you can re run the command or copy the output

for success commands:

the command's exit code was zero
on click, you can re run the command or copy the output

Some things to try:

run clear and similar commands - the decorations should disappear
scroll - make sure they show and hide appropriately
anything else you can think of
change the renderer type via terminal.integrated.gpuAcceleration
set the terminal.integrated.shellIntegration.commandIcon settings to new codicon IDs and empty strings and verify that works

Here are some of the main limitations you may hit while testing:

Right prompts aren't supported yet https://github.com/microsoft/vscode/issues/140928
Decorations don't work on reconnection (for persisted terminals)

I'm closing the issue even though there are some open bugs, please let me know if that isn't the right thing to do.


"Unexpected end of JSON input" error in Diff stage

Describe the bug
A clear and concise description of what the bug is.
When pipeline is run, Diff stage fails with
$<EMAIL_ADDRESS>--transpile-only cdk.ts --require-approval never diff --config-dir /codebuild/output/src1529/src/s3/01 --partition aws --app cdk.out --stage operations
....
2024-05-30 03:29:22.642 | info | replacements-config | Loading replacements config substitution values
Unexpected end of JSON input
error Command failed with exit code 1.

To Reproduce
Steps to reproduce the behavior.
Have one of the LZA stacks in stuck status like REVIEW_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, etc so that GetTemplate response is empty string
Expected behavior
A clear and concise description of what you expected to happen.
Engine should know the response is non JSON and take an empty JSON for comparison.
Please complete the following information about the solution:

[ ] Version: [e.g. v1.5.1] 1.7.1

To get the version of the solution, you can look at the description of the created AWS CloudFormation stack used to install the LZA (AWSAccelerator-InstallerStack). For example, "(SO0199) Landing Zone Accelerator on AWS. Version 1.5.1.". If the description does not contain the version information, you can look at the Parameters of the stack for the RepositoryBranchName as that should contain the version number.

[ ] Region: [e.g. us-east-1] any region
[ ] Was the solution modified from the version published on this repository? No
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[ ] Have you checked your service quotas for the services this solution uses? Yes
[ ] Were there any errors in the CloudWatch Logs? Yes, posted above in issue

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.
When the Landing Zone Accelerator on AWS (LZA) performs a diff operation, it compares the stacks generated by the synthesis process with the existing stacks in the account. To retrieve the existing stacks, the GetTemplate API call is executed. If this call returns an error, an empty JSON response is sent back. In certain cases, stacks may be in a REVIEW_IN_PROGRESS state, which does not generate an error but instead produces a non-JSON output (empty string). When this output is compared, it results in the Unexpected end of JSON input error. Below is an example of what is happening.
> cat tst.yaml
Resources:
  test:
    Type: AWS::CloudFormation::WaitConditionHandle%
> aws cloudformation create-change-set --stack-name test-cg-01 --template-body file://tst.yaml --change-set-name test-cg-01-01 --change-set-type CREATE
{
    "Id": "arn:aws:cloudformation:eu-west-2:redacted:changeSet/test-cg-01-01/3e85e1aa-ac4a-4054-813e-8c3700e45d5d",
    "StackId": "arn:aws:cloudformation:eu-west-2:redacted:stack/test-cg-01/89c18d60-2286-11ef-82b6-0a425d4ba34f"
}
> aws cloudformation describe-stacks --stack-name test-cg-01 --query 'Stacks[0].StackStatus'
"REVIEW_IN_PROGRESS"
> aws cloudformation get-template --stack-name test-cg-01
{
    "TemplateBody": ""
}

If this error persists, it is recommended to check for stacks in the REVIEW_IN_PROGRESS state and delete them. These stacks are not fully created, and deleting them will not cause any service disruption.

Closing this issue as it is resolved in release/v1.8.0


StreamingWorkbook doesn't support getName

Hi all,
Can you implement the "Name" part function?  eg. getName...
Or can you give some suggestions for it?
thank you.

Can you give me an example of how you would use this method while reading? The examples I've found only work on writes, which this library explicitly does not support.

Closing because this library does not support writing.


Update request: turbo 1.13.2 → 2.0.6

Package name: turbo

Latest released version:
2.0.6

Current version on the unstable channel: 1.13.2

Current version on the stable/release channel: 1.13.2

[X] Checked the nixpkgs pull requests

Notify maintainers
@dlip

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

@dlip I am not sure if the requirement for nightly rust to compile 2.0.6 is a blocker!

@dlip I am not sure if the requirement for nightly rust to compile 2.0.6 is a blocker!

Doing some research, I don't think is a blocker:
https://ryantm.github.io/nixpkgs/languages-frameworks/rust/#using-rust-nightly-in-a-derivation-with-buildrustpackage

We do not use such an overlay in nixpkgs, if it cant compile with the current version of rust the dependencies need manual tweaking.

We do not use such an overlay in nixpkgs, if it cant compile with the current version of rust the dependencies need manual tweaking.

I could try that but I'm unsure if I could do that

So I tried to update to 2.06 directly following the previous implementation, https://github.com/cowlingjosh/nixpkgs/tree/jcowling/turbo/pkgs/tools/misc/turbo, but with bothRUST_BOOTSTRAP=0 and RUST_BOOSTRAP=1 I got compiler errors (due to use of LazyLock and #![feature(X)] flags)  during build time (on aarch64-darwin).


contribute to dev or master?

are we supposed to make contributions to dev or master?
the mds-provider-services uses the master branch for pip installing the libraries. should we PR dev into master, and make master the default branch for this repo?

Right, master is the stable reference for e.g. pip installing.
#55 is an example of an open PR for dev -> master, representing the next release 0.2.0. PRs should generally target dev, unless it is an urgent break-fix.
dev will stay as the default to help ensure correct PR targeting the first time.

I think this was answered above. Let me know if not...


Add Active Message receiver callbacks

Adds a new pattern to receive Active Messages where the receiving endpoint registers a callback and the sender informs receiver of the callback to use, the receiver then executes that callback and does not require an explicit ep->amRecv() call.
Sample code:
// Define AM receiver callback's owner and id for callback
ucxx::AmReceiverCallbackInfo receiverCallbackInfo("TestApp", 0);

// Define AM receiver callback and register with worker
std::shared_ptr<ucxx::Request> receivedRequest = nullptr;
auto callback = ucxx::AmReceiverCallbackType(
  [this, &receivedRequest](std::shared_ptr<ucxx::Request> req) {
    {
      receivedRequest = req;
    }
  });
worker->registerAmReceiverCallback(receiverCallbackInfo, callback);

// Submit and wait for transfers to complete
std::shared_ptr<ucxx::Request> sendRequest;
requests.push_back(ep->amSend(buffer, size, memoryType, receiverCallbackInfo));
while (!sendRequest->isCompleted())
  worker->progress()

while (receivedRequest == nullptr)
  worker->progress();

This PR only implements C++ parts, https://github.com/rapidsai/ucxx/issues/187 tracks the missing Python implementation.

@mdemoret-nv FYI

Thanks @wence- for reviewing!

/merge


PFT-469: Removes teams from homepage

https://dsdmoj.atlassian.net/browse/PFT-469
Why are we doing this:
Refactor of the home page to a simple form
What this PR does:
Remove home page team over view and subteams

see my pr which includes this removal and creates a new page for the team overview


https://keptn.sh/docs/0.19.x/reference/files/sli/ should link to spec

https://keptn.sh/docs/0.19.x/reference/files/sli/ should link to the SLI spec: https://github.com/keptn/spec/blob/master/service_level_indicator.md

Hey @agardnerIT I want like to work on this issue! Would you please assign me?

Hey @bhavyastar, I assigned you. If you do need help, etc., please let us know.

It seems like this is also somewhat related/similar to https://github.com/keptn/keptn.github.io/issues/1528 and might be also worth taking a look - what do you think @StackScribe, those look really similar, and might be fixed as one :)


KeyError: 'road_plane' in database_sampler.py

Hi, thanks for your excellent work!
When I formed pkl file using your code and started to train, I got this KeyError in database_sampler.py file, and through debug I found there is no road_plane in data_dict. Could you help me solve this? Thanks a lot!

Hi, thanks for your interest in our work.
Did you download the road plane data from the KITTI official link, before generating pkl files?
There should be a subfolder 'training/planes' that contains txt files.
You can also choose to set USE_ROAD_PLANE as False in the config files. It will not cause much difference.

yukang @.***>于2022年5月20日 周五10:47写道：

Hi, thanks for your interest in our work.
Did you download the road plane data from the KITTI official link, before
generating pkl files?
There should be a subfolder 'training/planes' that contains txt files.
You can also choose to set USE_ROAD_PLANE as False in the config files. It
will not cause much difference.
—
Reply to this email directly, view it on GitHub
https://github.com/dvlab-research/FocalsConv/issues/7#issuecomment-1132400154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQE4IZEVYATT4TNXPN7YJG3VK34LHANCNFSM5WN5HKFQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah, I thought road_plane is generated automatically and ignore there are
optional planes file in training file. Thanks a lot!


MGDOBR-430: Slack Processor creation is failing with Error when calling Kafka instance TopicsApi (status=409)

MGDOBR-430
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Well... that works well 😆
Seems like my change needs further love.

This may not be an issue with my PR. See https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/446 too.

The Manager - CI issues should be addressed by https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/431


(Feature) Card component

Closes #11.

@jvorcak I absolutely agree on the contrast issue. I implemented it according to design on Zeroheight, but we have different colors defined. Pawel told me he'll revisit Card component later.

@jozefhruska visual-regression test suite failed. Does it pass for you locally?

@aigoncharov Sorry, fixed now 👍

@jozefhruska do you have an ETA for the task?

@aigoncharov Should be able to finish this before the end of this week (had to prioritize Cloud redesign over the past few days).


Bump erlang version

I have been updating these repos by rebasing on the upstream to keep our changes localized.


Failed to compute SRP shared secret (code -2)

Hi, I have a problem with connecting to Home Kit. I'm using ESP-12E. As you can see in logs ESP can't compute SRP secret.
17:02:35.468 -> init_hap_storage>>> HomeKit: init_storage_ex size 0x1c1
17:02:35.468 -> >>> Home Integration: hap_services added chararacteristic  0: 23
17:02:35.468 -> >>> Home Integration: hap_services added chararacteristic  1: 25
17:02:35.468 -> >>> Home Integration: homekit_is_paired 0
17:02:35.468 -> >>> HomeKit: Update the CPU to run at 160MHz
17:02:35.468 -> >>> HomeKit: Free heap: 18872
17:02:35.515 -> >>> HomeKit: Starting server
17:02:35.515 -> >>> HomeKit: storage init 0
17:02:35.515 -> >>> HomeKit: Using existing accessory ID: AD:B5:A6:88:9E:0D
17:02:35.515 -> >>> HomeKit: find pairings
17:02:35.515 -> >>> HomeKit: Preinit pairing context
17:02:35.515 -> >>> HomeKit: Using user-specified password: 111-11-111
17:02:35.515 -> >>> HomeKit: Free heap: 12528
17:02:41.586 -> >>> HomeKit: Calculating public key len=384
17:02:44.697 -> >>> HomeKit: Calculating public key result 0
17:02:44.697 -> >>> HomeKit: arduino_homekit_preinit success
17:02:44.697 -> >>> HomeKit: Configuring mDNS
17:02:44.743 -> >>> HomeKit: Wifi Sleep type:2
17:02:44.743 -> >>> HomeKit: Set Wifi Sleep type :0
17:02:44.743 -> >>> HomeKit: MDNS.begin: TestLight-ADB5, IP: <IP_ADDRESS>
17:02:44.743 -> >>> HomeKit: Init server over
17:02:50.580 -> >>> HomeKit: WiFiServer receives a new client (current 0, max 8)
17:02:50.580 -> >>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:49772
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
17:02:51.648 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
17:02:51.648 -> >>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
17:03:00.652 -> !!! HomeKit: [Client<PHONE_NUMBER>] Failed to compute SRP shared secret (code -2)
17:03:00.652 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
17:04:03.671 -> >>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
17:04:08.687 -> >>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
17:04:08.687 -> >>> HomeKit: Free saved_preinit_pairing_context
17:04:08.687 -> >>> HomeKit: [Client 0] Clear the pairing context
17:04:08.687 -> >>> HomeKit: [Client 0] client content free
17:04:08.687 -> >>> HomeKit: Preinit pairing context
17:04:08.687 -> >>> HomeKit: Using user-specified password: 111-11-111
17:04:08.734 -> >>> HomeKit: Free heap: 10704
17:04:20.847 -> >>> HomeKit: Calculating public key len=384
17:04:27.132 -> >>> HomeKit: Calculating public key result 0
17:04:27.132 -> >>> HomeKit: arduino_homekit_preinit success

There is a problem of available memory (free heap)
As you can see all my examples has ~28k when started. In your case
17:02:35.468 -> >>> HomeKit: Free heap: 18872
This is not enough, check your sketch…
From: Jakub Kołodziejczyk @.>
Sent: Monday, April 5, 2021 6:08 PM
To: Yurik72/ESPHap @.>
Cc: Subscribed @.***>
Subject: [Yurik72/ESPHap] Failed to compute SRP shared secret (code -2) (#87)
Hi, I have a problem with connecting to Home Kit. I'm using ESP-12E. As you can see in logs ESP can't compute SRP secret.
17:02:35.468 -> init_hap_storage>>> HomeKit: init_storage_ex size 0x1c1
17:02:35.468 -> >>> Home Integration: hap_services added chararacteristic 0: 23
17:02:35.468 -> >>> Home Integration: hap_services added chararacteristic 1: 25
17:02:35.468 -> >>> Home Integration: homekit_is_paired 0
17:02:35.468 -> >>> HomeKit: Update the CPU to run at 160MHz
17:02:35.468 -> >>> HomeKit: Free heap: 18872
17:02:35.515 -> >>> HomeKit: Starting server
17:02:35.515 -> >>> HomeKit: storage init 0
17:02:35.515 -> >>> HomeKit: Using existing accessory ID: AD:B5:A6:88:9E:0D
17:02:35.515 -> >>> HomeKit: find pairings
17:02:35.515 -> >>> HomeKit: Preinit pairing context
17:02:35.515 -> >>> HomeKit: Using user-specified password: 111-11-111
17:02:35.515 -> >>> HomeKit: Free heap: 12528
17:02:41.586 -> >>> HomeKit: Calculating public key len=384
17:02:44.697 -> >>> HomeKit: Calculating public key result 0
17:02:44.697 -> >>> HomeKit: arduino_homekit_preinit success
17:02:44.697 -> >>> HomeKit: Configuring mDNS
17:02:44.743 -> >>> HomeKit: Wifi Sleep type:2
17:02:44.743 -> >>> HomeKit: Set Wifi Sleep type :0
17:02:44.743 -> >>> HomeKit: MDNS.begin: TestLight-ADB5, IP: <IP_ADDRESS>
17:02:44.743 -> >>> HomeKit: Init server over
17:02:50.580 -> >>> HomeKit: WiFiServer receives a new client (current 0, max 8)
17:02:50.580 -> >>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:49772
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
17:02:50.580 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
17:02:51.648 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
17:02:51.648 -> >>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
17:03:00.652 -> !!! HomeKit: [Client<PHONE_NUMBER>] Failed to compute SRP shared secret (code -2)
17:03:00.652 -> >>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
17:04:03.671 -> >>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
17:04:08.687 -> >>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
17:04:08.687 -> >>> HomeKit: Free saved_preinit_pairing_context
17:04:08.687 -> >>> HomeKit: [Client 0] Clear the pairing context
17:04:08.687 -> >>> HomeKit: [Client 0] client content free
17:04:08.687 -> >>> HomeKit: Preinit pairing context
17:04:08.687 -> >>> HomeKit: Using user-specified password: 111-11-111
17:04:08.734 -> >>> HomeKit: Free heap: 10704
17:04:20.847 -> >>> HomeKit: Calculating public key len=384
17:04:27.132 -> >>> HomeKit: Calculating public key result 0
17:04:27.132 -> >>> HomeKit: arduino_homekit_preinit success
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/87 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXLPSFZB43OYX3ORNYDTHHG6DANCNFSM42M6LIQQ .  https://github.com/notifications/beacon/AKDREXKPSIFSLYT2GAJBUT3THHG6DA5CNFSM42M6LIQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MVQSUZA.gif

Ok, it is a problem. Thanks for the help


add tf2_geometry_msgs include to distorction_filter

Description

Adding necessary include to avoid following runtime error.
[component_container_mt-2] /opt/ros/galactic/lib/rclcpp_components/component_container_mt: symbol lookup error: /home/mars/autoware-auto/autoware.proj/install/pointcloud_preprocessor/lib/libpointcloud_preprocess
or_filter.so: undefined symbol: _ZN3tf27fromMsgIN13geometry_msgs3msg10Transform_ISaIvEEENS_9TransformEEEvRKT_RT0_

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Read pull request guidelines
[x] Code follows coding guidelines
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@taichiH Could you also add tf2_geometry_msgs into package.xml?

@wep21 Thanks. I fixed it.https://github.com/tier4/AutowareArchitectureProposal.iv/pull/664/commits/ab1d52c2e4a347dba1fbac0bcec25e17a61eaa33


Job 'inventory' for xxx aborted: Job aborted due to save failure (cause=ValueError('A string literal cannot contain NUL (0x00) characters.'))

Device:
SNR-S2985G-24T#show version
  SNR-S2985G-24T Device, Compiled on Jan 13 21:16:58 2016
  sysLocation Building 57/2,Predelnaya st, Ekaterinburg, Russia
  CPU Mac f8:f0:82:77:12:79
  Vlan MAC f8:f0:82:77:12:78
  SoftWare Version <IP_ADDRESS>(R0241.0085)
  BootRom Version 7.2.25
  HardWare Version 1.0.2
  CPLD Version N/A
  Serial No.:SW067210H503000112
  Copyright (C) 2016 NAG LLC
  All rights reserved
  Last reboot is cold reset.
  Uptime is 0 weeks, 2 days, 8 hours, 12 minutes

nav-add-ons version: c5e62d2
NAV version: 5.0.6 (Uninett/nav@36819dfbcab797ec127ad490e5165cfb2285a70a)
ipdevpolld.log:
2020-09-17 17:46:12,044 [ERROR jobs.jobhandler] [inventory 192-168-98-197.internal] Caught exception during save. Last manager = DefaultManager(<class 'nav.ipdevpoll.shadows.Vlan'>, 'ContainerRepository'(...)). Last model = <class 'nav.ipdevpoll.shadows.Vlan'>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/jobs.py", line 442, in _perform_save
    manager.save()
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/storage.py", line 87, in save
    obj.save(self.containers)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 289, in save
    if (self._revert_vlan_on_type_change_to_scope(containers) or
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 349, in _revert_vlan_on_type_change_to_scope
    mdl = self.get_existing_model(containers)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 328, in get_existing_model
    if vlans:
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 254, in __bool__
    self._fetch_all()
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 1121, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 53, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
    raise original_exception
  File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
ValueError: A string literal cannot contain NUL (0x00) characters.
2020-09-17 17:46:12,047 [ERROR jobs.jobhandler] [inventory 192-168-98-197.internal] Save stage failed with unhandled error
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.7/site-packages/twisted/_threads/_threadworker.py", line 46, in work
    task()
  File "/usr/local/lib/python3.7/site-packages/twisted/_threads/_team.py", line 190, in doWork
    task()
--- <exception caught here> ---
  File "/usr/local/lib/python3.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
    result = inContext.theWork()
  File "/usr/local/lib/python3.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/usr/local/lib/python3.7/site-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python3.7/site-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/db.py", line 100, in _reset
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/db.py", line 78, in _cleanup
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/jobs.py", line 397, in complete_save_cycle
    result = self._perform_save()
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/jobs.py", line 442, in _perform_save
    manager.save()
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/storage.py", line 87, in save
    obj.save(self.containers)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 289, in save
    if (self._revert_vlan_on_type_change_to_scope(containers) or
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 349, in _revert_vlan_on_type_change_to_scope
    mdl = self.get_existing_model(containers)
  File "/usr/local/lib/python3.7/site-packages/nav/ipdevpoll/shadows/__init__.py", line 328, in get_existing_model
    if vlans:
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 254, in __bool__
    self._fetch_all()
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 1121, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 53, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
    raise original_exception
  File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
builtins.ValueError: A string literal cannot contain NUL (0x00) characters.

2020-09-17 17:46:12,048 [ERROR jobs.jobhandler] [inventory 192-168-98-197.internal] Job 'inventory' for 192-168-98-197.internal aborted: Job aborted due to save failure (cause=ValueError('A string literal cannot contain NUL (0x00) characters.'))
2020-09-17 17:46:12,051 [INFO schedule.netboxjobscheduler] [inventory 192-168-98-197.internal] inventory for 192-168-98-197.internal failed in 0:00:06.303356. next run in 0:08:41.999886.

Found Uninett/nav#2176 and Uninett/nav#2047.

Device firmware upgraded:
SNR-S2985G-24T#show version
  SNR-S2985G-24T Device, Compiled on Sep 12 14:59:03 2020
  sysLocation Building 57/2,Predelnaya st, Ekaterinburg, Russia
  CPU Mac f8:f0:82:77:12:79
  Vlan MAC f8:f0:82:77:12:78
  SoftWare Version <IP_ADDRESS>(R0241.0369)
  BootRom Version 7.2.40
  HardWare Version 1.0.2
  CPLD Version N/A
  Serial No.:SW067210H503000112
  Copyright (C) 2020 NAG LLC
  All rights reserved
  Last reboot is warm reset.
  Uptime is 0 weeks, 0 days, 22 hours, 8 minutes

Results are the same.

Device: see above
nav-add-ons version: 794dfdd
NAV version: 5.1.2 (Uninett/nav@90d9a11)
ipdevpolld.log: see above


feat: calculate the correct number of pods for custom ENIConfig

Issues:
Many issues over a few different projects related to:
#375
See also:
https://github.com/aws/amazon-vpc-cni-k8s/issues/331
https://github.com/kubernetes/autoscaler/issues/1366
https://github.com/awsdocs/amazon-eks-user-guide/pull/72
Description of changes:
This moves from using a pre-calculated file listing instance types and max-pod values, to a file containing the ENI data for each instance type (max ENIs, max IPs per ENI) and calculates MAX_PODS from those values.
It adds an option to bootstrap.sh: --using-custom-eniconfig or env variable: USING_CUSTOM_ENICONFIG which will cause the correct MAX_PODS value to be calculated.
I'm not overly precious about the naming, or the way it's been implemented so feedback, discussion, or suggestions are most welcome 😸 - I'm just trying to solve a problem that has been biting us EKS AMI users for a while without overwriting files in user-data or maintaining a separate map of values.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The ENI data file was generated with:
import requests
import json

from bs4 import BeautifulSoup

table_id = 'w297aac21c13c15b5'

response = requests.get("https://docs.aws.amazon.com/AWSEC2/latest"
                        "/UserGuide/using-eni.html#AvailableIpPerENI")

parsed_html = BeautifulSoup(response.text, features="html.parser")

table = parsed_html.find('table', attrs={'id': table_id})

rows = table.find_all("tr")

for row in rows:
    cells = row.find_all("td")
    if len(cells) < 1:
        continue
    print('{} {} {}'.format(
        cells[0].text.strip(),
        cells[1].text.strip(),
        cells[2].text.strip()))

@js-timbirkett thank you very much for your great job! Could you please solve the conflicts?

This is related to a change I recently did in the AWS CNI: aws/amazon-vpc-cni-k8s/pull/1035/
I like this approach, and the generator code can definitely output ENIs and IPs per ENI instead of the max-pods value.

@galindro @mogren - Thanks I'll take a look at sorting this out soon :)
@mogren - is the generator code in: https://github.com/aws/amazon-vpc-cni-k8s/pull/1035/files used by anything else or just to produce the file in this project?

Any update on this issue?  It would be great to have official support for custom ENIConfigs.

Just wanted to ping as well any update on this? This would be incredibly useful for a project I'm working on. Wouldn't mind helping out if needed

Hey guys, thanks for putting this together. Any updates when the AMI will be released to be used with EKS? Anytime this year yet?
In addition, will the parameter "--using-custom-eniconfig" be available to be set for eks managed node groups?

Any reason why this cannot be merged - it looks like a no-brainer from my analysis?
We are unable to move forward with Custom VPC CNI networking without this merge.

As a workaround, I added the following to the User Data startup script in the launch configuration before calling /etc/eks/bootstrap.sh (see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI for details)
INSTANCE_TYPE=$(curl --silent http://<IP_ADDRESS>/latest/meta-data/instance-type)
REGION=$(curl -s http://<IP_ADDRESS>/latest/dynamic/instance-identity/document | jq .region -r)
NICS_IPS=$(aws ec2 describe-instance-types --region $REGION --filters Name=instance-type,Values=$INSTANCE_TYPE --query "InstanceTypes[].{MaxENI: NetworkInfo.MaximumNetworkInterfaces, IPv4addr: NetworkInfo.Ipv4AddressesPerInterface}"  --output text)
if [ -n "$NICS_IPS" ]
then
MAX_PODS=$(echo $NICS_IPS|awk '{print ($2 - 1) * ($1 - 1) + 2}')
SKIP_MAX_PODS="--use-max-pods false"
MAX_PODS_KUBELET_EXTRA_ARGS="--max-pods=$MAX_PODS"
fi
/etc/eks/bootstrap.sh ... ${SKIP_MAX_PODS} --kubelet-extra-args "${MAX_PODS_KUBELET_EXTRA_ARGS}"

Please please please merge this fix, all the heavy-lifting has been done for you.

BTW why not use: https://github.com/awslabs/amazon-eks-ami/blob/master/files/max-pods-calculator.sh

@splichy is there any documentation on how max-pods-calculator.sh is supposed to work? i can't see anywhere where that would get called...

why not merge?

if you want to call the max-pods-calculator.sh on nodes using the EKS optimized AMI you can do this within the user data:
MAX_PODS=$(/etc/eks/max-pods-calculator.sh \
			--instance-type-from-imds \
			--cni-version 1.11 \
			--cni-custom-networking-enabled \
			--cni-prefix-delegation-enabled \
)

Tailor the flags to suit your needs

@M00nF1sh @jayanthvn any chance do you guys know this issue was resolved as part of another PR?

@M00nF1sh @jayanthvn any chance do you guys know this issue was resolved as part of another PR?

Hi @fawadkhaliq - This script is added to compute the correct max pods with custom networking enabled. For managed node groups, it’s going to be handled automatically as long as you upgrade to CNI 1.9.X. MNG will run execute a version of this formula and set max pods https://github.com/awslabs/amazon-eks-ami/blob/master/files/max-pods-calculator.sh. For self managed the same script can be used and that will help generate the max pods - https://docs.amazonaws.cn/en_us/eks/latest/userguide/choosing-instance-type.html and https://docs.aws.amazon.com/eks/latest/userguide/cni-increase-ip-addresses.html. The script takes into account - CNI version, custom networking enabled/disabled, prefix delegation enabled/disabled, max ENI and so on.

@jayanthvn perfect, thanks! super helpful


Improved RHEL based distributions support

Added support for CentOS 6, SL 6, RHEL 6
Install from RBEL RPMs (faster, no need to build deps), ELFF is now EOL AFAIK

Hey thanks! Have you done the integration testing on these OSes too?

XD my hair is a little bit darker I'd say. maybe the Shampoo?
BTW, tested with CentOS 5 and CentOS 6 and Ubunto. Packages are from RBEL which is RHEL/SL/CentOS 5/6 compatible so it should be fine there too as long as the regexp to detect the OS works.

Cool. I'll merge for now and include it in the next round of EC2 integration testing. If you have recommended AMIs for these OSes, please let me know.

I'd be happy to give them a try. I've been having trouble with
virtualbox since OS Lion, so my EC2 bill is a bit higher these days :(
-Mat
On Nov 9, 2011, at 5:55 AM, Sergio Rubio
<EMAIL_ADDRESS>wrote:

Thank you Mat!
Unfortunately I'm not a regular EC2 user, don't know good AMIs. I've got some good Vagrant clean templates (nochef/nopuppet) in case you are interested.

Reply to this email directly or view it on GitHub:
https://github.com/matschaffer/knife-solo/pull/6#issuecomment-2679922

Sure:
http://download.frameos.org/vagrant/?C=M;O=D
The ones with 'nochef-nopuppet' are the clean ones. You have Scientific
Linux and CentOS images there.
Let me know if you need anything else. I may have some more boxes around.


$in not returning any data

I am using the $in to return the records in the collection which match in the array used as per the Meteor documentation sample of {fruit: {$in: ["peach", "plum", "pear"]}}.
This is the line in the Meteor.publish that gets ( or in my case does not get!) the documents:
return Statements.find({_id: {$in: ["12","13"] }});
The collection has a string value in the _id field and the data is returned when used in RoboMongo (using the above find) but the Meteor.publish is not returning any data.
Any suggestions?

Looks like It does not like the _id being a simple string number!


UI breaks sometimes

Describe the bug
While debugging #58 I noticed that sometimes the UI would break (spinner misaligned to the left forever)
To Reproduce
Steps to reproduce the behavior:

Pass welcomer
Click on the header button with the label "Open" on the left side
Select a file
UI might break

Expected behavior
New file gets loaded and the main view is shown
Environment (please complete the following information):

OS: GNOME OS
Install method: Flathub

Additional context
Since the spinner wasn't aligned properly, I suspect it happens during file_set.

If it starts happening again, please comment here so I can reopen it.
Additionally, please pass the --debug arg and share the output. It would also help if you tried to resize the window to see if it will redraw it correctly.


Intrapipeline Queueing

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:7289124e42cd12abf633e28414da14af32c6933b

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:a83c2b633959fbc6dc9a3a21f6d93ba262dff414

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:f32a6af548ee36e54849d00cad83827d7b6ce31a

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:1bb898c7cab7f34c6e85639ea0e589f63f8f80a3

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:b8b9da52060b7eb8d5718d2c5f9ded3f933563fe

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:40652b7507305c07ebbeb1f73f96659cac98c0ca

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:343b8e98cd5a740e63cde1f7f33d02cdda49d5d3


Precompile bootstrap

Precompile the static/bootstrap.less file and ship a static/bootstrap.css instead.
This shaves ~10ms off of startup since the less import cache checks aren't run and the file system is only hit once for the .css file instead of 10 times for all the bootstrap imports.

@simurai and @benogle it should be fine to just ship bootstrap.css right? It didn't look like tweaking the bootstrap variables via a theme was currently supported.

Yes, I'm not aware of a way to change Bootstrap's variables from themes. So precompiling is a good idea.


Check mountpoints exist on the host early

If a mountpoint doesn't exist on the host, the backend
will fail to mount it and results in an ugly error
from the backend:
$ fakemachine -v /null
qemu-system-x86_64: -virtfs local,mount_tag=virtfs-5,path=/null,security_model=none: cannot initialize fsdev 'virtfs-5': failed to open '/null': No such file or directory
fakemachine: error starting kvm backend: <nil>

Check if a mountpoint exists before attempting to start
the backend.
Signed-off-by: Christopher Obbard<EMAIL_ADDRESS>

Also rebase on latest and add some tests please for the various situations ;)

bors r+


Extend test of link bias acceleration

I just wanted to make sure that the calculation needed by @xela-95 were correct. Apparently they are, and I took advantage of this check to extend the test.

📚 Documentation preview 📚: https://jaxsim--185.org.readthedocs.build//185/

I just wanted to make sure that the calculation needed by @xela-95 were correct. Apparently they are, and I took advantage of this check to extend the test.

Thanks!!

can we think about adding also the test for the mixed representation

I don't want to dedicate additional effort towards this now. Merging without mixed.


Add v19.2.0-rc.4 release notes

Fixes #5798.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d99685a43e5759700344bc6c487e9f6d3549cee7/
Edited pages:

releases/v19.2.0-rc.4.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/884de0ac9bfe43a53c4556f254486517121cf19c/
Edited pages:

releases/v19.2.0-rc.4.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/67d2771c7f066154af00261f9782a7c73905a07b/
Edited pages:

releases/v19.2.0-rc.4.md


Updated buttons

regenerated buttons to have smoother borders
added unlock-ring.png

can you please put the unlock ring in the uui.png instead of the disabled texture?

preferably in a new review that does not have submodule problems

preferably in a new review that does not have submodule problems

Yes, i'll create a new PR. But I 've got not shown any problems, when i created thus PR.


Need some help please

Can you please point out where can I find the GT for KITTI RAW data .
Much appreciated,
Thank you.

https://www.cvlibs.net/datasets/kitti/eval_depth.php?benchmark=depth_prediction

Thank you. Much appriciated


Rename organization and website

Adding more content "borrowed" from CSCI 1302 means this organization needs to be renamed.
Steps:

[ ] Find a "better" name (that does not tie this resource to a course number or even to a specific place),
[ ] Rename the organization,
[ ] Make sure the website is deployed on the new url,
[ ] Make sure there are no dead-links,
[ ] Check if github redirect the traffic automatically.

Renaming the organization seems easy: https://docs.github.com/en/organizations/managing-organization-settings/renaming-an-organization

Another organization has been created (cf. https://github.com/csci-1301/csci-1301.github.io/issues/165 ) and this one will remains "for all CSCI 1301 things".


array string in list

Hello,
When a message contain a list as json, this one is well formatted, here is the result :
    "contacts": {       "array": [         {           "name": "Henri Duflot",           "email"<EMAIL_ADDRESS>          "phone": ""         }       ]     },
I would have this result, is there a way to add an option to remove "array" string and obtain it ?
    "contacts": [         {           "name": "Henri Duflot",           "email"<EMAIL_ADDRESS>          "phone": ""         }       ]     ,
Thanks for your answer

Do we have any updates regarding this?


nixos/postgresqlBackup: add compressionRsyncable option

Description of changes
This option will make it easier to create backups of these files using tools like Borg.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

@ofborg eval

@SuperSandro2000 @rycee @roberth @mweinelt
Kindly asking for review, as you were the last ones to commit/merge changes for this module.
I have added myself as a maintainer for this module now!

Hey hey, looks good to me. Honestly, I think it may be worth omitting the option and simply always adding --rsyncable for supported compression tools. Can always add it later, if somebody complains.

Hey hey, looks good to me. Honestly, I think it may be worth omitting the option and simply always adding --rsyncable for supported compression tools. Can always add it later, if somebody complains.

Would be fine by me. I use this module primarily for a Synapse database, and adding --rsyncable adds about 2% in size to the final file. So I would say it's a good trade-off.

Not sure if this is minor enough for a 23.11 backport

Thanks, looks good 🙂
I would say it's OK to backport but I would suggest first waiting at least a week or so to see if any complaints arise.


[Service Bus] Respect TryTimeout when opening next available session link

The service hardcodes a max of 1 minute and 5 seconds when accepting a session. This means the TryTimeout that the user specifies in the client is ignored if they specify a value higher than this. We should specify the timeout property in the link settings properties when opening a link for next available session to support long polling. In the .NET library, we've found that using long polling results in better resource usage and avoids CPU spikes.
.NET fix - https://github.com/Azure/azure-sdk-for-net/pull/30963

Addressed in 7.13.3 https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/servicebus/azure-messaging-servicebus/CHANGELOG.md#7133-2023-03-07


MOVE TRANSITION: Solve seamlessly transitioning to different aspect ratio images

This is done in the new react implementation.


Limit final comments to 500 characters or so

It would be great if the final comments are limited in length, to keep people from using this field to type out their life story...
Low priority tho

Should be 1,000 words. Also applies to Ethical considerations (p 1).


Avoid integer overflow in ByteBuf.ensureWritable

Motivation:

To make ensureWritable throw IOOBE when maxCapacity is exceeded, even if
the requested new capacity would overflow Integer.MAX_VALUE

Modification:

AbstractByteBuf.ensureWritable0 is modified to detect when
targetCapacity has wrapped around
Test added for correct behaviour in AbstractByteBufTest

Result:

Calls to ensureWritable will always throw IOOBE when maxCapacity is
exceeded (and bounds checking is enabled)

@netty-bot test this please.
@mkavanagh can you please sign our ICLA and let us know once done ?
https://netty.io/s/icla

I've updated the AbstractByteBuf test to account for the cases where writerIndex is set to the end of the buffer (sliced and wrapped bytebufs)

@netty-bot test this please


DRAFT closes #104 Datasets Unit Tests

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

Hello - is this going to be continued?  I will close it if not??

Hi, Sorry I have not had chance to come back to this. This one can be closed as was a test and there is no real updates here to be merged.


Support audio playback

Audio playback also should be supported in Exponent as with video play.

Found this one: https://github.com/brentvatne/play-sounds

We're working on this! Should be available in one of the next SDKs

Basic audio support was released with SDK 14, and we plan to continue expanding the feature set.


android added isSupported method;

All android versions supports pm.setComponentEnabledSetting() method.
that's why isSupported method should return always true

Out of curiosity since I know some people have reported issues with this plugin working on Android. @qliqdev What device/sim are you using?

@johnborges i'm using Pixel Pro 6 Api 33 simulator
Should i test it in API level 23?

Up to you. I was just curious.


tui-rs is dead, long live tui-realm

As I recently discovered, tui-rs is dead https://github.com/fdehau/tui-rs/issues/654 ⚰ and as you probably know tui-realm totally relies on it.
What's my position about that?

tui-realm is still core to many of my active projects, such as termscp and tuifeed, so there's no way I can abandon it.
From my perspective, the latest version is TOTALLY satisfying for the purpose of this library and it seems there's nothing missing to tui-rs for what it is used for.

So basically, tui-realm is ALIVE and HEALTHY as a project and I'm not abandoning it even if tui-rs is dead.
tui-rs is totally reliable and accomplishing what is meant for in the tui-realm environment.
So what?
Basically there are three options from my perspective:

Keep using the latest version of tui-rrs
See whether someone is really MAINTAINING the project in a fork and start using it (I'm really not confident with it. 90% of forks claiming they're the current maintainer of a dead project, become a dead project after a few commits). Currently there is this promising fork https://github.com/tui-rs-revival/tui-rs-revival and I could see whether I've got time to work on it.
embedding tui-rs into realm and maintaining it: this is surely an option, but would take some time.

At the moment, I would opt for option 1 and in the future consider option 2. Option 3 is the last resort in case no fork is maintained and the library dependencies starts to become obsolete.

Hi @veeso, on behalf of the tui-rs-revival community (names are temporary), I'd like to invite you to join us and help revive the project. A lot of people showed up in our discord, and we're currently figuring out the organisational details. I think people in the community would like to have you onboard, and maybe have a separate channel to discuss things related to tui-realm. I also think your involvement would add a lot of value in any discussions related to tui-rs. Here's the invite link: https://discord.gg/pMCEU9hNEj

asd
asd
asd
asd
asd
asd
asd
asd

As a follow up - the fork mentioned (which is now known as Ratatui seems reasonably healthy so far. Here's out changelog since taking over the project:
Changelog
All notable changes to this project will be documented in this file.
[unreleased]
Features

(block) Support for having more than one title (#232)
(terminal) Expose 'swap_buffers' method
(text) Add FromIterator<StyledGrapheme> for Line
(text) Add Line::styled() and Line.styled_graphemes()
(wrap) Reimplement char-boundary wrapping implementation for Line
(wrap) Add truncator wrapping for Line
(uncategorized) Add scrollbar widget (#228)

Bug Fixes

(examples) Correct progress label in gague example (#263)
(layout) Cap Contstraint::apply to 100% length (#264)
(typos) Configure typos linter (#233)
(uncategorized) Remediate lifetime and Cow issues in Line
(uncategorized) Revert removal of WTFPL from deny.toml (#266)

Refactor

(ci) Simplify cargo-make installation (#240)
(text) Reorganize text module items into their own files
(wrap) Implement wrap/trim changes from #193 [breaking]

Documentation

(lib) Add tui-term a pseudoterminal library (#268)
(lib) Fixup tui refs in widgets/mod.rs (#216)
(lib) Add backend docs (#213)
(readme) Remove duplicated mention of tui-rs-tree-widgets (#223)
(uncategorized) Fix scrollbar ascii illustrations and calendar doc paths (#272)
(uncategorized) README tweaks (#225)
(uncategorized) Add CODEOWNERS file (#212)
(uncategorized) Update README.md and add hello_world example (#204)

Styling

(comments) Set comment length to wrap at 100 chars (#218)
(config) Apply formatting to config files (#238)
(manifest) Apply formatting to Cargo.toml (#237)
(uncategorized) Reformat imports (#219)

Testing

(uncategorized) Add benchmarks for paragraph (#262)

Miscellaneous Tasks

(ci) Bump cargo-make version (#239)
(ci) Enable merge queue for builds (#235)
(ci) Integrate cargo-deny for linting dependencies (#221)
(commitizen) Add commitizen config (#222)
(demo) Update demo gif (#234)
(demo) Update demo gif with a fixed unicode gauge (#227)
(github) Simplify the CODEOWNERS file (#271)
(github) Add pull request template (#269)
(github) Fix the syntax in CODEOWNERS file (#236)
(uncategorized) Add doc comment description to StyledGrapheme
(uncategorized) Lint and doc cleanup (#191)

Build

(deps) Upgrade bitflags to 2.3 (#205) [breaking]

Continuous Integration

(uncategorized) Add feat-wrapping on push and on pull request ci triggers (#267)
(uncategorized) Add code coverage action (#209)

v0.21.0 - 2023-05-28
Features

(backend) Add termwiz backend and example (#5)
(block) Support placing the title on bottom (#36)
(border) Add border! macro for easy bitflag manipulation (#11)
(calendar) Add calendar widget (#138)
(color) Add FromStr implementation for Color (#180)
(list) Add len() to List (#24)
(paragraph) Allow Lines to be individually aligned (#149)
(sparkline) Finish #1 Sparkline directions PR (#134)
(terminal) Add inline viewport (#114) [breaking]
(test) Expose test buffer (#160)
(text) Add Masked to display secure data (#168) [breaking]
(widget) Add circle widget (#159)
(widget) Add style methods to Span, Spans, Text (#148)
(widget) Support adding padding to Block (#20)
(widget) Add offset() and offset_mut() for table and list state (#12)

Bug Fixes

(canvas) Use full block for Marker::Block (#133) [breaking]
(example) Update input in examples to only use press events (#129)
(uncategorized) Cleanup doc example (#145)
(reflow) Remove debug macro call (#198)

Refactor

(example) Remove redundant vec![] in user_input example (#26)
(example) Refactor paragraph example (#152)
(style) Mark some Style fns const so they can be defined globally (#115)
(text) Replace Spans with Line (#178)

Documentation

(apps) Fix rsadsb/adsb_deku radar link (#140)
(apps) Add tenere (#141)
(apps) Add twitch-tui (#124)
(apps) Add oxycards (#113)
(apps) Re-add trippy to APPS.md (#117)
(block) Add example for block.inner (#158)
(changelog) Update the empty profile link in contributors (#112)
(readme) Fix small typo in readme (#186)
(readme) Add termwiz demo to examples (#183)
(readme) Add acknowledgement section (#154)
(readme) Update project description (#127)
(uncategorized) Scrape example code from examples/* (#195)

Styling

(apps) Update the style of application list (#184)
(readme) Update project introduction in README.md (#153)
(uncategorized) Clippy's variable inlining in format macros

Testing

(buffer) Add assert_buffer_eq! and Debug implementation (#161)
(list) Add characterization tests for list (#167)
(widget) Add unit tests for Paragraph (#156)

Miscellaneous Tasks

(uncategorized) Inline format args (#190)
(uncategorized) Minor lints, making Clippy happier (#189)

Build

(uncategorized) Bump MSRV to 1.65.0 (#171)

Continuous Integration

(uncategorized) Add ci, build, and revert to allowed commit types

Contributors
Thank you so much to everyone that contributed to this release!
Here is the list of contributors who has contributed to ratatui for the first time!

@kpcyrd
@fujiapple852
@BrookJeynes
@Ziqi-Yang
@Xithrius
@lesleyrs
@pythops
@wcampbell0x2a
@sophacles
@Eyesonjune18
@a-kenji
@TimerErTim
@Mehrbod2002
@thomas-mauran
@nyurik

v0.20.1 - 2023-03-19
Bug Fixes

(style) Bold needs a bit (#104)

Documentation

(apps) Add "logss" to apps (#105)
(uncategorized) Fixup remaining tui references (#106)

Contributors
Thank you so much to everyone that contributed to this release!

@joshka
@todoesverso
@UncleScientist

v0.20.0 - 2023-03-19
This marks the first release of ratatui, a community-maintained fork of tui.
The purpose of this release is to include bug fixes and small changes into the repository thus no new features are added. We have transferred all the pull requests from the original repository and worked on the low hanging ones to incorporate them in this "maintenance" release.
Here is a list of changes:
Features

(cd) Add continuous deployment workflow (#93)
(ci) Add MacOS to CI (#60)
(widget) Add offset() to TableState (#10)
(widget) Add width() to ListItem (#17)

Bug Fixes

(ci) Test MSRV compatibility on CI (#85)
(ci) Bump Rust version to 1.63.0 (#80)
(ci) Use env for the cargo-make version (#76)
(ci) Fix deprecation warnings on CI (#58)
(doc) Add 3rd party libraries accidentally removed at #21 (#61)
(widget) List should not ignore empty string items (#42) [breaking]
(uncategorized) Cassowary/layouts: add extra constraints for fixing Min(v)/Max(v) combination. (#31)
(uncategorized) Fix user_input example double key press registered on windows
(uncategorized) Ignore zero-width symbol on rendering Paragraph
(uncategorized) Fix typos (#45)
(uncategorized) Fix typos (#47)

Refactor

(style) Make bitflags smaller (#13)

Documentation

(apps) Move 'apps using ratatui' to dedicated file (#98) (#99)
(canvas) Add documentation for x_bounds, y_bounds (#35)
(contributing) Specify the use of unsafe for optimization (#67)
(github) Remove pull request template (#68)
(readme) Update crate status badge (#102)
(readme) Small edits before first release (#101)
(readme) Add install instruction and update title (#100)
(readme) Add systeroid to application list (#92)
(readme) Add glicol-cli to showcase list (#95)
(readme) Add oxker to application list (#74)
(readme) Add app kubectl-watch which uses tui (#73)
(readme) Add poketex to 'apps using tui' in README (#64)
(readme) Update README.md (#39)
(readme) Update README.md (#40)
(readme) Clarify README.md fork status update
(uncategorized) Fix: fix typos (#90)
(uncategorized) Update to build more backends (#81)
(uncategorized) Expand "Apps" and "Third-party" sections (#21)
(uncategorized) Add tui-input and update xplr in README.md
(uncategorized) Add hncli to list of applications made with tui-rs (#41)
(uncategorized) Updated readme and contributing guide with updates about the fork (#46)

Performance

(layout) Better safe shared layout cache (#62)

Miscellaneous Tasks

(cargo) Update project metadata (#94)
(ci) Integrate typos for checking typos (#91)
(ci) Change the target branch to main (#79)
(ci) Re-enable clippy on CI (#59)
(uncategorized) Integrate committed for checking conventional commits (#77)
(uncategorized) Update rust-version to 1.59 in Cargo.toml (#57)
(uncategorized) Update deps (#51)
(uncategorized) Fix typo in layout.rs (#619)
(uncategorized) Add apps using tui

Contributors
Thank you so much to everyone that contributed to this release!

@orhun
@mindoodoo
@sayanarijit
@Owletti
@UncleScientist
@rhysd
@ckaznable
@imuxin
@mrjackwills
@conradludgate
@kianmeng
@chaosprint


checks: mons, osds: do not collocate

A warning for:

collocating a mon and an osd in the same host

And errors for:

two monitors on the same host (!) https://bugzilla.redhat.com/show_bug.cgi?id=1313935

[x] collocated mon and osd
[ ] two monitors on the same host

seems like we already warn on more than one monitor on the host, but we say it is "multiple mon dirs found", and this ticket wanted to make that condition an error.
Should we update this to error and change the messaging to complain about this?


EAGLE-141  fix some unit testing exception which is thrown within annoymous class

Updated test cases having anonymous class throwing exception.

@yonzhang


node.reduce?

In many cases, I need to summarize or aggregate levels with calculations other than sum and count.   While this is fairly easy now with the new d3v4 eachAfter() functionality, would there be a use case for some more generalized form of hierarchy.sum and hierarchy.count?  I envision something like this unoptimized function that acts much like reduce.
export default  function (f, valuef, name) {
      return this.eachAfter(function(node) {
        var children = node.children,
          values;
        if(children && children.length) {
          values = children.map(function(d){return d[name]});
        } else {
          values = [valuef(node)];
        }
        var agg = f(values);

        node[name] = agg;
      });
    }

Here is an example.

A node.reduce method would be welcome, following the same API pattern as array.reduce.

Ok, I hope to get to this over the next couple of days.  I'll also say thank you one more time for your generous and exceptional efforts with d3 and other packages!

Little more than a couple of days, but I am getting to this.  Should the node.reduce() assign to node.value as is done with node.sum() line?
In my original example, I had an argument for name used for the object key where we assign the result.
Do you have a preference?

Yes, I would have it assign to node.value. (node.count does this as well.)

A question is what to do with initialValue (which would be aggregated from each branch).
Wouldn't it be nice also to have:

node.map()

(currently doing node.descendants().map(d => d.data).map(myFunction))

node.nodes()

alias of node.descendants()

node.length

alias of node.descendants().length

Closing to inactivity.


[DerivedFields] PR1 - DerivedFieldScript and query execution logic

Description
Derived Fields PR1:
Contains building block logic for  DerivedFields -

DerivedFieldScript factory: This script factory will be used to execute scripts defined against derived fields of any type.
DerivedFieldValueFetcher: The value fetcher contains logic to execute script and fetch the value in form of List<Object>. It expects DerivedFieldScript.LeafFactory as an input and sets the contract with consumer to call setNextReader() whenever a segment is switched.
DerivedFieldQuery: This query will be used by any of the derived fields. It expects an input query and DerivedFieldValueFetcher. It uses 2-phase iterator approach with approximation iterator set to match all docs. On a match, it creates a lucene MemoryIndex for a given doc, fetches the value of the derived field from _source using DerivedFieldValueFetcher and executes the input query against.

This PR doesn't address any integration and is a standalone PR which will be used by subsequent PRs (https://github.com/opensearch-project/OpenSearch/pull/12808, https://github.com/opensearch-project/OpenSearch/pull/12569, )
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/12508

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] ~Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
[ ] ~Public documentation issue/PR created~

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

the check is failing because of known flaky test - https://github.com/opensearch-project/OpenSearch/issues/11688#issuecomment-1872335556

The codecov/patch check will get covered on subsequent commits.


bazel: download arm64 Go SDK

So we can do cross-compilation on macOS hosts.
If there's a way to only do this if we're on a macOS host, please let me know.
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

wierd failure:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 1429: invalid continuation byte

i think its in a dependency - seems like non-utf8 file somewhere afaict


Add mypy job to lint workflow

Try rebasing your branch to resolve the confict.  and then do a force push.
First do a git fetch upstream
then git rebase -i upstream/master
And then it will prompt you to resolve conflicts and commit the changes.


chore(deps): update to latest version of wasmtime

Upgrade to wasmtime 18.0. Starting from this release, the wasi-cap-std-sync has been moved into the wasi-common crate.
The code has been adapted to reflect this change.

As usual, once merged we need to bump the version of the wasmtime provider crate and tag a new release.
CC @jsoverson @pkedy

@flavio https://crates.io/crates/wasmtime-provider/1.15.0


Ensure the same ByteBufAllocator is used in the EmbeddedChannel when …

…compress / decompress. Related to [#5294]
Motivation:
The user may specify to use a different allocator then the default. In this case we need to ensure it is shared when creating the EmbeddedChannel inside of a ChannelHandler
Modifications:
Use the config of the "original" Channel in the EmbeddedChannel and so share the same allocator etc.
Result:
Same type of buffers are used.

@Scottmitch @nmittler @dschobel PTAL...

lgtm.
Does http-codec's HttpContentCompressor need the same fix because of the
allocation in its MessageToByteEncoder?

will check

lgtm ... ping after HttpContentCompressor investigation.

Also investigate DelegatingDecompressorFrameListener

@trustin @Scottmitch @dschobel PTAL again... I just added another constructor to EmbeddedChannel so I could share code more easily.

lgtm

LGTM

Cherry-picked into 4.0 (5b1ee83) and 4.1 (844976a).


Version 1.5.231 release breaks Microsoft AppCenter.Start() calls which depends on sqlite-net-pcl nuget

I believe that a SqliteConnectAsync constructor was removed that AppCenter.Start() depends on.  An exception is raised as a result.

Can you give me a repro on how to see the error? Sorry I'm not familiar with what AppCenter is doing...

Just add the AppCenter nugets to a project, and in your App.Xaml.cs, OnStart() method, after base.OnStart():
AppCenter.Start("android=YourAndroidSecret;" +
"uwp=YourUWPSecret;" +
"ios=YouriOSSecret;",
typeof(Analytics), typeof(Crashes), typeof(Push));
and you will receive an sqlite exception.

Return-Path<EMAIL_ADDRESS>Received: from o3.sgmail.github.com (o3.sgmail.github.com [<IP_ADDRESS>]) by sm11.internetmailserver.net with SMTP
(version=TLS\Tls12
cipher=Aes256 bits=256);
Wed, 12 Sep 2018 11:38:49 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=cDDv72nySfg23S+stLAW8kBxKDs=; b=fWCPstP/J9MaCwci
yWCJP/C0FsVmejbpLFlWSy1L+ShRl6/qaiVGZ4hcQ8Et4RZ0cXLuehiP1kETqoV7
xd2/gKpl1d1qxGtPu+n4yS5vetTQGNOJCawgF+BMVmwr0Q7Chx6d2kDND81rluGL
ZQk6aMj2YVc9s0eRoYOGubckBbo=
Received: by filter1554p1mdw1.sendgrid.net with SMTP id filter1554p1mdw1-30599-5B995D34-D
2018-09-12 18:38:44.766469558 +0000 UTC m=+508039.482819826
Received: from github-lowworker-05ceafd.cp1-iad.github.net (unknown [<IP_ADDRESS>])
by ismtpd0011p1iad2.sendgrid.net (SG) with ESMTP id I-DgAMglTzKyoynVb8Ib4g
for<EMAIL_ADDRESS>Wed, 12 Sep 2018 18:38:44.801 +0000 (UTC)
Received: from github.com (localhost [<IP_ADDRESS>])
by github-lowworker-05ceafd.cp1-iad.github.net (Postfix) with ESMTP id AFE8A46147F
for<EMAIL_ADDRESS>Wed, 12 Sep 2018 11:38:44 -0700 (PDT)
Date: Wed, 12 Sep 2018 18:38:44 +0000 (UTC)
From: "Frank A. Krueger"<EMAIL_ADDRESS>Reply-To: praeclarum/sqlite-net<EMAIL_ADDRESS>To: praeclarum/sqlite-net<EMAIL_ADDRESS>Cc: Jim McCurdy<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [praeclarum/sqlite-net] Version 1.5.231 release breaks Microsoft
AppCenter.Start() calls which depends on sqlite-net-pcl nuget (#751)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5b995d34ad6b9_77d43fef26cd45c48422dd";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: praeclarum
X-GitHub-Recipient: jimmccurdy
X-GitHub-Reason: author
List-ID: praeclarum/sqlite-net <sqlite-net.praeclarum.github.com>
List-Archive: https://github.com/praeclarum/sqlite-net
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AIH10_lJd3U8HiPtblJCTJ6c6W-zN2a2ks5uaVS0gaJpZM4WihkK
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-SG-EID: gYbF8VfXuktd+eVphmap8PmeneYsl6m1eMjAhDb06mbNupJTPXhnxSnBKOsvLJorwkPXzzyPsxUMck
TteyDZASmY735b/toZI6U2FWdBrieHB8sXiVQrlgv7BJ7tJwyjDHh/tI+MaPQsuv5hp+sk24V8xYHk
+rYKvzs75M7pFlC1/8lQ2VkAjge0q1zXsCoA6b4EBCX1Fqkres76xB1Mt6n/3T9vLFgvIdkcZ2wgR6
Fd0RmcIZ67PYbXDSnppZ+2
X-SmarterMail-Spam: SPF_Pass, ISpamAssassin 0 [raw: 0], SpamAssassin 0 [raw: 0], DK_None, DKIM_Pass
X-SmarterMail-TotalSpamWeight: -4
Can you give me a repro on how to see the error? Sorry I'm not familiar with what AppCenter is doing...

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello @jimmccurdy !
I use AppCenter and I wanto to upgrade SQLLite.
Did you found a solution ?

No, but praeclarum did reach out to me, so I am hopeful that a fix is forthcoming.
On Fri, Sep 14, 2018 at 1:13 PM -0400, "leowsouza"<EMAIL_ADDRESS>wrote:
Hello @jimmccurdy !
I use AppCenter and I wanto to upgrade SQLLite.
Did you found a solution ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I also have this issue - can I do anything to help?


Slider fix

Pull Request Test Coverage Report for Build 1783

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 42.226%

Files with Coverage Reduction
New Missed Lines
%

pages/Product/components/ImageSlider/index.jsx
1
0.0%

Totals

Change from base Build 1782:
0.0%

Covered Lines:
1513

Relevant Lines:
3446

💛  - Coveralls


fix: Show archived classes in permissions UI [PT-188564811]

This removes the server-side filtering of archived classes and adds the is_archived attribute to the returned class list.  A new column called "Class Status" has been added to the class list when a teacher in selected in the permissions UI.  This new column shows "Archived" if the class is archived and "Active" is it is not.

I did a search of rigse and a search of GitHub at the start and I didn't find any other users.

Its only api/v1/classes that changes.  Previously the archived classes were not included, now they are along with the is_archived flag.

From what I can tell this is changing api/v1/teachers/:id/classes not api/v1/classes, but I must be missing something.

@scytacki You are right.  I just searched again using the following searches and found no other users:

TEACHER_CLASSES (set in the JavaScript variable Portal.API_V1.TEACHER_CLASSES)
classes_api_v1_teacher_path (within the portal)
/api/v1/teachers

I've put it up on staging for QA.


[DST] Monitors & Announcements

Describe the problem you are facing
Describe the solution you'd like
Monitor Partitioning & Announcement Routing
Alternatives you've considered
Additional context

https://p-org.github.io/P/manual/monitors/
https://p-org.github.io/P/manual/statements/?h=announce#raise

Question

Algorithm

more information is here  - issue 268


Feature/back-btn-#264

Please email me<EMAIL_ADDRESS>Will add you to the contributor list


Feat bump to new backend plugin

🚨 Proposed changes

Please review the guidelines for contributing to this repository.

New Backend system
⚙ Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply

[x] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Refactor

This is not module for gitlab plugin, so it would make sense to remove moduleId and use just
pluginId: 'gitlab-backend',

Or better said, plugin is this gitlab-backend
Than there should be separate one, for example catalog-backend-module-gitlab-processor which would just register processor using catalogs extension point
https://backstage.io/docs/backend-system/architecture/modules#a-practical-example


When in NoModule mode, multiple public module IDs crash the linker

I haven't reproduced this, but I know it because I have written the code :P
@sjrd, IIRC, we have agreed that the best behavior here is to simply ignore any public module ID when emitting to NoModule kind. An alternative would be to reject more than one module when in NoModule mode (arguably the more conservative choice).
In any case, this needs to be fixed, because the condition must not crash the linker.

I suggest rejecting for now. And if people complain, we can always make it more lenient in the future.


Bug : Upload to folder with "_"

Step 1 : Mount Your s3 "Im using digitaloceanspaces"
Step 2 : Create folder like "_archives"
Step 3 : Upload a file.
After a 15 min, the file dissapears and appears two folders
__archives
_archives
The "__archives" contain the file uploaded, "_archives" no
My setup is :
Fedora 27 Running Lamp
Nextcloud With Local Folder using "Goofys" to digitaloceanspaces.

could you upload the output with --debug_s3 --debug_fuse?


What should be the structure of the bucket file?

Could you provide an example bucket file?
Reference:
https://github.com/NovelAI/novelai-aspect-ratio-bucketing/blob/6e977c5475c0fbe0768aaa3da41906e02628ed3b/bucketmanager.py#L13

Dict[int, Tuple(int, int)] mapping a dataset ID to a (width, height) tuple.


[eCBIS] Initial sync is taking too long

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Install the app afresh or clear data on your app.
Make sure the device is connected to the internet.
Enter the app ID, username and password, and set PIN.
Observer the sync speed. It takes awhile for the sync to complete.

Expected behavior
Sync should take only a few moments to complete and load registers.
Smartphone (please complete the following information):
On the Grand60 devices (2GB RAM) sync time - 15-30min. The CHA app is taking longer.- device used in the field.
On a Xiaomi (8GB RAM) - sync time is about 5 minutes. (Not the ideal device)
On a Samsung s9 (4GB RAM) sync time - is about 1 hr to sync data on the CHA app.
Additional context
Add any other context about the problem here.

Linked to this ticket

APK:quest-v0.1.9-ecbis-rc4-preview.apk

Samsung A10 RAM 4GB + Sync on the CHSS device taking too long after login. (sync time  40 minutes)

Update with 0.1.9rc4

[ ] The sync considerably slows done when a number of people are syncing at the same time.

Devices: 4GB RAM android 9 and 11 devices.
Apk : quest-v0.1.9-ecbis-rc4-preview.-p2p-revert.apk

Sync not completing on CHSS - One has to close the app and log back in for sync to show as complete.
When you follow step one above, there is no Data showing on the CHSS app (see screenshots below.)
CHA is taking 54 minutes.

@AnnieMungai I am linking these issues and adding them to the QA column. https://github.com/opensrp/fhircore/issues/2051

@AnnieMungai
App:  https://github.com/opensrp/fhircore/releases/tag/v0.2.3-rc1
Blu G60  3GB RAM 64GB ROM android 9 -- CHA
Blu G60 3GB RAM 64GB ROM android 9 -- CHSS
observations:

Internet speed 5.2 mbps
CHA device took 5 minutes 20 seconds
CHSS device took 5 minutes 30 seconds

Closing this as it is an improvement from the past. Will continue testing with each release for performance improvements.


return UserName from external login provider

return UserName from external login provider so that user could create account without refill
the UserName field

Thanks 👍


multiple package sorting doesn't work

Hello,
When there's multiple package detected for HP or Microsoft, it's using this code to sort which one to take:

						If ($PackageList -eq $null) {
									# Fall back to select the latest model type match if no model name match is found
									$PackageList = $PackageList | Sort-object -Property SourceDate -Descending | Select-Object -First 1
								}
							} elseif ($ComputerManufacturer -match "Hewlett-Packard|HP") {
								# Determine the latest BIOS package by creation date
								$PackageList = $PackageList | Sort-Object -Property PackageCreated -Descending | Select-Object -First 1

							} elseif ($ComputerManufacturer -match "Microsoft") {
								$PackageList = $PackageList | Sort-Object -Property PackageCreated -Descending | Select-Object -First 1

Problem is to sort, it's using "PackageCreated" which isn't part of the array. We should use the SourceDate like any other model (why the change?).
Alsso, the comment on the first sort isn't right, it says it's sorting to the latest model type match but in fact, it's sorting to the latest package match (there's a difference).

See my post about the same issue.  I have found the issue and it's an easy fix


[Predictions]: CallBack doesn't return in convert() when URLError occurs

Describe the bug
Using provisioned AWS Transcribe resource in an unsupported region and call Amplify.Predictions.convert(), CallBack which contains error message doesn't return.
To Reproduce
Steps to reproduce the behavior:

Create a Predictions Sample App
Follow https://docs.amplify.aws/lib/predictions/transcribe/q/platform/ios to provision AWS Transcribe resource in eu-west-2 region
Call Amplify.Predictions.convert() to transcribe an audio file
The call back is not returning (neither success case nor failure case)

Expected behavior
Failure message should be returned
Environment(please complete the following information):

Amplify Framework Version: 1.0.4
Dependency Manager: Cocoapods
Swift Version : 5.0

Device Information (please complete the following information):

Device: Simulators
iOS Version: iOS

This might not be an issue anymore:

Amazon Transcribe is now available in four more regions according to this link
Backend resource fail to be provisioned in the rest of unsupported regions.

I tried to provision backend in unsupported region.
eu-north-1(Stockholm)
amplify init fails by showing up error message:
CREATE_FAILED      predictionstranscription4509dade        AWS::CloudFormation::Stack Wed Nov 11 2020 22:46:47 GMT-0800 (Pacific Standard Time) Template error: Unable to get mapping for RegionMapping::eu-north-1::transcription

Resource is not in the state stackUpdateComplete
An error occurred during the push operation: Resource is not in the state stackUpdateComplete

as-south-1(Cape Town), eu-south-1(Milan)
amplify push fails by showing up error message like:
An error occurred when creating the CloudFormation stack
 Unable to get mapping for RegionMapping::ap-northeast-3::transcription
✖ Root stack creation failed
init failed
InvalidClientTokenId: The security token included in the request is invalid.
    at Request.extractError (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/protocol/query.js:50:29)
    at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:688:14)
    at Request.transition (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:690:12)
    at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
  code: 'InvalidClientTokenId',
  time: 2020-11-12T16:52:33.854Z,
  requestId: '618c66b4-b147-4c36-9836-319869be963d',
  statusCode: 403,
  retryable: false,
  retryDelay: 49.850930757515414
}

On the time(07/29/2020) when I created this issue, provisioning AWS Transcribe backend resource in unsupported region was successful. But it fails now, for example in eu-north-1(Stockholm) region.
What I tried out is to provision Auth in eu-north-1(Stockholm) and put predictions configuration info in amplifyconfiguration.json, I can see Connection 1: received failure notification, Connection 1: failed to connect 12:8, reason -1 and Connection 1: encountered error(12:8) printed out when calling Amplify.Predictions.convert()
I don't quite remember what message I saw four months ago. But I guess these messages might also showed up at that time.

Released in 1.5.1


[WIP] Merge assigns

compiles now and adds the right edges (eyeball verified TM) but still have to delete all the edges which is hard.

nvm, deleting edges was easy.

Will wait for some tests before merging.

Some odd stack overflows to debug on this branch.

Ready for review

oops, forgot to squash and merge.


Support filtering todos by their status

Implement an api/todos?status=complete (or incomplete) endpoint which lets you filter the todos and only return the complete (or incomplete) ones
Note that the "database" stores the status as a boolean, but the endpoint uses "complete" and "incomplete". You'll have to implement the (simple) logic that transforms the endpoint "language" into the database terminology.

This issue needs to be reopened because parts of the code still need to be covered by tests.

This issue has been solved with an update.


windows_exporter upgrade fails on rancher/windows_exporter-package:v0.0.1 image already present

To reproduce:

Deploy a windows cluster - 3 linux nodes - 1 etcd, 1 control and 1 worker nodes  (I added 10 windows worker nodes, probably not necessary)

Point the feature charts to dev-v2.5 branch

Deploy rancher-wins-upgrader with the following override:

masquerade:
  enabled: true
  as: c:\\etc\wmi-exporter\wmi-exporter.exe

Deploy Monitoring v2 on the cluster into System Project
Upgrade rancher-wins-upgrader app from Apps & Marketplace -> Installed apps -> Edit / Upgrade menu

Current result
All rancher-monitoring-windows-exporter pods go into Crashloopbackoff
kubectl describe pod -n cattle-monitoring-system rancher-monitoring-windows-exporter-25p6m
  Warning  BackOff  58m                    kubelet  Back-off restarting failed container
  Normal   Pulled   56m (x4 over 57m)      kubelet  Container image "rancher/windows_exporter-package:v0.0.1" already present on machine

Environment information

Rancher version v2.5.8-rc1 and 2.5.7
Windows: ami-008ec03d9035c8ee7
Installation option single install (docker)

Edit by thehejik 31/03/2021 below:
(just tried the upgrade way instead of reinstall and it leads to the same result):
Result:

Once the wins-upgrader is redeployed/upgraded on all windows nodes with disabled masquerade observe status of pods in rancher-monitoring-windows-exporter DaemonSet - all pods are crashing due following error in exporter-node container:

FATA[2021-03-31T12:19:42Z] rpc error: code = NotFound desc = could not found binary: could not get checksum: exec: "c:\\etc\\windows-exporter\\windows-exporter.exe": file does not exist

Other details that may be helpful:
Workaround is to manually delete all the pods in rancher-monitoring-windows-exporter DaemonSet.

Was able to replicate this issue. This was a tricky bug, but I suspect the reason why this happens is because wins moves the binary from its original location on the host to another location for the process; therefore, the copy-binary step needs to happen once again in order if the container is restarted or else the binary that we point to won't exist on the host.
@kravciak can you also check the following scenario to see if it impacts Monitoring V1? Instead of using masquerade (which would block the wmi_exporter.exe path), just spin up a cluster in 2.5.8, deploy wins-upgrader without masquerading, enable Monitoring V1, and upgrade wins-upgrader with some sort of dummy update (e.g. add a random path to the whitelist prefix).
I suspect that the same issue will arise, in which case we might need to propagate some changes to all Windows supported charts to change the copy-binary step from an initContainer to a regular container.
cc: @luthermonson @nickgerace

Hi, I am trying to deploy monitoring v1 from dev-2.5, but it's stack on
ImagePullBackOff: Back-off pulling image "rancher/library-nginx:1.19.9-alpine"

After changing pod image to library-nginx:1.19.2-alpine monitoring started fine.
Then I started upgrade of wins-upgrader (without any change in yaml), result is simillar:
All exporter-node-windows-cluster-monitoring pods are CrashLoopBackOff, logs contain:
FATA[2021-04-09T12:57:38Z] rpc error: code = NotFound desc = could not found binary: could not get checksum:
    exec: "c:\\etc\\wmi-exporter\\wmi-exporter.exe": file does not exist

I tested the fix on 2.5.8-rc3 and rancher-monitoring-windows-exporter pods are fine after rancher-wins-upgrader upgrade


Number of channels available for Redstone Transmitter

Not so much an issue, more a question that I haven't been able to find the answer for. We are wondering how many channels are available for the RFTools transmitters and receivers? One of our players thought 17, but I thought I remembered seeing channel numbers in the 70s or 80s on one of our servers. Also, are these channels shared by all players (ie, player one setups u 5 devices so they get channels 1-5, then player 2 sets up 3 devices, would they get channels 6-8 or would they get their own 1-3 that don't interfere with player 1's channels? I'm sure this probably seems like a odd/pointless question, but one of our players asked me this morning so I spent an hour trying to find the answer online before I gave up and decided to just post this.

You have about 2 billion channels (that's until integers run out)