fix(version): update fabric8-stack-analysis-ui to 0.1.15

There were the following issues with your Pull Request

Commit: 5119462a4b93c0fad313ad17dae1326ab0a37cfe
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 5119462a4b93c0fad313ad17dae1326ab0a37cfe
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 5119462a4b93c0fad313ad17dae1326ab0a37cfe
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


merge from Kronos-Integration/service-logger-gelf

.gitignore

chore: add  ()

.npmignore

chore: add  ()

Codecov Report

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

@@           Coverage Diff           @@
##           master     #816   +/-   ##
=======================================
  Coverage   28.94%   28.94%
=======================================
  Files           1        1
  Lines          76       76
  Branches        1        1
=======================================
  Hits           22       22
  Misses         54       54

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 b66ba5e...040224a. Read the comment docs.


Can't set indent guide to 4 spaces.

The vertical indent guide lines that should show every n spaces (where n is the configured tab length) show every 2 spaces when the global tab length is configured for 4.
As a workaround, it does work correctly when you follow these steps:

Set the global editor tab length to something else than 4
Set rust tab length to 4
Set the global tab length back to 4

Thanks for reporting this issue. This sounds similar to an Atom bug that has been nagging us for some time, see #93 and atom/settings-view#967. Since we don't do any settings management besides specifying some editor settings, I suppose this is probably an issue with Atom itself.
Unfortunately, I don't know the Atom internals very well. You might want to try asking the Atom community for help (please post a link to it here if you do so)


Localising and Lateralising KeyError when semiology not found (issue 7)

excluded Localising and Lateralising columns from DataFrame dropna(), then fillna(0).

why does the build fail?!

Can you use a more informative title for the PR? See my edit in the one you deleted earlier.
You can see the build log on Travis: https://travis-ci.com/github/thenineteen/Semiology-Visualisation-Tool/jobs/311628093
The best you can do from now on is testing locally before you commit, for example by running pytest. That way you don't need to wait for the Travis build to see that it breaks the library. You can keep pushing to this branch and tests will be triggered for every commit. Just please use informative titles for PRs and commits, for the sanity of our future selves.

yayy

please check it resolves your issue #7

yayy

It's satisfying when builds work again, isn't it? :)

Note that I squashed the commits into a single one (although I forgot to use a better name for it).


Multimodel Problem - Refusing to perform an overparameterized separable convolution

Information:
PROBLEM=wmt_ende_tokens_32k
MODEL=multi_model
HPARAMS=multimodel_base
The transformer model run normally with this problem. However, the multi_model model doesn't want to run.
WARNING:tensorflow:It is strongly recommended to specify --output_dir. Using default output_dir=/tmp/tensor2tensor. INFO:tensorflow:Creating experiment, storing model files in /tmp/tensor2tensor INFO:tensorflow:datashard_devices: ['gpu:0'] INFO:tensorflow:caching_devices: None INFO:tensorflow:Using config: {'_model_dir': '/tmp/tensor2tensor', '_save_checkpoints_secs': 600, '_num_ps_replicas': 0, '_keep_checkpoint_max': 20, '_tf_random_seed': None, '_task_type': None, '_environment': 'local', '_is_chief': True, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x7f151df1d650>, '_tf_config': gpu_options {   per_process_gpu_memory_fraction: 1.0 } , '_num_worker_replicas': 0, '_task_id': 0, '_save_summary_steps': 100, '_save_checkpoints_steps': None, '_evaluation_master': '', '_keep_checkpoint_every_n_hours': 10000, '_master': '', '_session_config': allow_soft_placement: true graph_options {   optimizer_options {   } } } INFO:tensorflow:Performing local training. WARNING:tensorflow:From /home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/monitors.py:268: __init__ (from tensorflow.contrib.learn.python.learn.monitors) is deprecated and will be removed after 2016-12-05. Instructions for updating: Monitors are deprecated. Please use tf.train.SessionRunHook. INFO:tensorflow:datashard_devices: ['gpu:0'] INFO:tensorflow:caching_devices: None Traceback (most recent call last):   File "t2t-trainer", line 83, in <module>     tf.app.run()   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run     _sys.exit(main(_sys.argv[:1] + flags_passthrough))   File "t2t-trainer", line 79, in main     schedule=FLAGS.schedule)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 246, in run     run_locally(exp_fn(output_dir))   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 536, in run_locally     exp.train_and_evaluate()   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 495, in train_and_evaluate     self.train(delay_secs=0)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 275, in train     hooks=self._train_monitors + extra_hooks)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 665, in _call_train     monitors=hooks)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 289, in new_func     return func(*args, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 455, in fit     loss = self._train_model(input_fn=input_fn, hooks=hooks)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 955, in _train_model     model_fn_ops = self._get_train_ops(features, labels)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1162, in _get_train_ops     return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1133, in _call_model_fn     model_fn_results = self._model_fn(features, labels, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 431, in model_fn     len(hparams.problems) - 1)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 750, in _cond_on_index     return fn(cur_idx)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 412, in nth_model     features, skip=(skipping_is_on and skip_this_one))   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/t2t_model.py", line 415, in model_fn     transformed_features)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/multimodel.py", line 104, in model_fn_body_sharded     inputs_mask, i)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/multimodel.py", line 64, in conv_experts     conv_out = dp(conv_res_step, xs, hparams, padding, mask)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/utils/expert_utils.py", line 294, in __call__     outputs.append(fns[i](*my_args[i], **my_kwargs[i]))   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/multimodel.py", line 46, in conv_res_step     padding=padding, mask=mask, separabilities=0, name="residual2")   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 533, in subseparable_conv_block     dilation_rates_and_kernel_sizes, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 510, in conv_block_internal     **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 383, in subseparable_conv     return conv_internal(conv_fn, inputs, filters, kernel_size, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 331, in conv_internal     return conv2d_kernel(kernel_size, "single")   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 324, in conv2d_kernel     result = conv_fn(inputs, filters, kernel_size_arg, name=name, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensor2tensor/models/common_layers.py", line 378, in conv_fn     **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/layers/convolutional.py", line 1019, in separable_conv2d     return layer.apply(inputs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/layers/base.py", line 492, in apply     return self.__call__(inputs, *args, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/layers/base.py", line 441, in __call__     outputs = self.call(inputs, *args, **kwargs)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/layers/convolutional.py", line 883, in call     rate=self.dilation_rate)   File "/home/agemagician/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/nn_impl.py", line 486, in separable_conv2d     channel_multiplier * in_channels, out_channels)) ValueError: Refusing to perform an overparameterized separable convolution: channel_multiplier * in_channels = 1 * 2048 = 2048 > 512 = out_channels

The bad new is that it's a problem of TensorFlow kernels, must be corrected there, not in tensor2tensor. The good news is that it's already corrected there :). I just checked and it should run fine with the latest TensorFlow nightly, and it'll be part of the 1.3 release of TensorFlow.


Terragrunt doesn't escape input variables in some situations

Describe the bug
I have a terragrunt.hcl config with inputs like:
inputs = {
  stuff = jsondecode(file("stuff.json"))
}

If stuff.json contains a string anywhere within it that contains characters like: ${foo}, the way Terragrunt invokes Terraform results in an error:
$ terragrunt plan --terragrunt-log-level debug --terragrunt-debug
...
15:49:12.011 STDOUT terraform: │ Error: Variables not allowed
15:49:12.011 STDOUT terraform: │
15:49:12.011 STDOUT terraform: │   on <value for var.stuff> line 1:
15:49:12.011 STDOUT terraform: │   (source code not available)
15:49:12.011 STDOUT terraform: │
15:49:12.011 STDOUT terraform: │ Variables may not be used here.
...

Steps To Reproduce
Terragrunt config:
terraform {
  source = "/Users/dpedu/code/sillymodule"
}

inputs = {
  stuff = jsondecode(file("stuff.json"))
}

stuff.json:
{
    "foo": "test ${bar} test"
}

Sillymodule main.tf:
terraform {
  backend "s3" {}
}

variable "stuff" {
  type    = map(string)
  default = {}
}

Expected behavior
Terragrunt should pass input variables to terraform in the same manner that they are written, escaping as necessary.
Nice to haves
Terminal output:
$ ~/Downloads/terragrunt_darwin_arm64 plan --terragrunt-log-level debug --terragrunt-debug
15:54:21.405 DEBUG  Terragrunt Version: 0.67.0
15:54:21.411 DEBUG  Did not find any locals block: skipping evaluation.
15:54:21.412 DEBUG  Running command: terraform --version
15:54:21.590 DEBUG  terraform version: 1.9.2
15:54:21.590 DEBUG  Reading Terragrunt config file at terragrunt.hcl
15:54:21.590 DEBUG  Did not find any locals block: skipping evaluation.
15:54:21.590 DEBUG  Did not find any locals block: skipping evaluation.
15:54:21.592 DEBUG  terraform files in /Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc are up to date. Will not download again.
15:54:21.592 DEBUG  Copying files from /Users/dpedu/code/tgtesting/dollarbug into /Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc
15:54:21.593 DEBUG  Setting working directory to /Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc
15:54:21.593 INFO   Debug mode requested: generating debug file terragrunt-debug.tfvars.json in working dir /Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc
15:54:21.593 DEBUG  The following variables were detected in the terraform module:
15:54:21.593 DEBUG  [stuff]
15:54:21.593 DEBUG  Variables passed to terraform are located in "/Users/dpedu/code/tgtesting/dollarbug/terragrunt-debug.tfvars.json"
15:54:21.593 DEBUG  Run this command to replicate how terraform was invoked:
15:54:21.593 DEBUG  	terraform -chdir="/Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc" plan -var-file="/Users/dpedu/code/tgtesting/dollarbug/terragrunt-debug.tfvars.json"
15:54:21.594 DEBUG  Running command: terraform init
15:54:21.620 STDOUT terraform: Initializing the backend...
15:54:24.626 STDOUT terraform: Initializing provider plugins...
15:54:24.626 STDOUT terraform: Terraform has been successfully initialized!
15:54:24.628 STDOUT terraform:
15:54:24.628 STDOUT terraform: You may now begin working with Terraform. Try running "terraform plan" to see
15:54:24.628 STDOUT terraform: any changes that are required for your infrastructure. All Terraform commands
15:54:24.628 STDOUT terraform: should now work.
15:54:24.628 STDOUT terraform: If you ever set or change modules or backend configuration for Terraform,
15:54:24.628 STDOUT terraform: rerun this command to reinitialize your working directory. If you forget, other
15:54:24.628 STDOUT terraform: commands will detect it and remind you to do so if necessary.
15:54:24.629 DEBUG  Running command: terraform plan
15:54:26.217 STDOUT terraform: ╷
15:54:26.217 STDOUT terraform: │ Error: Variables not allowed
15:54:26.217 STDOUT terraform: │
15:54:26.218 STDOUT terraform: │   on <value for var.stuff> line 1:
15:54:26.218 STDOUT terraform: │   (source code not available)
15:54:26.218 STDOUT terraform: │
15:54:26.218 STDOUT terraform: │ Variables may not be used here.
15:54:26.218 STDOUT terraform: ╵
15:54:26.222 ERROR  terraform invocation failed in /Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc error=[/Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc] exit status 1
15:54:26.421 ERROR  1 error occurred:
	* [/Users/dpedu/code/tgtesting/dollarbug/.terragrunt-cache/zkefbz3Gly-jCio4QV13c-CkEjw/PrZCQT1w3Qeo-ReaX-gLYPGYNlc] exit status 1

Versions

Terragrunt version: 0.67.0
OpenTofu/Terraform version: Terraform 1.9.2
Environment details: macOS

Additional context
The debug flags used produce terragrunt-debug.tfvars.json, which looks like this:
{
  "stuff": {
    "foo": "test ${bar} test"
  }
}

Hi @yhakbar, mangling json by inserting foreign escape codes into it isn't going to be a viable solution for a number of reasons:

It's confusing for users. Json is json, and hcl is hcl. Should a user have to manually audit and alter thousands of lines of json just because of this bug? I shouldn't have to worry about escape codes completely unappreciable to the language I'm using because of downstream concerns. IMO, this is a pretty basic Separation Of Concerns issue.

This creates impossible scenarios where input json documents are shared. In my example above, I showed one deployment ingesting a json file and hitting this error. And you are right that if I write the dollar sign bit like $${bar}, then my example config is able to ingest it. However, another problem arises if this json file is shared with another terragrunt deployment and the other deployment tries to read only a subset of the file. Consider an input where the user slices off one key from the json: stuff = jsondecode(file("stuff.json")).foo. With the double dollar sign, this is passed through to terraform as $${bar}, which is not expected, but my previous example works. With a single dollar sign, my previous example breaks but this new example is correctly passed as ${bar}

This problem also occurs when a module is outputting json data and terragrunt.hcl is ingesting that data as an input via a dependency:

I made another module that outputs json:
$ terragrunt output stuff
"{\"foo\":\"test ${bar} test\"}"

And I altered my original example to ingest this instead of a file:
...
dependency "stuff" {
  config_path = "../other/path/"
}

inputs = {
  stuff = jsondecode(dependency.stuff.outputs.stuff)
}

This example hits the same error.
Since output data often comes from 3rd party APIs and modules that the user has no control over, it is impossible to work around this bug in the manner suggested.

If I'm not mistaken, this is just how HCL is parsed when a cty value has a $.
When parsing HCL, the $ will be detected as a token that requires variable interpolation, and an attempt will be made to substitute the value of the expression ${} into the surrounding string. For a simple type like a string, it doesn't matter, as the string doesn't have to be evaluated for it to be passed around, but for more complex types like a map it does.
If you have no control over the underlying JSON payload, and know that the content is going to be passed into a context where HCL is going to be parsed as a complex type (like when passed to an input used for a map), you can simply do the substitution using the replace function.
# terragrunt.hcl
generate "main" {
  path      = "main.tf"
  if_exists = "overwrite"
  contents  = <<EOF
variable "stuff" {
  type = map(string)
}

variable "foo" {
  type = string
}

output "stuff" {
  value = var.stuff
}

output "foo" {
  value = var.foo
}
EOF
}

inputs = {
  stuff = replace(file("${get_terragrunt_dir()}/foo.json"), "$", "$$")

  foo = jsondecode(file("${get_terragrunt_dir()}/foo.json")).foo
}

{
	"foo": "test ${bar} test"
}

I'm open to being wrong on this. If someone points out where we do special escaping logic for strings, but not for maps, I can take a look at it. I don't know of any place where we're actively handling introducing extra $ to intentionally escape strings on behalf of users.

If I'm not mistaken, this is just how HCL is parsed when a cty value has a $.

Yes, but the problem is that this is being applied to data that is not hcl.
Using the replace function results in inconsistent behavior and impossible situations too. Starting with my original example again, if stuff.json instead contains:
{
    "$foo": "test ${bar} test"
}

The replace would turn this into:
"$$foo" = "test $${bar} test"
Which, after terragrunt passes it to terraform, results in:
"$$foo" = "test ${bar} test"
Note that the double dollar sign has been left as-is in the key, but parsed in the value.

I was playing with the code where I had discovered this issue again today, and have found additional odd behavior: interpolation expressions in terragrunt.hcl must be double escaped.
inputs = {
  stuff = { "$foo" : "test ${bar} test" }
}

The above doesn't work because there is no $bar defined in terragrunt.hcl, which is expected.
inputs = {
  stuff = { "$foo" : "test $${bar} test" }
}

Despite being escaped, this hits the same error as the original issue!
inputs = {
  stuff = { "$foo" : "test $$${bar} test" }
}

This "works" in that the value is passed through containing ${bar}.
So, to review, the relevant rules for escaping interpolation expressions in terragrunt are:

Top-level string keys in maps in the inputs need not be escaped
Second-level and deeper string keys in maps in the inputs need to be double escaped
All string values in the map in the inputs must be double escaped
Top-level keys in maps in imported files such as json need not be escaped
Second-level and deeper string keys in maps in imported files such as json need to be double escaped
All string values in maps in imported files such as json must be double escaped

And to top that off:

Inputs that are plain strings need interpolation expressions escaped
Inputs that are a map that contain a string need the interpolation expressions double escaped.

Is this in any way acceptable? Seven different rules about how to escape interpolation expressions depending on the context.
I don't have any evidence for this, but I believe there is one root cause for all of these differences.


Resolving Dwolla High Level Requests

Did you have success running the example app locally?

@miccav01 first round of comments are done. Great job on this

@miccav01 Did you have success running the example app locally?

Yup! Ran most of these tests to make sure they worked.

This looks good!
I'll ping Nate to see if he wants to give it a quick look


Merge master into next 2019-06-20

Please approve once CI passes, but DO NOT MERGE.

@gszr Thanks!


Update Anthropic Client

Anthropic changed their python sdk - making this code line outdated.
https://github.com/Forward-Operators/prr/blob/3dcceb91e3b0daf93775bbdefe4f7b9a6e6fde53/prr/services/providers/anthropic/complete.py#L22

Would love to know if this might help - https://github.com/BerriAI/litellm
~Simple I/O library, that standardizes all the llm api calls to the OpenAI call
from litellm import completion

## set ENV variables
# ENV variables can be set in .env file, too. Example in .env.example
os.environ["OPENAI_API_KEY"] = "openai key"
os.environ["ANTHROPIC_API_KEY"] = "anthropic key"

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# anthropic call
response = completion("claude-v-2", messages)

cc: @meal


[Feature Request] - internal event bus improvements (websocket)

Prepare internal event bus architecture for those features:

[ ] Change webhook configuration per session (without restart) #203
[ ] websocket conneciton
[ ] socket.io connection

t

Will add first session.status event in 2024.6.7

# Listen all sessions and events
websocat ws://localhost:3000/api/ws
# The same as above
websocat ws://localhost:3000/api/ws?session=*&events=*

# Listen certain events
# (!) Only 'session.status' event is supported now
websocat ws://localhost:3000/api/ws?session=*&events=session.status

# Listen certain session
# NOT SUPPORTED YET
# websocat ws://localhost:3000/api/ws?session=default&events=session.status


Make the the agent send a SIGTERM (configurable) before a SIGKILL to subprocesses

The agent start process already does something similar to the job exectutor process when it detects that the buildkite job had been cancelled. However, every other process launched by the agent is unceremoniously killed with a SIGKILL when the job is cancelled. This has been causing issues with the checkout directory becoming corrupted if the job is cancelled during checkout.
This PR makes the agent first send a SIGTERM (which is configurable by the cancel-signal config option) and give the process a grace period to clean up before sending a SIGKILL. The grace period is also configurable, but it needs to be smaller than the grace period allowed to the job executor by the agent start process.

+1 we should absolutely never SIGKILL anything without SIGTERM and a grace period first 👍🏼


Add feature polarity score

Continuation from the original PR - https://github.com/wiki-ai/draftquality/pull/3 on sentiment score feature.
Addresses Adam's comments regarding verbosity and ease of use.

Arg!  I had this review just sitting in github and I had forgotten to submit it.


Document alternatives to mounting docker.sock

A couple of our Java/Kotlin based deployments and jobs execute containerized c++ or python tools (to avoid dependency hell). By using docker-in-docker, this has allowed our k8s versions to behave the same way as our bare metal (i.e. run from IntelliJ or docker-compose). In other words, it doesn't make sense for us to spin up yet another job with a shared volume when we can use dind.
I see that this will no longer be supported in 1.24 and dds identifies the expected deployment; however, I can't find anywhere what to do about this? Do I just do the same thing with containerd.sock and nerdctl? Any alternative documented would be appreciated

There are some alternative container build tools mentioned in the FAQ https://kubernetes.io/blog/2022/02/17/dockershim-faq/#what-should-i-look-out-for-when-changing-cri-implementations
The buildkit cli for kubectl seems like the most generic and flexible option https://github.com/vmware-tanzu/buildkit-cli-for-kubectl

I don't use docker-in-docker to build, just to run other CLI containers.
Like running different containerized image transformers on a shared folder.
All the alternatives mentioned are for build servers
On Wed, Nov 9, 2022, 5:24 PM Justin Garrison @.***>
wrote:

There are some alternative container build tools mentioned in the FAQ
https://kubernetes.io/blog/2022/02/17/dockershim-faq/#what-should-i-look-out-for-when-changing-cri-implementations
The buildkit cli for kubectl seems like the most generic and flexible
option https://github.com/vmware-tanzu/buildkit-cli-for-kubectl
—
Reply to this email directly, view it on GitHub
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7#issuecomment-1309464832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUMHKVVVUZO4W3NO2N5NLWHQQBXANCNFSM6AAAAAAR34E45U
.
You are receiving this because you authored the thread.Message ID:
<aws-containers/kubectl-detector-for-docker-socket/issues/7/1309464832@
github.com>

Can you give an example of commands you run? If you’re not running docker
commands you should be fine.
On Wed, Nov 9, 2022 at 14:34 Charles Ritchea @.***>
wrote:

I don't use docker-in-docker to build, just to run other CLI containers.
Like running different containerized image transformers on a shared folder.
All the alternatives mentioned are for build servers
On Wed, Nov 9, 2022, 5:24 PM Justin Garrison @.***>
wrote:

There are some alternative container build tools mentioned in the FAQ

https://kubernetes.io/blog/2022/02/17/dockershim-faq/#what-should-i-look-out-for-when-changing-cri-implementations

The buildkit cli for kubectl seems like the most generic and flexible
option https://github.com/vmware-tanzu/buildkit-cli-for-kubectl
—
Reply to this email directly, view it on GitHub
<
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7#issuecomment-1309464832
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAMUMHKVVVUZO4W3NO2N5NLWHQQBXANCNFSM6AAAAAAR34E45U
.
You are receiving this because you authored the thread.Message ID:
<aws-containers/kubectl-detector-for-docker-socket/issues/7/1309464832@
github.com>

—
Reply to this email directly, view it on GitHub
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7#issuecomment-1309476604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC2YVALD7MKCP7X3U5Q6QTWHQRIFANCNFSM6AAAAAAR34E45U
.
You are receiving this because you modified the open/close state.Message
ID: <aws-containers/kubectl-detector-for-docker-socket/issues/7/1309476604
@github.com>

--
--
Justin Garrison
justingarrison.com

Yes, I am using e.g. docker run -it --rm -v /my-folder:/data my-cli-program:v3 like if I was using bash -c my-cli-program.  For example, I have a k8s pod that consumes messages from a queue, processing these messages can tke a long time, like an hour. While processing the message, I download like 1000 jpegs or a large 6gb file. I need to do some magic on these large binary files and have this magic c++ CLI program that has been containerized because it requires Ubuntu 14.06alpha27 or whatever. I also have a CLI program that is python 2.6 based (these are ridiculous examples but you get the picture, they are containerized to avoid dependency hell). Both of these CLI programs process the large binary files on the same volume as the host message processor. But ultimately what I am doing is running containerized CLI programs with shared data. Also, I am doing this both in k8s as well as locally on bare metal during development, so docker-in-docker let me use the same docker run command whether it was k8s or bare metal.

Sorry I wasn't clear, I am executing docker run from my Kotlin code, so yes I am using docker run. What it comes down to is it was my (and my team leads) understanding that you can containerize any program and use it like a native program, so we chose to containerize all of our custom CLI programs (as well as use containers for other programs like gdal), the only change is wrapping the executable commands with docker run. I'm sorry O don't know how else to explain what to me is a very basic use case

I just remembered your manifest/volume comment. Yes, there is a pod that is running a container with a volume. The program on that pod also needs to execute other docker containers with access to folders on that volume.

Do you have an example kubernetes manifest and dockerfile to build the containers you use? It would probably help me understand how it's used more.

No, it's an inhouse spring application that runs as either a deployment or
a job. We use inhouse programs and gdal for the containers we run inside
the other container. And by inside I mean exec shell with docker run. Here
is a reddit post I created about it, with lots of helpful solutions, looks
like sidecar dind might be the best short term solution.
https://www.reddit.com/r/kubernetes/comments/yrf215/eks_ive_been_struggling_with_the_upcoming_removal/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button
On Thu, Nov 10, 2022, 5:17 PM Justin Garrison @.***>
wrote:

Reopened #7
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7
.
—
Reply to this email directly, view it on GitHub
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7#event-7787477755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUMHP2OQMMXVZPNEEUXELWHVYA3ANCNFSM6AAAAAAR34E45U
.
You are receiving this because you authored the thread.Message ID:
<aws-containers/kubectl-detector-for-docker-socket/issue/7/issue_event/7787477755
@github.com>

I don't think the manifest or dockerfile would show you anything, it just
shows that docker.sock is mounted and docker is installed. All of the
containers I'm talking about using are not represented because they are
called with docker run
On Thu, Nov 10, 2022, 5:31 PM Charles Ritchea @.***> wrote:

No, it's an inhouse spring application that runs as either a deployment or
a job. We use inhouse programs and gdal for the containers we run inside
the other container. And by inside I mean exec shell with docker run. Here
is a reddit post I created about it, with lots of helpful solutions, looks
like sidecar dind might be the best short term solution.
https://www.reddit.com/r/kubernetes/comments/yrf215/eks_ive_been_struggling_with_the_upcoming_removal/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button
On Thu, Nov 10, 2022, 5:17 PM Justin Garrison @.***>
wrote:

Reopened #7
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7
.
—
Reply to this email directly, view it on GitHub
https://github.com/aws-containers/kubectl-detector-for-docker-socket/issues/7#event-7787477755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUMHP2OQMMXVZPNEEUXELWHVYA3ANCNFSM6AAAAAAR34E45U
.
You are receiving this because you authored the thread.Message ID:
<aws-containers/kubectl-detector-for-docker-socket/issue/7/issue_event/7787477755
@github.com>


rndemo not working

I've checked out your repo and tried to get the demo running based on the readme.
When running yarn start it will produce an error:
Failed to construct transformer:  Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at stableHash (/Users/.../react-native-big-calendar/rndemo/node_modules/metro-cache/src/stableHash.js:19:8)
    at Object.getCacheKey (/Users/.../react-native-big-calendar/rndemo/node_modules/metro-transform-worker/src/index.js:647:7)
    at getTransformCacheKey (/Users/.../react-native-big-calendar/rndemo/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js:32:19)
    at new Transformer (/Users/.../react-native-big-calendar/rndemo/node_modules/metro/src/DeltaBundler/Transformer.js:180:28)
    at /Users/.../react-native-big-calendar/rndemo/node_modules/metro/src/Bundler.js:58:29
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

and yarn start-rndemo-android gives: error Command "start-rndemo-android" not found.
Before that i also tried running it via XCode on iOS, but i think in the readme is one step missing for iOS development: npx pod-install. But its also not running on iOS.
Maybe i can update the demo to the latest react-native version and this will solve the issue?

@Letty Thank you! The document for demo has not been updated recently.

and yarn start-rndemo-android gives: error Command "start-rndemo-android" not found.
Before that i also tried running it via XCode on iOS, but i think in the readme is one step missing for iOS development: npx pod-install. But its also not running on iOS.

Thanks for pointing out it. I've fixed them in this commit: https://github.com/acro5piano/react-native-big-calendar/commit/842639c893c5f54bfd044dbbf82d5acc6ac9afcf

Maybe i can update the demo to the latest react-native version and this will solve the issue?

I hope so. If you succeed to update it, please send a PR to this library; that would be helpful.
I recommend creating a whole new RN  project with the latest RN version and install this library then update code, because updating RN version is really painful.

I hope so. If you succeed to update it, please send a PR to this library; that would be helpful. I recommend creating a whole new RN project with the latest RN version and install this library then update code, because updating RN version is really painful.

I will give it a try!

The demo is updated and uses the latest react native version.
One thing I changed is the Picker. This Element is no longer a part of rn and I simply put some buttons to change the mode.
One problem i had during the commit was an error in the pre-commit hook. I guess it is some sort of an issue with the config files in the rndemo. The error was: Parsing error: No Babel config file detected. I bypassed it with removing the lint-staged config in the package.json. I hope that was alright. Not sure which config needs to be adapted to avoid this error.

Implemented on 4.4.0.

One problem i had during the commit was an error in the pre-commit hook. I guess it is some sort of an issue with the config files in the rndemo. The error was: Parsing error: No Babel config file detected. I bypassed it with removing the lint-staged config in the package.json. I hope that was alright. Not sure which config needs to be adapted to avoid this error.

Sorry for taking your time in the hook. I'll take a look into the issue next time I modify the demo app.


Option to add "futures"

It woud be cool if future field could be implemented.

Could you elaborate on what you would like to see changed in Surrealist?
Futures should already be available to use in Surrealist and they should be highlighted correctly.

Is not highlighted and I was not sure about where should I write my <future>{ ... }.
Now with more experience I have no longer this problem, but at beginning I would've liked something like "Input your future here" with the boilerplate syntax.

It would be difficult to treat futures different than other field types, however if you press the wrench on the right it will open a larger editor with highlighting

It would be difficult to treat futures different than other field types, however if you press the wrench on the right it will open a larger editor with highlighting

No highlighting for me :(

This has been improved in Surrealist 2.0 and highlighting is now available in relevant input fields. There may still be some minor future related highlighting issues we are looking to fix


Replacing the favicon

Is your feature request related to a problem? Please describe.
I'm not sure how to override the favicon for this theme. I've added my own favicon in static/favicon.ico and it was not able to override it during a build
Describe the solution you'd like
When a user adds a favicon in static, it overrides the theme's favicon at build time
Describe alternatives you've considered
For now, I'm manually adding the favicon to my built directory on each build

Hm, I use static/favicon.ico to override it. Take a look: https://github.com/sergeyklay/blog/tree/master/static

🤦 Wow. I I had this in static/images/favicon.ico. Thank you for helping me see my mistake.

You're welcome


Improve cucumber implementation and scenarios

Updated SoapUI WSDL's. Added OrganisationId variable in requests and responses in SoapUI. Updated SLIM-511 scenario and validation. Prepared requestRunner method for non-happy flow scenario's with expected teststep result. Removed obsolete notOkRequestRunner method.

This pull request makes the build fail.

SonarQube analysis reported 2 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 pom.xml#L261: Make this line start at column 7.
 pom.xml#L463: Make this line start at column 7.

This pull request makes the build fail.


Fix code smells

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.455 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/2b81fb9c13 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.457 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/3827db5344 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.459 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/bb168717d7 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.461 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/582a467700 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.465 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/1e041c86b1 by @guibranco)

:x: Build Sankhya-SDK-dotnet 2.0.467 failed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/d10ff5dc68 by @guibranco)

:x: Build Sankhya-SDK-dotnet 2.0.469 failed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/581d23b385 by @guibranco)

:x: Build Sankhya-SDK-dotnet 2.0.473 failed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/3b79978cc5 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.479 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/7c0dad4075 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.483 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/8011c5f6f9 by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 2.0.485 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/8b9d92e5d8 by @guibranco)


Fix October 2023

Script was not working for me (Chrome, signed-in, signed-out, MacOS).
Suggested fix:

Replace vanilla JS with jQuery for DOM manipulations

New Script:

Event Listener: I used $(document).ready(...) to execute the script once the DOM is fully loaded. Will trigger before images and other assets are fully loaded, unlike window.onload.
Element Removal: I targeted an element with the ID ContentWallHardsell and removed it using jQuery's remove() method.
Style Modification: I used jQuery's css() method to change multiple CSS properties at once for the  tag.

$(document).ready(function() {
  $("#ContentWallHardsell").remove();
  window.onscroll = null;
  $("body").css({
      "height": "unset",
      "overflow": "unset",
      "position": "unset"
  });
});

Hi @laurenceWalton
I started facing the same issue.
When I was debugging the console I can see the following errors

and the problem with the URL line

I tried using your code using the external JS URL but faced the same issue. The problem is with loading the external script using the extension.
If I pass the code directly to the extension without the external link - it works fine.
Do you know how it could be resolved?


Stack support.

This may be a little larger than expected, given that Stack doesn't support two of the underlying libraries, pure-zlib and pretty-hex.

I'm not sure how helpful this is, but as per https://github.com/GaloisInc/haskell-tor/issues/5 I was able to get haskell-tor to build as an extra dep in another package under stack and ghc-7.10.3 so long as I used the *hans flag : stack build --flag *:-hans and added the following to the stack.yaml:
extra-deps:
- attoparsec-<IP_ADDRESS>
- hans-<IP_ADDRESS>
- haskell-tor-0.1.2
- pretty-hex-1.0
- pure-zlib-0.4
- tls-1.3.2

I haven't tested any of the functionality yet, so it may still break!


Console output using single stream for stdout/stderr and file/pipe redirection

Hi Daniel!
I tried to change the console output by using a single stream to avoid duplicated rows on output.
This fix is for #329 and msbuild issue #241
Command pipe/redirection and DevOps commandline/powershell task seem to work properly on my environment.
Let me know if you hit any problems and if it works for you.

I'm glad to have been helpful!


Add new BBEs

Purpose
New BBEs are added for

checkpanic
error type binding pattern
error destructure binding pattern
error match statment

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[x] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #14952 into next-release will increase coverage by 3.8%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             next-release   #14952      +/-   ##
==================================================
+ Coverage           61.25%   65.05%    +3.8%
  Complexity            544      544
==================================================
  Files                2255     2250       -5
  Lines              109848    99520   -10328
  Branches            14137    13166     -971
==================================================
- Hits                67284    64745    -2539
+ Misses              37124    29706    -7418
+ Partials             5440     5069     -371

Impacted Files
Coverage Δ
Complexity Δ

...a/org/ballerinalang/bre/bvm/WorkerDataChannel.java
79.01% <0%> (-11.12%)
0% <0%> (ø)

...n/java/org/ballerinalang/bre/bvm/BVMScheduler.java
43% <0%> (-2%)
0% <0%> (ø)

...org/ballerinalang/bre/bvm/WaitCallbackHandler.java
81.08% <0%> (-1.81%)
0% <0%> (ø)

...et/http/actions/httpclient/AbstractHTTPAction.java
78.29% <0%> (-0.86%)
0% <0%> (ø)

...e/src/main/java/org/ballerinalang/bre/bvm/BVM.java
77.11% <0%> (-0.11%)
0% <0%> (ø)

...ler/parser/antlr4/BallerinaParserBaseListener.java

...er/parser/antlr4/BallerinaParserErrorStrategy.java

...nalang/compiler/parser/antlr4/BallerinaParser.java

...inalang/compiler/parser/antlr4/BallerinaLexer.java

...er/parser/antlr4/BallerinaParserErrorListener.java

... and 3 more

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 056a8a9...501fd56. Read the comment docs.

Issue https://github.com/ballerina-platform/ballerina-lang/issues/14969 created for the doc review of this.


@conda-forge-admin, please add user @soeptas

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @soeptas in conda-forge/tsflex-feedstock#8.


ERROR: [VPL 60-1328] Vpl run 'vpl' failed

Hi, I failed to build dpu.xclbin of zcu102_base. I've already installed XRT and source the bash files before building the target. Here is the error message. Does anyone know how to solve this problem? Thank you in advance.
INFO: [v++ 60-1453] Command Line: vpl -t hw -f /home/qsun/app/Xilinx/Vitis/2019.2/platforms/zcu102_base/zcu102_base.xpfm --remote_ip_cache binary_container_1/ip_cache -s --output_dir /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int --log_dir /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/logs/link --report_dir /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/reports/link --config /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/vplConfig.ini -k /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/kernel_info.dat --webtalk_flag Vitis --temp_dir /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link --no-info --tlog_dir /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/.tlog/v++_link_dpu --iprepo /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/xo/ip_repo/xilinx_com_RTLKernel_sfm_xrt_top_1_0 --iprepo /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/xo/ip_repo/xilinx_com_RTLKernel_dpu_xrt_top_1_0 --messageDb /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/run_link/vpl.pb /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/dr.bd.tcl
INFO: [v++ 60-1454] Run Directory: /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/run_link
****** vpl v2019.2 (64-bit)
**** SW Build 2708876 on Wed Nov  6 21:39:14 MST 2019
** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
INFO: [VPL 60-839] Read in kernel information from file '/home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/int/kernel_info.dat'.
INFO: [VPL 60-423]   Target device: zcu102_base
INFO: [VPL 60-1032] Extracting hardware platform to /home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/.local/hw_platform
[23:32:28] Run vpl: Step create_project: Started
[23:32:29] Run vpl: Step create_project: Failed
[23:32:29] Run vpl: FINISHED. Run Status: create_project ERROR
ERROR: [VPL 60-1328] Vpl run 'vpl' failed
ERROR: [VPL 60-806] Failed to finish platform linker
INFO: [v++ 60-1442] [23:32:29] Run run_link: Step vpl: Failed
Time (s): cpu = 00:00:07 ; elapsed = 00:00:08 . Memory (MB): peak = 674.367 ; gain = 0.000 ; free physical = 4080 ; free virtual = 59475
ERROR: [v++ 60-661] v++ link run 'run_link' failed
ERROR: [v++ 60-626] Kernel link failed to complete
ERROR: [v++ 60-703] Failed to finish linking
Makefile:70: recipe for target 'binary_container_1/dpu.xclbin' failed
make: *** [binary_container_1/dpu.xclbin] Error 1

More info in runme.log:
*** Running vivado
with args -log vivado.log -applog -m64 -messageDb vivado.pb -mode batch -source vpl.tcl -notrace
****** Vivado v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:02:38 MDT 2018
**** IP Build 2256618 on Thu Jun 14 22:10:49 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
source vpl.tcl -notrace
[OPTRACE]|27983|1|/home/qsun/Compiler/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/vpl.tcl|vivado_impl|1584372748985|START|Implementation|R    OLLUP_1
[23:32:28] Run vpl: Step create_project: Started
[23:32:29] Run vpl: Step create_project: Failed
couldn't load file "librdi_platformtcl.so": /home/qsun/app/Xilinx/Vitis/2019.2/lib/lnx64.o/librdi_platformtcl.so: undefined symbol: _ZTVN3sdx8platform19Nati    veObjectServiceE
INFO: [Common 17-206] Exiting Vivado at Mon Mar 16 23:32:29 2020...

Hi @sqPoseidon
I wonder if you have solved this issue. If not, please describe your steps in detail and I will submit this issue to the engineer in charge of it. If it has been resolved, please close this issue.
Note that if we do not receive any reply from you within 2 weeks, we will assume that this issue has been resolved and will close this issue. Thank you.

Hi @sqPoseidon
The following log show that you use Vivado v2018.2 to compile the zcu102_base. Do you have two versions of Vivado in your system?  Could you please check it again to make sure Vivado v2019.2 working.
Let me know if you have any problem. Thank you.
 All Rights Reserved.

Hi @sqPoseidon
Since I haven't received your reply for a long time, I will close this issue. If you still have a problem, you can reopen it. Thank you very much.


Add default_bin parameter to cargo-embed configuration file

as mentioned in https://github.com/probe-rs/probe-rs/issues/1477.
I've chosen to pass the default_bin's value directly to cargo_options,  where it will be transformed into the --bin command.

I will look back into this


Settings Page: Remove Unecessary Details

remove the below elements as they are of no use.

@anushbhatia I would like to work on this issue, I am a GSSoC21' participant


Xnero: Watch henrydavidthoreau12(?:@gmail.com)?

Xnero requests the watch of the watch_keyword henrydavidthoreau12(?:@gmail\.com)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

henrydavidthoreau12(?:@gmail\.com)? has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


1.0 Update

:+1: Please merge

LGTM. @addyosmani, don't just randomly assign me next time please ;P


 icon not vertically aligned on outlined & filled

Describe the bug / expected behavior
The dropdown arrows inside of a  form field are not vertically centered.
Dropdown arrows should be vertically centered before and after selecting item from select
What are the steps to reproduce?

Go to https://blui-angular-showcase.web.app/material-components/input-components
Click on outlined or filled select fields
verify icon alignment before and after selecting

Screenshots / Screen recording

Code snippet / Link to minimum reproduction example

CODE HERE

Your environment information

Suggested fix

Anything else to add?

this was not an issue.


Duplicate Mail

Laravel Version: 9.19.0
PHP Version: 8.1.9
Database Driver & Version: mysql

Description:
Trying to send the same mailable instance multiple times sends it too often. It seems the to is extended each time. Not sure if it is relevant but I tested this using the sparkpost driver from vemcogroup.
Steps To Reproduce:
$mailable = new someMailable();
<EMAIL_ADDRESS>$mailable); // sends 1 email
<EMAIL_ADDRESS>$mailable); // sends 2 emails
<EMAIL_ADDRESS>$mailable); // sends 3 emails
// ... and so on for further calls

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


link to readthedocs from the README

It took me some searching around to discover that you have the Sphinx docs built there. Was very handy, since the README examples are very vague for more advanced features - like getting radio stations. Why not link to it then? :smile:

Thanks :)

Thanks for merging, Stefan ;)


Improved feature jdbc-sink

Is your feature request related to a problem? Please describe.
I used to confluent formerly, but now I want to switch to plusar. And found jdbc sink slightly weak
1、Mainstream database is not supported like Postgresql Oracle Mssql
2、Sink feature still need to be enhance.
Describe the solution you'd like
Reference:
https://docs.confluent.io/current/connect/kafka-connect-jdbc/sink-connector/index.html
https://docs.confluent.io/current/connect/kafka-connect-jdbc/sink-connector/sink_config_options.html
More refined supported by JDBC features，hope to bring more references.
Describe alternatives you've considered
Add parameter configuration.
thanks.
regard.

Thanks for your reference!
Although, we almost use issues to track actionable tasks. Open-ended discussions can be posted in the Discussions forum.
Closed as not an issue.


Try to infer parameters from flu data

Along the line of #27 infer the model parameters for the flu data in a jupyter notebook.

[ ] Illustrate the flu incidence in the season 2019.
[x] Infer model parameters (point estimates are enough) from that data.
[x] Illustrate inferred model versus data.

#77 Completed


Holes with fixed grid-like patterns in the rendered RGB observations

Habitat-Sim version
v0.1.6 (actually, it is a customized build by @Ram81 :) )
❓ Questions and Help
I am replaying some habitat-web demonstrations of the MP3D pick and place task. But sometimes (yes, it won't always happen and I don't quite know what is the occasion, sorry!) the rendered replay video I got has lots of holes with weird grid-like patterns on it, demo
Does this seem familiar to you guys? Sorry for not being able to provide more details, but any insights will be much appreciated!
I use an A100 GPU for rendering. Feel free to let me know if you need more information.
Best,
XM

this might be relevant, looking into it now https://github.com/facebookresearch/habitat-sim/issues/1987

Can confirm bumping to CUDA 11.8 solves this issue! PS: if you work on a GPU cluster without root:

Install CUDA using anaconda

conda install cudatoolkit=11.8 -c anaconda

Override the system CUDA with LD_LIBRARY_PATH

export LD_LIBRARY_PATH=<path_to_anaconda>/pkgs/<cudatoolkit_path>/lib

I'm currently having the same issue
Bumping cuda didnt help
Any leads?


security: add detect-secrets

https://artsyproduct.atlassian.net/browse/PLATFORM-3414
Guided by detect-secrets playbook.

Add detect-secrets pre-commit hook to scan staged files

Execute the script as part of pre-commit hook (via husky)

Add detect-secrets CI step to scan all files on dev branches

Force has a lot of lines that trigger the tool to detect violations. A large number of these live within tests. These lines have been recorded within the baseline or are being ignored via pattern exclusions as well as explicit inline exclusions.
As far as inline exclusions go, in most cases this form of "whitelisting" is used on lines that are marked by the tool as "secret keyword" e.g.: setting a password when writing a test is seen as a violation and should be handled via a global exclude or an inline one.
A number of exclusions have been baked into the baseline in an effort to keep the baseline size to a minimum and to cover certain cases globally. In cases where the tool is tripping up on lines that are not actual "secrets" e.g.: passwordNextButton,trackForgotClick,true we are using global exclusions. Common patterns such as foo and secret, used as "secret keywords", have also been globally excluded. For the full list of excluded patterns see this filter.
I hope that this approach will help with keeping the secret scanning a smooth developer experience however I suspect that we may see some initial friction with dev flow after this is merged, especially when modifying or writing tests. In most cases using the whitelisted patterns as well as inline exclusions should be enough but we may have to update/regenerate the baseline or expand global exclusions if this proves to be too disruptive.

How long does it take to run this command?

How long does it take to run this command during pre-commit?

In my experience, usually it completes under a second but it will depend on the number of staged files and the size of those files. See examples below:
Smaller CL: 0.6s
➜  force git:(detect-secrets-runtime) ✗ git status
On branch detect-secrets-runtime
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	modified:   .circleci/config.yml
	modified:   .secrets.baseline
	modified:   src/desktop/apps/authentication/__tests__/helpers.jest.ts
	modified:   src/desktop/apps/authentication/__tests__/routes.jest.ts
	modified:   src/desktop/apps/consign/components/create_account/__tests__/CreateAccount.jest.tsx
	modified:   src/mobile/apps/user/models/password_edit.coffee
	modified:   src/v2/Components/Authentication/__tests__/Desktop/LoginForm.jest.tsx
	modified:   src/v2/Components/Authentication/__tests__/fixtures.ts
	modified:   src/v2/Components/ConfirmPasswordModal/__tests__/ConfirmPasswordModal.jest.tsx

➜  force git:(detect-secrets-runtime) ✗ time detect-secrets-hook --baseline .secrets.baseline $(git diff --staged --name-only)
detect-secrets-hook --baseline .secrets.baseline   0.59s user 0.16s system 107% cpu 0.699 total

Large CL: 3.9s
Note that in this example, one of the staged files is yarn.lock ~21k lines.
➜  force git:(detect-secrets-runtime) ✗ git status
On branch detect-secrets-runtime
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	modified:   .circleci/config.yml
	new file:   .secrets.baseline
	modified:   data/schema.graphql
	modified:   package.json
	new file:   scripts/detect-secrets.sh
	modified:   src/desktop/apps/authentication/__tests__/helpers.jest.ts
	modified:   src/desktop/apps/authentication/__tests__/routes.jest.ts
	modified:   src/desktop/apps/consign/components/create_account/__tests__/CreateAccount.jest.tsx
	modified:   src/v2/Apps/Collect/Routes/Collection/Components/CollectionsHubRails/OtherCollectionsRail/__tests__/OtherCollectionsRail.jest.tsx
	new file:   src/v2/Apps/Consign/Routes/SubmissionFlow/ArtworkDetails/ArtworkDetails.tsx
	new file:   src/v2/Apps/Consign/Routes/SubmissionFlow/ContactInformation/ContactInformation.tsx
	new file:   src/v2/Apps/Consign/Routes/SubmissionFlow/SubmissionLayout.tsx
	new file:   src/v2/Apps/Consign/Routes/SubmissionFlow/ThankYou/ThankYou.tsx
	new file:   src/v2/Apps/Consign/Routes/SubmissionFlow/UploadPhotos/UploadPhotos.tsx
	modified:   src/v2/Apps/Consign/consignRoutes.tsx
	modified:   src/v2/Apps/Home/Components/HomeCurrentFairsRail.tsx
	modified:   src/v2/Apps/Home/Components/HomeFeaturedMarketNews.tsx
	modified:   src/v2/Apps/Home/Components/HomeHeroUnits/HomeHeroUnitsLarge.tsx
	modified:   src/v2/Apps/Home/HomeApp.tsx
	modified:   src/v2/Apps/Show/__tests__/ShowInstallShots.jest.tsx
	modified:   src/v2/Apps/Shows/Components/ShowsCurrentShows.tsx
	modified:   src/v2/Apps/Shows/Components/ShowsHeader.tsx
	modified:   src/v2/Apps/Shows/Routes/ShowsCity.tsx
	modified:   src/v2/Apps/Shows/Routes/ShowsIndex.tsx
	modified:   src/v2/Apps/Shows/Routes/__tests__/ShowsCity.jest.tsx
	modified:   src/v2/Apps/Shows/showsRoutes.tsx
	modified:   src/v2/Components/Authentication/__tests__/Desktop/LoginForm.jest.tsx
	modified:   src/v2/Components/Authentication/__tests__/fixtures.ts
	modified:   src/v2/Components/ConfirmPasswordModal/__tests__/ConfirmPasswordModal.jest.tsx
	modified:   src/v2/Components/Masonry.tsx
	modified:   src/v2/Components/NavBar/NavBar.tsx
	modified:   src/v2/Components/NavBar/NavBarMobileMenu/NavBarMobileMenuAuthentication.tsx
	modified:   src/v2/Components/NavBar/NavBarMobileMenu/__tests__/NavBarMobileMenu.jest.tsx
	modified:   src/v2/Components/NavBar/__tests__/NavBar.jest.tsx
	modified:   src/v2/System/Router/RouterLink.tsx
	new file:   src/v2/Utils/Hooks/__tests__/useDialog.jest.tsx
	new file:   src/v2/Utils/Hooks/__tests__/useLazyLoadComponent.jest.tsx
	new file:   src/v2/Utils/Hooks/useScrollTo.ts
	modified:   src/v2/Utils/scrollHelpers.ts
	new file:   src/v2/__generated__/ShowsCityQuery.graphql.ts
	modified:   src/v2/__generated__/ShowsCity_Test_Query.graphql.ts
	modified:   src/v2/__generated__/ShowsCity_city.graphql.ts
	modified:   src/v2/__generated__/ShowsCurrentShowsQuery.graphql.ts
	modified:   src/v2/__generated__/showsRoutes_ShowsCityQuery.graphql.ts
	modified:   yarn.lock

➜  force git:(detect-secrets-runtime) ✗ time detect-secrets-hook --baseline .secrets.baseline $(git diff --staged --name-only)
detect-secrets-hook --baseline .secrets.baseline   3.60s user 0.23s system 96% cpu 3.981 total

question (non-blocking): Is there a reason we are choosing to use Docker over the Brew package for detect-secrets?
I'm curious if something has changed; using the Brew package feels like less overhead and lowers adoption friction as it doesn't require Docker to be running.

@jacobherrington Is your question is CI specific?
Locally we execute the tool outside docker (as pre-commit) using the CLI tool installed via brew (or pip).
In CI we are using the image as it falls in line with how we execute a lot of jobs, by using the docker executor. IIRC running in CI via docker was not seen as a performance issue. We did not experiment with building our own orb however, with the tool baked into it. I do wonder how much more performant that would be.

Cool, half a second for for most PRs isn't so bad and don't think this will be too intrusive. Lets see how it feels in practice across the team :thumbsup:

@ovasdi - want to get your thoughts:
An alternative hook (which I would be more inclined to use) is pre-push, since a dev might do many commits in a local branch before pushing to a PR. However, if using pre-push, then failed checks will require a fix and a new commit. (Which i'm fine with since checking in secrets will likely be quite rare.)

devs can't skip that hook

Periodic reminder that all project-specific git hooks can be easily skipped by setting the hooksPath like so:
https://github.com/jonallured/dotfiles/blob/main/rcm/gitconfig#L33
The approach of using git hooks is flawed from the start imho.

The approach of using git hooks is flawed from the start imho.

For sensitive operations, I agree.

@ovasdi - want to get your thoughts:
An alternative hook (which I would be more inclined to use) is pre-push, since a dev might do many commits in a local branch before pushing to a PR and we shouldn't need to run longish processes repeatedly; similarly, this is why we only run yarn type-check only before pushing up. However, if using pre-push, then failed checks will require a fix and a new commit and / or rebase (which I'm fine with since checking in secrets will likely be quite rare).
As long as this is also being run in CI I think we'll be safe since a dev won't be able to skip with --no-verify.

@damassi The problem with incorporating this check on pre-push instead of pre-commit is that it does not guard against secrets that may have made it into git history, hence the recommendation to wire this up on pre-commit, where this tool is most effective.
If a secret has made it into git history and then was removed in a later commit (assuming commits were not squashed before push), neither pre-push or CI would capture this however in all likelihood the tool would have raised a violation on a pre-commit when a secret was initially checked in. CI scan is just a fallback and not a great one as it doesn't take git history into account.
Seeing as this project has such high velocity and developer experience is paramount, we can give this a go for a couple of weeks and see how it affects dev flow. If it turns out to be too disruptive and we struggle to make it work without issues we shall revisit this and adjust accordingly.

Sounds good! Lets do it 👍


Fix resource leak which can happen in non happy path scenarios

As discussed in https://github.com/crate/crate/pull/13834#discussion_r1143569772, XContentBuilder must be closed and is closed by BytesReference.bytes in case of happy path.
However, BytesReference.bytes might be not reached because of some error, say constraints violation in the Indexer or IOException when doing xContentBuilder.map
Spot this while debugging test failures in https://github.com/crate/crate/pull/13799#issuecomment-1470237454, object was dirty/not flushed because of not-null violation  == didn't reach BytesReference.bytes

Is intellij flagging these as warnings?
As stated in the other PR, there are no real leaks here because BytesStreamOutput doesn't have any underlying resources to close. The main motivation was to silence the warnings.

All false positives from what I can tell because BytesStreamOutput doesn't have any resources to release.

The XContentBuilder itself also doesn't have anything to release. It's more like a StringBuilder and the flush/linefeed logic on close is irrelevant for the error path.
(Also the Indexer isn't on the 5.2 branch, so half of this cannot be backported, the other half doesn't need to)

because BytesStreamOutput doesn't have any underlying resources to close

My concern was not about BOS but rather about recyclable buffer

The XContentBuilder itself also doesn't have anything to release.

It has XContentGenerator (JsonXContentGenerator in our case) which, in turn, has JsonGenerator (UTF8JsonGenerator in our case) which apparently has some recyclable buffers.
I checked in debugger, if (buf != null && _bufferRecyclable) is true and _ioContext.releaseWriteEncodingBuffer(buf) really does something
This not a major change anyway, we already wrap BOS with try with resources in IndexWriterProjector knowing that it's no-op - and if we wrap contentBuilder we at least have motivation that it's dictated by library docs and releases some buffers.

Also the Indexer isn't on the 5.2 branch

Yep, just wanted to mergify do it's job with creating PR and will resolve conflict manually


[BUG] Version sets includes revisions that are not part of original api name

Release version
v4.10.2
Describe the bug
When we extract 2 APIs that are configured in the extractor file, the pipeline extracts version sets from unrelated APIs as well

those in red are not part of the APIs defined in extractor file

as you can see only 2 APIs are defined in the extract, but the pipeline extracts version sets from undefined APIs as well.
Expected behavior
it should extract only the version set that corresponds to APIs defined in the extractor file
Actual behavior
it extracts all version sets from multiple APIs that are not in the extractor file
Reproduction Steps
create more than 2 APIs, A, B & C, define API A in the extract file, create a revision for all APIs, run the extractor pipeline, and see the PR will have 3 version sets.

Have you checked both closed and open issues? I remember seeing this issue raised by someone else.

@guythetechie any thoughts on this?

@vinilka8 - please refer to the conversation in #452. Version sets are independent of APIs.


Send a 403 response when the token is invalid.

Examples provided by Facebook suggest a 403 response to an invalid token. This seems correct as the token is a form of authentication and using an invalid token means the access to the resource is forbidden.

Hi @wallali , according to Facebok documentation:

This URL should always return a 200 OK HTTP response when invoked by Facebook.

Could you show me an example where facebook asks to return 403 status code?
Or did you encountered any issues with it returning 200?

Hi,
Facebook provide a sample app linked from their getting started pages: https://github.com/fbsamples/messenger-platform-samples/tree/master/node
Look in app.js at their implementation of the subscribe webhook.
Thanks.

Thanks @miki2826. In the same example they also seem to be checking that req.query['hub.mode'] === 'subscribe'. I wonder if its worth adding that to the token validation logic of botly.

We can add it, according to facebook:

hub.mode - The string "subscribe" is passed in this parameter

Would you like to add it or should I?

okay, I'll submit another pull request later today.


not support cocoapods 1.5.3

hi there,i  install this tool use gem install cocoapods-dependencies, when run pod dependencies there's an error:
[!] Unknown command: dependencies
Did you mean: deintegrate?
the cocoapods version I installed is 1.5.3, do you have plan to support this version ? tks.

Closing due to lack of response


Remove viz notebook for env testing

Not for merging!
Just seeing if we can build the environment, run the template notebook, and generate a preview.

@bonnland looks like you'll have to approve the workflows before the tests will run here.

The build worked here. The preview is not appearing, not sure why, but it's possible that you will need to manually enable GitHub Pages for this repo.
I suspect the build problem is stemming from the kernel_spec in your notebook. I'll see if I can reproduce the same problem in just the template notebook.

I suspect the build problem is stemming from the kernel_spec in your notebook. I'll see if I can reproduce the same problem in just the template notebook.

I hadn't considered that a possibility.   The jupyterhub at NCAR calls the environment "conda-env-miniconda3-na-cordex-viz-cookbook-dev-py", and initially I thought that didn't make a lot of sense outside of perhaps the NCAR jupyterhub configuration.
I will try checking in that change to the kernelspec, going with the NCAR jupyterhub choice; maybe it will make a difference!

I guess I don't really understand how the Jupyter server is interpreting those kernelspec fields. I know that in Cookbook work we've always just left them as default values and things work.

Thanks for that!  I've always thought that jupyterlab allows multiple environments to exist at the same time, and kernelspec is used to choose the environment for running the notebook.   It seems at least possible that the template's notebook is generic enough for a simple "python3" environment to work with it.   A better test of the infrastructure might be to include some library call in the template notebook that requires a pre-installed package library.
I will try reverting the kernelspec value in the na-cordex-viz notebook to "python3", which I understand to be the default.

@brian-rose  I was able to get the build to work for the na-cordex-viz notebook.   I used the kernelspec of "python3" and made a number of other changes, so I'm not sure exactly which changes were important.
One change I made was in the _config.yml file, where I set "  execute_notebooks: force" instead of using "cache" or "binder".   I looked at the documentation link in _config.yml and noticed that "binder" is not mentioned as a possible option for this setting.

@brian-rose I was able to get the build to work for the na-cordex-viz notebook. I used the kernelspec of "python3" and made a number of other changes, so I'm not sure exactly which changes were important.

That's great! And consistent with the testing that I've done. I don't think we have set a custom kernelspec in any of our existing Cookbooks. For example, this line in the HRRR-AWS cookbook has the default "name": "python3".

One change I made was in the _config.yml file, where I set "execute_notebooks: force" instead of using "cache" or "binder". I looked at the documentation link in _config.yml and noticed that "binder" is not mentioned as a possible option for this setting.

That's because the binder option is not a standard JupyterBook option. It's a custom feature of the Pythia build workflow that overrides the JupyterBook options. If you want to see the logic for this, it's in the build-book.yaml reusable workflow here

OK, good to know!
I just confirmed that the build goes from success to failure when I switch from  "execute_notebooks: forced" to  "execute_notebooks: binder".   Perhaps it's this particular notebook asking for too many resources for the binder service.

Closing as this is obsolete now.


Fix bug with the access control api that returns resources with specific user permission

This fix is needed for to fix a sub issue in #798

Tested by new test case. Possible to close.

@pkdash would you please close this issue if you think this is fixed? Thanks


Schematic links on Ai-Thinker A9 page are offline

I'm looking for the pudding board schematic, does any one have it?
All the links are offline here: https://ai-thinker-open.github.io/GPRS_C_SDK_DOC/en/hardware/pudding-dev-board.html

Here ya go
a9-dev_v1.2.pdf
a9g-dev_v1.2.pdf

thank U


Enhancement Support some date functions

Search before asking

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

Description
We need to implement function NEXT_DAY and PREVIOUS_DAY, for the next day/previous day of input argument(which accept datev2 or datetimev2 type)
and for LAST_DAY  we support the second argument(optinal, if not provided, act like got month so that the old behaviours won't be change) to get the last day of current week/month/day/quarter... and so on
Solution
To support a function, we need:
function implementation and registration in BE
function signature and visitor for nereids planner in FE
the constant fold implementation in FE, behave just same with it in BE, like functions/executable/NumericArithmetic.java in  https://github.com/apache/doris/pull/40744/files
another function docs pr in https://github.com/apache/doris-website
you can reference pr like https://github.com/apache/doris/pull/33005/files
and ATTN! we must have enough testcases, like what https://github.com/apache/doris/pull/40462/files did.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I want to try it, please assign it to me.

May I help in this issue ?
I am new and want to contribute something on this issue

Hey @cat-with-cat @zclllyybb @zhangstar333, I am interested to contribute to doris. I will start by learning more about the project and the code base. Meanwhile, @cat-with-cat if you can update on whether you have started working on the issue here. I could get started working on the issue.

hey @cat-with-cat and @zclllyybb , in case you need any help please let me know . I am eager to contribute to this issue.

hey @cat-with-cat and @zclllyybb , in case you need any help please let me know . I am eager to contribute to this issue.

hey @cat-with-cat could you share your advance and planning here?

hey @cat-with-cat and @zclllyybb , in case you need any help please let me know . I am eager to contribute to this issue.

hey @riya9142 and @zclllyybb , I have completed the coding of the logic and am now conducting tests. Thanks

hey @cat-with-cat and @zclllyybb , in case you need any help please let me know . I am eager to contribute to this issue.

hey @riya9142 and @zclllyybb , I have completed the coding of the logic and am now conducting tests. Thanks

great. so @riya9142 if you are interested in contributing in Doris, maybe you can look  https://github.com/orgs/apache/projects/424? It's a great project which has many subtasks.


vuls-html.rego does not evaluate whether or not malware/sensitive data was found, only whether it was scanned for

I believe the following code in vuls-html.rego is supposed to evaluate whether malware or sensitive data were found:
by_flag(
"Malware found: Yes",
"Malware found: No",
input.scan_options.scan_malware #reflects current logic
),
by_flag(
"Sensitive data found: Yes",
"Sensitive data found: No",
input.scan_options.scan_sensitive_data #reflects current logic
),
It seems that this only checks whether or not it was scanned for, so this evaluates to true for every image if those scan options are active, even when the image has no malware or sensitive data.

The definition of by_flag is here: https://github.com/aquasecurity/postee/blob/0748851b7b33a93fb1e9fbe7dc74343e85ff1009/rego-templates/common/common.rego#L15-L20
It should evaluate to a or b depending upon if the result of the boolean flag was true (set to a), false (set to b). https://play.openpolicyagent.org/p/BbuYjeHMhf

Hi @simar7
yes, its just that the property input.scan_options.scan_sensitive_data/scan_malware is true if the corresponding scanning option is activated in the GUI (see screenshot). This property is not suitable to check whether or not there was, in fact, sensitive data or malware found. But that seems to be the purpose since it says "Sensitive data/Malware found: Yes/No"
When deactivating the options in the GUI, the template fails with a result not found error, since the properties input.scan_options.scan_sensitive_data/scan_malware are then not present in the result JSON at all.
Please correct me if I am mistaken.
So for us, it is relevant whether that issue is known and worked on, otherwise we will include it in our own template customization work.

.

hi @lorsal - I'm not too familiar with the UI integration but I will ask internally and get back to you on this. Thanks.

hi @simar7 thank you. We have adapted the template to address this, so it is solved for us.


Handle SIGKILL

Modify the shim so that we can handle graciously a SIGKILL. Now, the shim is just killed without sending this signal to the process inside the VM. We need to fork the shim in order to make the parent monitoring the child.

This has been solved by #39


Quotations are invisible

Using Safari 9.0.1 and El Capitan, some quotations on the website are broken:

Does it block social buttons, like like buttons and tweet buttons?

In the footer, I can only see the StackExchange icon. Twitter, Reddit, Facebook and Google+ are invisible as well. Are there usually any other social buttons visible?

@pantor Yup. Twitter, Reddit, StackExchange, Google+ and Facebook icons (in that order).
Judging by that, I'm fairly sure that something is blocking social features and blocking the quotes as well because they're actually pre-made tweets. Any privacy addons installed or something?

@aleksandar-todorovic You're right, a local add-on blocked all those links to social pages (though it should only block direct like and share buttons). However, not ideal for me, but the website is working fine.

The quotes are share buttons, which is why I thought this was happening. They are "click to tweet" quotes.


portMapping not working correctly for static ports (v 0.10.0)

If I statically assign ports (as some applications require this), the json is parsed correctly, but the actual resource assignment is wrong.  This means that adjacent ports can overlap, when they should not.
Example below.
Input:
"portMappings":[{"containerPort":8300,"hostPort":8300,"servicePort":10000,"protocol":"tcp"},{"containerPort":8301,"hostPort":8301,"servicePort":10001,"protocol":"tcp"},{"containerPort":8301,"hostPort":8301,"servicePort":10002,"protocol":"udp"},{"containerPort":8302,"hostPort":8302,"servicePort":10003,"protocol":"tcp"},{"containerPort":8302,"hostPort":8302,"servicePort":10004,"protocol":"udp"},{"containerPort":8400,"hostPort":8400,"servicePort":10005,"protocol":"tcp"},{"containerPort":8500,"hostPort":8500,"servicePort":10006,"protocol":"tcp"},{"containerPort":53,"hostPort":53,"servicePort":10007,"protocol":"udp"}

Result (from /v2/apps):
"message":"Task uses invalid resources: Invalid resources: Resource 'ports(*):[8300-8301, 8301-8302, 8302-8302, 8400-8400, 8500-8500, 53-53]' is invalid: Invalid ranges resource: overlapping ranges","state":"TASK_ERROR"

As you can see, the first few ports are not correctly mapped - 8300-8300 gets transformed into 8300-8301.  Oddly after the first two, this stops happening, which means the 8200-8200 mapping then conflicts and the task does not start.

You are using the same ports for UDP/TCP which is problematic right now.
I think, this is a duplicate of https://github.com/mesosphere/marathon/issues/751.

Yeah - it is indeed a duplicate - I don't know why the original didn't turn up in my searches.  I'll close this one.  Sorry for the noise.

No worries. It IS confusing and not optimal.


pull request for e2e test at 12/15/2016 10:45:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


KAFKA-4405: Check max.poll.records before prefetching

cc @hachikuji

I'll test with KAFKA-4469 and report back. Thanks.

@ijuma @hachikuji I tested with the new trunk containing KAFKA-4469 and I don't see the performance discrepancy anymore. So I'll close this PR. Thanks.

Great news @enothereska, thanks for testing.

Actually folks, it turns out I was testing with max.poll.records = 1000 by mistake. When testing with max.poll.records = 1, the issue remains and this PR is still needed. Sorry about the confusion.

Hey @enothereska, thanks for the patch. Just to clarify, with this fix, the issue performance discrepancy goes away totally?

@hachikuji with this fix the perf when we use max.poll.records=1 goes up by 50%. However, the perf when we use max.poll.records=1000 is still higher. Example numbers: 10MB/s (mpr=1)->15MB/s(mpr=1 with this PR)->19MB/s(mpr=1000).

Known failure, we are debating on whether to turn off that test while we sort it out. Unrelated to this PR.

@enothereska Thanks, the difference is puzzling... The description from the JIRA doesn't seem quite right because, in spite of the call to sendFetches,  no fetches will be sent for any partition which still has buffered records. Could the performance degradation be caused by the overhead of analyzing which fetches need to be sent? How many partitions are in your test case?

@hachikuji I was thinking the same as you. For max.poll.records=1, the amount of work done by the user per poll could potentially be really low in comparison to the work to figure out which partitions need a fetch.

Having said that, I am not sure if it ever makes sense to have such a low max.poll.records after KIP-62. It may be reasonable to say that if processing of each record is very cheap, you need to use a higher max.poll.records for best performance.

@ijuma Yeah, good point. If the processing is fast enough that poll itself is becoming a bottleneck, then it safes safe to increase max.poll.records to reduce the number of calls to poll.
One thing I noticed in Fetcher.fetchablePartitions is that we're also doing an expensive call to remove from an ArrayList. We could probably be a bit more clever.

If poll should be large, I wouldn't over-optimize this case.

The topic has 1 partition.

Haha, that mostly rules out overhead from Fetcher. The only thing left is the pollNoWakeup.

@hachikuji @ijuma I'll let you guys decide on this. Let me know what you want to do. If not needed, I can close the PR. Thanks.

@hachikuji Could you let @eno know what are the next steps? Thanks.

@guozhangwang @enothereska From what I can tell so far, the main issue is actually the call to pollNoWakeup() as I suggested above. One easy fix is to have sendFetches return a boolean indicating whether any fetches were sent. If nothing was sent, we can skip the call to pollNoWakeup. I tried this out and it does improve performance quite a bit.

@hachikuji I tried that and it had little effect on the streams performance (+1MB/s or so, can't tell if it's significant).

@enothereska I loaded a single partition with 20,000,000 1K records. I used the consumer performance test. This is trunk:

max.poll.records
throughput

1
248.1233

16
513.6948

64
527.4310

65536
545.6583

This is the results if we optimize the pollNoWakeup() call:

max.poll.records
throughput

1
394.8962

16
526.4992

64
529.6719

65536
537.3721

And here is using this patch:

max.poll.records
throughput

1
410.0502

16
509.8636

64
528.4978

65536
527.4164

There was a bit of variance in the individual tests, but it's tough to dispute the +150MB difference with max.poll.records=1 between trunk and the two alternatives on the table. My takeaways were the following:

Optimizing pollNoWakeup gets most of the benefit without changing prefetching behavior.
Increasing max.poll.records even a little gets you close to the maximum throughput possible.

I guess we should try to figure out why your results are coming out different.

@hachikuji If 2. (increasing max.poll.records a little) gets most of the benefit, I propose we don't spend more time on this problem and close this PR.

A PR to avoid the unnecessary pollNoWakeup seems worthwhile IMO.

@ijuma I agree, seems like an easy win. We can do it here or separately, whichever @enothereska prefers.

I think we can use this PR to merge in the pollNoWakeup fix.

Ok I can put that in. Thanks.

@hachikuji can you check this is what you had in mind? Thanks.

I can verify that the performance indeed increased as expected with this change.

Thanks, LGTM. What do you think @hachikuji?

LGTM. Thanks for the patch!


nodejs: return response as json

hello.
is it somehow possible to return response in json format?

Hello,
Not currently, but you can use JSON.stringifyand dispatch new events after converting responses/events to JSON.
Best regards!


Rework wait_node_ready condition

Before doing the ssh and rdp checks make sure that the node actually is
transitioned to the "ready" state in crowbar. Otherwise (on really slow
systems) it might happen that mkcloud starts the post_allocate action before
the nodes are really ready for that.

Example of a jenkins failure that this is supposed to fix: https://ci.suse.de/job/openstack-mkcloud/10022/console

+1


Json.opIndex: Document behavior if key is not found

Documented that it returns Type.undefined objects if the key wasn't found.
Also added an example to the unittest.

Thanks! I just made some small whitespace fixups. Will be merged once the tests finish.

Will be merged once the tests finish.

Unfortunately this doesn't work well with spurious failures. This one is from the registry not being accessible (we really need to improve this, will reply to Martin's mail later):
Root package vibe-d:core references unknown package libasync


Analyze Forest heap allocation, find memory growth culprit

Issue summary

forest process memory usage isn't bound. During sync to mainnet it grows to the point it gets OOMed. It is not necessarily a memory leak (though could be), it may be some constant pushing to a collection.
We need to:

[ ] analyze heap usage in forest using a memory profiler of choice (e.g. heaptrack),
[ ] find which data structure is the culprit for OOM,
[ ] provide a fix / workaround if feasible (if it ends up more complex we may need to discuss it),
[ ] document memory profiler usage for Forest as a markdown document in the repo.

Other information and links

I suspect the culprit is RocksDB. It might be caching way too much information.


Expand broadcast features

hello
This PR is implemented Sengiri::BroadcastProxy.
Please refer to the following usage!
SengiriModel.broadcast.find_by(name: 'hoge')
SengiriModel.broadcast.find_by!(name: 'hoge')

SengiriModel.broadcast.each do |record|
  # ..
end

SengiriModel.broadcast.map(&:id)

Concurrency
BroadcastProxy depends on parallel gem, so it uses thread pool and runs in parallel for each sharding DBs.

👍 ✨ ⭐


browserify since version 12.0.0 uses '=' instead of ':' in sourcemap charset

browserify since version 12.0.0 uses '=' instead of ':' in sourcemap charset
see https://github.com/substack/node-browserify/blob/master/changelog.markdown#1200
changed the sourcemap regexp to allow both characters : and =

Hey,
Is there any possibility to get this fixed/merged. We're still using this and today encountered what I believe to be a related issue?


Temporary Video Files

Hi Pascal,
I'm currently running this plugin on a small server with very little storage space and keep running into the issue of filling up storage. I've written a cron job to remove these files every few minutes, but it would be great if the plugin removed these files after they are used.
Since this use case is rather specific, maybe there could be a flag to tell the plugin whether to do this or not? Just a suggestion, but it would be a major help.

I've just tagged version 1.1.6 which has a new ’’’cleanupTemporaryFiles’’’ method. You can call this method (on the facade) after the export jobs are done.

That's fantastic! Thank you very much.


How to check if record has been translated ?

How can I set a "translated" label to the entity records which have already been translated when displaying them in a list ?
Is there a simple to check if the record has a translation in a given locale ?

this kind of state is not stored anywhere. you can, query the translation entity table to find out which are not translated. if you use personal translations, it would allow more flexibility, since in that case you may check if translation is available in the translation collection

Tell me if I'm wrong, but if I add a property to my Article entity where I record the locales of the translation when they are actually translated ?
$em = $this->getDoctrine()->getManager();
$article->setTranslatableLocale($locale);
$article->addTranslation($locale);
$em->persist($article);
$em->flush();

you may also issue a query over translation table to get locales, but in general there is no generic implementation out of the box for this functionality.

@l3pp4rd , a more generic question : How can we manage entity translated ?
My Use Case :
I have a recipe entity. For now I query the translation entity via a custom repository and use $query->setHint(TranslatableListener::HINT_INNER_JOIN true) to retrieve every fully translated recipes in only one locale. (I don' want fallback and I don't want entities not fully translated). It works.
** 3 questions : **

Is there a simple way to retrieve entities in specifics locales (not one locale, not all locales, but severals specifics whitout multi-queries)
About performance, the way of picks44 seem to be the best and more flexible. The problem is to maintain consistency. What is the best practice and usual strategy ? No feature out of the box ?
How can I fetched entities not fully translated (and only this ones) in a specific locale (I develop a translation module for users of my website ) ?

Hi @skhattane it is important to understand that extensions are made for rapid development, they do not need much of configuration and may be hooked at any stage in the project. That is the purpose of extensions so people could easily integrate them. Note, they are not simple, but easy to use and that is the selling point for most of the users.
Extensions are not performance wise and they will never be. Projects needing better performance should implement custom solutions, which would suite specific needs (whether it is performance or functionality based).
Getting back to the question. You may use personal translation instead so it could have a standard oneToMany collection of translations and that you could join while loading the entity.

@l3pp4rd, thanks for your answer. I understand your point of view. I'll try personal translation and give news if pbl with that.


Import from Azure Storage to Azure JobStore needlessly slow

I'm trying to import some data from Azure Storage, where it lives, to a job store also in Azure Storage on the same account, running on a node on Azure.
Some of my files are a bit big, and my run has been sitting here for a couple of minutes:
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): hgvmeast.blob.core.windows.net
INFO:plan:Imported base VG<EMAIL_ADDRESS>as 6aa6fa2b_1fea_4256_8e5c_abe558601d56
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): hgvmeast.blob.core.windows.net

It looks to me like Toil is actually downloading and then re-uploading these files. What it should be doing is using Azure-side copy operations to copy the blobs between containers, without them having to stream over the network to the Master and back. If I had to import a bunch of files, it would be very slow to wait to download and upload them all one at a time.
(Can Toil handle simultaneous imports with e.g. multiprocessing?)

Azure has been re-written


switch from wildcard version to semver-minor

Previously the readme used the "old" * to include glob; now it uses the "semver-minor version-style".

Thanks!


Lock all command roles to 30 hours total of playtime

locks every command role to 30 hours of playtime as well as their miniscule departmental requirements. morale and round quality will improve after this merge.
:cl: Emisse

add: All command roles now take 30 hours of total playtime on top of other requirements.

let's see how it goes


Downloaded Unity Package . But when building apk for andriod the screen is greyed out . camera permission is given .

Plugin Version or Commit ID
0.14.3
Unity Version
2022.3.19f1
Your Host OS
Windows 10
Target Platform
Android
Description
Downloaded Unity Package  . But when building apk for andriod the screen is greyed out . although camera permission is given.
Code to Reproduce the issue
No response
Additional Context
No response

Please read the log first.
Probably you've not changed the Asset Loader Type or copied model files to StreamingAssets.
https://github.com/homuler/MediaPipeUnityPlugin/issues/1152

added the streamingassets folder . now it works on unity remote but still on building apk it does not change.

Please read the log first. (don't forget to enable the Development Build)
adb -s [device_id] logcat Unity:V native:V tflite:V CRASH:E AndroidRuntime:E "*:S"

the lib is present here C:\Users\HP EliteBook A&I\My project (3)\Library\Bee\Android\Prj\Mono2x\Gradle\launcher\build\intermediates\stripped_native_libs\debug\out\lib\arm64-v8a

the issue was that i did change arm7 to arm64 in my player settings.
the issue is resolved now. thank you.


Accesslog get Status code explanation of middleware

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Hi,
Currently i have an traefik instance running with a chain middleware containing two middleware :
inFlightReq and rateLimit.
In accessslog i see status code 429 when a middleware "trigger", but i wonder if it is possible to get also status code explanation for example "rate limite quota exausted" in case of rateLimit or "to many active connexion" for inFlightReq
Thanks in advance

Hey @tom42530.
Thanks for your suggestion.
We are interested in this issue, but we are unsure about the use case and the traction it will receive, so we are going to leave the status as "kind/proposal" to give the community time to let us know that they would like this.
With that being said, please note that we think that this feature makes sense only the Accesslogs are provided in the JSON format.

Hi @nmengin  . We are using traefik , and more particularly for middlewares usage. I think it's a good idea to get the middleware name in logs when a middleware rule has been triggered. That's will be very helpfull to debug and ajust rate limit for exemple.  Thanks for push this request !

Hey @tom42530 and @Youri-Crown,
After internal discussion, I will close this issue.
Indeed, @tom42530 we think that the status code sent by Traefik is enough to identify the error.
@Youri-Crown, we encourage you to use the tracing feature to obtain an accurate view of the middlewares used on your request path.


Support columns with variable partitions in Rust's send_column api

Both Python & C++ APIs have ways of partitioning a component column arbitrarily to e.g. log point clouds in a single send_columns call.
Rust however, right now only supports partitions of length 1 for each element (i.e. at each timestep you end up with an array of length 1) which is still great for the usecase of sending e.g. Scalar, but not the full picture.
Note that the lower level send_chunk API that the Rust recording stream comes with has none such restrictions (and is what is used by Python and C++).

If it's not outright blocked by, it would at the very least heavily benefit from:

https://github.com/rerun-io/rerun/issues/7245

Somewhat related, the Rust definition of send_columns seems ~wrong~ not optimal:
    pub fn send_columns<'a>(
        &self,
        ent_path: impl Into<EntityPath>,
        timelines: impl IntoIterator<Item = TimeColumn>,
        components: impl IntoIterator<Item = &'a dyn re_types_core::ComponentBatch>,
    ) -> RecordingStreamResult<()> {

Why take an iterator of ComponentBatches instead of the more flexible AsComponents?