Add DeepFit project

Is your feature request related to a problem? Please describe.
Deepfit tracks your body movements throughout a workout. It will help correct for posture, keep track of your reps and make sure you get fit the right way.
Describe the solution you'd like
Keypoint Detection
The pre-trained MediaPipe landmark model in use is a Convolutional Neural Network and is trained with an input layer of size [1,256,256,3], which is accepted as incoming video feed from the webcam (256 x 256 pixels’ RGB values). The result received from the output layer is of shape [33, 5]. It translates to the 33 keypoints being detected by the model. The 5 additional parameters in the output map to the X, Y, and Z coordinates in the image (or video frame) and two factors for visibility and presence.

Pose Classification
18 of the 33 detected keypoints are used to train a pose classifier. The model tells us what workout is being performed, which leads us to task 3.

Pose Correction
Once the workout has been identified by our Classifier model, we use these keypoints to calculate the angles between limbs and compare it against benchmarks to identify if the person has an appropritate posture for an exercise. Apart from posture correction, these keypoints are also used to count the number of reps correctly performed for the workout.

Describe alternatives you've considered
It uses:
tensorflow
mediapipe
numpy
matplotlib
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Project inspired by https://github.com/akshaybahadur21/DeepFit/tree/main .
Do assign me.


Configure the Privacy Center with which (if any) consent type should be “executable” using connectors

In the privacy center config.json, we should add a boolean field to consentOptions such as executable. this should be added to the http request to the backend to let the server know if we should propagate the consent request.
This will indicate to the backend API endpoint which data within the consent dictionary to filter out, and which to propagate.

This ticket is confusing to me, I'd suggest structuring more similar to access/erasure configuration, in that the config.json defines which Policy to use, but the details of those Policies are stored in the db.   The issue comment above instead seems to add all the details to the config.json
My proposal:

the config.json specifies which default policy to use for consent (already present in the POC branch)
A separate UI screen that we need to build loads this policy from the consent.json which should have a single default Consent Rule and three default RuleUses attached to it.  The RuleUses have a key field which can be used as the consentOption and an executable boolean field.
Saving what is executable will send an API request to create/update rule uses.

Note that there's still some details being worked out as to whether we'll create a new RuleUse table, or we'll just add new columns and conditional logic around the existing RuleTarget table.  If we use RuleTargets, the API's will already exist which is a bonus.

I ended up needing to add executable to consentOptions since I ripped out the RuleUse table I was previously using to store this https://github.com/ethyca/fides/pull/2125/files/749a752b48fe3c5dccb14d2724a2e804615cb5e4#r1065240917. I had concerns about there being multiple sources of truth for this information.
I am now loading these options directly from config.json.  More testing would be useful to verify this is a workable path forward for now.
One thing that would be useful to add to this ticket would be passing in the policy_key from the config.json into the set_consent_preferences API request from the frontend.

Latest updates to what I think this ticket should do:
Work should be based off of https://github.com/ethyca/fides/pull/2125/ branch or consent-propagation if we can get that branch merged quickly

Set default consent preferences in privacy center config.json to be executable = False, they are currently True
Remove API code in load_executable_consent_options where I was loading the options from the file directly.  Neville said we won't have access to that file whoops.
Instead, in the UI, pass along whether the consent preferences is executable True/False when saving request preferences {{host}}/consent-request/{{consent_request_id}}/preferences

Backend src/fides/api/ops/schemas/privacy_request.py Consent schema could be given an optional executable boolean field

Also pass in policy_key from the UI (pulled from the config.json) when saving request preferences.

Further context on the above from Adam here: https://github.com/ethyca/fides/pull/2125#discussion_r1065972700


Remove version catalog naming pattern

No longer nag when name does not end with Libs.
Keep it as an example to reduce collisions in the documentation.
Fixes #20243

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.


Populate DeviceID, Timestamp and FPS for OpenXR frames

Summary
This adds explicit DeviceID, Timestamp and FramesPerSecond for Frames from the OpenXR provider.
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[ ] Check any relevant CHANGELOG files have been updated.
[ ] Ensure documentation requirements are met e.g., public API is commented.
[ ] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[ ] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.
[x] Check that Timestamp is usable as it would be expected in existing code.
[x] Check that DeviceID being 0 doesn't cause issues anywhere.
[x] Check that CurrentFramesPerSecond is sensible for all above usage.

Closes JIRA Issue
Closes UNITY-903

This change allows the velocity calculate I used (which discovered this missing value) to work as expected :)

As per conversation with Matt he witnessed the expected values in his app based on velocity calculations using timestamps.
Also tested:

Both editor and a build
Hands in/out of view
tabbed to a different app and back to simulate losing focus (so the timestamp continued in the background)


Download links outdated because RawGit links are cached permanently

Also that version doesn't seem to be functional (probably on account of some fixed bug), but that's how I noticed. Anyway, cool script. :+1:

Hey @Frenzie, where are you seeing the download link? The one from https://scottjehl.github.io/picturefill is pointing to 3.0.2.

Yes, that's the page.
The links in question are
Full:
https://cdn.rawgit.com/scottjehl/picturefill/master/dist/picturefill.js
Minimized:
https://cdn.rawgit.com/scottjehl/picturefill/master/dist/picturefill.min.js
The full starts with

/*! picturefill - v3.0.2 - 2016-02-12
 * https://scottjehl.github.io/picturefill/
 * Copyright (c) 2016
https://github.com/scottjehl/picturefill/blob/master/Authors.txt;
Licensed MIT
 */
/*! Gecko-Picture - v1.0
 * https://github.com/scottjehl/picturefill/tree/3.0/src/plugins/gecko-picture
 * Firefox's early picture implementation (prior to FF41) is static and does
 * not react to viewport changes. This tiny module fixes this.
 */

while the min starts with

/*! Picturefill - v3.0.1 - 2015-09-30
 * http://scottjehl.github.io/picturefill
 * Copyright (c) 2015
https://github.com/scottjehl/picturefill/blob/master/Authors.txt;
Licensed MIT
 */

On Sat, Apr 9, 2016 at 11:22 PM, Mike<EMAIL_ADDRESS>wrote:

Hey @Frenzie https://github.com/Frenzie, where are you seeing the
download link? The one from https://scottjehl.github.io/picturefill is
pointing to 3.0.2.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/scottjehl/picturefill/issues/648#issuecomment-207855460

Maybe point it to
https://raw.githubusercontent.com/scottjehl/picturefill/master/dist/picturefill.min.js
isntead?
On Sun, Apr 10, 2016 at 11:31 AM, Frans de Jonge<EMAIL_ADDRESS>wrote:

Yes, that's the page.
The links in question are
Full:
https://cdn.rawgit.com/scottjehl/picturefill/master/dist/picturefill.js
Minimized:
https://cdn.rawgit.com/scottjehl/picturefill/master/dist/picturefill.min.js
The full starts with

/*! picturefill - v3.0.2 - 2016-02-12
 * https://scottjehl.github.io/picturefill/
 * Copyright (c) 2016 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
 */
/*! Gecko-Picture - v1.0
 * https://github.com/scottjehl/picturefill/tree/3.0/src/plugins/gecko-picture
 * Firefox's early picture implementation (prior to FF41) is static and does
 * not react to viewport changes. This tiny module fixes this.
 */

while the min starts with

/*! Picturefill - v3.0.1 - 2015-09-30
 * http://scottjehl.github.io/picturefill
 * Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
 */

On Sat, Apr 9, 2016 at 11:22 PM, Mike<EMAIL_ADDRESS>wrote:

Hey @Frenzie https://github.com/Frenzie, where are you seeing the
download link? The one from https://scottjehl.github.io/picturefill is
pointing to 3.0.2.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/scottjehl/picturefill/issues/648#issuecomment-207855460

Ah, I see now. RawGit is something else entirely.
https://github.com/rgrove/rawgit/wiki/Frequently-Asked-Questions

RawGit is not associated with GitHub in any way. Please don't contact GitHub asking for help with RawGit.

[…]

Requests to cdn.rawgit.com are routed through MaxCDN's super fast content delivery network, and are cached permanently at the CDN layer based on the URL. This results in the best performance and reduces load on RawGit and on GitHub, but it means that reloading won't fetch new changes from GitHub.

Note the permanently. That means it'll never change after the first time it's loaded.

The CDN caches files permanently based on their path. It ignores query strings. This is done to improve performance and to make it possible for the CDN to handle massive amounts of traffic without causing excessive load on RawGit or GitHub's servers.

To ensure that the CDN always serves the version of the file you want, use a git tag or commit hash in the file's path instead of a branch name, and update the URL if you push a new version of the file.

Hey @Frenzie. I'm not sure why, but loading those those links result in 3.0.2 for me. Just to make sure, you've cleared your cache?
Either way, it's probably not a good idea for us to be pointing rawgit to master. I'll work on updating the link this week, when I get some time. If you'd like to throw a PR in the meantime that uses a tag instead of a branch, we'd welcome that too.

Yeah, that, a couple of different browsers, and curl. ;) And like the stuff I quoted said, even if it weren't a problem now, it'd be one soon.
$ curl -s https://cdn.rawgit.com/scottjehl/picturefill/master/dist/picturefill.min.js | grep v3
/*! Picturefill - v3.0.1 - 2015-09-30

I'll send a PR later to change the links to these
https://cdn.rawgit.com/scottjehl/picturefill/3.0.2/dist/picturefill.js
https://cdn.rawgit.com/scottjehl/picturefill/3.0.2/dist/picturefill.min.js


feature: convert CASE WHEN to IF

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


Enable automated testing and user-defined scenario selection

Description
Three new sets of functionality are enabled.  Please note that the README is updated with much of this information.  Here is a more verbose description.
1. Scenario Configuration
There is a one-to-one correspondence between config files under scenarios/base/*.yaml and the scripts located at config/*.csh.  Those yaml files contain the default settings and full descriptions of all user-configurable options.  Combined with tools/getYAMLKey.py, config/setConfig.csh, and config/getConfigOrNone.csh, these scenario settings control the top-level configuration variables of individual experiments.  For example, an excerpt from scenarios/base/workflow.yaml contains default settings as follows:
workflow:
  firstCyclePoint: 20180414T18
  initialCyclePoint: 20180414T18
  finalCyclePoint: 20180514T18
  InitializationType: WarmStart
  CriticalPathType: Normal
...

The base configurations are named as follows:
workflow.yaml - cylc task selection and date bounds
experiment.yaml - experiment naming conventions
model.yaml - model mesh settings
observations.yaml - observation source data
variational.yaml - settings specific to the variational application
hofx.yaml - settings specific to the hofx application
job.yaml - account and queue selection

Then there are specific scenario files (scenarios/*.yaml and scenarios/testinput/*.yaml) that show users the settings that would typically be modified away from their default values in order to run actual experiments.  The user selects a specific scenario by modifying config/scenario.csh, and they have the following options presently:

3dvar_OIE120km_WarmStart
3dvar_OIE120km_ColdStart
3denvar_OIE120km_WarmStart
3denvar_O30kmIE60km_WarmStart
3denvar_O30kmIE60km_WarmStart_ABEI
3dhybrid_OIE120km_WarmStart (experimental, tested for one cycle)
eda_OIE120km_WarmStart
eda_OIE60km_WarmStart (experimental)

3dvar_OIE120km_WarmStart is set as the default scenario, consistent with the current behavior in the develop branch.
2. Automated testing
A new script is added, run.csh, which runs the 5 test scenarios recommended for every pull request.  This is accomplished with the command, ./run.csh test or simply ./test.csh, executed in the repository directory.  There are additional options for the argument to run.csh so that a non-expert user can easily switch between the run config files under runs/*.yaml without needing to know what lies underneath in the whole config directory.  This acts as a pass-through to avoid manually modifying config/scenario.csh.  The options for the command-line argument to run.csh are as follows:
set ValidRunConfigs = ( \
  test \
  120km3dvar \
  120km3denvar \
  30km-60km3denvar \
)

3. config files are sourced only once
Similar to the functionality of an IFDEF statement used  in a C or C++ header file, checks are added in commonly used config files to avoid re-sourcing them multiple times.  This avoids unnecessary and time-consuming double loading of the python environment, for example.  E.g., in config/environment.csh:
if ( $?config_environment ) exit 0
setenv config_environment 1

Issue closed
Closes #68
Tests completed

[x] 3dvar_OIE120km_WarmStart
[x] 3denvar_OIE120km_WarmStart
[x] 3dvar_OIE120km_ColdStart
[x] 3denvar_O30kmIE60km_WarmStart
[x] eda_OIE120km_WarmStart

Will run tests now.

Reverting to draft until after testing is complete.  Need to fix some bugs I think.

Ready for review.  Two tests still running.

These new functionalities are very nice to have! Just one thing. When executing the autotest-PR.csh script I get the following messages:
nEnsDAMembers: Undefined variable.
variationalObsList: Undefined variable.
nEnsDAMembers: Undefined variable.

Nevertheless, the 5 test cases completed successfully.

Thank you @ibanos90! I figured out what was going on. Just to confirm, do you still intend to remove the VARBC table settings in SetupWorkflow.csh? If so, I would like to remove them in this PR to avoid the headache of coming up with a workaround that will not be needed one or two PR's ahead.

Great! Yes, I will move the VARBC table setting and all satellite bias related folder/files to config/satbiasdata.csh and then source this new script where needed

Closing for now.  Still some more work to do.

@metdyn, please do not push files to this PR.  Please submit a separate PR with the FAQ file so that it can be developed separately.

@metdyn, I think the updated README.md provides a better description than before.  It is also enhanced with GitHub Markup.

I tested 3denvar-60-iter_OIE120km_WarmStart on Cheyenne. The cycle experiment runs well and I get  CyclingDA/2018041500<PHONE_NUMBER><PHONE_NUMBER> both finish with success (mpas-jedi code build on March-2).

I tested 3denvar-60-iter_OIE120km_WarmStart on Cheyenne. The cycle experiment runs well and I get CyclingDA/2018041500<PHONE_NUMBER><PHONE_NUMBER> both finish with success (mpas-jedi code build on March-2).

Thank you @metdyn for trying it.  If you ever want to test all scenarios, you can execute ./test.csh.

@jjguerrette I have not done the actual review, but like to approve it in case you want to merge now. Then everyone has a new 'develop' version to play with.

OK.  Yes, that's probably best.  The way to set up experiments in this version is very different from before.

I ran 120km 3denvar successfully by using ncdiag obs. Thanks JJ.

@syha, if the merge into your IAU branch is not straightforward, please ask me to do it.  I expect that many of the files you are touching are modified in this PR.


reading text in shapes

can we have a support to read the text inside of shapes created by excel ?

I want to try to work on this this, but I want to ask something is it possible to add this feature if i using vbnet? or its must be js?


decorators: Migrate to typed_endpoint.

migrated decorators.py to typed_endpoint.
authenticate_internal_api is only called once in internal_api_view and is not a standalone endpoint, so it does not need the @typed_endpoint decorator.

Merged, but we should report the mypy bug upstream, as suggested in the output.


Retrieve Actual Number of Stars

Currently the header shows a mock of GitHub Stars

The API URL for getting the data is : https://api.github.com/users/rustacean-sh
And the number of stars is: https://api.github.com/repos/rustacean-sh/rustacean.sh/stargazers
I found this mehtod to make a GET request with Rust: https://rust-lang-nursery.github.io/rust-cookbook/web/clients/apis.html

Yes the method is similar to what we are doing now.

@luchosr only downside is that we could hit API rate limits, we could try this approach but I think its important to cache the response in user's local storage.


django support

how to use it with django, I found substantial performance improvement with this package over the django.core.cache with memcache as backed.
But this failing at some cases. I am looking for any drop in support for django.

Just an FYI, did you try out the pointers in the Best Practices Section?

I am looking for any drop in support for django
I don't believe pymemcache should support django, but rather, there should be a django plugin that helps support pymemcache.

Unless I misunderstood your point and there is a feature that this library should implement, I am going to close this ticket (feel free to reopen and clarify).

For those that stumble upon this issue, https://github.com/django-pymemcache/django-pymemcache


What is the method to get my own onnx trace.json file for profiling?

Describe the bug
I just follow the command lines from Gemmini Tutorial IISWC 2021. I followed the guide provided in this repo and got my own onnx model successfully.
spike --extension=gemmini pk ort_test -m vgg19.onnx -i images/dog.jpg -p caffe2 -x 2 -O 99
However, there is no method to generate trace.json to profile the onnx model. In the Gemmini Tutorial IISWC 2021, it just let us download the trace.json  from
https://tinyurl.com/gemmini-resnet50-trace

So, I am wondering how can I get my own trace.json for my customed onnx model?
To get my own trace.json, I have tried my way as follows, but I meet some error. Could you give me an example to get my own trace.json?
Urgency
I have been working on this issue for about a week, so I think it is urgent.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Linux Ubuntu 18.04
ONNX Runtime installed from (source or binary): in this repo
ONNX Runtime version: in this repo
Python version: 3.6

To Reproduce
I have tried to get the trace.json as follows:

I find when I finished onnxruntime-riscv by ./build.sh --config=Release --parallel --enable_training in chipyard/generators/gemmini/software/onnxruntime-riscv, I can get
chipyard/generators/gemmini/software/onnxruntime-riscv/build/Release/onnxruntime_perf_test, and the tutorial says that I can get my own trace.json.

To check the function of onnxruntime_perf_test, I run the command lines as follows:

spike --extension=gemmini pk build/Release/onnxruntime_perf_test -h.
And I got the out like the README here::
Gemmini extension configured with:
dim = 4
bbl loader
perf_test [options...] model_path [result_file]
Options:
-m [test_mode]: Specifies the test mode. Value could be 'duration' or 'times'.
Provide 'duration' to run the test for a fix duration, and 'times' to repeated for a certain times.
-M: Disable memory pattern.
-A: Disable memory arena
-I: Generate tensor input binding (Free dimensions are treated as 1.)
-c [parallel runs]: Specifies the (max) number of runs to invoke simultaneously. Default:1.
-e [cpu|cuda|dnnl|tensorrt|openvino|nuphar|dml|acl]: Specifies the provider 'cpu','cuda','dnnl','tensorrt', 'openvino', 'nuphar', 'dml', 'acl', 'nn                                                                  api' or 'coreml'. Default:'cpu'.
-b [tf|ort]: backend to use. Default:ort
-r [repeated_times]: Specifies the repeated times if running in 'times' test mode.Default:1000.
-t [seconds_to_run]: Specifies the seconds to run for 'duration' mode. Default:600.
-p [profile_file]: Specifies the profile name to enable profiling and dump the profile data to the file.
-s: Show statistics result, like P75, P90. If no result_file provided this defaults to on.
-v: Show verbose information.
-x [intra_op_num_threads]: Sets the number of threads used to parallelize the execution within nodes, A value of 0 means ORT will pick a default. M                                                                  ust >=0.
-y [inter_op_num_threads]: Sets the number of threads used to parallelize the execution of the graph (across nodes), A value of 0 means ORT will pi                                                                  ck a default. Must >=0.
-f [free_dimension_override]: Specifies a free dimension by name to override to a specific value for performance optimization. Syntax is [dimension                                                                  _name:override_value]. override_value must > 0
-F [free_dimension_override]: Specifies a free dimension by denotation to override to a specific value for performance optimization. Syntax is [dim                                                                  ension_denotation:override_value]. override_value must > 0
-P: Use parallel executor instead of sequential executor.
-o [optimization level]: Default is 1. Valid values are 0 (disable), 1 (basic), 2 (extended), 99 (all).
Please see onnxruntime_c_api.h (enum GraphOptimizationLevel) for the full list of all optimization levels.
-u [optimized_model_path]: Specify the optimized model path for saving.
-d [cudnn_conv_algorithm]: Specify CUDNN convolution algothrithms: 0(benchmark), 1(heuristic), 2(default).
-q: [CUDA only] use separate stream for copy.
-z: Set denormal as zero. When turning on this option reduces latency dramatically, a model may have denormals.
-i: Specify EP specific runtime options as key value pairs. Different runtime options available are:
[OpenVINO only] [device_type]: Overrides the accelerator hardware type and precision with these values at runtime.
[OpenVINO only] [device_id]: Selects a particular hardware device for inference.
[OpenVINO only] [enable_vpu_fast_compile]: Optionally enabled to speeds up the model's compilation on VPU device targets.
[OpenVINO only] [num_of_threads]: Overrides the accelerator hardware type and precision with these values at runtime.
[OpenVINO only] [use_compiled_network]: Can be enabled to directly import pre-compiled blobs if exists. currently this feature is only supporte                                                                  d on MyriadX(VPU) hardware device target.
[OpenVINO only] [blob_dump_path]: Explicitly specify the path where you would like to dump and load the blobs for the use_compiled_network(save                                                                  /load blob) feature. This overrides the default path.
[Usage]: -e <provider_name> -i '| |'
     [Example] [For OpenVINO EP] -e openvino -i "device_type|CPU_FP32 enable_vpu_fast_compile|true num_of_threads|5 use_compiled_network|true blob_dump                                                                  _path|"<path>""
        [TensorRT only] [use_trt_options]: Overrides TensorRT environment variables (if any) with following settings at runtime.
        [TensorRT only] [trt_max_workspace_size]: Set TensorRT maximum workspace size in byte.
        [TensorRT only] [trt_fp16_enable]: Enable TensorRT FP16 precision.
        [TensorRT only] [trt_int8_enable]: Enable TensorRT INT8 precision.
        [TensorRT only] [trt_int8_calibration_table_name]: Specify INT8 calibration table name.
        [TensorRT only] [trt_int8_use_native_calibration_table]: Use Native TensorRT calibration table.
        [TensorRT only] [trt_force_sequential_engine_build]: Force TensorRT engines to be built sequentially.
     [Usage]: -e <provider_name> -i '<key1>|<value1> <key2>|<value2>'

     [Example] [For TensorRT EP] -e tensorrt -i 'use_trt_options|true trt_fp16_enable|true trt_int8_enable|true trt_int8_calibration_table_name|calibra                                                                  tion.flatbuffers trt_int8_use_native_calibration_table|false trt_force_sequential_engine_build|false'
    -h: help

So I try to get my own trace.json:

spike --extension=gemmini pk build/Release/onnxruntime_perf_test -m duration -p my_own_trace.json systolic_runner/imagenet_runner/model/alexnet.onnx result_file
and get
Gemmini extension configured with:     dim = 4 bbl loader /data/sxchen/AutoSoC/generators/gemmini/software/onnxruntime-riscv/onnxruntime/core/platform/posix/env.cc:134 onnxruntime::{anonymous}::PosixThread::PosixThread(const char*, int, unsigned int (*)(int, Eigen::ThreadPoolInterface*), Eigen::ThreadPoolInterface*, const onnxruntime::ThreadOptions&) pthread_create failed
Expected behavior
Get my own trace.json through  onnxruntime_perf_test.
Additional context
The gemmini is on model FP32 (define in chipyard config), and I can run it without error.

some mistakes in issue


Undraft the bylaws: IP Policy [due 2 Aug]

Continuing with our reviews: the Intellectual Property policy.
voting group: @commonhaus/cf-egc
Do one of the following:

Approve the PR or react with 👍 (:+1:) if it looks good to you
Review with Comments or react with 👀 (:eyes:) if you're "ok" with it (it may not be your favorite)
If you think it needs discussion or revision

Create a review, add your comments and require changes
Use the +- button to make a suggestion (instead of just adding a comment).

Incorrect  by

OpenRewrite objects to this constraint. I think it is incompatible with CommonHaus’ general policy that the foundation doesn’t interefere in the governance of projects. It is clear that Moderne is the governing maintainer of OpenRewrite (at the current time) regardless of who legally owns the trademark.

extending deadline for detailed review

Setting due date to end of October.

Final draft. A sanity check would be lovely.

vote::result No voiced objections with ample bake time; proceeding.


remove unneeded dependency

Codecov Report

Merging #105 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #105   +/-   ##
=======================================
  Coverage   52.64%   52.64%
=======================================
  Files         100      100
  Lines        1474     1474
=======================================
  Hits          776      776
  Misses        698      698

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 cb56ca0...1114e94. Read the comment docs.

Coverage remained the same at 49.249% when pulling 1114e949d8a9f64b85763ac24860564f10d8013b on RedSquirrelious:master into cb56ca08be018bb6eb9c6bd6b774d89da30f4354 on Azure:master.


add StringSet.DeleteAll

Adds DeleteAll method to StringSet.

@smarterclayton ptal.  It's small, but it adds utility to the type.

Why is this better than assignment from an empty set?  What's the use case?
I don't mean to be overly rough, I am just fighting my natural tendency to add "obvious" APIs that nobody really uses and that have reasonable alternatives.

Why not have Reset if you don't want to reuse memory (which fits other go conventions for reusable objects).  However, I don't know that this type is going to benefit from that since when you throw away a map you're going to lose all the chains so you don't save much GC pressure.
----- Original Message -----

Why is this better than assignment from an empty set?  What's the use case?
I don't mean to be overly rough, I am just fighting my natural tendency to
add "obvious" APIs that nobody really uses and that have reasonable
alternatives.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/3631#issuecomment-70706452

DeleteAll is not a Reset,  the name mirrors HasAll.  It deletes all the items passed in, but does not clear the entire set.  This is useful for building sets where I want to include everyone from column A, unless they appear in column B.  For example:
usersWithAccess := util.StringSet{}

for _, allowRule := range allowAccessRules{
    usersWithAccess.Insert(allowRule.users...)
}
for _, denyRule := range allowAccessRules{
    usersWithAccess.DeleteAll(denyRule.users...)
}

// usersWithAccess now holds all the users from any allow rule that were not explictly denied.

The alternative is
for _, denyRule := range allowAccessRules{
    for _, deniedUser := range denyRule.users{
        usersWithAccess.Delete(deniedUser)
    }
}

DeleteAll is just more convenient.

Subtract(), but why not make it a new set?
----- Original Message -----

DeleteAll is not a Reset,  the name mirrors HasAll.  It deletes all the
items passed in, but does not clear the entire set.  This is useful for
building sets where I want to include everyone from column A, unless they
appear in column B.  For example:
usersWithAccess := util.StringSet{}

for _, allowRule := range allowAccessRules{
    usersWithAccess.Insert(allowRule.users...)
}
for _, denyRule := range allowAccessRules{
    usersWithAccess.DeleteAll(denyRule.users...)
}

// usersWithAccess now holds all the users from any allow rule that were not
explictly denied.

The alternative is
for _, denyRule := range allowAccessRules{
    for _, deniedUser := range denyRule.users{
        usersWithAccess.Delete(deniedUser)
    }
}

DeleteAll is just more convenient.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/3631#issuecomment-70709295

I mis-parsed this PR the first time, I apologize.
I am OK with this behavior, but why not make Delete() take plural items, as Insert() does?

why not make Delete() take plural items

I can do that.
Don't tell @smarterclayton, but it was because I was used to: http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html#removeAll(java.util.Collection)....

It'll be our secret.  Poke me when you are done.
On Tue, Jan 20, 2015 at 11:37 AM, David Eads<EMAIL_ADDRESS>wrote:

why not make Delete() take plural items
I can do that.
Don't tell @smarterclayton https://github.com/smarterclayton, but it
was because I was used to:
http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html#removeAll(java.util.Collection)
....
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3631#issuecomment-70717694
.

StringSet.Delete now accepts multiple items

LGTM


Make various functions prefer c_char over native Rust u8/i8, for cross-platform compilation

Fixes
https://github.com/AngryLawyer/rust-sdl2/issues/469

Okay @petevine, it took me two days to get the correct toolchain to compile, but I managed to reproduce your environment :D
Fancy giving it another test? Believe I've managed to get it this time.

It's fully fixed now, thank you very much :)

Nice one!


GlobalValueSetTranslation

It seems that support for GlobalValueSetTranslation is not included. How can I include it? Thanks in advance.

@juancdiazj Did you get the solution to include GlobalValueSetTranslation?

I have the same problem. Can anyone help me?


merge date bug

Environment
defu development environment
Reproduction
.
Describe the bug
// this repo/test/defu.test.ts
  it('merge Date', () => {
    const defaultObj = { date: new Date(), date2: new Date() }
    const obj2 = { date: new Date('2021-01-01'), date2: new Date('2021-01-02') }
    const obj3 = { date: '2021-01-01', date2: '2021-01-02' }
    console.log(obj2)
    const newObj2 = defu(obj2,  defaultObj)
    const newObj3 = defu(obj3,  defaultObj)
    console.log('results', { defaultObj, obj2, obj3, newObj2, newObj3 })
  })

// output
RERUN  test/defu.test.ts x35

stdout | test/defu.test.ts > defu > merge Date
results {
  defaultObj: { date: 2023-06-29T03:44:08.346Z, date2: 2023-06-29T03:44:08.346Z },
  obj2: { date: 2021-01-01T00:00:00.000Z, date2: 2021-01-02T00:00:00.000Z },
  obj3: { date: '2021-01-01', date2: '2021-01-02' },
  newObj2: { date: {}, date2: {} },
  newObj3: { date: '2021-01-01', date2: '2021-01-02' }
}

results.newObj2 should toBe obj2
Additional context
.
Logs
.

Probably the correct way to use objects that you don't want defu to try and deep-merge is to convert them toString() before setting into your input or defaults objects. Defu is a minimal implementation and this would be the only special case, which seems wrong.


Client only keeps the cached data for 180S.

From log file .small-dragonfly/logs/dfserver.log, we can see that cached data only last for 180s. It is too short in the real world for the images are not changed rapidly. It is not configurable now. It's strongly suggested to set this time configurable.
[2018-09-04 01:28:23,655] INFO sign:25840-1536024230.822 lineno:114 : delete expired:(180s) file:/home/ubuntu/.small-dragonfly/data/e5bca4c4-8136-42c2-89eb-f3ba447f98fb-26375-1536024321.700.service
[2018-09-04 01:28:23,662] INFO sign:25840-1536024230.822 lineno:114 : delete expired:(180s) file:/home/ubuntu/.small-dragonfly/data/f2f73b3f-a73d-4867-aec4-aa114b9b9444-25909-1536024234.880.service

Yes, I think we can add a command line parameter of dfget to allow users to change this time.

we can see that cached data only last for 180s

These are client's local temporary downloaded data used for uploading to the other clients in the P2P network. They will be deleted by peer server process launched by dfget if they are not accessed within 3 minutes.
And supernode caches these data for a long data until the available space of local disk reaching a threshold value.

It is great to add a new parameter.

since 0.3, there is an option --expiretime to set the duration for the cached files.


Future: Zombies Ate My Neighbors and Ghoul Patrol

Concerning the Zombies Ate My Neighbors and Ghoul Patrol games collection, the games are included in unaltered form inside the "ZAMN_GP.exe" executable and can be extracted with a simple hex copy/paste operation.
It is important to note that the executables for the Steam and GOG releases differ and as such, the offsets are also different.
In the following example I am using the dd tool which is available for both Windows and Linux OSes. The syntax is as it would be for Windows.
For Steam the commands are the following:
".\dd.exe" "if=%mydir%\ZAMN_GP.exe" "of=%mydir%\Ghoul Patrol (USA).sfc" bs=1 skip=26880448 count=1048576
".\dd.exe" "if=%mydir%\ZAMN_GP.exe" "of=%mydir%\Zombies Ate My Neighbors (USA).sfc" bs=1 skip=28360012 count=1048576
For GoG the commands are the following:
".\dd.exe" "if=%mydir%\ZAMN_GP.exe" "of=%mydir%\Ghoul Patrol (USA).sfc" bs=1 skip=26867136 count=1048576
".\dd.exe" "if=%mydir%\ZAMN_GP.exe" "of=%mydir%\Zombies Ate My Neighbors (USA).sfc" bs=1 skip=28346700 count=1048576
The "Ghoul Patrol (USA).sfc" MD5 should be: 657FA94CFF4464CBC58C476EA642299A
The  "Zombies Ate My Neighbors (USA).sfc" MD5 should be: 23C2AF7897D9384C4791189B68C142EB

This is in the dev branch/upcoming release.

Added in v0.1.0.


Fixed an infinite recursion bug in STI handling code

This is a fix suggested by kayakyakr in the comments on PR #332.
It solves the stack-too-deep problem which I encountered as soon as I enabled the
inheritance support.

This appears to resolve the same problem that I am having.

Same as #585 and that one has some tests as well.


PR: Add KV-cache creation capability to mlx_lm.generate for after a text completion

Whilst mlx_lm.cache_prompt lets you encode a prompt and save the key value pairs as a kv-cache.safetensors file in advance, there's currently no means of saving the kv-cache after a text completion by an LLM.
Adding this will bring MLX_lm more in line with Llama.cpp in terms of reducing latency in multi-turn scenarios. For example, using an MLX-served model as a chatbot and having a drawn out discussion about a given topic. Saving the KV-cache after each turn by the LLM means that even as the conversation history continues, there won't be any latency introduced by having to re-encode the entire chat log again - only the most recent user prompt.
Not sure I went about it the best way, but it seems to work from my testing! There's one superfluous edit to the step generator line 357 which can probably be left out, but otherwise I think I kept this as streamlined as I could.

Oop, forgot to add explanation of how to use. Copied + pasted from my explanation in the MLX Discord:
On first time initialisation of a chat you'll need to create the cache first for the model to use, which can be done with the normal cache prompt.py:
mlx_lm.cache_prompt --model 'mlx-community/Llama-3.2-1B-Instruct-4bit' --save-kv-cache "rollingcache.safetensors" --prompt "From now on, talk like a pirate"
And then after you'd do something like
mlx_lm.generate --model 'mlx-community/Llama-3.2-1B-Instruct-4bit' --save-kv-cache "rollingcache.safetensors" --kv-cache-file "rollingcache.safetensors" --prompt "Tell me a joke"
Which creates the generation:
Arrr, settle yerself down with a pint o' grog and listen close, me hearty.
Seems to work perfectly fine on a rolling basis. For example, you can then follow up with:
mlx_lm.generate --model 'mlx-community/Llama-3.2-1B-Instruct-4bit' --save-kv-cache "rollingcache.safetensors" --kv-cache-file "rollingcache.safetensors" --prompt "Explain that joke to me"
To which you'll get the reply,
Alright then, matey, settle yerself down with a pint o' grog and listen close. Ye want to know the joke, eh? Alright then, I'll give it to ye. So, I be tellin' ye this one: Why'd the pirate quit his job? (pauses for dramatic effect)
He be sick o' all the arrrr-guments, savvy? Arrrr, get it? It's a pirate pun, matey!
By having --save-kv-cache and --kv-cache-file as the same, It'll load the kv-cache file, take your new prompt and generate from it, then overwrite the original kv-cache file. Thereby making a rolling kv-cache. Even as the conversation history grows, time to first token is kept low as there's no need to re-encode.

Oop, didn't realise there was already a PR on this - https://github.com/ml-explore/mlx-examples/pull/989 Haven't had time to take a look yet but from what I gather it might be tackling largely the same thing

Thanks for the PR! I changed a bit how the caching works in MLX LM to make this exact use case much easier.
You can see the PR #1015 and example there. It will make avoiding recomputing KV caches and serializing them to disk much cleaner / easier.
It should mostly subsume the case you fixed here so I will close this.


Train new pretrained model

Hello,
All the pretrained models didn't result in good accuracy.
So I decided to train my own pretrained model.
I have very small grasses to detect, in an image of 1920x1080 they aren't bigger than 100x100 pixels.
When I use these model weights as Backend_pretrained model and start training yolo on HD images, the accuracy starts at 0.15 and degrees down to zero. I have no Recalls.
I can't find my mistake. Isn't yolo able to detect object with large x and very small y dimension?   Do I have to note something by training the pretrained model?

I got a similar problem, my dataset has resolution 640x480 and my objects has around 80x30, to increase my performance I removed a convolution block from TinyDarknet, so the grid got a size of 16x16 instead 8x8

Presumably you'll need to adjust your anchors when training on the HD images -  are you doing that?

I am generating the anchors as shown in the readme file with getanchors. I am also confused because the anchor ratios are near to zero

@shivaram93 you just need to run the script and pass the config file as an argument. Make sure to adjust the config file to match your needs.


A one click script to analyse the core dump files.

A one click script to analyse the core dump files. Here are the quick steps to Run it from Lincoln (case file server).

I don't have access to main branch, not sure how to put this in yb-tools. Anyway please approve so this can be available for user if needed and can be improved over time.


PAM module

Would it be usable to create your own PAM module?

Not sure that I understand your question. It is possible to create your own PAM module. An example of one I've created can be found here: https://github.com/CamW/pam-log-response

I want to make my own PAM module (to use in my pam.d config file) for bruteforce mitigation. But it seem I cannot use neither napm or pam-log-response for this purpose, it seems it's only for implementing PAM support in you own .Net applications. But it was not clear to me after reading the readme.

npam could help with building a PAM module in .net core since it's the other side of the same interface but you would need to figure out registering the .net core module and getting the calls into your module. pam-log-response is an example of a pam module written in C.


It is already 2021

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Fixes #

Proposed Changes

as per title

Release Note

Docs

/assign @lionelvillard
/assign @pierDipi

/assign @lionelvillard
/assign @pierDipi


Ask for current location

I'ts a simple question: how do I to ask to user for its current location?

There is another extension that adds this functionality: http://www.2amigos.us/open-source/details/leaflet-geocoder-plugin


Update Fidelity

As per #1320

Could you also change the doc file in the notes folder?

Change the phone numbers (there are two in the doc) to<PHONE_NUMBER>.
Remove the "Note" at the bottom of "How to Setup 2FA for Fidelity"

Oh, "at the bottom". I read that as Remove the note about "How to Setup 2FA for Fidelity"

That's better!

Yeah, sorry about the mess. I just woke up :sleeping:

It's all good! :smile:


Move Owner.upsert to BuildRunner

Hound receives payloads for events that aren't the PullRequest payloads we care
for. Thus, moving this into BuildRunner#run ensures the payload is relevant.
Related error: https://app.getsentry.com/hound-1/production/group/54752935/

Tested on staging.

:+1:


[Bug]: Windows build fails silently

Describe the bug
On a fresh Windows 11, double-clicking on "OpenAdapt" after downloading and extracting results in a waiting cursor for a few seconds, then returns to normal as if nothing had happened. Nothing appears in the system tray, and no process named OpenAdapt or Python is running.
To Reproduce

Download Windows app from https://openadapt.ai/
extract
double-click "OpenAdapt"

If I run as administrator, it creates the system tray icon and opens a tab, but the tab show ERR_CONNECTION_REFUSED. Attempting to create a recording similarly has no effect.

Related: https://github.com/OpenAdaptAI/OpenAdapt/issues/804


Use the locate service to retrieve a server

As specified in the spec of ndt7, we should use the locate service to find out the closest server and then run the test with such server. As pointed out by many this repository is still using an hardcoded server name, which is the IP address of a GCE instance I used for testing.

Is this still the case? New to this source code, but it looks like the library does this:
https://github.com/m-lab/ndt7-client-android/blob/3e831b785bf4086fddb8e700458588e39b493cf0/libndt7/src/main/java/net/measurementlab/ndt7/android/NDTTest.kt#L113
https://github.com/m-lab/ndt7-client-android/blob/3e831b785bf4086fddb8e700458588e39b493cf0/libndt7/src/main/java/net/measurementlab/ndt7/android/NDTTest.kt#L42


Coverage failing

We're trying to run CoverageBase.jl after every commit that makes it through testing and packaging (for Linux x86_64).  Unfortunately, it looks like I'm not doing something quite right.
First off, here is the code that's getting run, here is the latest run with all the steps and their logs.  There are two things I have questions about.  First off, there's the "skipped" messages during the .cov parsing stages.  Here's an example.  Secondly, after running all these steps, I try to submit to Coveralls, and I get a method undefined error.  I'm thinking this might have something to do with all the "skipped" messages.
@timholy any tips here would be appreciated.  I ran a Pkg.clone() on your CoverageBase repository and am currently sitting on commit c77855df2.  If you need to login and mess around with the buildbot I'm running this on, just let me know, I'll email you the login details.

@Iainnz I just looked through the source, and realized that it's Coverage.jl that spits out the "skipped" messages while parsing .cov files.  Do you have any idea why it might be doing that here?  Here are the .cov files that are created by the second (non-inlined) run from CoverageBase.jl.  taking a look at them, I'd have to say that they look like something is wrong, but I don't know what.  Any ideas?

First, nice that you're getting this set up!
Yes, indeed it's Coverage.jl that emits the "skipped" messages, and what you're seeing is normal behavior. Coverage.jl is set up to try to process every file in the directory, and emits "skipped" messages when it looks like the file is not a "julia source file" with a corresponding *.cov file. Since there is no file.jl.cov.cov, it skips file.jl.cov (but doesn't skip file.jl since there is a corresponding file.jl.cov). There is a proposal to skip any file ending in .cov. That coverage file you linked to looks normal, so I don't think there is anything wrong.
The only actual error is the "method undefined" error, and it's in HDF5/JLD. I needed to merge https://github.com/timholy/HDF5.jl/pull/206; I just did so, and tagged a new version.  You should be good to go now.

Rejoice.  It worked!  Next question; how can I link in git information?  It isn't getting the commit/committer information in Coveralls, which is kind of a bummer.

No clue how to do that, but I only skimmed the Coveralls API. https://coveralls.zendesk.com/hc/en-us
Why is your coverage number (58.2%) so much lower than mine (71.1%)?

I have no idea why my coverage number is so much lower.  I'll try to take a look at it this weekend to see what's going on.  Here's to hoping that it's a problem with my invocations and not yours!!!!

I wonder if backtrace issues are causing this difference.  What kind of environment are you running your tests on?  This is using the generic linux binaries, so perhaps something is causing those binaries to give less detail in their backtraces.

julia> versioninfo()
Julia Version 0.4.0-dev+2651
Commit dfbcf50* (2015-01-12 19:02 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

It's a Kubuntu 14.04.1 system (GNU/Linux 3.13.0-35-generic x86_64).
Just checking, are you deleting (or running without) the sys.so file? That contains a lot of precompiled functions, and anything inlined during precompilation will not get the credit it is due.
In my script in CoverageBase.jl I delete that file, but later I learned from Jameson this trick (now in our .travis.yml):
cp usr/lib/julia/sys.ji local.ji && ./julia -J local.ji <testscript> && rm local.ji

Well.  Removing sys.so seems to have done the trick!  I guess I missed that when I was writing up the buildbot script.  I guess I'll work on adding commit data so this can actually be tracked per-commit*, and then we're good to push this over to the main JuliaLang repository.

per commit that is applied to master, makes its way through the buildbot testing suite and is packaged on linux successfully.

Nice!
One last small issue: on coveralls, clicking the link for a particular file gives a "source not found" error. If I remember correctly, I needed to pay close attention to the directory from which Coverage was being run (I think in julia's top-level directory, but you can check the script).

 Thanks for the reminder.
On Wed, Jan 21, 2015, 13:07 Tim Holy<EMAIL_ADDRESS>wrote:

Nice!
One last small issue: on coveralls, clicking the link for a particular
file gives a "source not found" error. If I remember correctly, I needed to
pay close attention to the directory from which Coverage was being run (I
think in julia's top-level directory, but you can check the script).
—
Reply to this email directly or view it on GitHub
https://github.com/staticfloat/julia-buildbot/issues/15#issuecomment-70921717
.

This passes for now. Tantalizingly close to 80%, largely thanks to @kshyatt really raising the bar.


XRT deposit to Main XRT adress

Good day,
I made a mistake to withdraw funds from Bilaxy Exchange to your adres.
Txid :
0xc5b05c9fea9569f5e9ca7cfe69e08e149dce0cd6c2bfcb3e4201b0f03875d599
from :
0x253ff8d3b639243e2c9c4a36a4c461aa7fc5fe0d
Number of XRT coins : 21.892052
Can you guys help me out?
Thanks in advance,
Roy

Please wait some time before we will discuss that


Build failed on android with "Task : android:buildCMakeDebug[arm64-v8a] FAILED"

Description
After enabling new architecture using newArchEnabled=true in gradle.properties of android project. Not able to build android app on M1 mac
Steps to reproduce

Enable the new architecture in gradle.properties of android project by using newArchEnabled=true
Build the android project from Android Studio or use yarn android

React Native Version
0.74.3
Affected Platforms
Runtime - Android
Areas
Other (please specify)
Output of npx react-native info
OS: macOS 14.6.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 261.36 MB / 32.00 GB
  Shell:
    version: 5.2.26
    path: /opt/homebrew/bin/bash
Binaries:
  Node:
    version: 20.15.1
    path: ~/.nvm/versions/node/v20.15.1/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v20.15.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.3 AI-233.14808.21.2331.11709847
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 1.8.0_402
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.3
    wanted: 0.74.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
> Task : android:buildCMakeDebug[arm64-v8a] FAILED
-MD -MT CMakeFiles/appmodules.dir/OnLoad.cpp.o -MF CMakeFiles/appmodules.dir/OnLoad.cpp.o.d -o CMakeFiles/appmodules.dir/OnLoad.cpp.o -c {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp
C/C++: In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:11:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/fabricjni/include/react/fabric/ComponentFactory.h:11:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/componentregistry/ComponentDescriptorFactory.h:12:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ComponentDescriptor.h:12:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/Props.h:12:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/PropsMacros.h:11:
C/C++: /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_utils/include/react/utils/fnv1a.h:24:37: error: no type named 'identity' in namespace 'std'; did you mean 'folly::Identity'?
C/C++: template <typename CharTransformT = std::identity>
C/C++:                                     ^~~~~
C/C++: /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/folly_runtime/include/folly/Utility.h:339:7: note: 'folly::Identity' declared here
C/C++: using Identity = identity_fn;
C/C++:       ^
C/C++: In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:11:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/fabricjni/include/react/fabric/ComponentFactory.h:11:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/componentregistry/ComponentDescriptorFactory.h:12:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ComponentDescriptor.h:12:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/Props.h:14:
C/C++: /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/RawProps.h:149:38: error: expected concept name with optional arguments
C/C++:   { T::filterRawProps(rawProps) } -> std::same_as<void>;
C/C++:                                      ^
C/C++: In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:14:
C/C++: /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ConcreteComponentDescriptor.h:108:19: error: use of undeclared identifier 'RawPropsFilterable'
C/C++:     if constexpr (RawPropsFilterable<ShadowNodeT>) {
C/C++:                   ^
C/C++: {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:34:10: fatal error: 'rncli.h' file not found
C/C++: #include <rncli.h>
C/C++:          ^~~~~~~~~
C/C++: 4 errors generated.

Execution failed for task ': android:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/{user_name}/repo/android-client/ android/.cxx/Debug/so123uq6/arm64-v8a'
  [0/2] Re-checking globbed directories...
  [1/2] Building CXX object CMakeFiles/appmodules.dir/OnLoad.cpp.o
  FAILED: CMakeFiles/appmodules.dir/OnLoad.cpp.o
….
…
 -c {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp
  In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:11:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/fabricjni/include/react/fabric/ComponentFactory.h:11:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/componentregistry/ComponentDescriptorFactory.h:12:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ComponentDescriptor.h:12:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/Props.h:12:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/PropsMacros.h:11:
  /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_utils/include/react/utils/fnv1a.h:24:37: error: no type named 'identity' in namespace 'std'; did you mean 'folly::Identity'?
  template <typename CharTransformT = std::identity>
                                      ^~~~~
  /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/folly_runtime/include/folly/Utility.h:339:7: note: 'folly::Identity' declared here
  using Identity = identity_fn;
        ^
  In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:11:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/fabricjni/include/react/fabric/ComponentFactory.h:11:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/componentregistry/ComponentDescriptorFactory.h:12:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ComponentDescriptor.h:12:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/Props.h:14:
  /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/RawProps.h:149:38: error: expected concept name with optional arguments
    { T::filterRawProps(rawProps) } -> std::same_as<void>;
                                       ^
  In file included from {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:30:
  In file included from /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_newarchdefaults/include/DefaultComponentsRegistry.h:14:
  /Users/{user_name}/.gradle/caches/transforms-4/e4ff38ca226999e5e3d63c74b8528558/transformed/react-android-0.74.3-debug/prefab/modules/react_nativemodule_core/include/react/renderer/core/ConcreteComponentDescriptor.h:108:19: error: use of undeclared identifier 'RawPropsFilterable'
      if constexpr (RawPropsFilterable<ShadowNodeT>) {
                    ^
  {path}/mobile/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:34:10: fatal error: 'rncli.h' file not found
  #include <rncli.h>
           ^~~~~~~~~
  4 errors generated.
  ninja: build stopped: subcommand failed.

* Try:
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ': android:buildCMakeDebug[arm64-v8a]'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:148)
	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
	at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.internal.UncheckedException: com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/{user_name}/repo/android-client/ android/.cxx/Debug/so123uq6/arm64-v8a'
[0/2] Re-checking globbed directories...

Reproducer
Couldn't share as it's organization private repo
Screenshots and Videos
No response

Please share a minimal reproducer

Couldn't share as it's organization private repo

As @migueldaipre, we would need a bit of more information.
Generally this kind of issues are due to @parveen-bhatia you using a different NDK version as the expected one

I tried using ndkVersion "26.1.10909125" and now getting only one error as below:
/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:34:10: fatal error: 'rncli.h' file not found
  #include <rncli.h>
           ^~~~~~~~~
  1 error generated.
  ninja: build stopped: subcommand failed.

  C++ build system [build] failed while executing:
      /Users/{user_name}/Library/Android/sdk/cmake/3.22.1/bin/ninja \
        -C \
        /Users/{user_name}/repo/android-client/android/.cxx/Debug/1f6nd2o2/arm64-v8a \
        appmodules
    from /Users/{user_name}/repo/android-client/]android

Please let me know if this is the expected ndkversion ?

I tried using ndkVersion "26.1.10909125" and now getting only one error as below:

For 0.74, it's the one you specified: "26.1.10909125"

/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:34:10: fatal error: 'rncli.h' file not found

This error happens when the autolinking coming from the CLI is not running.
The rncli.h file should be located at:
android/app/build/generated/rncli/src/main/jni/rncli.h

Without a reproducer I can't help you further as there are a number of reason why this could be failing (wrong package installed, wrong configuration in your .gradle files, etc.)

@parveen-bhatia Try
Refresh Linked C++ projects
from Android Studio

As this issue is partially solved and we haven't heard from you in ~2 weeks, we're now closign it. Feel free to open a new one if you still have problem with #include <rncli.h>

Just a heads up that updating my OnLoad.cpp and CMakeList.txt to match the RN version samples did the trick for me.

Just a heads up that updating my OnLoad.cpp and CMakeList.txt to match the RN version samples that do not include rncli.h did the trick for me.

The above hack introduces this new error instead.
#include <autolinking.h>
^~~~~~~~~~~~~~~

Just a heads up that updating my OnLoad.cpp and CMakeList.txt to match the RN version samples that do not include rncli.h did the trick for me.

The above hack introduces this new error instead. #include <autolinking.h> ^~~~~~~~~~~~~~~

facing same error

facing the same error first i was facing jvm error and solved then I see another one which is soloader I solved that in mainApplication.kt and then now the same error like here the other developer face like what should we do


Create Laws of Probotics

Whether this is a list of best practices or code that enforces certain rules in probot plugins, we need to have things in place to prevent things like this from happening:

If you want the user to take an action, provide the next step.
Emulate empathy.
Help, don't hinder.
Only post with a repo maintainer's permission (e.g. your own repo, not others').


Create Dockerfile

This creates the dockerfile to build the docker versioned CLI. I've already pushed the first image to dockerhub so you can test it as well.
Testing
To use the dockerhub images without building the image yourself, install docker and then run:
docker run sodateam/metasynth synthesize -h

and you should see the cli help file. To actually generate synthetic data, go to the metasynth directory and try
docker run -v $pwd:/wd sodateam/metasynth synthesize /wd/examples/titanic_example.json /wd/output.xlsx

(on windows, change $pwd with %cd%)
This should create the file output.xlsx in your working directory
Building
To build the image, go to the repository and run
docker build . -t metasynthtest

and test whether the CLI initializes properly using
docker run metasynthtest synthesize -h

This is neat, nice!


Splitting a multi-buffer does not preserve cursor positions / selections

Environment:
Zed 0.46.0 – /Applications/Zed.app
macOS 12.4
architecture x86_64

Selections are now maintained when doing splits.


Request and Notification are type incompatible when the come from different versions

although they have the same shape. This is due to TS structural typing with classes:

Private and protected members in classes
Private and protected members in a class affect their compatibility. When an instance of a class is checked for compatibility, if the target type contains a private member, then the source type must also contain a private member that originated from the same class. Likewise, the same applies for an instance with a protected member. This allows a class to be assignment compatible with its super class, but not with classes from a different inheritance hierarchy which otherwise have the same shape.

We either need to make _ public or add a public method that does something meaningful like invoke(connection, params..., token): return

Addressed this by making the branding field public readonly
/cc @aeschli


Update privacy-personal-data.md

removed sentence which was repeated.

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6336

@tiburd please merge this PR. Thanks


Updated to use OAuth 2.0

Since you guys are taking some time to update python stuff here is a pull request to fix the chat example

Updated to use OAuth 2.0

Added run.bat which fixes crash when certain characters are printed to the console (Windows Only)

removed the sending 'Hi!' every second

Added !ping chat command

Added some chat formatting (can get raw output by commenting 1 line)

Tested on 3 OS platforms, 2 python versions (see readme.md)

Updated readme.md to be more accurate

@connor4312 As you were the original creator of this would you mind giving this a review when you get the chance. Thanks!

@Innectic thanks for the suggestions, The ChatEventHandler.py is my little addition just to format the chat events into a more readable format. I know the code could be better and is something I am working on for my own project 👍

Hey, sorry for the delay here. I'll make a note to myself to get this reviewed tomorrow.


Problem creating a VM with custom offering

I have a problem when I want to build a virtual machine with a custom offer, I cannot set the custom values I need for Cpu, Ram and CPUSpeed.
Environment:
Plugin: Cloudstack Terraform Provider - v0.4.0-pre
Cloudstack API: v4.15.1
Terraform: v1.0.6
S.O: Linux Mint 19.3 Tricia
Terraform will perform the following actions:

  # cloudstack_instance.web will be created
  + resource "cloudstack_instance" "web" {
      + display_name     = (known after apply)
      + expunge          = false
      + group            = (known after apply)
      + id               = (known after apply)
      + ip_address       = (known after apply)
      + name             = "VMLab"
      + network_id       = "06cc48b7-2d66-4c03-8075-4059e04336a7"
      + project          = (known after apply)
      + root_disk_size   = (known after apply)
      + service_offering = "custom offering"
      + start_vm         = true
      + tags             = (known after apply)
      + template         = "7e2ced7e-ae24-4631-8367-aebcf0652a25"
      + zone             = "ZoneLab"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

cloudstack_instance.web: Creating...
╷
│ Error: Error creating the new instance VMLab: CloudStack API error 431 (CSExceptionErrorCode: 4350): Need to specify custom parameter values cpu, cpu speed and memory when using custom offering
│

Reopening the ticket because this issue is still valid and reproducible. @manunolo please let me know if anything needs to add


Style the sidebar POC and get it running

Acceptance criteria

Take the simplified sidebar POC and style to be in alignment with the experimental component delivered to the CS platform team
This version of the sidebar will when done be promoted to the production component library

Closed as completed


[config] add config option to disable text

which would then make the mod also work server-side only out of the box (without text/translations tho)

added to the config in version 1.0.0 using owo-lib <3
both options can be set to false here in the config now. this is especially useful in the server config in case you want to disable messages when only using the mod on the server (which means vanilla clients can connect and the mod still works!):
"showMessageWhen": {
  "wakeUpVillager": false,
  "breakingBad": false
}


float gets converted to int

#pythran export get_something ()
def get_something ():
    current_age = 62
    time_remaining = 6.200001 / 0.1 - current_age

    print (time_remaining, type(time_remaining))

    if time_remaining > 1:
        return 0
    print (time_remaining, type(time_remaining))

    if time_remaining > 0:
        print (time_remaining, type(time_remaining))
        return 123
    else:
        return 234

time_remaining becomes an int after the last if statement.

This is a bug in range value analysis, will fix that!

A trivial fix would be to turn if time_remaining > 1: into if time_remaining > 1.: so that pythran doesn't misinterprets time_remaining as an int.

But that's not satisfying.


Proxy protocol and SNI do not work together

Changes

:bug: Fix bug
Proxy protocol and SNI do not work together, because the TLS inspector listener filter is executed before proxy_protocol listener filter

/kind bug

Fixes #868

Release Note

fix SNI with proxy_protocol

/test integration-tests_net-kourier_main

Thank you so much!
@RamyChaabane Do you think It is possible to add and e2e test for this in https://github.com/knative-sandbox/net-kourier/tree/main/test/proxyprotocol ?

Hello @nak3
I've tried to add an e2e test but it doesn’t work and I don't know what I'm doing wrong :/

Hello @nak3
better but I got 404 status error. So I do it differently and now it works

/lgtm
/approve
Thank you!


jctl line 13 error

Got:

jctl --groups-setup
File "/usr/sbin/jctl", line 13
elif args.chroot_update:
^
SyntaxError: invalid syntax

elif syntax error?! Hmmm

A typo, sorry.
Also sorry for the delay, I didn't realize there was an open issue (I didn't really expect anyone to use this code).


Gitlab : Contents don't pass schema validation

I encounter an error when trying to setup gitlab credentials.
I'm using the free version of the plugin.
I attach a screenshot of the modal with the error.
What is weird is when I add a slash to the end of the repository, it generates another error : "Error syncing with GitLab, check credentials".
I'm a bit lost, usually we just have to provide an URL but not here.
Thanks for any help !

Is the repository empty by chance? Make sure it contains the token files (or if you dont have the token files yet make sure it's initialized with a README.md).
This error can basically mean the token file you have provided here is malformed or there's no contents on the repository
If you're sure there's something in the repo (under that branch) then could you share the token json stored there?

Is the repository empty by chance? Make sure it contains the token files (or if you dont have the token files yet make sure it's initialized with a README.md).
This error can basically mean the token file you have provided here is malformed or there's no contents on the repository
If you're sure there's something in the repo (under that branch) then could you share the token json stored there?

OK there's a file but this file is empty. It's named tokens.json
Should I put a readme file too?

I'd either fill the file with contents or remove the file and push from the plugin which will setup a proper structure.
It's just important that the repository is not entirely empty so a readme.md file would suffice

Thanks a lot!
It works fine to get the connection. I get the push window and now I have
to test if it works with my colleagues.
Le dim. 19 févr. 2023 à 06:28, Jan Six @.***> a écrit :

I'd either fill the file with contents or remove the file and push from
the plugin which will setup a proper structure.
It's just important that the repository is not entirely empty so a
readme.md file would suffice
—
Reply to this email directly, view it on GitHub
https://github.com/tokens-studio/figma-plugin/issues/1617#issuecomment-1435874522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEBL3E7HXNSG5MBEFI666G3WYGVQNANCNFSM6AAAAAAU44ZPKQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah i'd try that, also probably not good to have an empty file - i guess that's the reason why it can't be parsed.
I'll close this, feel free to reopen if it persists


Add Description, HelpIink to FunctionInfo

Partial for #2004.
Not doing categories yet because we need to discuss how to support that longer term. Is there a curated set? Do we expose the category enum?

✅ No public API change.

✅ No public API change.


Update web-application-firewall.mdx

Fix not supported and limitations

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

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


Alacritty can't start with nvidia_x11 440.36

Describe the bug
Since the nvidia_x11 update from 435.21 to 440.36 in https://github.com/NixOS/nixpkgs/pull/73167, Alacritty fails to start with
Alacritty encountered an unrecoverable error:

	Error creating GL context; Received multiple errors. Errors:
      `[OsError("Could not create EGL display object"), OsError("GL context creation failed")]`

To Reproduce
Steps to reproduce the behavior:

Have an nvidia graphics card
Run NixOS with nvidia as the video driver from a nixpkgs version that includes above PR
Run alacritty

No restarting/relogging is needed to have this fail
Additional info
The bug has been observed on other distros, but never on NixOS afaik.
I'm sure that above nvidia_x11 update causes the issue since reverting it in my system fixes it. I verified that this issue is present with both the default linux kernel and latest (linuxPackages and linuxPackages_latest). It also happens with Alacritty versions 0.3.3, 0.4.0 and 0.4.1, so the nvidia_x11 update seems to be the real culprit.
Metadata

system: "x86_64-linux"
host os: Linux 5.3.11, NixOS, 20.03.git.da8e725 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.2
nixpkgs: /etc/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: linuxPackages.nvidia_x11

Ping @eadwu @veprbl @baracoder @Mic92

I just got this too. Guess I'll try rebooting again!


Bug fixing time

What does this PR do? How does it affect users?
This PR squashes a few pesky bugs that were

Preventing dataviz instances from being destroyed if no type had been set (#33)
Crashing the render/destroy cycle for tables
Preventing the update() method from returning correctly

How should this be tested?
Step through the code line by line. Things to keep in mind as you review:

Are there any edge cases not covered by this code?
Does this code follow conventions (naming, formatting, modularization, etc) where applicable?

Fetch the branch and/or deploy to staging to test the following:

[ ] Does the code compile without warnings (check shell, console)?
[ ] Do all tests pass?
[ ] Does the UI, pixel by pixel, look exactly as expected (check various screen sizes, including mobile)?
[ ] If the feature makes requests from the browser, inspect them in the Web Inspector. Do they look as expected (parameters, headers, etc)?
[ ] If the feature sends data to Keen, is the data visible in the project if you run an extraction (include link to collection/query)?
[ ] If the feature saves data to a database, can you confirm the data is indeed created in the database?

Related tickets?
#33


[Feature]: Multiple select when searching for different types

NetBox version
v3.4.5
Feature type
Add a function
Proposed functionality
When searching in the importer i notice when selecting a device you can select it but when you search for diffent device and select that one. When pressing the import selected only the last one will be added and not the one you also selected before.
Example:
Search 9200-L, select one
Search 9500, select one.
Import Selected.
Use case
Just nice to have so you dont have to go and search again and again and add it.
External dependencies
None?

This may be how netbox handles the selection on the table. I doubt there is much I can implement to improve this.


this does not actually start under upstart after reboot

/var/run is owned by root, therefore because the config does a setuid/setgid newrelic, newrelic-sysmond does not start after a reboot because it can't write to /var/run.  Even with commenting out setuid/setgid lines, I also need to remove from 'start on [2345]' to 'start on filesystem and net-device-up IFACE=lo' for it to work.

@phlipper Comment?

So the issue here is that /var/run/ is ephemeral; so when we reboot - it's lost. By default, as the comments state in the NewRelic file, it's normally just pointing at /tmp/nrsysmond.pid. We could either remove the clause that creates the PID directory in the recipe and update the attributes to this (Or don't change the template); or just update the attributes to another folder that's not ephemeral and will keep our permissions from the initial run. Also as you have in your PR @ayanich the init script needs runlevel mentioned otherwise it won't start up!

is this project abandoned?  There are multiple pull requests to fix issues, the actual 2.0.0 release is broken out of the box.

This isn't "officially abandoned", but definitely in hibernation at the moment. My daily roles have changed and I don't have the availability at the moment that I once did. I feel bad that it has fallen so far behind, but my limited availability has prevented me from digging out from under the barrage of PRs (which I appreciate and value immensely). I'd like to see this project continue, and assistance with that would be greatly appreciated.

What can I do to help?  Could you possibly allocate some time to get some of these merged so that what is out at least works?


🔨 Use Vue 3's Composition API for component

Codecov Report

Merging #9 into 1.0.2 will increase coverage by 23.80%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##            1.0.2        #9       +/-   ##
============================================
+ Coverage   76.19%   100.00%   +23.80%
============================================
  Files           2         1        -1
  Lines          21        14        -7
  Branches        1         0        -1
============================================
- Hits           16        14        -2
+ Misses          4         0        -4
+ Partials        1         0        -1

Impacted Files
Coverage Δ

src/vue-markdown-it.js
100.00% <100.00%> (ø)

src/index.js

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 e767d1b...6fb7185. Read the comment docs.


Generalized SlideMap

I would like to decouple Slidemap from the UMAP logic. The idea being that we can use other feature reduction methods and then still use all the Slidemap features like the plots, mosaic etc.
I did a quick implementation of UMAP as a feature reducer and I created a new class SlideMap_generalized that uses reducers.
I just wanted ask you @jamesdolezal if you like the idea and some of the implementation details so that I don't spend hours doing something completely or that will never make it to the master branch.

The idea is that eventually SlideMap_Generalized would just be SlideMap but again this is just a quick try.


Cluster command spike on topology refresh leading to higher latencies.

Current Behavior
I am seeing cluster command spikes whenever a redis node gets replaced. These spikes make all other client calls slow leading to higher latencies. I have a service with 900 instances connecting to a redis cluster of size 300(150 primaries). I have tried multiple settings like enabling only adaptive refresh(dynamic and periodic disabled) and other combinations but it doesn't help. Looking through the lettuce code, it seems lettuce calls into 300 redis nodes(primaries and replica) and picks the topology based on which topology view knows about the largest number of existing nodes. I cannot tell if the adaptive trigger timeout works.

I also encountered it and the OS indicated a flood attack。 redis version:5.0.14  and  lettuce version 6.0.1


Right Click Context Menu

Description of the new feature / enhancement
To enable or customize the right click context menu item in Windows 11
Scenario when this would be used?
When a user right click any icon or files, the menu list are very long and much of it are not usable. Need to remove or add-ins some new menu.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #33


Next calling issue on antd table.

After first call of next function, it is not being called on antd table. Can anyone help me out with it or anyone faced similar issue.

I have a similar issue. First call and then only shows Loader without issuing a network call.

Same issue as well. Next function is only called once

I solved it and I think it had to do with the dataLength attribute. I thought this was supposed to be the total number of loadable elements, and it actually should be the total number of loaded elements (not loadable). I hope this helps you.

Thank you. That was it.

I faced the same problem only in modal window (antd). When the modal is shown, the next method does not work, and only the component is visually displayed in the loader. No problems with items. Has anyone encountered this behavior?

@plamenh Thanks you so much, it helped a lot as I was stuck on the same issue.

Hey does this react-infinite-scroll-component works with antd protable because I want that scroller should listens for internal div of antd protable which does not have Id.


Adding missing translations

🚀 Feature Proposal
To add some of the missing translations on the script files, can I start working on them or you guys planning on doing it a different way?
Motivation
I've seen some traction for this repository on some Facebook front-end groups and they were talking about the missing languages , so I've been studying the code and would like to collaborate

Hi @rodzy. We are thinking of integrating Crowdin for easier translation management. Do you maybe have any experience at the configured level?


_.initial may be more verbose than it needs to be.

This is the code for _.initial:
  // Returns everything but the last entry of the array. Especially useful on
  // the arguments object. Passing **n** will return all the values in
  // the array, excluding the last N.
  _.initial = function(array, n, guard) {
    return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));
  };

It seems that using Math.min and a negative end index for slice would be equivalent and less verbose:
  _.initial = function(array, n, guard) {
    return slice.call(array, 0, Math.min(0, -(n == null || guard ? 1 : n)));
  };

Actually, I now see that it differs at the extreme case where n is 0. It seemed like a compelling issue before that, though. It would be useless to write the extreme case: _.initial(collection, 0) since it would be equivalent to collection (give or take being a real array); however, it is quite possible that some code that needs to vary n might use the extreme case with n = 0. Because of this, I think this issue should be closed.


Webpack/encore compatibility -  $(...).jstree is not a function

We tried to use jstree for a project, but we can't get it to work with encore/webpack.
Our webpack.config.js looks like this
const Encore = require('@symfony/webpack-encore');

// Manually configure the runtime environment if not already configured yet by the "encore" command.
// It's useful when you use tools that rely on webpack.config.js file.
if (!Encore.isRuntimeEnvironmentConfigured()) {
    Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}

Encore
    // directory where compiled assets will be stored
    .setOutputPath('public/build/')
    // public path used by the web server to access the output path
    .setPublicPath('/build')
    // only needed for CDN's or subdirectory deploy
    //.setManifestKeyPrefix('build/')

    /*
     * ENTRY CONFIG
     *
     * Each entry will result in one JavaScript file (e.g. app.js)
     * and one CSS file (e.g. app.css) if your JavaScript imports CSS.
     */
    .addEntry('app', './assets/js/app.js')
    [...]
    .addEntry('assetOverview', './assets/js/asset/overview.js')

    .copyFiles({
        from: './assets/img',
        to: 'img/[path][name].[hash:8].[ext]',
    })

  .copyFiles({
    from: './assets/fonts',
    to: 'fonts/[path][name].[hash:8].[ext]',
  })

    // When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
    .splitEntryChunks()

    // will require an extra script tag for runtime.js
    // but, you probably want this, unless you're building a single-page app
    .enableSingleRuntimeChunk()

    /*
     * FEATURE CONFIG
     *
     * Enable & configure other features below. For a full
     * list of features, see:
     * https://symfony.com/doc/current/frontend.html#adding-more-features
     */
    .cleanupOutputBeforeBuild()
    .enableBuildNotifications()
    .enableSourceMaps(!Encore.isProduction())
    // enables hashed filenames (e.g. app.abc123.css)
    .enableVersioning(Encore.isProduction())

    // enables and configure @babel/preset-env polyfills
    .configureBabelPresetEnv((config) => {
        config.useBuiltIns = 'usage';
        config.corejs = '3.23';
    })

    .enableSassLoader()

    // uncomment if you're having problems with a jQuery plugin
    .autoProvidejQuery()
    .enableVueLoader()
;

module.exports = Encore.getWebpackConfig();

We tried it with the following script:
require('jstree');

$(() => {
    $('#jstree_demo_div').jstree({ 'core' : {
            'data' : [
                'Simple root node',
                {
                    'text' : 'Root node 2',
                    'state' : {
                        'opened' : true,
                        'selected' : true
                    },
                    'children' : [
                        { 'text' : 'Child 1' },
                        'Child 2'
                    ]
                }
            ]
        } });
});

With that combination it we get the following error:
Uncaught TypeError: $(...).jstree is not a function

We also found a few issues in this repository e.g.

https://github.com/vakata/jstree/issues/2640
https://github.com/vakata/jstree/issues/1675

So we tried the fixes in that issues e.g.

Disable autoProvidejQuery() and import jQuery within the file where it is needed
We also followed the Symofny Encore Documentation for legacy/Jquery Plugins.

I hope somebody can help out, thanks in advance ! :)

Found the issue, after updateing the encore bundle, it's working fine.


Fix bug where TileMap wouldn't update material correctly on assignment

This seemed to be a simple case of a missing condition in an if statement with a few different flags. I'm not super familiar with the tilemap code but hopefully this is the correct place to add this check.
Fixes #83474
Testing Procedure

Download the example project in issue #83474 and test it on master. Upon running the game, press the space key to toggle the material and observe that no visual change occurs.
Checkout this Pull Request and recompile.
Test the project again. It should work as expected.

Thanks!


Picture in cache-description not shown

Reported by a colleague and I can reproduce it with NB2602:
In GC3BFQB the cache-description contains a single image only but nothing else.
In cgeo it shows up empty and no link to the picture.

It seems it is set as background picture ?!

	```

It seems it is set as background picture ?!
<br />
<br />
<br />
<br /></td>```

Would be too difficulty to handle this. There are hundreds of special cases.

OK


Unit tests on implemented metrics

Nice looking package and it seems to bootstrap model comparisons in a nice way. You roll your own implementation of the metrics and while they are straightforward implementations the unit tests don't check for correctness at all. This makes it hard to adopt the package without first checking the correctness ourselves.
Seems like two paths could help improve:

Drop custom metrics in favor of already tested implementations (i.e. sklearn)
Add unit tests for current implementations

We'll try to carve out time to do that latter but not sure which direction you'd want to take.
Thanks for the work!

Work

Jsjsjss

Ggg


Fix variation laststock

Q
A

issue or Enhancement
issue

Changelog updated?
yes

License
MIT

What's in this PR?
This PR fix the last stock settings for variations and set only the flag on the product, if all variations have set the flag in plentymarkets.
Checklist

[x] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix

@lacodimizer could you add the field to the VarationValidator as well?

@lacodimizer i have added it through a second pr :)

@jochenmanz Thx for that and best regards from dom rep 🌴


[GEARPUMP-278] Check for null before casting stored start clock

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the commit message is formatted like:
[GEARPUMP-<Jira issue #>] Meaningful description of pull request
[ ] Make sure tests pass via sbt clean test.
[x] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.

+1

Codecov Report

Merging #154 into master will decrease coverage by -0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
- Coverage   71.75%   71.58%   -0.17%
==========================================
  Files         191      191
  Lines        6068     6068
  Branches      522      526       +4
==========================================
- Hits         4354     4344      -10
- Misses       1714     1724      +10

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 a996d39...ee6e119. Read the comment docs.