Porting HIL-SERL

HIL-SERL in LeRobot

On porting HIL-SERL to LeRobot. This page will outline the minimal list of components and tasks that should be implemented in the LeRobot codebase. The official reference of implementation is available in JAX here.
We will coordinate on discord #port-hil-serl.
We will update this page with ID of owners of each components. We encourage several people to work in team on each component.
You don’t need to write extensive code on your own to make a valuable contribution. Any input on a sub-component, however small, is appreciated. Feel free to add extra component to the list, if needed; this is only a guide, and we welcome more ideas.
Note: In parallel, we are refactoring the codebase, thus you don't need to refactor yourself. Do not hesitate to copy files and code elements to arrive at a first working version as fast as possible.

RLPD (Reinforcement Learning with Prior Data)

Goal: Develop the base RL algorithm for HIL-SERL. RLPD is an off-policy RL algorithm that leverages offline data.
Tasks:

[ ] Set up the neural network architectures for the policy and Q-function with LayerNorm in lerobot/lerobot/common/policies/hilserl
[ ] Define the SAC loss functions for fitting the Q-value and policy optimization steps.

[ ] Implement random ensemble distillation for the Q-function and double q-learning.
[ ] Compute target policy entropy for the policy update step.

[ ] Define the update mechanism to automatically adjust the temperature variable.
[ ] Set up the target network for the Q-value predictions and its update mechanism.

Useful links:

Original implementation of RLPD, HIL-SERL implementation.
SAC explanation in Spinning Up, paper.
Training script in lerobot/scripts/train.py for offline and online data buffers and dataloader. TD-MPC implementation in LeRobot lerobot/common/policies/tdmpc/.

Human Interventions

Goal: Develop the mechanism to add human interventions during online training. HIL-SERL uses a 3DSpaceMouse mouse to control the robot's end-effector. We can use the leader arm to do that.
Tasks:

[ ] Define logic and function to stop the policy and take over in record function Possibly interfaced with keyboard keys to stop the policy and give a few seconds for the user to be ready to take-over.
[ ] Define the necessary functions for the leader to follow the position of the follower and start from the same position at the moment of intervention.
[ ] Define the logic to differentiate between the data collected from human interventions vs the offline data and online data ; by adding an extra column to the HF dataset when adding new episodes.
[ ] Define the sampling logic proposed in HIL-SERL for each category of data, e.g., play on the sampler weights by giving 1 for the offline data, 1 for the online data and 2 for the human interventions.

Useful links:

Alex's TD-MPC real fork checkout some of the scripts he made for real world training.
HG-DAgger paper.

Reward Classifier

Goal: Build a reward classifier that returns a sparse reward indicating whether the frame is in a terminal success state or not.
Tasks:

[ ] Define logic to label frames of the collected trajectories with SUCCESS or FAILURE. Ideally if the demonstration is successful we can label the last few timesteps as success and vice versa.
[ ] Define a reward classifier class that learns to categorize the observations with rewards {-1, 0, 1}. Zero can be for the frames in the middle of an episode before reaching a terminal state, or we can do it in a binary fashion.
[ ] Integrate the reward classifier either in lerobot/scripts/eval.py or in the RLPD code to query the reward every time a new frame is added to the online dataset.

Useful links:

HIL-SERL paper appendix B.

Other Implementations

Several implementations proposed in HIL-SERL are key for it to work efficiently or to improve the overall performance. Here are a few that can be added to LeRobot.

[ ] Pre-process images: They utilize image cropping to focus on area of interests. Images are resized in the paper to 128x128. (see this PR to be merged that add resize function https://github.com/huggingface/lerobot/pull/459 and create a new PR that add cropping function)
[ ] Augment proprioception with Velocity and Force feedback: Augment observation space with joint velocities/torques in ManipulatorRobot ; we need to make sure the name linked to the address is the same for feetech and dynamixel motors. This is the velocity for feetech Present_Speed and torque for feetech Present_Current.
[ ] Penalize gripper actions: Add a penalty on the gripper actions during grasping tasks to avoid unnecessary use of the gripper.
[ ] Add simluation support: To simplify experimentation we can try to run HIL-SERL on sim. The main simulation enviornment for now is gym_lowcostrobot. All these components can be tested in sim. Further tasks that resemble those in the paper can be added as well.

Note: The paper uses end-effector control and velocity control for dynamic tasks, but our first implementation won't include them.

Regarding RLPD
We can use the pushT environment to test if RLPD is working properly. This will also allow us to compare to our baseline RL algorithm TD-MPC.
PushT has two modes of observations, an image state and a privileged vector state with 'keypoints'. Training with the keypoints state is an easier task that can be useful to quickly validate that your implementation is working. Training with the image state is our end-goal.
You can try training PushT with our TD-MPC to get a better idea. Here are the relevant config files and training commands. Make sure that you enable wandb and set it properly on your system so that you can monitor training and observe the eval runs.
Config files (change to .yaml and add to lerobot/lerobot/configs/policy):
tdmpc_pusht_keypoints.txt
tdmpc_pusht.txt
Run the training commands in the following files:
train_pusht_keypoints.txt
train_pusht.txt
For more references on TD-MPC: main paper, FOWM paper, Alexander Soare videos 1 and 2.

Thanks for initiating this! I would actually recommend using Cartesian space control whenever you can do that, as in our experience it simplifies a lot of stuff in the learning process.
But I guess many audience in this PR are also interested in using RL for low-cost robots which don't have built-in EE control, so I am also curious how that works in practice.


Added a few more fields to the Note model

Added: pin, signed, signed_at, and signedBy
Fixed tests so they pass
Added bower to package.json

:+1: to the PR, probably not as much on the release. @misfo has a transpiler thing he also would like to get in I think.

Since for some terrible reason the bus factor on releasing NPM modules is one and I am the one getting hit on the bus one NPM release today would make me happy :)


regression add test case for partition prune

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Added 3D Mobjects: Dot3D and SmallDot3D

Motivation
To add spherical, three dimensional analogues of Dot and SmallDot.
Overview / Explanation for Changes
Added 3D Mobjects: Dot3D and SmallDot3D
Oneline Summary of Changes

- Added new feature ... / Fixed bug ... / ... (:pr:`PR NUMBER HERE`)

Testing Status
Added tests for each Mobject. Tests pass locally.
Acknowledgements

[x] I have read the Contributing Guidelines

Reviewer Checklist

[ ] Newly added functions/classes are either private or have a docstring
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings
[ ] The oneline summary has been included in the wiki

I'm on board with adding a 3D Dot, though I think adding SmallDot3D is unnecessary. As the only difference between them is size and not shape, I think accepting the size in the constructor is sufficient. I'd also like to see a doc example, perhaps an image of a Dot3D on a set of axes? Otherwise, this looks good to me.

I'm on board with adding a 3D Dot, though I think adding SmallDot3D is unnecessary. As the only difference between them is size and not shape, I think accepting the size in the constructor is sufficient. I'd also like to see a doc example, perhaps an image of a Dot3D on a set of axes? Otherwise, this looks good to me.

I agree, but I added SmallDot3D as an analogue to SmallDot. I can remove it if necessary.

I feel like resolution=(12, 24) is a bit overkill for a dot. Maybe reduce it to lower values.

I agree, but I added SmallDot3D as an analogue to SmallDot. I can remove it if necessary.

I understand the reasoning, but what's the limiting factor? Should there also be a BigDot or an ExtraSmallDot? IMO dot is good enough

I agree, but I added SmallDot3D as an analogue to SmallDot. I can remove it if necessary.

I understand the reasoning, but what's the limiting factor? Should there also be a BigDot or an ExtraSmallDot? IMO dot is good enough

I understand, but to me it doesn't make sense to have Dot and SmallDot but only Dot3D. Either both SmallDot and SmallDot3D should be removed, or they should be both included.

SmallDot probably should be removed imo

Per the poll results in Discord, I have removed SmallDot3D. A separate PR should be made to remove SmallDot too.

Hmm, any suggestions for alternative names then?

Hmm, any suggestions for alternative names then?

Not really, it's just something I thought I'd mention. In plain English, a Dot, or "point", makes sense to be a small Circle... but you don't really call a small Sphere a "Dot3D". Other Spherical items include: balls, globes, orbs and well stars/suns if we're stretching the meaning of "perfect" Spheres, but aren't that good of options.

I agree with @jsonvillanueva, though I think the reasonable name choices are limited. As this is just a small sphere, if you were to name it SmallSphere it wouldn't even make sense to include. I think the upside to Dot3D is it captures the essence of its use.

I added an example of Dot3D and accidentally pushed it straight here. I meant to make a PR to your branch 😬

I went ahead and pushed the black update now though.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@afba451). Click here to learn what that means.
The diff coverage is n/a.

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

@@            Coverage Diff            @@
##             master    #1097   +/-   ##
=========================================
  Coverage          ?   54.14%
=========================================
  Files             ?      108
  Lines             ?    14941
  Branches          ?        0
=========================================
  Hits              ?     8090
  Misses            ?     6851
  Partials          ?        0

Continue to review full report at Codecov.

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


Adding BluuNext-Bold font

I think it'd be appropriate to change this to Bluu Next, removing the bold part and instead making the only weight to be 700 instead of 400 to be better in line with the original.

Fair enough. Will create another PR with a few more open source fonts. Closing this PR.


Hide save item from file menu if no document is open.

Hide the save item from the file menu if there is no open document, because it does not make sense to save if there is nothing that can be saved.

Thanks. :)


Logo Proposal

Greetings @Audiokit
I'm a Graphic Designer and I've reached you believing that a logo proposal would be helpful to this project!
A good logo that transmit a message its helpful when it comes to publicity, making it appealing to the eye.
The logo will be made completely free for you, as a way to support open source software
If this is something of your interest, we can get started towards the logo-making process.
I'll be looking forward for your reply
Best Regards,
-Luis Baute

I’d say the framework probably needs a full pattern library of sorts, for
various ui elements and ux processes. It might be going a bit far to roll
out a full on ‘systems design framework’, but I’m sure the community could
probably use a few preset interactions and displays etc, at least for
concepting or prototyping.
I’d be happy to help with this, if it’s something others are interested in.
Clifton Evans
On Tue 12 Jun 2018 at 1:12 p.m., vensurfer61<EMAIL_ADDRESS>wrote:

Greetings @AudioKit https://github.com/AudioKit
I'm a Graphic Designer and I've reached you believing that a logo proposal
would be helpful to this project!
A good logo that transmit a message its helpful when it comes to
publicity, making it appealing to the eye.
The logo will be made completely free for you, as a way to support open
source software
If this is something of your interest, we can get started towards the
logo-making process.
I'll be looking forward for your reply
Best Regards,
-Luis Baute
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AudioKit/AudioKit/issues/1402, or mute the thread
https://github.com/notifications/unsubscribe-auth/AYFLm27kFXqDWPbMGor8HGMmRSgjrb0dks5t77AqgaJpZM4UkT5Q
.

We keep some graphics in http://github.com/AudioKit/AudioKitGraphics/  but we also have a repo for our web page at http://github.com/AudioKit/audiokit.github.io/   We're a framework so we don't want the load the framework down with too many graphics, but you can contribute to these other repos.  In general this is not an "issue" with AudioKit , so I am going to close it.  You can reach out to us via email.


fix(semantic): incorrect ExportEntry span for ExportAllDeclaration in ModuleRecord

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2793  👈
#2792
main

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

Join @Dunqing and the rest of your teammates on  Graphite


Fix pack completion command

The pack completion command throws an error if the PACK_HOME
directory doesn't exist. (as described in #272)
This PR makes sure the directory is created if it doesn't exist yet,
and adds a test for the CompletionCommand to verify it works both
when the PACK_HOME directory exists and when it doesn't.
FIXES #272

Thank you


pubsub emulator project settings don't work

According to  /usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator --help:
--projects: A comma-separated list of all valid project names. If unspecified, all projects are valid.

When I start it, no --projects are given:
gcloud beta emulators pubsub startExecuting: /usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator --host=localhost --port=8847
...

Setting up the env:
$ gcloud beta emulators pubsub env-init
export PUBSUB_EMULATOR_HOST=localhost:8847
$ export PUBSUB_EMULATOR_HOST=localhost:8847
$ gcloud beta pubsub --project="test" topics create "foo"
ERROR: Failed to create topic [foo]: Requested project not found or user does not have access to it (project=test). Make sure to specify the unique project identifier and not the Google Cloud Console display name.

@ensonic ISTM this is an issue solely with the gcloud CLI tool, is that correct?

Yes, I now added some test setup to pre-create the topic. If there is a way to make the gcloud tool use the emulator, it would be nice to document it.

This repo is a Python library for
@jonparrott What would be the best place to file a bug against the gcloud CLI Pub/Sub components?

@dhermes https://code.google.com/p/google-cloud-sdk/issues/list

Thanks @jonparrott

FYI: https://code.google.com/p/google-cloud-sdk/issues/detail?id=1539

@ensonic how do you the pre-create topic?

I fell into this trap as well. I'm trying to write a component tests for an integration with pubsub I don't control. It assumes pubsub and the emulator seemed like a nice fit except that I couldn't pre-create the topic before running the tests because the gcloud tooling doesn't seem to honor the env variable for the emulator host.


In the Windows split screen mode, the document window of idea IDE will float and overflow, so the code hint list is not covered, which is great!

Issue Type: Bug
In the Windows split screen mode, the document window of idea IDE will float and overflow, so the code hint list is not covered, which is great!
VS Code version: Code - Insiders 1.55.0-insider (e4b1e9ac57ab3cc942ab9bff09967bf3238a7910, 2021-03-19T05:14:28.175Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
9.59GB (3.82GB free)

Process Argv
--crash-reporter-id 2babb761-7191-4446-a8f7-6fa7d0bbde1b

Screen Reader
no

VM
0%

Please see VsCode
![111](https://user-images.githubusercontent.com/54253524/111905917-1442b200-8a89-11eb-855c-aae3ed0c5a14.png)
Look at idea IDE again
![222](https://user-images.githubusercontent.com/54253524/111905955-3ccaac00-8a89-11eb-9067-1cf9c245158e.png)

@zhouxinghong can you please attached the screen shot. I can't access it.

Hello there! I don't know why the screenshots can't be displayed directly in GitHub. You can visit the following: URL to get image information. They are different performances of VSCode and IDEA in the same operation.
vscode
https://user-images.githubusercontent.com/54253524/111905917-1442b200-8a89-11eb-855c-aae3ed0c5a14.png
idea IDE
https://user-images.githubusercontent.com/54253524/111905955-3ccaac00-8a89-11eb-9067-1cf9c245158e.png

idea IDE

Additional question 2: The code hint list cannot be stretched from the left. At present, it can only be stretched from the right side, so it is not easy to use in some cases, and I hope it can be improved. Allow users to freely extend the code prompt list whether it is on the left or on the right
Please see the operation diagram:

Thanks for reaching out. I understand and share your pain. Unfortunately we cannot (easily) render widgets outside the editor window. Closing as wont-fix

You are Welcome! I hope you can record this problem and fix it if you have the ability to do so in the future.


Add stop-rds-database-clusters trick

Closes #19

Codecov Report

Merging #22 into master will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   98.99%   99.07%   +0.08%
==========================================
  Files          13       14       +1
  Lines         896      978      +82
  Branches      164      177      +13
==========================================
+ Hits          887      969      +82
  Misses          7        7
  Partials        2        2

Impacted Files
Coverage Δ

src/commands/conserve.ts
100.00% <100.00%> (ø)

src/tricks/stop-rds-database-clusters.trick.ts
100.00% <100.00%> (ø)

src/tricks/stop-rds-database-instances.trick.ts
100.00% <100.00%> (ø)

src/tricks/trick-registry.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Update manage-self-service-signup-subscriptions.md

The displayname of the hyperlink does not match the actual URL and also the PowerShell Parameter is wrong under the new cmdlet

Also the linked URL refers to the same cmdlet and is also outdated here. Should also be refreshed but requires a different commit.


build: flip build script to bazel

This flips the cli build to use bazel, replacing the legacy build script with the bazel one.
Looking for careful feedback on the second commit where I stop running bazel clean before a release build. This is something I originally copied over from the angular project, but I can no longer reproduce the issue locally. I think that my use of config_settings and selects with the release artifacts causes the build to correctly stamp artifacts without the need for a clean... but someone who understands this better should take a look.

I am seeing that the mode is release, so we want to have that for CI?

I am seeing that the mode is release, so we want to have that for CI?

The ci currently calls yarn build which defaults to a release build, so I was just preserving that. I could change it to a local or snapshot build if preferred.

I am seeing that the mode is release, so we want to have that for CI?
This would cause bazel clean to get invoked
https://github.com/angular/angular-cli/blob/82971c786f5ee160604115266968343cb015f4ed/scripts/build-bazel.ts#L125

I remove that in the second commit.

I'm going to close this for now. I realized that we can't remove the legacy build script until we have the integration tests also running with bazel. Will bring this back when ready.


Documentation web site is down

https://www.newtonsoft.com/json does not open any more, displays a cert error and then a 404 page if ignored

Fixed


✨Adds Session support

Adds Session model/migration
Refactors all models/migrations/seeds for Session support
Adds faker.js npm package
Manually ran eslint/prettier
All tests currently passing (more data is also being returned)

Address Issues #14 & #16


Group membership incorrectly reported for all endpoints (TZ-249)

I have an end device with several endpoints that each have their own on/off and group clusters.
https://github.com/nomis/candle-dribbler (with NUTT_MAX_LIGHTS=4 aka "Component config" -> "Candle Dribbler" -> "Number of lights supported")
The cluster list for the endpoints is configured in src/light.cpp, OnOffEndpoint::configure_light_cluster_list(esp_zb_cluster_list_t&) and OnOffEndpoint::configure_switch_cluster_list(esp_zb_cluster_list_t&)  which is called from src/zigbee.cpp, ZigbeeDevice::add(ZigbeeEndpoint&).
When I use the co-ordinator to add specific endpoints to a group they work as expected, with the on/off attribute being turned on/off using the group.
The problem arises when the co-ordinator queries the device to establish the group membership of each of its endpoints. I've added endpoint 12 to group 0x0005 and endpoints 13 and 14 to group 0x0002, but when the co-ordinator refreshes group membership information it displays all 16 on/off endpoints as members of both groups.

Here are the steps I followed:

I created 16 endpoints with group cluster and on/off cluster on a device node in an end device example.
I created another coordinator example to assist the endpoints in different groups.
Initially, I used esp_zb_zcl_groups_add_group_cmd_req() to add endpoint x to group x. For instance, I added endpoint 1 to group 1, endpoint 2 to group 2, and so on, up to endpoint 16 in group 16.
Subsequently, I added endpoint 12 to group 0x0005, and endpoints 13 and 14 to group 0x0002.
Finally, I used esp_zb_zcl_groups_get_group_membership_cmd_req() to retrieve the group memberships.
The results matched the expected outcome.

Could you please confirm if there are any errors in your provided description?

5. Finally, I used `esp_zb_zcl_groups_get_group_membership_cmd_req()` to retrieve the group memberships.

That function expects you to provide a list of groups to look for. If you're only requesting information on the groups you expect, you won't get the additional groups that are not really present.
On my device:

Group 0x0005 has endpoint 12
Group 0x0002 has endpoints 13 and 14
Group 0x0006 has endpoints 12, 13 and 14

If I make a request using Home Assistant and ZHA Toolkit for an endpoint that is not a member of any groups:
service: zha_toolkit.get_groups
data:
  ieee: "40:4c:ca:ff:fe:43:0b:d0"
  endpoint: 11

It returns all of the groups that any of the endpoints are members of:
2023-10-18 12:25:02.509 DEBUG (MainThread) [zigpy.zcl] [0x3828:11:0x0004] Sending request: get_membership(groups=[])
2023-10-18 12:25:02.578 DEBUG (MainThread) [zigpy.zcl] [0x3828:11:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=5, groups=[0x0006, 0x0005, 0x0002])

I only need one endpoint to be a member of one group to reproduce this. All of the endpoints that implement the groups cluster will claim to be members of it when queried.

Hello @nomis ,
I understand your point.
There might be some ambiguity in understanding the ZCL group specification, as follows:

The Zboss stack believes that if the group count field of the command frame has a value of 0, it should respond with all group identifiers that trigger this issue. However, I agree with your suggestion. I will attempt to provide feedback on the issue and will inform you of the final result as soon as possible.

That's inconsistent with its other behaviour because it maintains per-endpoint group membership. Only the expected endpoints are affected by commands on the groups, and the "remove group" command is aware of the per-endpoint membership.
The specification for this is poor because it keeps mixing "entity" and device" but the "add group" command is clear: "The Add Group command allows the sending device to add group membership in a particular group for one or more endpoints on the receiving device."
The overview makes a similar statement: "any endpoint on any device MAY be assigned to one or more groups".
The server section defines what "entity" means in this context: "the application entity resident at that endpoint will process the command".

However, I found another phrase describing the group list as follows, which supports the usage of the ZBOSS stack

However, I found another phrase describing the group list as follows, which supports the usage of the ZBOSS stack

Then the specification is just missing detail in more places. It needs to filter the group table by the endpoint, just like it uses the endpoint when it processes the "add group" and "remove group" commands.
"The get group membership command allows the sending device to inquire about the group membership of the receiving device and endpoint in a number of ways."

@nomis ,
There is some ambiguity in this question. I have already submitted an issue to the ZBOSS stack regarding this matter and am waiting for their response. We are currently not making any modifications. As a workaround, you can use esp_zb_zcl_groups_get_group_membership_cmd_req() with an empty group list to retrieve all groups from the group_table where the endpoint is resident. Then, call it again with the complete group list to obtain the groups associated with the endpoint.

As a workaround, you can use esp_zb_zcl_groups_get_group_membership_cmd_req() with an empty group list to retrieve all groups from the group_table where the endpoint is resident. Then, call it again with the complete group list to obtain the groups associated with the endpoint.

That's not consistent with your own selective interpretation of the specification:

"The Group list field SHALL contain the identifiers either of all the groups in the group table (in the case where the group list field of the received get group membership command was empty) or all the groups from the group list field of the received get group membership command which are in the group table."

all the groups in the group table (in the case where the group list field of the received get group membership command was empty)
all the groups from the group list field of the received get group membership command which are in the group table

You can't have it both ways: either the group table is all groups on all endpoints or only groups on the current endpoint. Currently as implemented it varies based on whether the received command has a list of groups.
When is this going to be fixed?

Hello @nomis ,
This issue has been addressed in version 1.2.0. Could you please update and test it?

This is working as expected now:
11:24:42.784 [0x78C0:11:0x0004] Sending request: get_membership(groups=[])
11:24:42.888 [0x78C0:11:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:42.995 [0x78C0:21:0x0004] Sending request: get_membership(groups=[])
11:24:43.094 [0x78C0:21:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:43.199 [0x78C0:31:0x0004] Sending request: get_membership(groups=[])
11:24:43.298 [0x78C0:31:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:43.402 [0x78C0:12:0x0004] Sending request: get_membership(groups=[])
11:24:43.500 [0x78C0:12:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[0x0005, 0x0006])
11:24:43.604 [0x78C0:22:0x0004] Sending request: get_membership(groups=[])
11:24:43.702 [0x78C0:22:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:43.805 [0x78C0:32:0x0004] Sending request: get_membership(groups=[])
11:24:43.904 [0x78C0:32:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:44.009 [0x78C0:13:0x0004] Sending request: get_membership(groups=[])
11:24:44.111 [0x78C0:13:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[0x0002, 0x0006])
11:24:44.216 [0x78C0:23:0x0004] Sending request: get_membership(groups=[])
11:24:44.317 [0x78C0:23:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:44.421 [0x78C0:33:0x0004] Sending request: get_membership(groups=[])
11:24:44.523 [0x78C0:33:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:44.628 [0x78C0:14:0x0004] Sending request: get_membership(groups=[])
11:24:44.726 [0x78C0:14:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[0x0002, 0x0006])
11:24:44.831 [0x78C0:24:0x0004] Sending request: get_membership(groups=[])
11:24:44.930 [0x78C0:24:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])
11:24:45.035 [0x78C0:34:0x0004] Sending request: get_membership(groups=[])
11:24:45.137 [0x78C0:34:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=29, groups=[])


refactor

refactor: migrate lyric/getPlaylist to async
build: drop old browserslist

build mode doesn't work while dev mode works because build mode won't output 'unsafe-eval' in manifest.json
it seems that the vue-i18n uses new Function() causes this error


With ksz

start review

can you give me permission to make changes? @IvanNikolic21

i think this is very close to finish. after addressing these comments, can you update the CHANGELOG and add some test functions?

very nice done!

looks all good. i've also updated this repo's master and merged that into this branch. let's now wait to see how the 21cmmc run goes


The resource has been created on the cloud, but the state is abnormal : Hit an issue to generate outputs: json: cannot unmarshal number into Go struct field Property.outputs.value of type string

Describe the bug
NAME                  COMPONENT             TYPE            PHASE             HEALTHY   STATUS                                                                                AGE
tencent-mysql-test1   tencent-mysql-test1   tencent-mysql   runningWorkflow   false     Hit an issue to generate outputs: json: cannot unmarshal number into Go struct field Property.outputs.value of type string   50m

The resource has been created on the cloud, but the state is abnormal
errmsg :
Hit an issue to generate outputs: json: cannot unmarshal number into Go struct field Property.outputs.value of type string
To Reproduce
ComponentDefinition
apiVersion: core.oam.dev/v1beta1
kind: ComponentDefinition
metadata:
  annotations:
    definition.oam.dev/description: Terraform configuration for Tencent Mysql
  creationTimestamp: null
  labels:
    type: terraform
  name: tencent-mysql
  namespace: vela-system
spec:
  schematic:
    terraform:
      configuration: |-
        terraform {
          required_providers {
            tencentcloud = {
              source = "tencentcloudstack/tencentcloud"
            }
          }
        }

        resource "tencentcloud_mysql_instance" "main" {
          mem_size          = var.mem_size
          volume_size       = var.volume_size
          instance_name     = var.instance_name
          engine_version    = "5.7"
          root_password     = "test1234"
          availability_zone = var.availability_zone
          internet_service  = 1
          slave_sync_mode   = 1
          intranet_port     = 3360

          tags = {
            purpose = "for test"
          }

          parameters = {
            max_connections = "1000"
          }
        }

        data "tencentcloud_mysql_parameter_list" "mysql" {
          mysql_id = tencentcloud_mysql_instance.main.id
        }

        resource "tencentcloud_mysql_account" "mysql_account" {
          mysql_id    = tencentcloud_mysql_instance.main.id
          name        = "test"
          password    = "test1234"
          description = "for test"
        }

        resource "tencentcloud_mysql_privilege" "privilege" {
          mysql_id     = tencentcloud_mysql_instance.main.id
          account_name = tencentcloud_mysql_account.mysql_account.name
          global       = ["TRIGGER"]
          database {
            privileges    = ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"]
            database_name = "sys"
          }
          database {
            privileges    = ["SELECT"]
            database_name = "performance_schema"
          }

          table {
            privileges    = ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"]
            database_name = "mysql"
            table_name    = "slow_log"
          }

          table {
            privileges    = ["SELECT", "INSERT", "UPDATE"]
            database_name = "mysql"
            table_name    = "user"
          }

          column {
            privileges    = ["SELECT", "INSERT", "UPDATE", "REFERENCES"]
            database_name = "mysql"
            table_name    = "user"
            column_name   = "host"
          }
        }

        resource "tencentcloud_mysql_backup_policy" "mysql_backup_policy" {
          mysql_id         = tencentcloud_mysql_instance.main.id
          retention_period = 56
          backup_model     = "physical"
          backup_time      = "10:00-14:00"
        }

        variable "availability_zone" {
          default = "ap-beijing-7"
          description = "Availability Zone"
          type = string
        }

        variable "mem_size" {
          default = 1000
          description = "Mem Size(MB)"
          type = number
        }

        variable "volume_size" {
          default = 50
          description = "Volume Size(G)"
          type = number
        }

        variable "instance_name" {
          default = "test_instance_name"
          description = "Instance Name"
          type = string
        }

        output "INSTANCE_ID" {
          description = "Instance ID"
          value = tencentcloud_mysql_instance.main.id
        }

        output "INTRANET_IP" {
          description = "Instance Ip"
          value = tencentcloud_mysql_instance.main.intranet_ip
        }

        output "INTERNET_PORT" {
          description = "Instance Port"
          value = tencentcloud_mysql_instance.main.internet_port
        }

      providerRef:
        name: tencent
        namespace: default
  workload:
    definition:
      apiVersion: terraform.core.oam.dev/v1beta1
      kind: Configuration
status: {}

Application
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: tencent-mysql-test1
spec:
  components:
    - name: tencent-mysql-test1
      type: tencent-mysql
      properties:
        instance_name: sample-mysql1
        availability_zone: ap-shanghai-1
        mem_size: 1000
        volume_size: 25
#        writeConnectionSecretToRef:
#          name: qcloud-mysql

Additional context
➜  test vela version
CLI Version: v1.2.4
Core Version: 1.2.4
GitRevision: git-f6032f3
GolangVersion: go1.17.7

ping @captainroy-hy

找打原因了

这个对象接收terraform的outputs只能是string类型
真实返回的
"outputs": {
"INSTANCE_ID": {
"value": "cdb-1u2b5m3m",
"type": "string"
},
"INTERNET_PORT": {
"value": 58881,
"type": "number"
},
"INTRANET_IP": {
"value": "<IP_ADDRESS>",
"type": "string"
},
"STATUS": {
"value": 1,
"type": "number"
}

@leason00 would you like to send a PR to fix it?

@leason00 would you like to send a PR to fix it?

I will

@leason00 thanks


cocoapods install failed.

my terminal showed that
       [!] Unable to find a specification for `MIBadgeButton-Swift`

I MADE A BIG MISTAKE

I hope you doing well now :)


How can 3DTrans be utilized to train and detect custom point cloud dataset?

Hi!
First of all, thank you for applying transfer learning and active learning to the detection task of point cloud data. This will be a very good approach and strategy.  However, the projects you have showcased are only tested on a few publicly available benchmark datasets, yielding test results.   Can you tell me how to use 3DTrans to train and test my own dataset? How can I utilize this project to further improve the detection capabilities of existing models such as CenterPoint and PV-RCNN++? Can you provide me with some practical methods, detailed steps, and suggestions that can be implemented?
Thank  you!

Hi! First of all, thank you for applying transfer learning and active learning to the detection task of point cloud data. This will be a very good approach and strategy. However, the projects you have showcased are only tested on a few publicly available benchmark datasets, yielding test results. Can you tell me how to use 3DTrans to train and test my own dataset? How can I utilize this project to further improve the detection capabilities of existing models such as CenterPoint and PV-RCNN++? Can you provide me with some practical methods, detailed steps, and suggestions that can be implemented? Thank you!

@luoxiaoliaolan  Sorry for our delayed response due to recent numerous ddl.
A1: Followed by OpenPCDet, we will add the Custom Dataset usage in next version of 3DTrans, about at the end of July.
Q2: How to improve the CenterPoint and PV-RCNN++
A2: For cross-dataset usage for some typical detectors such as CenterPoint and PV-RCNN++, we observe two aspects that can effectively boost the cross-domain performance: 1) select a better source-domain model that can present a better generalizability compared with only using some off-the-shelf pre-trained model such as Waymo-pretrained model, where you can refer to our recent AD pre-training related work in arXiv AD-PT. 2) some customized methods to address domain differences, where we found that for point-cloud scene, the LiDAR beam and Object-size across different datasets are the main factors that hurt the model's cross-dataset application. Thus, maybe you can design some LiDAR beam down-sampling method. For example, we use the 16-beam Waymo data to perform the Waymo-to-nuScenes adaptation. Waymo-to-nuScenes.


Is there a path to take a URL and request from the REPL for debug purposes?

This is a useful pattern even if it involves a bit of hacking to make it work.
a) notice some error with some URL
b) copy paste the URL and paste it into IPython REPL runner function
c) get a stack trace and %debug functionality locally that is as-close-as-possible to what happens in the backend.
d) importlib.reload and iterate until it works.
e) test for real through the REST api
I've got this working with other frameworks but am wondering if this already exists somewhere here since this framework seems to already have the best of everything.
There is this debugging functionality but not sure how that hooks in with a vanilla IPython runner:
https://fastapi.tiangolo.com/tutorial/debugging/#run-your-code-with-your-debugger
For example, maybe there is an error handling pattern where the full stack  trace is sent and can be reconstructed in the REPL.

Arg just saw this
https://fastapi.tiangolo.com/tutorial/debugging/#run-your-code-with-your-debugger

Actually I wouldn't know.
I use a lot of IPython (actually Jupyter Kernels connected to the editor, but more or less the same) to run small snippets directly from the code, but not with that style, I wasn't able to use it successfully with previous frameworks and make it useful for me, so I'm not sure what would be the best way to approach it.
Nevertheless, I think you could probably do it with the test client directly, which is more or less the same. It calls the app without making an actual HTTP server, etc.
So you could create a test client in your IPython environment with your app and call the URLs with it.
Another alternative would be with HTTPX: https://github.com/encode/httpx
As it allows calling directly an ASGI app: https://www.python-httpx.org/async/#calling-into-python-web-apps


[Q] How to do provisioning?

Hello, after installing the plugin, can you provide some info how to configure the plugin using grafana-provisioning?
I could not find it in the documentation and of course I don't want to setup the plugin manually.
Thanks!

To answer my own question, could you verify that this is correct and maybe put it in the README?
datasources:
  - name: bmchelix-prod
    type: bmchelix-ade-datasource
    url: https://url.to.bmchelix/
    jsonData:
      tenantId: 123456789
    secureJsonData:
      accessKey: xxxxx
      secretKey: xxxxx
    readOnly: true

@kgroshert Thanks for digging in.  That looks correct.  We will do one validation on Monday and update the docs.

Hi @kgroshert ,
We've validated the provisioning and it works fine you probably need to add few more attributes if you are using multiple orgs
Here is the sample -
datasources:
 - name: BMC Helix
   type: bmchelix-ade-datasource
   access: proxy
   orgId: 1
   url: https://abc.helix.bmc.com
   jsonData:
     tenantId: "123456789"
   secureJsonData:
    accessKey: "xxxxxx"
    secretKey: "xxxxxx"

#   <bool> mark as default datasource. Max one per org
#   isDefault: false

#   <bool> allow users to edit datasources from the UI.
#   editable: false

last two attributes are optional you can choose to leave them commented.
We will be releasing new version very soon, Will update the Readme for provisioning.
Thanks for pointing this out,
Let us know if you need any further details.

Hi @abhijeet-teli @bfarrell,
just found this old open issue. The sample looks good, while you are at it you might want to copy & paste that into the README (I think it's still missing).
Cheers,
Kai


Issue with Yabai when upgrading from version 5.0.3 to 5.0.9

A few days ago, I upgraded my system to Mac OS Sonoma. While Yabai had some minor glitches, it was generally working. However, after making minor adjustments to the borders and padding, I noticed that when switching from one window to another, the borders' appearance was delayed, and it felt like the program was trying to crash. In an attempt to solve this, I decided to upgrade Yabai to version 5.0.9, but this made things worse. After the upgrade, Yabai wouldn't start. I tried installing the development version with brew install yabai --HEAD, uninstalled, and reinstalled the program, but to no avail. When trying to start the service with yabai --start-service and sudo yabai --start-service, I encountered errors. I've looked into the documentation and other resources on GitHub related to Yabai, and I've tried several proposed solutions, but none have worked so far.

yabai --start-service
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
sudo yabai --start-service
Password:
Could not enable service: 125: Domain does not support specified action
Bootstrap failed: 125: Domain does not support specified action
Should I return the OS version?
I have to try to reinstall

After updating the Homebrew formulas and continuing with the yabai installation, I've found that the service doesn't start as expected. Even after granting the necessary execution permissions, the service still doesn't run.
brew install yabai
==> Downloading https://formulae.brew.sh/api/formula.jws.json
-#O=-#       #        #
==> Downloading https://formulae.brew.sh/api/cask.jws.json
-#O=-#       #        #
==> Fetching koekeishiya/formulae/yabai
==> Downloading https://github.com/koekeishiya/yabai/releases/download/v6.0.0/yabai-v6.0.0.tar.gz
Already downloaded: /Users/perseo/Library/Caches/Homebrew/downloads/cd08557f77af8f639f2d41bdeb7de71e34772c957a52f250252aaf82b0de752c--yabai-v6.0.0.tar.gz
==> Installing yabai from koekeishiya/formulae
==> Caveats
Copy the example configuration into your home directory:
cp /opt/homebrew/opt/yabai/share/yabai/examples/yabairc ~/.yabairc
cp /opt/homebrew/opt/yabai/share/yabai/examples/skhdrc ~/.skhdrc
If you want yabai to be managed by launchd (start automatically upon login):
yabai --start-service
When running as a launchd service logs will be found in:
/tmp/yabai_.[out|err].log
If you are using the scripting-addition; remember to update your sudoers file:
sudo visudo -f /private/etc/sudoers.d/yabai
Build the configuration row by running:
echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa"
README: https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition
==> Summary
🍺  /opt/homebrew/Cellar/yabai/6.0.0: 6 files, 1.7MB, built in 2 seconds
==> Running brew cleanup yabai...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
perseo@MacBook-Air-de-juan:s000->/Users/perseo (0)

yabai --start-service
yabai: service file '/Users/perseo/Library/LaunchAgents/com.koekeishiya.yabai.plist' is not installed! attempting installation..
perseo@MacBook-Air-de-juan:s000->/Users/perseo (0)

perseo@MacBook-Air-de-juan:s000->/Users/perseo (0)

pgrep yabai
perseo@MacBook-Air-de-juan:s000->/Users/perseo (1)

I was seeing a similar issue. Here's what solved it, maybe it works for you too:

Uninstall yabai: brew uninstall yabai
System Preferences > Security & Privacy > Accessibility (or equivalent on your version of macOS)
Click the lock and enter your password
Uncheck and remove all versions of yabai from the list
cd ~/Library/LaunchAgents
Use ls to check if there is a com.koekeishiya.yabai.plist file
If so, rm com.koekeishiya.yabai.plist (you can back it up first if you prefer)
Install yabai: brew install koekeishiya/formulae/yabai
Start yabai: yabai --start-service. It should attempt to install a new plist file, taking you to the Accessibility screen so you can reactivate yabai's access.

That did it for me, yabai started back up.

That did not resolve the issue for me updating to 6.0.0

I did what you suggested, but I get:
yabai: service file '/Users/neuromaancer/Library/LaunchAgents/com.koekeishiya.yabai.plist' is not installed! attempting installation..
yabai: service file '/Users/neuromaancer/Library/LaunchAgents/com.koekeishiya.yabai.plist' could not be installed! abort..

I tried running with sudo:
Could not enable service: 125: Domain does not support specified action
Bootstrap failed: 125: Domain does not support specified action


VS Code instructions for Serverpod

VS Code is by far the most popular way to edit Dart code (because the tooling is excellent).
I discovered that working with a Serverpod _flutter sub-project is kind of annoying when you're constantly changing and regenerating protocol files in the server, because VS Code only picks up changes to source files that are in the workspace, and the _client project is not in the same workspace as _flutter by default.
The trick is to create a multi-root workspace, with both the _flutter and _client subprojects included in a single workspace. Then the analysis server will cover both projects, and respond instantly to code changes in both.
https://code.visualstudio.com/docs/editor/multi-root-workspaces
The Serverpod docs should document this. Having stale files, and having to manually refresh the window or close/open Code, was an endless source of frustration before I came across the solution.

This would indeed be good to document. It usually works if I open the root project directory, rather than the _flutter directory. Also, if it happens, no need to restart VS Code, you can just restart the analyzer.
Cmd-Shift-P > "Dart: Restart Analysis Server"

This seems to work for me if I open the complete project. So I'm closing this issue.


What about the supporters of xray from Windows?

https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_server/src/main.rs#L22
https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_cli/src/main.rs#L12

Or,can you provide a fallback solution on Windows?:pensive:

Thanks for the feedback. I’ll investigate alternatives.

@nathansobo could this work? https://github.com/alexcrichton/tokio-named-pipes

What is the current status of Xray on Windows?

We're not really production ready on any platform. Windows is especially bad right now due to no workarounds for domain sockets as stated above.


Update v1_26.md

added v1.26 changes
Signed-off-by: jamesbauman<EMAIL_ADDRESS>Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
:heart:Thank you!

@IgorCATech -  Hi Igor -- i requested a commit into master in error.  How does one cancel a commit?

Going to look into it, Jim!

@IgorCATech  - Hi Igor, I inquired about the PR/issue numbers for CA View with the team.  The answer that i got is:
"The CA View Plug-in is not in a public repository so the issue numbers do not provide any value"
So i will not be adding the info that you suggested...
Thx,
jb

@IgorCATech - Hi Igor, I inquired about the PR/issue numbers for CA View with the team. The answer that i got is:
"The CA View Plug-in is not in a public repository so the issue numbers do not provide any value"
So i will not be adding the info that you suggested...
Thx, jb

Makes sense :) So, in this case, you can't add the links - they won't be accessible.


[WIP] Add grpc backend

https://wandb.atlassian.net/browse/WB-NNNN
https://wandb.atlassian.net/browse/CLI-NNNN
https://github.com/wandb/client/issues/NNNN
Description
What does the PR do?
Testing
How was this PR tested?

🥳

Closing this PR in favor of:
https://github.com/wandb/client/pull/2632


update grunt compile-assets

I think using bandwidth-{env}-{version} is a little vague. Did we decide on a name for this library? If it were bandwidth-phone then should the compiled asset be bandwidth-phone-{env}-{version}.js?

Regarding my last note, how about bandwidth-webrtc-{env}-{version}.js?

For renaming the file, I'm not opposed to the new name, but we have already started using this in some other libraries. So do you think the name change is important enough to fix this in a few Catapult reference apps?

I'm assuming that the versions those libraries depend on will not go away and so this will not be a breaking change for them. If somebody wants to update to the latest version of bandwidth-webrtc then they are going to be in the code anyway.

I vote on going with bandwidth-webrtc-{env}-{version}. Any dependent applications need to be updated.

Merging. Nathan said that Catapult staff want to use bandwidth.js.


More sensible container names for Mesos/Marathon

Before and after screenshots are on the way...

Lint:
./render/detailed/summary.go:29:2: const MarathonAppIdEnv should be MarathonAppIDEnv

Test:
probe/docker/env_test.go:13: undefined: given

probe/docker/env_test.go:25: cannot use want (type map[string]string) as type []string in argument to "github.com/weaveworks/scope/probe/docker".AddEnv

probe/docker/env_test.go:28: undefined: "reflect".Equal

probe/docker/env_test.go:32: undefined: "reflect".Equal

probe/docker/env_test.go:36: undefined: "reflect".Equal

probe/docker/env_test.go:40: undefined: "reflect".Equal

probe/docker/labels_test.go:12: TestLabels redeclared in this block

	previous declaration at probe/docker/env_test.go:12

Before...

...After!


ISPN-7776 Clustered Configuration State

https://issues.jboss.org/browse/ISPN-7776

@gustavonalle the trace logs for ISPN-8343 fit here :)

Closing this, will reopen as multiple PRs.


Details are not visible.

Hi, my settings are as below, I am using ras pi4 ble and mi scale2.
Where am I going wrong, thanks.

Hi, my settings are as below, I am using ras pi4 ble and mi scale2.
Where am I going wrong, thanks.

The problem comes from your 2 sensors. To replace for test :
weight: sensor.weight_mi_scale2  to
weight: sensor.ble_weight_09c541e6e096
impedance: sensor.impedance_mi_scale2
impedance :

You must replace with your user sensors

It's my fault, I did what you said. Thanks, problem solved.


Convert code to be able to import the module in python 3.3.2

No tests were run.
I just modified the code to successfully "import" bambou on both
python 2.7.11 and python 3.3.2

python 2 does not seem impacted by the change (at least the part covered in unittests)
┌─( myhost pg2 )──{ p3 }──[ ~/bambou ]──┈
└─⊳ python -V
Python 2.7.11

┌─( myhost pg2 )──{ p3 }──[ ~/bambou ]──┈
└─⊳ nosetests
................................................................................................
----------------------------------------------------------------------
Ran 96 tests in 1.184s

OK

still some work to do to get python 3 working

Thx!


Implement better initialization of Pharo launcher model for CLI

Describe the request
Currently, new instance of PharoLauncherModel is created every time the accessor launcherModel is invoked. This could be several times during program execution. PharoLauncherModel should be initialized just once, during image startup and command activation.
Expected behavior
Instead of using ClapContext we should use PhLCliClapContext, that uses proper accessors for launcher model (that are already initialized).
Expected development cost
It seems that ClapContext is activated in the ClapCommandLineHandler>>activate. Probably we should use something like own PhLCliCommandLineHandler>>activate that would have 'launcher' id (of command) and activate PhLCliClapContext instance.
As an consequence, command line usage would not need clap as a first command, but only launcher command.
Refactoring of PhLCliCommand would be needed,  since this command already uses launcher id (so that launcher is used just in cmd line handler activation).

Closing this - issue moved to PharoLauncher project


Netzwerkfehler (Network error)

I loaded Les Pas from FDroid yesterday and can't login to my Nextcloud.
My NextcloudPi <IP_ADDRESS> runns in my local network.
When entering my ip adress it only say's "Netzwerkfehler, versuchen Sie es erneut" (Network error, try again.) doesn't matter if i use http or https.
Same message on Samsung and Huawei Phone. IP adress is working from phone browser.
What am I doing wrong?

Are you using http connection? If yes, this is a known bug and was fixed in release 2.3.10.

Are you using http connection? If yes, this is a known bug and was fixed in release 2.3.10.

I am still experiencing this problem despite being in version 2.3.10. It perpetually prompts a network error in my one plus Phone. I hope this bug is fixed, I'm really looking forward to using this app.

@baixiang-main r u using http connection?

It worked with a self signed certificate via https. But on a different nc with no certificate it is showing me the login screen in version 2.3.10 but it nc never does the login.
I connect directly with ip adress.

no certificate means http only, right? what is the output of this command:
curl -k -X GET 'http://your_nextcloud_server_address/ocs/v2.php/cloud/capabilities?format=json' -H "OCS-APIRequest: true"

Sorry for the late answer:
CS-APIRequest: true"
curl: (6) Could not resolve host: your_nextcloud_server_address

Yes. No certificate means http.

@tkirchm please replace 'your_nextcloud_server_address' with your server's address, and try again.

Sorry:
{"ocs":{"meta":{"status":"ok","statuscode":200,"message":"OK"},"data":{"version":{"major":21,"minor":0,"micro":4,"string":"21.0.4","edition":"","extendedSupport":false},"capabilities":{"bruteforce":{"delay":0},"theming":{"name":"NextCloudPi","url":"https://ownyourbits.com","slogan":"keep your data close","color":"#0082c9","color-text":"#ffffff","color-element":"#0082c9","color-element-bright":"#0082c9","color-element-dark":"#0082c9","logo":"https://<IP_ADDRESS>/index.php/apps/theming/image/logo?v=0&useSvg=1","background":"https://<IP_ADDRESS>/index.php/apps/theming/image/background?v=0","background-plain":false,"background-default":false,"logoheader":"https://<IP_ADDRESS>/index.php/apps/theming/image/logo?v=0&useSvg=1","favicon":"https://<IP_ADDRESS>/index.php/apps/theming/image/logo?v=0&useSvg=1"}}}}}

all the web address shown here are https based, are you sure you are using http only?

what is the address you typed in Les Pas's login page? https://<IP_ADDRESS>/index.php or https://<IP_ADDRESS>?

I just disabled force https on my nextcloudpi.
I used <IP_ADDRESS> .
Nextcloud login screen apears and I can use my credentials but after login nothing happens.

so is login successful? what do you mean by nothing happen?

Nothing happens after entering login information.

after login page appears, actual login process is totally controlled by nextcloud server, so i think this probably is a server miss config, i suggest you check your web server's access log, might find out some hints there

I have this problem with 2.3.13 as well. I cannot login to Nextcloud, permanently stack in the login screen.
I use https signed by Letsencrypt and my other Nextcloud app works fine, e.g. DavX5

@J4gQBqqR stuck means that waiting sign spins forever or something else? did you see any error message or screen？

There is no wait sign spinning. The behavior is like, "I clicked the login using app token button, but nothing happens". I can see my internet speed meter shows around 20 kB/s data exchange for a second or two. But nothing changed on my screen.
It might be because I enabled 2FA on my account, and Nextcloud detect that my phone has the Nextcloud app installed, so it refuses me to sign in unless I use Single Sign On (SSO) flow.

les pas uses nextcloud login flow api, all you need is to key in your NS server address url in the login page and les pas will bring up Nextcloud's authentication page, i guess you can use your 2FA on that page

Thank you for your explanation. I am not sure if using 2FA is an optimal method since the sign in cookie expires? But anyway, I tried to use 2FA. Here is the result:

I am stacked forever in the above screenshot.
Just like the app passcode that I am trying to use, nothing happens after I click on the button. It seems to me that Les Pas is not detecting that I am authorizing the signing in.
It could be a problem because of 2FA?

after u press that button, NC server should return the app key to Les Pas, it should be a simple url with a special scheme. not sure what went wrong here. i'll set up my test environment to debug this issue. mind told me what 2FA method r u using? btw, i'm busy cracking the map feature right now, might take a while for this to be solved.

I am using email, TOTP, Nextcloud push notifications. The one that I tested is the TOTP one. I also tested the one-time App Passcode.

will explore Nextcloud's login flow v2, seems to me it will solve the 2FA problem.

Thank you for your excellent support. Looking forward to it.

I enable TOTP today on my server, I use andOTP to generate code on my phone,  I can login perfectly fine with no change to Les Pas's code.  What am I missing here?

Not really sure. The version I used is the F-droid version.
Is there anything further I can do to help you debug?

To verify my app passcode is working correctly, I tested it with another app:
https://www.f-droid.org/packages/com.polar.nextcloudservices/
This app logs in (using app passcode) and pulls notifications correctly from server. Not sure what is the difference here.

Setting -> security -> Devices & sessions -> scroll down to bottom -> create new app password

so that's App Password. it's not 2FA. i'll take a look.

But what's wired is, I tried 2FA using TOTP, I can proceed all the way to the grant access screen and was stucked like this:
https://github.com/scubajeff/lespas/issues/34#issuecomment-993528726

all the authentication stuffs are handled by nextcloud server, they do the heavy lifting and return an app password to client app like les pas, by using a special scheme url string. if it stop at the authentication screen, i guess something must went wrong on server side, would you please take a look at nextcloud's log or http server log?

I did not see error in the log:
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"apporder","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"camerarawpreviews","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"serverDI","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"The requested alias \"PreviewManager\" is deprecated. Please request \"OCP\\IPreview\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"drawio","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"extract","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"files_sharing","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"hXjeDY5sVWfB7xUUUNvF","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"maps","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"apporder","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"camerarawpreviews","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"serverDI","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"The requested alias \"PreviewManager\" is deprecated. Please request \"OCP\\IPreview\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"drawio","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"extract","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"files_sharing","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"aIsbSWEsF2UCLaRFCgTB","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"maps","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"apporder","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"camerarawpreviews","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"serverDI","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"The requested alias \"PreviewManager\" is deprecated. Please request \"OCP\\IPreview\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"drawio","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"extract","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"files_sharing","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}
{"reqId":"lxZB49IaxRFaTDZ5mdih","level":0,"time":"2021-12-15T01:11:41+00:00","remoteAddr":"<IP_ADDRESS>","user":"masked","app":"maps","method":"GET","url":"/index.php/apps/theming/favicon?v=0","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Les Pas on oneplus_gm1917","version":"<IP_ADDRESS>"}

I eventually managed to login my next loud instance successfully.
This is done by adding 'overwriteprotocol' => 'https' to the next loud config.php.
Please close the issue if you think this issue is not relevant anymore.


Pass through the DISABLE_ASSETS_DEBUG env var

This change makes it possible to pass through the value of environment variable DISABLE_ASSETS_DEBUG from the host machine.
Setting this environment variable to "true" (or anything that is considered non-nil) will stop Whitehall from running the Asset Pipeline in 'debug' mode when in development.
As described in the Whitehall config, the application runs significantly faster when debug mode is switched off. But it's switched on by default.
Debug mode is useful when you're making changes to CSS and JS files, and you want to be able to reload the page of your running app and see the results.
But if you're not changing CSS or JS files, you can speed things up by compiling the assets once using:
$ govuk-docker-run rails assets:precompile

and then booting your app with:
$ DISABLE_ASSETS_DEBUG=true govuk-docker-up

Changes to CSS and JS files won't be reflected until you re-compile the assets, or reboot the app with debug mode enabled.

lgtm!


⚠ Bofrost.com has degraded performance

In 015ec2d, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 579 ms

Resolved: Bofrost.com performance has improved in 05a7cdd after 6 minutes.


if has space in select field will not use sharding rule.

like:
select a.  id  from table where payDate = 20190101;
it will not use rule. and get nothing notice.

i find this bug in 3.0.0 and 3.1.0.    before in 1.5.4 has no this bug.

@trojanliu thanks for your issue, it caused by wrong parse result


add examples for calculators- juggler,padovan,recamann,collatz, SOS 1/1 +(1+2)/(1*2)

Related Issue

Info about Issue or bug

fix #4528
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@sairish2001 can you please resolve th ecommits as i dont have acces to do tht

@sairish2001  i dont hv the write access to resolve the conflicts can you resolve the conflicts

I tried many times, still won't able to merge

I tried many times, still won't able to merge

is it possible to give me the write accesss so tht i can ?

I tried many times, still won't able to merge

is it possible to give me the write accesss so tht i can ?

Send me few screenshots, so that I can configure what's the problem

I tried many times, still won't able to merge

is it possible to give me the write accesss so tht i can ?

Send me few screenshots, so that I can configure what's the problem

@sairish2001  okay

no option for me to resolve it

changes that i made in  logicjs file for this pr -

changes that i made in logicjs file for this pr -

@sairish2001 if possible make those chngs and then merge

@sairish2001  shhud i make a new pr ??

@sairish2001  shhud i make a new pr ??

Yes, please

@sairish2001 I have no idea but for some reason , each n evrey changes that i made in this pr are there in the main file and it was added by u only with a commit name - "resolved"
Anyways this pr is having merge conflicts because of a bug which i hv solved in pr#


Slight roadmap with milestones?

Since we're starting going on as a little team, i would like to start putting up milestones to cut upcoming work in smaller pieces and let everybody know what we're working on and when a release may be expected.
I could imagine

to file milestones naming the rising version
to let us discuss a milestone within its milestine-thread
to not set a milestone-date to lower the pressure

I'm filing this issue for discussion and i appreciate any feedback ( :+1: :-1: :memo: ) to let us finally decide if we're going to start using milestones.

feel free to make milestones... I mostly just work on a per-issue basis, but I'm cool with whatever helps you organize.

Thanks @slang800 - great!
Feel always free to intervene or get in touch if you feel uncomfortable with whatever i do. :pray:
Since all maintainers agreed and there were no objections against it, milestones are officially activated! :rocket:


Implement function returning the local UTC offset

As was previously possible in time 0.1 and as requested by multiple people in #197, I would like to add a function allowing the user to obtain their local UTC offset. This information would necessarily come from the operating system.
I do not have sufficient experience with C, let alone interaction with system APIs, so I am requesting this be implemented by those that know better than myself. libc and winapi should suffice as conditional dependencies to cover Linux, MacOS, and Windows. Support for Redox would be nice, but is not essential.
When implementing, the following signature should be used.
impl UtcOffset {
    fn local() -> Self;
}

I can put together docs and tests; it's the implementation itself where assistance is needed. The relevant file is src/utc_offset.rs. Replacing #![forbid(unsafe)] with #![deny(unsafe)] and #[allow]ing the relevant bits is, of course, allowed in this situation.
If you're interested, please leave a comment!

Pinging @ymtvx @hroi & whoever else for a correctness and safety review of this gist.

Looks good to me :)

Won't build for solarish ( Solaris/Illumos )
error[E0425]: cannot find value `timestamp` in this scope
  --> src/unix.rs:74:28
   |
74 |         (local_timestamp - timestamp)
   |                            ^^^^^^^^^ not found in this scope

error: aborting due to previous error

Looks good! I think we should try avoid mem::zeroed in favour of MaybeUninit, but that’s just nitty detail.

@KodrAus That's actually intentionally due to the MSRV. Otherwise I absolutely would!
Thanks @GrayJack, I'll take a look into that.

Updated the Solaris code to compile.
Has this code been tested on Windows and Mac? I obviously don't know what people are running on their own machines. If someone has Solaris, that would be ideal, but I also know it's proprietary.

I'll likely put up a PR on Monday for this, with the additional change of accepting an OffsetDateTime instead of a PrimitiveDateTime.

@ymtvx Got a preferred name/email combo for the git commit? Going for co-authorship on it, and see that you don't have any repositories where I can pull the necessary info.

@GrayJack @hroi @ymtvx & others, PR #217 is up! This should provide support for Linux, Windows, Mac, and Solaris. Redox presumably works as well.
I will likely merge this next week at some point after I receive confirmation that this works as expected on Windows.

Thanks for all the work everybody! :fireworks:

@jhpratt I took a look at #217, but it does not seem to provide anything for checking if DST is active or not. Has such functionality been added, or is that still being worked on?

@YorickPeterse That functionality has not been added. It likely will be eventually, but the edge cases are plentiful.
The simplest way to check this now is likely to use UtcOffset::local_offset_at(OffsetDateTime::unix_epoch()) and UtcOffset::local_offset_at(OffsetDateTime::unix_epoch() + 180.days()), which will obtain the "standard" and "summer" offsets. Note that either can be larger, as the southern hemisphere has DST in January, not July. You could then check UtcOffset::current_local_offset() and compare that to see which one it is.
This will likely work for a majority of cases. However, the dates for DST change on occasion (see: EU likely dropping it next year), and some countries like Morocco have even intricate rules revolving around Ramadan. To work around that, short of having full tzdb support), you'd need yet another syscall to probe a date such that one of them is guaranteed to not be Ramadan.
I'm fairly certain there are even crazier cases than this, so at least for now, it'll stay out of the time crate.

@jhpratt Thanks for the info. In that case I think I will change my own code to not expose DST info. This way I can at least start upgrading to time 0.2. Thanks!


Relation logic assumes integer IDs

Per descriptors.js line 102, the relations logic assumes that an ID will be an integer.  I'm using string IDs, so this check fails, and then the entity.getId() call throws an exception because that obviously doesn't exist.
I tried modifying descriptors.js to do if (Number.isInteger(entity) || typeof entity === "string"), and that appeared to allow the creation logic to run successfully.  Probably a better way to handle it, but this seemed to work for me.

Thanks for opening the issue @markerikson . Hotfixed this straight to master, published on NPM as 0.1.22. Now the logic in descriptors doesn't assume any specific type of id argument - it checks if it has a getId property of type function, and if so calls it to get the id value.


Code error with Shopping Cart - Deleted Assets in Author #352

Description:
Cart functionality is not updating the value if asset is deleted from dam author.
Environment: Replicable in all instance

AEM Version: 6.3
Asset Share Commons Version: 1.6.10
Author, Publish or both? Author

To Reproduce
Steps to reproduce the behavior:

Login to AEM Author Instance.
Install Asset-share commons in Author Instance.
By default Add to cart will be empty as shown below.
Add 2 images to the cart as shown below.
Delete one of the assets from the dam author as shown below.
Refresh the Home page where we have added the asset to cart.
The asset is deleted and even though add to cart shows the same number.
Click on the add to cart, it will show only one asset and the count of the asset shows as 2.
Add one more asset to the cart, it shows the count as 3 shown below.
Open the cart and check 2 assets will be present, but it shows the count as 3.

Expected behavior

Login to Author Instance.
Add 2 assets to cart.
Add to cart has to show as 2.
Remove one asset from the dam author.
Refresh the home page.
Check the Add to cart has to show as 1.
Screenshots
Attaching steps to reproduce the issue
@godanny86  As you mentioned i am raising a pull request for this issie.

This is not a real PR.


enh(Python): add insert end function on singly linked list

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[ ] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[ ] My submission has a proper and user-friendly description of the algorithm
[ ] My submission has the time complexity of the algorithm
[ ] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[x] Other, please describe:

Briefly describe the changes in this PR
Added insertion and deletion functionality in Linked List, in Python.

Other information:

Can anyone please approve this PR? Or explain me how I can make this better?

Hi,
I've made necessary changes to the code. Let me know if any more change needs to be fixed.


Configurable timeout parameters for Net::HTTP::Persistent

Adds configurable timeout parameters to set idle, read, and open timeouts in new Net::HTTP::Persistent connections.

Hi @eadasiak , thank you for your PR. Do you mind creating a feature requesting issue that states what are wanted, and why they are wanted? Thanks.

Thanks @eadasiak for this - we will include your changes with some modifications..


Barrier validation: clarify acceptable access masks for TOP_OF_PIPE etc

CTS tries to issue a barrier with (TOP_OF_PIPE, SHADER_READ_BIT) in a bunch of cases. Is this valid?

I haven't looked at the mentioned CTS tests, but TOP_OF_PIPE is useful for layout transition and queue ownership operations. The Vulkan spec states the following:

Similarly an execution dependency with only VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
in the source stage mask will effectively not wait for any prior commands to complete.
When defining a memory dependency, using only VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT or VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT would never make any accesses available and/or visible because these stages do not access memory.
VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT and VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT are useful for accomplishing layout transitions and queue ownership operations when the required execution dependency is satisfied by other means - for example, semaphore operations between queues.

Spec says:
An application must not specify an access flag in a synchronization command if it does not include a pipeline stage in the corresponding stage mask that is able to perform accesses of that type.```

So I think this is invalid. The easiest fix where the CTS tests don't know what stage is going to use the resource next may be to just swap TOP_OF_PIPE_BIT here for ALL_GRAPHICS (or, where it may be compute, ALL_COMMANDS) ?

Right, this is invalid. Yes, I think that ALL_COMMANDS should work fine.
I've looked a bit one some CTS tests with TOP_OF_PIPE, and I think that in some cases barriers are redundant. Barriers with the first synchronization scope (TOP_OF_PIPE, HOST_WRITE_BIT) generally should not be needed because submitting a batch of command buffers defines a memory dependency:

When batches of command buffers are submitted to a queue via vkQueueSubmit, it defines a
memory dependency with prior host operations, and execution of command buffers submitted to
the queue.

The first access scope includes all host writes to mappable device memory that are either coherent,
or have been flushed with vkFlushMappedMemoryRanges.
The second access scope includes all memory access performed by the device.

@jozefkucia sounds plausible.
Filed https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/806 for the first class of these; more to follow

It seem to have been refined in the spec in Table 4. Supported access types.
None of the flags list TOP_OF_PIPE and no other stages are implicitly added since it is srcStage.
VK_ACCESS_MEMORY_READ_BIT and VK_ACCESS_MEMORY_WRITE_BIT would be a grey area though because they list "N\A" in the table (whatever that means).


[bug] exclude iowait, steal, idle from CPU uages

Describe the bug
Based on

https://github.com/prometheus/node_exporter/pull/2194
https://github.com/prometheus-operator/kube-prometheus/pull/796
https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/667

The CPU modes idle, iowait, steal should be excluded from the CPU utilization.
How to reproduce?
No response
Expected behavior
No response
Additional context
Per the iostat man page:
%idle
Show the percentage of time that the CPU or CPUs were idle and the
system did not have an outstanding disk I/O request.

%iowait
Show the percentage of time that the CPU or CPUs were idle during
which the system had an outstanding disk I/O request.

%steal
Show the percentage of time spent in involuntary wait by the
virtual CPU or CPUs while the hypervisor was servicing another
virtual processor.

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add text feature

This PR should allow mac users to compile the code without building opencv from source.
Fixes #91 #76

You're savior, I was going to present at work on MAC example with Rust and OpenCV :)

@In-line can you confirm if it works? I don't have mac so it's quite hard to me to check it myself 😄

@Pzixel Tomorrow I'll do it at workplace : )

Installing brew install opencv@3 requires compiling of gcc from sources, so this process is very long. I guess it will take one night to compile everything.

So... ? 😄

@Pzixel So I dropped the idea of installing OpenCV.. But I try one more time now.

@Pzixel It's working. Confirmed with brew install opencv4, I was forced to manually link brew's opencv include dir with /usr/local/include/opencv2

Ship it! :shipit:


Adds basic auth support to Request

This just adds a small function to let users add basic authentication
credentials to Beeline Requests by delegating to the corresponding
function in Network.HTTP.Client.

This isn't necessary - closing


refactor: rename tokens according spec

Description:
Refactor tokens name according spec + refactor code - replace Token::NameOfToken { .. } on tok!("name-of-token") + improve error reporting in some cases
BREAKING CHANGE:
Yes
Related issue (if exists):
No

@kdy1 Rebased


index.html has an explore button that refers to develop.html

which isn't in my repo

index.html can be deleted, it's leftover from something else. Use app.html (which we can rename to index.html but requires changing the server to point to that name.)


cups-browsed: Fix broken trailing space removal on "NickName".

The code tried to remove trailing spaces, but if there was
at least one trailing space, the last two characters of the
line were removed. This caused removal of the quotation mark
in case exactly one trailing space was present, breaking
the PPD and subsequently causing CUPS to mess up all queues
(even local ones).
Signed-off-by: Oliver Freyermuth<EMAIL_ADDRESS>

Thank you very much for the patch. I have applied it now.


ensuring or ensure?

In the below paragraph I think it should be ensure not ensuring
NuGet defaults file
The NuGetDefaults.Config file exists to specify package sources from which packages are installed and updated, and to control the default target for publishing packages with nuget push. Because administrators can conveniently (using Group Policy, for example) deploy consistent NuGetDefaults.Config files to developer and build machines, they can ensuring that everyone in the organization is using the correct package sources rather than nuget.org.

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

ID: 370d9d91-9f35-79aa-3ace-7b77436e988f
Version Independent ID: 3da4591a-3d3d-c07a-6672-97964de13b14
Content: Configuring the behavior of NuGet
Content Source: docs/consume-packages/configuring-nuget-behavior.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

@mkalkere thanks for catching that! You can now submit a PR to update docs! Just click on the "edit" button on the top right of the page.


TEPHRA-156 Fix write to WAL by using durability API

JIRA - https://issues.cask.co/browse/TEPHRA-156

Code LGTM :+1: Wondering if its possible to add a unit test?

Good point about unit tests @gokulavasan, but it might be non-trivial to verify whether a Put got written into WAL in the tests. Let me look into this.

@gokulavasan Added tests, please take a look.

LGTM :+1:

Thanks @gokulavasan, will rebase and merge.