Unable to run Plan and Apply on different machines

Terragrunt appears to not support operation via Continuous Integration in the Plan and Apply on different machines scenario described by Terraform.
Attempts to have Terragrunt plan-all commands produce a plan output file, that would later be used as an input file by apply in another CI phase (or possibly another machine) fail with Error: error satisfying plugin requirements as no plugins are seen to be installed.
I've attempted to address via the TF_PLUGIN_CACHE_DIR environment variable, with the intention of having the plugin cache directory produced by the plan-all phase be part of the CI artifact that is subsequently used in the apply phase.  Results suggest Terragrunt might not fully support  TF_PLUGIN_CACHE_DIR.
Environment summary
Terragrunt project structure mirrors Example infrastructure-live for Terragrunt
Tests below performed on Mac with Terragrunt v0.14.11 and Terraform v0.11.7
Steps to reproduce
$ rm -fr ~/.terragrunt/
$ export TF_PLUGIN_CACHE_DIR="/development/plugin-cache"
$ mkdir $TF_PLUGIN_CACHE_DIR
$ cd /development/infrastructure/<region>/<env>/
$ terragrunt plan-all -out=/development/tfplan -input=false --terragrunt-source /development/infrastructure-modules/
[...]
Plan: 3 to add, 2 to change, 2 to destroy.

------------------------------------------------------------------------

This plan was saved to: /development/tfplan
[...]

The above results in the expected plan file being produced, and /development/plugin-cache populated with relevant plugins.
However attempts to use the plan file produced fail, even from the same machine and working directory as above.  For example:
$ terragrunt apply -lock=true --terragrunt-source /development/infrastructure-modules/ /development/tfplan

[terragrunt] [/development/infrastructure/<region>/<env>] 2018/06/27 19:38:13 Running command: terraform --version
[terragrunt] 2018/06/27 19:38:13 Reading Terragrunt config file at /development/infrastructure/<region>/<env>/terraform.tfvars
[terragrunt] 2018/06/27 19:38:13 WARNING: no double-slash (//) found in source URL /development/infrastructure-modules/. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2018/06/27 19:38:13 Cleaning up existing *.tf files in /Users/<user>/.terragrunt/6dOzorUGLXs9_tX5Tfk4ijN6t6E/7KyfyvIHVj_sGgjDjciUZgZWEws
[terragrunt] 2018/06/27 19:38:13 Downloading Terraform configurations from file:///development/infrastructure-modules into /Users/<user>/.terragrunt/6dOzorUGLXs9_tX5Tfk4ijN6t6E/7KyfyvIHVj_sGgjDjciUZgZWEws using terraform init
[terragrunt] [/development/infrastructure/<region>/<env>] 2018/06/27 19:38:13 Initializing remote state for the s3 backend
[terragrunt] [/development/infrastructure/<region>/<env>] 2018/06/27 19:38:15 Running command: terraform init -backend-config=bucket=terraform-state-<env> -backend-config=key=./terraform.tfstate -backend-config=region=<region> -backend-config=dynamodb_table=terraform-locks-<env> -backend-config=encrypt=true -from-module=file:///development/infrastructure-modules /Users/<user>/.terragrunt/6dOzorUGLXs9_tX5Tfk4ijN6t6E/7KyfyvIHVj_sGgjDjciUZgZWEws
Copying configuration from "file:///development/infrastructure-modules"...
Terraform initialized in an empty directory!

The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
[terragrunt] 2018/06/27 19:38:15 Copying files from /development/infrastructure/<region>/<env> into /Users/<user>/.terragrunt/6dOzorUGLXs9_tX5Tfk4ijN6t6E/7KyfyvIHVj_sGgjDjciUZgZWEws
[terragrunt] 2018/06/27 19:38:15 Setting working directory to /Users/<user>/.terragrunt/6dOzorUGLXs9_tX5Tfk4ijN6t6E/7KyfyvIHVj_sGgjDjciUZgZWEws
[terragrunt] 2018/06/27 19:38:15 Skipping var-file /development/infrastructure/<region>/<env>/ignore as it does not exist
[terragrunt] [/development/infrastructure/<region>/<env>] 2018/06/27 19:38:15 Initializing remote state for the s3 backend
[terragrunt] [/development/infrastructure/<region>/<env>] 2018/06/27 19:38:16 Running command: terraform init -backend-config=region=<region> -backend-config=dynamodb_table=terraform-locks-<env> -backend-config=encrypt=true -backend-config=bucket=terraform-state-<env> -backend-config=key=./terraform.tfstate
Terraform initialized in an empty directory!

The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
[terragrunt] 2018/06/27 19:38:16 Running command: terraform apply -lock=true /development/tfplan
Acquiring state lock. This may take a few moments...
Releasing state lock. This may take a few moments...
Acquiring state lock. This may take a few moments...
Plugin reinitialization required. Please run "terraform init".
Reason: Could not satisfy plugin requirements.

Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.

2 error(s) occurred:

* provider.aws: no suitable version installed
  version requirements: "1.25"
  versions installed: none
* provider.template: no suitable version installed
  version requirements: "1.0"
  versions installed: none

Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules. To see the
requirements and constraints from each module, run "terraform providers".

Releasing state lock. This may take a few moments...

Error: error satisfying plugin requirements

[terragrunt] 2018/06/27 19:38:31 Hit multiple errors:
exit status 1

Notes / Observations
With the TF_LOG=debug environment variable set the above $ terragrunt apply -lock=true --terragrunt-source /development/infrastructure-modules/ /development/tfplan command includes the below output, that suggests terragrunt apply does not utilize TF_PLUGIN_CACHE_DIR and instead continues to look in .terraform/plugins/
-----------------------------------------------------
2018/06/27 19:32:58 [DEBUG] [aws-sdk-go] {}
2018/06/27 19:32:58 [INFO] command: backend initialized: *s3.Backend
2018/06/27 19:32:58 [DEBUG] checking for provider in "."
2018/06/27 19:32:58 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/06/27 19:32:58 [DEBUG] checking for provisioner in "."
2018/06/27 19:32:58 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/06/27 19:32:58 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2018/06/27 19:32:58 [INFO] command: backend *s3.Backend is not enhanced, wrapping in local

--terragrunt-source is used in both plan and apply commands as automation seeks to guarantee the same contents is used by both phases and avoid performance penalties of downloading multiple times.
Although plan-all is used to produce the plan output file, it seems only apply supports a plan input file. Is this correct? A plan input file with apply-all results in:
You can't set variables with the '-var' or '-var-file' flag
when you're applying a plan file. The variables used when
the plan was created will be used. If you wish to use different
variable values, create a new plan file.

I've attempted various scenarios with --terragrunt-non-interactive, -input=false and -auto-approve type flags which have not influence the outcome above.
If I've missed something and there are other approaches for Terragrunt working in an automation / continuous integration world it would be great to have details included in the documentation.

There's definitely a bug with using plan files with Terragrunt and extra_arguments: https://github.com/gruntwork-io/terragrunt/issues/493
I don't think we've ever tried plan-all and apply-all with plan files. The provider issue confuses me, as Terragrunt doesn't control where Terraform downloads provider/module code... It just runs terraform init and lets Terraform do its thing...

I recently set up a CI process using terragrunt plan-all and apply-all commands using the plan generated in a previous step.
My setup is:

CircleCI
Docker container with terraform, terragrunt, a 3rd party provider in ~/.terraform.d/plugins/
I think the only major difference is that I am not using the --terragrunt-source switch.
gcp remote storage for state

Also I did notice that I needed to run the apply-all from the same absolute path as I ran the plan-all step from in the previous step.

I'm running into this same issue when using this type of setup with Atlantis

@sjungwirth would you be open to sharing your before_hook code?

@mholttech sure, it's nothing too fancy:
#!/bin/bash

parent_dir=$1
relative_path=$2

child_dir="${parent_dir}/${relative_path}";

filename="${child_dir}/create_vars.auto.tfvars";
cat <<EOF > ${filename}
# DO NOT EDIT - File created by bin/create_vars.sh
dept = "${relative_path%/*}"
org_id = "XXXXXX"
billing_account = "XXXXXXXX"
EOF

One thing I think I forgot to mention in my previous post, I needed to run terragrunt validate-all ... || true in my CI to initialize the create_vars.auto.tfvars files before trying to do a plan-all. The  || true part was to allow my CI to continue even though the validate-all command would return an error code.

@mholttech mholttech I know it's a little bit old issue, but I'm curious if you've ever solved this issue.
I'm unable to run terragrunt plan-all -out=$PLANFILE and then terragrunt apply-all $PLANFILE sequentially, terraform is complaining about unsatisfied plugins.. :(


Green on green

Trying to figure out how to install coral on raspberrypi 4 using python 3.12!!! I tried back dating the python but run into trying to troubleshoot why the code not running with everything required and paths set up correctly!!! Any suggestions?? I have a data set here that seems to work well in pasture on laptop on my own script over a video!!  Any suggestions

Thanks for giving this a go! As you've probably found out unfortunately Google has not updated the PyCoral library for the Coral in some time.  What are your specific errors? Can you screenshot/copy paste them here? Which dataset are you using or is it one you've developed yourself?
There's a great video explaining the set up process by the YouTuber Jung. This thread on the issue (https://github.com/google-coral/pycoral/issues/137) also provides some options to run it with post 3.9 versions of Python. The issue with backdating python is you'll run into compatibility issues with picamera2 I think and other packages.
I explain a bit more about the situation/plans in #141. When I set up GoG support for the OWL with the Coral and PyCoral I assumed there would be ongoing support for the hardware/software. Unfortunately it seems that isn't the case and the community is moving toward other options like the Hailo AI Kit. The Raspberry Pi 5 can run small models at moderate FPS, but having the additional hardware like the Hailo chip using the PCIe connection greatly improves speed. I'd recommend upgrading to a Pi 5 if you want to run GoG models in the future - it will be much better supported/faster.

I have tried back dating the raspberry pi!!! I kinda wrote a script that sets up setting up python 3.9 in its own environment to run the coral (env-coral) in and use the rest of owl to run in the owl in (owl) I got it running once thought I got it right had camera up detecting weeds in my lawn thought I solved it then reset raspberry pi and kept saying I have to install open cv and a few and can’t get it to run again

Also yes I made a custom data set

This is really neat! Thank you for sharing the process and my apologies for not responding sooner or for being much help! It looks like you've got it sorted far better than I could have in any case. Your dataset sounds great - I have found that grouping very different weeds together may negatively impact model training, because of the diversity in appearance that the weeds present. Depends on the context and crop/background however. I have also found the opposite, where too many classes of very similar classes can result in poorer training, so I think there is a middle ground. Do you have some examples?
GoG will be a focus for me in the next 6 months starting from late September, so expect there to be a lot more support for it and updates. The idea is to update the openweedlocator-tools package and use that as the base for the main OWL repository. That way functions can be run independently and interact better with a GUI too.
Thanks again for sharing!

yeah i trained and retrained the model with the likes clover mash mellow weed  and that for a trial... just with weeds and that around the house in my area but had like 1500 photos and i hated sitting there trying to put a box over every weed haha


Make localStorage an authoritative view of our data

Tests included, of course!

I the style changes are opposed to some style guide I missed, I can submit another pull request without them.


Missing data preprocessing scripts

Hi, I'm trying on trying Multi-task V3' model, but can't found 'bdd_to_yolo.py' and './data/labels.py' two scripts mentioned in the 'Training Dataset preparation' part in both this repo and the AMD's original repo.
I had collected the 'bdd_to_yolo.py' in this repo, but these is nowhere I can found the './data/labels.py'. I think is to select the seg classes used for training the model, could you please make it clear that which classes are used to train the seg branch? Thank you!

Hi @Jimlee079 . We've stumbled across the same problem with original repository and reported it to the authors, but unfortunately didn't get any response (https://github.com/Xilinx/Vitis-AI/issues/1154). Fixes in this repository support only training and deploying the model. We do not support scripts for dataset creation as we have created the dataset manually, according to filetree from README.md.
If you wish, I can try to upload sample dataset at the beginning of next week.

Hi @maciekbaczmanski , thanks for the reply, I think a list of which 16 seg classes in the cityscapes all 19 seg classes are used for seg branch training could solve my question, no need for the full data processing scripts. and some sample dataset will be better!

Hi @Jimlee079. Sorry it took so long. Here is a PR: https://github.com/vision-agh/mt_kria/pull/7
Actually for training, number of classes is set here: https://github.com/vision-agh/mt_kria/blob/64cdc83360444c16dd63e481321f9d8f6a41be58/code/train/data/config.py#L38C9-L38C9
it should be 1 more than actual number of classes to include background. Brightness of each pixel assigns it to each class. Cityscapes classes are used here only for visualization, while dataset should be in grayscale.

hi@maciekbaczmanski, nevermind, the samples helps a lot, thanks for that!


Remove webpki crate - resolves #2183

Proposed changes

Our dependencies were updated to latest versions so that they no longer use the unmaintained webpki crate.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

There are 2 problems leading to the issue with CI test check:

we're hitting github CI runner free space limit of 14GB
some tests of download crate do not terminate if there is no sufficient disk space

There are 2 problems leading to the issue with CI test check:
* we're hitting [github CI runner free space limit of 14GB](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)

* some tests of `download` crate do not terminate if there is no sufficient disk space

What I propose to move forward is simply to mark as ignored the tests that block when there is no sufficient disk space.
Also, create a ticket to fix the issue related to these blocking downloads. If the disk is full a download should not block and should even remove all half-downloaded stuff on such errors.

What I propose to move forward is simply to mark as ignored the tests that block when there is no sufficient disk space.

There's also the problem that some tests, as expected, fail if there is no disk space available.


Add classes for v1 async methods and upgrade version to 1.0.23

 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.yujia liu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Improve test logger

Before, there was a log/buffer.go, but that design is not general, and it introduces a lot of irrelevant Content() (string, error)  and return "", fmt.Errorf("not supported") .
And the old  log/buffer.go is difficult to use, developers have to write a lot of Contains and Sleep code.
The new LogChecker is designed to be a general approach to help to assert some messages appearing or not appearing in logs.

.


Attach keyboard to html chat

In  a custom webhook response to command /start, I want to have a keyboard on the chat, like below
$this->chat->html($message)             ->keyboard(Keyboard::make()->buttons([                 Button::make('Delete')->action('delete')->param('id', '42'),                 Button::make('open')->url('https://test.it'),                 Button::make('Web App')->webApp('https://web-app.test.it'),                 Button::make('Login Url')->loginUrl('https://loginUrl.test.it'),             ]))->send();
I have imported the classes as well,
use DefStudio\Telegraph\Keyboard\Button; use DefStudio\Telegraph\Keyboard\Keyboard;
But I get response as below
[2023-11-01 06:25:17] local.ERROR: Class "App\Services\Keyboard" not found {"exception":"[object] (Error(code: 0): Class \"App\\Services\\Keyboard\" not found at /home/spatryoc/tg.spatryoc.net/app/Services/CustomWebhookHandler.php:45)
I tried the following:

Inline the class namespace
run the command "composer dump-autoload"

but none of those helped me get desired result, which is to post html content with keyboard actions.
When I remove the ->keyboard() part, the chat responds to command.
How can I get this work with ->keyboard()?

Same problem

This code is working:
 Telegraph::html('test message')
        ->keyboard(
            \DefStudio\Telegraph\Keyboard\Keyboard::make()->buttons([
                \DefStudio\Telegraph\Keyboard\Button::make('Delete')->action('delete')->param('id', 42),
                \DefStudio\Telegraph\Keyboard\Button::make('Open')->url('https://test.it'),
                \DefStudio\Telegraph\Keyboard\Button::make('Login Url')->loginUrl('https://loginUrl.test.it'),
            ])
        )
        ->send()->dump();

the dump() call should allow you to have more info about the call result
warn your button's URLs should be valid URLs, otherwise you'll obtain a 400 BOT_DOMAIN_INVALID error


Use GitHub.jl?

... though what's done here ATM is simple enough to do with curl.

GitHub.jl is in the current dependencies. Can we close this issue ?


Use webpack v4

Is this a bug report?
No
Webpack v4 has some nice features most importantly is build time is faster.
https://medium.com/webpack/webpack-4-released-today-6cdb994702d4

There is a PR in progress #4077

thanks, fingers crossed for this.


test on ios for download network video?

 void _saveNetworkVideo() async {
    String path =
        'https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4';
    GallerySaver.saveVideo(path).then((bool success) {
      setState(() {
        print('Video is saved');
      });
    });
  }

these code is not work.
only work for local video file

@wasabia
Wi will test, thanks! :)


EKFGSF_yaw::updateEKF() R_prev copy safely

Clang-tidy didn't like this. http://ci.px4.io:8080/blue/organizations/jenkins/PX4%2FFirmware/detail/PR-14301/4/pipeline
src/lib/ecl/EKF/EKFGSF_yaw.cpp:467:2: error: undefined behavior, source object type 'matrix::Dcmf' (aka 'Dcm<float>') is not TriviallyCopyable [bugprone-undefined-memory-manipulation,-warnings-as-errors]

         memcpy(&R_prev, &_ahrs_ekf_gsf[model_index].R, sizeof(R_prev));

That's also fine. Updated.


How to use large capacity battery ？

The battery capacity is 8800mah, but more than 2 hours, burger will always sound, but the actual battery has power

TB3 makes warning sounds when voltage of the battery is drop under 11.0v.
https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/libraries/turtlebot3/src/turtlebot3/turtlebot3_diagnosis.cpp#L134
So it may actual battery's power is on, you can hear the sound always.
Thanks.

And next time, Please FOLLOW ISSUE TEMPLATE. if not, we are going to close the issue without any comment.

@routiful    Thank you ,  I will check it again .

This issue is closed because it is covered in issue #205.
Thank you.


pg_prove installation

I'm using a postgres container image. AFAICT pg_prove needs to be installed on that container then right? So not on the host (vs pg_format which needs to be installed on the host/ render environment).

Yes, you are right. pg_prove needs to be installed on the container and pg_format needs to be available in your dev env. I am currently working on adding support for other sql formatters too on a separate branch. Let me know if you use anything other than pg_format, I'd be happy to add support for it.
Also, in case you missed it in the docs, this repo provides a docker based workflow for running pgTAP tests - https://naiquevin.github.io/tapestry/user-guide/docker/. It's generic enough that you can build the container once and use it for running any pgTAP tests against any schema (not tightly coupled with tapestry as such).


TextPrinter for PrimFunc in IRModule

I sync the latest code and only add one statement at function BuildForIRModule in tvm/src/code/target.cc:
LOG(INFO) << "BuildForIRModule:module=" << AsText(module, false);
and run the first function test_multi_node_compiler  in tvm/tests/python/relay/test_pass_partition_graph.py，report runtime fail:
Traceback (most recent call last):
File "test_pass_partition_graph.py", line 896, in
test_multi_node_compiler()
File "test_pass_partition_graph.py", line 261, in test_multi_node_compiler
axis=0))
File "test_pass_partition_graph.py", line 208, in check_result
check_graph_runtime_result()
File "test_pass_partition_graph.py", line 193, in check_graph_runtime_result
json, lib, param = relay.build(mod, target=target, params=params)
File "tvm/python/tvm/relay/build_module.py", line 251, in build
graph_json, mod, params = bld_mod.build(mod, target, target_host, params)
File "tvm/python/tvm/relay/build_module.py", line 120, in build
self._build(mod, target, target_host)
File "tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 213, in call
raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (8) tvm/build/libtvm.so(tvm::relay::RelayTextPrinter::PrintFinal(tvm::runtime::ObjectRef const&)+0x227) [0x7f0cbd8e6267]
[bt] (7) tvm/build/libtvm.so(tvm::relay::RelayTextPrinter::PrintScope(tvm::runtime::ObjectRef const&)+0xa5) [0x7f0cbd8f1885]
[bt] (6) tvm/build/libtvm.so(tvm::relay::RelayTextPrinter::Print(tvm::runtime::ObjectRef const&, bool, bool)+0x33e) [0x7f0cbd8e56de]
[bt] (5) tvm/build/libtvm.so(tvm::relay::RelayTextPrinter::PrintMod(tvm::IRModule const&)+0x417) [0x7f0cbd8ec237]
[bt] (4) tvm/build/libtvm.so(tvm::relay::DependencyGraph::Create(tvm::support::Arena*, tvm::RelayExpr const&)+0x90) [0x7f0cbdbba000]
[bt] (3) tvm/build/libtvm.so(tvm::relay::DependencyGraph::Creator::VisitExpr(tvm::RelayExpr const&)+0x272) [0x7f0cbdbba4b2]
[bt] (2) tvm/build/libtvm.so(tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&)+0x84) [0x7f0cbdbbc6c4]
[bt] (1) tvm/build/libtvm.so(tvm::NodeFunctor<void (tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>)>::operator()(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>) const+0xd2) [0x7f0cbdbbc972]
[bt] (0) tvm/build/libtvm.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x32) [0x7f0cbd562ee2]
File "tvm/include/tvm/node/functor.h", line 95
TVMError: Check failed: can_dispatch(n): NodeFunctor calls un-registered function on type tir.PrimFunc
I read the code tvm/src/tir/ir/function.cc, PrimFuncNode has been registed by TVM_STATIC_IR_FUNCTOR, so I guess tvm::relay::DependencyGraph::Creator::VisitExpr   only  face to Expr in relay, not  Expr in tir,   because I  found 2 files: tvm/include/tvm/relay/expr_functor.h   and tvm/include/tvm/tir/expr_functor.h, and tvm/src/relay/analysis/dependency_graph.cc only  include relay's expr_functor.h.

This is a known limitation for now. Because we have not yet add text printer support for the TIR. Will keep this issue open until the text printer lands

https://github.com/apache/incubator-tvm/pull/5225 should provide a temporary fix to allow printing of IRModule, note that however the text format cannot yet be parsed

close as we have a printable version, see also https://github.com/apache/incubator-tvm/pull/5483


Method to generate fake data and seed into database created

Script functionality:

Connects to the database
generates fake subscribers, topics, mappings, to real headlines
fake polarity score, sampled randomly but biased towards the negative (for fox news)

possible future improvements:

functions have parameters specifying number of fake data rows to generate already, so could include this as a CLI parameter.
Need to double check queries against the creating tables schema
Assumes sources have already been seeded. Need to check this.

ERD Changing: need to update before approval


Can't create a class within class methods

Flow chokes on the following:
class C {
  static Fn(): Class<C> {
    return class D extends C {}
  }
  Gn(): Class<C> {
    return class E extends C {}
  }
}

The pattern is especially interesting when you start intersecting the Class<C>s with interfaces.

Works in latest version 0.141.0
https://flow.org/try/#0MYGwhgzhAEDC0G8BQ1oQC5nQS2NAYgHYAUAlAFxzhQA8sAfIiqtAE4Cm6Arq4dKJBgARaOwAe6doQAmMeAgC+zJagDiJClUF1GyFm048+AqNACioiVNlxEK6EoVA

Works in latest version 0.141.0
https://flow.org/try/#0MYGwhgzhAEDC0G8BQ1oQC5nQS2NAYgHYAUAlAFxzhQA8sAfIiqtAE4Cm6Arq4dKJBgARaOwAe6doQAmMeAgC+zJagDiJClUF1GyFm048+AqNACioiVNlxEK6EoVA

Works in latest version 0.141.0
https://flow.org/try/#0MYGwhgzhAEDC0G8BQ1oQC5nQS2NAYgHYAUAlAFxzhQA8sAfIiqtAE4Cm6Arq4dKJBgARaOwAe6doQAmMeAgC+zJagDiJClUF1GyFm048+AqNACioiVNlxEK6EoVA

Works in latest version 0.141.0
https://flow.org/try/#0MYGwhgzhAEDC0G8BQ1oQC5nQS2NAYgHYAUAlAFxzhQA8sAfIiqtAE4Cm6Arq4dKJBgARaOwAe6doQAmMeAgC+zJagDiJClUF1GyFm048+AqNACioiVNlxEK6EoVA


Ran a test of the

Hi Guys,
Just wanted to report my  experience trying to get these utils working for my STM32F407VETx board.
My tests are based on c408c275a613709412b9f051aff8b258331cb285 here.
Before running the docker ros build, I've followed the steps as:
sourced  /opt/ros/foxy/setup.bash
pulled latest on microros_setup, followed intrsructions to

rosdep and colcon build microros_setup
ros2 run micro_ros_setup create_agent_ws.sh
ros2 run micro_ros_setup build_agent.sh [to build the xrce agent]

sourced the micro_ros_setup_workspace
then I followed these instructions and cd into microros_component and do the docker build.
But seems like some dependency is missing.
/uros_ws/firmware/mcu_ws/uros/rclc/rclc_lifecycle/src/rclc_lifecycle/rclc_lifecycle.c: In function 'rclc_make_node_a_lifecycle_node':
/uros_ws/firmware/mcu_ws/uros/rclc/rclc_lifecycle/src/rclc_lifecycle/rclc_lifecycle.c:42:3: error: unknown type name 'rcl_lifecycle_state_machine_options_t'; did you mean 'rcl_lifecycle_state_machine_t'?
   42 |   rcl_lifecycle_state_machine_options_t state_machine_options =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   rcl_lifecycle_state_machine_t
/uros_ws/firmware/mcu_ws/uros/rclc/rclc_lifecycle/src/rclc_lifecycle/rclc_lifecycle.c:43:5: warning: implicit declaration of function 'rcl_lifecycle_get_default_state_machine_options'; did you mean 'rcl_lifecycle_init_default_state_machine'? [-Wimplicit-function-declaration]
   43 |     rcl_lifecycle_get_default_state_machine_options();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     rcl_lifecycle_init_default_state_machine

Summary: 50 packages finished [1min 44s]
  1 package failed: rclc_lifecycle
  7 packages aborted: diagnostic_msgs nav_msgs sensor_msgs shape_msgs tf2_msgs trajectory_msgs visualization_msgs
  37 packages had stderr output: action_msgs actionlib_msgs builtin_interfaces composition_interfaces diagnostic_msgs example_interfaces geometry_msgs libyaml_vendor lifecycle_msgs micro_ros_msgs microxrcedds_client nav_msgs rcl rcl_action rcl_interfaces rcl_lifecycle rcl_logging_noop rclc rclc_lifecycle rcutils rmw rmw_implementation rmw_microxrcedds rosgraph_msgs rosidl_runtime_c rosidl_typesupport_c rosidl_typesupport_microxrcedds_c sensor_msgs shape_msgs statistics_msgs std_msgs std_srvs test_msgs tf2_msgs trajectory_msgs unique_identifier_msgs visualization_msgs
  4 packages not processed

Any ideas?

Hello, @keshavchintamani we have had some issues with this package last week.
Can you retry the procedure and tell us if https://github.com/ros2/rclc/pull/66 have solved this?
If not, I'll replicate you scenario to check what is happening.
Thanks!

@pablogs9 ros2/rclc#66 seems to have fixed this. We are able to sucessfully use microROS on the STM32F407VETX. The procedure offered in this repository is correct. We'll try to work on a PR to automate the transition from MakeFile project to STM32CubeIDE. Seems to be a large community of STM32 users how only use the STM32CubeIDE. Thanks again.

Thanks for reporting.
Regarding the IDE we provide some instructions here but it would be nice if someone contributes a more automated approach.

Hello @keshavchintamani check the new instructions added here for STM32CubeIDE automation.


Add copied animation

I would like to add a popup animation when the link is copied , also please assign me this issue if you want me to work on it

How about adding our git repo as a button at the top right?

sure i'll can work on that

great!

@sarthakk24 any update?

I am working on it actually I haven't worked with pug before so using pug docs to learn and apply

Alright, sounds great!


texts and the custom components are overlapping if header texts are long length

Hi Team,
If text in headers are longer, custom components existing at right side overlaps with this text.
following screenshot will clear the scenario.

Hi @satishpoul
the context browser is designed to take up the entire length of its container - if you put it in a smaller container, this shouldn't happen.
I'm going to close this, please re-open if this doesn't solve your issue.


Allow overwrite of signed snapshots

This combats this change in sbt-1.0.  I think it will allow us to publish signed snapshots, as we do on the 0.13 builds.
If this doesn't work, I'm ripping out signed snapshots, breaking my laptop, and finally opening that aquarium shop.  I am particularly fond of African cichlids.

ClientTimeoutSpec failure on Appveyor is obviously tangent to this.


Added Amazon links to the some of the books

Maybe you should add links for buying/downloading (keep it legal) books?

Thank you so much for the contribution Nebojsa, much appreciated!
Let's keep this baby up-to-date :)
THANK YOU


[BFCL] Is this the same data used for the leaderboard?

hello.
Thank you for making the BFCL public.
I have a question. Is the data in “Berkeley-Feature-Currency-Leaderboard/Data” the same data you used for the leaderboard (https://gorilla.cs.berkeley.edu/leaderboard.html)?
I'm curious if the data used for the leaderboard is blind data, different from github.
Thank you in advance for your response.

Yes, they are the same. There is no blind/private dataset used for the current version of the leaderboard.

@HuanzhiMao
Thank you for your response. I have one more question.
I was using a temperature of 0.7, but it seems like it would be better to go lower in terms of reproducibility, is there a reason you set it that way?

We are also considering setting the temperature to a lower value for reproducibility benefits. We would love to hear your opinions in #500!

The temperature issue is addressed in #574, which was merged a long time ago. I forget to update here.


Add automatically generated change log file.

Hi, as I can see, you are carefully fill tags and labels for issues in your repo.
I created a github_changelog_generator, that generate change log file based on tags, issues and merged pull requests (and split them to separate lists according labels) from GitHub issue tracker.
This Change Log was automatically generated by this script.
It helps to easily found what and when was fixed and implemented.
You can easily update this file in future by running script: github_changelog_generator in your repo folder.
Hope you find this commit as useful.

Hi @skywinder,
Thank you for this, but we will not need it at the moment. You've made a great script though :)


Batch GPU Transforms

The BaseWaveTransformations currently don't except a batch of audio in the forward as they think that a batch of audio is multi_channel audio. I can submit a PR or is there some design decision here that I'm missing?

All input tensors are assumed to be three-dimensional at the moment. I.e. (batch_size, num_channels, num_samples). Did this help? Should it be better documented? I'm thinking of removing support for two-dimensional tensors btw. How do you feel about that? In that case, mono audio would be represented as (batch_size, 1, num_samples)

Interesting, this isn't working though? Am I supposed to wrap the augmentations somewhere else?
import torchaudio
from torch_audiomentations.augmentations.gain import Gain
wave,sr = torchaudio.load("./tests/data/dev01.wav")
# Create a batch of 32
wave = wave[None].repeat(32,1,1)
print(wave.shape)
# [32,1,410001]
res = Gain()(wave, sr)

Interesting. How does it fail? With an error message? Or is the output not as expected?

My mistake, this is only the case for BackgroundNoise and AddImpulseResponse

Yeah, I haven't really finished and released those two yet. I'll get to it

Fair enough :)

So I have to set support_multichannel = True to support batches?

AddBackgroundNoise and AddImpulseResponse should support batches, but I don't think they support multichannel audio yet.
I think they expect 2D tensors like (batch_size, num_samples) for now

If I was creating a new BaseWaveTransform, e.g. Reverb, I'd have to set support_multichannel = True to make it work?

Yes. I might rework that later, though


Wi-Fi adaptor FF:FF:FF:FF:FF:FF issue

On some units the Wi-FI adaptor is going into a state where it disables itself,
Needs investigation.

Testing out disabling power_mgnt on one unit with command modprobe r8188eu rtw_power_mgnt=0
It may be that we need to request Balena to add this to the nebhnt device.

And first remove the old driver with rmmod r8188eu

Unfortunately it looks like the above fix may have not worked.
I have two of the suspect adaptors on their way to me.

@ryanteck from the unit? Or from customers? Do we need to send them replacements?

From one customer directly (ap).
Looks like a faulty batch of adaptors.
On Fri, 18 Jun 2021, 18:48 Aaron Shaw, @.***> wrote:

@ryanteck https://github.com/ryanteck from the unit? Or from customers?
Do we need to send them replacements?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NebraLtd/helium-miner-software/issues/72#issuecomment-864189728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINW2ICW4V7RUUCXJLQ4ZDTTOBF7ANCNFSM464KMSUA
.

Seems unlikely to me as they work some of the time.
Feels more like a driver issue than a hardware issue

I'm not certain on either yet.
Some customers have the same chipset without any issues at all.
In this case the customer had 10 hotspots from the same batch, 2 with the
adaptor issue.
The issue I believe when they switched them between units followed the
adaptor.
If it was driver I would expect it to be more widespread (e.g all 10
failing). But I'm not ruling it out as drivers either yet.
On Sat, 19 Jun 2021, 03:07 Aaron Shaw, @.***> wrote:

Seems unlikely to me as they work some of the time.
Feels more like a driver issue than a hardware issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NebraLtd/helium-miner-software/issues/72#issuecomment-864340929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINW2PGP4LATNVC56AE3QDTTP3VRANCNFSM464KMSUA
.

Hi Guys,
To provide some clarity.
5 of the v1 Nebra old style with the white writing were all good.
I then received 5 of the new style v2 cases. 3 of them were good and 2 of them exhibit this wifi MAC error.
Moving the wifi adapter to a good working HS moved the issue to that HS. I kept one as a control.
Sent the two adapters to Ryan to see if the issue can be replicated on his side.

The faulty adaptors from @pooley92 arrived today, so far been able to repliacte with one. Now testing with the second and then re-testing with the one that was in my unit.

Can we handle this with priority? This issues affects a lot of customers

@KevinWassermann94 still haven't got to the bottom of this. Think it's a driver level issue but not been able to work it out yet

@vpetersson do you know if we solved this issue?

I've still seen this on some outdoor units in the last few months. It's likely a driver issue (or possibly, power saving), but haven't dug into it. Also, not sure how much of a priority it is now with the ROCK Pi based version.


python311Packages.bleak-esphome: 0.3.0 -> 0.4.0

Diff: https://github.com/bluetooth-devices/bleak-esphome/compare/refs/tags/v0.3.0...v0.4.0
Changelog: https://github.com/bluetooth-devices/bleak-esphome/blob/0.4.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 275252 run on x86_64-linux 1

4 packages built:

python310Packages.bleak-esphome
python310Packages.bleak-esphome.dist
python311Packages.bleak-esphome
python311Packages.bleak-esphome.dist


ImportError: No module named GestureAPI

I Like this code as a fresher i installed python opencv with numpy cmake and scipy but when i tried to execute ur code i got this error
"Traceback (most recent call last):
File "C:\Python27\hand_gesture", line 4, in
from GestureAPI import *
ImportError: No module named GestureAPI"
can u help me to solve this problem plz solve it as fast as possible

make sure the python file "GestureAPI.py" is in the same folder with "HandRecognition.py"


Update unicode-symbols extension

Description

Upgraded<EMAIL_ADDRESS>and other dependencies
Added 'Grid' view (now the default view)
Added a Character set selector to the search bar
Added an option to copy the HEX code of the selected character (used in development of html/css)
Added an option to copy the HTML entity of the selected character (used in development of html)
Added extra character sets, totalling to 4940 characters
Refactored a large portion of the code to make it more maintainable
Updated screenshots

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@j3lte awesome update 🔥 Would it be an idea to add a preference to set size of the grid, like this extension does: raycast.com/josephschmitt/gif-search

@pernielsentikaer Great idea, I'll add this a.s.a.p.

Awesome @j3lte 🔥
@mmazzarolo do you have time?

@mmazzarolo bump...

I gave it a spin, let's get it out then 🙂


Fix (#396) : Update leetcode night

Pull Request Description
Changes Made

Updated the site link for LeetCode Night to the new URL: http://www.leetnight.com/
Updated the event title to: LeetNight: Code, Collaborate, Conquer!
Replaced the event description (blurb) with the new one:

New Blurb:

LeetNight is a free, welcoming meetup designed for coders eager to enhance their problem-solving skills. Whether you’re gearing up for technical interviews or just enjoy tackling algorithm challenges, this event offers a collaborative environment to learn and grow. It’s also a fantastic way to connect with fellow developers, share insights, and build skills together. Ready to level up? See you at Leetcode Night!

Testing

Verified that the new link, title, and blurb display correctly on the relevant pages.
Ensured that the updated information enhances the event’s clarity and appeal.

Checklist

[ ] Code changes are well-documented.
[ ] All new and existing tests passed.
[ ] UI/UX has been reviewed and approved.
[ ] Changes are consistent with project guidelines.
[ ] Merge conflicts have been resolved.

@AACHAL2303PATIL it is not acceptable to create new pr's while ignoring your other pr's on this repo.
I am marking this as spam. If you get another pr marked as spam you will be banned from hacktoberfest and banned from ever contributing to this repo again


Textarea labels missing

Link to reproduction
pnpm dev _community
Environment Info
Binaries:
  Node: 22.6.0
  npm: 10.8.2
  Yarn: 1.22.19
  pnpm: 9.7.1
Relevant Packages:
  next: 15.0.0-canary.104
  @payloadcms/db-postgres: 3.0.0-beta.104
  @payloadcms/live-preview-react: 3.0.0-beta.104
  @payloadcms/translations: 3.0.0-beta.104
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:04 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6020
  Available memory (MB): 32768
  Available CPU cores: 12

Describe the Bug
Custom labels are broken on textarea fields and possibly others.
Sounds like caused by this PR released in beta 105: https://github.com/payloadcms/payload/pull/8190. Brought up by @mykz.

Reproduction Steps

pnpm dev _community
Add textarea field with label

        {
          name: 'textarea',
          type: 'textarea',
          label: 'Custom Textarea Label',
        },

Load admin and see that label is missing

Adapters and Plugins
No response

Fixed in https://github.com/payloadcms/payload/pull/8248


[Feature] Bond - messages in verify expects

Feature Description

Some of the verify function use messages on failure, expand to include all of them.
Additional Information

When a verify fails, out the the list of expected events and those found ....or better yet, the inputs (expected & actual) and the expected that are missing!


inotify support for NGINX_INCLUDE_CONFIGURATION file

Hi David,
As I was dealing with the website's users with the transition from apache to nginx and how configuration works, the workflow has changed. Before, site editors could edit .htaccess directly to add redirects or any other configuration, I can fix that by using NGINX_INCLUDE_CONFIGURATION=/www/wordpress/.htaccess.gninx , but nginx still needs to be reloaded to read the updated configuration.
This could be fixed by using inotify to monitor the file pointed by NGINX_INCLUDE_CONFIGURATION and do an nginx -s reload when the file is modified.
This way I only need to help the editors team lo learn how to write the redirects for nginx instead of having to reload the sites every time a new configuration for a site needs to be updated.
What do you think ?

I can see that being useful as a configurable service. I can look into this starting Monday.

New Environment Variable NGINX_RELOAD_ON_CONFIG_CHANGE introduced in release 5.9.0 - Will take a bit for Docker Hub to build all the images that depend on this release. 2 days max.
It will reload if /etc/nginx/conf, /etc/nginx.conf.d/, /etc/nginx/conf.d/ and NGINX_INCLUDE_CONFIGURATION are updated. Hope this helps!
Let me know after you've tested so we can close this off.

Excellent !! I'm on vacations, I will test it next week when I get back.
Thanks.

I forgot to close this, thanks.


IE9/IE10 error - Unable to get value of the property 'isStatic' : object is null or undefined

Version
styled-components: 3.1.6
I believe I'm using styled-components normally but it is a large front end using react-apollo. However the version without styled-components works on IE9 and IE10.
I am going to go through each of my components and determine what is causing this and will report back when I discover the issue.

Please do! However, please note that IE9 is not supported due to React not supporting it

Actually, our browser support is IE9+ given that React supports IE9+. Ref: https://reactjs.org/docs/react-dom.html#browser-support and https://www.styled-components.com/docs/faqs#which-browsers-are-supported

There was a component that was extending from another component:
class CustomComponent extends GenericComponent {

fixed it by making it extend React.Component:
class CustomComponent extends React.Component {

IE9/10 working as intended, thank you.


"Download invoice" link missing from first receipt email

The "Download invoice" link missing from first billing receipt email (it is present in later ones). We should fix this.

This got fixed by the changes dropping the use of PaymentIntent  for the initial payment in  #28883 I believe
Tested in production by upgrading an org to verify:


Release 8.2.9

Draft for release announcement:
This release fixes an issue with our minifacation pipeline, which
incorrectly mangled export declarations.

* Don't mangle module exports #1077, thanks @marvinhagemeister
* [ts] Add missing `ref` and `key` attribute #1051, thanks @andrewiggins
* [ts] Add default parameter for Generic argument of `VNode` #1082, thanks @andrewiggins

Fixes #1075

Coverage remained the same at 100.0% when pulling 0107dfb017f103e72b95622f456140a2bcc05ed9 on marvinhagemeister:release_8-2-9 into 9f38cd020fe57998c9e2996afc815c3626727ae7 on developit:master.

[ ] #1083 should be added

1083 should be good to go in


Ability to delegate (and pledge) to multiple pools from a single wallet

Context
The general idea is that we would like the ability to have multiple stake addresses generated from a single wallet root private key and be able to transparently choose multiple pools to delegate to and the wallet would handle moving balances around to meet those delegations. The primary driver for this feature is to be able to pledge multiple pools from a single ledger device. We'd have to extend the current single address derived to a mutli-address derived setup, or extend it to support multiple accounts where each account has it's own stake address.
Decision

Acceptance Criteria

Development

QA

That's one complicated thing.


TECH-193: Prefill forms from employer profile, backfill employer profile from first application

This pull request implements the employer data prefill feature. Changes are as follows:

[x] Prefill new applications using data from employer profile.
[x] Prefill new claims using data from associated application form.
[x] Backfill employer profile using data from the first application the employer submits.
[x] Do not update employer profile from token on each login; just create the profile if it does not exist, allowing user to edit all fields.
[x] Modify createEmployer() to create record only if one does not exist.
[x] Refactor code for obtaining credentials for the two types of application form.
[x] Modify province and workbc centre fields in Edit Profile dialog to conform with data formatting in forms.
[x] Support removal of values from employer profile.

Preliminary tests on the autofilling, it does work on the application forms (have and need). Couple items to note:

If the user put in a Phone number in the form XXXXXXXXXX instead of XXX-XXX-XXXX, and then save and then start a new form, the field is autofilled as "XXXXXXXXXX  " (two white spaces are added). And then when they return to the Admin Client, the 2 white spaces persists in the dialog.
Similar issue for the Fax number if it is not in this form +XXXXXXXXXX.
If a user inputs a number above 12 digits on Phone or Fax and then click save, the dialog would not react, nothing would happen, but on the API logs, it clearly states "value too long for type character(12)". I feel like there should be an error indicator on the dialog (useNotify might help?).
Will continue to test pre-fill based on first form submission.

Backfill data works, had an account with 1 submission and the employer data was filled correctly.

Tested the following 2 scenarios:

test_ws: No applications. Account never had any pre-filled fields (except for the autogenerated name and email). Submitted a HaveEmployee and the dialog reflected properly, all the field are correctly filled based on the submitted application.
elmsd_ws: Account had 1 application already submitted, employer record already had name, org name and email from previous run. Data did not pre-fill. One thing to note: I removed all fields to empty and saved, and then refreshed, show application, refresh, the profile is still empty, no pre-filling. Is this the intended result?

Tested the following scenario:

elmsd_brian: 2 submitted application (1 in Submitted, 1 in Completed), data backfilled according to the first submitted application.

Preliminary tests on the autofilling, it does work on the application forms (have and need). Couple items to note:

If the user put in a Phone number in the form XXXXXXXXXX instead of XXX-XXX-XXXX, and then save and then start a new form, the field is autofilled as "XXXXXXXXXX  " (two white spaces are added). And then when they return to the Admin Client, the 2 white spaces persists in the dialog.
Similar issue for the Fax number if it is not in this form +XXXXXXXXXX.
If a user inputs a number above 12 digits on Phone or Fax and then click save, the dialog would not react, nothing would happen, but on the API logs, it clearly states "value too long for type character(12)". I feel like there should be an error indicator on the dialog (useNotify might help?).

Will continue to test pre-fill based on first form submission.

Added validation to all fields in Edit Profile dialog, to conform with DB and with forms. Will also need to add validation to all application form fields that get backfilled into employer profile.

Tested the following 2 scenarios:

test_ws: No applications. Account never had any pre-filled fields (except for the autogenerated name and email). Submitted a HaveEmployee and the dialog reflected properly, all the field are correctly filled based on the submitted application.
elmsd_ws: Account had 1 application already submitted, employer record already had name, org name and email from previous run. Data did not pre-fill. One thing to note: I removed all fields to empty and saved, and then refreshed, show application, refresh, the profile is still empty, no pre-filling. Is this the intended result?

This is the expected behaviour with the current implementation.

Tested the following scenario:

elmsd_brian: 2 submitted application (1 in Submitted, 1 in Completed), data backfilled according to the first submitted application.

This is a bug, thanks for catching this! It was an error in the logic for detecting the first submission. I've implemented a fix for this.

Loading does occur in opening and closing for both Employer Dialog and Share Dialog, Loading Indicator spins accordingly.

Dialog validation works and prevents invalid inputs. Tested with numbers longer than 12 characters for Phone and Fax, form blocks accordingly. CRA number validation is a nice touch.


Layout .oas files

Hi Authors. Could you please also upload the original layout oas files? Thanks!!!

Sorry for replying late. We generated the MetalSet using layout-generator (github.com/phdyang007/layout-generator), and got the ViaSet, StdMetal, and StdContact from the layouts generated by the OpenROAD tool (https://github.com/The-OpenROAD-Project/OpenROAD). The layouts are in the gds format. You may use these tools to create similar data (and even more).


glib-macros: add GBoxed derive

Is there any reason to keep glib_boxed_type! and glib_boxed_derive_traits! or should I just in-lined them in the Derive macro?

Is there any reason to keep glib_boxed_type! and glib_boxed_derive_traits! or should I just in-lined them in the Derive macro?

Should go into the derive macro, yes.

I committed a potential fix to be able to call glib, whatever the context.

If this works on the CI, @gdesmott good to merge from your side?

Yep, many thanks to @GuillaumeGomez for the fix!


Wrong decryption key for ECDH with keywrap

Hello,
I believe there's an error in the implementation.
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/59ec62eeef11c3762aaedc8c6003f0b2fce2e2cb/src/Microsoft.IdentityModel.JsonWebTokens/JsonWebTokenHandler.cs#L982-L986
The second argument of EcdhKeyExchangeProvider should be the public key taken from the epk in the token's header (as the comment said).

@max4t thanks for reporting this issue.
We will check it out.

I'm also running into this issue and agree with @max4t
In ECDH - the TokenDecryptionKey should be your private key. The public key needs to resolve to EPK.
There are other issues in this code as well. If there are multiple keys resolved and we drop to the "brute force" approach of trying them all, the exception messages are appended exceptionStrings. But, if we find a valid key that results in unwrappedKeys.Count > 0 we still fail.
It's hard to guess the original intent here. On the one hand, brute forcing multiple keys was definitely noted in the comments. However, the if statement checking the exceptionStrings.Length also seems deliberate, albeit incorrect.
FWIW, I was able to hack around these issues and get ECDH unwrap working using the following:
var jwt = new JsonWebToken(encodedToken);

// Work around EPK not being resolved
var epk = new JsonWebKey(jwt.GetHeaderValue<string>(JwtHeaderParameterNames.Epk));

// Code expects both keys to be ECDsaSecurityKeys and not JsonWebKeys
var ecdsa = ECDsa.Create(new ECParameters()
{
    Curve = Constants.Curve,
    Q = new ECPoint()
    {
        X = WebEncoders.Base64UrlDecode(epk.X),
        Y = WebEncoders.Base64UrlDecode(epk.Y)
    }
});

var ecdsaSK = new ECDsaSecurityKey(ecdsa);

var tokenValidationParameters = new TokenValidationParameters
{
    // Setting a resolver will force the key to be the private key
    TokenDecryptionKeyResolver = (_, _, _, _) => new [] { new ECDsaSecurityKey(decryptKey) },
    // Decryption key is used as the public key
    TokenDecryptionKey = ecdsaSK
};

var result = new JsonWebTokenHandler().ValidateToken(request, tokenValidationParameters);

Hey, just ran into this issue and worked around it by manually setting EPK in AdditionalHeaderClaims and reading it in TokenDecryptionKeyResolver. Will there be an update? Saw the already open pull request.
Are you planning to add functionality so that the user does not need to provide the ephemeral key hisself/herself? Most other libs i saw are just generating the ephemeral under the hood and the dev only need sto supply the ECDsa public / private key on each side.

@GregDomzalski @inf9144 looking into this now.

@GregDomzalski the PR 2120 looks good one comments about back compat.


lombok.config doesn't works

Short description
lombok.fieldDefaults.defaultPrivate = true
lombok.fieldDefaults.defaultFinal = true
These properties doesn't affects my classes. If i put @FieldDefaults directly above class then it works.
I put lombok.config file in root directory
Version information

IDEA Version: Intellij Idea Ultimate EAP 2018.1
JDK Version: 1.8
OS Type & Version: Windows
Lombok Plugin Version: <IP_ADDRESS>
Lombok Dependency Version: 1.16.20

Steps to reproduce
Just put lombok.config with properties described in Short description then

Create class in lombok.config scope
@RequiredArgsConstructor
public class ProductSearchParams {
Set parameters;
}

It's possible to invoke ProductSearchParams p = new ProductSearchParams(); // no required argument

Put  @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) above class

NOT possible to call ProductSearchParams constructor without argument

Sample project
Please provide a sample project that exhibits the problem.
You should also include .idea folder so we can inspect the settings.

[ ] Sample project provided
[x ] I am able to reproduce this error on the sample project by following the steps described above

lombok plugin is not compatible with IDEA 2018.1 (see #449)

duplicate of #353

I still have the issue of this not working:
config.stopBubbling = true
lombok.extern.findbugs.addSuppressFBWarnings=true

I placed lombok.config in '/', '/src/main/java', and in '/src/main/java/my/package'


Bug: HMIP-BWTH and HMIP-BWTH24 missing valve state

HMIP-BWTH Thermostat has a switch output to actuate, e.g., the heater valve.
But this attribute is not available in home assistant. There are only those:
hvac_modes: auto, heat, off
min_temp: 4.5
max_temp: 30.5
target_temp_step: 0.5
preset_modes: boost
current_temperature: 22.6
temperature: 21.5
current_humidity: 47
preset_mode: none
id: xxx
interface: ip
rssi_device: -66
mode: null
friendly_name: 1-Wohnzimmer-Thermostat
supported_features: 17
I guess the bug is related to this class definition and should be easily fixable
https://github.com/danielperna84/pyhomematic/blob/899a28c6036ea799cfb5513a65e37135556c60a7/pyhomematic/devicetypes/thermostats.py#L285

@danielperna84: Would you mind fixing this in pyhomematic, although you primarily work on hahomematic? Is it correctly implemented in hahomematic? HMIP-BWTH and HMIP-BWTH24 are not just sensors, they are sensors incl. actuators

Just found this thread and PR https://github.com/danielperna84/pyhomematic/pull/415 Does it mean that the remaining stuff to fix is in here https://github.com/home-assistant/core/pull/56559 ? The class definition of IPThermostatWall230V still makes me wonder...


⚠ Roblox Devforum has degraded performance

In 22667ee, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 19731 ms

Resolved: Roblox Devforum performance has improved in 5174c54.


Memory leak in computed property xmlString

Hi,
I found a memory leak in the computed property xmlString. A pull request was already submitted.
All the best,
Thorsten

Hey thanks, it's merged now.


[Checkbox] Change event doesn't fire when navigating between radio options using keyboard

I have setup a couple of radio checkboxes with the same name so the user can choose one among them, and wired up the change event using the onChange hook on the checkbox() call.
The event handler is executed correctly when the user clicks on either radio checkbox, but if a user then navigates through the options using the keyboard the selected value is changed without firing the event.
Here's a fiddle: https://jsfiddle.net/7wsjganv/
I expected the event to fire every time the selection state is changed.
Using Semantic-UI version 2.4.0.

Fixed: See https://jsfiddle.net/ujkdreqs/

This was fixed in Fomantic-UI not SUI.

Sorry, I was confused here for a moment. I thought this should be closed so when (if ever) FUI is pulled back into SUI we know this has been fixed.
Now I see, as it may never get pulled into SUI, I guess it makes sense to leave open.


DBT model description is not correctly parsed

Affected module
Does it impact the UI, backend or Ingestion Framework?
Ingestion Framework
Describe the bug
A clear and concise description of what the bug is.
DBT model description can mismatch the value from YAML, being "shifted" from another column.
See video of the bug: https://www.loom.com/share/86da7cdf491e491c95ac6893b0e21063?sid=9ec1ca14-b5f6-421b-a53c-8b263e3cbffa
To Reproduce
Screenshots or steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Thanks for raising the issue. Does this happen with any dbt ingestion or only with this one specifically? Can you share source dbt files which reproduce the issue?

OKOK in fact I did not see the param dbtUpdateDescriptions, IMO should be True by defaults as it is the expected behavior when ingesting dbt I would say 👍 @sushi30


Mengemkim

Mengemkim created by<EMAIL_ADDRESS>on 2021-06-08 11:36:36

<EMAIL_ADDRESS>replied, In the song Tal Becheleleu el Bung, Ymesei wrote:  "me sel bo kaimono e ngii a mengemkim er a cheril" with the phrase "mengemkim er a cheril" meaning a subtle rather than open laughter, perhaps a covered laugh.    The phrase "kimir a cheril," defined as a small laugh or giggle, appears to be related to mengemkim.  Any other uses of this word?

<EMAIL_ADDRESS>replied, Nope, just mengemkim ra cheril. If there is, I've never heard of it.

<EMAIL_ADDRESS>replied, Mengem kim, it’s holding back one’s laughter/ smile, smirk. Practically
taken from the word mengem(kim), mengem(ikr), mengem(ngemet)….my thoughts.

It's also in Cheldecheduch er a Belau. Seems good enough for me! I'll just add it as an expression under chur


[Feature Request] PostgreSQL Large Objects

Hello,
For a project, I would need to store large objects within PostgreSQL, however, I could not find support for it in the documentation, so I am creating this issue to motivate implementation.
Thank you

https://github.com/sfackler/rust-postgres-large-object

Could you write a few words about how you would image that such an API would look like and what are the advantages of having it integrated into diesel itself?
For me it seems like this would be completely decoupled form the normal diesel api, therefore just using the linked crate seems to be a usable solution.

Could you write a few words about how you would image that such an API would look like and what are the advantages of having it integrated into diesel itself?
For me it seems like this would be completely decoupled form the normal diesel api, therefore just using the linked crate seems to be a usable solution.

Being able to get types with Read/Write traits implemented on structures that have Oid values that correspond to large objects for example

Could you type out a short example how the user facing code would look like? I'm not sure if fully understand what you exactly imaging.

SQL:
CREATE TABLE lo_table (
    lo OID
);

Rust:
#[derive(Queryable)]
struct LoTable {
    lo LargeObject,
}

impl LoTable {
    fn query_one(conn: &PgConnection) -> Result<LoTable, diesel::result::Error> {
        use crate::schema::lo_table::dsl;

        dsl::lo_table.get_result(conn)
    }
}

fn main() -> Result<(), Box<dyn Error>> {
    let mut row = LoTable::query_one(....)?;

    std::io::copy(&row.lo, std::io::stdout())?; // Write large object to stdout
    row.seek(std::io::SeekFrom::Start(0))?; // Seek to beginning
    row.write_all(&[0; 1024])?; // Write 1024 zeroes to large object

    Ok(())
}

I'm not convinced this needs explicit support in Diesel. Large object functionality is fully exposed on the server, so this could be handled by another library using sql_function!.

As pointed out by Siân this could be done via sql_function! in a third party library. If that requires additional support in diesel itself please open a feature request post in our discussion forum.

As pointed out by Siân this could be done via sql_function! in a third party library. If that requires additional support in diesel itself please open a feature request post in our discussion forum.

Diesel currently does not support accessing Postgres large objects.  The suggested workaround is to use a different library for accessing large objects.  I'm having trouble getting this to work.  I don't understand how to use diesel::sql_function! to access large objects.  I see four potential solutions:

Add to diesel::pg::PgConnection a way to borrow the underlying postgres::Client struct to use with the traits in postgres_large_object crate.  Ideally, large object operations would be included in the Diesel transaction.
Add a diesel::pg::PgConnection constructor that borrows a postgres::Client.  Then we can use Diesel with connections from any connection pool, such as r2d2_postgres.  Ideally, Diesel will use any existing transaction on the client.  Then we can use one transaction to put a large object, let the database generate the OID, and then use Diesel to insert the OID into a table.
Use a separate connection pool for large object operations.  This will severely harm performance.  This is the only solution that works right now.
Add support for large objects directly into Diesel.  This is the proposal above.  Here's a simplified version:

Make Diesel map Postgres Object Identifier type to Rust u32.
Add methods to PgConnection:

pub fn create_large_object(&mut self, oid: Option<u32>) -> diesel::result::QueryResult<u32> which calls lo_create .
pub fn remove_large_object(&mut self, oid: u32) -> diesel::result::QueryResult<()> which calls lo_unlink and returns Err(diesel::result::Error::NotFound) when lo_unlink returns -1.
pub fn read_large_object(&'a mut self, oid: u32) -> diesel::result::QueryResult<PgLargeObjectReader<'a>> which calls lo_open with INV_READ mode.  The returned object implements std::io::Read and calls lo_read.  It calls lo_close on drop.
pub fn write_large_object(&'a mut self, oid: u32) -> diesel::result::QueryResult<PgLargeObjectWriter<'a>> which calls lo_open with INV_WRITE mode.  The returned object implements std::io::Write and calls lo_write.  It calls lo_close on drop.

Can we please re-open this feature request and implement # 1 or # 2 above?  If one of them is already possible, then let's document how to do it.  I'm willing to make the PR.

@mleonhard Neither your first nor your second "solution" are possible to implement, as diesel does not use postgres::Client internally. diesel::pg::PgConnection uses libpq internally not the pure rust implementation, because of historic reasons and for performance reasons.
As already written above: It's totally possible to use the sql_function! interface on your own to define the corresponding server side functions.

Thank you for the link to the Postgres Large Object Server-Side Functions.  I missed them earlier.  I think I can make this work. :)

It working!  Storing binaries in Postgres lets me eliminate my app's dependency on DigitalOcean Spaces (S3).  Thank you, @sgrif & @weiznich, for making and maintaining Diesel and for being so helpful on these issues.
Code to use Postgres Large Objects Server Side Functions with Diesel:
// models.rs
use diesel::pg::types::sql_types::Oid;
use diesel::sql_types::{BigInt, Binary, Integer};
sql_function! {
    /// Creates a large object with OID `loid` and stores `data` in it.
    /// Returns an error if `loid` already exists.
    /// If `loid` is zero, chooses a free OID for the new object.
    ///
    /// Returns the OID of the new object.
    ///
    /// See <https://www.postgresql.org/docs/current/lo-funcs.html>.
    fn lo_from_bytea(loid: Oid, data: Binary) -> Oid
}
sql_function! {
    /// Gets the large object with OID `loid`.
    /// Returns an erorr if the object doesn't exist.
    ///
    /// See <https://www.postgresql.org/docs/current/lo-funcs.html>.
    fn lo_get(loid: Oid) -> Binary
}
sql_function! {
    /// Deletes the large object with OID `loid`.
    /// Returns 1 on success and -1 on failure.
    ///
    /// See <https://www.postgresql.org/docs/current/lo-funcs.html> and
    /// <https://www.postgresql.org/docs/current/lo-interfaces.html#LO-UNLINK>.
    fn lo_unlink(loid: Oid) -> Integer
}

Example write:
let photo_oid = select(lo_from_bytea(0, photo_bytes_cursor.into_inner()))
    .get_result::<u32>(&conn)
    .unwrap();

Example read:
use crate::schema::photos;
let photo_oid_values: Vec<u32> = photos::table
    .select(photos::photo_oid)
    .filter(photos::id.eq(photo_id))
    .filter(photos::account_id.eq(account_id))
    .limit(1)
    .load::<u32>(&conn)
    .unwrap();
if photo_oid_values.is_empty() {
    return Err(Response::empty_404());
}
let mut photo_bytes: Vec<u8> = select(lo_get(photo_oid_values[0]))
    .get_result::<Vec<u8>>(&conn)
    .unwrap();
photo_bytes.shrink_to_fit();
return Ok(Response::from_data("image/jpeg", photo_bytes));


Add the --virtualbox-host-dns-resolver flag

This adds a new flag, --virtualbox-host-dns-resolver, that tells VirtualBox to start the VM with --natdnshostresolver1 on instead of off.
A common problem I've run into is getting DNS to work correctly in VirtualBox VMs when I'm connected to a VPN that does special magic to the host's DNS resolver. This makes it easier to set up a Docker host with working DNS without having to shut it down and run the VBoxManage command manually.
The integration test for this isn't great, because I couldn't find a way to inspect the natdnshostresolverX property. I'd love to hear any suggestions for how to properly test this! :rainbow:
Signed-off-by: Joe Friedl<EMAIL_ADDRESS>

This is working.
I believe the integration test does not bring anything new to the table.
I just spent a good deal of time trying to figure out how we can check that this flag is actually correctly set in the box, but the only place where I found it is in the log file.
For a machine named grampajoe-resolver
you can
cat ~/.docker/machine/machines/grampajoe-resolver/grampajoe-resolver/Logs/VBox.log | grep UseHostResolver | grep -q '(1)'
and check the output code with echo $?
I suggest you remove the not-that-useful integration test. If you really feel like it, you can use the code above to hack your way into a new integration test.
Either way I tested this works, and I'm ready to move forward with a merge once you took a decision on integration tests.

My feeling is also that the integration test doesn't really add anything and we'll just have to wait until better unit testing is available for VirtualBox driver to test this option.
So, when the integration test is removed, I'm game to merge this.

Thanks for the review! I removed the integration test and added a note about the boolean flag in the docs.

LGTM


Experimental: Run pa11y against demo app directly

Proof of concept to test running pa11y against the demo server directly rather than running against storybook. Updates the demo-app job to start a test server and then run pa11y against that in a single job.
An alternative option might be to use https://github.com/dequelabs/axe-core-gems and run the accessibility check as part of the selenium tests. Maybe that's a preferable approach?

Thinking about this, I reckon I'd prefer to revisit this by moving the selenium tests over to the demo app first and trialing https://github.com/dequelabs/axe-core-gems then.


Profile Picture

I would like to be able to upload a profile picture or use my profile picture from Strava.

There is no existing API for that at the moment, so this feature is not possible as of now.


bug: fatal error while running default compare

Working on the main branch (commit: 7d6f5f926367ebde06dc33a7561c3874d5424a8f), and running through the documentation and trying out the various examples to double-check them, I found that a default baseline compare was failing:
reproduction:
swift package --allow-writing-to-package-directory benchmark baseline update
swift package benchmark baseline compare

Output of failure:
Building for debugging...
Build complete! (0.21s)
Building benchmark targets in release mode for benchmark run...
Building HistogramBenchmark
Building BenchmarkDateTime
Building Basic
Build complete!
Swift/RangeReplaceableCollection.swift:870: Fatal error: Can't remove last element from an empty collection
error: plugin process ended by an uncaught signal: 5 <command: /usr/bin/sandbox-exec -p '(version 1)
(deny default)
(import "system.sb")
(allow file-read*)
(allow process*)
(allow file-write*
    (subpath "/private/tmp")
    (subpath "/private/var/folders/8t/k6nw7pyx2qq77g8qq_g429080000gn/T")
)
(deny file-write*
    (subpath "/Users/heckj/src/package-benchmark")
)
(allow file-write*
    (subpath "/Users/heckj/src/package-benchmark/.build/plugins/Benchmark-Plugin/outputs")
    (subpath "/Users/heckj/src/package-benchmark/.build/plugins/Benchmark-Plugin/cache")
)
' /Users/heckj/src/package-benchmark/.build/plugins/Benchmark-Plugin/cache/Benchmark_Plugin>, <output:
'Building benchmark targets in release mode for benchmark run...
Building HistogramBenchmark
Building BenchmarkDateTime
Building Basic
Build complete!
Swift/RangeReplaceableCollection.swift:870: Fatal error: Can'\''t remove last element from an empty collection
'>

Workaround: if you name the baseline, there's no issue - so running swift package benchmark baseline compare default works.

Yes sorry about that - I'm in the middle reworking some of the baseline stuff (specifically splitting compare and threshold checks to two different commands) and one realization was that I think we shouldn't have a default baseline but only work with names ones for clarity and consistency. There's a separate PR up right now that has some minor issues remaining on the branch names polish-text-output or similar- will merge it early next week).
Thanks for reporting this!


turn on quicksight again and fix some ids

Summary | Résumé
We removed quicksight from terraform plan and apply since the broken dataset was breaking terraform 😞
After this dataset is deleted by AWS (support ticket) we should be able to put it back in.
This PR also fixes a couple ids that ar enot allowed to contain underscores.
NOTE: don't merge until

AWS deletes the dataset
we add quicksight back in to the plan

fixed a different way


Taking screenshots and environment variables IDEPROBE_TEST_SUITE, IDEPROBE_TEST_CASE and IDEPROBE_SCREENSHOTS_DIR

I have some problem with taking screenshots -> when I do not declare env variables IDEPROBE_TEST_SUITE and IDEPROBE_TEST_CASE (necessarily these two, declaring one variable has no effect) screenshots are not taken (I can't find them in the default location /tmp/ide-probe/screenshots/).
Also when I set IDEPROBE_SCREENSHOTS_DIR to some value it is not consider in ide-probe - still /tmp/ide-probe/screenshots/ is set. (It is not a big deal but it might be useful in some cases to store screenshots in specific locations not only in this default one).

These env vars are read by IntelliJ and should be set by the driver based on config. You shouldn't need to set them. But screenshots in general might be broken, it is worth investigating.


Adds lint action & license

Adds MIT license and a linting action

Codecov Report

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

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         1
  Lines           ?        70
  Branches        ?         0
========================================
  Hits            ?        70
  Misses          ?         0
  Partials        ?         0

Continue to review full report at Codecov.

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


[New Video Request]: Requesting Advanced JavaScript Topics

Need Seggrenations...

Need to break it down into multiple issues.


Why did b14562339 fail to ingest over the weekend?

We had an unknown ingest failure over the weekend:

b9789775-6db3-4ebc-94aa-a84be2b5cb72 – digitised/b14562339/v1

We should investigate and make sure this bag gets stored properly.

Closing as fixed by https://github.com/wellcomecollection/scala-libs/pull/191


¿How can I get url of attachment before send mail?

I try:
gmail.observe.on("upload_attachment", function(file, xhr) {
console.log("file", file, 'xhr', xhr);
});
But the url got it doesn't work after send email...
is this possible?

Fix in #134


fix github button is not clickable

https://github.com/Lakr233/NotchDrop/assets/52348220/8c49b160-f1ca-432e-b039-bea541c48e93

This code is to handle compatibility issues with another software called iBar. If events are not handled in global monitors, iBar will capture these events.
However, that button is not very important. Rather to use the hack, I'll take yours after a discuss :P


Readmore doesnt show anything on IOS, but works fine on Android

import ReadMore from "@fawazahmed/react-native-read-more";
<ReadMore
numberOfLines={5}
style={styles.descriptionText}
/* seeMoreStyle={styles.readmoreAndLessbtnStyle}
seeLessStyle={styles.readmoreAndLessbtnStyle} */
seeMoreText="more"
seeLessText="less"
>
{item.description}
          </ReadMore>

@markusmunk thanks for sharing this. In order to fix this I'll need some more info:

Your react native version
styles.descriptionText

@markusmunk I'll be closing this issue due to no response. Also ver 2.2.2 was released. You may want to upgrade the package and try again. Incase issue persists, feel free to reopen. Thanks,


Githook highlighter

Shell code highlighter for GitHook editor

Codecov Report

Merging #8932 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8932      +/-   ##
==========================================
- Coverage   41.24%   41.24%   -0.01%
==========================================
  Files         547      547
  Lines       70764    70765       +1
==========================================
  Hits        29184    29184
- Misses      37860    37862       +2
+ Partials     3720     3719       -1

Impacted Files
Coverage Δ

routers/repo/setting.go
13.28% <0%> (-0.02%)
:arrow_down:

modules/task/migrate.go
25% <0%> (-3.95%)
:arrow_down:

models/error.go
32.67% <0%> (-1.19%)
:arrow_down:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

models/repo.go
46.51% <0%> (+0.04%)
:arrow_up:

modules/migrations/gitea.go
8.68% <0%> (+0.63%)
:arrow_up:

modules/migrations/migrate.go
22.9% <0%> (+1.67%)
:arrow_up:

modules/indexer/indexer.go
55.26% <0%> (+10.52%)
:arrow_up:

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 e4e6d48...12f0ea6. Read the comment docs.

Sigh... TestGitHubDownloadRepo is failing because someone touched one of the issues it looks at.

@Konctantin - I think we're gonna merge #8973 before this one which will almost certainly conflict with this. Sorry about this.

Ok, then after merge #8973 i will fix the conflict

Heya! Yeah it did conflict but if you can fix we should be able to get this merged this evening

Thanks

@Konctantin Thank you for your first contribution.


Update readme

Removed broken links on example projects and a broken repository link. Should I remove the entire example for these as well?

 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.

For the broken examples we can re-deploy them.


Gold service is flaky in post submit

Skia bug: https://bugs.chromium.org/p/skia/issues/detail?id=13621
We keep getting test failures for approved images on the master branch in post submit.
The reported failing image digests are actually positive image results when we go to the dashboard:
Here is one example of output:
01:26 +2277 ~14 -7: /opt/s/w/ir/x/w/flutter/packages/flutter/test/cupertino/text_field_test.dart: Overflow clipBehavior none golden
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following _Exception was thrown while running async test code:
Exception: Skia Gold received an unapproved image in post-submit
testing. Golden file images in flutter/flutter are triaged
in pre-submit during code review for the given PR.

Visit https://flutter-gold.skia.org/ to view and approve
the image(s), or revert the associated change. For more
information, visit the wiki:
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter

Debug information for Gold:
stdout: Given image with hash 00473a05465d2335a65840d025317772 for test
cupertino.overflow_clipbehavior_none.cupertino.0
Untriaged or negative image:
https://flutter-gold.skia.org/detail?test=cupertino.overflow_clipbehavior_none.cupertino.0&digest=00473a05465d2335a65840d025317772

stderr: Test: cupertino.overflow_clipbehavior_none.cupertino.0 FAIL

When the exception was thrown, this was the stack:
#0      SkiaGoldClient.imgtestAdd (package:flutter_goldens_client/skia_client.dart:218:7)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)
════════════════════════════════════════════════════════════════════════════════════════════════════

01:26 +2277 ~14 -8: /opt/s/w/ir/x/w/flutter/packages/flutter/test/cupertino/text_field_test.dart: Overflow clipBehavior none golden [E]
  Test failed. See exception logs above.
  The test description was: Overflow clipBehavior none golden

Following the link to the image test result shows an approved image though, so it is not clear why Gold says the test is failing.
Here are several builds where this has happened on multiple golden file tests:
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows framework_tests_libraries/6123/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux framework_tests_widgets/6225/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux web_canvaskit_tests_3/3404/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux web_canvaskit_tests_7_last/3382/overview
When re-run, the test is passing. This flaky behavior is breaking our tree.
CC @kjlubick & @LeandroLovisolo

Also, https://flutter-gold.skia.org/ shows there are no untriaged images in post submit.

From triage: assigning to @Piinks for tracking.

We have not seen this flake since last Wednesday, but are continuing to monitor.

Weekly update, we have not seen this again another week later. If we are still free from flakes next week, I'll feel comfortable closing this.

This still has not reappeared, so I am going to close it.


Removed superfluous(?) assignments to 'tail'

I've spent a few time trying to understand how reusifyworks.
Am I missing something (what?) or we don't really need to keep tail around?
$ node -v
v8.0.0

$ node benchmarks/reuseNoCodeFunctionNoTail.js
Total time 72071
Total iterations 100000000
Iteration/s 1387520.6393695108

node benchmarks/reuseNoCodeFunction.js
Total time 71658
Total iterations 100000000
Iteration/s 1395517.5974769043

Coverage remained the same at 100.0% when pulling c7bce38240926b9bb51f1b94472f63c408105ff0 on brunoscopelliti:no-tail into f07e6ef9e772f1b82135d4dfe5663b050826fbf6 on mcollina:master.

Thanks for this!!!


Make this module global

The Travis error seems to be a npm install error on Travis

Too old, closing


Warning in protocol: Cannot read file ("mielecloudservice.admin"/"mielecloudservice.svg"): Not exists

Describe the bug
A clear and concise description of what the bug is.
Warning in protocol:
admin.0 | 2024-07-11 17:22:55.822 | warn | Cannot read file ("mielecloudservice.admin"/"mielecloudservice.svg"): Not exists
JS-Controller 6.0.6
Admin 7.0.12

Hmm. Can't reproduce this warning with Admin 7.0.11 and js-controller 6.0.6.
But since Admin 7-0.12 isn't released yet (not even in latest repo) it looks more like a bug or artefact in Admin to me.


Geocoding result fixes

Geocoding results have changed recently, this update fixes the test.
Closes #28

bors r+


Confusing behavior of destination (GenerateArgs)

I was going through some code in Dioxus and found that for some reason destination isn't the destination at all if you don't use init. When you use init: false the project path is destination + name, while with init: true it's just destination. And it's get more confusing when comparing it to cargo's behavior. With cargo name is exclusively to override the crate's name, it doesn't participate in path creation at all. This makes new/init subcommands more in sync on how they behave, i.e., more natural/predictable to use/understand.
I want to hear why this project uses this convoluted strategy on path creation. I vote for sticking to cargo's behavior. One problem is that cargo uses path as an input and this project instead uses the name. This makes rewriting logic a bit harder. I'm in the process of rewriting dx new/init logic, so I should come up with a concrete solution when I'm done.

Maybe I don't understand your definition or expectation of destination. Maybe you can elaborate it?
I have tried combinations of using --destination, --init, and both. The results look consistent to me, but this might be because I am biased towards a specific meaning.
Here are the cases:
only --destination works a destination path
❯ cargo generate demo3 --destination x1
Using application config: /Users/d34dl0ck/.cargo/cargo-generate
🤷   Project Name: bar
🔧   Destination: /private/tmp/x1/bar ...
🔧   project-name: bar ...
🔧   Generating template ...
✔ 🤷   Which board do you use? · Arduino Uno
🔧   Moving generated files into: `/private/tmp/x1/bar`...
🔧   Initializing a fresh Git repository
✨   Done! New project created /private/tmp/x1/bar

only --init works as "use $CWD as the destination path"
❯ mkdir x2
❯ cd x2

/tmp/x2
❯ cargo generate demo3 --init
Using application config: /Users/d34dl0ck/.cargo/cargo-generate
🤷   Project Name: bak
🔧   Destination: /private/tmp/x2 ...
🔧   project-name: bak ...
🔧   Generating template ...
✔ 🤷   Which board do you use? · Arduino Uno
🔧   Moving generated files into: `/private/tmp/x2`...
✨   Done! New project created /private/tmp/x2

both together is use destination as the folder but in there create no project with name baf
❯ mkdir x3
❯ cd x3

/tmp/x3
❯ cargo generate demo3 --init --destination xx
Using application config: /Users/d34dl0ck/.cargo/cargo-generate
🤷   Project Name: baf
🔧   Destination: /private/tmp/x3/xx ...
🔧   project-name: baf ...
🔧   Generating template ...
✔ 🤷   Which board do you use? · Arduino Uno
🔧   Moving generated files into: `/private/tmp/x3/xx`...
✨   Done! New project created /private/tmp/x3/xx

Maybe I don't understand your definition or expectation of destination. Maybe you can elaborate it?

It seems that your definition of destination is "overridden CWD". What I expect from destination is the "end destination of a project", i.e., the path where the project files are created.
So if you use destination plus project name (in the cargo-generate CLI), then the project path will be destination/name and not destination. I expect it to be destination. I hope this makes sense.
Try playing with cargo new <path> [--name] and cargo init [path] [--name]. You can also look at tests in https://github.com/DioxusLabs/dioxus/pull/2822. I already changed dx's syntax to follow cargo's one. For that, I had to use init: true for new and init subcommands (and explicit destination). Which obviously breaks the mental model of how/when init: true is used. That's where the confusion is. If I didn't have to use init: true in dx new then I probably wouldn't have opened this issue.


b2sdk.exception.InvalidAuthToken: Invalid authorization token.

I get an exception when trying to run the docker demo application.
Steps to reproduce

Clone repo
make setup
Create new B2 bucket, default settings (i.e., private bucket)
Enter BACKBLAZE_APPLICATION_KEY_ID, BACKBLAZE_APPLICATION_KEY and BACKBLAZE_BUCKET in the settings.env file
make run-sample-project

Exception
Initializing DjangoCacheAccountInfo with cache 'django-backblaze-b2'
Traceback (most recent call last):
  File "//sample_app/manage.py", line 22, in <module>
    main()
  File "//sample_app/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute
    django.setup()
  File "/usr/local/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.9/site-packages/django/apps/registry.py", line 114, in populate
    app_config.import_models()
  File "/usr/local/lib/python3.9/site-packages/django/apps/config.py", line 301, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/sample_app/b2_file_app/models.py", line 6, in <module>
    class ModelWithFiles(models.Model):
  File "/sample_app/b2_file_app/models.py", line 7, in ModelWithFiles
    b2StorageFile = models.FileField(
  File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/files.py", line 235, in __init__
    self.storage = self.storage()
  File "/usr/local/lib/python3.9/site-packages/django_backblaze_b2/storage.py", line 73, in __init__
    self.b2Api
  File "/usr/local/lib/python3.9/site-packages/django_backblaze_b2/storage.py", line 130, in b2Api
    self._b2Api.authorize_account(**self._authInfo)
  File "/usr/local/lib/python3.9/site-packages/logfury/v0_1/trace_call.py", line 84, in wrapper
    return function(*wrapee_args, **wrapee_kwargs)
  File "/usr/local/lib/python3.9/site-packages/b2sdk/api.py", line 164, in authorize_account
    self.session.authorize_account(realm, application_key_id, application_key)
  File "/usr/local/lib/python3.9/site-packages/b2sdk/session.py", line 115, in authorize_account
    if not self.account_info.is_same_account(account_id, realm):
  File "/usr/local/lib/python3.9/site-packages/logfury/v0_1/trace_call.py", line 84, in wrapper
    return function(*wrapee_args, **wrapee_kwargs)
  File "/usr/local/lib/python3.9/site-packages/b2sdk/account_info/abstract.py", line 125, in is_same_account
    return self.get_account_id() == account_id and self.get_realm() == realm
  File "/usr/local/lib/python3.9/site-packages/django_backblaze_b2/cache_account_info.py", line 32, in getter_function
    raise InvalidAuthToken(
b2sdk.exception.InvalidAuthToken: Invalid authorization token. Server said: Token refresh required to determine value of 'account_id' (401)
make: *** [Makefile:115: run-sample-proj] Error 1

Hmm. Currently main is an unreleased version of the code so it's possible there are errors.
I'll run it on my end tomorrow and see if it's the same.
Good indicator the sample app should be in the test suite.

Confirmed I see the same behaviour, working on a fix.

Should be fixed now, feel free to re-open if it does not work on your end!


Added OpsMx Spinnaker 1.17.2 version Operator

Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[x] Has you operator nested directory structure?
[x] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

Added Spinnaker 1.17.2

@aswath2saru, please consider adding "replaces" directive to your CSV, if older version of your operator already exists in the catalog.

added replace in the old version.

Added replace and fixed some metadata issues in 1.13.x and 1.17.2.

@aswath2saru, please squash your commits and do not forget to get it signed from original contributor. Thank you.

@aswath2saru, there are 8 commits, please have a look

I've Squashed all the commits and re based.

I've Rebased and Merged the Code. Kindly review it.

@dmesser  can you please review and approve?


Hls Vod Playback Ts Load Quickly more than %50, then can't get the remaining part of video

Browser: Chrome 86
OS:  Windows
Clappr Version: Latest
Steps to reproduce: video from wowza vod, the default hls js get the ts file slowly,
ie : in 2 minutes it took 40 of 100 different ts , and when needed getting the remaining 60 ts part by part , however clappr hls js take the 50 different ts in 1 minute, when close the finish 50, it cant get the 51 52 53 .. it stops to play
Did you try to reproduce this issue at http://cdn.clappr.io/
I reproduce local clappr and cdn clappr js

Hi @Lethea, can you provide more info about the streaming test that you're using, please? And also an example of streaming that this problem occurs.

Closing due to inactivity. Please, feel free to open again with more info!


Improve in content, editting, and bulk feature fixes.

closes #55
closes #54
closes #50
closes #44

close #57


[Bug] sql解析错误， FUNCTION isoc.days_sub does not exist

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.0.3
What's Wrong?
select DATE_FORMAT(date_sub(curdate(),INTERVAL WEEKDAY(curdate()) +7 DAY),'%Y-%m-%d'), DATE_FORMAT(date_sub(curdate(),INTERVAL WEEKDAY(curdate()) - 1 DAY),'%Y-%m-%d');
这条sql这样子跑可执行正确；date_sub可以识别成函数

这样子写则无法识别函数：
SELECT count(distinct iot_id) as sum from mysql_160.isoc.t_isoc_asset_black_list_day_count
where date>=DATE_FORMAT(date_sub(curdate(),INTERVAL WEEKDAY(curdate()) +7 DAY),'%Y-%m-%d')
and date<=  DATE_FORMAT(date_sub(curdate(),INTERVAL WEEKDAY(curdate()) - 1 DAY),'%Y-%m-%d')

这样子写可以正常执行：
SELECT count(distinct iot_id) as sum from mysql_160.isoc.t_isoc_asset_black_list_day_count

What You Expected?
解决该问题
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Try it in mysql client

@LemonLiTree doris web

mysql client

@LemonLiTree mysql client still reports an error

I will fix it soon

@zy-kkk Thanks


Proposal: Add unsafe option to disable UTF8 validation on parquet read

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
It is a pretty common usecase for systems (e.g. InfluxDB 3.0) to ingest data and write it as parquet files and then only ready parquet files that we wrote (and this are well formed)
Doing utf8 validation in the parquet reader take a significant amount of time for string data, likely leading to proposals to improve it like

https://github.com/apache/arrow-rs/issues/6667

However if the usecase is to speed up parquet data that is "trusted" maybe validating at all is unecessary.
Describe the solution you'd like
Add an unsafe parquet API to disable UTF8 validation during read for users
Describe alternatives you've considered

Additional context

We obviously wouldn't use this in DataFusion for clickbench (as it would basically be cheating) but we might very well do so internally in InfluxDB 3.0 or other places where re-validating the same UTF8 data we already wrote consumes CPU unecessarly